File: //var/www/quadcode.com/node_modules/svelte/src/compiler/parse/read/css-tree-cq/css_tree_parse.js
// @ts-nocheck
import { fork } from 'css-tree';
import * as node from './node/index.js';
/**
* Extends `css-tree` for container query support by forking and adding new nodes and at-rule support for `@container`.
*
* The new nodes are located in `./node`.
*/
const cqSyntax = fork({
atrule: {
// extend or override at-rule dictionary
container: {
parse: {
prelude() {
return this.createSingleNodeList(this.ContainerQuery());
},
block(isStyleBlock = false) {
return this.Block(isStyleBlock);
}
}
}
},
node
});
export const parse = cqSyntax.parse;