import { hasSlotContent as e } from "../../common/utils/index.js";
import { t } from "../../_plugin-vue_export-helper-BTgDAbhb.js";
import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, openBlock as o, renderSlot as s, toDisplayString as c } from "vue";
//#region components/notice/notice_content.vue
var l = {
	compatConfig: { MODE: 3 },
	name: "DtNoticeContent",
	props: {
		title: {
			type: String,
			default: ""
		},
		titleId: {
			type: String,
			default: void 0
		},
		contentId: {
			type: String,
			default: void 0
		}
	},
	data() {
		return { hasSlotContent: e };
	}
}, u = {
	class: "d-notice__content",
	"data-qa": "notice-content"
}, d = ["id"], f = ["id"];
function p(e, t, l, p, m, h) {
	return o(), r("div", u, [l.title || m.hasSlotContent(e.$slots.titleOverride) ? (o(), r("p", {
		key: 0,
		id: l.titleId,
		class: "d-notice__title",
		"data-qa": "notice-content-title"
	}, [s(e.$slots, "titleOverride", {}, () => [a(c(l.title), 1)])], 8, d)) : n("", !0), i("p", {
		id: l.contentId,
		class: "d-notice__message",
		"data-qa": "notice-content-message"
	}, [s(e.$slots, "default")], 8, f)]);
}
var m = /* @__PURE__ */ t(l, [["render", p]]);
//#endregion
export { m as default };

//# sourceMappingURL=notice-content.js.map