import { buildBackofficeJsonViewerFallbackText as e } from "./LazyBackofficeJsonViewer.helpers.js";
import "./LazyBackofficeJsonViewer.css.js";
import { Suspense as t, lazy as n } from "react";
import { jsx as r } from "react/jsx-runtime";
import { useTranslation as i } from "react-i18next";
//#region src/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.tsx
var a = n(async () => import("./BackofficeJsonViewerAsync.js")), o = ({ value: t, className: n }) => {
	let { t: a } = i("ui", { useSuspense: !1 });
	return /* @__PURE__ */ r("pre", {
		className: n ?? "_13lprza0 txvbqbwqt txvbqb1ax2",
		children: e(t, a("backoffice.jsonViewer.serializationError"))
	});
}, s = (e) => /* @__PURE__ */ r(t, {
	fallback: /* @__PURE__ */ r(o, {
		value: e.value,
		className: e.className
	}),
	children: /* @__PURE__ */ r(a, { ...e })
});
//#endregion
export { s as LazyBackofficeJsonViewer, s as default };

//# sourceMappingURL=LazyBackofficeJsonViewer.js.map