import { defineComponent as d, openBlock as e, createElementBlock as t, Fragment as u, renderList as _, unref as p, createElementVNode as n, toDisplayString as r } from "vue";
import { useAccount as m, urlRegex as x } from "./composables-5f691338.js";
const k = { class: "flex flex-col break-all" }, b = {
  class: "mr-2 font-bold",
  style: { flex: "1 1 60px" }
}, h = {
  class: "flex items-center ml-1",
  style: { flex: "1 1 180px" }
}, y = {
  key: 0,
  class: "p-0"
}, g = ["href"], q = /* @__PURE__ */ d({
  __name: "AccountProfile",
  props: {
    pub: { type: String, default: "OKrDaDeD8VeA27d673RqlodSnebnaDq6Ci23Ys_ABWE.q8fI2lkxO46R8TMjeUeAf7I0yBS5mdH_Cb9_285Wkqk" }
  },
  setup(c) {
    const i = c, { account: a } = m(i.pub);
    function f(o) {
      return x({ exact: !0 }).test(o);
    }
    return (o, v) => (e(), t("div", k, [
      (e(!0), t(u, null, _(p(a).profile, (s, l) => (e(), t("div", {
        class: "p-2 flex items-center",
        key: l
      }, [
        n("div", b, r(l), 1),
        n("div", h, [
          f(s) ? (e(), t("a", {
            key: 1,
            class: "font-bold underline",
            href: s,
            target: "_blank"
          }, r(s), 9, g)) : (e(), t("div", y, r(s), 1))
        ])
      ]))), 128))
    ]));
  }
});
export {
  q as default
};
//# sourceMappingURL=AccountProfile-683c25d9.js.map
