import { t as AdminLayout_default } from "./AdminLayout-CFTJa237.js";
import { t as DeleteUserForm_default } from "./DeleteUserForm-P4EKvApG.js";
import { t as UpdatePasswordForm_default } from "./UpdatePasswordForm-XL68C44c.js";
import { t as UpdateProfileInformationForm_default } from "./UpdateProfileInformationForm-Bpt4XJCB.js";
import { Head } from "@inertiajs/vue3";
import { createVNode, defineComponent, unref, useSSRContext, withCtx } from "vue";
import { ssrRenderComponent } from "vue/server-renderer";
//#region resources/js/Pages/Profile/Edit.vue?vue&type=script&setup=true&lang.ts
var Edit_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
	__name: "Edit",
	__ssrInlineRender: true,
	props: {
		mustVerifyEmail: { type: Boolean },
		status: {}
	},
	setup(__props) {
		return (_ctx, _push, _parent, _attrs) => {
			_push(`<!--[-->`);
			_push(ssrRenderComponent(unref(Head), { title: "Profile" }, null, _parent));
			_push(ssrRenderComponent(AdminLayout_default, null, {
				default: withCtx((_, _push, _parent, _scopeId) => {
					if (_push) {
						_push(`<div class="w-full space-y-6"${_scopeId}><div${_scopeId}><h1 class="text-2xl font-bold tracking-tight text-slate-900 dark:text-slate-100"${_scopeId}>My Profile</h1><p class="text-sm text-slate-500 dark:text-slate-400 mt-1"${_scopeId}> Manage your personal account settings, password, and security. </p></div><div class="bg-white dark:bg-slate-950 border border-slate-200 dark:border-slate-800 rounded-xl p-6 shadow-sm"${_scopeId}>`);
						_push(ssrRenderComponent(UpdateProfileInformationForm_default, {
							"must-verify-email": __props.mustVerifyEmail,
							status: __props.status,
							class: "max-w-xl"
						}, null, _parent, _scopeId));
						_push(`</div><div class="bg-white dark:bg-slate-950 border border-slate-200 dark:border-slate-800 rounded-xl p-6 shadow-sm"${_scopeId}>`);
						_push(ssrRenderComponent(UpdatePasswordForm_default, { class: "max-w-xl" }, null, _parent, _scopeId));
						_push(`</div><div class="bg-white dark:bg-slate-950 border border-slate-200 dark:border-slate-800 rounded-xl p-6 shadow-sm border-rose-100 dark:border-rose-950/20"${_scopeId}>`);
						_push(ssrRenderComponent(DeleteUserForm_default, { class: "max-w-xl" }, null, _parent, _scopeId));
						_push(`</div></div>`);
					} else return [createVNode("div", { class: "w-full space-y-6" }, [
						createVNode("div", null, [createVNode("h1", { class: "text-2xl font-bold tracking-tight text-slate-900 dark:text-slate-100" }, "My Profile"), createVNode("p", { class: "text-sm text-slate-500 dark:text-slate-400 mt-1" }, " Manage your personal account settings, password, and security. ")]),
						createVNode("div", { class: "bg-white dark:bg-slate-950 border border-slate-200 dark:border-slate-800 rounded-xl p-6 shadow-sm" }, [createVNode(UpdateProfileInformationForm_default, {
							"must-verify-email": __props.mustVerifyEmail,
							status: __props.status,
							class: "max-w-xl"
						}, null, 8, ["must-verify-email", "status"])]),
						createVNode("div", { class: "bg-white dark:bg-slate-950 border border-slate-200 dark:border-slate-800 rounded-xl p-6 shadow-sm" }, [createVNode(UpdatePasswordForm_default, { class: "max-w-xl" })]),
						createVNode("div", { class: "bg-white dark:bg-slate-950 border border-slate-200 dark:border-slate-800 rounded-xl p-6 shadow-sm border-rose-100 dark:border-rose-950/20" }, [createVNode(DeleteUserForm_default, { class: "max-w-xl" })])
					])];
				}),
				_: 1
			}, _parent));
			_push(`<!--]-->`);
		};
	}
});
//#endregion
//#region resources/js/Pages/Profile/Edit.vue
var _sfc_setup = Edit_vue_vue_type_script_setup_true_lang_default.setup;
Edit_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
	const ssrContext = useSSRContext();
	(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("resources/js/Pages/Profile/Edit.vue");
	return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
var Edit_default = Edit_vue_vue_type_script_setup_true_lang_default;
//#endregion
export { Edit_default as default };
