{"version":3,"sources":["jsdelivr-header.js","/npm/postcss-remove-base@0.2.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACOA,SAAS,UAAW,GAChB,GAAI,EAAK,MAAO,CACZ,IAAI,EAAW,EAAK,MAChB,EAAO,GAIX,GAHA,EAAS,SAAQ,SAAU,GACJ,YAAf,EAAM,OAAoB,EAAO,EAAM,KAC/C,IACI,EAAK,MAAM,UAAW,OAAO,CACrC,CACA,OAAO,CACX,CAvBA,OAAO,QAAU,WACb,OAAO,SAAU,GACb,EAAK,MAAK,SAAU,GACE,SAAd,EAAK,MAAmB,UAAU,KAAU,EAAK,QAAQ,EAAK,SAChD,WAAd,EAAK,MACL,EAAK,MAAK,SAAU,GACE,SAAd,EAAK,MAAmB,UAAU,IAAO,EAAK,QACtD,GAER,GACJ,CACJ","file":"/npm/postcss-remove-base@0.2.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/postcss-remove-base@0.2.0/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","module.exports = function plugin () {\n    return function (root) {\n        root.each(function (rule) {\n            if (rule.type === 'rule' && checkBase(rule) && !rule.change) rule.remove()\n            if (rule.type === 'atrule') {\n                rule.each(function (node) {\n                    if (node.type === 'rule' && checkBase(node)) node.remove()\n                })\n            }\n        })\n    }\n}\n\nfunction checkBase (node) {\n    if (node.nodes) {\n        var children = node.nodes\n        var text = ''\n        children.forEach(function (child) {\n            if (child.type === 'comment') text = child.text\n        })\n        if (text.match(/\\@base/)) return true\n    }\n    return false\n}\n"]}