{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;\nconst fs = require(\"fs\");\nconst os = require(\"os\");\n/**\n * The `os.cpus` method can return zero. We expect the number of cores to be greater than zero.\n * https://github.com/nodejs/node/blob/7faeddf23a98c53896f8b574a6e66589e8fb1eb8/lib/os.js#L106-L107\n */\nconst CPU_COUNT = Math.max(os.cpus().length, 1);\nexports.DEFAULT_FILE_SYSTEM_ADAPTER = {\n  lstat: fs.lstat,\n  lstatSync: fs.lstatSync,\n  stat: fs.stat,\n  statSync: fs.statSync,\n  readdir: fs.readdir,\n  readdirSync: fs.readdirSync\n};\nclass Settings {\n  constructor(_options = {}) {\n    this._options = _options;\n    this.absolute = this._getValue(this._options.absolute, false);\n    this.baseNameMatch = this._getValue(this._options.baseNameMatch, false);\n    this.braceExpansion = this._getValue(this._options.braceExpansion, true);\n    this.caseSensitiveMatch = this._getValue(this._options.caseSensitiveMatch, true);\n    this.concurrency = this._getValue(this._options.concurrency, CPU_COUNT);\n    this.cwd = this._getValue(this._options.cwd, process.cwd());\n    this.deep = this._getValue(this._options.deep, Infinity);\n    this.dot = this._getValue(this._options.dot, false);\n    this.extglob = this._getValue(this._options.extglob, true);\n    this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, true);\n    this.fs = this._getFileSystemMethods(this._options.fs);\n    this.globstar = this._getValue(this._options.globstar, true);\n    this.ignore = this._getValue(this._options.ignore, []);\n    this.markDirectories = this._getValue(this._options.markDirectories, false);\n    this.objectMode = this._getValue(this._options.objectMode, false);\n    this.onlyDirectories = this._getValue(this._options.onlyDirectories, false);\n    this.onlyFiles = this._getValue(this._options.onlyFiles, true);\n    this.stats = this._getValue(this._options.stats, false);\n    this.suppressErrors = this._getValue(this._options.suppressErrors, false);\n    this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, false);\n    this.unique = this._getValue(this._options.unique, true);\n    if (this.onlyDirectories) {\n      this.onlyFiles = false;\n    }\n    if (this.stats) {\n      this.objectMode = true;\n    }\n    // Remove the cast to the array in the next major (#404).\n    this.ignore = [].concat(this.ignore);\n  }\n  _getValue(option, value) {\n    return option === undefined ? value : option;\n  }\n  _getFileSystemMethods(methods = {}) {\n    return Object.assign(Object.assign({}, exports.DEFAULT_FILE_SYSTEM_ADAPTER), methods);\n  }\n}\nexports.default = Settings;","map":{"version":3,"names":["Object","defineProperty","exports","value","DEFAULT_FILE_SYSTEM_ADAPTER","fs","require","os","CPU_COUNT","Math","max","cpus","length","lstat","lstatSync","stat","statSync","readdir","readdirSync","Settings","constructor","_options","absolute","_getValue","baseNameMatch","braceExpansion","caseSensitiveMatch","concurrency","cwd","process","deep","Infinity","dot","extglob","followSymbolicLinks","_getFileSystemMethods","globstar","ignore","markDirectories","objectMode","onlyDirectories","onlyFiles","stats","suppressErrors","throwErrorOnBrokenSymbolicLink","unique","concat","option","undefined","methods","assign","default"],"sources":["C:/Users/user/Desktop/000newport/node_modules/fast-glob/out/settings.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;\nconst fs = require(\"fs\");\nconst os = require(\"os\");\n/**\n * The `os.cpus` method can return zero. We expect the number of cores to be greater than zero.\n * https://github.com/nodejs/node/blob/7faeddf23a98c53896f8b574a6e66589e8fb1eb8/lib/os.js#L106-L107\n */\nconst CPU_COUNT = Math.max(os.cpus().length, 1);\nexports.DEFAULT_FILE_SYSTEM_ADAPTER = {\n    lstat: fs.lstat,\n    lstatSync: fs.lstatSync,\n    stat: fs.stat,\n    statSync: fs.statSync,\n    readdir: fs.readdir,\n    readdirSync: fs.readdirSync\n};\nclass Settings {\n    constructor(_options = {}) {\n        this._options = _options;\n        this.absolute = this._getValue(this._options.absolute, false);\n        this.baseNameMatch = this._getValue(this._options.baseNameMatch, false);\n        this.braceExpansion = this._getValue(this._options.braceExpansion, true);\n        this.caseSensitiveMatch = this._getValue(this._options.caseSensitiveMatch, true);\n        this.concurrency = this._getValue(this._options.concurrency, CPU_COUNT);\n        this.cwd = this._getValue(this._options.cwd, process.cwd());\n        this.deep = this._getValue(this._options.deep, Infinity);\n        this.dot = this._getValue(this._options.dot, false);\n        this.extglob = this._getValue(this._options.extglob, true);\n        this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, true);\n        this.fs = this._getFileSystemMethods(this._options.fs);\n        this.globstar = this._getValue(this._options.globstar, true);\n        this.ignore = this._getValue(this._options.ignore, []);\n        this.markDirectories = this._getValue(this._options.markDirectories, false);\n        this.objectMode = this._getValue(this._options.objectMode, false);\n        this.onlyDirectories = this._getValue(this._options.onlyDirectories, false);\n        this.onlyFiles = this._getValue(this._options.onlyFiles, true);\n        this.stats = this._getValue(this._options.stats, false);\n        this.suppressErrors = this._getValue(this._options.suppressErrors, false);\n        this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, false);\n        this.unique = this._getValue(this._options.unique, true);\n        if (this.onlyDirectories) {\n            this.onlyFiles = false;\n        }\n        if (this.stats) {\n            this.objectMode = true;\n        }\n        // Remove the cast to the array in the next major (#404).\n        this.ignore = [].concat(this.ignore);\n    }\n    _getValue(option, value) {\n        return option === undefined ? value : option;\n    }\n    _getFileSystemMethods(methods = {}) {\n        return Object.assign(Object.assign({}, exports.DEFAULT_FILE_SYSTEM_ADAPTER), methods);\n    }\n}\nexports.default = Settings;\n"],"mappings":"AAAA,YAAY;;AACZA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,2BAA2B,GAAG,KAAK,CAAC;AAC5C,MAAMC,EAAE,GAAGC,OAAO,CAAC,IAAI,CAAC;AACxB,MAAMC,EAAE,GAAGD,OAAO,CAAC,IAAI,CAAC;AACxB;AACA;AACA;AACA;AACA,MAAME,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