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] = "ebe06342-38a0-406f-a544-cec71485ae48", e._sentryDebugIdIdentifier = "sentry-dbid-ebe06342-38a0-406f-a544-cec71485ae48");
} catch (e) {}
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BcrJH82n.js";
import { t as InvitedDecisionMakerComponent } from "./InvitedDecisionMakerComponent-CHAwNzUH.js";
import register from "preact-custom-element";
import { jsx } from "preact/jsx-runtime";
//#region src/embeds/invited-decision-maker/adyen-invited-decision-maker.tsx
/**
* Allows invited decision makers to provide their details. Used from hosted invite flow.
*/
var AdyenInvitedDecisionMaker = ({ rootlegalentityid, fetchToken, environment, locale, settings = {}, experiments = {} }) => {
	return /* @__PURE__ */ jsx("div", {
		style: "width:100%;",
		children: /* @__PURE__ */ jsx(EmbedShell, {
			componentName: "adyen-invited-decision-maker",
			rootLegalEntityId: rootlegalentityid,
			settings,
			features: experiments,
			getSdkToken: fetchToken,
			locale,
			baseUrl: resolveEnvironment(environment),
			children: /* @__PURE__ */ jsx(InvitedDecisionMakerComponent, { invitedIndividualId: rootlegalentityid })
		})
	});
};
register(AdyenInvitedDecisionMaker, "adyen-invited-decision-maker", [
	"rootlegalentityid",
	"environment",
	"locale",
	"fetchToken",
	"settings",
	"experiments"
], {
	shadow: true,
	adoptedStyleSheets: stylesheets
});
//#endregion
export { AdyenInvitedDecisionMaker };
