@powerlines/plugin-rspack 0.5.261 → 0.5.263
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.
- package/dist/_virtual/rolldown_runtime.cjs +31 -0
- package/dist/_virtual/rolldown_runtime.mjs +32 -0
- package/dist/helpers/index.cjs +2 -3
- package/dist/helpers/index.d.cts +1 -3
- package/dist/helpers/index.d.mts +1 -3
- package/dist/helpers/index.mjs +1 -2
- package/dist/helpers/unplugin.cjs +10 -2
- package/dist/helpers/unplugin.d.cts +8 -3
- package/dist/helpers/unplugin.d.cts.map +1 -0
- package/dist/helpers/unplugin.d.mts +8 -3
- package/dist/helpers/unplugin.d.mts.map +1 -0
- package/dist/helpers/unplugin.mjs +10 -2
- package/dist/helpers/unplugin.mjs.map +1 -0
- package/dist/index.cjs +6 -7
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@jridgewell_gen-mapping@0.3.13/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.cjs +2 -0
- package/dist/node_modules/.pnpm/@jridgewell_gen-mapping@0.3.13/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +4 -0
- package/dist/node_modules/.pnpm/@jridgewell_remapping@2.3.5/node_modules/@jridgewell/remapping/dist/remapping.cjs +2 -0
- package/dist/node_modules/.pnpm/@jridgewell_remapping@2.3.5/node_modules/@jridgewell/remapping/dist/remapping.mjs +4 -0
- package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.cjs +15 -0
- package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +16 -0
- package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@jridgewell_trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.cjs +1 -0
- package/dist/node_modules/.pnpm/@jridgewell_trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +3 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.cjs +28 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.mjs +24 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.cjs +175 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.mjs +171 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.mjs.map +1 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.cjs +871 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.mjs +867 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.mjs.map +1 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.cjs +307 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.mjs +303 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.mjs.map +1 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.cjs +300 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.mjs +296 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.mjs.map +1 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.cjs +60 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.mjs +56 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.mjs.map +1 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/context-CehLHpzV.cjs +46 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/context-CehLHpzV.mjs +45 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/context-CehLHpzV.mjs.map +1 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/index.cjs +142 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/index.mjs +141 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/parse-CRORloGP.cjs +114 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/parse-CRORloGP.mjs +113 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/parse-CRORloGP.mjs.map +1 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/utils-CuyC8gTr.cjs +59 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/utils-CuyC8gTr.mjs +55 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/utils-CuyC8gTr.mjs.map +1 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/webpack-like-BU9ULG6P.cjs +35 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/webpack-like-BU9ULG6P.mjs +34 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/webpack-like-BU9ULG6P.mjs.map +1 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/index.cjs +236 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/index.mjs +232 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/virtual-stats.cjs +54 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/virtual-stats.mjs +50 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/virtual-stats.mjs.map +1 -0
- package/dist/types/index.cjs +0 -2
- package/dist/types/index.d.cts +1 -2
- package/dist/types/index.d.mts +1 -2
- package/dist/types/index.mjs +0 -3
- package/dist/types/plugin.cjs +0 -1
- package/dist/types/plugin.d.cts +14 -2
- package/dist/types/plugin.d.cts.map +1 -0
- package/dist/types/plugin.d.mts +14 -2
- package/dist/types/plugin.d.mts.map +1 -0
- package/dist/types/plugin.mjs +0 -2
- package/package.json +8 -8
- package/dist/helpers-B15z10jN.mjs +0 -1
- package/dist/helpers-LF26RHol.cjs +0 -0
- package/dist/index-9iG2qHLe.d.mts +0 -1
- package/dist/index-D4ELpJXS.d.cts +0 -1
- package/dist/index-D6CnpA_r.d.cts +0 -1
- package/dist/index-DL0uimUT.d.mts +0 -1
- package/dist/plugin-Bba7oDr4.d.cts +0 -14
- package/dist/plugin-Bba7oDr4.d.cts.map +0 -1
- package/dist/plugin-ifZVa20V.mjs +0 -1
- package/dist/plugin-pBKbb5K9.cjs +0 -0
- package/dist/plugin-wK3Y5uKl.d.mts +0 -14
- package/dist/plugin-wK3Y5uKl.d.mts.map +0 -1
- package/dist/types-U3zd8PTP.mjs +0 -1
- package/dist/types-o3zWarRp.cjs +0 -0
- package/dist/unplugin-BNXnCNtR.mjs +0 -2349
- package/dist/unplugin-BNXnCNtR.mjs.map +0 -1
- package/dist/unplugin-BxYrF3Ze.d.cts +0 -8
- package/dist/unplugin-BxYrF3Ze.d.cts.map +0 -1
- package/dist/unplugin-C-ffDFJ6.cjs +0 -2359
- package/dist/unplugin-Cxu6PlCY.d.mts +0 -8
- package/dist/unplugin-Cxu6PlCY.d.mts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unplugin-BNXnCNtR.mjs","names":["POSIX_REGEX_SOURCE","chars","path","utils","scan","constants","utils","parse","START_ANCHOR","opts","DOTS_SLASH","DOT_LITERAL","QMARK","value","ONE_CHAR","chars","SLASH_LITERAL","PLUS_LITERAL","source","parse","utils","picomatch","state","picomatch","Buffer","FakeVirtualModulesPlugin","VirtualModulesPlugin","createBuildContext$1","normalizeMessage$1","createRspackPlugin","createRspackUnplugin"],"sources":["../../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js","../../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.js","../../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js","../../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js","../../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js","../../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js","../../../node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/parse-CRORloGP.mjs","../../../node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/webpack-like-BU9ULG6P.mjs","../../../node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/context-CehLHpzV.mjs","../../../node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/utils-CuyC8gTr.mjs","../../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs","../../../node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/virtual-stats.js","../../../node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/index.js","../../../node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/index.mjs","../src/helpers/unplugin.ts"],"sourcesContent":["'use strict';\n\nconst WIN_SLASH = '\\\\\\\\/';\nconst WIN_NO_SLASH = `[^${WIN_SLASH}]`;\n\n/**\n * Posix glob regex\n */\n\nconst DOT_LITERAL = '\\\\.';\nconst PLUS_LITERAL = '\\\\+';\nconst QMARK_LITERAL = '\\\\?';\nconst SLASH_LITERAL = '\\\\/';\nconst ONE_CHAR = '(?=.)';\nconst QMARK = '[^/]';\nconst END_ANCHOR = `(?:${SLASH_LITERAL}|$)`;\nconst START_ANCHOR = `(?:^|${SLASH_LITERAL})`;\nconst DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`;\nconst NO_DOT = `(?!${DOT_LITERAL})`;\nconst NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`;\nconst NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`;\nconst NO_DOTS_SLASH = `(?!${DOTS_SLASH})`;\nconst QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`;\nconst STAR = `${QMARK}*?`;\nconst SEP = '/';\n\nconst POSIX_CHARS = {\n DOT_LITERAL,\n PLUS_LITERAL,\n QMARK_LITERAL,\n SLASH_LITERAL,\n ONE_CHAR,\n QMARK,\n END_ANCHOR,\n DOTS_SLASH,\n NO_DOT,\n NO_DOTS,\n NO_DOT_SLASH,\n NO_DOTS_SLASH,\n QMARK_NO_DOT,\n STAR,\n START_ANCHOR,\n SEP\n};\n\n/**\n * Windows glob regex\n */\n\nconst WINDOWS_CHARS = {\n ...POSIX_CHARS,\n\n SLASH_LITERAL: `[${WIN_SLASH}]`,\n QMARK: WIN_NO_SLASH,\n STAR: `${WIN_NO_SLASH}*?`,\n DOTS_SLASH: `${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`,\n NO_DOT: `(?!${DOT_LITERAL})`,\n NO_DOTS: `(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,\n NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`,\n NO_DOTS_SLASH: `(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,\n QMARK_NO_DOT: `[^.${WIN_SLASH}]`,\n START_ANCHOR: `(?:^|[${WIN_SLASH}])`,\n END_ANCHOR: `(?:[${WIN_SLASH}]|$)`,\n SEP: '\\\\'\n};\n\n/**\n * POSIX Bracket Regex\n */\n\nconst POSIX_REGEX_SOURCE = {\n alnum: 'a-zA-Z0-9',\n alpha: 'a-zA-Z',\n ascii: '\\\\x00-\\\\x7F',\n blank: ' \\\\t',\n cntrl: '\\\\x00-\\\\x1F\\\\x7F',\n digit: '0-9',\n graph: '\\\\x21-\\\\x7E',\n lower: 'a-z',\n print: '\\\\x20-\\\\x7E ',\n punct: '\\\\-!\"#$%&\\'()\\\\*+,./:;<=>?@[\\\\]^_`{|}~',\n space: ' \\\\t\\\\r\\\\n\\\\v\\\\f',\n upper: 'A-Z',\n word: 'A-Za-z0-9_',\n xdigit: 'A-Fa-f0-9'\n};\n\nmodule.exports = {\n MAX_LENGTH: 1024 * 64,\n POSIX_REGEX_SOURCE,\n\n // regular expressions\n REGEX_BACKSLASH: /\\\\(?![*+?^${}(|)[\\]])/g,\n REGEX_NON_SPECIAL_CHARS: /^[^@![\\].,$*+?^{}()|\\\\/]+/,\n REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\\]]/,\n REGEX_SPECIAL_CHARS_BACKREF: /(\\\\?)((\\W)(\\3*))/g,\n REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\\]])/g,\n REGEX_REMOVE_BACKSLASH: /(?:\\[.*?[^\\\\]\\]|\\\\(?=.))/g,\n\n // Replace globs with equivalent patterns to reduce parsing time.\n REPLACEMENTS: {\n __proto__: null,\n '***': '*',\n '**/**': '**',\n '**/**/**': '**'\n },\n\n // Digits\n CHAR_0: 48, /* 0 */\n CHAR_9: 57, /* 9 */\n\n // Alphabet chars.\n CHAR_UPPERCASE_A: 65, /* A */\n CHAR_LOWERCASE_A: 97, /* a */\n CHAR_UPPERCASE_Z: 90, /* Z */\n CHAR_LOWERCASE_Z: 122, /* z */\n\n CHAR_LEFT_PARENTHESES: 40, /* ( */\n CHAR_RIGHT_PARENTHESES: 41, /* ) */\n\n CHAR_ASTERISK: 42, /* * */\n\n // Non-alphabetic chars.\n CHAR_AMPERSAND: 38, /* & */\n CHAR_AT: 64, /* @ */\n CHAR_BACKWARD_SLASH: 92, /* \\ */\n CHAR_CARRIAGE_RETURN: 13, /* \\r */\n CHAR_CIRCUMFLEX_ACCENT: 94, /* ^ */\n CHAR_COLON: 58, /* : */\n CHAR_COMMA: 44, /* , */\n CHAR_DOT: 46, /* . */\n CHAR_DOUBLE_QUOTE: 34, /* \" */\n CHAR_EQUAL: 61, /* = */\n CHAR_EXCLAMATION_MARK: 33, /* ! */\n CHAR_FORM_FEED: 12, /* \\f */\n CHAR_FORWARD_SLASH: 47, /* / */\n CHAR_GRAVE_ACCENT: 96, /* ` */\n CHAR_HASH: 35, /* # */\n CHAR_HYPHEN_MINUS: 45, /* - */\n CHAR_LEFT_ANGLE_BRACKET: 60, /* < */\n CHAR_LEFT_CURLY_BRACE: 123, /* { */\n CHAR_LEFT_SQUARE_BRACKET: 91, /* [ */\n CHAR_LINE_FEED: 10, /* \\n */\n CHAR_NO_BREAK_SPACE: 160, /* \\u00A0 */\n CHAR_PERCENT: 37, /* % */\n CHAR_PLUS: 43, /* + */\n CHAR_QUESTION_MARK: 63, /* ? */\n CHAR_RIGHT_ANGLE_BRACKET: 62, /* > */\n CHAR_RIGHT_CURLY_BRACE: 125, /* } */\n CHAR_RIGHT_SQUARE_BRACKET: 93, /* ] */\n CHAR_SEMICOLON: 59, /* ; */\n CHAR_SINGLE_QUOTE: 39, /* ' */\n CHAR_SPACE: 32, /* */\n CHAR_TAB: 9, /* \\t */\n CHAR_UNDERSCORE: 95, /* _ */\n CHAR_VERTICAL_LINE: 124, /* | */\n CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, /* \\uFEFF */\n\n /**\n * Create EXTGLOB_CHARS\n */\n\n extglobChars(chars) {\n return {\n '!': { type: 'negate', open: '(?:(?!(?:', close: `))${chars.STAR})` },\n '?': { type: 'qmark', open: '(?:', close: ')?' },\n '+': { type: 'plus', open: '(?:', close: ')+' },\n '*': { type: 'star', open: '(?:', close: ')*' },\n '@': { type: 'at', open: '(?:', close: ')' }\n };\n },\n\n /**\n * Create GLOB_CHARS\n */\n\n globChars(win32) {\n return win32 === true ? WINDOWS_CHARS : POSIX_CHARS;\n }\n};\n","/*global navigator*/\n'use strict';\n\nconst {\n REGEX_BACKSLASH,\n REGEX_REMOVE_BACKSLASH,\n REGEX_SPECIAL_CHARS,\n REGEX_SPECIAL_CHARS_GLOBAL\n} = require('./constants');\n\nexports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);\nexports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);\nexports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);\nexports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\\\$1');\nexports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');\n\nexports.isWindows = () => {\n if (typeof navigator !== 'undefined' && navigator.platform) {\n const platform = navigator.platform.toLowerCase();\n return platform === 'win32' || platform === 'windows';\n }\n\n if (typeof process !== 'undefined' && process.platform) {\n return process.platform === 'win32';\n }\n\n return false;\n};\n\nexports.removeBackslashes = str => {\n return str.replace(REGEX_REMOVE_BACKSLASH, match => {\n return match === '\\\\' ? '' : match;\n });\n};\n\nexports.escapeLast = (input, char, lastIdx) => {\n const idx = input.lastIndexOf(char, lastIdx);\n if (idx === -1) return input;\n if (input[idx - 1] === '\\\\') return exports.escapeLast(input, char, idx - 1);\n return `${input.slice(0, idx)}\\\\${input.slice(idx)}`;\n};\n\nexports.removePrefix = (input, state = {}) => {\n let output = input;\n if (output.startsWith('./')) {\n output = output.slice(2);\n state.prefix = './';\n }\n return output;\n};\n\nexports.wrapOutput = (input, state = {}, options = {}) => {\n const prepend = options.contains ? '' : '^';\n const append = options.contains ? '' : '$';\n\n let output = `${prepend}(?:${input})${append}`;\n if (state.negated === true) {\n output = `(?:^(?!${output}).*$)`;\n }\n return output;\n};\n\nexports.basename = (path, { windows } = {}) => {\n const segs = path.split(windows ? /[\\\\/]/ : '/');\n const last = segs[segs.length - 1];\n\n if (last === '') {\n return segs[segs.length - 2];\n }\n\n return last;\n};\n","'use strict';\n\nconst utils = require('./utils');\nconst {\n CHAR_ASTERISK, /* * */\n CHAR_AT, /* @ */\n CHAR_BACKWARD_SLASH, /* \\ */\n CHAR_COMMA, /* , */\n CHAR_DOT, /* . */\n CHAR_EXCLAMATION_MARK, /* ! */\n CHAR_FORWARD_SLASH, /* / */\n CHAR_LEFT_CURLY_BRACE, /* { */\n CHAR_LEFT_PARENTHESES, /* ( */\n CHAR_LEFT_SQUARE_BRACKET, /* [ */\n CHAR_PLUS, /* + */\n CHAR_QUESTION_MARK, /* ? */\n CHAR_RIGHT_CURLY_BRACE, /* } */\n CHAR_RIGHT_PARENTHESES, /* ) */\n CHAR_RIGHT_SQUARE_BRACKET /* ] */\n} = require('./constants');\n\nconst isPathSeparator = code => {\n return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;\n};\n\nconst depth = token => {\n if (token.isPrefix !== true) {\n token.depth = token.isGlobstar ? Infinity : 1;\n }\n};\n\n/**\n * Quickly scans a glob pattern and returns an object with a handful of\n * useful properties, like `isGlob`, `path` (the leading non-glob, if it exists),\n * `glob` (the actual pattern), `negated` (true if the path starts with `!` but not\n * with `!(`) and `negatedExtglob` (true if the path starts with `!(`).\n *\n * ```js\n * const pm = require('picomatch');\n * console.log(pm.scan('foo/bar/*.js'));\n * { isGlob: true, input: 'foo/bar/*.js', base: 'foo/bar', glob: '*.js' }\n * ```\n * @param {String} `str`\n * @param {Object} `options`\n * @return {Object} Returns an object with tokens and regex source string.\n * @api public\n */\n\nconst scan = (input, options) => {\n const opts = options || {};\n\n const length = input.length - 1;\n const scanToEnd = opts.parts === true || opts.scanToEnd === true;\n const slashes = [];\n const tokens = [];\n const parts = [];\n\n let str = input;\n let index = -1;\n let start = 0;\n let lastIndex = 0;\n let isBrace = false;\n let isBracket = false;\n let isGlob = false;\n let isExtglob = false;\n let isGlobstar = false;\n let braceEscaped = false;\n let backslashes = false;\n let negated = false;\n let negatedExtglob = false;\n let finished = false;\n let braces = 0;\n let prev;\n let code;\n let token = { value: '', depth: 0, isGlob: false };\n\n const eos = () => index >= length;\n const peek = () => str.charCodeAt(index + 1);\n const advance = () => {\n prev = code;\n return str.charCodeAt(++index);\n };\n\n while (index < length) {\n code = advance();\n let next;\n\n if (code === CHAR_BACKWARD_SLASH) {\n backslashes = token.backslashes = true;\n code = advance();\n\n if (code === CHAR_LEFT_CURLY_BRACE) {\n braceEscaped = true;\n }\n continue;\n }\n\n if (braceEscaped === true || code === CHAR_LEFT_CURLY_BRACE) {\n braces++;\n\n while (eos() !== true && (code = advance())) {\n if (code === CHAR_BACKWARD_SLASH) {\n backslashes = token.backslashes = true;\n advance();\n continue;\n }\n\n if (code === CHAR_LEFT_CURLY_BRACE) {\n braces++;\n continue;\n }\n\n if (braceEscaped !== true && code === CHAR_DOT && (code = advance()) === CHAR_DOT) {\n isBrace = token.isBrace = true;\n isGlob = token.isGlob = true;\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n\n if (braceEscaped !== true && code === CHAR_COMMA) {\n isBrace = token.isBrace = true;\n isGlob = token.isGlob = true;\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n\n if (code === CHAR_RIGHT_CURLY_BRACE) {\n braces--;\n\n if (braces === 0) {\n braceEscaped = false;\n isBrace = token.isBrace = true;\n finished = true;\n break;\n }\n }\n }\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n\n if (code === CHAR_FORWARD_SLASH) {\n slashes.push(index);\n tokens.push(token);\n token = { value: '', depth: 0, isGlob: false };\n\n if (finished === true) continue;\n if (prev === CHAR_DOT && index === (start + 1)) {\n start += 2;\n continue;\n }\n\n lastIndex = index + 1;\n continue;\n }\n\n if (opts.noext !== true) {\n const isExtglobChar = code === CHAR_PLUS\n || code === CHAR_AT\n || code === CHAR_ASTERISK\n || code === CHAR_QUESTION_MARK\n || code === CHAR_EXCLAMATION_MARK;\n\n if (isExtglobChar === true && peek() === CHAR_LEFT_PARENTHESES) {\n isGlob = token.isGlob = true;\n isExtglob = token.isExtglob = true;\n finished = true;\n if (code === CHAR_EXCLAMATION_MARK && index === start) {\n negatedExtglob = true;\n }\n\n if (scanToEnd === true) {\n while (eos() !== true && (code = advance())) {\n if (code === CHAR_BACKWARD_SLASH) {\n backslashes = token.backslashes = true;\n code = advance();\n continue;\n }\n\n if (code === CHAR_RIGHT_PARENTHESES) {\n isGlob = token.isGlob = true;\n finished = true;\n break;\n }\n }\n continue;\n }\n break;\n }\n }\n\n if (code === CHAR_ASTERISK) {\n if (prev === CHAR_ASTERISK) isGlobstar = token.isGlobstar = true;\n isGlob = token.isGlob = true;\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n break;\n }\n\n if (code === CHAR_QUESTION_MARK) {\n isGlob = token.isGlob = true;\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n break;\n }\n\n if (code === CHAR_LEFT_SQUARE_BRACKET) {\n while (eos() !== true && (next = advance())) {\n if (next === CHAR_BACKWARD_SLASH) {\n backslashes = token.backslashes = true;\n advance();\n continue;\n }\n\n if (next === CHAR_RIGHT_SQUARE_BRACKET) {\n isBracket = token.isBracket = true;\n isGlob = token.isGlob = true;\n finished = true;\n break;\n }\n }\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n\n if (opts.nonegate !== true && code === CHAR_EXCLAMATION_MARK && index === start) {\n negated = token.negated = true;\n start++;\n continue;\n }\n\n if (opts.noparen !== true && code === CHAR_LEFT_PARENTHESES) {\n isGlob = token.isGlob = true;\n\n if (scanToEnd === true) {\n while (eos() !== true && (code = advance())) {\n if (code === CHAR_LEFT_PARENTHESES) {\n backslashes = token.backslashes = true;\n code = advance();\n continue;\n }\n\n if (code === CHAR_RIGHT_PARENTHESES) {\n finished = true;\n break;\n }\n }\n continue;\n }\n break;\n }\n\n if (isGlob === true) {\n finished = true;\n\n if (scanToEnd === true) {\n continue;\n }\n\n break;\n }\n }\n\n if (opts.noext === true) {\n isExtglob = false;\n isGlob = false;\n }\n\n let base = str;\n let prefix = '';\n let glob = '';\n\n if (start > 0) {\n prefix = str.slice(0, start);\n str = str.slice(start);\n lastIndex -= start;\n }\n\n if (base && isGlob === true && lastIndex > 0) {\n base = str.slice(0, lastIndex);\n glob = str.slice(lastIndex);\n } else if (isGlob === true) {\n base = '';\n glob = str;\n } else {\n base = str;\n }\n\n if (base && base !== '' && base !== '/' && base !== str) {\n if (isPathSeparator(base.charCodeAt(base.length - 1))) {\n base = base.slice(0, -1);\n }\n }\n\n if (opts.unescape === true) {\n if (glob) glob = utils.removeBackslashes(glob);\n\n if (base && backslashes === true) {\n base = utils.removeBackslashes(base);\n }\n }\n\n const state = {\n prefix,\n input,\n start,\n base,\n glob,\n isBrace,\n isBracket,\n isGlob,\n isExtglob,\n isGlobstar,\n negated,\n negatedExtglob\n };\n\n if (opts.tokens === true) {\n state.maxDepth = 0;\n if (!isPathSeparator(code)) {\n tokens.push(token);\n }\n state.tokens = tokens;\n }\n\n if (opts.parts === true || opts.tokens === true) {\n let prevIndex;\n\n for (let idx = 0; idx < slashes.length; idx++) {\n const n = prevIndex ? prevIndex + 1 : start;\n const i = slashes[idx];\n const value = input.slice(n, i);\n if (opts.tokens) {\n if (idx === 0 && start !== 0) {\n tokens[idx].isPrefix = true;\n tokens[idx].value = prefix;\n } else {\n tokens[idx].value = value;\n }\n depth(tokens[idx]);\n state.maxDepth += tokens[idx].depth;\n }\n if (idx !== 0 || value !== '') {\n parts.push(value);\n }\n prevIndex = i;\n }\n\n if (prevIndex && prevIndex + 1 < input.length) {\n const value = input.slice(prevIndex + 1);\n parts.push(value);\n\n if (opts.tokens) {\n tokens[tokens.length - 1].value = value;\n depth(tokens[tokens.length - 1]);\n state.maxDepth += tokens[tokens.length - 1].depth;\n }\n }\n\n state.slashes = slashes;\n state.parts = parts;\n }\n\n return state;\n};\n\nmodule.exports = scan;\n","'use strict';\n\nconst constants = require('./constants');\nconst utils = require('./utils');\n\n/**\n * Constants\n */\n\nconst {\n MAX_LENGTH,\n POSIX_REGEX_SOURCE,\n REGEX_NON_SPECIAL_CHARS,\n REGEX_SPECIAL_CHARS_BACKREF,\n REPLACEMENTS\n} = constants;\n\n/**\n * Helpers\n */\n\nconst expandRange = (args, options) => {\n if (typeof options.expandRange === 'function') {\n return options.expandRange(...args, options);\n }\n\n args.sort();\n const value = `[${args.join('-')}]`;\n\n try {\n /* eslint-disable-next-line no-new */\n new RegExp(value);\n } catch (ex) {\n return args.map(v => utils.escapeRegex(v)).join('..');\n }\n\n return value;\n};\n\n/**\n * Create the message for a syntax error\n */\n\nconst syntaxError = (type, char) => {\n return `Missing ${type}: \"${char}\" - use \"\\\\\\\\${char}\" to match literal characters`;\n};\n\n/**\n * Parse the given input string.\n * @param {String} input\n * @param {Object} options\n * @return {Object}\n */\n\nconst parse = (input, options) => {\n if (typeof input !== 'string') {\n throw new TypeError('Expected a string');\n }\n\n input = REPLACEMENTS[input] || input;\n\n const opts = { ...options };\n const max = typeof opts.maxLength === 'number' ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;\n\n let len = input.length;\n if (len > max) {\n throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);\n }\n\n const bos = { type: 'bos', value: '', output: opts.prepend || '' };\n const tokens = [bos];\n\n const capture = opts.capture ? '' : '?:';\n\n // create constants based on platform, for windows or posix\n const PLATFORM_CHARS = constants.globChars(opts.windows);\n const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);\n\n const {\n DOT_LITERAL,\n PLUS_LITERAL,\n SLASH_LITERAL,\n ONE_CHAR,\n DOTS_SLASH,\n NO_DOT,\n NO_DOT_SLASH,\n NO_DOTS_SLASH,\n QMARK,\n QMARK_NO_DOT,\n STAR,\n START_ANCHOR\n } = PLATFORM_CHARS;\n\n const globstar = opts => {\n return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;\n };\n\n const nodot = opts.dot ? '' : NO_DOT;\n const qmarkNoDot = opts.dot ? QMARK : QMARK_NO_DOT;\n let star = opts.bash === true ? globstar(opts) : STAR;\n\n if (opts.capture) {\n star = `(${star})`;\n }\n\n // minimatch options support\n if (typeof opts.noext === 'boolean') {\n opts.noextglob = opts.noext;\n }\n\n const state = {\n input,\n index: -1,\n start: 0,\n dot: opts.dot === true,\n consumed: '',\n output: '',\n prefix: '',\n backtrack: false,\n negated: false,\n brackets: 0,\n braces: 0,\n parens: 0,\n quotes: 0,\n globstar: false,\n tokens\n };\n\n input = utils.removePrefix(input, state);\n len = input.length;\n\n const extglobs = [];\n const braces = [];\n const stack = [];\n let prev = bos;\n let value;\n\n /**\n * Tokenizing helpers\n */\n\n const eos = () => state.index === len - 1;\n const peek = state.peek = (n = 1) => input[state.index + n];\n const advance = state.advance = () => input[++state.index] || '';\n const remaining = () => input.slice(state.index + 1);\n const consume = (value = '', num = 0) => {\n state.consumed += value;\n state.index += num;\n };\n\n const append = token => {\n state.output += token.output != null ? token.output : token.value;\n consume(token.value);\n };\n\n const negate = () => {\n let count = 1;\n\n while (peek() === '!' && (peek(2) !== '(' || peek(3) === '?')) {\n advance();\n state.start++;\n count++;\n }\n\n if (count % 2 === 0) {\n return false;\n }\n\n state.negated = true;\n state.start++;\n return true;\n };\n\n const increment = type => {\n state[type]++;\n stack.push(type);\n };\n\n const decrement = type => {\n state[type]--;\n stack.pop();\n };\n\n /**\n * Push tokens onto the tokens array. This helper speeds up\n * tokenizing by 1) helping us avoid backtracking as much as possible,\n * and 2) helping us avoid creating extra tokens when consecutive\n * characters are plain text. This improves performance and simplifies\n * lookbehinds.\n */\n\n const push = tok => {\n if (prev.type === 'globstar') {\n const isBrace = state.braces > 0 && (tok.type === 'comma' || tok.type === 'brace');\n const isExtglob = tok.extglob === true || (extglobs.length && (tok.type === 'pipe' || tok.type === 'paren'));\n\n if (tok.type !== 'slash' && tok.type !== 'paren' && !isBrace && !isExtglob) {\n state.output = state.output.slice(0, -prev.output.length);\n prev.type = 'star';\n prev.value = '*';\n prev.output = star;\n state.output += prev.output;\n }\n }\n\n if (extglobs.length && tok.type !== 'paren') {\n extglobs[extglobs.length - 1].inner += tok.value;\n }\n\n if (tok.value || tok.output) append(tok);\n if (prev && prev.type === 'text' && tok.type === 'text') {\n prev.output = (prev.output || prev.value) + tok.value;\n prev.value += tok.value;\n return;\n }\n\n tok.prev = prev;\n tokens.push(tok);\n prev = tok;\n };\n\n const extglobOpen = (type, value) => {\n const token = { ...EXTGLOB_CHARS[value], conditions: 1, inner: '' };\n\n token.prev = prev;\n token.parens = state.parens;\n token.output = state.output;\n const output = (opts.capture ? '(' : '') + token.open;\n\n increment('parens');\n push({ type, value, output: state.output ? '' : ONE_CHAR });\n push({ type: 'paren', extglob: true, value: advance(), output });\n extglobs.push(token);\n };\n\n const extglobClose = token => {\n let output = token.close + (opts.capture ? ')' : '');\n let rest;\n\n if (token.type === 'negate') {\n let extglobStar = star;\n\n if (token.inner && token.inner.length > 1 && token.inner.includes('/')) {\n extglobStar = globstar(opts);\n }\n\n if (extglobStar !== star || eos() || /^\\)+$/.test(remaining())) {\n output = token.close = `)$))${extglobStar}`;\n }\n\n if (token.inner.includes('*') && (rest = remaining()) && /^\\.[^\\\\/.]+$/.test(rest)) {\n // Any non-magical string (`.ts`) or even nested expression (`.{ts,tsx}`) can follow after the closing parenthesis.\n // In this case, we need to parse the string and use it in the output of the original pattern.\n // Suitable patterns: `/!(*.d).ts`, `/!(*.d).{ts,tsx}`, `**/!(*-dbg).@(js)`.\n //\n // Disabling the `fastpaths` option due to a problem with parsing strings as `.ts` in the pattern like `**/!(*.d).ts`.\n const expression = parse(rest, { ...options, fastpaths: false }).output;\n\n output = token.close = `)${expression})${extglobStar})`;\n }\n\n if (token.prev.type === 'bos') {\n state.negatedExtglob = true;\n }\n }\n\n push({ type: 'paren', extglob: true, value, output });\n decrement('parens');\n };\n\n /**\n * Fast paths\n */\n\n if (opts.fastpaths !== false && !/(^[*!]|[/()[\\]{}\"])/.test(input)) {\n let backslashes = false;\n\n let output = input.replace(REGEX_SPECIAL_CHARS_BACKREF, (m, esc, chars, first, rest, index) => {\n if (first === '\\\\') {\n backslashes = true;\n return m;\n }\n\n if (first === '?') {\n if (esc) {\n return esc + first + (rest ? QMARK.repeat(rest.length) : '');\n }\n if (index === 0) {\n return qmarkNoDot + (rest ? QMARK.repeat(rest.length) : '');\n }\n return QMARK.repeat(chars.length);\n }\n\n if (first === '.') {\n return DOT_LITERAL.repeat(chars.length);\n }\n\n if (first === '*') {\n if (esc) {\n return esc + first + (rest ? star : '');\n }\n return star;\n }\n return esc ? m : `\\\\${m}`;\n });\n\n if (backslashes === true) {\n if (opts.unescape === true) {\n output = output.replace(/\\\\/g, '');\n } else {\n output = output.replace(/\\\\+/g, m => {\n return m.length % 2 === 0 ? '\\\\\\\\' : (m ? '\\\\' : '');\n });\n }\n }\n\n if (output === input && opts.contains === true) {\n state.output = input;\n return state;\n }\n\n state.output = utils.wrapOutput(output, state, options);\n return state;\n }\n\n /**\n * Tokenize input until we reach end-of-string\n */\n\n while (!eos()) {\n value = advance();\n\n if (value === '\\u0000') {\n continue;\n }\n\n /**\n * Escaped characters\n */\n\n if (value === '\\\\') {\n const next = peek();\n\n if (next === '/' && opts.bash !== true) {\n continue;\n }\n\n if (next === '.' || next === ';') {\n continue;\n }\n\n if (!next) {\n value += '\\\\';\n push({ type: 'text', value });\n continue;\n }\n\n // collapse slashes to reduce potential for exploits\n const match = /^\\\\+/.exec(remaining());\n let slashes = 0;\n\n if (match && match[0].length > 2) {\n slashes = match[0].length;\n state.index += slashes;\n if (slashes % 2 !== 0) {\n value += '\\\\';\n }\n }\n\n if (opts.unescape === true) {\n value = advance();\n } else {\n value += advance();\n }\n\n if (state.brackets === 0) {\n push({ type: 'text', value });\n continue;\n }\n }\n\n /**\n * If we're inside a regex character class, continue\n * until we reach the closing bracket.\n */\n\n if (state.brackets > 0 && (value !== ']' || prev.value === '[' || prev.value === '[^')) {\n if (opts.posix !== false && value === ':') {\n const inner = prev.value.slice(1);\n if (inner.includes('[')) {\n prev.posix = true;\n\n if (inner.includes(':')) {\n const idx = prev.value.lastIndexOf('[');\n const pre = prev.value.slice(0, idx);\n const rest = prev.value.slice(idx + 2);\n const posix = POSIX_REGEX_SOURCE[rest];\n if (posix) {\n prev.value = pre + posix;\n state.backtrack = true;\n advance();\n\n if (!bos.output && tokens.indexOf(prev) === 1) {\n bos.output = ONE_CHAR;\n }\n continue;\n }\n }\n }\n }\n\n if ((value === '[' && peek() !== ':') || (value === '-' && peek() === ']')) {\n value = `\\\\${value}`;\n }\n\n if (value === ']' && (prev.value === '[' || prev.value === '[^')) {\n value = `\\\\${value}`;\n }\n\n if (opts.posix === true && value === '!' && prev.value === '[') {\n value = '^';\n }\n\n prev.value += value;\n append({ value });\n continue;\n }\n\n /**\n * If we're inside a quoted string, continue\n * until we reach the closing double quote.\n */\n\n if (state.quotes === 1 && value !== '\"') {\n value = utils.escapeRegex(value);\n prev.value += value;\n append({ value });\n continue;\n }\n\n /**\n * Double quotes\n */\n\n if (value === '\"') {\n state.quotes = state.quotes === 1 ? 0 : 1;\n if (opts.keepQuotes === true) {\n push({ type: 'text', value });\n }\n continue;\n }\n\n /**\n * Parentheses\n */\n\n if (value === '(') {\n increment('parens');\n push({ type: 'paren', value });\n continue;\n }\n\n if (value === ')') {\n if (state.parens === 0 && opts.strictBrackets === true) {\n throw new SyntaxError(syntaxError('opening', '('));\n }\n\n const extglob = extglobs[extglobs.length - 1];\n if (extglob && state.parens === extglob.parens + 1) {\n extglobClose(extglobs.pop());\n continue;\n }\n\n push({ type: 'paren', value, output: state.parens ? ')' : '\\\\)' });\n decrement('parens');\n continue;\n }\n\n /**\n * Square brackets\n */\n\n if (value === '[') {\n if (opts.nobracket === true || !remaining().includes(']')) {\n if (opts.nobracket !== true && opts.strictBrackets === true) {\n throw new SyntaxError(syntaxError('closing', ']'));\n }\n\n value = `\\\\${value}`;\n } else {\n increment('brackets');\n }\n\n push({ type: 'bracket', value });\n continue;\n }\n\n if (value === ']') {\n if (opts.nobracket === true || (prev && prev.type === 'bracket' && prev.value.length === 1)) {\n push({ type: 'text', value, output: `\\\\${value}` });\n continue;\n }\n\n if (state.brackets === 0) {\n if (opts.strictBrackets === true) {\n throw new SyntaxError(syntaxError('opening', '['));\n }\n\n push({ type: 'text', value, output: `\\\\${value}` });\n continue;\n }\n\n decrement('brackets');\n\n const prevValue = prev.value.slice(1);\n if (prev.posix !== true && prevValue[0] === '^' && !prevValue.includes('/')) {\n value = `/${value}`;\n }\n\n prev.value += value;\n append({ value });\n\n // when literal brackets are explicitly disabled\n // assume we should match with a regex character class\n if (opts.literalBrackets === false || utils.hasRegexChars(prevValue)) {\n continue;\n }\n\n const escaped = utils.escapeRegex(prev.value);\n state.output = state.output.slice(0, -prev.value.length);\n\n // when literal brackets are explicitly enabled\n // assume we should escape the brackets to match literal characters\n if (opts.literalBrackets === true) {\n state.output += escaped;\n prev.value = escaped;\n continue;\n }\n\n // when the user specifies nothing, try to match both\n prev.value = `(${capture}${escaped}|${prev.value})`;\n state.output += prev.value;\n continue;\n }\n\n /**\n * Braces\n */\n\n if (value === '{' && opts.nobrace !== true) {\n increment('braces');\n\n const open = {\n type: 'brace',\n value,\n output: '(',\n outputIndex: state.output.length,\n tokensIndex: state.tokens.length\n };\n\n braces.push(open);\n push(open);\n continue;\n }\n\n if (value === '}') {\n const brace = braces[braces.length - 1];\n\n if (opts.nobrace === true || !brace) {\n push({ type: 'text', value, output: value });\n continue;\n }\n\n let output = ')';\n\n if (brace.dots === true) {\n const arr = tokens.slice();\n const range = [];\n\n for (let i = arr.length - 1; i >= 0; i--) {\n tokens.pop();\n if (arr[i].type === 'brace') {\n break;\n }\n if (arr[i].type !== 'dots') {\n range.unshift(arr[i].value);\n }\n }\n\n output = expandRange(range, opts);\n state.backtrack = true;\n }\n\n if (brace.comma !== true && brace.dots !== true) {\n const out = state.output.slice(0, brace.outputIndex);\n const toks = state.tokens.slice(brace.tokensIndex);\n brace.value = brace.output = '\\\\{';\n value = output = '\\\\}';\n state.output = out;\n for (const t of toks) {\n state.output += (t.output || t.value);\n }\n }\n\n push({ type: 'brace', value, output });\n decrement('braces');\n braces.pop();\n continue;\n }\n\n /**\n * Pipes\n */\n\n if (value === '|') {\n if (extglobs.length > 0) {\n extglobs[extglobs.length - 1].conditions++;\n }\n push({ type: 'text', value });\n continue;\n }\n\n /**\n * Commas\n */\n\n if (value === ',') {\n let output = value;\n\n const brace = braces[braces.length - 1];\n if (brace && stack[stack.length - 1] === 'braces') {\n brace.comma = true;\n output = '|';\n }\n\n push({ type: 'comma', value, output });\n continue;\n }\n\n /**\n * Slashes\n */\n\n if (value === '/') {\n // if the beginning of the glob is \"./\", advance the start\n // to the current index, and don't add the \"./\" characters\n // to the state. This greatly simplifies lookbehinds when\n // checking for BOS characters like \"!\" and \".\" (not \"./\")\n if (prev.type === 'dot' && state.index === state.start + 1) {\n state.start = state.index + 1;\n state.consumed = '';\n state.output = '';\n tokens.pop();\n prev = bos; // reset \"prev\" to the first token\n continue;\n }\n\n push({ type: 'slash', value, output: SLASH_LITERAL });\n continue;\n }\n\n /**\n * Dots\n */\n\n if (value === '.') {\n if (state.braces > 0 && prev.type === 'dot') {\n if (prev.value === '.') prev.output = DOT_LITERAL;\n const brace = braces[braces.length - 1];\n prev.type = 'dots';\n prev.output += value;\n prev.value += value;\n brace.dots = true;\n continue;\n }\n\n if ((state.braces + state.parens) === 0 && prev.type !== 'bos' && prev.type !== 'slash') {\n push({ type: 'text', value, output: DOT_LITERAL });\n continue;\n }\n\n push({ type: 'dot', value, output: DOT_LITERAL });\n continue;\n }\n\n /**\n * Question marks\n */\n\n if (value === '?') {\n const isGroup = prev && prev.value === '(';\n if (!isGroup && opts.noextglob !== true && peek() === '(' && peek(2) !== '?') {\n extglobOpen('qmark', value);\n continue;\n }\n\n if (prev && prev.type === 'paren') {\n const next = peek();\n let output = value;\n\n if ((prev.value === '(' && !/[!=<:]/.test(next)) || (next === '<' && !/<([!=]|\\w+>)/.test(remaining()))) {\n output = `\\\\${value}`;\n }\n\n push({ type: 'text', value, output });\n continue;\n }\n\n if (opts.dot !== true && (prev.type === 'slash' || prev.type === 'bos')) {\n push({ type: 'qmark', value, output: QMARK_NO_DOT });\n continue;\n }\n\n push({ type: 'qmark', value, output: QMARK });\n continue;\n }\n\n /**\n * Exclamation\n */\n\n if (value === '!') {\n if (opts.noextglob !== true && peek() === '(') {\n if (peek(2) !== '?' || !/[!=<:]/.test(peek(3))) {\n extglobOpen('negate', value);\n continue;\n }\n }\n\n if (opts.nonegate !== true && state.index === 0) {\n negate();\n continue;\n }\n }\n\n /**\n * Plus\n */\n\n if (value === '+') {\n if (opts.noextglob !== true && peek() === '(' && peek(2) !== '?') {\n extglobOpen('plus', value);\n continue;\n }\n\n if ((prev && prev.value === '(') || opts.regex === false) {\n push({ type: 'plus', value, output: PLUS_LITERAL });\n continue;\n }\n\n if ((prev && (prev.type === 'bracket' || prev.type === 'paren' || prev.type === 'brace')) || state.parens > 0) {\n push({ type: 'plus', value });\n continue;\n }\n\n push({ type: 'plus', value: PLUS_LITERAL });\n continue;\n }\n\n /**\n * Plain text\n */\n\n if (value === '@') {\n if (opts.noextglob !== true && peek() === '(' && peek(2) !== '?') {\n push({ type: 'at', extglob: true, value, output: '' });\n continue;\n }\n\n push({ type: 'text', value });\n continue;\n }\n\n /**\n * Plain text\n */\n\n if (value !== '*') {\n if (value === '$' || value === '^') {\n value = `\\\\${value}`;\n }\n\n const match = REGEX_NON_SPECIAL_CHARS.exec(remaining());\n if (match) {\n value += match[0];\n state.index += match[0].length;\n }\n\n push({ type: 'text', value });\n continue;\n }\n\n /**\n * Stars\n */\n\n if (prev && (prev.type === 'globstar' || prev.star === true)) {\n prev.type = 'star';\n prev.star = true;\n prev.value += value;\n prev.output = star;\n state.backtrack = true;\n state.globstar = true;\n consume(value);\n continue;\n }\n\n let rest = remaining();\n if (opts.noextglob !== true && /^\\([^?]/.test(rest)) {\n extglobOpen('star', value);\n continue;\n }\n\n if (prev.type === 'star') {\n if (opts.noglobstar === true) {\n consume(value);\n continue;\n }\n\n const prior = prev.prev;\n const before = prior.prev;\n const isStart = prior.type === 'slash' || prior.type === 'bos';\n const afterStar = before && (before.type === 'star' || before.type === 'globstar');\n\n if (opts.bash === true && (!isStart || (rest[0] && rest[0] !== '/'))) {\n push({ type: 'star', value, output: '' });\n continue;\n }\n\n const isBrace = state.braces > 0 && (prior.type === 'comma' || prior.type === 'brace');\n const isExtglob = extglobs.length && (prior.type === 'pipe' || prior.type === 'paren');\n if (!isStart && prior.type !== 'paren' && !isBrace && !isExtglob) {\n push({ type: 'star', value, output: '' });\n continue;\n }\n\n // strip consecutive `/**/`\n while (rest.slice(0, 3) === '/**') {\n const after = input[state.index + 4];\n if (after && after !== '/') {\n break;\n }\n rest = rest.slice(3);\n consume('/**', 3);\n }\n\n if (prior.type === 'bos' && eos()) {\n prev.type = 'globstar';\n prev.value += value;\n prev.output = globstar(opts);\n state.output = prev.output;\n state.globstar = true;\n consume(value);\n continue;\n }\n\n if (prior.type === 'slash' && prior.prev.type !== 'bos' && !afterStar && eos()) {\n state.output = state.output.slice(0, -(prior.output + prev.output).length);\n prior.output = `(?:${prior.output}`;\n\n prev.type = 'globstar';\n prev.output = globstar(opts) + (opts.strictSlashes ? ')' : '|$)');\n prev.value += value;\n state.globstar = true;\n state.output += prior.output + prev.output;\n consume(value);\n continue;\n }\n\n if (prior.type === 'slash' && prior.prev.type !== 'bos' && rest[0] === '/') {\n const end = rest[1] !== void 0 ? '|$' : '';\n\n state.output = state.output.slice(0, -(prior.output + prev.output).length);\n prior.output = `(?:${prior.output}`;\n\n prev.type = 'globstar';\n prev.output = `${globstar(opts)}${SLASH_LITERAL}|${SLASH_LITERAL}${end})`;\n prev.value += value;\n\n state.output += prior.output + prev.output;\n state.globstar = true;\n\n consume(value + advance());\n\n push({ type: 'slash', value: '/', output: '' });\n continue;\n }\n\n if (prior.type === 'bos' && rest[0] === '/') {\n prev.type = 'globstar';\n prev.value += value;\n prev.output = `(?:^|${SLASH_LITERAL}|${globstar(opts)}${SLASH_LITERAL})`;\n state.output = prev.output;\n state.globstar = true;\n consume(value + advance());\n push({ type: 'slash', value: '/', output: '' });\n continue;\n }\n\n // remove single star from output\n state.output = state.output.slice(0, -prev.output.length);\n\n // reset previous token to globstar\n prev.type = 'globstar';\n prev.output = globstar(opts);\n prev.value += value;\n\n // reset output with globstar\n state.output += prev.output;\n state.globstar = true;\n consume(value);\n continue;\n }\n\n const token = { type: 'star', value, output: star };\n\n if (opts.bash === true) {\n token.output = '.*?';\n if (prev.type === 'bos' || prev.type === 'slash') {\n token.output = nodot + token.output;\n }\n push(token);\n continue;\n }\n\n if (prev && (prev.type === 'bracket' || prev.type === 'paren') && opts.regex === true) {\n token.output = value;\n push(token);\n continue;\n }\n\n if (state.index === state.start || prev.type === 'slash' || prev.type === 'dot') {\n if (prev.type === 'dot') {\n state.output += NO_DOT_SLASH;\n prev.output += NO_DOT_SLASH;\n\n } else if (opts.dot === true) {\n state.output += NO_DOTS_SLASH;\n prev.output += NO_DOTS_SLASH;\n\n } else {\n state.output += nodot;\n prev.output += nodot;\n }\n\n if (peek() !== '*') {\n state.output += ONE_CHAR;\n prev.output += ONE_CHAR;\n }\n }\n\n push(token);\n }\n\n while (state.brackets > 0) {\n if (opts.strictBrackets === true) throw new SyntaxError(syntaxError('closing', ']'));\n state.output = utils.escapeLast(state.output, '[');\n decrement('brackets');\n }\n\n while (state.parens > 0) {\n if (opts.strictBrackets === true) throw new SyntaxError(syntaxError('closing', ')'));\n state.output = utils.escapeLast(state.output, '(');\n decrement('parens');\n }\n\n while (state.braces > 0) {\n if (opts.strictBrackets === true) throw new SyntaxError(syntaxError('closing', '}'));\n state.output = utils.escapeLast(state.output, '{');\n decrement('braces');\n }\n\n if (opts.strictSlashes !== true && (prev.type === 'star' || prev.type === 'bracket')) {\n push({ type: 'maybe_slash', value: '', output: `${SLASH_LITERAL}?` });\n }\n\n // rebuild the output if we had to backtrack at any point\n if (state.backtrack === true) {\n state.output = '';\n\n for (const token of state.tokens) {\n state.output += token.output != null ? token.output : token.value;\n\n if (token.suffix) {\n state.output += token.suffix;\n }\n }\n }\n\n return state;\n};\n\n/**\n * Fast paths for creating regular expressions for common glob patterns.\n * This can significantly speed up processing and has very little downside\n * impact when none of the fast paths match.\n */\n\nparse.fastpaths = (input, options) => {\n const opts = { ...options };\n const max = typeof opts.maxLength === 'number' ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;\n const len = input.length;\n if (len > max) {\n throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);\n }\n\n input = REPLACEMENTS[input] || input;\n\n // create constants based on platform, for windows or posix\n const {\n DOT_LITERAL,\n SLASH_LITERAL,\n ONE_CHAR,\n DOTS_SLASH,\n NO_DOT,\n NO_DOTS,\n NO_DOTS_SLASH,\n STAR,\n START_ANCHOR\n } = constants.globChars(opts.windows);\n\n const nodot = opts.dot ? NO_DOTS : NO_DOT;\n const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;\n const capture = opts.capture ? '' : '?:';\n const state = { negated: false, prefix: '' };\n let star = opts.bash === true ? '.*?' : STAR;\n\n if (opts.capture) {\n star = `(${star})`;\n }\n\n const globstar = opts => {\n if (opts.noglobstar === true) return star;\n return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;\n };\n\n const create = str => {\n switch (str) {\n case '*':\n return `${nodot}${ONE_CHAR}${star}`;\n\n case '.*':\n return `${DOT_LITERAL}${ONE_CHAR}${star}`;\n\n case '*.*':\n return `${nodot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;\n\n case '*/*':\n return `${nodot}${star}${SLASH_LITERAL}${ONE_CHAR}${slashDot}${star}`;\n\n case '**':\n return nodot + globstar(opts);\n\n case '**/*':\n return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${ONE_CHAR}${star}`;\n\n case '**/*.*':\n return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`;\n\n case '**/.*':\n return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;\n\n default: {\n const match = /^(.*?)\\.(\\w+)$/.exec(str);\n if (!match) return;\n\n const source = create(match[1]);\n if (!source) return;\n\n return source + DOT_LITERAL + match[2];\n }\n }\n };\n\n const output = utils.removePrefix(input, state);\n let source = create(output);\n\n if (source && opts.strictSlashes !== true) {\n source += `${SLASH_LITERAL}?`;\n }\n\n return source;\n};\n\nmodule.exports = parse;\n","'use strict';\n\nconst scan = require('./scan');\nconst parse = require('./parse');\nconst utils = require('./utils');\nconst constants = require('./constants');\nconst isObject = val => val && typeof val === 'object' && !Array.isArray(val);\n\n/**\n * Creates a matcher function from one or more glob patterns. The\n * returned function takes a string to match as its first argument,\n * and returns true if the string is a match. The returned matcher\n * function also takes a boolean as the second argument that, when true,\n * returns an object with additional information.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch(glob[, options]);\n *\n * const isMatch = picomatch('*.!(*a)');\n * console.log(isMatch('a.a')); //=> false\n * console.log(isMatch('a.b')); //=> true\n * ```\n * @name picomatch\n * @param {String|Array} `globs` One or more glob patterns.\n * @param {Object=} `options`\n * @return {Function=} Returns a matcher function.\n * @api public\n */\n\nconst picomatch = (glob, options, returnState = false) => {\n if (Array.isArray(glob)) {\n const fns = glob.map(input => picomatch(input, options, returnState));\n const arrayMatcher = str => {\n for (const isMatch of fns) {\n const state = isMatch(str);\n if (state) return state;\n }\n return false;\n };\n return arrayMatcher;\n }\n\n const isState = isObject(glob) && glob.tokens && glob.input;\n\n if (glob === '' || (typeof glob !== 'string' && !isState)) {\n throw new TypeError('Expected pattern to be a non-empty string');\n }\n\n const opts = options || {};\n const posix = opts.windows;\n const regex = isState\n ? picomatch.compileRe(glob, options)\n : picomatch.makeRe(glob, options, false, true);\n\n const state = regex.state;\n delete regex.state;\n\n let isIgnored = () => false;\n if (opts.ignore) {\n const ignoreOpts = { ...options, ignore: null, onMatch: null, onResult: null };\n isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);\n }\n\n const matcher = (input, returnObject = false) => {\n const { isMatch, match, output } = picomatch.test(input, regex, options, { glob, posix });\n const result = { glob, state, regex, posix, input, output, match, isMatch };\n\n if (typeof opts.onResult === 'function') {\n opts.onResult(result);\n }\n\n if (isMatch === false) {\n result.isMatch = false;\n return returnObject ? result : false;\n }\n\n if (isIgnored(input)) {\n if (typeof opts.onIgnore === 'function') {\n opts.onIgnore(result);\n }\n result.isMatch = false;\n return returnObject ? result : false;\n }\n\n if (typeof opts.onMatch === 'function') {\n opts.onMatch(result);\n }\n return returnObject ? result : true;\n };\n\n if (returnState) {\n matcher.state = state;\n }\n\n return matcher;\n};\n\n/**\n * Test `input` with the given `regex`. This is used by the main\n * `picomatch()` function to test the input string.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.test(input, regex[, options]);\n *\n * console.log(picomatch.test('foo/bar', /^(?:([^/]*?)\\/([^/]*?))$/));\n * // { isMatch: true, match: [ 'foo/', 'foo', 'bar' ], output: 'foo/bar' }\n * ```\n * @param {String} `input` String to test.\n * @param {RegExp} `regex`\n * @return {Object} Returns an object with matching info.\n * @api public\n */\n\npicomatch.test = (input, regex, options, { glob, posix } = {}) => {\n if (typeof input !== 'string') {\n throw new TypeError('Expected input to be a string');\n }\n\n if (input === '') {\n return { isMatch: false, output: '' };\n }\n\n const opts = options || {};\n const format = opts.format || (posix ? utils.toPosixSlashes : null);\n let match = input === glob;\n let output = (match && format) ? format(input) : input;\n\n if (match === false) {\n output = format ? format(input) : input;\n match = output === glob;\n }\n\n if (match === false || opts.capture === true) {\n if (opts.matchBase === true || opts.basename === true) {\n match = picomatch.matchBase(input, regex, options, posix);\n } else {\n match = regex.exec(output);\n }\n }\n\n return { isMatch: Boolean(match), match, output };\n};\n\n/**\n * Match the basename of a filepath.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.matchBase(input, glob[, options]);\n * console.log(picomatch.matchBase('foo/bar.js', '*.js'); // true\n * ```\n * @param {String} `input` String to test.\n * @param {RegExp|String} `glob` Glob pattern or regex created by [.makeRe](#makeRe).\n * @return {Boolean}\n * @api public\n */\n\npicomatch.matchBase = (input, glob, options) => {\n const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);\n return regex.test(utils.basename(input));\n};\n\n/**\n * Returns true if **any** of the given glob `patterns` match the specified `string`.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.isMatch(string, patterns[, options]);\n *\n * console.log(picomatch.isMatch('a.a', ['b.*', '*.a'])); //=> true\n * console.log(picomatch.isMatch('a.a', 'b.*')); //=> false\n * ```\n * @param {String|Array} str The string to test.\n * @param {String|Array} patterns One or more glob patterns to use for matching.\n * @param {Object} [options] See available [options](#options).\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\npicomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);\n\n/**\n * Parse a glob pattern to create the source string for a regular\n * expression.\n *\n * ```js\n * const picomatch = require('picomatch');\n * const result = picomatch.parse(pattern[, options]);\n * ```\n * @param {String} `pattern`\n * @param {Object} `options`\n * @return {Object} Returns an object with useful properties and output to be used as a regex source string.\n * @api public\n */\n\npicomatch.parse = (pattern, options) => {\n if (Array.isArray(pattern)) return pattern.map(p => picomatch.parse(p, options));\n return parse(pattern, { ...options, fastpaths: false });\n};\n\n/**\n * Scan a glob pattern to separate the pattern into segments.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.scan(input[, options]);\n *\n * const result = picomatch.scan('!./foo/*.js');\n * console.log(result);\n * { prefix: '!./',\n * input: '!./foo/*.js',\n * start: 3,\n * base: 'foo',\n * glob: '*.js',\n * isBrace: false,\n * isBracket: false,\n * isGlob: true,\n * isExtglob: false,\n * isGlobstar: false,\n * negated: true }\n * ```\n * @param {String} `input` Glob pattern to scan.\n * @param {Object} `options`\n * @return {Object} Returns an object with\n * @api public\n */\n\npicomatch.scan = (input, options) => scan(input, options);\n\n/**\n * Compile a regular expression from the `state` object returned by the\n * [parse()](#parse) method.\n *\n * @param {Object} `state`\n * @param {Object} `options`\n * @param {Boolean} `returnOutput` Intended for implementors, this argument allows you to return the raw output from the parser.\n * @param {Boolean} `returnState` Adds the state to a `state` property on the returned regex. Useful for implementors and debugging.\n * @return {RegExp}\n * @api public\n */\n\npicomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {\n if (returnOutput === true) {\n return state.output;\n }\n\n const opts = options || {};\n const prepend = opts.contains ? '' : '^';\n const append = opts.contains ? '' : '$';\n\n let source = `${prepend}(?:${state.output})${append}`;\n if (state && state.negated === true) {\n source = `^(?!${source}).*$`;\n }\n\n const regex = picomatch.toRegex(source, options);\n if (returnState === true) {\n regex.state = state;\n }\n\n return regex;\n};\n\n/**\n * Create a regular expression from a parsed glob pattern.\n *\n * ```js\n * const picomatch = require('picomatch');\n * const state = picomatch.parse('*.js');\n * // picomatch.compileRe(state[, options]);\n *\n * console.log(picomatch.compileRe(state));\n * //=> /^(?:(?!\\.)(?=.)[^/]*?\\.js)$/\n * ```\n * @param {String} `state` The object returned from the `.parse` method.\n * @param {Object} `options`\n * @param {Boolean} `returnOutput` Implementors may use this argument to return the compiled output, instead of a regular expression. This is not exposed on the options to prevent end-users from mutating the result.\n * @param {Boolean} `returnState` Implementors may use this argument to return the state from the parsed glob with the returned regular expression.\n * @return {RegExp} Returns a regex created from the given pattern.\n * @api public\n */\n\npicomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {\n if (!input || typeof input !== 'string') {\n throw new TypeError('Expected a non-empty string');\n }\n\n let parsed = { negated: false, fastpaths: true };\n\n if (options.fastpaths !== false && (input[0] === '.' || input[0] === '*')) {\n parsed.output = parse.fastpaths(input, options);\n }\n\n if (!parsed.output) {\n parsed = parse(input, options);\n }\n\n return picomatch.compileRe(parsed, options, returnOutput, returnState);\n};\n\n/**\n * Create a regular expression from the given regex source string.\n *\n * ```js\n * const picomatch = require('picomatch');\n * // picomatch.toRegex(source[, options]);\n *\n * const { output } = picomatch.parse('*.js');\n * console.log(picomatch.toRegex(output));\n * //=> /^(?:(?!\\.)(?=.)[^/]*?\\.js)$/\n * ```\n * @param {String} `source` Regular expression source string.\n * @param {Object} `options`\n * @return {RegExp}\n * @api public\n */\n\npicomatch.toRegex = (source, options) => {\n try {\n const opts = options || {};\n return new RegExp(source, opts.flags || (opts.nocase ? 'i' : ''));\n } catch (err) {\n if (options && options.debug === true) throw err;\n return /$^/;\n }\n};\n\n/**\n * Picomatch constants.\n * @return {Object}\n */\n\npicomatch.constants = constants;\n\n/**\n * Expose \"picomatch\"\n */\n\nmodule.exports = picomatch;\n","'use strict';\n\nconst pico = require('./lib/picomatch');\nconst utils = require('./lib/utils');\n\nfunction picomatch(glob, options, returnState = false) {\n // default to os.platform()\n if (options && (options.windows === null || options.windows === undefined)) {\n // don't mutate the original options object\n options = { ...options, windows: utils.isWindows() };\n }\n\n return pico(glob, options, returnState);\n}\n\nObject.assign(picomatch, pico);\nmodule.exports = picomatch;\n","import { resolve } from \"node:path\";\nimport picomatch from \"picomatch\";\n\n//#region src/utils/general.ts\nfunction toArray(array) {\n\tarray = array || [];\n\tif (Array.isArray(array)) return array;\n\treturn [array];\n}\n\n//#endregion\n//#region src/utils/filter.ts\nconst BACKSLASH_REGEX = /\\\\/g;\nfunction normalize$1(path$1) {\n\treturn path$1.replace(BACKSLASH_REGEX, \"/\");\n}\nconst ABSOLUTE_PATH_REGEX = /^(?:\\/|(?:[A-Z]:)?[/\\\\|])/i;\nfunction isAbsolute$1(path$1) {\n\treturn ABSOLUTE_PATH_REGEX.test(path$1);\n}\nfunction getMatcherString(glob, cwd) {\n\tif (glob.startsWith(\"**\") || isAbsolute$1(glob)) return normalize$1(glob);\n\treturn normalize$1(resolve(cwd, glob));\n}\nfunction patternToIdFilter(pattern) {\n\tif (pattern instanceof RegExp) return (id) => {\n\t\tconst normalizedId = normalize$1(id);\n\t\tconst result = pattern.test(normalizedId);\n\t\tpattern.lastIndex = 0;\n\t\treturn result;\n\t};\n\tconst matcher = picomatch(getMatcherString(pattern, process.cwd()), { dot: true });\n\treturn (id) => {\n\t\treturn matcher(normalize$1(id));\n\t};\n}\nfunction patternToCodeFilter(pattern) {\n\tif (pattern instanceof RegExp) return (code) => {\n\t\tconst result = pattern.test(code);\n\t\tpattern.lastIndex = 0;\n\t\treturn result;\n\t};\n\treturn (code) => code.includes(pattern);\n}\nfunction createFilter(exclude, include) {\n\tif (!exclude && !include) return;\n\treturn (input) => {\n\t\tif (exclude?.some((filter) => filter(input))) return false;\n\t\tif (include?.some((filter) => filter(input))) return true;\n\t\treturn !(include && include.length > 0);\n\t};\n}\nfunction normalizeFilter(filter) {\n\tif (typeof filter === \"string\" || filter instanceof RegExp) return { include: [filter] };\n\tif (Array.isArray(filter)) return { include: filter };\n\treturn {\n\t\texclude: filter.exclude ? toArray(filter.exclude) : void 0,\n\t\tinclude: filter.include ? toArray(filter.include) : void 0\n\t};\n}\nfunction createIdFilter(filter) {\n\tif (!filter) return;\n\tconst { exclude, include } = normalizeFilter(filter);\n\tconst excludeFilter = exclude?.map(patternToIdFilter);\n\tconst includeFilter = include?.map(patternToIdFilter);\n\treturn createFilter(excludeFilter, includeFilter);\n}\nfunction createCodeFilter(filter) {\n\tif (!filter) return;\n\tconst { exclude, include } = normalizeFilter(filter);\n\tconst excludeFilter = exclude?.map(patternToCodeFilter);\n\tconst includeFilter = include?.map(patternToCodeFilter);\n\treturn createFilter(excludeFilter, includeFilter);\n}\nfunction createFilterForId(filter) {\n\tconst filterFunction = createIdFilter(filter);\n\treturn filterFunction ? (id) => !!filterFunction(id) : void 0;\n}\nfunction createFilterForTransform(idFilter, codeFilter) {\n\tif (!idFilter && !codeFilter) return;\n\tconst idFilterFunction = createIdFilter(idFilter);\n\tconst codeFilterFunction = createCodeFilter(codeFilter);\n\treturn (id, code) => {\n\t\tlet fallback = true;\n\t\tif (idFilterFunction) fallback &&= idFilterFunction(id);\n\t\tif (!fallback) return false;\n\t\tif (codeFilterFunction) fallback &&= codeFilterFunction(code);\n\t\treturn fallback;\n\t};\n}\nfunction normalizeObjectHook(name, hook) {\n\tlet handler;\n\tlet filter;\n\tif (typeof hook === \"function\") handler = hook;\n\telse {\n\t\thandler = hook.handler;\n\t\tconst hookFilter = hook.filter;\n\t\tif (name === \"resolveId\" || name === \"load\") filter = createFilterForId(hookFilter?.id);\n\t\telse filter = createFilterForTransform(hookFilter?.id, hookFilter?.code);\n\t}\n\treturn {\n\t\thandler,\n\t\tfilter: filter || (() => true)\n\t};\n}\n\n//#endregion\n//#region src/utils/parse.ts\nlet parseImpl;\nfunction parse(code, opts = {}) {\n\tif (!parseImpl) throw new Error(\"Parse implementation is not set. Please call setParseImpl first.\");\n\treturn parseImpl(code, opts);\n}\nfunction setParseImpl(customParse) {\n\tparseImpl = customParse;\n}\n\n//#endregion\nexport { toArray as i, setParseImpl as n, normalizeObjectHook as r, parse as t };","import { r as normalizeObjectHook } from \"./parse-CRORloGP.mjs\";\nimport { isAbsolute, normalize } from \"node:path\";\n\n//#region src/utils/webpack-like.ts\nfunction transformUse(data, plugin, transformLoader) {\n\tif (data.resource == null) return [];\n\tconst id = normalizeAbsolutePath(data.resource + (data.resourceQuery || \"\"));\n\tif (plugin.transformInclude && !plugin.transformInclude(id)) return [];\n\tconst { filter } = normalizeObjectHook(\"load\", plugin.transform);\n\tif (!filter(id)) return [];\n\treturn [{\n\t\tloader: transformLoader,\n\t\toptions: { plugin },\n\t\tident: plugin.name\n\t}];\n}\n/**\n* Normalizes a given path when it's absolute. Normalizing means returning a new path by converting\n* the input path to the native os format. This is useful in cases where we want to normalize\n* the `id` argument of a hook. Any absolute ids should be in the default format\n* of the operating system. Any relative imports or node_module imports should remain\n* untouched.\n*\n* @param path - Path to normalize.\n* @returns a new normalized path.\n*/\nfunction normalizeAbsolutePath(path$1) {\n\tif (isAbsolute(path$1)) return normalize(path$1);\n\telse return path$1;\n}\n\n//#endregion\nexport { transformUse as n, normalizeAbsolutePath as t };","import { t as parse } from \"./parse-CRORloGP.mjs\";\nimport { resolve } from \"node:path\";\nimport { Buffer } from \"node:buffer\";\n\n//#region src/rspack/context.ts\nfunction createBuildContext(compiler, compilation, loaderContext, inputSourceMap) {\n\treturn {\n\t\tgetNativeBuildContext() {\n\t\t\treturn {\n\t\t\t\tframework: \"rspack\",\n\t\t\t\tcompiler,\n\t\t\t\tcompilation,\n\t\t\t\tloaderContext,\n\t\t\t\tinputSourceMap\n\t\t\t};\n\t\t},\n\t\taddWatchFile(file) {\n\t\t\tconst cwd = process.cwd();\n\t\t\tcompilation.fileDependencies.add(resolve(cwd, file));\n\t\t},\n\t\tgetWatchFiles() {\n\t\t\treturn Array.from(compilation.fileDependencies);\n\t\t},\n\t\tparse,\n\t\temitFile(emittedFile) {\n\t\t\tconst outFileName = emittedFile.fileName || emittedFile.name;\n\t\t\tif (emittedFile.source && outFileName) {\n\t\t\t\tconst { sources } = compilation.compiler.webpack;\n\t\t\t\tcompilation.emitAsset(outFileName, new sources.RawSource(typeof emittedFile.source === \"string\" ? emittedFile.source : Buffer.from(emittedFile.source)));\n\t\t\t}\n\t\t}\n\t};\n}\nfunction createContext(loader) {\n\treturn {\n\t\terror: (error) => loader.emitError(normalizeMessage(error)),\n\t\twarn: (message) => loader.emitWarning(normalizeMessage(message))\n\t};\n}\nfunction normalizeMessage(error) {\n\tconst err = new Error(typeof error === \"string\" ? error : error.message);\n\tif (typeof error === \"object\") {\n\t\terr.stack = error.stack;\n\t\terr.cause = error.meta;\n\t}\n\treturn err;\n}\n\n//#endregion\nexport { createContext as n, normalizeMessage as r, createBuildContext as t };","import { basename, dirname, resolve } from \"node:path\";\nimport fs from \"node:fs\";\n\n//#region src/rspack/utils.ts\nfunction encodeVirtualModuleId(id, plugin) {\n\treturn resolve(plugin.__virtualModulePrefix, encodeURIComponent(id));\n}\nfunction decodeVirtualModuleId(encoded, _plugin) {\n\treturn decodeURIComponent(basename(encoded));\n}\nfunction isVirtualModuleId(encoded, plugin) {\n\treturn dirname(encoded) === plugin.__virtualModulePrefix;\n}\nvar FakeVirtualModulesPlugin = class FakeVirtualModulesPlugin {\n\tname = \"FakeVirtualModulesPlugin\";\n\tstatic counters = /* @__PURE__ */ new Map();\n\tstatic initCleanup = false;\n\tconstructor(plugin) {\n\t\tthis.plugin = plugin;\n\t\tif (!FakeVirtualModulesPlugin.initCleanup) {\n\t\t\tFakeVirtualModulesPlugin.initCleanup = true;\n\t\t\tprocess.once(\"exit\", () => {\n\t\t\t\tFakeVirtualModulesPlugin.counters.forEach((_, dir) => {\n\t\t\t\t\tfs.rmSync(dir, {\n\t\t\t\t\t\trecursive: true,\n\t\t\t\t\t\tforce: true\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t}\n\tapply(compiler) {\n\t\tconst dir = this.plugin.__virtualModulePrefix;\n\t\tif (!fs.existsSync(dir)) fs.mkdirSync(dir, { recursive: true });\n\t\tconst counter = FakeVirtualModulesPlugin.counters.get(dir) ?? 0;\n\t\tFakeVirtualModulesPlugin.counters.set(dir, counter + 1);\n\t\tcompiler.hooks.shutdown.tap(this.name, () => {\n\t\t\tconst counter$1 = (FakeVirtualModulesPlugin.counters.get(dir) ?? 1) - 1;\n\t\t\tif (counter$1 === 0) {\n\t\t\t\tFakeVirtualModulesPlugin.counters.delete(dir);\n\t\t\t\tfs.rmSync(dir, {\n\t\t\t\t\trecursive: true,\n\t\t\t\t\tforce: true\n\t\t\t\t});\n\t\t\t} else FakeVirtualModulesPlugin.counters.set(dir, counter$1);\n\t\t});\n\t}\n\tasync writeModule(file) {\n\t\treturn fs.promises.writeFile(file, \"\");\n\t}\n};\n\n//#endregion\nexport { isVirtualModuleId as i, decodeVirtualModuleId as n, encodeVirtualModuleId as r, FakeVirtualModulesPlugin as t };","// src/vlq.ts\nvar comma = \",\".charCodeAt(0);\nvar semicolon = \";\".charCodeAt(0);\nvar chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";\nvar intToChar = new Uint8Array(64);\nvar charToInt = new Uint8Array(128);\nfor (let i = 0; i < chars.length; i++) {\n const c = chars.charCodeAt(i);\n intToChar[i] = c;\n charToInt[c] = i;\n}\nfunction decodeInteger(reader, relative) {\n let value = 0;\n let shift = 0;\n let integer = 0;\n do {\n const c = reader.next();\n integer = charToInt[c];\n value |= (integer & 31) << shift;\n shift += 5;\n } while (integer & 32);\n const shouldNegate = value & 1;\n value >>>= 1;\n if (shouldNegate) {\n value = -2147483648 | -value;\n }\n return relative + value;\n}\nfunction encodeInteger(builder, num, relative) {\n let delta = num - relative;\n delta = delta < 0 ? -delta << 1 | 1 : delta << 1;\n do {\n let clamped = delta & 31;\n delta >>>= 5;\n if (delta > 0) clamped |= 32;\n builder.write(intToChar[clamped]);\n } while (delta > 0);\n return num;\n}\nfunction hasMoreVlq(reader, max) {\n if (reader.pos >= max) return false;\n return reader.peek() !== comma;\n}\n\n// src/strings.ts\nvar bufLength = 1024 * 16;\nvar td = typeof TextDecoder !== \"undefined\" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== \"undefined\" ? {\n decode(buf) {\n const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);\n return out.toString();\n }\n} : {\n decode(buf) {\n let out = \"\";\n for (let i = 0; i < buf.length; i++) {\n out += String.fromCharCode(buf[i]);\n }\n return out;\n }\n};\nvar StringWriter = class {\n constructor() {\n this.pos = 0;\n this.out = \"\";\n this.buffer = new Uint8Array(bufLength);\n }\n write(v) {\n const { buffer } = this;\n buffer[this.pos++] = v;\n if (this.pos === bufLength) {\n this.out += td.decode(buffer);\n this.pos = 0;\n }\n }\n flush() {\n const { buffer, out, pos } = this;\n return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;\n }\n};\nvar StringReader = class {\n constructor(buffer) {\n this.pos = 0;\n this.buffer = buffer;\n }\n next() {\n return this.buffer.charCodeAt(this.pos++);\n }\n peek() {\n return this.buffer.charCodeAt(this.pos);\n }\n indexOf(char) {\n const { buffer, pos } = this;\n const idx = buffer.indexOf(char, pos);\n return idx === -1 ? buffer.length : idx;\n }\n};\n\n// src/scopes.ts\nvar EMPTY = [];\nfunction decodeOriginalScopes(input) {\n const { length } = input;\n const reader = new StringReader(input);\n const scopes = [];\n const stack = [];\n let line = 0;\n for (; reader.pos < length; reader.pos++) {\n line = decodeInteger(reader, line);\n const column = decodeInteger(reader, 0);\n if (!hasMoreVlq(reader, length)) {\n const last = stack.pop();\n last[2] = line;\n last[3] = column;\n continue;\n }\n const kind = decodeInteger(reader, 0);\n const fields = decodeInteger(reader, 0);\n const hasName = fields & 1;\n const scope = hasName ? [line, column, 0, 0, kind, decodeInteger(reader, 0)] : [line, column, 0, 0, kind];\n let vars = EMPTY;\n if (hasMoreVlq(reader, length)) {\n vars = [];\n do {\n const varsIndex = decodeInteger(reader, 0);\n vars.push(varsIndex);\n } while (hasMoreVlq(reader, length));\n }\n scope.vars = vars;\n scopes.push(scope);\n stack.push(scope);\n }\n return scopes;\n}\nfunction encodeOriginalScopes(scopes) {\n const writer = new StringWriter();\n for (let i = 0; i < scopes.length; ) {\n i = _encodeOriginalScopes(scopes, i, writer, [0]);\n }\n return writer.flush();\n}\nfunction _encodeOriginalScopes(scopes, index, writer, state) {\n const scope = scopes[index];\n const { 0: startLine, 1: startColumn, 2: endLine, 3: endColumn, 4: kind, vars } = scope;\n if (index > 0) writer.write(comma);\n state[0] = encodeInteger(writer, startLine, state[0]);\n encodeInteger(writer, startColumn, 0);\n encodeInteger(writer, kind, 0);\n const fields = scope.length === 6 ? 1 : 0;\n encodeInteger(writer, fields, 0);\n if (scope.length === 6) encodeInteger(writer, scope[5], 0);\n for (const v of vars) {\n encodeInteger(writer, v, 0);\n }\n for (index++; index < scopes.length; ) {\n const next = scopes[index];\n const { 0: l, 1: c } = next;\n if (l > endLine || l === endLine && c >= endColumn) {\n break;\n }\n index = _encodeOriginalScopes(scopes, index, writer, state);\n }\n writer.write(comma);\n state[0] = encodeInteger(writer, endLine, state[0]);\n encodeInteger(writer, endColumn, 0);\n return index;\n}\nfunction decodeGeneratedRanges(input) {\n const { length } = input;\n const reader = new StringReader(input);\n const ranges = [];\n const stack = [];\n let genLine = 0;\n let definitionSourcesIndex = 0;\n let definitionScopeIndex = 0;\n let callsiteSourcesIndex = 0;\n let callsiteLine = 0;\n let callsiteColumn = 0;\n let bindingLine = 0;\n let bindingColumn = 0;\n do {\n const semi = reader.indexOf(\";\");\n let genColumn = 0;\n for (; reader.pos < semi; reader.pos++) {\n genColumn = decodeInteger(reader, genColumn);\n if (!hasMoreVlq(reader, semi)) {\n const last = stack.pop();\n last[2] = genLine;\n last[3] = genColumn;\n continue;\n }\n const fields = decodeInteger(reader, 0);\n const hasDefinition = fields & 1;\n const hasCallsite = fields & 2;\n const hasScope = fields & 4;\n let callsite = null;\n let bindings = EMPTY;\n let range;\n if (hasDefinition) {\n const defSourcesIndex = decodeInteger(reader, definitionSourcesIndex);\n definitionScopeIndex = decodeInteger(\n reader,\n definitionSourcesIndex === defSourcesIndex ? definitionScopeIndex : 0\n );\n definitionSourcesIndex = defSourcesIndex;\n range = [genLine, genColumn, 0, 0, defSourcesIndex, definitionScopeIndex];\n } else {\n range = [genLine, genColumn, 0, 0];\n }\n range.isScope = !!hasScope;\n if (hasCallsite) {\n const prevCsi = callsiteSourcesIndex;\n const prevLine = callsiteLine;\n callsiteSourcesIndex = decodeInteger(reader, callsiteSourcesIndex);\n const sameSource = prevCsi === callsiteSourcesIndex;\n callsiteLine = decodeInteger(reader, sameSource ? callsiteLine : 0);\n callsiteColumn = decodeInteger(\n reader,\n sameSource && prevLine === callsiteLine ? callsiteColumn : 0\n );\n callsite = [callsiteSourcesIndex, callsiteLine, callsiteColumn];\n }\n range.callsite = callsite;\n if (hasMoreVlq(reader, semi)) {\n bindings = [];\n do {\n bindingLine = genLine;\n bindingColumn = genColumn;\n const expressionsCount = decodeInteger(reader, 0);\n let expressionRanges;\n if (expressionsCount < -1) {\n expressionRanges = [[decodeInteger(reader, 0)]];\n for (let i = -1; i > expressionsCount; i--) {\n const prevBl = bindingLine;\n bindingLine = decodeInteger(reader, bindingLine);\n bindingColumn = decodeInteger(reader, bindingLine === prevBl ? bindingColumn : 0);\n const expression = decodeInteger(reader, 0);\n expressionRanges.push([expression, bindingLine, bindingColumn]);\n }\n } else {\n expressionRanges = [[expressionsCount]];\n }\n bindings.push(expressionRanges);\n } while (hasMoreVlq(reader, semi));\n }\n range.bindings = bindings;\n ranges.push(range);\n stack.push(range);\n }\n genLine++;\n reader.pos = semi + 1;\n } while (reader.pos < length);\n return ranges;\n}\nfunction encodeGeneratedRanges(ranges) {\n if (ranges.length === 0) return \"\";\n const writer = new StringWriter();\n for (let i = 0; i < ranges.length; ) {\n i = _encodeGeneratedRanges(ranges, i, writer, [0, 0, 0, 0, 0, 0, 0]);\n }\n return writer.flush();\n}\nfunction _encodeGeneratedRanges(ranges, index, writer, state) {\n const range = ranges[index];\n const {\n 0: startLine,\n 1: startColumn,\n 2: endLine,\n 3: endColumn,\n isScope,\n callsite,\n bindings\n } = range;\n if (state[0] < startLine) {\n catchupLine(writer, state[0], startLine);\n state[0] = startLine;\n state[1] = 0;\n } else if (index > 0) {\n writer.write(comma);\n }\n state[1] = encodeInteger(writer, range[1], state[1]);\n const fields = (range.length === 6 ? 1 : 0) | (callsite ? 2 : 0) | (isScope ? 4 : 0);\n encodeInteger(writer, fields, 0);\n if (range.length === 6) {\n const { 4: sourcesIndex, 5: scopesIndex } = range;\n if (sourcesIndex !== state[2]) {\n state[3] = 0;\n }\n state[2] = encodeInteger(writer, sourcesIndex, state[2]);\n state[3] = encodeInteger(writer, scopesIndex, state[3]);\n }\n if (callsite) {\n const { 0: sourcesIndex, 1: callLine, 2: callColumn } = range.callsite;\n if (sourcesIndex !== state[4]) {\n state[5] = 0;\n state[6] = 0;\n } else if (callLine !== state[5]) {\n state[6] = 0;\n }\n state[4] = encodeInteger(writer, sourcesIndex, state[4]);\n state[5] = encodeInteger(writer, callLine, state[5]);\n state[6] = encodeInteger(writer, callColumn, state[6]);\n }\n if (bindings) {\n for (const binding of bindings) {\n if (binding.length > 1) encodeInteger(writer, -binding.length, 0);\n const expression = binding[0][0];\n encodeInteger(writer, expression, 0);\n let bindingStartLine = startLine;\n let bindingStartColumn = startColumn;\n for (let i = 1; i < binding.length; i++) {\n const expRange = binding[i];\n bindingStartLine = encodeInteger(writer, expRange[1], bindingStartLine);\n bindingStartColumn = encodeInteger(writer, expRange[2], bindingStartColumn);\n encodeInteger(writer, expRange[0], 0);\n }\n }\n }\n for (index++; index < ranges.length; ) {\n const next = ranges[index];\n const { 0: l, 1: c } = next;\n if (l > endLine || l === endLine && c >= endColumn) {\n break;\n }\n index = _encodeGeneratedRanges(ranges, index, writer, state);\n }\n if (state[0] < endLine) {\n catchupLine(writer, state[0], endLine);\n state[0] = endLine;\n state[1] = 0;\n } else {\n writer.write(comma);\n }\n state[1] = encodeInteger(writer, endColumn, state[1]);\n return index;\n}\nfunction catchupLine(writer, lastLine, line) {\n do {\n writer.write(semicolon);\n } while (++lastLine < line);\n}\n\n// src/sourcemap-codec.ts\nfunction decode(mappings) {\n const { length } = mappings;\n const reader = new StringReader(mappings);\n const decoded = [];\n let genColumn = 0;\n let sourcesIndex = 0;\n let sourceLine = 0;\n let sourceColumn = 0;\n let namesIndex = 0;\n do {\n const semi = reader.indexOf(\";\");\n const line = [];\n let sorted = true;\n let lastCol = 0;\n genColumn = 0;\n while (reader.pos < semi) {\n let seg;\n genColumn = decodeInteger(reader, genColumn);\n if (genColumn < lastCol) sorted = false;\n lastCol = genColumn;\n if (hasMoreVlq(reader, semi)) {\n sourcesIndex = decodeInteger(reader, sourcesIndex);\n sourceLine = decodeInteger(reader, sourceLine);\n sourceColumn = decodeInteger(reader, sourceColumn);\n if (hasMoreVlq(reader, semi)) {\n namesIndex = decodeInteger(reader, namesIndex);\n seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];\n } else {\n seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];\n }\n } else {\n seg = [genColumn];\n }\n line.push(seg);\n reader.pos++;\n }\n if (!sorted) sort(line);\n decoded.push(line);\n reader.pos = semi + 1;\n } while (reader.pos <= length);\n return decoded;\n}\nfunction sort(line) {\n line.sort(sortComparator);\n}\nfunction sortComparator(a, b) {\n return a[0] - b[0];\n}\nfunction encode(decoded) {\n const writer = new StringWriter();\n let sourcesIndex = 0;\n let sourceLine = 0;\n let sourceColumn = 0;\n let namesIndex = 0;\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n if (i > 0) writer.write(semicolon);\n if (line.length === 0) continue;\n let genColumn = 0;\n for (let j = 0; j < line.length; j++) {\n const segment = line[j];\n if (j > 0) writer.write(comma);\n genColumn = encodeInteger(writer, segment[0], genColumn);\n if (segment.length === 1) continue;\n sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);\n sourceLine = encodeInteger(writer, segment[2], sourceLine);\n sourceColumn = encodeInteger(writer, segment[3], sourceColumn);\n if (segment.length === 4) continue;\n namesIndex = encodeInteger(writer, segment[4], namesIndex);\n }\n }\n return writer.flush();\n}\nexport {\n decode,\n decodeGeneratedRanges,\n decodeOriginalScopes,\n encode,\n encodeGeneratedRanges,\n encodeOriginalScopes\n};\n//# sourceMappingURL=sourcemap-codec.mjs.map\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.VirtualStats = void 0;\nconst constants_1 = __importDefault(require(\"constants\"));\nclass VirtualStats {\n constructor(config) {\n for (const key in config) {\n if (!Object.prototype.hasOwnProperty.call(config, key)) {\n continue;\n }\n this[key] = config[key];\n }\n }\n _checkModeProperty(property) {\n return (this.mode & constants_1.default.S_IFMT) === property;\n }\n isDirectory() {\n return this._checkModeProperty(constants_1.default.S_IFDIR);\n }\n isFile() {\n return this._checkModeProperty(constants_1.default.S_IFREG);\n }\n isBlockDevice() {\n return this._checkModeProperty(constants_1.default.S_IFBLK);\n }\n isCharacterDevice() {\n return this._checkModeProperty(constants_1.default.S_IFCHR);\n }\n isSymbolicLink() {\n return this._checkModeProperty(constants_1.default.S_IFLNK);\n }\n isFIFO() {\n return this._checkModeProperty(constants_1.default.S_IFIFO);\n }\n isSocket() {\n return this._checkModeProperty(constants_1.default.S_IFSOCK);\n }\n}\nexports.VirtualStats = VirtualStats;\n//# sourceMappingURL=virtual-stats.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nconst path_1 = __importDefault(require(\"path\"));\nconst virtual_stats_1 = require(\"./virtual-stats\");\nlet inode = 45000000;\nconst ALL = 'all';\nconst STATIC = 'static';\nconst DYNAMIC = 'dynamic';\nfunction checkActivation(instance) {\n if (!instance._compiler) {\n throw new Error('You must use this plugin only after creating webpack instance!');\n }\n}\nfunction getModulePath(filePath, compiler) {\n return path_1.default.isAbsolute(filePath) ? filePath : path_1.default.join(compiler.context, filePath);\n}\nfunction createWebpackData(result) {\n return (backendOrStorage) => {\n if (backendOrStorage._data) {\n const curLevelIdx = backendOrStorage._currentLevel;\n const curLevel = backendOrStorage._levels[curLevelIdx];\n return {\n result,\n level: curLevel,\n };\n }\n return [null, result];\n };\n}\nfunction getData(storage, key) {\n if (storage._data instanceof Map) {\n return storage._data.get(key);\n }\n else if (storage._data) {\n return storage.data[key];\n }\n else if (storage.data instanceof Map) {\n return storage.data.get(key);\n }\n else {\n return storage.data[key];\n }\n}\nfunction setData(backendOrStorage, key, valueFactory) {\n const value = valueFactory(backendOrStorage);\n if (backendOrStorage._data instanceof Map) {\n backendOrStorage._data.set(key, value);\n }\n else if (backendOrStorage._data) {\n backendOrStorage.data[key] = value;\n }\n else if (backendOrStorage.data instanceof Map) {\n backendOrStorage.data.set(key, value);\n }\n else {\n backendOrStorage.data[key] = value;\n }\n}\nfunction getStatStorage(fileSystem) {\n if (fileSystem._statStorage) {\n return fileSystem._statStorage;\n }\n else if (fileSystem._statBackend) {\n return fileSystem._statBackend;\n }\n else {\n throw new Error(\"Couldn't find a stat storage\");\n }\n}\nfunction getFileStorage(fileSystem) {\n if (fileSystem._readFileStorage) {\n return fileSystem._readFileStorage;\n }\n else if (fileSystem._readFileBackend) {\n return fileSystem._readFileBackend;\n }\n else {\n throw new Error(\"Couldn't find a readFileStorage\");\n }\n}\nfunction getReadDirBackend(fileSystem) {\n if (fileSystem._readdirBackend) {\n return fileSystem._readdirBackend;\n }\n else if (fileSystem._readdirStorage) {\n return fileSystem._readdirStorage;\n }\n else {\n throw new Error(\"Couldn't find a readDirStorage from Webpack Internals\");\n }\n}\nfunction getRealpathBackend(fileSystem) {\n if (fileSystem._realpathBackend) {\n return fileSystem._realpathBackend;\n }\n}\nclass VirtualModulesPlugin {\n constructor(modules) {\n this._compiler = null;\n this._watcher = null;\n this._staticModules = modules || null;\n }\n getModuleList(filter = ALL) {\n var _a, _b;\n let modules = {};\n const shouldGetStaticModules = filter === ALL || filter === STATIC;\n const shouldGetDynamicModules = filter === ALL || filter === DYNAMIC;\n if (shouldGetStaticModules) {\n modules = Object.assign(Object.assign({}, modules), this._staticModules);\n }\n if (shouldGetDynamicModules) {\n const finalInputFileSystem = (_a = this._compiler) === null || _a === void 0 ? void 0 : _a.inputFileSystem;\n const virtualFiles = (_b = finalInputFileSystem === null || finalInputFileSystem === void 0 ? void 0 : finalInputFileSystem._virtualFiles) !== null && _b !== void 0 ? _b : {};\n const dynamicModules = {};\n Object.keys(virtualFiles).forEach((key) => {\n dynamicModules[key] = virtualFiles[key].contents;\n });\n modules = Object.assign(Object.assign({}, modules), dynamicModules);\n }\n return modules;\n }\n writeModule(filePath, contents) {\n if (!this._compiler) {\n throw new Error(`Plugin has not been initialized`);\n }\n checkActivation(this);\n const len = contents ? contents.length : 0;\n const time = Date.now();\n const date = new Date(time);\n const stats = new virtual_stats_1.VirtualStats({\n dev: 8675309,\n nlink: 0,\n uid: 1000,\n gid: 1000,\n rdev: 0,\n blksize: 4096,\n ino: inode++,\n mode: 33188,\n size: len,\n blocks: Math.floor(len / 4096),\n atime: date,\n mtime: date,\n ctime: date,\n birthtime: date,\n });\n const modulePath = getModulePath(filePath, this._compiler);\n if (process.env.WVM_DEBUG)\n console.log(this._compiler.name, 'Write virtual module:', modulePath, contents);\n let finalWatchFileSystem = this._watcher && this._watcher.watchFileSystem;\n while (finalWatchFileSystem && finalWatchFileSystem.wfs) {\n finalWatchFileSystem = finalWatchFileSystem.wfs;\n }\n let finalInputFileSystem = this._compiler.inputFileSystem;\n while (finalInputFileSystem && finalInputFileSystem._inputFileSystem) {\n finalInputFileSystem = finalInputFileSystem._inputFileSystem;\n }\n finalInputFileSystem._writeVirtualFile(modulePath, stats, contents);\n if (finalWatchFileSystem &&\n finalWatchFileSystem.watcher &&\n (finalWatchFileSystem.watcher.fileWatchers.size || finalWatchFileSystem.watcher.fileWatchers.length)) {\n const fileWatchers = finalWatchFileSystem.watcher.fileWatchers instanceof Map\n ? Array.from(finalWatchFileSystem.watcher.fileWatchers.values())\n : finalWatchFileSystem.watcher.fileWatchers;\n for (let fileWatcher of fileWatchers) {\n if ('watcher' in fileWatcher) {\n fileWatcher = fileWatcher.watcher;\n }\n if (fileWatcher.path === modulePath) {\n if (process.env.DEBUG)\n console.log(this._compiler.name, 'Emit file change:', modulePath, time);\n delete fileWatcher.directoryWatcher._cachedTimeInfoEntries;\n fileWatcher.emit('change', time, null);\n }\n }\n }\n }\n apply(compiler) {\n this._compiler = compiler;\n const afterEnvironmentHook = () => {\n let finalInputFileSystem = compiler.inputFileSystem;\n while (finalInputFileSystem && finalInputFileSystem._inputFileSystem) {\n finalInputFileSystem = finalInputFileSystem._inputFileSystem;\n }\n if (!finalInputFileSystem._writeVirtualFile) {\n const originalPurge = finalInputFileSystem.purge;\n finalInputFileSystem.purge = () => {\n originalPurge.apply(finalInputFileSystem, []);\n if (finalInputFileSystem._virtualFiles) {\n Object.keys(finalInputFileSystem._virtualFiles).forEach((file) => {\n const data = finalInputFileSystem._virtualFiles[file];\n finalInputFileSystem._writeVirtualFile(file, data.stats, data.contents);\n });\n }\n };\n finalInputFileSystem._writeVirtualFile = (file, stats, contents) => {\n const statStorage = getStatStorage(finalInputFileSystem);\n const fileStorage = getFileStorage(finalInputFileSystem);\n const readDirStorage = getReadDirBackend(finalInputFileSystem);\n const realPathStorage = getRealpathBackend(finalInputFileSystem);\n finalInputFileSystem._virtualFiles = finalInputFileSystem._virtualFiles || {};\n finalInputFileSystem._virtualFiles[file] = { stats: stats, contents: contents };\n setData(statStorage, file, createWebpackData(stats));\n setData(fileStorage, file, createWebpackData(contents));\n const segments = file.split(/[\\\\/]/);\n let count = segments.length - 1;\n const minCount = segments[0] ? 1 : 0;\n while (count > minCount) {\n const dir = segments.slice(0, count).join(path_1.default.sep) || path_1.default.sep;\n try {\n finalInputFileSystem.readdirSync(dir);\n }\n catch (e) {\n const time = Date.now();\n const dirStats = new virtual_stats_1.VirtualStats({\n dev: 8675309,\n nlink: 0,\n uid: 1000,\n gid: 1000,\n rdev: 0,\n blksize: 4096,\n ino: inode++,\n mode: 16877,\n size: stats.size,\n blocks: Math.floor(stats.size / 4096),\n atime: time,\n mtime: time,\n ctime: time,\n birthtime: time,\n });\n setData(readDirStorage, dir, createWebpackData([]));\n if (realPathStorage) {\n setData(realPathStorage, dir, createWebpackData(dir));\n }\n setData(statStorage, dir, createWebpackData(dirStats));\n }\n let dirData = getData(getReadDirBackend(finalInputFileSystem), dir);\n dirData = dirData[1] || dirData.result;\n const filename = segments[count];\n if (dirData.indexOf(filename) < 0) {\n const files = dirData.concat([filename]).sort();\n setData(getReadDirBackend(finalInputFileSystem), dir, createWebpackData(files));\n }\n else {\n break;\n }\n count--;\n }\n };\n }\n };\n const afterResolversHook = () => {\n if (this._staticModules) {\n for (const [filePath, contents] of Object.entries(this._staticModules)) {\n this.writeModule(filePath, contents);\n }\n this._staticModules = null;\n }\n };\n const version = typeof compiler.webpack === 'undefined' ? 4 : 5;\n const watchRunHook = (watcher, callback) => {\n this._watcher = watcher.compiler || watcher;\n const virtualFiles = compiler.inputFileSystem._virtualFiles;\n const fts = compiler.fileTimestamps;\n if (virtualFiles && fts && typeof fts.set === 'function') {\n Object.keys(virtualFiles).forEach((file) => {\n const mtime = +virtualFiles[file].stats.mtime;\n fts.set(file, version === 4\n ? mtime\n : {\n safeTime: mtime,\n timestamp: mtime,\n });\n });\n }\n callback();\n };\n if (compiler.hooks) {\n compiler.hooks.afterEnvironment.tap('VirtualModulesPlugin', afterEnvironmentHook);\n compiler.hooks.afterResolvers.tap('VirtualModulesPlugin', afterResolversHook);\n compiler.hooks.watchRun.tapAsync('VirtualModulesPlugin', watchRunHook);\n }\n else {\n compiler.plugin('after-environment', afterEnvironmentHook);\n compiler.plugin('after-resolvers', afterResolversHook);\n compiler.plugin('watch-run', watchRunHook);\n }\n }\n}\nmodule.exports = VirtualModulesPlugin;\n//# sourceMappingURL=index.js.map","import { i as toArray, n as setParseImpl, r as normalizeObjectHook, t as parse } from \"./parse-CRORloGP.mjs\";\nimport { n as transformUse, t as normalizeAbsolutePath } from \"./webpack-like-BU9ULG6P.mjs\";\nimport { r as normalizeMessage$1, t as createBuildContext$1 } from \"./context-CehLHpzV.mjs\";\nimport { i as isVirtualModuleId, n as decodeVirtualModuleId, r as encodeVirtualModuleId, t as FakeVirtualModulesPlugin } from \"./utils-CuyC8gTr.mjs\";\nimport { i as normalizeMessage, n as createBuildContext, t as contextOptionsFromCompilation } from \"./context-CY6F6zw6.mjs\";\nimport path, { extname, isAbsolute, resolve } from \"node:path\";\nimport fs from \"node:fs\";\nimport { Buffer } from \"node:buffer\";\nimport remapping from \"@jridgewell/remapping\";\nimport * as querystring from \"node:querystring\";\nimport process$1 from \"node:process\";\nimport VirtualModulesPlugin from \"webpack-virtual-modules\";\n\n//#region src/bun/utils.ts\nconst ExtToLoader$1 = {\n\t\".js\": \"js\",\n\t\".mjs\": \"js\",\n\t\".cjs\": \"js\",\n\t\".jsx\": \"jsx\",\n\t\".ts\": \"ts\",\n\t\".cts\": \"ts\",\n\t\".mts\": \"ts\",\n\t\".tsx\": \"tsx\",\n\t\".css\": \"css\",\n\t\".less\": \"css\",\n\t\".stylus\": \"css\",\n\t\".scss\": \"css\",\n\t\".sass\": \"css\",\n\t\".json\": \"json\",\n\t\".txt\": \"text\"\n};\nfunction guessLoader$1(id) {\n\treturn ExtToLoader$1[path.extname(id).toLowerCase()] || \"js\";\n}\nfunction createBuildContext$3(build) {\n\tconst watchFiles = [];\n\treturn {\n\t\taddWatchFile(file) {\n\t\t\twatchFiles.push(file);\n\t\t},\n\t\tgetWatchFiles() {\n\t\t\treturn watchFiles;\n\t\t},\n\t\temitFile(emittedFile) {\n\t\t\tconst outFileName = emittedFile.fileName || emittedFile.name;\n\t\t\tconst outdir = build?.config?.outdir;\n\t\t\tif (outdir && emittedFile.source && outFileName) {\n\t\t\t\tconst outPath = path.resolve(outdir, outFileName);\n\t\t\t\tconst outDir = path.dirname(outPath);\n\t\t\t\tif (!fs.existsSync(outDir)) fs.mkdirSync(outDir, { recursive: true });\n\t\t\t\tfs.writeFileSync(outPath, emittedFile.source);\n\t\t\t}\n\t\t},\n\t\tparse,\n\t\tgetNativeBuildContext() {\n\t\t\treturn {\n\t\t\t\tframework: \"bun\",\n\t\t\t\tbuild\n\t\t\t};\n\t\t}\n\t};\n}\nfunction createPluginContext$1(buildContext) {\n\tconst errors = [];\n\tconst warnings = [];\n\treturn {\n\t\terrors,\n\t\twarnings,\n\t\tmixedContext: {\n\t\t\t...buildContext,\n\t\t\terror(error) {\n\t\t\t\terrors.push(error);\n\t\t\t},\n\t\t\twarn(warning) {\n\t\t\t\twarnings.push(warning);\n\t\t\t}\n\t\t}\n\t};\n}\n\n//#endregion\n//#region src/bun/index.ts\nfunction getBunPlugin(factory) {\n\treturn (userOptions) => {\n\t\tif (typeof Bun === \"undefined\") throw new ReferenceError(\"Bun is not supported in this environment\");\n\t\tif (!Bun.semver.satisfies(Bun.version, \">=1.2.22\")) throw new Error(\"Bun 1.2.22 or higher is required, please upgrade Bun\");\n\t\tconst meta = { framework: \"bun\" };\n\t\tconst plugins = toArray(factory(userOptions, meta));\n\t\treturn {\n\t\t\tname: (plugins.length === 1 ? plugins[0].name : meta.bunHostName) ?? `unplugin-host:${plugins.map((p) => p.name).join(\":\")}`,\n\t\t\tasync setup(build) {\n\t\t\t\tconst context = createBuildContext$3(build);\n\t\t\t\tif (plugins.some((plugin) => plugin.buildStart)) build.onStart(async () => {\n\t\t\t\t\tfor (const plugin of plugins) if (plugin.buildStart) await plugin.buildStart.call(context);\n\t\t\t\t});\n\t\t\t\tconst resolveIdHooks = plugins.filter((plugin) => plugin.resolveId).map((plugin) => ({\n\t\t\t\t\tplugin,\n\t\t\t\t\t...normalizeObjectHook(\"resolveId\", plugin.resolveId)\n\t\t\t\t}));\n\t\t\t\tconst loadHooks = plugins.filter((plugin) => plugin.load).map((plugin) => ({\n\t\t\t\t\tplugin,\n\t\t\t\t\t...normalizeObjectHook(\"load\", plugin.load)\n\t\t\t\t}));\n\t\t\t\tconst transformHooks = plugins.filter((plugin) => plugin.transform || plugin.transformInclude).map((plugin) => ({\n\t\t\t\t\tplugin,\n\t\t\t\t\t...normalizeObjectHook(\"transform\", plugin.transform)\n\t\t\t\t}));\n\t\t\t\tconst virtualModulePlugins = /* @__PURE__ */ new Set();\n\t\t\t\tfor (const plugin of plugins) if (plugin.resolveId && plugin.load) virtualModulePlugins.add(plugin.name);\n\t\t\t\tif (resolveIdHooks.length) build.onResolve({ filter: /.*/ }, async (args) => {\n\t\t\t\t\tif (build.config?.external?.includes(args.path)) return;\n\t\t\t\t\tfor (const { plugin, handler, filter } of resolveIdHooks) {\n\t\t\t\t\t\tif (!filter(args.path)) continue;\n\t\t\t\t\t\tconst { mixedContext, errors, warnings } = createPluginContext$1(context);\n\t\t\t\t\t\tconst isEntry = args.kind === \"entry-point-run\" || args.kind === \"entry-point-build\";\n\t\t\t\t\t\tconst result = await handler.call(mixedContext, args.path, isEntry ? void 0 : args.importer, { isEntry });\n\t\t\t\t\t\tfor (const warning of warnings) console.warn(\"[unplugin]\", typeof warning === \"string\" ? warning : warning.message);\n\t\t\t\t\t\tif (errors.length > 0) {\n\t\t\t\t\t\t\tconst errorMessage = errors.map((e) => typeof e === \"string\" ? e : e.message).join(\"\\n\");\n\t\t\t\t\t\t\tthrow new Error(`[unplugin] ${plugin.name}: ${errorMessage}`);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (typeof result === \"string\") {\n\t\t\t\t\t\t\tif (!isAbsolute(result)) return {\n\t\t\t\t\t\t\t\tpath: result,\n\t\t\t\t\t\t\t\tnamespace: plugin.name\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\treturn { path: result };\n\t\t\t\t\t\t} else if (typeof result === \"object\" && result !== null) {\n\t\t\t\t\t\t\tif (!isAbsolute(result.id)) return {\n\t\t\t\t\t\t\t\tpath: result.id,\n\t\t\t\t\t\t\t\texternal: result.external,\n\t\t\t\t\t\t\t\tnamespace: plugin.name\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tpath: result.id,\n\t\t\t\t\t\t\t\texternal: result.external\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tasync function processLoadTransform(id, namespace, loader) {\n\t\t\t\t\tlet code;\n\t\t\t\t\tlet hasResult = false;\n\t\t\t\t\tconst namespaceLoadHooks = namespace === \"file\" ? loadHooks : loadHooks.filter((h) => h.plugin.name === namespace);\n\t\t\t\t\tfor (const { plugin, handler, filter } of namespaceLoadHooks) {\n\t\t\t\t\t\tif (plugin.loadInclude && !plugin.loadInclude(id)) continue;\n\t\t\t\t\t\tif (!filter(id)) continue;\n\t\t\t\t\t\tconst { mixedContext, errors, warnings } = createPluginContext$1(context);\n\t\t\t\t\t\tconst result = await handler.call(mixedContext, id);\n\t\t\t\t\t\tfor (const warning of warnings) console.warn(\"[unplugin]\", typeof warning === \"string\" ? warning : warning.message);\n\t\t\t\t\t\tif (errors.length > 0) {\n\t\t\t\t\t\t\tconst errorMessage = errors.map((e) => typeof e === \"string\" ? e : e.message).join(\"\\n\");\n\t\t\t\t\t\t\tthrow new Error(`[unplugin] ${plugin.name}: ${errorMessage}`);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (typeof result === \"string\") {\n\t\t\t\t\t\t\tcode = result;\n\t\t\t\t\t\t\thasResult = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t} else if (typeof result === \"object\" && result !== null) {\n\t\t\t\t\t\t\tcode = result.code;\n\t\t\t\t\t\t\thasResult = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (!hasResult && namespace === \"file\" && transformHooks.length > 0) code = await Bun.file(id).text();\n\t\t\t\t\tif (code !== void 0) {\n\t\t\t\t\t\tconst namespaceTransformHooks = namespace === \"file\" ? transformHooks : transformHooks.filter((h) => h.plugin.name === namespace);\n\t\t\t\t\t\tfor (const { plugin, handler, filter } of namespaceTransformHooks) {\n\t\t\t\t\t\t\tif (plugin.transformInclude && !plugin.transformInclude(id)) continue;\n\t\t\t\t\t\t\tif (!filter(id, code)) continue;\n\t\t\t\t\t\t\tconst { mixedContext, errors, warnings } = createPluginContext$1(context);\n\t\t\t\t\t\t\tconst result = await handler.call(mixedContext, code, id);\n\t\t\t\t\t\t\tfor (const warning of warnings) console.warn(\"[unplugin]\", typeof warning === \"string\" ? warning : warning.message);\n\t\t\t\t\t\t\tif (errors.length > 0) {\n\t\t\t\t\t\t\t\tconst errorMessage = errors.map((e) => typeof e === \"string\" ? e : e.message).join(\"\\n\");\n\t\t\t\t\t\t\t\tthrow new Error(`[unplugin] ${plugin.name}: ${errorMessage}`);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (typeof result === \"string\") {\n\t\t\t\t\t\t\t\tcode = result;\n\t\t\t\t\t\t\t\thasResult = true;\n\t\t\t\t\t\t\t} else if (typeof result === \"object\" && result !== null) {\n\t\t\t\t\t\t\t\tcode = result.code;\n\t\t\t\t\t\t\t\thasResult = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (hasResult && code !== void 0) return {\n\t\t\t\t\t\tcontents: code,\n\t\t\t\t\t\tloader: loader ?? guessLoader$1(id)\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tif (loadHooks.length || transformHooks.length) build.onLoad({\n\t\t\t\t\tfilter: /.*/,\n\t\t\t\t\tnamespace: \"file\"\n\t\t\t\t}, async (args) => {\n\t\t\t\t\treturn processLoadTransform(args.path, \"file\", args.loader);\n\t\t\t\t});\n\t\t\t\tfor (const pluginName of virtualModulePlugins) build.onLoad({\n\t\t\t\t\tfilter: /.*/,\n\t\t\t\t\tnamespace: pluginName\n\t\t\t\t}, async (args) => {\n\t\t\t\t\treturn processLoadTransform(args.path, pluginName, args.loader);\n\t\t\t\t});\n\t\t\t\tif (plugins.some((plugin) => plugin.buildEnd || plugin.writeBundle)) build.onEnd(async () => {\n\t\t\t\t\tfor (const plugin of plugins) {\n\t\t\t\t\t\tif (plugin.buildEnd) await plugin.buildEnd.call(context);\n\t\t\t\t\t\tif (plugin.writeBundle) await plugin.writeBundle();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\t};\n}\n\n//#endregion\n//#region src/esbuild/utils.ts\nconst ExtToLoader = {\n\t\".js\": \"js\",\n\t\".mjs\": \"js\",\n\t\".cjs\": \"js\",\n\t\".jsx\": \"jsx\",\n\t\".ts\": \"ts\",\n\t\".cts\": \"ts\",\n\t\".mts\": \"ts\",\n\t\".tsx\": \"tsx\",\n\t\".css\": \"css\",\n\t\".less\": \"css\",\n\t\".stylus\": \"css\",\n\t\".scss\": \"css\",\n\t\".sass\": \"css\",\n\t\".json\": \"json\",\n\t\".txt\": \"text\"\n};\nfunction guessLoader(code, id) {\n\treturn ExtToLoader[path.extname(id).toLowerCase()] || \"js\";\n}\nfunction unwrapLoader(loader, code, id) {\n\tif (typeof loader === \"function\") return loader(code, id);\n\treturn loader;\n}\nfunction fixSourceMap(map) {\n\tif (!Object.prototype.hasOwnProperty.call(map, \"toString\")) Object.defineProperty(map, \"toString\", {\n\t\tenumerable: false,\n\t\tvalue: function toString() {\n\t\t\treturn JSON.stringify(this);\n\t\t}\n\t});\n\tif (!Object.prototype.hasOwnProperty.call(map, \"toUrl\")) Object.defineProperty(map, \"toUrl\", {\n\t\tenumerable: false,\n\t\tvalue: function toUrl() {\n\t\t\treturn `data:application/json;charset=utf-8;base64,${Buffer.from(this.toString()).toString(\"base64\")}`;\n\t\t}\n\t});\n\treturn map;\n}\nconst nullSourceMap = {\n\tnames: [],\n\tsources: [],\n\tmappings: \"\",\n\tversion: 3\n};\nfunction combineSourcemaps(filename, sourcemapList) {\n\tsourcemapList = sourcemapList.filter((m) => m.sources);\n\tif (sourcemapList.length === 0 || sourcemapList.every((m) => m.sources.length === 0)) return { ...nullSourceMap };\n\tlet map;\n\tlet mapIndex = 1;\n\tif (sourcemapList.slice(0, -1).find((m) => m.sources.length !== 1) === void 0) map = remapping(sourcemapList, () => null, true);\n\telse map = remapping(sourcemapList[0], (sourcefile) => {\n\t\tif (sourcefile === filename && sourcemapList[mapIndex]) return sourcemapList[mapIndex++];\n\t\telse return { ...nullSourceMap };\n\t}, true);\n\tif (!map.file) delete map.file;\n\treturn map;\n}\nfunction createBuildContext$2(build) {\n\tconst watchFiles = [];\n\tconst { initialOptions } = build;\n\treturn {\n\t\tparse,\n\t\taddWatchFile() {\n\t\t\tthrow new Error(\"unplugin/esbuild: addWatchFile outside supported hooks (resolveId, load, transform)\");\n\t\t},\n\t\temitFile(emittedFile) {\n\t\t\tconst outFileName = emittedFile.fileName || emittedFile.name;\n\t\t\tif (initialOptions.outdir && emittedFile.source && outFileName) {\n\t\t\t\tconst outPath = path.resolve(initialOptions.outdir, outFileName);\n\t\t\t\tconst outDir = path.dirname(outPath);\n\t\t\t\tif (!fs.existsSync(outDir)) fs.mkdirSync(outDir, { recursive: true });\n\t\t\t\tfs.writeFileSync(outPath, emittedFile.source);\n\t\t\t}\n\t\t},\n\t\tgetWatchFiles() {\n\t\t\treturn watchFiles;\n\t\t},\n\t\tgetNativeBuildContext() {\n\t\t\treturn {\n\t\t\t\tframework: \"esbuild\",\n\t\t\t\tbuild\n\t\t\t};\n\t\t}\n\t};\n}\nfunction createPluginContext(context) {\n\tconst errors = [];\n\tconst warnings = [];\n\tconst pluginContext = {\n\t\terror(message) {\n\t\t\terrors.push(normalizeMessage$2(message));\n\t\t},\n\t\twarn(message) {\n\t\t\twarnings.push(normalizeMessage$2(message));\n\t\t}\n\t};\n\treturn {\n\t\terrors,\n\t\twarnings,\n\t\tmixedContext: {\n\t\t\t...context,\n\t\t\t...pluginContext,\n\t\t\taddWatchFile(id) {\n\t\t\t\tcontext.getWatchFiles().push(id);\n\t\t\t}\n\t\t}\n\t};\n}\nfunction normalizeMessage$2(message) {\n\tif (typeof message === \"string\") message = { message };\n\treturn {\n\t\tid: message.id,\n\t\tpluginName: message.plugin,\n\t\ttext: message.message,\n\t\tlocation: message.loc ? {\n\t\t\tfile: message.loc.file,\n\t\t\tline: message.loc.line,\n\t\t\tcolumn: message.loc.column\n\t\t} : null,\n\t\tdetail: message.meta,\n\t\tnotes: []\n\t};\n}\nfunction processCodeWithSourceMap(map, code) {\n\tif (map) {\n\t\tif (!map.sourcesContent || map.sourcesContent.length === 0) map.sourcesContent = [code];\n\t\tmap = fixSourceMap(map);\n\t\tcode += `\\n//# sourceMappingURL=${map.toUrl()}`;\n\t}\n\treturn code;\n}\n\n//#endregion\n//#region src/esbuild/index.ts\nfunction getEsbuildPlugin(factory) {\n\treturn (userOptions) => {\n\t\tconst meta = { framework: \"esbuild\" };\n\t\tconst plugins = toArray(factory(userOptions, meta));\n\t\tconst setupPlugins = async (build) => {\n\t\t\tconst setup = buildSetup();\n\t\t\tconst loaders = [];\n\t\t\tfor (const plugin of plugins) {\n\t\t\t\tconst loader = {};\n\t\t\t\tawait setup(plugin)({\n\t\t\t\t\t...build,\n\t\t\t\t\tonLoad(_options, callback) {\n\t\t\t\t\t\tloader.options = _options;\n\t\t\t\t\t\tloader.onLoadCb = callback;\n\t\t\t\t\t},\n\t\t\t\t\tonTransform(_options, callback) {\n\t\t\t\t\t\tloader.options ||= _options;\n\t\t\t\t\t\tloader.onTransformCb = callback;\n\t\t\t\t\t}\n\t\t\t\t}, build);\n\t\t\t\tif (loader.onLoadCb || loader.onTransformCb) loaders.push(loader);\n\t\t\t}\n\t\t\tif (loaders.length) build.onLoad(loaders.length === 1 ? loaders[0].options : { filter: /.*/ }, async (args) => {\n\t\t\t\tfunction checkFilter(options) {\n\t\t\t\t\treturn loaders.length === 1 || !options?.filter || options.filter.test(args.path);\n\t\t\t\t}\n\t\t\t\tlet result;\n\t\t\t\tfor (const { options, onLoadCb } of loaders) {\n\t\t\t\t\tif (!checkFilter(options)) continue;\n\t\t\t\t\tif (onLoadCb) result = await onLoadCb(args);\n\t\t\t\t\tif (result?.contents) break;\n\t\t\t\t}\n\t\t\t\tlet fsContentsCache;\n\t\t\t\tfor (const { options, onTransformCb } of loaders) {\n\t\t\t\t\tif (!checkFilter(options)) continue;\n\t\t\t\t\tif (onTransformCb) {\n\t\t\t\t\t\tconst _result = await onTransformCb({\n\t\t\t\t\t\t\t...result,\n\t\t\t\t\t\t\t...args,\n\t\t\t\t\t\t\tasync getContents() {\n\t\t\t\t\t\t\t\tif (result?.contents) return result.contents;\n\t\t\t\t\t\t\t\tif (fsContentsCache) return fsContentsCache;\n\t\t\t\t\t\t\t\treturn fsContentsCache = await fs.promises.readFile(args.path, \"utf8\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (_result?.contents) result = _result;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (result?.contents) return result;\n\t\t\t});\n\t\t};\n\t\treturn {\n\t\t\tname: (plugins.length === 1 ? plugins[0].name : meta.esbuildHostName) ?? `unplugin-host:${plugins.map((p) => p.name).join(\":\")}`,\n\t\t\tsetup: setupPlugins\n\t\t};\n\t};\n}\nfunction buildSetup() {\n\treturn (plugin) => {\n\t\treturn (build, rawBuild) => {\n\t\t\tconst context = createBuildContext$2(rawBuild);\n\t\t\tconst { onStart, onEnd, onResolve, onLoad, onTransform, initialOptions } = build;\n\t\t\tconst onResolveFilter = plugin.esbuild?.onResolveFilter ?? /.*/;\n\t\t\tconst onLoadFilter = plugin.esbuild?.onLoadFilter ?? /.*/;\n\t\t\tconst loader = plugin.esbuild?.loader ?? guessLoader;\n\t\t\tplugin.esbuild?.config?.call(context, initialOptions);\n\t\t\tif (plugin.buildStart) onStart(() => plugin.buildStart.call(context));\n\t\t\tif (plugin.buildEnd || plugin.writeBundle) onEnd(async () => {\n\t\t\t\tif (plugin.buildEnd) await plugin.buildEnd.call(context);\n\t\t\t\tif (plugin.writeBundle) await plugin.writeBundle();\n\t\t\t});\n\t\t\tif (plugin.resolveId) onResolve({ filter: onResolveFilter }, async (args) => {\n\t\t\t\tconst id = args.path;\n\t\t\t\tif (initialOptions.external?.includes(id)) return;\n\t\t\t\tconst { handler, filter } = normalizeObjectHook(\"resolveId\", plugin.resolveId);\n\t\t\t\tif (!filter(id)) return;\n\t\t\t\tconst { errors, warnings, mixedContext } = createPluginContext(context);\n\t\t\t\tconst isEntry = args.kind === \"entry-point\";\n\t\t\t\tconst result = await handler.call(mixedContext, id, isEntry ? void 0 : args.importer, { isEntry });\n\t\t\t\tif (typeof result === \"string\") return {\n\t\t\t\t\tpath: result,\n\t\t\t\t\tnamespace: plugin.name,\n\t\t\t\t\terrors,\n\t\t\t\t\twarnings,\n\t\t\t\t\twatchFiles: mixedContext.getWatchFiles()\n\t\t\t\t};\n\t\t\t\telse if (typeof result === \"object\" && result !== null) return {\n\t\t\t\t\tpath: result.id,\n\t\t\t\t\texternal: result.external,\n\t\t\t\t\tnamespace: plugin.name,\n\t\t\t\t\terrors,\n\t\t\t\t\twarnings,\n\t\t\t\t\twatchFiles: mixedContext.getWatchFiles()\n\t\t\t\t};\n\t\t\t});\n\t\t\tif (plugin.load) onLoad({ filter: onLoadFilter }, async (args) => {\n\t\t\t\tconst { handler, filter } = normalizeObjectHook(\"load\", plugin.load);\n\t\t\t\tconst id = args.path + (args.suffix || \"\");\n\t\t\t\tif (plugin.loadInclude && !plugin.loadInclude(id)) return;\n\t\t\t\tif (!filter(id)) return;\n\t\t\t\tconst { errors, warnings, mixedContext } = createPluginContext(context);\n\t\t\t\tlet code;\n\t\t\t\tlet map;\n\t\t\t\tconst result = await handler.call(mixedContext, id);\n\t\t\t\tif (typeof result === \"string\") code = result;\n\t\t\t\telse if (typeof result === \"object\" && result !== null) {\n\t\t\t\t\tcode = result.code;\n\t\t\t\t\tmap = result.map;\n\t\t\t\t}\n\t\t\t\tif (code === void 0) return null;\n\t\t\t\tif (map) code = processCodeWithSourceMap(map, code);\n\t\t\t\tconst resolveDir = path.dirname(args.path);\n\t\t\t\treturn {\n\t\t\t\t\tcontents: code,\n\t\t\t\t\terrors,\n\t\t\t\t\twarnings,\n\t\t\t\t\twatchFiles: mixedContext.getWatchFiles(),\n\t\t\t\t\tloader: unwrapLoader(loader, code, args.path),\n\t\t\t\t\tresolveDir\n\t\t\t\t};\n\t\t\t});\n\t\t\tif (plugin.transform) onTransform({ filter: onLoadFilter }, async (args) => {\n\t\t\t\tconst { handler, filter } = normalizeObjectHook(\"transform\", plugin.transform);\n\t\t\t\tconst id = args.path + (args.suffix || \"\");\n\t\t\t\tif (plugin.transformInclude && !plugin.transformInclude(id)) return;\n\t\t\t\tlet code = await args.getContents();\n\t\t\t\tif (!filter(id, code)) return;\n\t\t\t\tconst { mixedContext, errors, warnings } = createPluginContext(context);\n\t\t\t\tconst resolveDir = path.dirname(args.path);\n\t\t\t\tlet map;\n\t\t\t\tconst result = await handler.call(mixedContext, code, id);\n\t\t\t\tif (typeof result === \"string\") code = result;\n\t\t\t\telse if (typeof result === \"object\" && result !== null) {\n\t\t\t\t\tcode = result.code;\n\t\t\t\t\tif (map && result.map) map = combineSourcemaps(args.path, [result.map === \"string\" ? JSON.parse(result.map) : result.map, map]);\n\t\t\t\t\telse if (typeof result.map === \"string\") map = JSON.parse(result.map);\n\t\t\t\t\telse map = result.map;\n\t\t\t\t}\n\t\t\t\tif (code) {\n\t\t\t\t\tif (map) code = processCodeWithSourceMap(map, code);\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcontents: code,\n\t\t\t\t\t\terrors,\n\t\t\t\t\t\twarnings,\n\t\t\t\t\t\twatchFiles: mixedContext.getWatchFiles(),\n\t\t\t\t\t\tloader: unwrapLoader(loader, code, args.path),\n\t\t\t\t\t\tresolveDir\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t});\n\t\t\tif (plugin.esbuild?.setup) return plugin.esbuild.setup(rawBuild);\n\t\t};\n\t};\n}\n\n//#endregion\n//#region src/farm/context.ts\nfunction createFarmContext(context, currentResolveId) {\n\treturn {\n\t\tparse,\n\t\taddWatchFile(id) {\n\t\t\tcontext.addWatchFile(id, currentResolveId || id);\n\t\t},\n\t\temitFile(emittedFile) {\n\t\t\tconst outFileName = emittedFile.fileName || emittedFile.name;\n\t\t\tif (emittedFile.source && outFileName) context.emitFile({\n\t\t\t\tresolvedPath: outFileName,\n\t\t\t\tname: outFileName,\n\t\t\t\tcontent: [...Buffer.from(emittedFile.source)],\n\t\t\t\tresourceType: extname(outFileName)\n\t\t\t});\n\t\t},\n\t\tgetWatchFiles() {\n\t\t\treturn context.getWatchFiles();\n\t\t},\n\t\tgetNativeBuildContext() {\n\t\t\treturn {\n\t\t\t\tframework: \"farm\",\n\t\t\t\tcontext\n\t\t\t};\n\t\t}\n\t};\n}\nfunction unpluginContext(context) {\n\treturn {\n\t\terror: (error) => context.error(typeof error === \"string\" ? new Error(error) : error),\n\t\twarn: (error) => context.warn(typeof error === \"string\" ? new Error(error) : error)\n\t};\n}\n\n//#endregion\n//#region src/farm/utils.ts\nfunction convertEnforceToPriority(value) {\n\tconst defaultPriority = 100;\n\tconst enforceToPriority = {\n\t\tpre: 102,\n\t\tpost: 98\n\t};\n\treturn enforceToPriority[value] !== void 0 ? enforceToPriority[value] : defaultPriority;\n}\nfunction convertWatchEventChange(value) {\n\treturn {\n\t\tAdded: \"create\",\n\t\tUpdated: \"update\",\n\t\tRemoved: \"delete\"\n\t}[value];\n}\nfunction isString(variable) {\n\treturn typeof variable === \"string\";\n}\nfunction isObject(variable) {\n\treturn typeof variable === \"object\" && variable !== null;\n}\nfunction customParseQueryString(url) {\n\tif (!url) return [];\n\tconst queryString = url.split(\"?\")[1];\n\tconst parsedParams = querystring.parse(queryString);\n\tconst paramsArray = [];\n\tfor (const key in parsedParams) paramsArray.push([key, parsedParams[key]]);\n\treturn paramsArray;\n}\nfunction encodeStr(str) {\n\tconst len = str.length;\n\tif (len === 0) return str;\n\tconst firstNullIndex = str.indexOf(\"\\0\");\n\tif (firstNullIndex === -1) return str;\n\tconst result = Array.from({ length: len + countNulls(str, firstNullIndex) });\n\tlet pos = 0;\n\tfor (let i = 0; i < firstNullIndex; i++) result[pos++] = str[i];\n\tfor (let i = firstNullIndex; i < len; i++) {\n\t\tconst char = str[i];\n\t\tif (char === \"\\0\") {\n\t\t\tresult[pos++] = \"\\\\\";\n\t\t\tresult[pos++] = \"0\";\n\t\t} else result[pos++] = char;\n\t}\n\treturn path.posix.normalize(result.join(\"\"));\n}\nfunction decodeStr(str) {\n\tconst len = str.length;\n\tif (len === 0) return str;\n\tconst firstIndex = str.indexOf(\"\\\\0\");\n\tif (firstIndex === -1) return str;\n\tconst result = Array.from({ length: len - countBackslashZeros(str, firstIndex) });\n\tlet pos = 0;\n\tfor (let i$1 = 0; i$1 < firstIndex; i$1++) result[pos++] = str[i$1];\n\tlet i = firstIndex;\n\twhile (i < len) if (str[i] === \"\\\\\" && str[i + 1] === \"0\") {\n\t\tresult[pos++] = \"\\0\";\n\t\ti += 2;\n\t} else result[pos++] = str[i++];\n\treturn path.posix.normalize(result.join(\"\"));\n}\nfunction getContentValue(content) {\n\tif (content === null || content === void 0) throw new Error(\"Content cannot be null or undefined\");\n\treturn encodeStr(typeof content === \"string\" ? content : content.code || \"\");\n}\nfunction countNulls(str, startIndex) {\n\tlet count = 0;\n\tconst len = str.length;\n\tfor (let i = startIndex; i < len; i++) if (str[i] === \"\\0\") count++;\n\treturn count;\n}\nfunction countBackslashZeros(str, startIndex) {\n\tlet count = 0;\n\tconst len = str.length;\n\tfor (let i = startIndex; i < len - 1; i++) if (str[i] === \"\\\\\" && str[i + 1] === \"0\") {\n\t\tcount++;\n\t\ti++;\n\t}\n\treturn count;\n}\nfunction removeQuery(pathe) {\n\tconst queryIndex = pathe.indexOf(\"?\");\n\tif (queryIndex !== -1) return path.posix.normalize(pathe.slice(0, queryIndex));\n\treturn path.posix.normalize(pathe);\n}\nfunction isStartsWithSlash(str) {\n\treturn str?.startsWith(\"/\");\n}\nfunction appendQuery(id, query) {\n\tif (!query.length) return id;\n\treturn `${id}?${stringifyQuery(query)}`;\n}\nfunction stringifyQuery(query) {\n\tif (!query.length) return \"\";\n\tlet queryStr = \"\";\n\tfor (const [key, value] of query) queryStr += `${key}${value ? `=${value}` : \"\"}&`;\n\treturn `${queryStr.slice(0, -1)}`;\n}\nconst CSS_LANGS_RES = [\n\t[/\\.(less)(?:$|\\?)/, \"less\"],\n\t[/\\.(scss|sass)(?:$|\\?)/, \"sass\"],\n\t[/\\.(styl|stylus)(?:$|\\?)/, \"stylus\"],\n\t[/\\.(css)(?:$|\\?)/, \"css\"]\n];\nconst JS_LANGS_RES = [\n\t[/\\.(js|mjs|cjs)(?:$|\\?)/, \"js\"],\n\t[/\\.(jsx)(?:$|\\?)/, \"jsx\"],\n\t[/\\.(ts|cts|mts)(?:$|\\?)/, \"ts\"],\n\t[/\\.(tsx)(?:$|\\?)/, \"tsx\"]\n];\nfunction getCssModuleType(id) {\n\tfor (const [reg, lang] of CSS_LANGS_RES) if (reg.test(id)) return lang;\n\treturn null;\n}\nfunction getJsModuleType(id) {\n\tfor (const [reg, lang] of JS_LANGS_RES) if (reg.test(id)) return lang;\n\treturn null;\n}\nfunction formatLoadModuleType(id) {\n\tconst cssModuleType = getCssModuleType(id);\n\tif (cssModuleType) return cssModuleType;\n\tconst jsModuleType = getJsModuleType(id);\n\tif (jsModuleType) return jsModuleType;\n\treturn \"js\";\n}\nfunction formatTransformModuleType(id) {\n\treturn formatLoadModuleType(id);\n}\n\n//#endregion\n//#region src/farm/index.ts\nfunction getFarmPlugin(factory) {\n\treturn ((userOptions) => {\n\t\tconst plugins = toArray(factory(userOptions, { framework: \"farm\" })).map((rawPlugin) => {\n\t\t\tconst plugin = toFarmPlugin(rawPlugin, userOptions);\n\t\t\tif (rawPlugin.farm) Object.assign(plugin, rawPlugin.farm);\n\t\t\treturn plugin;\n\t\t});\n\t\treturn plugins.length === 1 ? plugins[0] : plugins;\n\t});\n}\nfunction toFarmPlugin(plugin, options) {\n\tconst farmPlugin = {\n\t\tname: plugin.name,\n\t\tpriority: convertEnforceToPriority(plugin.enforce)\n\t};\n\tif (plugin.farm) Object.keys(plugin.farm).forEach((key) => {\n\t\tconst value = plugin.farm[key];\n\t\tif (value) Reflect.set(farmPlugin, key, value);\n\t});\n\tif (plugin.buildStart) {\n\t\tconst _buildStart = plugin.buildStart;\n\t\tfarmPlugin.buildStart = { async executor(_, context) {\n\t\t\tawait _buildStart.call(createFarmContext(context));\n\t\t} };\n\t}\n\tif (plugin.resolveId) {\n\t\tconst _resolveId = plugin.resolveId;\n\t\tlet filters = [];\n\t\tif (options) filters = options?.filters ?? [];\n\t\tfarmPlugin.resolve = {\n\t\t\tfilters: {\n\t\t\t\tsources: filters.length ? filters : [\".*\"],\n\t\t\t\timporters: [\".*\"]\n\t\t\t},\n\t\t\tasync executor(params, context) {\n\t\t\t\tconst resolvedIdPath = path.resolve(params.importer ?? \"\");\n\t\t\t\tconst id = decodeStr(params.source);\n\t\t\t\tconst { handler, filter } = normalizeObjectHook(\"resolveId\", _resolveId);\n\t\t\t\tif (!filter(id)) return null;\n\t\t\t\tlet isEntry = false;\n\t\t\t\tif (isObject(params.kind) && \"entry\" in params.kind) isEntry = params.kind.entry === \"index\";\n\t\t\t\tconst farmContext = createFarmContext(context, resolvedIdPath);\n\t\t\t\tconst resolveIdResult = await handler.call(Object.assign(unpluginContext(context), farmContext), id, resolvedIdPath ?? null, { isEntry });\n\t\t\t\tif (isString(resolveIdResult)) return {\n\t\t\t\t\tresolvedPath: removeQuery(encodeStr(resolveIdResult)),\n\t\t\t\t\tquery: customParseQueryString(resolveIdResult),\n\t\t\t\t\tsideEffects: true,\n\t\t\t\t\texternal: false,\n\t\t\t\t\tmeta: {}\n\t\t\t\t};\n\t\t\t\tif (isObject(resolveIdResult)) return {\n\t\t\t\t\tresolvedPath: removeQuery(encodeStr(resolveIdResult?.id)),\n\t\t\t\t\tquery: customParseQueryString(resolveIdResult?.id),\n\t\t\t\t\tsideEffects: false,\n\t\t\t\t\texternal: Boolean(resolveIdResult?.external),\n\t\t\t\t\tmeta: {}\n\t\t\t\t};\n\t\t\t\tif (!isStartsWithSlash(params.source)) return null;\n\t\t\t}\n\t\t};\n\t}\n\tif (plugin.load) {\n\t\tconst _load = plugin.load;\n\t\tfarmPlugin.load = {\n\t\t\tfilters: { resolvedPaths: [\".*\"] },\n\t\t\tasync executor(params, context) {\n\t\t\t\tconst id = appendQuery(decodeStr(params.resolvedPath), params.query);\n\t\t\t\tconst loader = formatTransformModuleType(id);\n\t\t\t\tif (plugin.loadInclude && !plugin.loadInclude?.(id)) return null;\n\t\t\t\tconst { handler, filter } = normalizeObjectHook(\"load\", _load);\n\t\t\t\tif (!filter(id)) return null;\n\t\t\t\tconst farmContext = createFarmContext(context, id);\n\t\t\t\treturn {\n\t\t\t\t\tcontent: getContentValue(await handler.call(Object.assign(unpluginContext(context), farmContext), id)),\n\t\t\t\t\tmoduleType: loader\n\t\t\t\t};\n\t\t\t}\n\t\t};\n\t}\n\tif (plugin.transform) {\n\t\tconst _transform = plugin.transform;\n\t\tfarmPlugin.transform = {\n\t\t\tfilters: {\n\t\t\t\tresolvedPaths: [\".*\"],\n\t\t\t\tmoduleTypes: [\".*\"]\n\t\t\t},\n\t\t\tasync executor(params, context) {\n\t\t\t\tconst id = appendQuery(decodeStr(params.resolvedPath), params.query);\n\t\t\t\tconst loader = formatTransformModuleType(id);\n\t\t\t\tif (plugin.transformInclude && !plugin.transformInclude(id)) return null;\n\t\t\t\tconst { handler, filter } = normalizeObjectHook(\"transform\", _transform);\n\t\t\t\tif (!filter(id, params.content)) return null;\n\t\t\t\tconst farmContext = createFarmContext(context, id);\n\t\t\t\tconst resource = await handler.call(Object.assign(unpluginContext(context), farmContext), params.content, id);\n\t\t\t\tif (resource && typeof resource !== \"string\") return {\n\t\t\t\t\tcontent: getContentValue(resource),\n\t\t\t\t\tmoduleType: loader,\n\t\t\t\t\tsourceMap: typeof resource.map === \"object\" && resource.map !== null ? JSON.stringify(resource.map) : void 0\n\t\t\t\t};\n\t\t\t}\n\t\t};\n\t}\n\tif (plugin.watchChange) {\n\t\tconst _watchChange = plugin.watchChange;\n\t\tfarmPlugin.updateModules = { async executor(param, context) {\n\t\t\tconst updatePathContent = param.paths[0];\n\t\t\tconst ModifiedPath = updatePathContent[0];\n\t\t\tconst eventChange = convertWatchEventChange(updatePathContent[1]);\n\t\t\tawait _watchChange.call(createFarmContext(context), ModifiedPath, { event: eventChange });\n\t\t} };\n\t}\n\tif (plugin.buildEnd) {\n\t\tconst _buildEnd = plugin.buildEnd;\n\t\tfarmPlugin.buildEnd = { async executor(_, context) {\n\t\t\tawait _buildEnd.call(createFarmContext(context));\n\t\t} };\n\t}\n\tif (plugin.writeBundle) {\n\t\tconst _writeBundle = plugin.writeBundle;\n\t\tfarmPlugin.finish = { async executor() {\n\t\t\tawait _writeBundle();\n\t\t} };\n\t}\n\treturn farmPlugin;\n}\n\n//#endregion\n//#region src/rollup/index.ts\nfunction getRollupPlugin(factory) {\n\treturn ((userOptions) => {\n\t\tconst plugins = toArray(factory(userOptions, { framework: \"rollup\" })).map((plugin) => toRollupPlugin(plugin, \"rollup\"));\n\t\treturn plugins.length === 1 ? plugins[0] : plugins;\n\t});\n}\nfunction toRollupPlugin(plugin, key) {\n\tconst nativeFilter = key === \"rolldown\";\n\tif (plugin.resolveId && !nativeFilter && typeof plugin.resolveId === \"object\" && plugin.resolveId.filter) {\n\t\tconst resolveIdHook = plugin.resolveId;\n\t\tconst { handler, filter } = normalizeObjectHook(\"load\", resolveIdHook);\n\t\treplaceHookHandler(\"resolveId\", resolveIdHook, function(...args) {\n\t\t\tconst [id] = args;\n\t\t\tif (!supportNativeFilter(this, key) && !filter(id)) return;\n\t\t\treturn handler.apply(this, args);\n\t\t});\n\t}\n\tif (plugin.load && (plugin.loadInclude || !nativeFilter && typeof plugin.load === \"object\" && plugin.load.filter)) {\n\t\tconst loadHook = plugin.load;\n\t\tconst { handler, filter } = normalizeObjectHook(\"load\", loadHook);\n\t\treplaceHookHandler(\"load\", loadHook, function(...args) {\n\t\t\tconst [id] = args;\n\t\t\tif (plugin.loadInclude && !plugin.loadInclude(id)) return;\n\t\t\tif (!supportNativeFilter(this, key) && !filter(id)) return;\n\t\t\treturn handler.apply(this, args);\n\t\t});\n\t}\n\tif (plugin.transform && (plugin.transformInclude || !nativeFilter && typeof plugin.transform === \"object\" && plugin.transform.filter)) {\n\t\tconst transformHook = plugin.transform;\n\t\tconst { handler, filter } = normalizeObjectHook(\"transform\", transformHook);\n\t\treplaceHookHandler(\"transform\", transformHook, function(...args) {\n\t\t\tconst [code, id] = args;\n\t\t\tif (plugin.transformInclude && !plugin.transformInclude(id)) return;\n\t\t\tif (!supportNativeFilter(this, key) && !filter(id, code)) return;\n\t\t\treturn handler.apply(this, args);\n\t\t});\n\t}\n\tif (plugin[key]) Object.assign(plugin, plugin[key]);\n\treturn plugin;\n\tfunction replaceHookHandler(name, hook, handler) {\n\t\tif (typeof hook === \"function\") plugin[name] = handler;\n\t\telse hook.handler = handler;\n\t}\n}\nfunction supportNativeFilter(context, framework) {\n\tif (framework === \"vite\") return !!context?.meta?.viteVersion;\n\tif (framework === \"rolldown\") return true;\n\tconst rollupVersion = context?.meta?.rollupVersion;\n\tif (!rollupVersion) return false;\n\tconst [major, minor] = rollupVersion.split(\".\");\n\treturn Number(major) > 4 || Number(major) === 4 && Number(minor) >= 40;\n}\n\n//#endregion\n//#region src/rolldown/index.ts\nfunction getRolldownPlugin(factory) {\n\treturn ((userOptions) => {\n\t\tconst plugins = toArray(factory(userOptions, { framework: \"rolldown\" })).map((rawPlugin) => {\n\t\t\treturn toRollupPlugin(rawPlugin, \"rolldown\");\n\t\t});\n\t\treturn plugins.length === 1 ? plugins[0] : plugins;\n\t});\n}\n\n//#endregion\n//#region src/rspack/index.ts\nconst TRANSFORM_LOADER$1 = resolve(import.meta.dirname, \"rspack/loaders/transform.mjs\");\nconst LOAD_LOADER$1 = resolve(import.meta.dirname, \"rspack/loaders/load.mjs\");\nfunction getRspackPlugin(factory) {\n\treturn (userOptions) => {\n\t\treturn { apply(compiler) {\n\t\t\tconst VIRTUAL_MODULE_PREFIX = resolve(compiler.options.context ?? process.cwd(), \"node_modules/.virtual\", compiler.rspack.experiments.VirtualModulesPlugin ? \"\" : process.pid.toString());\n\t\t\tconst meta = {\n\t\t\t\tframework: \"rspack\",\n\t\t\t\trspack: { compiler }\n\t\t\t};\n\t\t\tconst rawPlugins = toArray(factory(userOptions, meta));\n\t\t\tfor (const rawPlugin of rawPlugins) {\n\t\t\t\tconst plugin = Object.assign(rawPlugin, {\n\t\t\t\t\t__unpluginMeta: meta,\n\t\t\t\t\t__virtualModulePrefix: VIRTUAL_MODULE_PREFIX\n\t\t\t\t});\n\t\t\t\tconst externalModules = /* @__PURE__ */ new Set();\n\t\t\t\tif (plugin.resolveId) {\n\t\t\t\t\tconst createPlugin = (plugin$1) => {\n\t\t\t\t\t\tif (compiler.rspack.experiments.VirtualModulesPlugin) return new compiler.rspack.experiments.VirtualModulesPlugin();\n\t\t\t\t\t\treturn new FakeVirtualModulesPlugin(plugin$1);\n\t\t\t\t\t};\n\t\t\t\t\tconst vfs = createPlugin(plugin);\n\t\t\t\t\tvfs.apply(compiler);\n\t\t\t\t\tconst vfsModules = /* @__PURE__ */ new Map();\n\t\t\t\t\tplugin.__vfsModules = vfsModules;\n\t\t\t\t\tplugin.__vfs = vfs;\n\t\t\t\t\tcompiler.hooks.compilation.tap(plugin.name, (compilation, { normalModuleFactory }) => {\n\t\t\t\t\t\tnormalModuleFactory.hooks.resolve.tapPromise(plugin.name, async (resolveData) => {\n\t\t\t\t\t\t\tconst id = normalizeAbsolutePath(resolveData.request);\n\t\t\t\t\t\t\tconst requestContext = resolveData.contextInfo;\n\t\t\t\t\t\t\tlet importer = requestContext.issuer !== \"\" ? requestContext.issuer : void 0;\n\t\t\t\t\t\t\tconst isEntry = requestContext.issuer === \"\";\n\t\t\t\t\t\t\tif (importer?.startsWith(plugin.__virtualModulePrefix)) importer = decodeURIComponent(importer.slice(plugin.__virtualModulePrefix.length));\n\t\t\t\t\t\t\tconst context = createBuildContext$1(compiler, compilation);\n\t\t\t\t\t\t\tlet error;\n\t\t\t\t\t\t\tconst pluginContext = {\n\t\t\t\t\t\t\t\terror(msg) {\n\t\t\t\t\t\t\t\t\tif (error == null) error = normalizeMessage$1(msg);\n\t\t\t\t\t\t\t\t\telse console.error(`unplugin/rspack: multiple errors returned from resolveId hook: ${msg}`);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\twarn(msg) {\n\t\t\t\t\t\t\t\t\tconsole.warn(`unplugin/rspack: warning from resolveId hook: ${msg}`);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tconst { handler, filter } = normalizeObjectHook(\"resolveId\", plugin.resolveId);\n\t\t\t\t\t\t\tif (!filter(id)) return;\n\t\t\t\t\t\t\tconst resolveIdResult = await handler.call({\n\t\t\t\t\t\t\t\t...context,\n\t\t\t\t\t\t\t\t...pluginContext\n\t\t\t\t\t\t\t}, id, importer, { isEntry });\n\t\t\t\t\t\t\tif (error != null) throw error;\n\t\t\t\t\t\t\tif (resolveIdResult == null) return;\n\t\t\t\t\t\t\tlet resolved = typeof resolveIdResult === \"string\" ? resolveIdResult : resolveIdResult.id;\n\t\t\t\t\t\t\tif (typeof resolveIdResult === \"string\" ? false : resolveIdResult.external === true) externalModules.add(resolved);\n\t\t\t\t\t\t\tlet isVirtual = true;\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t(compiler.inputFileSystem?.statSync ?? fs.statSync)(resolved);\n\t\t\t\t\t\t\t\tisVirtual = false;\n\t\t\t\t\t\t\t} catch {\n\t\t\t\t\t\t\t\tisVirtual = !isVirtualModuleId(resolved, plugin);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (isVirtual) {\n\t\t\t\t\t\t\t\tconst encodedVirtualPath = encodeVirtualModuleId(resolved, plugin);\n\t\t\t\t\t\t\t\tif (!vfsModules.has(resolved)) {\n\t\t\t\t\t\t\t\t\tconst fsPromise = Promise.resolve(vfs.writeModule(encodedVirtualPath, \"\"));\n\t\t\t\t\t\t\t\t\tvfsModules.set(resolved, fsPromise);\n\t\t\t\t\t\t\t\t\tawait fsPromise;\n\t\t\t\t\t\t\t\t} else await vfsModules.get(resolved);\n\t\t\t\t\t\t\t\tresolved = encodedVirtualPath;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresolveData.request = resolved;\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tif (plugin.load) compiler.options.module.rules.unshift({\n\t\t\t\t\tenforce: plugin.enforce,\n\t\t\t\t\tinclude(id) {\n\t\t\t\t\t\tif (isVirtualModuleId(id, plugin)) id = decodeVirtualModuleId(id, plugin);\n\t\t\t\t\t\tif (plugin.loadInclude && !plugin.loadInclude(id)) return false;\n\t\t\t\t\t\tconst { filter } = normalizeObjectHook(\"load\", plugin.load);\n\t\t\t\t\t\tif (!filter(id)) return false;\n\t\t\t\t\t\treturn !externalModules.has(id);\n\t\t\t\t\t},\n\t\t\t\t\tuse: [{\n\t\t\t\t\t\tloader: LOAD_LOADER$1,\n\t\t\t\t\t\toptions: { plugin }\n\t\t\t\t\t}],\n\t\t\t\t\ttype: \"javascript/auto\"\n\t\t\t\t});\n\t\t\t\tif (plugin.transform) compiler.options.module.rules.unshift({\n\t\t\t\t\tenforce: plugin.enforce,\n\t\t\t\t\tuse(data) {\n\t\t\t\t\t\treturn transformUse(data, plugin, TRANSFORM_LOADER$1);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tif (plugin.rspack) plugin.rspack(compiler);\n\t\t\t\tif (plugin.watchChange || plugin.buildStart) compiler.hooks.make.tapPromise(plugin.name, async (compilation) => {\n\t\t\t\t\tconst context = createBuildContext$1(compiler, compilation);\n\t\t\t\t\tif (plugin.watchChange && (compiler.modifiedFiles || compiler.removedFiles)) {\n\t\t\t\t\t\tconst promises = [];\n\t\t\t\t\t\tif (compiler.modifiedFiles) compiler.modifiedFiles.forEach((file) => promises.push(Promise.resolve(plugin.watchChange.call(context, file, { event: \"update\" }))));\n\t\t\t\t\t\tif (compiler.removedFiles) compiler.removedFiles.forEach((file) => promises.push(Promise.resolve(plugin.watchChange.call(context, file, { event: \"delete\" }))));\n\t\t\t\t\t\tawait Promise.all(promises);\n\t\t\t\t\t}\n\t\t\t\t\tif (plugin.buildStart) return await plugin.buildStart.call(context);\n\t\t\t\t});\n\t\t\t\tif (plugin.buildEnd) compiler.hooks.emit.tapPromise(plugin.name, async (compilation) => {\n\t\t\t\t\tawait plugin.buildEnd.call(createBuildContext$1(compiler, compilation));\n\t\t\t\t});\n\t\t\t\tif (plugin.writeBundle) compiler.hooks.afterEmit.tapPromise(plugin.name, async () => {\n\t\t\t\t\tawait plugin.writeBundle();\n\t\t\t\t});\n\t\t\t}\n\t\t} };\n\t};\n}\n\n//#endregion\n//#region src/unloader/index.ts\nfunction getUnloaderPlugin(factory) {\n\treturn ((userOptions) => {\n\t\tconst plugins = toArray(factory(userOptions, { framework: \"unloader\" })).map((rawPlugin) => {\n\t\t\treturn toRollupPlugin(rawPlugin, \"unloader\");\n\t\t});\n\t\treturn plugins.length === 1 ? plugins[0] : plugins;\n\t});\n}\n\n//#endregion\n//#region src/vite/index.ts\nfunction getVitePlugin(factory) {\n\treturn ((userOptions) => {\n\t\tconst plugins = toArray(factory(userOptions, { framework: \"vite\" })).map((rawPlugin) => {\n\t\t\treturn toRollupPlugin(rawPlugin, \"vite\");\n\t\t});\n\t\treturn plugins.length === 1 ? plugins[0] : plugins;\n\t});\n}\n\n//#endregion\n//#region src/webpack/index.ts\nconst TRANSFORM_LOADER = resolve(import.meta.dirname, \"webpack/loaders/transform.mjs\");\nconst LOAD_LOADER = resolve(import.meta.dirname, \"webpack/loaders/load.mjs\");\nfunction getWebpackPlugin(factory) {\n\treturn (userOptions) => {\n\t\treturn { apply(compiler) {\n\t\t\tconst VIRTUAL_MODULE_PREFIX = resolve(compiler.options.context ?? process$1.cwd(), \"_virtual_\");\n\t\t\tconst meta = {\n\t\t\t\tframework: \"webpack\",\n\t\t\t\twebpack: { compiler }\n\t\t\t};\n\t\t\tconst rawPlugins = toArray(factory(userOptions, meta));\n\t\t\tfor (const rawPlugin of rawPlugins) {\n\t\t\t\tconst plugin = Object.assign(rawPlugin, {\n\t\t\t\t\t__unpluginMeta: meta,\n\t\t\t\t\t__virtualModulePrefix: VIRTUAL_MODULE_PREFIX\n\t\t\t\t});\n\t\t\t\tconst externalModules = /* @__PURE__ */ new Set();\n\t\t\t\tif (plugin.resolveId) {\n\t\t\t\t\tlet vfs = compiler.options.plugins.find((i) => i instanceof VirtualModulesPlugin);\n\t\t\t\t\tif (!vfs) {\n\t\t\t\t\t\tvfs = new VirtualModulesPlugin();\n\t\t\t\t\t\tcompiler.options.plugins.push(vfs);\n\t\t\t\t\t}\n\t\t\t\t\tconst vfsModules = /* @__PURE__ */ new Set();\n\t\t\t\t\tplugin.__vfsModules = vfsModules;\n\t\t\t\t\tplugin.__vfs = vfs;\n\t\t\t\t\tconst resolverPlugin = { apply(resolver) {\n\t\t\t\t\t\tconst target = resolver.ensureHook(\"resolve\");\n\t\t\t\t\t\tresolver.getHook(\"resolve\").tapAsync(plugin.name, async (request, resolveContext, callback) => {\n\t\t\t\t\t\t\tif (!request.request) return callback();\n\t\t\t\t\t\t\tif (normalizeAbsolutePath(request.request).startsWith(plugin.__virtualModulePrefix)) return callback();\n\t\t\t\t\t\t\tconst id = normalizeAbsolutePath(request.request);\n\t\t\t\t\t\t\tconst requestContext = request.context;\n\t\t\t\t\t\t\tlet importer = requestContext.issuer !== \"\" ? requestContext.issuer : void 0;\n\t\t\t\t\t\t\tconst isEntry = requestContext.issuer === \"\";\n\t\t\t\t\t\t\tif (importer?.startsWith(plugin.__virtualModulePrefix)) importer = decodeURIComponent(importer.slice(plugin.__virtualModulePrefix.length));\n\t\t\t\t\t\t\tconst fileDependencies = /* @__PURE__ */ new Set();\n\t\t\t\t\t\t\tconst context = createBuildContext({\n\t\t\t\t\t\t\t\taddWatchFile(file) {\n\t\t\t\t\t\t\t\t\tfileDependencies.add(file);\n\t\t\t\t\t\t\t\t\tresolveContext.fileDependencies?.add(file);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tgetWatchFiles() {\n\t\t\t\t\t\t\t\t\treturn Array.from(fileDependencies);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}, compiler);\n\t\t\t\t\t\t\tlet error;\n\t\t\t\t\t\t\tconst pluginContext = {\n\t\t\t\t\t\t\t\terror(msg) {\n\t\t\t\t\t\t\t\t\tif (error == null) error = normalizeMessage(msg);\n\t\t\t\t\t\t\t\t\telse console.error(`unplugin/webpack: multiple errors returned from resolveId hook: ${msg}`);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\twarn(msg) {\n\t\t\t\t\t\t\t\t\tconsole.warn(`unplugin/webpack: warning from resolveId hook: ${msg}`);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tconst { handler, filter } = normalizeObjectHook(\"resolveId\", plugin.resolveId);\n\t\t\t\t\t\t\tif (!filter(id)) return callback();\n\t\t\t\t\t\t\tconst resolveIdResult = await handler.call({\n\t\t\t\t\t\t\t\t...context,\n\t\t\t\t\t\t\t\t...pluginContext\n\t\t\t\t\t\t\t}, id, importer, { isEntry });\n\t\t\t\t\t\t\tif (error != null) return callback(error);\n\t\t\t\t\t\t\tif (resolveIdResult == null) return callback();\n\t\t\t\t\t\t\tlet resolved = typeof resolveIdResult === \"string\" ? resolveIdResult : resolveIdResult.id;\n\t\t\t\t\t\t\tif (typeof resolveIdResult === \"string\" ? false : resolveIdResult.external === true) externalModules.add(resolved);\n\t\t\t\t\t\t\tif (!fs.existsSync(resolved)) {\n\t\t\t\t\t\t\t\tresolved = normalizeAbsolutePath(plugin.__virtualModulePrefix + encodeURIComponent(resolved));\n\t\t\t\t\t\t\t\tif (!vfsModules.has(resolved)) {\n\t\t\t\t\t\t\t\t\tplugin.__vfs.writeModule(resolved, \"\");\n\t\t\t\t\t\t\t\t\tvfsModules.add(resolved);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst newRequest = {\n\t\t\t\t\t\t\t\t...request,\n\t\t\t\t\t\t\t\trequest: resolved\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tresolver.doResolve(target, newRequest, null, resolveContext, callback);\n\t\t\t\t\t\t});\n\t\t\t\t\t} };\n\t\t\t\t\tcompiler.options.resolve.plugins = compiler.options.resolve.plugins || [];\n\t\t\t\t\tcompiler.options.resolve.plugins.push(resolverPlugin);\n\t\t\t\t}\n\t\t\t\tif (plugin.load) compiler.options.module.rules.unshift({\n\t\t\t\t\tinclude(id) {\n\t\t\t\t\t\treturn shouldLoad(id, plugin, externalModules);\n\t\t\t\t\t},\n\t\t\t\t\tenforce: plugin.enforce,\n\t\t\t\t\tuse: [{\n\t\t\t\t\t\tloader: LOAD_LOADER,\n\t\t\t\t\t\toptions: { plugin }\n\t\t\t\t\t}],\n\t\t\t\t\ttype: \"javascript/auto\"\n\t\t\t\t});\n\t\t\t\tif (plugin.transform) compiler.options.module.rules.unshift({\n\t\t\t\t\tenforce: plugin.enforce,\n\t\t\t\t\tuse(data) {\n\t\t\t\t\t\treturn transformUse(data, plugin, TRANSFORM_LOADER);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tif (plugin.webpack) plugin.webpack(compiler);\n\t\t\t\tif (plugin.watchChange || plugin.buildStart) compiler.hooks.make.tapPromise(plugin.name, async (compilation) => {\n\t\t\t\t\tconst context = createBuildContext(contextOptionsFromCompilation(compilation), compiler, compilation);\n\t\t\t\t\tif (plugin.watchChange && (compiler.modifiedFiles || compiler.removedFiles)) {\n\t\t\t\t\t\tconst promises = [];\n\t\t\t\t\t\tif (compiler.modifiedFiles) compiler.modifiedFiles.forEach((file) => promises.push(Promise.resolve(plugin.watchChange.call(context, file, { event: \"update\" }))));\n\t\t\t\t\t\tif (compiler.removedFiles) compiler.removedFiles.forEach((file) => promises.push(Promise.resolve(plugin.watchChange.call(context, file, { event: \"delete\" }))));\n\t\t\t\t\t\tawait Promise.all(promises);\n\t\t\t\t\t}\n\t\t\t\t\tif (plugin.buildStart) return await plugin.buildStart.call(context);\n\t\t\t\t});\n\t\t\t\tif (plugin.buildEnd) compiler.hooks.emit.tapPromise(plugin.name, async (compilation) => {\n\t\t\t\t\tawait plugin.buildEnd.call(createBuildContext(contextOptionsFromCompilation(compilation), compiler, compilation));\n\t\t\t\t});\n\t\t\t\tif (plugin.writeBundle) compiler.hooks.afterEmit.tapPromise(plugin.name, async () => {\n\t\t\t\t\tawait plugin.writeBundle();\n\t\t\t\t});\n\t\t\t}\n\t\t} };\n\t};\n}\nfunction shouldLoad(id, plugin, externalModules) {\n\tif (id.startsWith(plugin.__virtualModulePrefix)) id = decodeURIComponent(id.slice(plugin.__virtualModulePrefix.length));\n\tif (plugin.loadInclude && !plugin.loadInclude(id)) return false;\n\tconst { filter } = normalizeObjectHook(\"load\", plugin.load);\n\tif (!filter(id)) return false;\n\treturn !externalModules.has(id);\n}\n\n//#endregion\n//#region src/define.ts\nfunction createUnplugin(factory) {\n\treturn {\n\t\tget esbuild() {\n\t\t\treturn getEsbuildPlugin(factory);\n\t\t},\n\t\tget rollup() {\n\t\t\treturn getRollupPlugin(factory);\n\t\t},\n\t\tget vite() {\n\t\t\treturn getVitePlugin(factory);\n\t\t},\n\t\tget rolldown() {\n\t\t\treturn getRolldownPlugin(factory);\n\t\t},\n\t\tget webpack() {\n\t\t\treturn getWebpackPlugin(factory);\n\t\t},\n\t\tget rspack() {\n\t\t\treturn getRspackPlugin(factory);\n\t\t},\n\t\tget farm() {\n\t\t\treturn getFarmPlugin(factory);\n\t\t},\n\t\tget unloader() {\n\t\t\treturn getUnloaderPlugin(factory);\n\t\t},\n\t\tget bun() {\n\t\t\treturn getBunPlugin(factory);\n\t\t},\n\t\tget raw() {\n\t\t\treturn factory;\n\t\t}\n\t};\n}\nfunction createEsbuildPlugin(factory) {\n\treturn getEsbuildPlugin(factory);\n}\nfunction createRollupPlugin(factory) {\n\treturn getRollupPlugin(factory);\n}\nfunction createVitePlugin(factory) {\n\treturn getVitePlugin(factory);\n}\nfunction createRolldownPlugin(factory) {\n\treturn getRolldownPlugin(factory);\n}\nfunction createWebpackPlugin(factory) {\n\treturn getWebpackPlugin(factory);\n}\nfunction createRspackPlugin(factory) {\n\treturn getRspackPlugin(factory);\n}\nfunction createFarmPlugin(factory) {\n\treturn getFarmPlugin(factory);\n}\nfunction createUnloaderPlugin(factory) {\n\treturn getUnloaderPlugin(factory);\n}\nfunction createBunPlugin(factory) {\n\treturn getBunPlugin(factory);\n}\n\n//#endregion\nexport { createBunPlugin, createEsbuildPlugin, createFarmPlugin, createRolldownPlugin, createRollupPlugin, createRspackPlugin, createUnloaderPlugin, createUnplugin, createVitePlugin, createWebpackPlugin, setParseImpl };","/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { createUnplugin } from \"powerlines/lib/unplugin\";\nimport { createRspackPlugin as createRspackUnplugin } from \"unplugin\";\nimport { RspackPluginContext } from \"../types/plugin\";\n\nexport function createRspackPlugin(context: RspackPluginContext) {\n return createRspackUnplugin(createUnplugin(context))({});\n}\n"],"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cAAc,QAAQ,OAAO,KAAK,SAAS,2BAA2B;AAmL5E,SAAS,mBAAmB,SAAS;AACpC,QAAO,gBAAgB,QAAQ;;;;;ACjpChC,SAAgBE,qBAAmB,SAA8B;AAC/D,QAAOC,mBAAqB,eAAe,QAAQ,CAAC,CAAC,EAAE,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { t as RspackPluginContext } from "./plugin-Bba7oDr4.cjs";
|
|
2
|
-
import * as unplugin0 from "unplugin";
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/unplugin.d.ts
|
|
5
|
-
declare function createRspackPlugin(context: RspackPluginContext): unplugin0.RspackPluginInstance;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { createRspackPlugin as t };
|
|
8
|
-
//# sourceMappingURL=unplugin-BxYrF3Ze.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unplugin-BxYrF3Ze.d.cts","names":[],"sources":["../src/helpers/unplugin.ts"],"sourcesContent":[],"mappings":";;;;iBAsBgB,kBAAA,UAA4B,sBAAmB,SAAA,CAAA"}
|