try {
	let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
	n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f2db087a-a0df-4d49-8476-5a65c629c5ad", e._sentryDebugIdIdentifier = "sentry-dbid-f2db087a-a0df-4d49-8476-5a65c629c5ad");
} catch (e) {}
import { i as Typography } from "./translation-Br5wIPO-.js";
import { t as StackLayout } from "./StackLayout-BMQXXBDb.js";
import { jsx, jsxs } from "preact/jsx-runtime";
var LandingLayout_module_default = {
	"landing-layout-image": "adyen-kyc-landing-layout-image",
	landingLayoutImage: "adyen-kyc-landing-layout-image",
	"landing-layout-help-action": "adyen-kyc-landing-layout-help-action",
	landingLayoutHelpAction: "adyen-kyc-landing-layout-help-action",
	"landing-layout-actions": "adyen-kyc-landing-layout-actions",
	landingLayoutActions: "adyen-kyc-landing-layout-actions",
	"landing-layout-errors": "adyen-kyc-landing-layout-errors",
	landingLayoutErrors: "adyen-kyc-landing-layout-errors",
	"landing-layout-disclaimer": "adyen-kyc-landing-layout-disclaimer",
	landingLayoutDisclaimer: "adyen-kyc-landing-layout-disclaimer",
	"landing-layout-center": "adyen-kyc-landing-layout-center",
	landingLayoutCenter: "adyen-kyc-landing-layout-center"
};
//#endregion
//#region src/components/ui/layout/LandingLayout/LandingLayout.tsx
var LandingLayout = ({ actions, content, description, error, disclaimer, helpAction, media, title }) => {
	return /* @__PURE__ */ jsxs(StackLayout, {
		gap: "large",
		align: "center",
		children: [
			media && /* @__PURE__ */ jsx("div", {
				role: "region",
				className: LandingLayout_module_default.landingLayoutImage,
				children: media
			}),
			error && /* @__PURE__ */ jsx("div", {
				className: LandingLayout_module_default.landingLayoutErrors,
				children: error
			}),
			/* @__PURE__ */ jsxs(StackLayout, {
				gap: "small",
				children: [
					/* @__PURE__ */ jsx(Typography, {
						el: "h2",
						className: LandingLayout_module_default.landingLayoutCenter,
						variant: "title-l",
						children: title
					}),
					description && /* @__PURE__ */ jsx(Typography, {
						className: LandingLayout_module_default.landingLayoutCenter,
						variant: "body",
						color: "primary",
						children: description
					}),
					/* @__PURE__ */ jsx("div", {
						className: LandingLayout_module_default.landingLayoutHelpAction,
						children: helpAction
					})
				]
			}),
			content,
			/* @__PURE__ */ jsx("div", {
				className: LandingLayout_module_default.landingLayoutActions,
				children: /* @__PURE__ */ jsxs(StackLayout, {
					gap: "small",
					children: [actions, disclaimer && /* @__PURE__ */ jsx(Typography, {
						variant: "caption",
						color: "tertiary",
						className: LandingLayout_module_default.landingLayoutDisclaimer,
						children: disclaimer
					})]
				})
			})
		]
	});
};
//#endregion
export { LandingLayout as t };
