import { openBlock as c, createElementBlock as r, withModifiers as a, unref as o, createElementVNode as s, toDisplayString as m, pushScopeId as _, popScopeId as d } from "vue";
import { usePostTimestamp as l } from "./composables-5f691338.js";
import { _export_sfc as u } from "./_plugin-vue_export-helper-6a641814.js";
const f = (t) => (_("data-v-97fb1149"), t = t(), d(), t), v = /* @__PURE__ */ f(() => /* @__PURE__ */ s("div", { class: "i-mdi-watering-can-outline" }, null, -1)), h = { class: "num p-0 ml-1 text-sm" }, g = {
  __name: "PostActionUpdate",
  props: {
    tag: { type: String, default: "posts" },
    hash: { type: String, default: "" }
  },
  setup(t) {
    const n = t, { timestamp: S, msTime: p, refresh: i } = l(n);
    return (b, e) => (c(), r("button", {
      class: "m-1 button items-center",
      onClick: e[0] || (e[0] = a((x) => o(i)(), ["stop", "prevent"]))
    }, [
      v,
      s("div", h, m(o(p)), 1)
    ]));
  }
}, k = /* @__PURE__ */ u(g, [["__scopeId", "data-v-97fb1149"]]);
export {
  k as default
};
//# sourceMappingURL=PostActionUpdate-706258c1.js.map
