import e, { useState as t, useMemo as n, useEffect as r, useContext as o, useRef as s, useDebugValue as a, createElement as i } from "react";
import { g as c } from "./alasql-f60045ee.js";
var l = function() {
  return l = Object.assign || function(e2) {
    for (var t2, n2 = 1, r2 = arguments.length; n2 < r2; n2++)
      for (var o2 in t2 = arguments[n2])
        Object.prototype.hasOwnProperty.call(t2, o2) && (e2[o2] = t2[o2]);
    return e2;
  }, l.apply(this, arguments);
};
function u(e2, t2, n2) {
  if (n2 || 2 === arguments.length)
    for (var r2, o2 = 0, s2 = t2.length; o2 < s2; o2++)
      !r2 && o2 in t2 || (r2 || (r2 = Array.prototype.slice.call(t2, 0, o2)), r2[o2] = t2[o2]);
  return e2.concat(r2 || Array.prototype.slice.call(t2));
}
function p(e2) {
  var t2 = /* @__PURE__ */ Object.create(null);
  return function(n2) {
    return void 0 === t2[n2] && (t2[n2] = e2(n2)), t2[n2];
  };
}
var d = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, f = p(function(e2) {
  return d.test(e2) || 111 === e2.charCodeAt(0) && 110 === e2.charCodeAt(1) && e2.charCodeAt(2) < 91;
});
const h = c(function(e2, t2, n2, r2) {
  var o2 = n2 ? n2.call(r2, e2, t2) : void 0;
  if (void 0 !== o2)
    return !!o2;
  if (e2 === t2)
    return true;
  if ("object" != typeof e2 || !e2 || "object" != typeof t2 || !t2)
    return false;
  var s2 = Object.keys(e2), a2 = Object.keys(t2);
  if (s2.length !== a2.length)
    return false;
  for (var i2 = Object.prototype.hasOwnProperty.bind(t2), c2 = 0; c2 < s2.length; c2++) {
    var l2 = s2[c2];
    if (!i2(l2))
      return false;
    var u2 = e2[l2], p2 = t2[l2];
    if (false === (o2 = n2 ? n2.call(r2, u2, p2, l2) : void 0) || void 0 === o2 && u2 !== p2)
      return false;
  }
  return true;
});
var m = "-ms-", y = "-moz-", g = "-webkit-", v = "comm", S = "rule", b = "decl", w = "@import", E = "@keyframes", k = "@layer", C = Math.abs, x = String.fromCharCode, P = Object.assign;
function N(e2) {
  return e2.trim();
}
function A(e2, t2) {
  return (e2 = t2.exec(e2)) ? e2[0] : e2;
}
function O(e2, t2, n2) {
  return e2.replace(t2, n2);
}
function _(e2, t2, n2) {
  return e2.indexOf(t2, n2);
}
function I(e2, t2) {
  return 0 | e2.charCodeAt(t2);
}
function T(e2, t2, n2) {
  return e2.slice(t2, n2);
}
function R(e2) {
  return e2.length;
}
function D(e2) {
  return e2.length;
}
function j(e2, t2) {
  return t2.push(e2), e2;
}
function $(e2, t2) {
  return e2.filter(function(e3) {
    return !A(e3, t2);
  });
}
var M = 1, z = 1, L = 0, V = 0, F = 0, B = "";
function G(e2, t2, n2, r2, o2, s2, a2, i2) {
  return { value: e2, root: t2, parent: n2, type: r2, props: o2, children: s2, line: M, column: z, length: a2, return: "", siblings: i2 };
}
function H(e2, t2) {
  return P(G("", null, null, "", null, null, 0, e2.siblings), e2, { length: -e2.length }, t2);
}
function W(e2) {
  for (; e2.root; )
    e2 = H(e2.root, { children: [e2] });
  j(e2, e2.siblings);
}
function Y() {
  return F = V > 0 ? I(B, --V) : 0, z--, 10 === F && (z = 1, M--), F;
}
function q() {
  return F = V < L ? I(B, V++) : 0, z++, 10 === F && (z = 1, M++), F;
}
function U() {
  return I(B, V);
}
function X() {
  return V;
}
function K(e2, t2) {
  return T(B, e2, t2);
}
function Z(e2) {
  switch (e2) {
    case 0:
    case 9:
    case 10:
    case 13:
    case 32:
      return 5;
    case 33:
    case 43:
    case 44:
    case 47:
    case 62:
    case 64:
    case 126:
    case 59:
    case 123:
    case 125:
      return 4;
    case 58:
      return 3;
    case 34:
    case 39:
    case 40:
    case 91:
      return 2;
    case 41:
    case 93:
      return 1;
  }
  return 0;
}
function J(e2) {
  return N(K(V - 1, te(91 === e2 ? e2 + 2 : 40 === e2 ? e2 + 1 : e2)));
}
function Q(e2) {
  for (; (F = U()) && F < 33; )
    q();
  return Z(e2) > 2 || Z(F) > 3 ? "" : " ";
}
function ee(e2, t2) {
  for (; --t2 && q() && !(F < 48 || F > 102 || F > 57 && F < 65 || F > 70 && F < 97); )
    ;
  return K(e2, X() + (t2 < 6 && 32 == U() && 32 == q()));
}
function te(e2) {
  for (; q(); )
    switch (F) {
      case e2:
        return V;
      case 34:
      case 39:
        34 !== e2 && 39 !== e2 && te(F);
        break;
      case 40:
        41 === e2 && te(e2);
        break;
      case 92:
        q();
    }
  return V;
}
function ne(e2, t2) {
  for (; q() && e2 + F !== 57 && (e2 + F !== 84 || 47 !== U()); )
    ;
  return "/*" + K(t2, V - 1) + "*" + x(47 === e2 ? e2 : q());
}
function re(e2) {
  for (; !Z(U()); )
    q();
  return K(e2, V);
}
function oe(e2) {
  return function(e3) {
    return B = "", e3;
  }(se("", null, null, null, [""], e2 = function(e3) {
    return M = z = 1, L = R(B = e3), V = 0, [];
  }(e2), 0, [0], e2));
}
function se(e2, t2, n2, r2, o2, s2, a2, i2, c2) {
  for (var l2 = 0, u2 = 0, p2 = a2, d2 = 0, f2 = 0, h2 = 0, m2 = 1, y2 = 1, g2 = 1, v2 = 0, S2 = "", b2 = o2, w2 = s2, E2 = r2, k2 = S2; y2; )
    switch (h2 = v2, v2 = q()) {
      case 40:
        if (108 != h2 && 58 == I(k2, p2 - 1)) {
          -1 != _(k2 += O(J(v2), "&", "&\f"), "&\f", C(l2 ? i2[l2 - 1] : 0)) && (g2 = -1);
          break;
        }
      case 34:
      case 39:
      case 91:
        k2 += J(v2);
        break;
      case 9:
      case 10:
      case 13:
      case 32:
        k2 += Q(h2);
        break;
      case 92:
        k2 += ee(X() - 1, 7);
        continue;
      case 47:
        switch (U()) {
          case 42:
          case 47:
            j(ie(ne(q(), X()), t2, n2, c2), c2);
            break;
          default:
            k2 += "/";
        }
        break;
      case 123 * m2:
        i2[l2++] = R(k2) * g2;
      case 125 * m2:
      case 59:
      case 0:
        switch (v2) {
          case 0:
          case 125:
            y2 = 0;
          case 59 + u2:
            -1 == g2 && (k2 = O(k2, /\f/g, "")), f2 > 0 && R(k2) - p2 && j(f2 > 32 ? ce(k2 + ";", r2, n2, p2 - 1, c2) : ce(O(k2, " ", "") + ";", r2, n2, p2 - 2, c2), c2);
            break;
          case 59:
            k2 += ";";
          default:
            if (j(E2 = ae(k2, t2, n2, l2, u2, o2, i2, S2, b2 = [], w2 = [], p2, s2), s2), 123 === v2)
              if (0 === u2)
                se(k2, t2, E2, E2, b2, s2, p2, i2, w2);
              else
                switch (99 === d2 && 110 === I(k2, 3) ? 100 : d2) {
                  case 100:
                  case 108:
                  case 109:
                  case 115:
                    se(e2, E2, E2, r2 && j(ae(e2, E2, E2, 0, 0, o2, i2, S2, o2, b2 = [], p2, w2), w2), o2, w2, p2, i2, r2 ? b2 : w2);
                    break;
                  default:
                    se(k2, E2, E2, E2, [""], w2, 0, i2, w2);
                }
        }
        l2 = u2 = f2 = 0, m2 = g2 = 1, S2 = k2 = "", p2 = a2;
        break;
      case 58:
        p2 = 1 + R(k2), f2 = h2;
      default:
        if (m2 < 1) {
          if (123 == v2)
            --m2;
          else if (125 == v2 && 0 == m2++ && 125 == Y())
            continue;
        }
        switch (k2 += x(v2), v2 * m2) {
          case 38:
            g2 = u2 > 0 ? 1 : (k2 += "\f", -1);
            break;
          case 44:
            i2[l2++] = (R(k2) - 1) * g2, g2 = 1;
            break;
          case 64:
            45 === U() && (k2 += J(q())), d2 = U(), u2 = p2 = R(S2 = k2 += re(X())), v2++;
            break;
          case 45:
            45 === h2 && 2 == R(k2) && (m2 = 0);
        }
    }
  return s2;
}
function ae(e2, t2, n2, r2, o2, s2, a2, i2, c2, l2, u2, p2) {
  for (var d2 = o2 - 1, f2 = 0 === o2 ? s2 : [""], h2 = D(f2), m2 = 0, y2 = 0, g2 = 0; m2 < r2; ++m2)
    for (var v2 = 0, b2 = T(e2, d2 + 1, d2 = C(y2 = a2[m2])), w2 = e2; v2 < h2; ++v2)
      (w2 = N(y2 > 0 ? f2[v2] + " " + b2 : O(b2, /&\f/g, f2[v2]))) && (c2[g2++] = w2);
  return G(e2, t2, n2, 0 === o2 ? S : i2, c2, l2, u2, p2);
}
function ie(e2, t2, n2, r2) {
  return G(e2, t2, n2, v, x(F), T(e2, 2, -2), 0, r2);
}
function ce(e2, t2, n2, r2, o2) {
  return G(e2, t2, n2, b, T(e2, 0, r2), T(e2, r2 + 1, -1), r2, o2);
}
function le(e2, t2, n2) {
  switch (function(e3, t3) {
    return 45 ^ I(e3, 0) ? (((t3 << 2 ^ I(e3, 0)) << 2 ^ I(e3, 1)) << 2 ^ I(e3, 2)) << 2 ^ I(e3, 3) : 0;
  }(e2, t2)) {
    case 5103:
      return g + "print-" + e2 + e2;
    case 5737:
    case 4201:
    case 3177:
    case 3433:
    case 1641:
    case 4457:
    case 2921:
    case 5572:
    case 6356:
    case 5844:
    case 3191:
    case 6645:
    case 3005:
    case 6391:
    case 5879:
    case 5623:
    case 6135:
    case 4599:
    case 4855:
    case 4215:
    case 6389:
    case 5109:
    case 5365:
    case 5621:
    case 3829:
      return g + e2 + e2;
    case 4789:
      return y + e2 + e2;
    case 5349:
    case 4246:
    case 4810:
    case 6968:
    case 2756:
      return g + e2 + y + e2 + m + e2 + e2;
    case 5936:
      switch (I(e2, t2 + 11)) {
        case 114:
          return g + e2 + m + O(e2, /[svh]\w+-[tblr]{2}/, "tb") + e2;
        case 108:
          return g + e2 + m + O(e2, /[svh]\w+-[tblr]{2}/, "tb-rl") + e2;
        case 45:
          return g + e2 + m + O(e2, /[svh]\w+-[tblr]{2}/, "lr") + e2;
      }
    case 6828:
    case 4268:
    case 2903:
      return g + e2 + m + e2 + e2;
    case 6165:
      return g + e2 + m + "flex-" + e2 + e2;
    case 5187:
      return g + e2 + O(e2, /(\w+).+(:[^]+)/, g + "box-$1$2" + m + "flex-$1$2") + e2;
    case 5443:
      return g + e2 + m + "flex-item-" + O(e2, /flex-|-self/g, "") + (A(e2, /flex-|baseline/) ? "" : m + "grid-row-" + O(e2, /flex-|-self/g, "")) + e2;
    case 4675:
      return g + e2 + m + "flex-line-pack" + O(e2, /align-content|flex-|-self/g, "") + e2;
    case 5548:
      return g + e2 + m + O(e2, "shrink", "negative") + e2;
    case 5292:
      return g + e2 + m + O(e2, "basis", "preferred-size") + e2;
    case 6060:
      return g + "box-" + O(e2, "-grow", "") + g + e2 + m + O(e2, "grow", "positive") + e2;
    case 4554:
      return g + O(e2, /([^-])(transform)/g, "$1" + g + "$2") + e2;
    case 6187:
      return O(O(O(e2, /(zoom-|grab)/, g + "$1"), /(image-set)/, g + "$1"), e2, "") + e2;
    case 5495:
    case 3959:
      return O(e2, /(image-set\([^]*)/, g + "$1$`$1");
    case 4968:
      return O(O(e2, /(.+:)(flex-)?(.*)/, g + "box-pack:$3" + m + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + g + e2 + e2;
    case 4200:
      if (!A(e2, /flex-|baseline/))
        return m + "grid-column-align" + T(e2, t2) + e2;
      break;
    case 2592:
    case 3360:
      return m + O(e2, "template-", "") + e2;
    case 4384:
    case 3616:
      return n2 && n2.some(function(e3, n3) {
        return t2 = n3, A(e3.props, /grid-\w+-end/);
      }) ? ~_(e2 + (n2 = n2[t2].value), "span", 0) ? e2 : m + O(e2, "-start", "") + e2 + m + "grid-row-span:" + (~_(n2, "span", 0) ? A(n2, /\d+/) : +A(n2, /\d+/) - +A(e2, /\d+/)) + ";" : m + O(e2, "-start", "") + e2;
    case 4896:
    case 4128:
      return n2 && n2.some(function(e3) {
        return A(e3.props, /grid-\w+-start/);
      }) ? e2 : m + O(O(e2, "-end", "-span"), "span ", "") + e2;
    case 4095:
    case 3583:
    case 4068:
    case 2532:
      return O(e2, /(.+)-inline(.+)/, g + "$1$2") + e2;
    case 8116:
    case 7059:
    case 5753:
    case 5535:
    case 5445:
    case 5701:
    case 4933:
    case 4677:
    case 5533:
    case 5789:
    case 5021:
    case 4765:
      if (R(e2) - 1 - t2 > 6)
        switch (I(e2, t2 + 1)) {
          case 109:
            if (45 !== I(e2, t2 + 4))
              break;
          case 102:
            return O(e2, /(.+:)(.+)-([^]+)/, "$1" + g + "$2-$3$1" + y + (108 == I(e2, t2 + 3) ? "$3" : "$2-$3")) + e2;
          case 115:
            return ~_(e2, "stretch", 0) ? le(O(e2, "stretch", "fill-available"), t2, n2) + e2 : e2;
        }
      break;
    case 5152:
    case 5920:
      return O(e2, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(t3, n3, r2, o2, s2, a2, i2) {
        return m + n3 + ":" + r2 + i2 + (o2 ? m + n3 + "-span:" + (s2 ? a2 : +a2 - +r2) + i2 : "") + e2;
      });
    case 4949:
      if (121 === I(e2, t2 + 6))
        return O(e2, ":", ":" + g) + e2;
      break;
    case 6444:
      switch (I(e2, 45 === I(e2, 14) ? 18 : 11)) {
        case 120:
          return O(e2, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + g + (45 === I(e2, 14) ? "inline-" : "") + "box$3$1" + g + "$2$3$1" + m + "$2box$3") + e2;
        case 100:
          return O(e2, ":", ":" + m) + e2;
      }
      break;
    case 5719:
    case 2647:
    case 2135:
    case 3927:
    case 2391:
      return O(e2, "scroll-", "scroll-snap-") + e2;
  }
  return e2;
}
function ue(e2, t2) {
  for (var n2 = "", r2 = 0; r2 < e2.length; r2++)
    n2 += t2(e2[r2], r2, e2, t2) || "";
  return n2;
}
function pe(e2, t2, n2, r2) {
  switch (e2.type) {
    case k:
      if (e2.children.length)
        break;
    case w:
    case b:
      return e2.return = e2.return || e2.value;
    case v:
      return "";
    case E:
      return e2.return = e2.value + "{" + ue(e2.children, r2) + "}";
    case S:
      if (!R(e2.value = e2.props.join(",")))
        return "";
  }
  return R(n2 = ue(e2.children, r2)) ? e2.return = e2.value + "{" + n2 + "}" : "";
}
function de(e2, t2, n2, r2) {
  if (e2.length > -1 && !e2.return)
    switch (e2.type) {
      case b:
        return void (e2.return = le(e2.value, e2.length, n2));
      case E:
        return ue([H(e2, { value: O(e2.value, "@", "@" + g) })], r2);
      case S:
        if (e2.length)
          return function(e3, t3) {
            return e3.map(t3).join("");
          }(n2 = e2.props, function(t3) {
            switch (A(t3, r2 = /(::plac\w+|:read-\w+)/)) {
              case ":read-only":
              case ":read-write":
                W(H(e2, { props: [O(t3, /:(read-\w+)/, ":" + y + "$1")] })), W(H(e2, { props: [t3] })), P(e2, { props: $(n2, r2) });
                break;
              case "::placeholder":
                W(H(e2, { props: [O(t3, /:(plac\w+)/, ":" + g + "input-$1")] })), W(H(e2, { props: [O(t3, /:(plac\w+)/, ":" + y + "$1")] })), W(H(e2, { props: [O(t3, /:(plac\w+)/, m + "input-$1")] })), W(H(e2, { props: [t3] })), P(e2, { props: $(n2, r2) });
            }
            return "";
          });
    }
}
var fe = { animationIterationCount: 1, borderImageOutset: 1, borderImageSlice: 1, borderImageWidth: 1, boxFlex: 1, boxFlexGroup: 1, boxOrdinalGroup: 1, columnCount: 1, columns: 1, flex: 1, flexGrow: 1, flexPositive: 1, flexShrink: 1, flexNegative: 1, flexOrder: 1, gridRow: 1, gridRowEnd: 1, gridRowSpan: 1, gridRowStart: 1, gridColumn: 1, gridColumnEnd: 1, gridColumnSpan: 1, gridColumnStart: 1, msGridRow: 1, msGridRowSpan: 1, msGridColumn: 1, msGridColumnSpan: 1, fontWeight: 1, lineHeight: 1, opacity: 1, order: 1, orphans: 1, tabSize: 1, widows: 1, zIndex: 1, zoom: 1, WebkitLineClamp: 1, fillOpacity: 1, floodOpacity: 1, stopOpacity: 1, strokeDasharray: 1, strokeDashoffset: 1, strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 }, he = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", me = "active", ye = "data-styled-version", ge = "6.1.8", ve = "/*!sc*/\n", Se = "undefined" != typeof window && "HTMLElement" in window, be = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env && void 0 !== process.env.REACT_APP_SC_DISABLE_SPEEDY && "" !== process.env.REACT_APP_SC_DISABLE_SPEEDY ? "false" !== process.env.REACT_APP_SC_DISABLE_SPEEDY && process.env.REACT_APP_SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env && void 0 !== process.env.SC_DISABLE_SPEEDY && "" !== process.env.SC_DISABLE_SPEEDY ? "false" !== process.env.SC_DISABLE_SPEEDY && process.env.SC_DISABLE_SPEEDY : "production" !== process.env.NODE_ENV), we = {}, Ee = /invalid hook call/i, ke = /* @__PURE__ */ new Set(), Ce = function(e2, t2) {
  if ("production" !== process.env.NODE_ENV) {
    var n2 = t2 ? ' with the id of "'.concat(t2, '"') : "", r2 = "The component ".concat(e2).concat(n2, " has been created dynamically.\n") + "You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.", o2 = console.error;
    try {
      var a2 = true;
      console.error = function(e3) {
        for (var t3 = [], n3 = 1; n3 < arguments.length; n3++)
          t3[n3 - 1] = arguments[n3];
        Ee.test(e3) ? (a2 = false, ke.delete(r2)) : o2.apply(void 0, u([e3], t3, false));
      }, s(), a2 && !ke.has(r2) && ke.add(r2);
    } catch (e3) {
      Ee.test(e3.message) && ke.delete(r2);
    } finally {
      console.error = o2;
    }
  }
}, xe = Object.freeze([]), Pe = Object.freeze({});
function Ne(e2, t2, n2) {
  return void 0 === n2 && (n2 = Pe), e2.theme !== n2.theme && e2.theme || t2 || n2.theme;
}
var Ae = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), Oe = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, _e = /(^-|-$)/g;
function Ie(e2) {
  return e2.replace(Oe, "-").replace(_e, "");
}
var Te = /(a)(d)/gi, Re = 52, De = function(e2) {
  return String.fromCharCode(e2 + (e2 > 25 ? 39 : 97));
};
function je(e2) {
  var t2, n2 = "";
  for (t2 = Math.abs(e2); t2 > Re; t2 = t2 / Re | 0)
    n2 = De(t2 % Re) + n2;
  return (De(t2 % Re) + n2).replace(Te, "$1-$2");
}
var $e, Me = 5381, ze = function(e2, t2) {
  for (var n2 = t2.length; n2; )
    e2 = 33 * e2 ^ t2.charCodeAt(--n2);
  return e2;
}, Le = function(e2) {
  return ze(Me, e2);
};
function Ve(e2) {
  return je(Le(e2) >>> 0);
}
function Fe(e2) {
  return "production" !== process.env.NODE_ENV && "string" == typeof e2 && e2 || e2.displayName || e2.name || "Component";
}
function Be(e2) {
  return "string" == typeof e2 && ("production" === process.env.NODE_ENV || e2.charAt(0) === e2.charAt(0).toLowerCase());
}
var Ge = "function" == typeof Symbol && Symbol.for, He = Ge ? Symbol.for("react.memo") : 60115, We = Ge ? Symbol.for("react.forward_ref") : 60112, Ye = { childContextTypes: true, contextType: true, contextTypes: true, defaultProps: true, displayName: true, getDefaultProps: true, getDerivedStateFromError: true, getDerivedStateFromProps: true, mixins: true, propTypes: true, type: true }, qe = { name: true, length: true, prototype: true, caller: true, callee: true, arguments: true, arity: true }, Ue = { $$typeof: true, compare: true, defaultProps: true, displayName: true, propTypes: true, type: true }, Xe = (($e = {})[We] = { $$typeof: true, render: true, defaultProps: true, displayName: true, propTypes: true }, $e[He] = Ue, $e);
function Ke(e2) {
  return ("type" in (t2 = e2) && t2.type.$$typeof) === He ? Ue : "$$typeof" in e2 ? Xe[e2.$$typeof] : Ye;
  var t2;
}
var Ze = Object.defineProperty, Je = Object.getOwnPropertyNames, Qe = Object.getOwnPropertySymbols, et = Object.getOwnPropertyDescriptor, tt = Object.getPrototypeOf, nt = Object.prototype;
function rt(e2, t2, n2) {
  if ("string" != typeof t2) {
    if (nt) {
      var r2 = tt(t2);
      r2 && r2 !== nt && rt(e2, r2, n2);
    }
    var o2 = Je(t2);
    Qe && (o2 = o2.concat(Qe(t2)));
    for (var s2 = Ke(e2), a2 = Ke(t2), i2 = 0; i2 < o2.length; ++i2) {
      var c2 = o2[i2];
      if (!(c2 in qe || n2 && n2[c2] || a2 && c2 in a2 || s2 && c2 in s2)) {
        var l2 = et(t2, c2);
        try {
          Ze(e2, c2, l2);
        } catch (e3) {
        }
      }
    }
  }
  return e2;
}
function ot(e2) {
  return "function" == typeof e2;
}
function st(e2) {
  return "object" == typeof e2 && "styledComponentId" in e2;
}
function at(e2, t2) {
  return e2 && t2 ? "".concat(e2, " ").concat(t2) : e2 || t2 || "";
}
function it(e2, t2) {
  if (0 === e2.length)
    return "";
  for (var n2 = e2[0], r2 = 1; r2 < e2.length; r2++)
    n2 += t2 ? t2 + e2[r2] : e2[r2];
  return n2;
}
function ct(e2) {
  return null !== e2 && "object" == typeof e2 && e2.constructor.name === Object.name && !("props" in e2 && e2.$$typeof);
}
function lt(e2, t2, n2) {
  if (void 0 === n2 && (n2 = false), !n2 && !ct(e2) && !Array.isArray(e2))
    return t2;
  if (Array.isArray(t2))
    for (var r2 = 0; r2 < t2.length; r2++)
      e2[r2] = lt(e2[r2], t2[r2]);
  else if (ct(t2))
    for (var r2 in t2)
      e2[r2] = lt(e2[r2], t2[r2]);
  return e2;
}
function ut(e2, t2) {
  Object.defineProperty(e2, "toString", { value: t2 });
}
var pt = "production" !== process.env.NODE_ENV ? { 1: "Cannot create styled-component for component: %s.\n\n", 2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n", 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n", 4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n", 5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n", 6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n", 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: 'ThemeProvider: Please make your "theme" prop an object.\n\n', 9: "Missing document `<head>`\n\n", 10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n", 11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n", 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n", 13: "%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n", 14: 'ThemeProvider: "theme" prop is required.\n\n', 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n", 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n", 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
function dt() {
  for (var e2 = [], t2 = 0; t2 < arguments.length; t2++)
    e2[t2] = arguments[t2];
  for (var n2 = e2[0], r2 = [], o2 = 1, s2 = e2.length; o2 < s2; o2 += 1)
    r2.push(e2[o2]);
  return r2.forEach(function(e3) {
    n2 = n2.replace(/%[a-z]/, e3);
  }), n2;
}
function ft(e2) {
  for (var t2 = [], n2 = 1; n2 < arguments.length; n2++)
    t2[n2 - 1] = arguments[n2];
  return "production" === process.env.NODE_ENV ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e2, " for more information.").concat(t2.length > 0 ? " Args: ".concat(t2.join(", ")) : "")) : new Error(dt.apply(void 0, u([pt[e2]], t2, false)).trim());
}
var ht = function() {
  function e2(e3) {
    this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e3;
  }
  return e2.prototype.indexOfGroup = function(e3) {
    for (var t2 = 0, n2 = 0; n2 < e3; n2++)
      t2 += this.groupSizes[n2];
    return t2;
  }, e2.prototype.insertRules = function(e3, t2) {
    if (e3 >= this.groupSizes.length) {
      for (var n2 = this.groupSizes, r2 = n2.length, o2 = r2; e3 >= o2; )
        if ((o2 <<= 1) < 0)
          throw ft(16, "".concat(e3));
      this.groupSizes = new Uint32Array(o2), this.groupSizes.set(n2), this.length = o2;
      for (var s2 = r2; s2 < o2; s2++)
        this.groupSizes[s2] = 0;
    }
    for (var a2 = this.indexOfGroup(e3 + 1), i2 = (s2 = 0, t2.length); s2 < i2; s2++)
      this.tag.insertRule(a2, t2[s2]) && (this.groupSizes[e3]++, a2++);
  }, e2.prototype.clearGroup = function(e3) {
    if (e3 < this.length) {
      var t2 = this.groupSizes[e3], n2 = this.indexOfGroup(e3), r2 = n2 + t2;
      this.groupSizes[e3] = 0;
      for (var o2 = n2; o2 < r2; o2++)
        this.tag.deleteRule(n2);
    }
  }, e2.prototype.getGroup = function(e3) {
    var t2 = "";
    if (e3 >= this.length || 0 === this.groupSizes[e3])
      return t2;
    for (var n2 = this.groupSizes[e3], r2 = this.indexOfGroup(e3), o2 = r2 + n2, s2 = r2; s2 < o2; s2++)
      t2 += "".concat(this.tag.getRule(s2)).concat(ve);
    return t2;
  }, e2;
}(), mt = /* @__PURE__ */ new Map(), yt = /* @__PURE__ */ new Map(), gt = 1, vt = function(e2) {
  if (mt.has(e2))
    return mt.get(e2);
  for (; yt.has(gt); )
    gt++;
  var t2 = gt++;
  if ("production" !== process.env.NODE_ENV && ((0 | t2) < 0 || t2 > 1073741824))
    throw ft(16, "".concat(t2));
  return mt.set(e2, t2), yt.set(t2, e2), t2;
}, St = function(e2, t2) {
  gt = t2 + 1, mt.set(e2, t2), yt.set(t2, e2);
}, bt = "style[".concat(he, "][").concat(ye, '="').concat(ge, '"]'), wt = new RegExp("^".concat(he, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), Et = function(e2, t2, n2) {
  for (var r2, o2 = n2.split(","), s2 = 0, a2 = o2.length; s2 < a2; s2++)
    (r2 = o2[s2]) && e2.registerName(t2, r2);
}, kt = function(e2, t2) {
  for (var n2, r2 = (null !== (n2 = t2.textContent) && void 0 !== n2 ? n2 : "").split(ve), o2 = [], s2 = 0, a2 = r2.length; s2 < a2; s2++) {
    var i2 = r2[s2].trim();
    if (i2) {
      var c2 = i2.match(wt);
      if (c2) {
        var l2 = 0 | parseInt(c2[1], 10), u2 = c2[2];
        0 !== l2 && (St(u2, l2), Et(e2, u2, c2[3]), e2.getTag().insertRules(l2, o2)), o2.length = 0;
      } else
        o2.push(i2);
    }
  }
};
function Ct() {
  return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
}
var xt = function(e2) {
  var t2 = document.head, n2 = e2 || t2, r2 = document.createElement("style"), o2 = function(e3) {
    var t3 = Array.from(e3.querySelectorAll("style[".concat(he, "]")));
    return t3[t3.length - 1];
  }(n2), s2 = void 0 !== o2 ? o2.nextSibling : null;
  r2.setAttribute(he, me), r2.setAttribute(ye, ge);
  var a2 = Ct();
  return a2 && r2.setAttribute("nonce", a2), n2.insertBefore(r2, s2), r2;
}, Pt = function() {
  function e2(e3) {
    this.element = xt(e3), this.element.appendChild(document.createTextNode("")), this.sheet = function(e4) {
      if (e4.sheet)
        return e4.sheet;
      for (var t2 = document.styleSheets, n2 = 0, r2 = t2.length; n2 < r2; n2++) {
        var o2 = t2[n2];
        if (o2.ownerNode === e4)
          return o2;
      }
      throw ft(17);
    }(this.element), this.length = 0;
  }
  return e2.prototype.insertRule = function(e3, t2) {
    try {
      return this.sheet.insertRule(t2, e3), this.length++, true;
    } catch (e4) {
      return false;
    }
  }, e2.prototype.deleteRule = function(e3) {
    this.sheet.deleteRule(e3), this.length--;
  }, e2.prototype.getRule = function(e3) {
    var t2 = this.sheet.cssRules[e3];
    return t2 && t2.cssText ? t2.cssText : "";
  }, e2;
}(), Nt = function() {
  function e2(e3) {
    this.element = xt(e3), this.nodes = this.element.childNodes, this.length = 0;
  }
  return e2.prototype.insertRule = function(e3, t2) {
    if (e3 <= this.length && e3 >= 0) {
      var n2 = document.createTextNode(t2);
      return this.element.insertBefore(n2, this.nodes[e3] || null), this.length++, true;
    }
    return false;
  }, e2.prototype.deleteRule = function(e3) {
    this.element.removeChild(this.nodes[e3]), this.length--;
  }, e2.prototype.getRule = function(e3) {
    return e3 < this.length ? this.nodes[e3].textContent : "";
  }, e2;
}(), At = function() {
  function e2(e3) {
    this.rules = [], this.length = 0;
  }
  return e2.prototype.insertRule = function(e3, t2) {
    return e3 <= this.length && (this.rules.splice(e3, 0, t2), this.length++, true);
  }, e2.prototype.deleteRule = function(e3) {
    this.rules.splice(e3, 1), this.length--;
  }, e2.prototype.getRule = function(e3) {
    return e3 < this.length ? this.rules[e3] : "";
  }, e2;
}(), Ot = Se, _t = { isServer: !Se, useCSSOMInjection: !be }, It = function() {
  function e2(e3, t2, n2) {
    void 0 === e3 && (e3 = Pe), void 0 === t2 && (t2 = {});
    var r2 = this;
    this.options = l(l({}, _t), e3), this.gs = t2, this.names = new Map(n2), this.server = !!e3.isServer, !this.server && Se && Ot && (Ot = false, function(e4) {
      for (var t3 = document.querySelectorAll(bt), n3 = 0, r3 = t3.length; n3 < r3; n3++) {
        var o2 = t3[n3];
        o2 && o2.getAttribute(he) !== me && (kt(e4, o2), o2.parentNode && o2.parentNode.removeChild(o2));
      }
    }(this)), ut(this, function() {
      return function(e4) {
        for (var t3 = e4.getTag(), n3 = t3.length, r3 = "", o2 = function(n4) {
          var o3 = function(e5) {
            return yt.get(e5);
          }(n4);
          if (void 0 === o3)
            return "continue";
          var s3 = e4.names.get(o3), a2 = t3.getGroup(n4);
          if (void 0 === s3 || 0 === a2.length)
            return "continue";
          var i2 = "".concat(he, ".g").concat(n4, '[id="').concat(o3, '"]'), c2 = "";
          void 0 !== s3 && s3.forEach(function(e5) {
            e5.length > 0 && (c2 += "".concat(e5, ","));
          }), r3 += "".concat(a2).concat(i2, '{content:"').concat(c2, '"}').concat(ve);
        }, s2 = 0; s2 < n3; s2++)
          o2(s2);
        return r3;
      }(r2);
    });
  }
  return e2.registerId = function(e3) {
    return vt(e3);
  }, e2.prototype.reconstructWithOptions = function(t2, n2) {
    return void 0 === n2 && (n2 = true), new e2(l(l({}, this.options), t2), this.gs, n2 && this.names || void 0);
  }, e2.prototype.allocateGSInstance = function(e3) {
    return this.gs[e3] = (this.gs[e3] || 0) + 1;
  }, e2.prototype.getTag = function() {
    return this.tag || (this.tag = (e3 = function(e4) {
      var t2 = e4.useCSSOMInjection, n2 = e4.target;
      return e4.isServer ? new At(n2) : t2 ? new Pt(n2) : new Nt(n2);
    }(this.options), new ht(e3)));
    var e3;
  }, e2.prototype.hasNameForId = function(e3, t2) {
    return this.names.has(e3) && this.names.get(e3).has(t2);
  }, e2.prototype.registerName = function(e3, t2) {
    if (vt(e3), this.names.has(e3))
      this.names.get(e3).add(t2);
    else {
      var n2 = /* @__PURE__ */ new Set();
      n2.add(t2), this.names.set(e3, n2);
    }
  }, e2.prototype.insertRules = function(e3, t2, n2) {
    this.registerName(e3, t2), this.getTag().insertRules(vt(e3), n2);
  }, e2.prototype.clearNames = function(e3) {
    this.names.has(e3) && this.names.get(e3).clear();
  }, e2.prototype.clearRules = function(e3) {
    this.getTag().clearGroup(vt(e3)), this.clearNames(e3);
  }, e2.prototype.clearTag = function() {
    this.tag = void 0;
  }, e2;
}(), Tt = /&/g, Rt = /^\s*\/\/.*$/gm;
function Dt(e2, t2) {
  return e2.map(function(e3) {
    return "rule" === e3.type && (e3.value = "".concat(t2, " ").concat(e3.value), e3.value = e3.value.replaceAll(",", ",".concat(t2, " ")), e3.props = e3.props.map(function(e4) {
      return "".concat(t2, " ").concat(e4);
    })), Array.isArray(e3.children) && "@keyframes" !== e3.type && (e3.children = Dt(e3.children, t2)), e3;
  });
}
function jt(e2) {
  var t2, n2, r2, o2 = void 0 === e2 ? Pe : e2, s2 = o2.options, a2 = void 0 === s2 ? Pe : s2, i2 = o2.plugins, c2 = void 0 === i2 ? xe : i2, l2 = function(e3, r3, o3) {
    return o3.startsWith(n2) && o3.endsWith(n2) && o3.replaceAll(n2, "").length > 0 ? ".".concat(t2) : e3;
  }, u2 = c2.slice();
  u2.push(function(e3) {
    e3.type === S && e3.value.includes("&") && (e3.props[0] = e3.props[0].replace(Tt, n2).replace(r2, l2));
  }), a2.prefix && u2.push(de), u2.push(pe);
  var p2 = function(e3, o3, s3, i3) {
    void 0 === o3 && (o3 = ""), void 0 === s3 && (s3 = ""), void 0 === i3 && (i3 = "&"), t2 = i3, n2 = o3, r2 = new RegExp("\\".concat(n2, "\\b"), "g");
    var c3 = e3.replace(Rt, ""), l3 = oe(s3 || o3 ? "".concat(s3, " ").concat(o3, " { ").concat(c3, " }") : c3);
    a2.namespace && (l3 = Dt(l3, a2.namespace));
    var p3, d2 = [];
    return ue(l3, function(e4) {
      var t3 = D(e4);
      return function(n3, r3, o4, s4) {
        for (var a3 = "", i4 = 0; i4 < t3; i4++)
          a3 += e4[i4](n3, r3, o4, s4) || "";
        return a3;
      };
    }(u2.concat((p3 = function(e4) {
      return d2.push(e4);
    }, function(e4) {
      e4.root || (e4 = e4.return) && p3(e4);
    })))), d2;
  };
  return p2.hash = c2.length ? c2.reduce(function(e3, t3) {
    return t3.name || ft(15), ze(e3, t3.name);
  }, Me).toString() : "", p2;
}
var $t = new It(), Mt = jt(), zt = e.createContext({ shouldForwardProp: void 0, styleSheet: $t, stylis: Mt }), Lt = zt.Consumer, Vt = e.createContext(void 0);
function Ft() {
  return o(zt);
}
function Bt(o2) {
  var s2 = t(o2.stylisPlugins), a2 = s2[0], i2 = s2[1], c2 = Ft().styleSheet, l2 = n(function() {
    var e2 = c2;
    return o2.sheet ? e2 = o2.sheet : o2.target && (e2 = e2.reconstructWithOptions({ target: o2.target }, false)), o2.disableCSSOMInjection && (e2 = e2.reconstructWithOptions({ useCSSOMInjection: false })), e2;
  }, [o2.disableCSSOMInjection, o2.sheet, o2.target, c2]), u2 = n(function() {
    return jt({ options: { namespace: o2.namespace, prefix: o2.enableVendorPrefixes }, plugins: a2 });
  }, [o2.enableVendorPrefixes, o2.namespace, a2]);
  r(function() {
    h(a2, o2.stylisPlugins) || i2(o2.stylisPlugins);
  }, [o2.stylisPlugins]);
  var p2 = n(function() {
    return { shouldForwardProp: o2.shouldForwardProp, styleSheet: l2, stylis: u2 };
  }, [o2.shouldForwardProp, l2, u2]);
  return e.createElement(zt.Provider, { value: p2 }, e.createElement(Vt.Provider, { value: u2 }, o2.children));
}
var Gt = function() {
  function e2(e3, t2) {
    var n2 = this;
    this.inject = function(e4, t3) {
      void 0 === t3 && (t3 = Mt);
      var r2 = n2.name + t3.hash;
      e4.hasNameForId(n2.id, r2) || e4.insertRules(n2.id, r2, t3(n2.rules, r2, "@keyframes"));
    }, this.name = e3, this.id = "sc-keyframes-".concat(e3), this.rules = t2, ut(this, function() {
      throw ft(12, String(n2.name));
    });
  }
  return e2.prototype.getName = function(e3) {
    return void 0 === e3 && (e3 = Mt), this.name + e3.hash;
  }, e2;
}(), Ht = function(e2) {
  return e2 >= "A" && e2 <= "Z";
};
function Wt(e2) {
  for (var t2 = "", n2 = 0; n2 < e2.length; n2++) {
    var r2 = e2[n2];
    if (1 === n2 && "-" === r2 && "-" === e2[0])
      return e2;
    Ht(r2) ? t2 += "-" + r2.toLowerCase() : t2 += r2;
  }
  return t2.startsWith("ms-") ? "-" + t2 : t2;
}
var Yt = function(e2) {
  return null == e2 || false === e2 || "" === e2;
}, qt = function(e2) {
  var t2, n2, r2 = [];
  for (var o2 in e2) {
    var s2 = e2[o2];
    e2.hasOwnProperty(o2) && !Yt(s2) && (Array.isArray(s2) && s2.isCss || ot(s2) ? r2.push("".concat(Wt(o2), ":"), s2, ";") : ct(s2) ? r2.push.apply(r2, u(u(["".concat(o2, " {")], qt(s2), false), ["}"], false)) : r2.push("".concat(Wt(o2), ": ").concat((t2 = o2, null == (n2 = s2) || "boolean" == typeof n2 || "" === n2 ? "" : "number" != typeof n2 || 0 === n2 || t2 in fe || t2.startsWith("--") ? String(n2).trim() : "".concat(n2, "px")), ";")));
  }
  return r2;
};
function Ut(e2, t2, n2, r2) {
  if (Yt(e2))
    return [];
  if (st(e2))
    return [".".concat(e2.styledComponentId)];
  if (ot(e2)) {
    if (!ot(s2 = e2) || s2.prototype && s2.prototype.isReactComponent || !t2)
      return [e2];
    var o2 = e2(t2);
    return "production" === process.env.NODE_ENV || "object" != typeof o2 || Array.isArray(o2) || o2 instanceof Gt || ct(o2), Ut(o2, t2, n2, r2);
  }
  var s2;
  return e2 instanceof Gt ? n2 ? (e2.inject(n2, r2), [e2.getName(r2)]) : [e2] : ct(e2) ? qt(e2) : Array.isArray(e2) ? Array.prototype.concat.apply(xe, e2.map(function(e3) {
    return Ut(e3, t2, n2, r2);
  })) : [e2.toString()];
}
function Xt(e2) {
  for (var t2 = 0; t2 < e2.length; t2 += 1) {
    var n2 = e2[t2];
    if (ot(n2) && !st(n2))
      return false;
  }
  return true;
}
var Kt = Le(ge), Zt = function() {
  function e2(e3, t2, n2) {
    this.rules = e3, this.staticRulesId = "", this.isStatic = "production" === process.env.NODE_ENV && (void 0 === n2 || n2.isStatic) && Xt(e3), this.componentId = t2, this.baseHash = ze(Kt, t2), this.baseStyle = n2, It.registerId(t2);
  }
  return e2.prototype.generateAndInjectStyles = function(e3, t2, n2) {
    var r2 = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e3, t2, n2) : "";
    if (this.isStatic && !n2.hash)
      if (this.staticRulesId && t2.hasNameForId(this.componentId, this.staticRulesId))
        r2 = at(r2, this.staticRulesId);
      else {
        var o2 = it(Ut(this.rules, e3, t2, n2)), s2 = je(ze(this.baseHash, o2) >>> 0);
        if (!t2.hasNameForId(this.componentId, s2)) {
          var a2 = n2(o2, ".".concat(s2), void 0, this.componentId);
          t2.insertRules(this.componentId, s2, a2);
        }
        r2 = at(r2, s2), this.staticRulesId = s2;
      }
    else {
      for (var i2 = ze(this.baseHash, n2.hash), c2 = "", l2 = 0; l2 < this.rules.length; l2++) {
        var u2 = this.rules[l2];
        if ("string" == typeof u2)
          c2 += u2, "production" !== process.env.NODE_ENV && (i2 = ze(i2, u2));
        else if (u2) {
          var p2 = it(Ut(u2, e3, t2, n2));
          i2 = ze(i2, p2 + l2), c2 += p2;
        }
      }
      if (c2) {
        var d2 = je(i2 >>> 0);
        t2.hasNameForId(this.componentId, d2) || t2.insertRules(this.componentId, d2, n2(c2, ".".concat(d2), void 0, this.componentId)), r2 = at(r2, d2);
      }
    }
    return r2;
  }, e2;
}(), Jt = e.createContext(void 0), Qt = Jt.Consumer;
var en = {}, tn = /* @__PURE__ */ new Set();
function nn(t2, n2, r2) {
  var o2 = st(t2), s2 = t2, c2 = !Be(t2), u2 = n2.attrs, p2 = void 0 === u2 ? xe : u2, d2 = n2.componentId, h2 = void 0 === d2 ? function(e2, t3) {
    var n3 = "string" != typeof e2 ? "sc" : Ie(e2);
    en[n3] = (en[n3] || 0) + 1;
    var r3 = "".concat(n3, "-").concat(Ve(ge + n3 + en[n3]));
    return t3 ? "".concat(t3, "-").concat(r3) : r3;
  }(n2.displayName, n2.parentComponentId) : d2, m2 = n2.displayName, y2 = void 0 === m2 ? function(e2) {
    return Be(e2) ? "styled.".concat(e2) : "Styled(".concat(Fe(e2), ")");
  }(t2) : m2, g2 = n2.displayName && n2.componentId ? "".concat(Ie(n2.displayName), "-").concat(n2.componentId) : n2.componentId || h2, v2 = o2 && s2.attrs ? s2.attrs.concat(p2).filter(Boolean) : p2, S2 = n2.shouldForwardProp;
  if (o2 && s2.shouldForwardProp) {
    var b2 = s2.shouldForwardProp;
    if (n2.shouldForwardProp) {
      var w2 = n2.shouldForwardProp;
      S2 = function(e2, t3) {
        return b2(e2, t3) && w2(e2, t3);
      };
    } else
      S2 = b2;
  }
  var E2 = new Zt(r2, g2, o2 ? s2.componentStyle : void 0);
  function k2(t3, n3) {
    return function(t4, n4, r3) {
      var o3 = t4.attrs, s3 = t4.componentStyle, c3 = t4.defaultProps, u3 = t4.foldedComponentIds, p3 = t4.styledComponentId, d3 = t4.target, h3 = e.useContext(Jt), m3 = Ft(), y3 = t4.shouldForwardProp || m3.shouldForwardProp;
      "production" !== process.env.NODE_ENV && a(p3);
      var g3 = Ne(n4, h3, c3) || Pe, v3 = function(e2, t5, n5) {
        for (var r4, o4 = l(l({}, t5), { className: void 0, theme: n5 }), s4 = 0; s4 < e2.length; s4 += 1) {
          var a2 = ot(r4 = e2[s4]) ? r4(o4) : r4;
          for (var i2 in a2)
            o4[i2] = "className" === i2 ? at(o4[i2], a2[i2]) : "style" === i2 ? l(l({}, o4[i2]), a2[i2]) : a2[i2];
        }
        return t5.className && (o4.className = at(o4.className, t5.className)), o4;
      }(o3, n4, g3), S3 = v3.as || d3, b3 = {};
      for (var w3 in v3)
        void 0 === v3[w3] || "$" === w3[0] || "as" === w3 || "theme" === w3 && v3.theme === g3 || ("forwardedAs" === w3 ? b3.as = v3.forwardedAs : y3 && !y3(w3, S3) || (b3[w3] = v3[w3], y3 || "development" !== process.env.NODE_ENV || f(w3) || tn.has(w3) || !Ae.has(S3) || tn.add(w3)));
      var E3 = function(e2, t5) {
        var n5 = Ft(), r4 = e2.generateAndInjectStyles(t5, n5.styleSheet, n5.stylis);
        return "production" !== process.env.NODE_ENV && a(r4), r4;
      }(s3, v3);
      "production" !== process.env.NODE_ENV && t4.warnTooManyClasses && t4.warnTooManyClasses(E3);
      var k3 = at(u3, p3);
      return E3 && (k3 += " " + E3), v3.className && (k3 += " " + v3.className), b3[Be(S3) && !Ae.has(S3) ? "class" : "className"] = k3, b3.ref = r3, i(S3, b3);
    }(N2, t3, n3);
  }
  k2.displayName = y2;
  var C2, x2, P2, N2 = e.forwardRef(k2);
  return N2.attrs = v2, N2.componentStyle = E2, N2.displayName = y2, N2.shouldForwardProp = S2, N2.foldedComponentIds = o2 ? at(s2.foldedComponentIds, s2.styledComponentId) : "", N2.styledComponentId = g2, N2.target = o2 ? s2.target : t2, Object.defineProperty(N2, "defaultProps", { get: function() {
    return this._foldedDefaultProps;
  }, set: function(e2) {
    this._foldedDefaultProps = o2 ? function(e3) {
      for (var t3 = [], n3 = 1; n3 < arguments.length; n3++)
        t3[n3 - 1] = arguments[n3];
      for (var r3 = 0, o3 = t3; r3 < o3.length; r3++)
        lt(e3, o3[r3], true);
      return e3;
    }({}, s2.defaultProps, e2) : e2;
  } }), "production" !== process.env.NODE_ENV && (Ce(y2, g2), N2.warnTooManyClasses = (C2 = g2, x2 = {}, P2 = false, function(e2) {
    !P2 && (x2[e2] = true, Object.keys(x2).length >= 200) && (C2 && ' with the id of "'.concat(C2, '"'), P2 = true, x2 = {});
  })), ut(N2, function() {
    return ".".concat(N2.styledComponentId);
  }), c2 && rt(N2, t2, { attrs: true, componentStyle: true, displayName: true, foldedComponentIds: true, shouldForwardProp: true, styledComponentId: true, target: true }), N2;
}
function rn(e2, t2) {
  for (var n2 = [e2[0]], r2 = 0, o2 = t2.length; r2 < o2; r2 += 1)
    n2.push(t2[r2], e2[r2 + 1]);
  return n2;
}
var on = function(e2) {
  return Object.assign(e2, { isCss: true });
};
function sn(e2) {
  for (var t2 = [], n2 = 1; n2 < arguments.length; n2++)
    t2[n2 - 1] = arguments[n2];
  if (ot(e2) || ct(e2))
    return on(Ut(rn(xe, u([e2], t2, true))));
  var r2 = e2;
  return 0 === t2.length && 1 === r2.length && "string" == typeof r2[0] ? Ut(r2) : on(Ut(rn(r2, t2)));
}
function an(e2, t2, n2) {
  if (void 0 === n2 && (n2 = Pe), !t2)
    throw ft(1, t2);
  var r2 = function(r3) {
    for (var o2 = [], s2 = 1; s2 < arguments.length; s2++)
      o2[s2 - 1] = arguments[s2];
    return e2(t2, n2, sn.apply(void 0, u([r3], o2, false)));
  };
  return r2.attrs = function(r3) {
    return an(e2, t2, l(l({}, n2), { attrs: Array.prototype.concat(n2.attrs, r3).filter(Boolean) }));
  }, r2.withConfig = function(r3) {
    return an(e2, t2, l(l({}, n2), r3));
  }, r2;
}
var cn = function(e2) {
  return an(nn, e2);
}, ln = cn;
Ae.forEach(function(e2) {
  ln[e2] = cn(e2);
});
var un = function() {
  function e2(e3, t2) {
    this.rules = e3, this.componentId = t2, this.isStatic = Xt(e3), It.registerId(this.componentId + 1);
  }
  return e2.prototype.createStyles = function(e3, t2, n2, r2) {
    var o2 = r2(it(Ut(this.rules, t2, n2, r2)), ""), s2 = this.componentId + e3;
    n2.insertRules(s2, s2, o2);
  }, e2.prototype.removeStyles = function(e3, t2) {
    t2.clearRules(this.componentId + e3);
  }, e2.prototype.renderStyles = function(e3, t2, n2, r2) {
    e3 > 2 && It.registerId(this.componentId + e3), this.removeStyles(e3, n2), this.createStyles(e3, t2, n2, r2);
  }, e2;
}();
var pn = function() {
  function t2() {
    var t3 = this;
    this._emitSheetCSS = function() {
      var e2 = t3.instance.toString(), n2 = Ct(), r2 = it([n2 && 'nonce="'.concat(n2, '"'), "".concat(he, '="true"'), "".concat(ye, '="').concat(ge, '"')].filter(Boolean), " ");
      return "<style ".concat(r2, ">").concat(e2, "</style>");
    }, this.getStyleTags = function() {
      if (t3.sealed)
        throw ft(2);
      return t3._emitSheetCSS();
    }, this.getStyleElement = function() {
      var n2;
      if (t3.sealed)
        throw ft(2);
      var r2 = ((n2 = {})[he] = "", n2[ye] = ge, n2.dangerouslySetInnerHTML = { __html: t3.instance.toString() }, n2), o2 = Ct();
      return o2 && (r2.nonce = o2), [e.createElement("style", l({}, r2, { key: "sc-0-0" }))];
    }, this.seal = function() {
      t3.sealed = true;
    }, this.instance = new It({ isServer: true }), this.sealed = false;
  }
  return t2.prototype.collectStyles = function(t3) {
    if (this.sealed)
      throw ft(2);
    return e.createElement(Bt, { sheet: this.instance }, t3);
  }, t2.prototype.interleaveWithNodeStream = function(e2) {
    throw ft(3);
  }, t2;
}(), dn = { StyleSheet: It, mainSheet: $t };
"production" !== process.env.NODE_ENV && "undefined" != typeof navigator && navigator.product;
var fn = "__sc-".concat(he, "__");
"production" !== process.env.NODE_ENV && "test" !== process.env.NODE_ENV && "undefined" != typeof window && (window[fn] || (window[fn] = 0), window[fn], window[fn] += 1);
const hn = Object.freeze(Object.defineProperty({ __proto__: null, ServerStyleSheet: pn, StyleSheetConsumer: Lt, StyleSheetContext: zt, StyleSheetManager: Bt, ThemeConsumer: Qt, ThemeContext: Jt, ThemeProvider: function(t2) {
  var r2 = e.useContext(Jt), o2 = n(function() {
    return function(e2, t3) {
      if (!e2)
        throw ft(14);
      if (ot(e2)) {
        var n2 = e2(t3);
        if ("production" !== process.env.NODE_ENV && (null === n2 || Array.isArray(n2) || "object" != typeof n2))
          throw ft(7);
        return n2;
      }
      if (Array.isArray(e2) || "object" != typeof e2)
        throw ft(8);
      return t3 ? l(l({}, t3), e2) : e2;
    }(t2.theme, r2);
  }, [t2.theme, r2]);
  return t2.children ? e.createElement(Jt.Provider, { value: o2 }, t2.children) : null;
}, __PRIVATE__: dn, createGlobalStyle: function(t2) {
  for (var n2 = [], r2 = 1; r2 < arguments.length; r2++)
    n2[r2 - 1] = arguments[r2];
  var o2 = sn.apply(void 0, u([t2], n2, false)), s2 = "sc-global-".concat(Ve(JSON.stringify(o2))), a2 = new un(o2, s2);
  "production" !== process.env.NODE_ENV && Ce(s2);
  var i2 = function(t3) {
    var n3 = Ft(), r3 = e.useContext(Jt), i3 = e.useRef(n3.styleSheet.allocateGSInstance(s2)).current;
    return "production" !== process.env.NODE_ENV && e.Children.count(t3.children), "production" !== process.env.NODE_ENV && o2.some(function(e2) {
      return "string" == typeof e2 && -1 !== e2.indexOf("@import");
    }), n3.styleSheet.server && c2(i3, t3, n3.styleSheet, r3, n3.stylis), e.useLayoutEffect(function() {
      if (!n3.styleSheet.server)
        return c2(i3, t3, n3.styleSheet, r3, n3.stylis), function() {
          return a2.removeStyles(i3, n3.styleSheet);
        };
    }, [i3, t3, n3.styleSheet, r3, n3.stylis]), null;
  };
  function c2(e2, t3, n3, r3, o3) {
    if (a2.isStatic)
      a2.renderStyles(e2, we, n3, o3);
    else {
      var s3 = l(l({}, t3), { theme: Ne(t3, r3, i2.defaultProps) });
      a2.renderStyles(e2, s3, n3, o3);
    }
  }
  return e.memo(i2);
}, css: sn, default: ln, isStyledComponent: st, keyframes: function(e2) {
  for (var t2 = [], n2 = 1; n2 < arguments.length; n2++)
    t2[n2 - 1] = arguments[n2];
  "production" !== process.env.NODE_ENV && "undefined" != typeof navigator && navigator.product;
  var r2 = it(sn.apply(void 0, u([e2], t2, false))), o2 = Ve(r2);
  return new Gt(o2, r2);
}, styled: ln, useTheme: function() {
  var e2 = o(Jt);
  if (!e2)
    throw ft(18);
  return e2;
}, version: ge, withTheme: function(t2) {
  var n2 = e.forwardRef(function(n3, r2) {
    var o2 = Ne(n3, e.useContext(Jt), t2.defaultProps);
    return process.env.NODE_ENV, e.createElement(t2, l({}, n3, { theme: o2, ref: r2 }));
  });
  return n2.displayName = "WithTheme(".concat(Fe(t2), ")"), rt(n2, t2);
} }, Symbol.toStringTag, { value: "Module" }));
export {
  Bt as L,
  sn as a,
  hn as s,
  ln as u
};
