// node_modules/style-vendorizer/dist/esm/bundle.min.mjs
var i = new Map([["align-self", "-ms-grid-row-align"], ["color-adjust", "-webkit-print-color-adjust"], ["column-gap", "grid-column-gap"], ["gap", "grid-gap"], ["grid-template-columns", "-ms-grid-columns"], ["grid-template-rows", "-ms-grid-rows"], ["justify-self", "-ms-grid-column-align"], ["margin-inline-end", "-webkit-margin-end"], ["margin-inline-start", "-webkit-margin-start"], ["overflow-wrap", "word-wrap"], ["padding-inline-end", "-webkit-padding-end"], ["padding-inline-start", "-webkit-padding-start"], ["row-gap", "grid-row-gap"], ["scroll-margin-bottom", "scroll-snap-margin-bottom"], ["scroll-margin-left", "scroll-snap-margin-left"], ["scroll-margin-right", "scroll-snap-margin-right"], ["scroll-margin-top", "scroll-snap-margin-top"], ["scroll-margin", "scroll-snap-margin"], ["text-combine-upright", "-ms-text-combine-horizontal"]]);
function r(r2) {
  return i.get(r2);
}
function n(i2) {
  var r2 = /^(?:(text-(?:decoration$|e|or|si)|back(?:ground-cl|d|f)|box-d|(?:mask(?:$|-[ispro]|-cl)))|(tab-|column(?!-s)|text-align-l)|(ap)|(u|hy))/i.exec(i2);
  return r2 ? r2[1] ? 1 : r2[2] ? 2 : r2[3] ? 3 : 5 : 0;
}
function t(i2, r2) {
  var n2 = /^(?:(pos)|(background-i)|((?:max-|min-)?(?:block-s|inl|he|widt))|(dis))/i.exec(i2);
  return n2 ? n2[1] ? /^sti/i.test(r2) ? 1 : 0 : n2[2] ? /^image-/i.test(r2) ? 1 : 0 : n2[3] ? r2[3] === "-" ? 2 : 0 : /^(inline-)?grid$/i.test(r2) ? 4 : 0 : 0;
}

