import { defineComponent as f, useAccount as u, openBlock as e, createElementBlock as t, Fragment as _, renderList as p, createBaseVNode as o, toDisplayString as r, unref as x, urlRegex as m } from "./composables-Ci32s3jE.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"], B = /* @__PURE__ */ f({
  __name: "AccountProfile",
  props: {
    pub: { type: String, default: "OKrDaDeD8VeA27d673RqlodSnebnaDq6Ci23Ys_ABWE.q8fI2lkxO46R8TMjeUeAf7I0yBS5mdH_Cb9_285Wkqk" }
  },
  setup(c) {
    const a = c, { account: i } = u(a.pub);
    function d(l) {
      return m({ exact: !0 }).test(l);
    }
    return (l, v) => (e(), t("div", k, [
      (e(!0), t(_, null, p(x(i).profile, (s, n) => (e(), t("div", {
        class: "p-2 flex items-center",
        key: n
      }, [
        o("div", b, r(n), 1),
        o("div", h, [
          d(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 {
  B as default
};
//# sourceMappingURL=AccountProfile-CQP43FI3.js.map
