import { d as a, o as d, c, a as e, _ as r } from "./main-e6123302.mjs";
const u = { class: "z-[100]" }, x = { class: "popup-content shadow-lg w-full bg-white md:w-3/6 lg:w-3/6" }, f = { class: "popup-body geLight -text-blue px-8 pb-6 pt-8 text-left text-[15px]" }, m = { class: "profile-row" }, _ = ["innerHTML"], g = { class: "pt-6 text-center" }, y = /* @__PURE__ */ a({
  __name: "AlertPopup",
  props: {
    text: {
      type: String
    },
    arrayOf: {
      type: String
    },
    discriptioValue: {
      type: String
    },
    skillData: {
      type: Array,
      default: []
    }
  },
  emits: ["isOpenPopupEmit"],
  setup(t, { emit: i }) {
    const n = i, l = () => {
      n("isOpenPopupEmit", !1);
    };
    return (o, s) => (d(), c("section", u, [
      e("div", {
        onClick: s[1] || (s[1] = (p) => o.$emit("isOpenPopupEmit", !1)),
        class: "fixed -top-6 left-0 z-[99999] flex h-full min-h-screen w-full items-center justify-center bg-[#707070] bg-opacity-30 p-2 text-[15px] md:top-0 md:p-0 lg:top-0 lg:p-0"
      }, [
        e("div", x, [
          e("div", f, [
            e("div", m, [
              e("div", {
                class: "py-2 text-center",
                innerHTML: t.text === "undefined" || t.text === "Network Error" || t.text === null ? "Failed to load" : t.text
              }, null, 8, _)
            ]),
            e("div", g, [
              e("button", {
                class: "-bg-blue inline-block rounded px-6 py-2 text-white",
                onClick: s[0] || (s[0] = (p) => t.text === "Oops! Your session expired. Please log in again!" ? l() : o.$emit("isOpenPopupEmit", !1))
              }, "Ok")
            ])
          ])
        ])
      ])
    ]));
  }
});
const b = /* @__PURE__ */ r(y, [["__scopeId", "data-v-0432c94d"]]);
export {
  b as default
};