// node_modules/twind/twind.js
var b = (e, t2) => !!~e.indexOf(t2);
var g = (e, t2 = "-") => e.join(t2);
var X = (e, t2) => g(e.filter(Boolean), t2);
var d = (e, t2 = 1) => e.slice(t2);
var Ue = (e) => e;
var de = () => {
};
var Le = (e) => e[0].toUpperCase() + d(e);
var we = (e) => e.replace(/[A-Z]/g, "-$&").toLowerCase();
var O = (e, t2) => {
  for (; typeof e == "function"; )
    e = e(t2);
  return e;
};
var ue = (e, t2) => {
  e.size > t2 && e.delete(e.keys().next().value);
};
var Ce = (e, t2) => b("rg", (typeof t2)[5]) || Array.isArray(t2) && e[0] != "@";
var q = (e, t2, n2) => t2 ? Object.keys(t2).reduce((r2, i2) => {
  let o = O(t2[i2], n2);
  return Ce(i2, o) ? r2[we(i2)] = o : r2[i2] = i2[0] == "@" && b("fig", i2[1]) ? (r2[i2] || []).concat(o) : q(r2[i2] || {}, o, n2), r2;
}, e) : e;
var ge = typeof CSS != "undefined" && CSS.escape || ((e) => {
  let t2 = e.charCodeAt(0), n2 = "";
  return t2 >= 48 && t2 <= 57 && (n2 = "\\" + t2.toString(16) + " ", e = d(e)), n2 + e.replace(/[!./:#]/g, "\\$&");
});
var j = (e) => (Array.isArray(e) || (e = [e]), "@media " + g(e.map((t2) => (typeof t2 == "string" && (t2 = {min: t2}), t2.raw || g(Object.keys(t2).map((n2) => `(${n2}-width:${t2[n2]})`), " and "))), ","));
var Z = (e) => {
  let t2 = 9;
  for (let n2 = e.length; n2--; )
    t2 = Math.imul(t2 ^ e.charCodeAt(n2), 1597334677);
  return "tw-" + ((t2 ^ t2 >>> 9) >>> 0).toString(36);
};
var Ve = (e, t2) => {
  let n2 = e.length;
  if (n2 === 0)
    return 0;
  for (let r2 = 0; r2 < n2; ) {
    let i2 = n2 + r2 >> 1;
    e[i2] <= t2 ? r2 = i2 + 1 : n2 = i2;
  }
  return n2;
};
var I;
var K;
var U = (e = "") => (I.push(e), "");
var Te = (e) => {
  I.length = Math.max(I.lastIndexOf("") + ~~e, 0);
};
var wt = (e) => e && e[0] !== ":";
var Ct = (e) => e[0] === ":";
var Be = (e, t2, n2) => {
  K.push({v: I.filter(Ct), d: e, n: t2, i: n2, $: ""});
};
var Ge = (e) => {
  let t2 = e[0] === "-";
  t2 && (e = d(e));
  let n2 = e[e.length - 1] === "!";
  n2 && (e = e.slice(0, -1));
  let r2 = g(I.filter(wt));
  return Be(e === "&" ? r2 : (r2 && r2 + "-") + e, t2, n2), "";
};
var ee = (e, t2) => {
  let n2, r2 = "";
  for (let i2 = 0; i2 < e.length; )
    switch (n2 = e[i2++]) {
      case ":":
        r2 = r2 && U(":" + (e[i2] === n2 ? e[i2++] : "") + r2);
        break;
      case "(":
        r2 = r2 && U(r2), U();
        break;
      case ")":
      case " ":
      case "	":
      case `
`:
      case "\r":
        r2 = r2 && Ge(r2), Te(n2 !== ")");
        break;
      default:
        r2 += n2;
    }
  r2 && (t2 ? U(":" + r2) : r2.slice(-1) === "-" ? U(r2.slice(0, -1)) : Ge(r2));
};
var Ye = (e) => {
  U(), fe(e), Te();
};
var Tt = (e, t2) => {
  if (t2) {
    U();
    let n2 = b("tbu", (typeof t2)[1]);
    ee(e, n2), n2 && Ye(t2), Te();
  }
};
var fe = (e) => {
  switch (typeof e) {
    case "string":
      ee(e);
      break;
    case "function":
      Be(e);
      break;
    case "object":
      Array.isArray(e) ? e.forEach(Ye) : e && Object.keys(e).forEach((t2) => {
        Tt(t2, e[t2]);
      });
  }
};
var Ke = new WeakMap();
var vt = (e) => {
  let t2 = Ke.get(e);
  if (!t2) {
    let n2 = NaN, r2 = "";
    t2 = e.map((i2, o) => {
      if (n2 !== n2 && b(":-(", (e[o + 1] || "")[0]) && (n2 = o), o >= n2)
        return (f) => {
          o === n2 && (r2 = ""), r2 += i2, typeof f == "string" ? r2 += f : f && (ee(r2), r2 = "", fe(f)), o === e.length - 1 && ee(r2);
        };
      let a = K = [];
      ee(i2);
      let c = [...I];
      return K = [], (f) => {
        K.push(...a), I = [...c], f && fe(f);
      };
    }), Ke.set(e, t2);
  }
  return t2;
};
var te = (e) => (I = [], K = [], Array.isArray(e[0]) && Array.isArray(e[0].raw) ? vt(e[0]).forEach((t2, n2) => t2(e[n2 + 1])) : fe(e), K);
var ve;
var Rt = (e, t2) => (typeof t2 == "function" && (ve = false), t2);
var kt = (e) => {
  ve = true;
  let t2 = JSON.stringify(e, Rt);
  return ve && t2;
};
var Je = new WeakMap();
var ne = (e, t2) => {
  let n2 = kt(t2), r2;
  if (n2) {
    var i2 = Je.get(e);
    i2 || Je.set(e, i2 = new Map()), r2 = i2.get(n2);
  }
  return r2 || (r2 = Object.defineProperty((o, a) => (a = Array.isArray(o) ? a : o, O(e(t2, a), a)), "toJSON", {value: () => n2 || t2}), i2 && (i2.set(n2, r2), ue(i2, 1e4))), r2;
};
var $t = (e, {css: t2}) => t2(te(e));
var Re = (...e) => ne($t, e);
var Qe = (e) => (t2, n2, r2, i2) => {
  if (t2) {
    let o = n2 && e(n2);
    if (o && o.length > 0)
      return o.reduce((a, c) => (a[X([r2, c, i2])] = t2, a), {});
  }
};
var Xe = Qe((e) => ({t: ["top-left", "top-right"], r: ["top-right", "bottom-right"], b: ["bottom-left", "bottom-right"], l: ["bottom-left", "top-left"], tl: ["top-left"], tr: ["top-right"], bl: ["bottom-left"], br: ["bottom-right"]})[e]);
var re = (e) => {
  let t2 = ({x: "lr", y: "tb"}[e] || e || "").split("").sort();
  for (let n2 = t2.length; n2--; )
    if (!(t2[n2] = {t: "top", r: "right", b: "bottom", l: "left"}[t2[n2]]))
      return;
  if (t2.length)
    return t2;
};
var pe = Qe(re);
var s;
var L;
var x;
var oe = (e) => (t2, n2, r2) => ({[e]: r2 + ((s = g(t2)) && "-" + s)});
var h = (e, t2) => (n2, r2, i2) => ({[e || i2]: g(n2, t2)});
var v = (e) => (t2, {theme: n2}, r2) => ({[e || r2]: n2(e || r2, t2)});
var M = (e, t2) => (n2, r2) => e(n2, r2, t2);
var H = oe("display");
var ie = oe("position");
var J = oe("textTransform");
var Q = oe("textDecoration");
var me = oe("fontStyle");
var _ = (e) => (t2, n2, r2) => ({["--tw-" + e]: r2, fontVariantNumeric: "var(--tw-ordinal,/*!*/ /*!*/) var(--tw-slashed-zero,/*!*/ /*!*/) var(--tw-numeric-figure,/*!*/ /*!*/) var(--tw-numeric-spacing,/*!*/ /*!*/) var(--tw-numeric-fraction,/*!*/ /*!*/)"});
var he = (e, {theme: t2}, n2) => ({[n2]: t2("inset", e)});
var se = (e, t2, n2, r2 = n2) => ({[`--tw-${n2}-opacity`]: t2(r2 + "Opacity", d(e))});
var ke = (e, t2) => Math.round(parseInt(e, 16) * t2);
var be = (e, t2, n2) => e && e[0] === "#" ? `rgba(${ke(e.substr(1, s = (e.length - 1) / 3), x = [17, 1, 0.062272][s - 1])},${ke(e.substr(1 + s, s), x)},${ke(e.substr(1 + 2 * s, s), x)},${t2 ? `var(--tw-${t2}${n2 ? "," + n2 : ""})` : n2 || 1})` : e;
var xe = (e, t2, n2) => n2 && (s = be(n2, t2 + "-opacity")) && s !== n2 ? {[`--tw-${t2}-opacity`]: "1", [e]: [n2, s]} : {[e]: n2};
var qe = (e) => (x = be(e, "", "0")) === s ? "transparent" : x;
var Ze = (e, {theme: t2}, n2, r2, i2, o) => (s = {x: ["right", "left"], y: ["bottom", "top"]}[e[0]]) && (x = `--tw-${n2}-${e[0]}-reverse`) ? e[1] === "reverse" ? {[x]: "1"} : {[x]: "0", [X([i2, s[0], o])]: (L = t2(r2, d(e))) && `calc(${L} * var(${x}))`, [X([i2, s[1], o])]: L && [L, `calc(${L} * calc(1 - var(${x})))`]} : void 0;
var et = (e, t2) => ({[e]: (b("wun", (t2[0] || "")[3]) ? "space-" : "") + t2[0]});
var $e = (e) => (t2) => b(["start", "end"], t2[0]) ? {[e]: `flex-${t2[0]}`} : et(e, t2);
var tt = (e) => (t2) => {
  switch (t2[0]) {
    case "auto":
      return {[`grid-${e}`]: "auto"};
    case "span":
      return {[`grid-${e}`]: t2[1] === "full" ? "1 / -1" : `span ${t2[1]} / span ${t2[1]}`};
    case "start":
    case "end":
      return {[`grid-${e}-${t2[0]}`]: t2[1]};
  }
};
var nt = (e, {theme: t2}, n2) => {
  switch (e[0]) {
    case "solid":
    case "dashed":
    case "dotted":
    case "double":
    case "none":
      return h("borderStyle")(e);
    case "collapse":
    case "separate":
      return h("borderCollapse")(e);
    case "opacity":
      return se(e, t2, n2);
  }
  return (s = t2(n2 + "Width", e, "")) ? {borderWidth: s} : xe("borderColor", n2, t2(n2 + "Color", e));
};
var Ae = (e) => (e ? "translate3d(var(--tw-translate-x,0),var(--tw-translate-y,0),0)" : "translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0))") + " rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1))";
var Pe = (e, t2, n2) => (s = t2.theme(n2, e[1] || e[0])) && {[`--tw-${n2}-x`]: e[0] !== "y" && s, [`--tw-${n2}-y`]: e[0] !== "x" && s, transform: [`${n2}${e[1] ? e[0].toUpperCase() : ""}(${s})`, Ae()]};
var rt = (e) => (t2, n2, r2) => r2[1] ? pe(n2.theme(e, t2), r2[1], e) : v(e)(t2, n2, r2);
var V = rt("padding");
var B = rt("margin");
var ot = (e, {theme: t2}, n2) => (s = {w: "width", h: "height"}[e[0]]) && {[s = `${n2}${Le(s)}`]: t2(s, d(e))};
var it = {group: (e, {tag: t2}, n2) => t2(g([n2, ...e])), hidden: M(H, "none"), inline: H, block: H, contents: H, flow: H, table: (e, t2, n2) => b(["auto", "fixed"], e[0]) ? {tableLayout: e[0]} : H(e, t2, n2), flex(e, t2, n2) {
  switch (e[0]) {
    case "row":
    case "col":
      return {flexDirection: g(e[0] === "col" ? ["column", ...d(e)] : e)};
    case "nowrap":
    case "wrap":
      return {flexWrap: g(e)};
    case "grow":
    case "shrink":
      return {[`flex-${e[0]}`]: e[1] || "1"};
  }
  return (s = t2.theme("flex", e, "")) ? {flex: s} : H(e, t2, n2);
}, grid(e, t2, n2) {
  switch (e[0]) {
    case "cols":
    case "rows":
      return e.length > 1 && {[`grid-template-${e[0] === "cols" ? "columns" : e[0]}`]: e.length === 2 && Number(e[1]) ? `repeat(${e[1]},minmax(0,1fr))` : g(d(e), " ")};
    case "flow":
      return e.length > 1 && {gridAutoFlow: g(e[1] === "col" ? ["column", ...d(e, 2)] : d(e), " ")};
  }
  return H(e, t2, n2);
}, auto: (e) => b(["cols", "rows"], e[0]) && (s = e.length === 2 ? {auto: "auto", min: "min-content", max: "max-content", fr: "minmax(0,1fr)"}[e[1]] || `minmax(0,${e[1]})` : e.length > 2 && `minmax(${g(d(e), ",")})`) && {[`grid-auto-${e[0] === "cols" ? "columns" : "rows"}`]: s}, static: ie, fixed: ie, absolute: ie, relative: ie, sticky: ie, visible: {visibility: "visible"}, invisible: {visibility: "hidden"}, antialiased: {WebkitFontSmoothing: "antialiased", MozOsxFontSmoothing: "grayscale"}, "subpixel-antialiased": {WebkitFontSmoothing: "auto", MozOsxFontSmoothing: "auto"}, truncate: {overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis"}, "sr-only": {position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", whiteSpace: "nowrap", clip: "rect(0,0,0,0)", borderWidth: "0"}, "not-sr-only": {position: "static", width: "auto", height: "auto", padding: "0", margin: "0", overflow: "visible", whiteSpace: "normal", clip: "auto"}, resize: (e) => ({resize: {x: "vertical", y: "horizontal"}[e[0]] || e[0] || "both"}), box: (e) => ({"box-sizing": `${e[0]}-box`}), appearance: h(), cursor: h(), float: h(), clear: h(), top: he, right: he, bottom: he, left: he, inset: (e, {theme: t2}) => (s = re(e[0])) ? pe(t2("inset", d(e)), e[0]) : (s = t2("inset", e)) && {top: s, right: s, bottom: s, left: s}, underline: Q, "line-through": Q, "no-underline": M(Q, "none"), "text-underline": M(Q, "underline"), "text-no-underline": M(Q, "none"), "text-line-through": M(Q, "line-through"), uppercase: J, lowercase: J, capitalize: J, "normal-case": M(J, "none"), "text-normal-case": M(J, "none"), italic: me, "not-italic": M(me, "normal"), "font-italic": M(me, "italic"), "font-not-italic": M(me, "normal"), font: (e, t2, n2) => (s = t2.theme("fontFamily", e, "")) ? {fontFamily: s} : v("fontWeight")(e, t2, n2), items: (e) => ({alignItems: b(["start", "end"], e[0]) ? `flex-${e[0]}` : g(e)}), "justify-self": h(), "justify-items": h(), justify: $e("justifyContent"), content: $e("alignContent"), self: $e("alignSelf"), place: (e) => et("place-" + e[0], d(e)), overscroll: (e) => ({["overscrollBehavior" + (e[1] ? "-" + e[0] : "")]: e[1] || e[0]}), col: tt("column"), row: tt("row"), duration: v("transitionDuration"), delay: v("transitionDelay"), tracking: v("letterSpacing"), leading: v("lineHeight"), z: v("zIndex"), opacity: v(), ease: v("transitionTimingFunction"), p: V, py: V, px: V, pt: V, pr: V, pb: V, pl: V, m: B, my: B, mx: B, mt: B, mr: B, mb: B, ml: B, w: v("width"), h: v("height"), min: ot, max: ot, fill: v(), order: v(), origin: h("transformOrigin", " "), select: h("userSelect"), "pointer-events": h(), align: h("verticalAlign"), whitespace: h("whiteSpace"), "normal-nums": {fontVariantNumeric: "normal"}, ordinal: _("ordinal"), "slashed-zero": _("slashed-zero"), "lining-nums": _("numeric-figure"), "oldstyle-nums": _("numeric-figure"), "proportional-nums": _("numeric-spacing"), "tabular-nums": _("numeric-spacing"), "diagonal-fractions": _("numeric-fraction"), "stacked-fractions": _("numeric-fraction"), overflow: (e, t2, n2) => b(["ellipsis", "clip"], e[0]) ? h("textOverflow")(e) : e[1] ? {[`overflow-${e[0]}`]: e[1]} : h()(e, t2, n2), transform: (e) => e[0] === "none" ? {transform: "none"} : {"--tw-translate-x": "0", "--tw-translate-y": "0", "--tw-rotate": "0", "--tw-skew-x": "0", "--tw-skew-y": "0", "--tw-scale-x": "1", "--tw-scale-y": "1", transform: Ae(e[0] === "gpu")}, rotate: (e, {theme: t2}) => (s = t2("rotate", e)) && {"--tw-rotate": s, transform: [`rotate(${s})`, Ae()]}, scale: Pe, translate: Pe, skew: Pe, gap: (e, t2, n2) => (s = {x: "column", y: "row"}[e[0]]) ? {[s + "Gap"]: t2.theme("gap", d(e))} : v("gap")(e, t2, n2), stroke: (e, t2, n2) => (s = t2.theme("stroke", e, "")) ? {stroke: s} : v("strokeWidth")(e, t2, n2), outline: (e, {theme: t2}) => (s = t2("outline", e)) && {outline: s[0], outlineOffset: s[1]}, break(e) {
  switch (e[0]) {
    case "normal":
      return {wordBreak: "normal", overflowWrap: "normal"};
    case "words":
      return {overflowWrap: "break-word"};
    case "all":
      return {wordBreak: "break-all"};
  }
}, text(e, {theme: t2}, n2) {
  switch (e[0]) {
    case "left":
    case "center":
    case "right":
    case "justify":
      return {textAlign: e[0]};
    case "uppercase":
    case "lowercase":
    case "capitalize":
      return J([], s, e[0]);
    case "opacity":
      return se(e, t2, n2);
  }
  let r2 = t2("fontSize", e, "");
  return r2 ? typeof r2 == "string" ? {fontSize: r2} : {fontSize: r2[0], ...typeof r2[1] == "string" ? {lineHeight: r2[1]} : r2[1]} : xe("color", "text", t2("textColor", e));
}, bg(e, {theme: t2}, n2) {
  switch (e[0]) {
    case "fixed":
    case "local":
    case "scroll":
      return h("backgroundAttachment", ",")(e);
    case "bottom":
    case "center":
    case "left":
    case "right":
    case "top":
      return h("backgroundPosition", " ")(e);
    case "no":
      return e[1] === "repeat" && h("backgroundRepeat")(e);
    case "auto":
    case "cover":
    case "contain":
      return h("backgroundSize")(e);
    case "repeat":
      return b("xy", e[1]) ? h("backgroundRepeat")(e) : {"background-repeat": e[1] || e[0]};
    case "opacity":
      return se(e, t2, n2, "background");
    case "clip":
      return {backgroundClip: e[1] + (e[1] === "text" ? "" : "-box")};
    case "gradient":
      if (e[1] === "to" && (s = re(e[2])))
        return {backgroundImage: `linear-gradient(to ${g(s, " ")},var(--tw-gradient-stops))`};
  }
  return (s = t2("backgroundImage", e, "")) ? {backgroundImage: s} : xe("backgroundColor", "bg", t2("backgroundColor", e));
}, from: (e, {theme: t2}) => (s = t2("gradientColorStops", e)) && {"--tw-gradient-from": s, "--tw-gradient-stops": `var(--tw-gradient-from),var(--tw-gradient-to,${qe(s)})`}, via: (e, {theme: t2}) => (s = t2("gradientColorStops", e)) && {"--tw-gradient-stops": `var(--tw-gradient-from),${s},var(--tw-gradient-to,${qe(s)})`}, to: (e, {theme: t2}) => ({"--tw-gradient-to": t2("gradientColorStops", e)}), border: (e, t2, n2) => re(e[0]) ? pe(t2.theme("borderWidth", d(e)), e[0], "border", "width") : nt(e, t2, n2), divide: (e, t2, n2) => (s = Ze(e, t2, n2, "divideWidth", "border", "width") || nt(e, t2, n2)) && {"&>:not([hidden])~:not([hidden])": s}, space: (e, t2, n2) => (s = Ze(e, t2, n2, "space", "margin")) && {"&>:not([hidden])~:not([hidden])": s}, placeholder: (e, {theme: t2}, n2) => (s = e[0] === "opacity" ? se(e, t2, n2) : xe("color", "placeholder", t2("placeholderColor", e))) && {"&::placeholder": s}, shadow: (e, {theme: t2}) => (s = t2("boxShadow", e)) && {":global": {"*": {"--tw-shadow": "0 0 transparent"}}, "--tw-shadow": s === "none" ? "0 0 transparent" : s, boxShadow: [s, "var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)"]}, animate: (e, {theme: t2, tag: n2}) => {
  if (x = t2("animation", e)) {
    let r2 = x.split(" ");
    return (s = t2("keyframes", r2[0], L = {})) !== L ? (x = n2(r2[0])) && {animation: x + " " + g(d(r2), " "), ["@keyframes " + x]: s} : {animation: x};
  }
}, ring(e, {theme: t2}, n2) {
  switch (e[0]) {
    case "inset":
      return {"--tw-ring-inset": "inset"};
    case "opacity":
      return se(e, t2, n2);
    case "offset":
      return (s = t2("ringOffsetWidth", d(e), "")) ? {"--tw-ring-offset-width": s} : {"--tw-ring-offset-color": t2("ringOffsetColor", d(e))};
  }
  return (s = t2("ringWidth", e, "")) ? {"--tw-ring-offset-shadow": "var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)", "--tw-ring-shadow": `var(--tw-ring-inset) 0 0 0 calc(${s} + var(--tw-ring-offset-width)) var(--tw-ring-color)`, "box-shadow": "var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)", ":global": {"*": {"--tw-ring-inset": "var(--tw-empty,/*!*/ /*!*/)", "--tw-ring-offset-width": t2("ringOffsetWidth", "", "0px"), "--tw-ring-offset-color": t2("ringOffsetColor", "", "#fff"), "--tw-ring-color": be(t2("ringColor", "", "#93c5fd"), "ring-opacity", t2("ringOpacity", "", "0.5")), "--tw-ring-offset-shadow": "0 0 transparent", "--tw-ring-shadow": "0 0 transparent"}}} : {"--tw-ring-opacity": "1", "--tw-ring-color": be(t2("ringColor", e), "ring-opacity")};
}, object: (e) => b(["contain", "cover", "fill", "none", "scale"], e[0]) ? h("objectFit")(e) : h("objectPosition", " ")(e), list: (e) => h(b(["inside", "outside"], e[0]) ? "listStylePosition" : "listStyleType")(e), rounded: (e, t2, n2) => Xe(t2.theme("borderRadius", d(e), ""), e[0], "border", "radius") || v("borderRadius")(e, t2, n2), "transition-none": {"transition-property": "none"}, transition: (e, {theme: t2}) => ({transitionProperty: t2("transitionProperty", e), transitionTimingFunction: t2("transitionTimingFunction", ""), transitionDuration: t2("transitionDuration", "")}), container: (e, {theme: t2}) => {
  let {screens: n2 = t2("screens"), center: r2, padding: i2} = t2("container"), o = (a) => (s = i2 && (typeof i2 == "string" ? i2 : i2[a] || i2.DEFAULT)) ? {paddingRight: s, paddingLeft: s} : {};
  return Object.keys(n2).reduce((a, c) => ((x = n2[c]) && typeof x == "string" && (a[j(x)] = {"&": {"max-width": x, ...o(c)}}), a), {width: "100%", ...r2 ? {marginRight: "auto", marginLeft: "auto"} : {}, ...o("xs")});
}};
var st = (e) => ({":root": {tabSize: 4}, "body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre,fieldset,ol,ul": {margin: "0"}, button: {backgroundColor: "transparent", backgroundImage: "none"}, 'button,[type="button"],[type="reset"],[type="submit"]': {WebkitAppearance: "button"}, "button:focus": {outline: ["1px dotted", "5px auto -webkit-focus-ring-color"]}, "fieldset,ol,ul,legend": {padding: "0"}, "ol,ul": {listStyle: "none"}, html: {lineHeight: "1.5", WebkitTextSizeAdjust: "100%", fontFamily: e("fontFamily.sans", "ui-sans-serif,system-ui,sans-serif")}, body: {fontFamily: "inherit", lineHeight: "inherit"}, "*,::before,::after": {boxSizing: "border-box", border: `0 solid ${e("borderColor.DEFAULT", "currentColor")}`}, hr: {height: "0", color: "inherit", borderTopWidth: "1px"}, img: {borderStyle: "solid"}, textarea: {resize: "vertical"}, "input::placeholder,textarea::placeholder": {opacity: "1", color: e("placeholderColor.DEFAULT", e("colors.gray.400", "#a1a1aa"))}, 'button,[role="button"]': {cursor: "pointer"}, table: {textIndent: "0", borderColor: "inherit", borderCollapse: "collapse"}, "h1,h2,h3,h4,h5,h6": {fontSize: "inherit", fontWeight: "inherit"}, a: {color: "inherit", textDecoration: "inherit"}, "button,input,optgroup,select,textarea": {fontFamily: "inherit", fontSize: "100%", margin: "0", padding: "0", lineHeight: "inherit", color: "inherit"}, "button,select": {textTransform: "none"}, "::-moz-focus-inner": {borderStyle: "none", padding: "0"}, ":-moz-focusring": {outline: "1px dotted ButtonText"}, ":-moz-ui-invalid": {boxShadow: "none"}, progress: {verticalAlign: "baseline"}, "::-webkit-inner-spin-button,::-webkit-outer-spin-button": {height: "auto"}, '[type="search"]': {WebkitAppearance: "textfield", outlineOffset: "-2px"}, "::-webkit-search-decoration": {WebkitAppearance: "none"}, "::-webkit-file-upload-button": {WebkitAppearance: "button", font: "inherit"}, summary: {display: "list-item"}, "abbr[title]": {textDecoration: "underline dotted"}, "b,strong": {fontWeight: "bolder"}, "pre,code,kbd,samp": {fontFamily: e("fontFamily", "mono", "ui-monospace,monospace"), fontSize: "1em"}, "sub,sup": {fontSize: "75%", lineHeight: "0", position: "relative", verticalAlign: "baseline"}, sub: {bottom: "-0.25em"}, sup: {top: "-0.5em"}, "img,svg,video,canvas,audio,iframe,embed,object": {display: "block", verticalAlign: "middle"}, "img,video": {maxWidth: "100%", height: "auto"}});
var at = {dark: "@media (prefers-color-scheme:dark)", sticky: "@supports ((position: -webkit-sticky) or (position:sticky))", "motion-reduce": "@media (prefers-reduced-motion:reduce)", "motion-safe": "@media (prefers-reduced-motion:no-preference)", first: "&:first-child", last: "&:last-child", even: "&:nth-child(2n)", odd: "&:nth-child(odd)", children: "&>*", siblings: "&~*", sibling: "&+*", override: "&&"};
var lt = "__twind";
var ct = (e) => {
  let t2 = self[lt];
  return t2 || (t2 = document.head.appendChild(document.createElement("style")), t2.id = lt, e && (t2.nonce = e), t2.appendChild(document.createTextNode(""))), t2;
};
var Ee = ({nonce: e, target: t2 = ct(e).sheet} = {}) => {
  let n2 = t2.cssRules.length;
  return {target: t2, insert: (r2, i2) => t2.insertRule(r2, n2 + i2)};
};
var Fe = () => ({target: null, insert: de});
var ye = (e) => ({unknown(t2, n2 = [], r2, i2) {
  r2 || this.report({id: "UNKNOWN_THEME_VALUE", key: g([t2, ...n2], ".")}, i2);
}, report({id: t2, ...n2}) {
  let r2 = `[${t2}] ${JSON.stringify(n2)}`, i2 = (new Error(r2).stack || r2).split("at ");
  for (let o; (o = i2.splice(1, 1)[0]) && !/(^|\.)(tw|setup) /.test(o); )
    ;
  return e(i2.join("at "));
}});
var Se = ye((e) => console.warn(e));
var Me = ye((e) => {
  throw new Error(e);
});
var ze = ye(de);
var E = (e, t2, n2) => `${e}:${t2}${n2 ? " !important" : ""}`;
var De = (e, t2, n2) => {
  let r2 = "", i2 = r(e);
  i2 && (r2 += `${E(i2, t2, n2)};`);
  let o = n(e);
  return o & 1 && (r2 += `-webkit-${E(e, t2, n2)};`), o & 2 && (r2 += `-moz-${E(e, t2, n2)};`), o & 4 && (r2 += `-ms-${E(e, t2, n2)};`), o = t(e, t2), o & 1 && (r2 += `${E(e, `-webkit-${t2}`, n2)};`), o & 2 && (r2 += `${E(e, `-moz-${t2}`, n2)};`), o & 4 && (r2 += `${E(e, `-ms-${t2}`, n2)};`), r2 += E(e, t2, n2), r2;
};
var ae = (e, t2) => {
  let n2 = {};
  do
    for (let r2 = 1; r2 < e; r2++)
      n2[`${r2}/${e}`] = Number((r2 / e * 100).toFixed(6)) + "%";
  while (++e <= t2);
  return n2;
};
var N = (e, t2, n2 = 0) => {
  let r2 = {};
  for (; n2 <= e; n2 = n2 * 2 || 1)
    r2[n2] = n2 + t2;
  return r2;
};
var W = (e, t2 = "", n2 = 1, r2 = 0, i2 = 1) => {
  let o = {};
  for (; r2 <= e; r2 += i2)
    o[r2] = r2 / n2 + t2;
  return o;
};
var R = (e) => (t2) => t2(e);
var zt = {screens: {sm: "640px", md: "768px", lg: "1024px", xl: "1280px", "2xl": "1536px"}, colors: {transparent: "transparent", current: "currentColor", black: "#000", white: "#fff", gray: {50: "#f9fafb", 100: "#f3f4f6", 200: "#e5e7eb", 300: "#d1d5db", 400: "#9ca3af", 500: "#6b7280", 600: "#4b5563", 700: "#374151", 800: "#1f2937", 900: "#111827"}, red: {50: "#fef2f2", 100: "#fee2e2", 200: "#fecaca", 300: "#fca5a5", 400: "#f87171", 500: "#ef4444", 600: "#dc2626", 700: "#b91c1c", 800: "#991b1b", 900: "#7f1d1d"}, yellow: {50: "#fffbeb", 100: "#fef3c7", 200: "#fde68a", 300: "#fcd34d", 400: "#fbbf24", 500: "#f59e0b", 600: "#d97706", 700: "#b45309", 800: "#92400e", 900: "#78350f"}, green: {50: "#ecfdf5", 100: "#d1fae5", 200: "#a7f3d0", 300: "#6ee7b7", 400: "#34d399", 500: "#10b981", 600: "#059669", 700: "#047857", 800: "#065f46", 900: "#064e3b"}, blue: {50: "#eff6ff", 100: "#dbeafe", 200: "#bfdbfe", 300: "#93c5fd", 400: "#60a5fa", 500: "#3b82f6", 600: "#2563eb", 700: "#1d4ed8", 800: "#1e40af", 900: "#1e3a8a"}, indigo: {50: "#eef2ff", 100: "#e0e7ff", 200: "#c7d2fe", 300: "#a5b4fc", 400: "#818cf8", 500: "#6366f1", 600: "#4f46e5", 700: "#4338ca", 800: "#3730a3", 900: "#312e81"}, purple: {50: "#f5f3ff", 100: "#ede9fe", 200: "#ddd6fe", 300: "#c4b5fd", 400: "#a78bfa", 500: "#8b5cf6", 600: "#7c3aed", 700: "#6d28d9", 800: "#5b21b6", 900: "#4c1d95"}, pink: {50: "#fdf2f8", 100: "#fce7f3", 200: "#fbcfe8", 300: "#f9a8d4", 400: "#f472b6", 500: "#ec4899", 600: "#db2777", 700: "#be185d", 800: "#9d174d", 900: "#831843"}}, spacing: {px: "1px", 0: "0px", ...W(4, "rem", 4, 0.5, 0.5), ...W(12, "rem", 4, 5), 14: "3.5rem", ...W(64, "rem", 4, 16, 4), 72: "18rem", 80: "20rem", 96: "24rem"}, durations: {75: "75ms", 100: "100ms", 150: "150ms", 200: "200ms", 300: "300ms", 500: "500ms", 700: "700ms", 1e3: "1000ms"}, animation: {none: "none", spin: "spin 1s linear infinite", ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite", pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite", bounce: "bounce 1s infinite"}, backgroundColor: R("colors"), backgroundImage: {none: "none"}, backgroundOpacity: R("opacity"), borderColor: (e) => ({...e("colors"), DEFAULT: e("colors.gray.200", "currentColor")}), borderOpacity: R("opacity"), borderRadius: {none: "0px", sm: "0.125rem", DEFAULT: "0.25rem", md: "0.375rem", lg: "0.5rem", xl: "0.75rem", "2xl": "1rem", "3xl": "1.5rem", full: "9999px"}, borderWidth: {DEFAULT: "1px", ...N(8, "px")}, boxShadow: {sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)", DEFAULT: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)", md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)", lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)", xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)", "2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.25)", inner: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)", none: "none"}, container: {}, divideColor: R("borderColor"), divideOpacity: R("borderOpacity"), divideWidth: R("borderWidth"), fill: {current: "currentColor"}, flex: {1: "1 1 0%", auto: "1 1 auto", initial: "0 1 auto", none: "none"}, fontFamily: {sans: 'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","), serif: 'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","), mono: 'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")}, fontSize: {xs: ["0.75rem", "1rem"], sm: ["0.875rem", "1.25rem"], base: ["1rem", "1.5rem"], lg: ["1.125rem", "1.75rem"], xl: ["1.25rem", "1.75rem"], "2xl": ["1.5rem", "2rem"], "3xl": ["1.875rem", "2.25rem"], "4xl": ["2.25rem", "2.5rem"], "5xl": ["3rem", "1"], "6xl": ["3.75rem", "1"], "7xl": ["4.5rem", "1"], "8xl": ["6rem", "1"], "9xl": ["8rem", "1"]}, fontWeight: {thin: "100", extralight: "200", light: "300", normal: "400", medium: "500", semibold: "600", bold: "700", extrabold: "800", black: "900"}, gap: R("spacing"), gradientColorStops: R("colors"), height: (e) => ({auto: "auto", ...e("spacing"), ...ae(2, 6), full: "100%", screen: "100vh"}), inset: (e) => ({auto: "auto", ...e("spacing"), ...ae(2, 4), full: "100%"}), keyframes: {spin: {from: {transform: "rotate(0deg)"}, to: {transform: "rotate(360deg)"}}, ping: {"0%": {transform: "scale(1)", opacity: "1"}, "75%,100%": {transform: "scale(2)", opacity: "0"}}, pulse: {"0%,100%": {opacity: "1"}, "50%": {opacity: ".5"}}, bounce: {"0%, 100%": {transform: "translateY(-25%)", animationTimingFunction: "cubic-bezier(0.8,0,1,1)"}, "50%": {transform: "none", animationTimingFunction: "cubic-bezier(0,0,0.2,1)"}}}, letterSpacing: {tighter: "-0.05em", tight: "-0.025em", normal: "0em", wide: "0.025em", wider: "0.05em", widest: "0.1em"}, lineHeight: {none: "1", tight: "1.25", snug: "1.375", normal: "1.5", relaxed: "1.625", loose: "2", ...W(10, "rem", 4, 3)}, margin: (e) => ({auto: "auto", ...e("spacing")}), maxHeight: (e) => ({...e("spacing"), full: "100%", screen: "100vh"}), maxWidth: (e, {breakpoints: t2}) => ({none: "none", 0: "0rem", xs: "20rem", sm: "24rem", md: "28rem", lg: "32rem", xl: "36rem", "2xl": "42rem", "3xl": "48rem", "4xl": "56rem", "5xl": "64rem", "6xl": "72rem", "7xl": "80rem", full: "100%", min: "min-content", max: "max-content", prose: "65ch", ...t2(e("screens"))}), minHeight: {0: "0px", full: "100%", screen: "100vh"}, minWidth: {0: "0px", full: "100%", min: "min-content", max: "max-content"}, opacity: {...W(100, "", 100, 0, 10), 5: "0.05", 25: "0.25", 75: "0.75", 95: "0.95"}, order: {first: "-9999", last: "9999", none: "0", ...W(12, "", 1, 1)}, outline: {none: ["2px solid transparent", "2px"], white: ["2px dotted white", "2px"], black: ["2px dotted black", "2px"]}, padding: R("spacing"), placeholderColor: R("colors"), placeholderOpacity: R("opacity"), ringColor: (e) => ({DEFAULT: e("colors.blue.500", "#3b82f6"), ...e("colors")}), ringOffsetColor: R("colors"), ringOffsetWidth: N(8, "px"), ringOpacity: (e) => ({DEFAULT: "0.5", ...e("opacity")}), ringWidth: {DEFAULT: "3px", ...N(8, "px")}, rotate: {...N(2, "deg"), ...N(12, "deg", 3), ...N(180, "deg", 45)}, scale: {0: "0", 50: ".5", 75: ".75", ...W(110, "", 100, 90, 5), 125: "1.25", 150: "1.5"}, skew: {...N(2, "deg"), ...N(12, "deg", 3)}, space: R("spacing"), stroke: {current: "currentColor"}, strokeWidth: W(2), textColor: R("colors"), textOpacity: R("opacity"), transitionDuration: (e) => ({DEFAULT: "150ms", ...e("durations")}), transitionDelay: R("durations"), transitionProperty: {none: "none", all: "all", DEFAULT: "background-color,border-color,color,fill,stroke,opacity,box-shadow,transform", colors: "background-color,border-color,color,fill,stroke", opacity: "opacity", shadow: "box-shadow", transform: "transform"}, transitionTimingFunction: {DEFAULT: "cubic-bezier(0.4,0,0.2,1)", linear: "linear", in: "cubic-bezier(0.4,0,1,1)", out: "cubic-bezier(0,0,0.2,1)", "in-out": "cubic-bezier(0.4,0,0.2,1)"}, translate: (e) => ({...e("spacing"), ...ae(2, 4), full: "100%"}), width: (e) => ({auto: "auto", ...e("spacing"), ...ae(2, 6), ...ae(12, 12), screen: "100vw", full: "100%", min: "min-content", max: "max-content"}), zIndex: {auto: "auto", ...W(50, "", 1, 0, 10)}};
var dt = (e, t2 = {}, n2 = []) => (Object.keys(e).forEach((r2) => {
  let i2 = e[r2];
  r2 === "DEFAULT" && (t2[g(n2)] = i2, t2[g(n2, ".")] = i2);
  let o = [...n2, r2];
  t2[g(o)] = i2, t2[g(o, ".")] = i2, i2 && typeof i2 == "object" && dt(i2, t2, o);
}, t2), t2);
var Dt = {negative: () => ({}), breakpoints: (e) => Object.keys(e).filter((t2) => typeof e[t2] == "string").reduce((t2, n2) => (t2["screen-" + n2] = e[n2], t2), {})};
var ut = (e) => {
  let t2 = new Map(), n2 = {...zt, ...e}, r2 = (o, a) => {
    let c = o && o[a], f = typeof c == "function" ? c(i2, Dt) : c;
    return f && a === "colors" ? dt(f) : f;
  }, i2 = (o, a, c) => {
    let f = o.split(".");
    o = f[0], f.length > 1 && (c = a, a = g(d(f), "."));
    let C = t2.get(o);
    if (C || t2.set(o, C = {...r2(n2, o), ...r2(n2.extend, o)}), a != null) {
      let z = C[(Array.isArray(a) ? g(a) : a) || "DEFAULT"];
      return z == null ? c : Array.isArray(z) && !b(["fontSize", "outline"], o) ? g(z, ",") : z;
    }
    return C;
  };
  return i2;
};
var gt = (e, t2) => (n2, r2) => {
  if (typeof n2.d == "function")
    return n2.d(t2);
  let i2 = n2.d.split("-");
  if (!r2 && i2[0] === "tw" && n2.$ === n2.d)
    return n2.$;
  for (let o = i2.length; o; o--) {
    let a = g(i2.slice(0, o)), c = e[a];
    if (c)
      return typeof c == "function" ? c(d(i2, o), t2, a) : typeof c == "string" ? t2[r2 ? "css" : "tw"](c) : c;
  }
};
var le;
var Oe = /^:(group(?:(?!-focus).+?)*)-(.+)$/;
var ft = (e, t2, {theme: n2, tag: r2}) => {
  let i2 = (o, a) => (le = n2("screens", d(a), "")) ? {[j(le)]: o} : a === ":dark" && e === "class" ? {[".dark &"]: o} : (le = Oe.exec(a)) ? {[`.${ge(r2(le[1]))}:${le[2]} &`]: o} : {[t2[d(a)] || "&" + a]: o};
  return (o, a) => a.v.reduceRight(i2, o);
};
var A;
var We = (e) => (((A = /(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e)) ? +A[1] / (A[2] ? 15 : 1) / 10 : 0) & 31) << 22;
var pt = (e) => {
  A = 0;
  for (let t2 = e.length; t2--; )
    A += b("-:,", e[t2]);
  return A;
};
var je = (e) => (pt(e) & 15) << 18;
var Ot = ["rst", "st", "en", "d", "nk", "sited", "pty", "ecked", "cus-w", "ver", "cus", "cus-v", "tive", "sable", "ad-on", "tiona", "quire"];
var Wt = (e) => 1 << (~(A = Ot.indexOf(e.replace(Oe, ":$2").slice(3, 8))) ? A : 17);
var mt = (e, t2) => (n2, r2) => n2 | ((A = e("screens", d(r2), "")) ? 1 << 27 | We(j(A)) : r2 === ":dark" ? 1 << 30 : (A = t2[r2] || r2)[0] === "@" ? je(A) : Wt(r2));
var ht = (e) => e[0] === "-" ? 0 : pt(e) + ((A = /^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e)) ? +!!A[1] || -!!A[2] : 0) + 1;
var Ie = (e, t2) => t2 + "{" + e + "}";
var He;
(function(e) {
  e[e.base = 0] = "base", e[e.components = 1] = "components", e[e.utilities = 2] = "utilities", e[e.css = 3] = "css";
})(He || (He = {}));
var bt = (e, t2, n2) => {
  let {theme: r2, tag: i2} = n2, o = (T, S) => "--" + i2(S), a = (T) => `${T}`.replace(/--(tw-[\w-]+)\b/g, o), c = (T, S, k) => (T = a(T), Array.isArray(S) ? g(S.filter(Boolean).map((y) => e(T, a(y), k)), ";") : e(T, a(S), k)), f, C = (T, S, k, y, F) => {
    if (Array.isArray(y)) {
      y.forEach((p) => C(T, S, k, p, F));
      return;
    }
    let D = "", G = 0, Y = 0;
    y && y["@apply"] && (y = q(O(Re(y["@apply"]), n2), {...y, "@apply": void 0}, n2)), Object.keys(y).forEach((p) => {
      let $ = O(y[p], n2);
      if (Ce(p, $)) {
        if ($ !== "" && p.length > 1) {
          let w = we(p);
          Y += 1, G = Math.max(G, ht(w)), D = (D && D + ";") + c(w, $, F);
        }
      } else if ($)
        if (p == ":global" && (p = "@global"), p[0] === "@")
          if (p[1] == "g")
            C([], "", 0, $, F);
          else if (p[1] === "f")
            C([], p, 0, $, F);
          else if (p[1] === "k") {
            let w = f.length;
            C([], "", 0, $, F);
            let l = f.splice(w, f.length - w);
            f.push({r: Ie(g(l.map((u) => u.r), ""), p), p: l.reduce((u, m) => u + m.p, 0)});
          } else
            p[1] == "i" ? (Array.isArray($) ? $ : [$]).forEach((w) => w && f.push({p: 0, r: `${p} ${w};`})) : (p[2] == "c" && (p = j(n2.theme("screens", d(p, 8).trim()))), C([...T, p], S, k | We(p) | je(p), $, F));
        else
          C(T, S ? S.replace(/([^,])+/g, (w) => p.replace(/([^,])+/g, (l) => b(l, "&") ? l.replace(/&/g, w) : (w && w + " ") + l)) : p, k, $, F);
    }), Y && f.push({r: T.reduceRight(Ie, Ie(D, S)), p: k * (1 << 8) + ((Math.max(0, 15 - Y) & 15) << 4 | (G || 15) & 15)});
  }, z = mt(r2, t2);
  return (T, S, k, y = 0) => (y <<= 28, f = [], C([], S ? "." + ge(S) : "", k ? k.v.reduceRight(z, y) : y, T, k && k.i), f);
};
var xt = (e, t2, n2, r2) => {
  let i2;
  n2((a = []) => i2 = a);
  let o;
  return n2((a = new Set()) => o = a), ({r: a, p: c}) => {
    if (!o.has(a)) {
      o.add(a);
      let f = Ve(i2, c);
      try {
        e.insert(a, f), i2.splice(f, 0, c);
      } catch (C) {
        /:-[mwo]/.test(a) || t2.report({id: "INJECT_CSS_ERROR", css: a, error: C}, r2);
      }
    }
  };
};
var _e = (e, t2, n2, r2 = t2) => e === false ? n2 : e === true ? r2 : e || t2;
var jt = (e) => (typeof e == "string" ? {t: Me, a: Se, i: ze}[e[1]] : e) || Se;
var It = (e, t2) => e + (t2[1] === ":" ? d(t2, 2) + ":" : d(t2)) + ":";
var yt = (e, t2 = e.d) => typeof t2 == "function" ? "" : e.v.reduce(It, "") + (e.n ? "-" : "") + t2 + (e.i ? "!" : "");
var Ht = {_: {value: "", writable: true}};
var St = (e = {}) => {
  let t2 = ut(e.theme), n2 = jt(e.mode), r2 = _e(e.hash, false, false, Z), i2 = {v: []}, o = 0, a = [], c = {tw: (...l) => $(l), theme: (l, u, m) => {
    u != null && !u.length && (u = "DEFAULT");
    let P = t2(l, u, m) || n2.unknown(l, u == null || Array.isArray(u) ? u : u.split("."), m != null, c);
    return i2.n && P && typeof P == "string" ? `calc(${P} * -1)` : P;
  }, tag: (l) => r2 ? r2(l) : l, css: (l) => {
    o++;
    let u = a.length;
    try {
      (typeof l == "string" ? te([l]) : l).forEach(p);
      let m = Object.create(null, Ht);
      for (let P = u; P < a.length; P++) {
        let ce = a[P];
        if (ce)
          switch (typeof ce) {
            case "object":
              q(m, ce, c);
              break;
            case "string":
              m._ += (m._ && " ") + ce;
          }
      }
      return m;
    } finally {
      a.length = u, o--;
    }
  }}, f = gt({...it, ...e.plugins}, c), C = (l) => {
    let u = i2;
    i2 = l;
    try {
      return O(f(l), c);
    } finally {
      i2 = u;
    }
  }, z = {...at, ...e.variants}, T = ft(e.darkMode || "media", z, c), S = bt(_e(e.prefix, De, E), z, c), k = e.sheet || (typeof window == "undefined" ? Fe() : Ee(e)), {init: y = (l) => l()} = k, F = xt(k, n2, y, c), D;
  y((l = new Map()) => D = l);
  let G = new WeakMap(), Y = (l, u) => typeof u == "function" ? JSON.stringify(u(c), Y) : u, p = (l) => {
    !o && i2.v.length && (l = {...l, v: [...i2.v, ...l.v], $: ""}), l.$ || (l.$ = yt(l, G.get(l.d)));
    let u = o ? null : D.get(l.$);
    if (u == null) {
      let m = C(l);
      if (l.$ || (l.$ = Z(JSON.stringify(m, Y)), G.set(l.d, l.$), l.$ = yt(l, l.$)), m && typeof m == "object")
        if (m = T(m, l), o)
          a.push(m);
        else {
          let P = typeof l.d == "function" ? typeof m._ == "string" ? 1 : 3 : 2;
          u = r2 || typeof l.d == "function" ? (r2 || Z)(P + l.$) : l.$, S(m, u, l, P).forEach(F), m._ && (u += " " + m._);
        }
      else
        typeof m == "string" ? u = m : (u = l.$, n2.report({id: "UNKNOWN_DIRECTIVE", rule: u}, c)), o && typeof l.d != "function" && a.push(u);
      o || (D.set(l.$, u), ue(D, 3e4));
    }
    return u;
  }, $ = (l) => te(l).map(p).filter(Boolean).join(" "), w = _e(e.preflight, Ue, false);
  if (w) {
    let l = st(t2), u = S(typeof w == "function" ? O(w(l, c), c) || l : {...l, ...w});
    y((m = (u.forEach(F), true)) => m);
  }
  return {init: () => n2.report({id: "LATE_SETUP_CALL"}, c), process: $};
};
var Ne = (e) => {
  let t2 = (o) => (n2(), t2(o)), n2 = (o) => {
    ({process: t2, init: n2} = St(o));
  };
  e && n2(e);
  let r2;
  return {tw: Object.defineProperties((...o) => t2(o), {theme: {get: ((o) => () => (r2 || t2([(a) => (r2 = a, "")]), r2[o]))("theme")}}), setup: (o) => n2(o)};
};
var {tw: _t, setup: Nt} = Ne();

export {
  ne,
  Re,
  Ne,
  _t,
  Nt
};
