import { d as l, r as i, g as p, k as r, o as _, c, _ as m } from "./main-e6123302.mjs";
import { u as d } from "./index-71114b0d.mjs";
const u = ["innerHTML"], f = /* @__PURE__ */ l({
  __name: "SkillshareprofileComponent",
  setup(h) {
    d();
    const o = i();
    return p(async () => {
      var t, s, a;
      console.log("window.location.pathname", window.location.pathname.substring(1).split("/")[2]);
      const n = (s = (t = window.location.pathname) == null ? void 0 : t.substring(1)) == null ? void 0 : s.split("/")[2], e = await r(`/delphi/my_profile/share/${n}`);
      o.value = (a = e == null ? void 0 : e.data) == null ? void 0 : a.message, console.log("share", e);
    }), (n, e) => (_(), c("div", { innerHTML: o.value }, null, 8, u));
  }
});
const k = /* @__PURE__ */ m(f, [["__scopeId", "data-v-8f7164e0"]]);
export {
  k as default
};
