import { computed as n } from "../../../../services/theme/utils.js";
import { makeHighContrastColor as l, makeDisabledContrastColor as y } from "../../../../services/color/contrast.js";
import { tint as f, shade as m } from "../../../../services/color/manipulation.js";
function h(r, t) {
  var e = Object.keys(r);
  if (Object.getOwnPropertySymbols) {
    var a = Object.getOwnPropertySymbols(r);
    t && (a = a.filter(function(s) {
      return Object.getOwnPropertyDescriptor(r, s).enumerable;
    })), e.push.apply(e, a);
  }
  return e;
}
function o(r) {
  for (var t = 1; t < arguments.length; t++) {
    var e = arguments[t] != null ? arguments[t] : {};
    t % 2 ? h(Object(e), !0).forEach(function(a) {
      v(r, a, e[a]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(e)) : h(Object(e)).forEach(function(a) {
      Object.defineProperty(r, a, Object.getOwnPropertyDescriptor(e, a));
    });
  }
  return r;
}
function v(r, t, e) {
  return t in r ? Object.defineProperty(r, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = e, r;
}
function i(r, t) {
  return F(r) || x(r, t) || S(r, t) || _();
}
function _() {
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function S(r, t) {
  if (!!r) {
    if (typeof r == "string")
      return p(r, t);
    var e = Object.prototype.toString.call(r).slice(8, -1);
    if (e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set")
      return Array.from(r);
    if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
      return p(r, t);
  }
}
function p(r, t) {
  (t == null || t > r.length) && (t = r.length);
  for (var e = 0, a = new Array(t); e < t; e++)
    a[e] = r[e];
  return a;
}
function x(r, t) {
  var e = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
  if (e != null) {
    var a = [], s = !0, c = !1, u, d;
    try {
      for (e = e.call(r); !(s = (u = e.next()).done) && (a.push(u.value), !(t && a.length === t)); s = !0)
        ;
    } catch (b) {
      c = !0, d = b;
    } finally {
      try {
        !s && e.return != null && e.return();
      } finally {
        if (c)
          throw d;
      }
    }
    return a;
  }
}
function F(r) {
  if (Array.isArray(r))
    return r;
}
var w = {
  primary: "#07C",
  accent: "#F04E98",
  success: "#00BFB3",
  warning: "#FEC514",
  danger: "#BD271E"
}, g = {
  primaryText: n(l("colors.primary")),
  accentText: n(l("colors.accent")),
  successText: n(l("colors.success")),
  warningText: n(l("colors.warning")),
  dangerText: n(l("colors.danger"))
}, O = {
  emptyShade: "#FFF",
  lightestShade: "#F1F4FA",
  lightShade: "#D3DAE6",
  mediumShade: "#98A2B3",
  darkShade: "#69707D",
  darkestShade: "#343741",
  fullShade: "#000"
}, D = {
  body: n(function(r) {
    var t = i(r, 1), e = t[0];
    return f(e, 0.4);
  }, ["colors.lightestShade"]),
  highlight: n(function(r) {
    var t = i(r, 1), e = t[0];
    return f(e, 0.9);
  }, ["colors.warning"]),
  disabled: "#ABB4C4",
  disabledText: n(y("colors.disabled")),
  shadow: n(function(r) {
    var t = r.colors;
    return t.ink;
  })
}, T = {
  text: n(function(r) {
    var t = i(r, 1), e = t[0];
    return e;
  }, ["colors.darkestShade"]),
  title: n(function(r) {
    var t = i(r, 1), e = t[0];
    return m(e, 0.5);
  }, ["colors.text"]),
  subduedText: n(l("colors.darkShade")),
  link: n(function(r) {
    var t = i(r, 1), e = t[0];
    return e;
  }, ["colors.primaryText"])
}, A = o(o(o(o(o({}, w), O), D), g), T), k = {
  emptyShade: "#1D1E24",
  lightestShade: "#25262E",
  lightShade: "#343741",
  mediumShade: "#535966",
  darkShade: "#98A2B3",
  darkestShade: "#D4DAE5",
  fullShade: "#FFF"
}, E = o(o(o({
  primary: "#36A2EF",
  accent: "#F68FBE",
  success: "#7DDED8",
  warning: "#F3D371",
  danger: "#F86B63"
}, k), {}, {
  body: n(function(r) {
    var t = i(r, 1), e = t[0];
    return m(e, 0.45);
  }, ["colors.lightestShade"]),
  highlight: "#2E2D25",
  disabled: "#515761",
  disabledText: n(y("colors.disabled")),
  shadow: n(function(r) {
    var t = r.colors;
    return t.ink;
  })
}, g), {}, {
  text: "#DFE5EF",
  title: n(function(r) {
    var t = i(r, 1), e = t[0];
    return e;
  }, ["colors.text"]),
  subduedText: n(l("colors.mediumShade")),
  link: n(function(r) {
    var t = i(r, 1), e = t[0];
    return e;
  }, ["colors.primaryText"])
}), C = {
  ghost: "#FFF",
  ink: "#000",
  LIGHT: A,
  DARK: E
};
export {
  w as brand_colors,
  g as brand_text_colors,
  C as colors,
  E as dark_colors_ams,
  k as dark_shades,
  A as light_colors,
  O as shade_colors,
  D as special_colors,
  T as text_colors
};
//# sourceMappingURL=_colors.js.map
