{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nconst sync_1 = require(\"../readers/sync\");\nconst provider_1 = require(\"./provider\");\nclass ProviderSync extends provider_1.default {\n  constructor() {\n    super(...arguments);\n    this._reader = new sync_1.default(this._settings);\n  }\n  read(task) {\n    const root = this._getRootDirectory(task);\n    const options = this._getReaderOptions(task);\n    const entries = this.api(root, task, options);\n    return entries.map(options.transform);\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 = ProviderSync;","map":{"version":3,"names":["Object","defineProperty","exports","value","sync_1","require","provider_1","ProviderSync","default","constructor","arguments","_reader","_settings","read","task","root","_getRootDirectory","options","_getReaderOptions","entries","api","map","transform","dynamic","static","patterns"],"sources":["C:/Users/user/Desktop/000newport/node_modules/fast-glob/out/providers/sync.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst sync_1 = require(\"../readers/sync\");\nconst provider_1 = require(\"./provider\");\nclass ProviderSync extends provider_1.default {\n    constructor() {\n        super(...arguments);\n        this._reader = new sync_1.default(this._settings);\n    }\n    read(task) {\n        const root = this._getRootDirectory(task);\n        const options = this._getReaderOptions(task);\n        const entries = this.api(root, task, options);\n        return entries.map(options.transform);\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 = ProviderSync;\n"],"mappings":"AAAA,YAAY;;AACZA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7D,MAAMC,MAAM,GAAGC,OAAO,CAAC,iBAAiB,CAAC;AACzC,MAAMC,UAAU,GAAGD,OAAO,CAAC,YAAY,CAAC;AACxC,MAAME,YAAY,SAASD,UAAU,CAACE,OAAO,CAAC;EAC1CC,WAAWA,CAAA,EAAG;IACV,KAAK,CAAC,GAAGC,SAAS,CAAC;IACnB,IAAI,CAACC,OAAO,GAAG,IAAIP,MAAM,CAACI,OAAO,CAAC,IAAI,CAACI,SAAS,CAAC;EACrD;EACAC,IAAIA,CAACC,IAAI,EAAE;IACP,MAAMC,IAAI,GAAG,IAAI,CAACC,iBAAiB,CAACF,IAAI,CAAC;IACzC,MAAMG,OAAO,GAAG,IAAI,CAACC,iBAAiB,CAACJ,IAAI,CAAC;IAC5C,MAAMK,OAAO,GAAG,IAAI,CAACC,GAAG,CAACL,IAAI,EAAED,IAAI,EAAEG,OAAO,CAAC;IAC7C,OAAOE,OAAO,CAACE,GAAG,CAACJ,OAAO,CAACK,SAAS,CAAC;EACzC;EACAF,GAAGA,CAACL,IAAI,EAAED,IAAI,EAAEG,OAAO,EAAE;IACrB,IAAIH,IAAI,CAACS,OAAO,EAAE;MACd,OAAO,IAAI,CAACZ,OAAO,CAACY,OAAO,CAACR,IAAI,EAAEE,OAAO,CAAC;IAC9C;IACA,OAAO,IAAI,CAACN,OAAO,CAACa,MAAM,CAACV,IAAI,CAACW,QAAQ,EAAER,OAAO,CAAC;EACtD;AACJ;AACAf,OAAO,CAACM,OAAO,GAAGD,YAAY"},"metadata":{},"sourceType":"script","externalDependencies":[]}