import { createElementBlock as e, openBlock as o, createElementVNode as s, Fragment as a, renderList as u, unref as n, createVNode as d, withCtx as p, toDisplayString as _ } from "vue";
import { AccountBadge as m } from "./components.js";
import { useDictAuthors as f } from "./composables-BAZQlC3e.js";
const h = { class: "p-4" }, k = { class: "flex flex-wrap" }, v = ["onClick"], x = { class: "pr-2 font-bold" }, B = {
  __name: "DictAuthors",
  emits: ["author"],
  setup(b) {
    const i = f();
    return (c, r) => (o(), e("div", h, [
      r[0] || (r[0] = s("div", { class: "text-xl" }, "Dictionary authors", -1)),
      s("div", k, [
        (o(!0), e(a, null, u(n(i), (l, t) => (o(), e("div", {
          class: "p-2",
          key: t,
          onClick: (g) => c.$emit("author", t)
        }, [
          d(n(m), { pub: t }, {
            default: p(() => [
              s("div", x, _(Object.keys(l).length), 1)
            ]),
            _: 2
          }, 1032, ["pub"])
        ], 8, v))), 128))
      ])
    ]));
  }
};
export {
  B as default
};
//# sourceMappingURL=DictAuthors-CFUNQeO0.js.map
