import { e as buildAssetsURL } from '../_/nitro.mjs';
import { p as p$1 } from './Modal-C67xWHXr.mjs';
import { useSSRContext, mergeProps, withCtx, createVNode, toDisplayString } from 'vue';
import { ssrRenderComponent, ssrRenderAttr, ssrInterpolate } from 'vue/server-renderer';

const p = "" + buildAssetsURL("success.ByW5HO0f.gif"), l = { __name: "Success", __ssrInlineRender: true, props: { title: { type: String, required: true }, desc: { type: String, required: true } }, emits: ["close"], setup: (s2, { emit: l2 }) => (l3, d2, n, a) => {
  d2(ssrRenderComponent(p$1, mergeProps({ onClose: (e2) => l3.$emit("close"), title: s2.title }, a), { default: withCtx((e2, t2, r2, u2) => {
    if (!t2) return [createVNode("img", { src: p, alt: "success", class: "w-[260px] h-[260px] mb-10 mx-auto" }), createVNode("div", null, [createVNode("p", { class: "text-primary text-center" }, toDisplayString(s2.desc), 1)])];
    t2(`<img${ssrRenderAttr("src", p)} alt="success" class="w-[260px] h-[260px] mb-10 mx-auto"${u2}><div${u2}><p class="text-primary text-center"${u2}>${ssrInterpolate(s2.desc)}</p></div>`);
  }), _: 1 }, n));
} }, d = l.setup;
l.setup = (e2, t2) => {
  const r2 = useSSRContext();
  return (r2.modules || (r2.modules = /* @__PURE__ */ new Set())).add("components/Auth/Success.vue"), d ? d(e2, t2) : undefined;
};

export { l };
//# sourceMappingURL=Success-CcKbULjX.mjs.map
