{"version":3,"sources":["jsdelivr-header.js","/npm/tailwindcss-theming@3.0.0-beta.3/dist/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,IAAI,gBAAmB,MAAQ,KAAK,iBAAoB,SAAU,GAC9D,OAAQ,GAAO,EAAI,WAAc,EAAM,CAAE,QAAW,EACxD,EACA,MAAM,SAAW,gBAAgB,QAAQ,uBACnC,SAAW,QAAQ,YACnB,UAAY,QAAQ,aAC1B,OAAO,QAAU,SAAS,QAAQ,aAKlC,SAAU,GACN,MAAM,OAAE,EAAM,OAAE,EAAM,SAAE,EAAQ,OAAE,EAAM,SAAE,GAAa,SAAS,WAAW,GACrE,EAAU,SAAS,gBAAgB,EAAQ,GAEjD,OAAO,SAAU,GACb,IAAI,EAAI,EAIR,GAFA,UAAU,cAAc,EAAS,GAE7B,EAAS,CAET,MAAM,EAAM,EACP,YAA6C,QAAhC,EAAK,EAAQ,qBAAkC,IAAP,EAAgB,EAAK,GAC1E,UAAyC,QAA9B,EAAK,EAAQ,mBAAgC,IAAP,EAAgB,EAAK,GACtE,sBACL,UAAU,QAAQ,EAAS,EAC/B,CACJ,CACJ,IAKA,SAAU,GACN,MAAM,OAAE,EAAM,OAAE,GAAW,SAAS,WAAW,GACzC,EAAU,SAAS,gBAAgB,EAAQ,GAEjD,OAAO,EAAU,EAAQ,2BAA6B,CAAC,CAC3D","file":"/npm/tailwindcss-theming@3.0.0-beta.3/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.19.2.\n * Original file: /npm/tailwindcss-theming@3.0.0-beta.3/dist/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","\"use strict\";\r\nvar __importDefault = (this && this.__importDefault) || function (mod) {\r\n    return (mod && mod.__esModule) ? mod : { \"default\": mod };\r\n};\r\nconst plugin_1 = __importDefault(require(\"tailwindcss/plugin\"));\r\nconst plugin_2 = require(\"./plugin\");\r\nconst plugins_1 = require(\"./plugins\");\r\nmodule.exports = plugin_1.default.withOptions(\r\n/**\r\n * Returns the actual Tailwind plugin, and takes as parameters\r\n * the plugin's options.\r\n */\r\nfunction (options) {\r\n    const { themes, preset, variants, prefix, strategy } = plugin_2.getOptions(options);\r\n    const manager = plugin_2.getThemeManager(themes, preset);\r\n    // The Tailwind plugin.\r\n    return function (helpers) {\r\n        var _a, _b;\r\n        // Applies the scheme variant plugin\r\n        plugins_1.schemeVariant(helpers, variants);\r\n        // Applies the theming plugin\r\n        if (manager) {\r\n            // prettier-ignore\r\n            const css = manager\r\n                .setStrategy((_a = manager.getStrategy()) !== null && _a !== void 0 ? _a : strategy)\r\n                .setPrefix((_b = manager.getPrefix()) !== null && _b !== void 0 ? _b : prefix)\r\n                .getCssConfiguration();\r\n            plugins_1.theming(helpers, css);\r\n        }\r\n    };\r\n}, \r\n/**\r\n * Returns a configuration that replaces the user's Tailwind configuration.\r\n * Takes as parameters the plugin's options.\r\n */\r\nfunction (options) {\r\n    const { themes, preset } = plugin_2.getOptions(options);\r\n    const manager = plugin_2.getThemeManager(themes, preset);\r\n    // Overrides some of the user's configuration.\r\n    return manager ? manager.getTailwindConfiguration() : {};\r\n});\r\n"]}