{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nconst async_1 = require(\"../readers/async\");\nconst provider_1 = require(\"./provider\");\nclass ProviderAsync extends provider_1.default {\n  constructor() {\n    super(...arguments);\n    this._reader = new async_1.default(this._settings);\n  }\n  async read(task) {\n    const root = this._getRootDirectory(task);\n    const options = this._getReaderOptions(task);\n    const entries = await this.api(root, task, options);\n    return entries.map(entry => options.transform(entry));\n  }\n  api(root, task, options) {\n    if (task.dynamic) {\n      return this._reader.dynamic(root, options);\n    }\n    return this._reader.static(task.patterns, options);\n  }\n}\nexports.default = ProviderAsync;","map":{"version":3,"names":["Object","defineProperty","exports","value","async_1","require","provider_1","ProviderAsync","default","constructor","arguments","_reader","_settings","read","task","root","_getRootDirectory","options","_getReaderOptions","entries","api","map","entry","transform","dynamic","static","patterns"],"sources":["C:/Users/user/Desktop/000newport/node_modules/fast-glob/out/providers/async.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst async_1 = require(\"../readers/async\");\nconst provider_1 = require(\"./provider\");\nclass ProviderAsync extends provider_1.default {\n    constructor() {\n        super(...arguments);\n        this._reader = new async_1.default(this._settings);\n    }\n    async read(task) {\n        const root = this._getRootDirectory(task);\n        const options = this._getReaderOptions(task);\n        const entries = await this.api(root, task, options);\n        return entries.map((entry) => options.transform(entry));\n    }\n    api(root, task, options) {\n        if (task.dynamic) {\n            return this._reader.dynamic(root, options);\n        }\n        return this._reader.static(task.patterns, options);\n    }\n}\nexports.default = ProviderAsync;\n"],"mappings":"AAAA,YAAY;;AACZA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7D,MAAMC,OAAO,GAAGC,OAAO,CAAC,kBAAkB,CAAC;AAC3C,MAAMC,UAAU,GAAGD,OAAO,CAAC,YAAY,CAAC;AACxC,MAAME,aAAa,SAASD,UAAU,CAACE,OAAO,CAAC;EAC3CC,WAAWA,CAAA,EAAG;IACV,KAAK,CAAC,GAAGC,SAAS,CAAC;IACnB,IAAI,CAACC,OAAO,GAAG,IAAIP,OAAO,CAACI,OAAO,CAAC,IAAI,CAACI,SAAS,CAAC;EACtD;EACA,MAAMC,IAAIA,CAACC,IAAI,EAAE;IACb,MAAMC,IAAI,GAAG,IAAI,CAACC,iBAAiB,CAACF,IAAI,CAAC;IACzC,MAAMG,OAAO,GAAG,IAAI,CAACC,iBAAiB,CAACJ,IAAI,CAAC;IAC5C,MAAMK,OAAO,GAAG,MAAM,IAAI,CAACC,GAAG,CAACL,IAAI,EAAED,IAAI,EAAEG,OAAO,CAAC;IACnD,OAAOE,OAAO,CAACE,GAAG,CAAEC,KAAK,IAAKL,OAAO,CAACM,SAAS,CAACD,KAAK,CAAC,CAAC;EAC3D;EACAF,GAAGA,CAACL,IAAI,EAAED,IAAI,EAAEG,OAAO,EAAE;IACrB,IAAIH,IAAI,CAACU,OAAO,EAAE;MACd,OAAO,IAAI,CAACb,OAAO,CAACa,OAAO,CAACT,IAAI,EAAEE,OAAO,CAAC;IAC9C;IACA,OAAO,IAAI,CAACN,OAAO,CAACc,MAAM,CAACX,IAAI,CAACY,QAAQ,EAAET,OAAO,CAAC;EACtD;AACJ;AACAf,OAAO,CAACM,OAAO,GAAGD,aAAa"},"metadata":{},"sourceType":"script","externalDependencies":[]}