import { defineComponent as a, openBlock as c, createElementBlock as p, normalizeStyle as u, unref as e, createElementVNode as o, toDisplayString as d } from "vue";
import { usePrivateChatCount as m } from "./composables-5f691338.js";
const f = /* @__PURE__ */ o("div", { class: "i-ph-chats-light text-xl" }, null, -1), h = { class: "font-bold text-lg mx-2" }, _ = /* @__PURE__ */ a({
  __name: "ChatPrivateCount",
  props: {
    pub: {
      default: "",
      type: String
    }
  },
  emits: ["chat"],
  setup(n) {
    const l = n, { count: r, available: i } = m(l.pub);
    return (s, t) => (c(), p("div", {
      class: "pl-2 flex items-center bg-light-200 dark-bg-dark-600 rounded-xl cursor-pointer",
      style: u({ opacity: e(i) ? 1 : 0.1 }),
      onClick: t[0] || (t[0] = (g) => s.$emit("chat"))
    }, [
      f,
      o("div", h, d(e(r)), 1)
    ], 4));
  }
});
export {
  _ as default
};
//# sourceMappingURL=ChatPrivateCount-f459568d.js.map
