function c(n, a) {
  return { handler: n, config: a };
}
c.withOptions = function(n, a = () => ({})) {
  function r(t) {
    return { handler: n(t), config: a(t) };
  }
  return r.__isOptionsFunction = !0, r;
};
var i = c;
const s = i(function({ addComponents: n }) {
  n({
    ".container-fluid": {
      "box-sizing": "border-box",
      marginLeft: "auto",
      marginRight: "auto",
      paddingLeft: "var(--bb-container-padding, 4vw)",
      paddingRight: "var(--bb-container-padding, 4vw)",
      maxWidth: "var(--bb-container-width, 100%)"
    },
    ".container-inner": {
      "box-sizing": "border-box",
      paddingLeft: "calc( (100vw - var(--bb-container-width, 100%)) / 2 + calc( var(--bb-container-padding, 4vw) / 2 ) )",
      paddingRight: "calc( (100vw - var(--bb-container-width, 100%)) / 2 + calc( var(--bb-container-padding, 4vw) / 2 ) )"
    },
    ".container-inner-left": {
      "box-sizing": "border-box",
      paddingLeft: "calc( (100vw - var(--bb-container-width, 100%)) / 2 + calc( var(--bb-container-padding, 4vw) / 2 ) )",
      paddingRight: "var(--bb-container-padding, 4vw)"
    },
    ".container-inner-right": {
      "box-sizing": "border-box",
      paddingLeft: "var(--bb-container-padding, 4vw)",
      paddingRight: "calc( (100vw - var(--bb-container-width, 100%)) / 2 + calc( var(--bb-container-padding, 4vw) / 2 ) )"
    }
  }, { variants: ["responsive"] });
}), l = i(function({ matchUtilities: n }) {
  n({
    area: (a) => {
      const r = a.split(/[\/-]/).map((t) => t.trim());
      return r.length === 4 && r.every(Boolean) ? {
        "--area": `${r[0]} / ${r[1]} / ${r[2]} / ${r[3]}`
      } : {};
    }
  }, { values: {} }), n({
    "grid-area": (a) => {
      const t = String(a).trim().match(/^(\d+)\s*[\/ -]\s*(\d+)$/);
      if (!t)
        return {};
      const e = parseInt(t[1], 10), o = parseInt(t[2], 10);
      if (!Number.isFinite(e) || !Number.isFinite(o) || e <= 0 || o <= 0)
        return {};
      const d = Math.ceil(e / 2), b = Math.ceil(o / 2);
      return {
        display: "grid",
        gridTemplateColumns: `repeat(${e}, minmax(0, 1fr))`,
        gridTemplateRows: `repeat(${o}, minmax(0, 1fr))`,
        "--b_area": `1 / 1 / ${b} / ${d}`,
        "& > *": {
          gridArea: "var(--area, var(--b_area))"
        }
      };
    }
  }, { values: {} });
}), g = i(function({ addUtilities: n }) {
  n({
    // Text mask: make text transparent and clip background to text
    ".b_mask-text": {
      color: "transparent",
      "-webkit-text-fill-color": "transparent",
      "background-clip": "text",
      "-webkit-background-clip": "text"
    }
  });
}), p = i(function({ addVariant: n }) {
  n("children", "& > *");
}), v = i(function(n) {
  l.handler(n), s.handler(n), g.handler(n), p.handler(n);
});
export {
  v as default
};
//# sourceMappingURL=index-J0WdYEsX.js.map
