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