You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
14 KiB
JavaScript
25 lines
14 KiB
JavaScript
|
9 months ago
|
"use strict";
|
||
|
|
/*
|
||
|
|
* ATTENTION: An "eval-source-map" devtool has been used.
|
||
|
|
* This devtool is neither made for production nor for readable output files.
|
||
|
|
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
|
||
|
|
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
||
|
|
* or disable the default devtool with "devtool: false".
|
||
|
|
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
||
|
|
*/
|
||
|
|
exports.id = "vendor-chunks/kleur";
|
||
|
|
exports.ids = ["vendor-chunks/kleur"];
|
||
|
|
exports.modules = {
|
||
|
|
|
||
|
|
/***/ "(ssr)/./node_modules/kleur/index.mjs":
|
||
|
|
/*!**************************************!*\
|
||
|
|
!*** ./node_modules/kleur/index.mjs ***!
|
||
|
|
\**************************************/
|
||
|
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
||
|
|
|
||
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n\nlet FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM, isTTY = true;\nif (typeof process !== \"undefined\") {\n ({ FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM } = process.env || {});\n isTTY = process.stdout && process.stdout.isTTY;\n}\nconst $ = {\n enabled: !NODE_DISABLE_COLORS && NO_COLOR == null && TERM !== \"dumb\" && (FORCE_COLOR != null && FORCE_COLOR !== \"0\" || isTTY),\n // modifiers\n reset: init(0, 0),\n bold: init(1, 22),\n dim: init(2, 22),\n italic: init(3, 23),\n underline: init(4, 24),\n inverse: init(7, 27),\n hidden: init(8, 28),\n strikethrough: init(9, 29),\n // colors\n black: init(30, 39),\n red: init(31, 39),\n green: init(32, 39),\n yellow: init(33, 39),\n blue: init(34, 39),\n magenta: init(35, 39),\n cyan: init(36, 39),\n white: init(37, 39),\n gray: init(90, 39),\n grey: init(90, 39),\n // background colors\n bgBlack: init(40, 49),\n bgRed: init(41, 49),\n bgGreen: init(42, 49),\n bgYellow: init(43, 49),\n bgBlue: init(44, 49),\n bgMagenta: init(45, 49),\n bgCyan: init(46, 49),\n bgWhite: init(47, 49)\n};\nfunction run(arr, str) {\n let i = 0, tmp, beg = \"\", end = \"\";\n for(; i < arr.length; i++){\n tmp = arr[i];\n beg += tmp.open;\n end += tmp.close;\n if (!!~str.indexOf(tmp.close)) {\n str = str.replace(tmp.rgx, tmp.close + tmp.open);\n }\n }\n return beg + str + end;\n}\nfunction chain(has, keys) {\n let ctx = {\n has,\n keys\n };\n ctx.reset = $.reset.bind(ctx);\n ctx.bold = $.bold.bind(ctx);\n ctx.dim = $.dim.bind(ctx);\n ctx.italic = $.italic.bind(ctx);\n ctx.underline = $.underline.bind(ctx);\n ctx.inverse = $.inverse.bind(ctx);\n ctx.hidden = $.hidden.bind(ctx);\n ctx.strikethrough = $.strikethrough.bind(ctx);\n ctx.black = $.black.bind(ctx);\n ctx.red = $.red.bind(ctx);\n ctx.green = $.green.bind(ctx);\n ctx.yellow = $.yellow.bind(ctx);\n ctx.blue = $.blue.bind(ctx);\n ctx.magenta = $.magenta.bind(ctx);\n ctx.cyan = $.cyan.bind(ctx);\n ctx.white = $.white.bind(ctx);\n ctx.gray = $.gray.bind(ctx);\n ctx.grey = $.grey.bind(ctx);\n ctx.bgBlack = $.bgBlack.bind(ctx);\n ctx.bgRed = $.bgRed.bind(ctx);\n ctx.bgGreen = $.bgGreen.bind(ctx);\n ctx.bgYellow = $.bgYellow.bind(ctx);\n ctx.bgBlue = $.bgBlue.bind(ctx);\n ctx.bgMagenta = $.bgMagenta.bind(ctx);\n ctx.bgCyan = $.bgCyan.bind(ctx);\n ctx.bgWhite = $.bgWhite.bind(ctx);\n return ctx;\n}\nfunction init(open, close) {\n let blk = {\n open: `\\x1b[${open}m`,\n close: `\\x1b[${close}m`,\n rgx: new RegExp(`\\\\x1b\\\\[${close}m`, \"g\")\n };\n return function(txt) {\n if (this !== void 0 && this.has !== void 0) {\n !!~this.has.indexOf(open) || (this.has.push(open), this.keys.push(blk));\n return txt === void 0 ? this : $.enabled ? run(this.keys, txt + \"\") : txt + \"\";\n }\n return txt === void 0 ? chain([\n open\n ], [\n blk\n ]) : $.enabled ? run([\n blk\n ], txt + \"\") : txt + \"\";\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ($);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMva2xldXIvaW5kZXgubWpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQTtBQUVBLElBQUlBLGFBQWFDLHFCQUFxQkMsVUFBVUMsTUFBTUMsUUFBTTtBQUM1RCxJQUFJLE9BQU9DLFlBQVksYUFBYTtJQUNsQyxHQUFFTCxXQUFXLEVBQUVDLG1CQUFtQixFQUFFQyxRQUFRLEVBQUVDLElBQUksRUFBRSxHQUFHRSxRQUFRQyxHQUFHLElBQUksQ0FBQztJQUN4RUYsUUFBUUMsUUFBUUUsTUFBTSxJQUFJRixRQUFRRSxNQUFNLENBQUNILEtBQUs7QUFDL0M7QUFFQSxNQUFNSSxJQUFJO0lBQ1RDLFNBQVMsQ0FBQ1IsdUJBQXVCQyxZQUFZLFFBQVFDLFNBQVMsVUFDN0RILENBQUFBLGVBQWUsUUFBUUEsZ0JBQ
|
||
|
|
|
||
|
|
/***/ })
|
||
|
|
|
||
|
|
};
|
||
|
|
;
|