{"ast":null,"code":"'use strict';\n\nlet Warning = require('./warning');\nclass Result {\n  constructor(processor, root, opts) {\n    this.processor = processor;\n    this.messages = [];\n    this.root = root;\n    this.opts = opts;\n    this.css = undefined;\n    this.map = undefined;\n  }\n  get content() {\n    return this.css;\n  }\n  toString() {\n    return this.css;\n  }\n  warn(text, opts = {}) {\n    if (!opts.plugin) {\n      if (this.lastPlugin && this.lastPlugin.postcssPlugin) {\n        opts.plugin = this.lastPlugin.postcssPlugin;\n      }\n    }\n    let warning = new Warning(text, opts);\n    this.messages.push(warning);\n    return warning;\n  }\n  warnings() {\n    return this.messages.filter(i => i.type === 'warning');\n  }\n}\nmodule.exports = Result;\nResult.default = Result;","map":{"version":3,"names":["Warning","require","Result","constructor","processor","root","opts","messages","css","undefined","map","content","toString","warn","text","plugin","lastPlugin","postcssPlugin","warning","push","warnings","filter","i","type","module","exports","default"],"sources":["C:/Users/user/Desktop/000newport/node_modules/postcss/lib/result.js"],"sourcesContent":["'use strict'\n\nlet Warning = require('./warning')\n\nclass Result {\n  constructor(processor, root, opts) {\n    this.processor = processor\n    this.messages = []\n    this.root = root\n    this.opts = opts\n    this.css = undefined\n    this.map = undefined\n  }\n\n  get content() {\n    return this.css\n  }\n\n  toString() {\n    return this.css\n  }\n\n  warn(text, opts = {}) {\n    if (!opts.plugin) {\n      if (this.lastPlugin && this.lastPlugin.postcssPlugin) {\n        opts.plugin = this.lastPlugin.postcssPlugin\n      }\n    }\n\n    let warning = new Warning(text, opts)\n    this.messages.push(warning)\n\n    return warning\n  }\n\n  warnings() {\n    return this.messages.filter(i => i.type === 'warning')\n  }\n}\n\nmodule.exports = Result\nResult.default = Result\n"],"mappings":"AAAA,YAAY;;AAEZ,IAAIA,OAAO,GAAGC,OAAO,CAAC,WAAW,CAAC;AAElC,MAAMC,MAAM,CAAC;EACXC,WAAWA,CAACC,SAAS,EAAEC,IAAI,EAAEC,IAAI,EAAE;IACjC,IAAI,CAACF,SAAS,GAAGA,SAAS;IAC1B,IAAI,CAACG,QAAQ,GAAG,EAAE;IAClB,IAAI,CAACF,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACC,IAAI,GAAGA,IAAI;IAChB,IAAI,CAACE,GAAG,GAAGC,SAAS;IACpB,IAAI,CAACC,GAAG,GAAGD,SAAS;EACtB;EAEA,IAAIE,OAAOA,CAAA,EAAG;IACZ,OAAO,IAAI,CAACH,GAAG;EACjB;EAEAI,QAAQA,CAAA,EAAG;IACT,OAAO,IAAI,CAACJ,GAAG;EACjB;EAEAK,IAAIA,CAACC,IAAI,EAAER,IAAI,GAAG,CAAC,CAAC,EAAE;IACpB,IAAI,CAACA,IAAI,CAACS,MAAM,EAAE;MAChB,IAAI,IAAI,CAACC,UAAU,IAAI,IAAI,CAACA,UAAU,CAACC,aAAa,EAAE;QACpDX,IAAI,CAACS,MAAM,GAAG,IAAI,CAACC,UAAU,CAACC,aAAa;MAC7C;IACF;IAEA,IAAIC,OAAO,GAAG,IAAIlB,OAAO,CAACc,IAAI,EAAER,IAAI,CAAC;IACrC,IAAI,CAACC,QAAQ,CAACY,IAAI,CAACD,OAAO,CAAC;IAE3B,OAAOA,OAAO;EAChB;EAEAE,QAAQA,CAAA,EAAG;IACT,OAAO,IAAI,CAACb,QAAQ,CAACc,MAAM,CAACC,CAAC,IAAIA,CAAC,CAACC,IAAI,KAAK,SAAS,CAAC;EACxD;AACF;AAEAC,MAAM,CAACC,OAAO,GAAGvB,MAAM;AACvBA,MAAM,CAACwB,OAAO,GAAGxB,MAAM"},"metadata":{},"sourceType":"script","externalDependencies":[]}