import { __module as dist } from "../../../../_virtual/index7.js";
var hasRequiredDist;
function requireDist() {
  if (hasRequiredDist)
    return dist.exports;
  hasRequiredDist = 1;
  (function(module) {
    function $parcel$defineInteropFlag(a) {
      Object.defineProperty(a, "__esModule", { value: true, configurable: true });
    }
    function $parcel$exportWildcard(dest, source) {
      Object.keys(source).forEach(function(key) {
        if (key === "default" || key === "__esModule" || Object.prototype.hasOwnProperty.call(dest, key)) {
          return;
        }
        Object.defineProperty(dest, key, {
          enumerable: true,
          get: function get() {
            return source[key];
          }
        });
      });
      return dest;
    }
    function $parcel$export(e, n, v, s) {
      Object.defineProperty(e, n, { get: v, set: s, enumerable: true, configurable: true });
    }
    $parcel$defineInteropFlag(module.exports);
    $parcel$export(module.exports, "parse", () => $882b6d93070905b3$export$98e6a39c04603d36);
    $parcel$export(module.exports, "stringify", () => $882b6d93070905b3$export$fac44ee5b035f737);
    $parcel$export(module.exports, "default", () => $882b6d93070905b3$export$2e2bcd8739ae039);
    var $cb508b9219b02820$exports = {};
    $parcel$defineInteropFlag($cb508b9219b02820$exports);
    $parcel$export($cb508b9219b02820$exports, "default", () => $cb508b9219b02820$export$2e2bcd8739ae039);
    class $cb508b9219b02820$export$2e2bcd8739ae039 extends Error {
      constructor(filename, msg, lineno, column, css) {
        super(filename + ":" + lineno + ":" + column + ": " + msg);
        this.reason = msg;
        this.filename = filename;
        this.line = lineno;
        this.column = column;
        this.source = css;
      }
    }
    var $4bafb28828007b46$exports = {};
    $parcel$defineInteropFlag($4bafb28828007b46$exports);
    $parcel$export($4bafb28828007b46$exports, "default", () => $4bafb28828007b46$export$2e2bcd8739ae039);
    class $4bafb28828007b46$export$2e2bcd8739ae039 {
      constructor(start, end, source) {
        this.start = start;
        this.end = end;
        this.source = source;
      }
    }
    var $d103407e81c97042$exports = {};
    $parcel$export($d103407e81c97042$exports, "CssTypes", () => $d103407e81c97042$export$9be5dd6e61d5d73a);
    var $d103407e81c97042$export$9be5dd6e61d5d73a = /* @__PURE__ */ function(CssTypes) {
      CssTypes["stylesheet"] = "stylesheet";
      CssTypes["rule"] = "rule";
      CssTypes["declaration"] = "declaration";
      CssTypes["comment"] = "comment";
      CssTypes["container"] = "container";
      CssTypes["charset"] = "charset";
      CssTypes["document"] = "document";
      CssTypes["customMedia"] = "custom-media";
      CssTypes["fontFace"] = "font-face";
      CssTypes["host"] = "host";
      CssTypes["import"] = "import";
      CssTypes["keyframes"] = "keyframes";
      CssTypes["keyframe"] = "keyframe";
      CssTypes["layer"] = "layer";
      CssTypes["media"] = "media";
      CssTypes["namespace"] = "namespace";
      CssTypes["page"] = "page";
      CssTypes["startingStyle"] = "starting-style";
      CssTypes["supports"] = "supports";
      return CssTypes;
    }({});
    const $b499486c7f02abe7$var$commentre = /\/\*[^]*?(?:\*\/|$)/g;
    const $b499486c7f02abe7$export$98e6a39c04603d36 = (css, options) => {
      options = options || {};
      let lineno = 1;
      let column = 1;
      function updatePosition(str) {
        const lines = str.match(/\n/g);
        if (lines)
          lineno += lines.length;
        const i = str.lastIndexOf("\n");
        column = ~i ? str.length - i : column + str.length;
      }
      function position() {
        const start = {
          line: lineno,
          column
        };
        return function(node) {
          node.position = new $4bafb28828007b46$export$2e2bcd8739ae039(start, {
            line: lineno,
            column
          }, (options == null ? void 0 : options.source) || "");
          whitespace();
          return node;
        };
      }
      const errorsList = [];
      function error(msg) {
        const err = new $cb508b9219b02820$export$2e2bcd8739ae039((options == null ? void 0 : options.source) || "", msg, lineno, column, css);
        if (options == null ? void 0 : options.silent)
          errorsList.push(err);
        else
          throw err;
      }
      function stylesheet() {
        const rulesList = rules();
        const result = {
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.stylesheet,
          stylesheet: {
            source: options == null ? void 0 : options.source,
            rules: rulesList,
            parsingErrors: errorsList
          }
        };
        return result;
      }
      function open() {
        return match(/^{\s*/);
      }
      function close() {
        return match(/^}/);
      }
      function rules() {
        let node;
        const rules2 = [];
        whitespace();
        comments(rules2);
        while (css.length && css.charAt(0) !== "}" && (node = atrule() || rule()))
          if (node) {
            rules2.push(node);
            comments(rules2);
          }
        return rules2;
      }
      function match(re) {
        const m = re.exec(css);
        if (!m)
          return;
        const str = m[0];
        updatePosition(str);
        css = css.slice(str.length);
        return m;
      }
      function whitespace() {
        match(/^\s*/);
      }
      function comments(rules2) {
        let c;
        rules2 = rules2 || [];
        while (c = comment())
          if (c)
            rules2.push(c);
        return rules2;
      }
      function comment() {
        const pos = position();
        if ("/" !== css.charAt(0) || "*" !== css.charAt(1))
          return;
        const m = match(/^\/\*[^]*?\*\//);
        if (!m)
          return error("End of comment missing");
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.comment,
          comment: m[0].slice(2, -2)
        });
      }
      function findClosingParenthese(str, start, depth) {
        let ptr = start + 1;
        let found = false;
        let closeParentheses = str.indexOf(")", ptr);
        while (!found && closeParentheses !== -1) {
          const nextParentheses = str.indexOf("(", ptr);
          if (nextParentheses !== -1 && nextParentheses < closeParentheses) {
            const nextSearch = findClosingParenthese(str, nextParentheses + 1);
            ptr = nextSearch + 1;
            closeParentheses = str.indexOf(")", ptr);
          } else
            found = true;
        }
        if (found && closeParentheses !== -1)
          return closeParentheses;
        else
          return -1;
      }
      function selector() {
        const m = match(/^([^{]+)/);
        if (!m)
          return;
        let res = $b499486c7f02abe7$var$trim(m[0]).replace($b499486c7f02abe7$var$commentre, "");
        if (res.indexOf(",") === -1)
          return [
            res
          ];
        let ptr = 0;
        let startParentheses = res.indexOf("(", ptr);
        while (startParentheses !== -1) {
          const closeParentheses = findClosingParenthese(res, startParentheses);
          if (closeParentheses === -1)
            break;
          ptr = closeParentheses + 1;
          res = res.substring(0, startParentheses) + res.substring(startParentheses, closeParentheses).replace(/,/g, "‌") + res.substring(closeParentheses);
          startParentheses = res.indexOf("(", ptr);
        }
        res = res.replace(/("|')(?:\\\1|.)*?\1/g, (m2) => m2.replace(/,/g, "‌"));
        return res.split(",").map((s) => {
          return $b499486c7f02abe7$var$trim(s.replace(/\u200C/g, ","));
        });
      }
      function declaration() {
        const pos = position();
        const propMatch = match(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);
        if (!propMatch)
          return;
        const propValue = $b499486c7f02abe7$var$trim(propMatch[0]);
        if (!match(/^:\s*/))
          return error("property missing ':'");
        const val = match(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/);
        const ret = pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.declaration,
          property: propValue.replace($b499486c7f02abe7$var$commentre, ""),
          value: val ? $b499486c7f02abe7$var$trim(val[0]).replace($b499486c7f02abe7$var$commentre, "") : ""
        });
        match(/^[;\s]*/);
        return ret;
      }
      function declarations() {
        const decls = [];
        if (!open())
          return error("missing '{'");
        comments(decls);
        let decl;
        while (decl = declaration())
          if (decl) {
            decls.push(decl);
            comments(decls);
          }
        if (!close())
          return error("missing '}'");
        return decls;
      }
      function keyframe() {
        let m;
        const vals = [];
        const pos = position();
        while (m = match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/)) {
          vals.push(m[1]);
          match(/^,\s*/);
        }
        if (!vals.length)
          return;
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.keyframe,
          values: vals,
          declarations: declarations() || []
        });
      }
      function atkeyframes() {
        const pos = position();
        const m1 = match(/^@([-\w]+)?keyframes\s*/);
        if (!m1)
          return;
        const vendor = m1[1];
        const m2 = match(/^([-\w]+)\s*/);
        if (!m2)
          return error("@keyframes missing name");
        const name = m2[1];
        if (!open())
          return error("@keyframes missing '{'");
        let frame;
        let frames = comments();
        while (frame = keyframe()) {
          frames.push(frame);
          frames = frames.concat(comments());
        }
        if (!close())
          return error("@keyframes missing '}'");
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.keyframes,
          name,
          vendor,
          keyframes: frames
        });
      }
      function atsupports() {
        const pos = position();
        const m = match(/^@supports *([^{]+)/);
        if (!m)
          return;
        const supports = $b499486c7f02abe7$var$trim(m[1]);
        if (!open())
          return error("@supports missing '{'");
        const style = comments().concat(rules());
        if (!close())
          return error("@supports missing '}'");
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.supports,
          supports,
          rules: style
        });
      }
      function athost() {
        const pos = position();
        const m = match(/^@host\s*/);
        if (!m)
          return;
        if (!open())
          return error("@host missing '{'");
        const style = comments().concat(rules());
        if (!close())
          return error("@host missing '}'");
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.host,
          rules: style
        });
      }
      function atcontainer() {
        const pos = position();
        const m = match(/^@container *([^{]+)/);
        if (!m)
          return;
        const container = $b499486c7f02abe7$var$trim(m[1]);
        if (!open())
          return error("@container missing '{'");
        const style = comments().concat(rules());
        if (!close())
          return error("@container missing '}'");
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.container,
          container,
          rules: style
        });
      }
      function atlayer() {
        const pos = position();
        const m = match(/^@layer *([^{;@]+)/);
        if (!m)
          return;
        const layer = $b499486c7f02abe7$var$trim(m[1]);
        if (!open()) {
          match(/^[;\s]*/);
          return pos({
            type: $d103407e81c97042$export$9be5dd6e61d5d73a.layer,
            layer
          });
        }
        const style = comments().concat(rules());
        if (!close())
          return error("@layer missing '}'");
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.layer,
          layer,
          rules: style
        });
      }
      function atmedia() {
        const pos = position();
        const m = match(/^@media *([^{]+)/);
        if (!m)
          return;
        const media = $b499486c7f02abe7$var$trim(m[1]);
        if (!open())
          return error("@media missing '{'");
        const style = comments().concat(rules());
        if (!close())
          return error("@media missing '}'");
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.media,
          media,
          rules: style
        });
      }
      function atcustommedia() {
        const pos = position();
        const m = match(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);
        if (!m)
          return;
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.customMedia,
          name: $b499486c7f02abe7$var$trim(m[1]),
          media: $b499486c7f02abe7$var$trim(m[2])
        });
      }
      function atpage() {
        const pos = position();
        const m = match(/^@page */);
        if (!m)
          return;
        const sel = selector() || [];
        if (!open())
          return error("@page missing '{'");
        let decls = comments();
        let decl;
        while (decl = declaration()) {
          decls.push(decl);
          decls = decls.concat(comments());
        }
        if (!close())
          return error("@page missing '}'");
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.page,
          selectors: sel,
          declarations: decls
        });
      }
      function atdocument() {
        const pos = position();
        const m = match(/^@([-\w]+)?document *([^{]+)/);
        if (!m)
          return;
        const vendor = $b499486c7f02abe7$var$trim(m[1]);
        const doc = $b499486c7f02abe7$var$trim(m[2]);
        if (!open())
          return error("@document missing '{'");
        const style = comments().concat(rules());
        if (!close())
          return error("@document missing '}'");
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.document,
          document: doc,
          vendor,
          rules: style
        });
      }
      function atfontface() {
        const pos = position();
        const m = match(/^@font-face\s*/);
        if (!m)
          return;
        if (!open())
          return error("@font-face missing '{'");
        let decls = comments();
        let decl;
        while (decl = declaration()) {
          decls.push(decl);
          decls = decls.concat(comments());
        }
        if (!close())
          return error("@font-face missing '}'");
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.fontFace,
          declarations: decls
        });
      }
      function atstartingstyle() {
        const pos = position();
        const m = match(/^@starting-style\s*/);
        if (!m)
          return;
        if (!open())
          return error("@starting-style missing '{'");
        const style = comments().concat(rules());
        if (!close())
          return error("@starting-style missing '}'");
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.startingStyle,
          rules: style
        });
      }
      const atimport = _compileAtrule("import");
      const atcharset = _compileAtrule("charset");
      const atnamespace = _compileAtrule("namespace");
      function _compileAtrule(name) {
        const re = new RegExp("^@" + name + `\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);
        return function() {
          const pos = position();
          const m = match(re);
          if (!m)
            return;
          const ret = {
            type: name
          };
          ret[name] = m[1].trim();
          return pos(ret);
        };
      }
      function atrule() {
        if (css[0] !== "@")
          return;
        return atkeyframes() || atmedia() || atcustommedia() || atsupports() || atimport() || atcharset() || atnamespace() || atdocument() || atpage() || athost() || atfontface() || atcontainer() || atstartingstyle() || atlayer();
      }
      function rule() {
        const pos = position();
        const sel = selector();
        if (!sel)
          return error("selector missing");
        comments();
        return pos({
          type: $d103407e81c97042$export$9be5dd6e61d5d73a.rule,
          selectors: sel,
          declarations: declarations() || []
        });
      }
      return $b499486c7f02abe7$var$addParent(stylesheet());
    };
    function $b499486c7f02abe7$var$trim(str) {
      return str ? str.trim() : "";
    }
    function $b499486c7f02abe7$var$addParent(obj, parent) {
      const isNode = obj && typeof obj.type === "string";
      const childParent = isNode ? obj : parent;
      for (const k in obj) {
        const value = obj[k];
        if (Array.isArray(value))
          value.forEach((v) => {
            $b499486c7f02abe7$var$addParent(v, childParent);
          });
        else if (value && typeof value === "object")
          $b499486c7f02abe7$var$addParent(value, childParent);
      }
      if (isNode)
        Object.defineProperty(obj, "parent", {
          configurable: true,
          writable: true,
          enumerable: false,
          value: parent || null
        });
      return obj;
    }
    var $b499486c7f02abe7$export$2e2bcd8739ae039 = $b499486c7f02abe7$export$98e6a39c04603d36;
    class $24dc7e49cb76910e$var$Compiler {
      constructor(options) {
        this.level = 0;
        this.indentation = "  ";
        this.compress = false;
        if (typeof (options == null ? void 0 : options.indent) === "string")
          this.indentation = options == null ? void 0 : options.indent;
        if (options == null ? void 0 : options.compress)
          this.compress = true;
      }
      // We disable no-unused-vars for _position. We keep position for potential reintroduction of source-map
      // eslint-disable-next-line @typescript-eslint/no-unused-vars
      emit(str, _position) {
        return str;
      }
      /**
      * Increase, decrease or return current indentation.
      */
      indent(level) {
        this.level = this.level || 1;
        if (level) {
          this.level += level;
          return "";
        }
        return Array(this.level).join(this.indentation);
      }
      visit(node) {
        switch (node.type) {
          case $d103407e81c97042$export$9be5dd6e61d5d73a.stylesheet:
            return this.stylesheet(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.rule:
            return this.rule(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.declaration:
            return this.declaration(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.comment:
            return this.comment(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.container:
            return this.container(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.charset:
            return this.charset(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.document:
            return this.document(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.customMedia:
            return this.customMedia(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.fontFace:
            return this.fontFace(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.host:
            return this.host(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.import:
            return this.import(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.keyframes:
            return this.keyframes(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.keyframe:
            return this.keyframe(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.layer:
            return this.layer(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.media:
            return this.media(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.namespace:
            return this.namespace(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.page:
            return this.page(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.startingStyle:
            return this.startingStyle(node);
          case $d103407e81c97042$export$9be5dd6e61d5d73a.supports:
            return this.supports(node);
        }
      }
      mapVisit(nodes, delim) {
        let buf = "";
        delim = delim || "";
        for (let i = 0, length = nodes.length; i < length; i++) {
          buf += this.visit(nodes[i]);
          if (delim && i < length - 1)
            buf += this.emit(delim);
        }
        return buf;
      }
      compile(node) {
        if (this.compress)
          return node.stylesheet.rules.map(this.visit, this).join("");
        return this.stylesheet(node);
      }
      /**
      * Visit stylesheet node.
      */
      stylesheet(node) {
        return this.mapVisit(node.stylesheet.rules, "\n\n");
      }
      /**
      * Visit comment node.
      */
      comment(node) {
        if (this.compress)
          return this.emit("", node.position);
        return this.emit(this.indent() + "/*" + node.comment + "*/", node.position);
      }
      /**
      * Visit container node.
      */
      container(node) {
        if (this.compress)
          return this.emit("@container " + node.container, node.position) + this.emit("{") + this.mapVisit(node.rules) + this.emit("}");
        return this.emit(this.indent() + "@container " + node.container, node.position) + this.emit(" {\n" + this.indent(1)) + this.mapVisit(node.rules, "\n\n") + this.emit("\n" + this.indent(-1) + this.indent() + "}");
      }
      /**
      * Visit container node.
      */
      layer(node) {
        if (this.compress)
          return this.emit("@layer " + node.layer, node.position) + (node.rules ? this.emit("{") + this.mapVisit(node.rules) + this.emit("}") : ";");
        return this.emit(this.indent() + "@layer " + node.layer, node.position) + (node.rules ? this.emit(" {\n" + this.indent(1)) + this.mapVisit(node.rules, "\n\n") + this.emit("\n" + this.indent(-1) + this.indent() + "}") : ";");
      }
      /**
      * Visit import node.
      */
      import(node) {
        return this.emit("@import " + node.import + ";", node.position);
      }
      /**
      * Visit media node.
      */
      media(node) {
        if (this.compress)
          return this.emit("@media " + node.media, node.position) + this.emit("{") + this.mapVisit(node.rules) + this.emit("}");
        return this.emit(this.indent() + "@media " + node.media, node.position) + this.emit(" {\n" + this.indent(1)) + this.mapVisit(node.rules, "\n\n") + this.emit("\n" + this.indent(-1) + this.indent() + "}");
      }
      /**
      * Visit document node.
      */
      document(node) {
        const doc = "@" + (node.vendor || "") + "document " + node.document;
        if (this.compress)
          return this.emit(doc, node.position) + this.emit("{") + this.mapVisit(node.rules) + this.emit("}");
        return this.emit(doc, node.position) + this.emit("  {\n" + this.indent(1)) + this.mapVisit(node.rules, "\n\n") + this.emit(this.indent(-1) + "\n}");
      }
      /**
      * Visit charset node.
      */
      charset(node) {
        return this.emit("@charset " + node.charset + ";", node.position);
      }
      /**
      * Visit namespace node.
      */
      namespace(node) {
        return this.emit("@namespace " + node.namespace + ";", node.position);
      }
      /**
      * Visit container node.
      */
      startingStyle(node) {
        if (this.compress)
          return this.emit("@starting-style", node.position) + this.emit("{") + this.mapVisit(node.rules) + this.emit("}");
        return this.emit(this.indent() + "@starting-style", node.position) + this.emit(" {\n" + this.indent(1)) + this.mapVisit(node.rules, "\n\n") + this.emit("\n" + this.indent(-1) + this.indent() + "}");
      }
      /**
      * Visit supports node.
      */
      supports(node) {
        if (this.compress)
          return this.emit("@supports " + node.supports, node.position) + this.emit("{") + this.mapVisit(node.rules) + this.emit("}");
        return this.emit(this.indent() + "@supports " + node.supports, node.position) + this.emit(" {\n" + this.indent(1)) + this.mapVisit(node.rules, "\n\n") + this.emit("\n" + this.indent(-1) + this.indent() + "}");
      }
      /**
      * Visit keyframes node.
      */
      keyframes(node) {
        if (this.compress)
          return this.emit("@" + (node.vendor || "") + "keyframes " + node.name, node.position) + this.emit("{") + this.mapVisit(node.keyframes) + this.emit("}");
        return this.emit("@" + (node.vendor || "") + "keyframes " + node.name, node.position) + this.emit(" {\n" + this.indent(1)) + this.mapVisit(node.keyframes, "\n") + this.emit(this.indent(-1) + "}");
      }
      /**
      * Visit keyframe node.
      */
      keyframe(node) {
        const decls = node.declarations;
        if (this.compress)
          return this.emit(node.values.join(","), node.position) + this.emit("{") + this.mapVisit(decls) + this.emit("}");
        return this.emit(this.indent()) + this.emit(node.values.join(", "), node.position) + this.emit(" {\n" + this.indent(1)) + this.mapVisit(decls, "\n") + this.emit(this.indent(-1) + "\n" + this.indent() + "}\n");
      }
      /**
      * Visit page node.
      */
      page(node) {
        if (this.compress) {
          const sel2 = node.selectors.length ? node.selectors.join(", ") : "";
          return this.emit("@page " + sel2, node.position) + this.emit("{") + this.mapVisit(node.declarations) + this.emit("}");
        }
        const sel = node.selectors.length ? node.selectors.join(", ") + " " : "";
        return this.emit("@page " + sel, node.position) + this.emit("{\n") + this.emit(this.indent(1)) + this.mapVisit(node.declarations, "\n") + this.emit(this.indent(-1)) + this.emit("\n}");
      }
      /**
      * Visit font-face node.
      */
      fontFace(node) {
        if (this.compress)
          return this.emit("@font-face", node.position) + this.emit("{") + this.mapVisit(node.declarations) + this.emit("}");
        return this.emit("@font-face ", node.position) + this.emit("{\n") + this.emit(this.indent(1)) + this.mapVisit(node.declarations, "\n") + this.emit(this.indent(-1)) + this.emit("\n}");
      }
      /**
      * Visit host node.
      */
      host(node) {
        if (this.compress)
          return this.emit("@host", node.position) + this.emit("{") + this.mapVisit(node.rules) + this.emit("}");
        return this.emit("@host", node.position) + this.emit(" {\n" + this.indent(1)) + this.mapVisit(node.rules, "\n\n") + this.emit(this.indent(-1) + "\n}");
      }
      /**
      * Visit custom-media node.
      */
      customMedia(node) {
        return this.emit("@custom-media " + node.name + " " + node.media + ";", node.position);
      }
      /**
      * Visit rule node.
      */
      rule(node) {
        const decls = node.declarations;
        if (!decls.length)
          return "";
        if (this.compress)
          return this.emit(node.selectors.join(","), node.position) + this.emit("{") + this.mapVisit(decls) + this.emit("}");
        const indent = this.indent();
        return this.emit(node.selectors.map((s) => {
          return indent + s;
        }).join(",\n"), node.position) + this.emit(" {\n") + this.emit(this.indent(1)) + this.mapVisit(decls, "\n") + this.emit(this.indent(-1)) + this.emit("\n" + this.indent() + "}");
      }
      /**
      * Visit declaration node.
      */
      declaration(node) {
        if (this.compress)
          return this.emit(node.property + ":" + node.value, node.position) + this.emit(";");
        return this.emit(this.indent()) + this.emit(node.property + ": " + node.value, node.position) + this.emit(";");
      }
    }
    var $24dc7e49cb76910e$export$2e2bcd8739ae039 = $24dc7e49cb76910e$var$Compiler;
    var $fd680ce0c35731f5$export$2e2bcd8739ae039 = (node, options) => {
      const compiler = new $24dc7e49cb76910e$export$2e2bcd8739ae039(options || {});
      return compiler.compile(node);
    };
    const $882b6d93070905b3$export$98e6a39c04603d36 = $b499486c7f02abe7$export$2e2bcd8739ae039;
    const $882b6d93070905b3$export$fac44ee5b035f737 = $fd680ce0c35731f5$export$2e2bcd8739ae039;
    var $882b6d93070905b3$export$2e2bcd8739ae039 = {
      parse: $882b6d93070905b3$export$98e6a39c04603d36,
      stringify: $882b6d93070905b3$export$fac44ee5b035f737
    };
    $parcel$exportWildcard(module.exports, $d103407e81c97042$exports);
    $parcel$exportWildcard(module.exports, $cb508b9219b02820$exports);
    $parcel$exportWildcard(module.exports, $4bafb28828007b46$exports);
  })(dist);
  return dist.exports;
}
export {
  requireDist as __require
};
//# sourceMappingURL=index.js.map
