{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nObject.defineProperty(exports, \"findAtConfigPath\", {\n  enumerable: true,\n  get: function () {\n    return findAtConfigPath;\n  }\n});\nconst _fs = /*#__PURE__*/_interop_require_default(require(\"fs\"));\nconst _path = /*#__PURE__*/_interop_require_default(require(\"path\"));\nfunction _interop_require_default(obj) {\n  return obj && obj.__esModule ? obj : {\n    default: obj\n  };\n}\nfunction findAtConfigPath(root, result) {\n  let configPath = null;\n  let relativeTo = null;\n  root.walkAtRules(\"config\", rule => {\n    var _rule_source;\n    var _rule_source_input_file, _ref;\n    relativeTo = (_ref = (_rule_source_input_file = (_rule_source = rule.source) === null || _rule_source === void 0 ? void 0 : _rule_source.input.file) !== null && _rule_source_input_file !== void 0 ? _rule_source_input_file : result.opts.from) !== null && _ref !== void 0 ? _ref : null;\n    if (relativeTo === null) {\n      throw rule.error(\"The `@config` directive cannot be used without setting `from` in your PostCSS config.\");\n    }\n    if (configPath) {\n      throw rule.error(\"Only one `@config` directive is allowed per file.\");\n    }\n    let matches = rule.params.match(/(['\"])(.*?)\\1/);\n    if (!matches) {\n      throw rule.error(\"A path is required when using the `@config` directive.\");\n    }\n    let inputPath = matches[2];\n    if (_path.default.isAbsolute(inputPath)) {\n      throw rule.error(\"The `@config` directive cannot be used with an absolute path.\");\n    }\n    configPath = _path.default.resolve(_path.default.dirname(relativeTo), inputPath);\n    if (!_fs.default.existsSync(configPath)) {\n      throw rule.error(`The config file at \"${inputPath}\" does not exist. Make sure the path is correct and the file exists.`);\n    }\n    rule.remove();\n  });\n  return configPath ? configPath : null;\n}","map":{"version":3,"names":["Object","defineProperty","exports","value","enumerable","get","findAtConfigPath","_fs","_interop_require_default","require","_path","obj","__esModule","default","root","result","configPath","relativeTo","walkAtRules","rule","_rule_source","_rule_source_input_file","_ref","source","input","file","opts","from","error","matches","params","match","inputPath","isAbsolute","resolve","dirname","existsSync","remove"],"sources":["C:/Users/user/Desktop/000newport/node_modules/tailwindcss/lib/lib/findAtConfigPath.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n    value: true\n});\nObject.defineProperty(exports, \"findAtConfigPath\", {\n    enumerable: true,\n    get: function() {\n        return findAtConfigPath;\n    }\n});\nconst _fs = /*#__PURE__*/ _interop_require_default(require(\"fs\"));\nconst _path = /*#__PURE__*/ _interop_require_default(require(\"path\"));\nfunction _interop_require_default(obj) {\n    return obj && obj.__esModule ? obj : {\n        default: obj\n    };\n}\nfunction findAtConfigPath(root, result) {\n    let configPath = null;\n    let relativeTo = null;\n    root.walkAtRules(\"config\", (rule)=>{\n        var _rule_source;\n        var _rule_source_input_file, _ref;\n        relativeTo = (_ref = (_rule_source_input_file = (_rule_source = rule.source) === null || _rule_source === void 0 ? void 0 : _rule_source.input.file) !== null && _rule_source_input_file !== void 0 ? _rule_source_input_file : result.opts.from) !== null && _ref !== void 0 ? _ref : null;\n        if (relativeTo === null) {\n            throw rule.error(\"The `@config` directive cannot be used without setting `from` in your PostCSS config.\");\n        }\n        if (configPath) {\n            throw rule.error(\"Only one `@config` directive is allowed per file.\");\n        }\n        let matches = rule.params.match(/(['\"])(.*?)\\1/);\n        if (!matches) {\n            throw rule.error(\"A path is required when using the `@config` directive.\");\n        }\n        let inputPath = matches[2];\n        if (_path.default.isAbsolute(inputPath)) {\n            throw rule.error(\"The `@config` directive cannot be used with an absolute path.\");\n        }\n        configPath = _path.default.resolve(_path.default.dirname(relativeTo), inputPath);\n        if (!_fs.default.existsSync(configPath)) {\n            throw rule.error(`The config file at \"${inputPath}\" does not exist. Make sure the path is correct and the file exists.`);\n        }\n        rule.remove();\n    });\n    return configPath ? configPath : null;\n}\n"],"mappings":"AAAA,YAAY;;AACZA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EACzCC,KAAK,EAAE;AACX,CAAC,CAAC;AACFH,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,kBAAkB,EAAE;EAC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