const a = {
  classes: {
    wrapper: ({ data: e }) => {
      const t = ["inline-block relative cursor-pointer focus:outline-none group"];
      return e.isInsideForm && !e.isInsideFormGroup && t.push("mb-5"), t;
    },
    circle: ({ props: e }) => {
      const t = ["rounded-full flex justify-center items-center shrink-0 border outline-offset-2 outline-slate-300 dark:outline-slate-500 group-focus:outline-1 group-focus:outline"];
      return e.size === "lg" ? t.push("h-5 w-5") : e.size === "xl" ? t.push("h-6 w-6") : t.push("h-4 w-4"), t;
    },
    circleIcon: ({ props: e, data: t }) => {
      const r = [];
      return t.selected || r.push("opacity-0"), e.size === "sm" || e.size === "xs" ? r.push("h-2") : e.size === "lg" ? r.push("h-2.5") : e.size === "xl" ? r.push("h-3") : r.push("h-2"), r;
    },
    label: ({ props: e, data: t }) => {
      let r = "text-secondary-800 dark:text-secondary-200 pl-2";
      return r += t.isInsideFormGroup ? " font-normal" : " font-medium", e.size === "xs" ? r += " text-xs" : e.size === "sm" ? r += " text-sm" : e.size === "lg" ? r += " text-lg" : e.size === "xl" && (r += " text-xl"), r;
    },
    content: ({ props: e }) => {
      let t = "pl-2";
      return e.size === "xs" ? t += " text-xs" : e.size === "sm" ? t += " text-sm" : e.size === "lg" ? t += " text-lg" : e.size === "xl" && (t += " text-xl"), t;
    }
  },
  styles: ({ props: e, colors: t, css: r, data: n }) => {
    const s = t.getPalette("gray"), l = t.getPalette(e.color), i = [];
    return e.loading ? r.variables({
      bg: "transparent",
      border: "transparent",
      dark: {
        bg: "transparent",
        border: "transparent"
      }
    }) : (e.disabled ? n.selected ? i.push(r.variables({
      bg: "transparent",
      border: s[200],
      circle: s[200],
      dark: {
        bg: "transparent",
        border: s[700],
        circle: s[700]
      }
    })) : i.push(r.variables({
      bg: s[200],
      border: s[200],
      dark: {
        bg: s[700],
        border: s[700]
      }
    })) : (n.selected ? i.push(r.variables({
      bg: "transparent",
      border: l[500],
      circle: l[500],
      dark: {
        bg: "transparent",
        border: l[500],
        circle: l[500]
      }
    })) : i.push(r.variables({
      bg: "#fff",
      border: e.glow ? l[300] : s[300],
      dark: {
        bg: s[900],
        border: e.glow ? l[300] : s[400]
      }
    })), e.glow && i.push(r.get("glow", t.getColorOpacity(l[500], 0.5)))), i);
  }
}, o = a;
export {
  o as default
};
