{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nconst path = require(\"path\");\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst fs = require(\"./adapters/fs\");\nclass Settings {\n  constructor(_options = {}) {\n    this._options = _options;\n    this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);\n    this.fs = fs.createFileSystemAdapter(this._options.fs);\n    this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);\n    this.stats = this._getValue(this._options.stats, false);\n    this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);\n    this.fsStatSettings = new fsStat.Settings({\n      followSymbolicLink: this.followSymbolicLinks,\n      fs: this.fs,\n      throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink\n    });\n  }\n  _getValue(option, value) {\n    return option !== null && option !== void 0 ? option : value;\n  }\n}\nexports.default = Settings;","map":{"version":3,"names":["Object","defineProperty","exports","value","path","require","fsStat","fs","Settings","constructor","_options","followSymbolicLinks","_getValue","createFileSystemAdapter","pathSegmentSeparator","sep","stats","throwErrorOnBrokenSymbolicLink","fsStatSettings","followSymbolicLink","option","default"],"sources":["C:/Users/user/Desktop/000newport/node_modules/@nodelib/fs.scandir/out/settings.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst path = require(\"path\");\nconst fsStat = require(\"@nodelib/fs.stat\");\nconst fs = require(\"./adapters/fs\");\nclass Settings {\n    constructor(_options = {}) {\n        this._options = _options;\n        this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);\n        this.fs = fs.createFileSystemAdapter(this._options.fs);\n        this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);\n        this.stats = this._getValue(this._options.stats, false);\n        this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);\n        this.fsStatSettings = new fsStat.Settings({\n            followSymbolicLink: this.followSymbolicLinks,\n            fs: this.fs,\n            throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink\n        });\n    }\n    _getValue(option, value) {\n        return option !== null && option !== void 0 ? option : value;\n    }\n}\nexports.default = Settings;\n"],"mappings":"AAAA,YAAY;;AACZA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7D,MAAMC,IAAI,GAAGC,OAAO,CAAC,MAAM,CAAC;AAC5B,MAAMC,MAAM,GAAGD,OAAO,CAAC,kBAAkB,CAAC;AAC1C,MAAME,EAAE,GAAGF,OAAO,CAAC,eAAe,CAAC;AACnC,MAAMG,QAAQ,CAAC;EACXC,WAAWA,CAACC,QAAQ,GAAG,CAAC,CAAC,EAAE;IACvB,IAAI,CAACA,QAAQ,GAAGA,QAAQ;IACxB,IAAI,CAACC,mBAAmB,GAAG,IAAI,CAACC,SAAS,CAAC,IAAI,CAACF,QAAQ,CAACC,mBAAmB,EAAE,KAAK,CAAC;IACnF,IAAI,CAACJ,EAAE,GAAGA,EAAE,CAACM,uBAAuB,CAAC,IAAI,CAACH,QAAQ,CAACH,EAAE,CAAC;IACtD,IAAI,CAACO,oBAAoB,GAAG,IAAI,CAACF,SAAS,CAAC,IAAI,CAACF,QAAQ,CAACI,oBAAoB,EAAEV,IAAI,CAACW,GAAG,CAAC;IACxF,IAAI,CAACC,KAAK,GAAG,IAAI,CAACJ,SAAS,CAAC,IAAI,CAACF,QAAQ,CAACM,KAAK,EAAE,KAAK,CAAC;IACvD,IAAI,CAACC,8BAA8B,GAAG,IAAI,CAACL,SAAS,CAAC,IAAI,CAACF,QAAQ,CAACO,8BAA8B,EAAE,IAAI,CAAC;IACxG,IAAI,CAACC,cAAc,GAAG,IAAIZ,MAAM,CAACE,QAAQ,CAAC;MACtCW,kBAAkB,EAAE,IAAI,CAACR,mBAAmB;MAC5CJ,EAAE,EAAE,IAAI,CAACA,EAAE;MAC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