dep-a9015192.js 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823
  1. 'use strict';
  2. var path$3 = require('path');
  3. var resolve$2 = require('resolve');
  4. var fs$1 = require('fs');
  5. var index$1 = require('./dep-2056ae8a.js');
  6. function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e["default"] : e; }
  7. function _mergeNamespaces(n, m) {
  8. for (var i = 0; i < m.length; i++) {
  9. var e = m[i];
  10. if (typeof e !== 'string' && !Array.isArray(e)) { for (var k in e) {
  11. if (k !== 'default' && !(k in n)) {
  12. n[k] = e[k];
  13. }
  14. } }
  15. }
  16. return n;
  17. }
  18. var path__default = /*#__PURE__*/_interopDefaultLegacy(path$3);
  19. var resolve__default = /*#__PURE__*/_interopDefaultLegacy(resolve$2);
  20. var fs__default = /*#__PURE__*/_interopDefaultLegacy(fs$1);
  21. var joinMedia$1 = function (parentMedia, childMedia) {
  22. if (!parentMedia.length && childMedia.length) return childMedia
  23. if (parentMedia.length && !childMedia.length) return parentMedia
  24. if (!parentMedia.length && !childMedia.length) return []
  25. const media = [];
  26. parentMedia.forEach(parentItem => {
  27. childMedia.forEach(childItem => {
  28. if (parentItem !== childItem) media.push(`${parentItem} and ${childItem}`);
  29. });
  30. });
  31. return media
  32. };
  33. var joinLayer$1 = function (parentLayer, childLayer) {
  34. if (!parentLayer.length && childLayer.length) return childLayer
  35. if (parentLayer.length && !childLayer.length) return parentLayer
  36. if (!parentLayer.length && !childLayer.length) return []
  37. return parentLayer.concat(childLayer)
  38. };
  39. // external tooling
  40. const resolve$1 = resolve__default;
  41. const moduleDirectories = ["web_modules", "node_modules"];
  42. function resolveModule(id, opts) {
  43. return new Promise((res, rej) => {
  44. resolve$1(id, opts, (err, path) => (err ? rej(err) : res(path)));
  45. })
  46. }
  47. var resolveId$1 = function (id, base, options) {
  48. const paths = options.path;
  49. const resolveOpts = {
  50. basedir: base,
  51. moduleDirectory: moduleDirectories.concat(options.addModulesDirectories),
  52. paths,
  53. extensions: [".css"],
  54. packageFilter: function processPackage(pkg) {
  55. if (pkg.style) pkg.main = pkg.style;
  56. else if (!pkg.main || !/\.css$/.test(pkg.main)) pkg.main = "index.css";
  57. return pkg
  58. },
  59. preserveSymlinks: false,
  60. };
  61. return resolveModule(`./${id}`, resolveOpts)
  62. .catch(() => resolveModule(id, resolveOpts))
  63. .catch(() => {
  64. if (paths.indexOf(base) === -1) paths.unshift(base);
  65. throw new Error(
  66. `Failed to find '${id}'
  67. in [
  68. ${paths.join(",\n ")}
  69. ]`
  70. )
  71. })
  72. };
  73. var readCache$1 = {exports: {}};
  74. var pify$2 = {exports: {}};
  75. var processFn = function (fn, P, opts) {
  76. return function () {
  77. var that = this;
  78. var args = new Array(arguments.length);
  79. for (var i = 0; i < arguments.length; i++) {
  80. args[i] = arguments[i];
  81. }
  82. return new P(function (resolve, reject) {
  83. args.push(function (err, result) {
  84. if (err) {
  85. reject(err);
  86. } else if (opts.multiArgs) {
  87. var results = new Array(arguments.length - 1);
  88. for (var i = 1; i < arguments.length; i++) {
  89. results[i - 1] = arguments[i];
  90. }
  91. resolve(results);
  92. } else {
  93. resolve(result);
  94. }
  95. });
  96. fn.apply(that, args);
  97. });
  98. };
  99. };
  100. var pify$1 = pify$2.exports = function (obj, P, opts) {
  101. if (typeof P !== 'function') {
  102. opts = P;
  103. P = Promise;
  104. }
  105. opts = opts || {};
  106. opts.exclude = opts.exclude || [/.+Sync$/];
  107. var filter = function (key) {
  108. var match = function (pattern) {
  109. return typeof pattern === 'string' ? key === pattern : pattern.test(key);
  110. };
  111. return opts.include ? opts.include.some(match) : !opts.exclude.some(match);
  112. };
  113. var ret = typeof obj === 'function' ? function () {
  114. if (opts.excludeMain) {
  115. return obj.apply(this, arguments);
  116. }
  117. return processFn(obj, P, opts).apply(this, arguments);
  118. } : {};
  119. return Object.keys(obj).reduce(function (ret, key) {
  120. var x = obj[key];
  121. ret[key] = typeof x === 'function' && filter(key) ? processFn(x, P, opts) : x;
  122. return ret;
  123. }, ret);
  124. };
  125. pify$1.all = pify$1;
  126. var fs = fs__default;
  127. var path$2 = path__default;
  128. var pify = pify$2.exports;
  129. var stat = pify(fs.stat);
  130. var readFile = pify(fs.readFile);
  131. var resolve = path$2.resolve;
  132. var cache = Object.create(null);
  133. function convert(content, encoding) {
  134. if (Buffer.isEncoding(encoding)) {
  135. return content.toString(encoding);
  136. }
  137. return content;
  138. }
  139. readCache$1.exports = function (path, encoding) {
  140. path = resolve(path);
  141. return stat(path).then(function (stats) {
  142. var item = cache[path];
  143. if (item && item.mtime.getTime() === stats.mtime.getTime()) {
  144. return convert(item.content, encoding);
  145. }
  146. return readFile(path).then(function (data) {
  147. cache[path] = {
  148. mtime: stats.mtime,
  149. content: data
  150. };
  151. return convert(data, encoding);
  152. });
  153. }).catch(function (err) {
  154. cache[path] = null;
  155. return Promise.reject(err);
  156. });
  157. };
  158. readCache$1.exports.sync = function (path, encoding) {
  159. path = resolve(path);
  160. try {
  161. var stats = fs.statSync(path);
  162. var item = cache[path];
  163. if (item && item.mtime.getTime() === stats.mtime.getTime()) {
  164. return convert(item.content, encoding);
  165. }
  166. var data = fs.readFileSync(path);
  167. cache[path] = {
  168. mtime: stats.mtime,
  169. content: data
  170. };
  171. return convert(data, encoding);
  172. } catch (err) {
  173. cache[path] = null;
  174. throw err;
  175. }
  176. };
  177. readCache$1.exports.get = function (path, encoding) {
  178. path = resolve(path);
  179. if (cache[path]) {
  180. return convert(cache[path].content, encoding);
  181. }
  182. return null;
  183. };
  184. readCache$1.exports.clear = function () {
  185. cache = Object.create(null);
  186. };
  187. const readCache = readCache$1.exports;
  188. var loadContent$1 = filename => readCache(filename, "utf-8");
  189. // builtin tooling
  190. const path$1 = path__default;
  191. // placeholder tooling
  192. let sugarss;
  193. var processContent$1 = function processContent(
  194. result,
  195. content,
  196. filename,
  197. options,
  198. postcss
  199. ) {
  200. const { plugins } = options;
  201. const ext = path$1.extname(filename);
  202. const parserList = [];
  203. // SugarSS support:
  204. if (ext === ".sss") {
  205. if (!sugarss) {
  206. try {
  207. sugarss = eval('require')('sugarss');
  208. } catch {} // Ignore
  209. }
  210. if (sugarss)
  211. return runPostcss(postcss, content, filename, plugins, [sugarss])
  212. }
  213. // Syntax support:
  214. if (result.opts.syntax && result.opts.syntax.parse) {
  215. parserList.push(result.opts.syntax.parse);
  216. }
  217. // Parser support:
  218. if (result.opts.parser) parserList.push(result.opts.parser);
  219. // Try the default as a last resort:
  220. parserList.push(null);
  221. return runPostcss(postcss, content, filename, plugins, parserList)
  222. };
  223. function runPostcss(postcss, content, filename, plugins, parsers, index) {
  224. if (!index) index = 0;
  225. return postcss(plugins)
  226. .process(content, {
  227. from: filename,
  228. parser: parsers[index],
  229. })
  230. .catch(err => {
  231. // If there's an error, try the next parser
  232. index++;
  233. // If there are no parsers left, throw it
  234. if (index === parsers.length) throw err
  235. return runPostcss(postcss, content, filename, plugins, parsers, index)
  236. })
  237. }
  238. // external tooling
  239. const valueParser = index$1.lib;
  240. // extended tooling
  241. const { stringify } = valueParser;
  242. function split(params, start) {
  243. const list = [];
  244. const last = params.reduce((item, node, index) => {
  245. if (index < start) return ""
  246. if (node.type === "div" && node.value === ",") {
  247. list.push(item);
  248. return ""
  249. }
  250. return item + stringify(node)
  251. }, "");
  252. list.push(last);
  253. return list
  254. }
  255. var parseStatements$1 = function (result, styles) {
  256. const statements = [];
  257. let nodes = [];
  258. styles.each(node => {
  259. let stmt;
  260. if (node.type === "atrule") {
  261. if (node.name === "import") stmt = parseImport(result, node);
  262. else if (node.name === "media") stmt = parseMedia(result, node);
  263. else if (node.name === "charset") stmt = parseCharset(result, node);
  264. }
  265. if (stmt) {
  266. if (nodes.length) {
  267. statements.push({
  268. type: "nodes",
  269. nodes,
  270. media: [],
  271. layer: [],
  272. });
  273. nodes = [];
  274. }
  275. statements.push(stmt);
  276. } else nodes.push(node);
  277. });
  278. if (nodes.length) {
  279. statements.push({
  280. type: "nodes",
  281. nodes,
  282. media: [],
  283. layer: [],
  284. });
  285. }
  286. return statements
  287. };
  288. function parseMedia(result, atRule) {
  289. const params = valueParser(atRule.params).nodes;
  290. return {
  291. type: "media",
  292. node: atRule,
  293. media: split(params, 0),
  294. layer: [],
  295. }
  296. }
  297. function parseCharset(result, atRule) {
  298. if (atRule.prev()) {
  299. return result.warn("@charset must precede all other statements", {
  300. node: atRule,
  301. })
  302. }
  303. return {
  304. type: "charset",
  305. node: atRule,
  306. media: [],
  307. layer: [],
  308. }
  309. }
  310. function parseImport(result, atRule) {
  311. let prev = atRule.prev();
  312. if (prev) {
  313. do {
  314. if (
  315. prev.type !== "comment" &&
  316. (prev.type !== "atrule" ||
  317. (prev.name !== "import" &&
  318. prev.name !== "charset" &&
  319. !(prev.name === "layer" && !prev.nodes)))
  320. ) {
  321. return result.warn(
  322. "@import must precede all other statements (besides @charset or empty @layer)",
  323. { node: atRule }
  324. )
  325. }
  326. prev = prev.prev();
  327. } while (prev)
  328. }
  329. if (atRule.nodes) {
  330. return result.warn(
  331. "It looks like you didn't end your @import statement correctly. " +
  332. "Child nodes are attached to it.",
  333. { node: atRule }
  334. )
  335. }
  336. const params = valueParser(atRule.params).nodes;
  337. const stmt = {
  338. type: "import",
  339. node: atRule,
  340. media: [],
  341. layer: [],
  342. };
  343. // prettier-ignore
  344. if (
  345. !params.length ||
  346. (
  347. params[0].type !== "string" ||
  348. !params[0].value
  349. ) &&
  350. (
  351. params[0].type !== "function" ||
  352. params[0].value !== "url" ||
  353. !params[0].nodes.length ||
  354. !params[0].nodes[0].value
  355. )
  356. ) {
  357. return result.warn(`Unable to find uri in '${ atRule.toString() }'`, {
  358. node: atRule,
  359. })
  360. }
  361. if (params[0].type === "string") stmt.uri = params[0].value;
  362. else stmt.uri = params[0].nodes[0].value;
  363. stmt.fullUri = stringify(params[0]);
  364. let remainder = params;
  365. if (remainder.length > 2) {
  366. if (
  367. (remainder[2].type === "word" || remainder[2].type === "function") &&
  368. remainder[2].value === "layer"
  369. ) {
  370. if (remainder[1].type !== "space") {
  371. return result.warn("Invalid import layer statement", { node: atRule })
  372. }
  373. if (remainder[2].nodes) {
  374. stmt.layer = [stringify(remainder[2].nodes)];
  375. } else {
  376. stmt.layer = [""];
  377. }
  378. remainder = remainder.slice(2);
  379. }
  380. }
  381. if (remainder.length > 2) {
  382. if (remainder[1].type !== "space") {
  383. return result.warn("Invalid import media statement", { node: atRule })
  384. }
  385. stmt.media = split(remainder, 2);
  386. }
  387. return stmt
  388. }
  389. // builtin tooling
  390. const path = path__default;
  391. // internal tooling
  392. const joinMedia = joinMedia$1;
  393. const joinLayer = joinLayer$1;
  394. const resolveId = resolveId$1;
  395. const loadContent = loadContent$1;
  396. const processContent = processContent$1;
  397. const parseStatements = parseStatements$1;
  398. function AtImport(options) {
  399. options = {
  400. root: process.cwd(),
  401. path: [],
  402. skipDuplicates: true,
  403. resolve: resolveId,
  404. load: loadContent,
  405. plugins: [],
  406. addModulesDirectories: [],
  407. ...options,
  408. };
  409. options.root = path.resolve(options.root);
  410. // convert string to an array of a single element
  411. if (typeof options.path === "string") options.path = [options.path];
  412. if (!Array.isArray(options.path)) options.path = [];
  413. options.path = options.path.map(p => path.resolve(options.root, p));
  414. return {
  415. postcssPlugin: "postcss-import",
  416. Once(styles, { result, atRule, postcss }) {
  417. const state = {
  418. importedFiles: {},
  419. hashFiles: {},
  420. };
  421. if (styles.source && styles.source.input && styles.source.input.file) {
  422. state.importedFiles[styles.source.input.file] = {};
  423. }
  424. if (options.plugins && !Array.isArray(options.plugins)) {
  425. throw new Error("plugins option must be an array")
  426. }
  427. return parseStyles(result, styles, options, state, [], []).then(
  428. bundle => {
  429. applyRaws(bundle);
  430. applyMedia(bundle);
  431. applyStyles(bundle, styles);
  432. }
  433. )
  434. function applyRaws(bundle) {
  435. bundle.forEach((stmt, index) => {
  436. if (index === 0) return
  437. if (stmt.parent) {
  438. const { before } = stmt.parent.node.raws;
  439. if (stmt.type === "nodes") stmt.nodes[0].raws.before = before;
  440. else stmt.node.raws.before = before;
  441. } else if (stmt.type === "nodes") {
  442. stmt.nodes[0].raws.before = stmt.nodes[0].raws.before || "\n";
  443. }
  444. });
  445. }
  446. function applyMedia(bundle) {
  447. bundle.forEach(stmt => {
  448. if (
  449. (!stmt.media.length && !stmt.layer.length) ||
  450. stmt.type === "charset"
  451. ) {
  452. return
  453. }
  454. if (stmt.type === "import") {
  455. stmt.node.params = `${stmt.fullUri} ${stmt.media.join(", ")}`;
  456. } else if (stmt.type === "media") {
  457. stmt.node.params = stmt.media.join(", ");
  458. } else {
  459. const { nodes } = stmt;
  460. const { parent } = nodes[0];
  461. let outerAtRule;
  462. let innerAtRule;
  463. if (stmt.media.length && stmt.layer.length) {
  464. const mediaNode = atRule({
  465. name: "media",
  466. params: stmt.media.join(", "),
  467. source: parent.source,
  468. });
  469. const layerNode = atRule({
  470. name: "layer",
  471. params: stmt.layer.filter(layer => layer !== "").join("."),
  472. source: parent.source,
  473. });
  474. mediaNode.append(layerNode);
  475. innerAtRule = layerNode;
  476. outerAtRule = mediaNode;
  477. } else if (stmt.media.length) {
  478. const mediaNode = atRule({
  479. name: "media",
  480. params: stmt.media.join(", "),
  481. source: parent.source,
  482. });
  483. innerAtRule = mediaNode;
  484. outerAtRule = mediaNode;
  485. } else if (stmt.layer.length) {
  486. const layerNode = atRule({
  487. name: "layer",
  488. params: stmt.layer.filter(layer => layer !== "").join("."),
  489. source: parent.source,
  490. });
  491. innerAtRule = layerNode;
  492. outerAtRule = layerNode;
  493. }
  494. parent.insertBefore(nodes[0], outerAtRule);
  495. // remove nodes
  496. nodes.forEach(node => {
  497. node.parent = undefined;
  498. });
  499. // better output
  500. nodes[0].raws.before = nodes[0].raws.before || "\n";
  501. // wrap new rules with media query and/or layer at rule
  502. innerAtRule.append(nodes);
  503. stmt.type = "media";
  504. stmt.node = outerAtRule;
  505. delete stmt.nodes;
  506. }
  507. });
  508. }
  509. function applyStyles(bundle, styles) {
  510. styles.nodes = [];
  511. // Strip additional statements.
  512. bundle.forEach(stmt => {
  513. if (["charset", "import", "media"].includes(stmt.type)) {
  514. stmt.node.parent = undefined;
  515. styles.append(stmt.node);
  516. } else if (stmt.type === "nodes") {
  517. stmt.nodes.forEach(node => {
  518. node.parent = undefined;
  519. styles.append(node);
  520. });
  521. }
  522. });
  523. }
  524. function parseStyles(result, styles, options, state, media, layer) {
  525. const statements = parseStatements(result, styles);
  526. return Promise.resolve(statements)
  527. .then(stmts => {
  528. // process each statement in series
  529. return stmts.reduce((promise, stmt) => {
  530. return promise.then(() => {
  531. stmt.media = joinMedia(media, stmt.media || []);
  532. stmt.layer = joinLayer(layer, stmt.layer || []);
  533. // skip protocol base uri (protocol://url) or protocol-relative
  534. if (
  535. stmt.type !== "import" ||
  536. /^(?:[a-z]+:)?\/\//i.test(stmt.uri)
  537. ) {
  538. return
  539. }
  540. if (options.filter && !options.filter(stmt.uri)) {
  541. // rejected by filter
  542. return
  543. }
  544. return resolveImportId(result, stmt, options, state)
  545. })
  546. }, Promise.resolve())
  547. })
  548. .then(() => {
  549. let charset;
  550. const imports = [];
  551. const bundle = [];
  552. function handleCharset(stmt) {
  553. if (!charset) charset = stmt;
  554. // charsets aren't case-sensitive, so convert to lower case to compare
  555. else if (
  556. stmt.node.params.toLowerCase() !==
  557. charset.node.params.toLowerCase()
  558. ) {
  559. throw new Error(
  560. `Incompatable @charset statements:
  561. ${stmt.node.params} specified in ${stmt.node.source.input.file}
  562. ${charset.node.params} specified in ${charset.node.source.input.file}`
  563. )
  564. }
  565. }
  566. // squash statements and their children
  567. statements.forEach(stmt => {
  568. if (stmt.type === "charset") handleCharset(stmt);
  569. else if (stmt.type === "import") {
  570. if (stmt.children) {
  571. stmt.children.forEach((child, index) => {
  572. if (child.type === "import") imports.push(child);
  573. else if (child.type === "charset") handleCharset(child);
  574. else bundle.push(child);
  575. // For better output
  576. if (index === 0) child.parent = stmt;
  577. });
  578. } else imports.push(stmt);
  579. } else if (stmt.type === "media" || stmt.type === "nodes") {
  580. bundle.push(stmt);
  581. }
  582. });
  583. return charset
  584. ? [charset, ...imports.concat(bundle)]
  585. : imports.concat(bundle)
  586. })
  587. }
  588. function resolveImportId(result, stmt, options, state) {
  589. const atRule = stmt.node;
  590. let sourceFile;
  591. if (atRule.source && atRule.source.input && atRule.source.input.file) {
  592. sourceFile = atRule.source.input.file;
  593. }
  594. const base = sourceFile
  595. ? path.dirname(atRule.source.input.file)
  596. : options.root;
  597. return Promise.resolve(options.resolve(stmt.uri, base, options))
  598. .then(paths => {
  599. if (!Array.isArray(paths)) paths = [paths];
  600. // Ensure that each path is absolute:
  601. return Promise.all(
  602. paths.map(file => {
  603. return !path.isAbsolute(file)
  604. ? resolveId(file, base, options)
  605. : file
  606. })
  607. )
  608. })
  609. .then(resolved => {
  610. // Add dependency messages:
  611. resolved.forEach(file => {
  612. result.messages.push({
  613. type: "dependency",
  614. plugin: "postcss-import",
  615. file,
  616. parent: sourceFile,
  617. });
  618. });
  619. return Promise.all(
  620. resolved.map(file => {
  621. return loadImportContent(result, stmt, file, options, state)
  622. })
  623. )
  624. })
  625. .then(result => {
  626. // Merge loaded statements
  627. stmt.children = result.reduce((result, statements) => {
  628. return statements ? result.concat(statements) : result
  629. }, []);
  630. })
  631. }
  632. function loadImportContent(result, stmt, filename, options, state) {
  633. const atRule = stmt.node;
  634. const { media, layer } = stmt;
  635. if (options.skipDuplicates) {
  636. // skip files already imported at the same scope
  637. if (
  638. state.importedFiles[filename] &&
  639. state.importedFiles[filename][media]
  640. ) {
  641. return
  642. }
  643. // save imported files to skip them next time
  644. if (!state.importedFiles[filename]) state.importedFiles[filename] = {};
  645. state.importedFiles[filename][media] = true;
  646. }
  647. return Promise.resolve(options.load(filename, options)).then(
  648. content => {
  649. if (content.trim() === "") {
  650. result.warn(`${filename} is empty`, { node: atRule });
  651. return
  652. }
  653. // skip previous imported files not containing @import rules
  654. if (state.hashFiles[content] && state.hashFiles[content][media])
  655. return
  656. return processContent(
  657. result,
  658. content,
  659. filename,
  660. options,
  661. postcss
  662. ).then(importedResult => {
  663. const styles = importedResult.root;
  664. result.messages = result.messages.concat(importedResult.messages);
  665. if (options.skipDuplicates) {
  666. const hasImport = styles.some(child => {
  667. return child.type === "atrule" && child.name === "import"
  668. });
  669. if (!hasImport) {
  670. // save hash files to skip them next time
  671. if (!state.hashFiles[content]) state.hashFiles[content] = {};
  672. state.hashFiles[content][media] = true;
  673. }
  674. }
  675. // recursion: import @import from imported file
  676. return parseStyles(result, styles, options, state, media, layer)
  677. })
  678. }
  679. )
  680. }
  681. },
  682. }
  683. }
  684. AtImport.postcss = true;
  685. var postcssImport = AtImport;
  686. var index = /*#__PURE__*/_mergeNamespaces({
  687. __proto__: null,
  688. 'default': postcssImport
  689. }, [postcssImport]);
  690. exports.index = index;