import { n as e } from "../../fn-BbK27qJY.js";
//#region src/plugins/editor-content-origin/root-injects.js
var t = {
	Clear: "clear",
	Conversion: "conversion",
	Editor: "editor",
	FileDrop: "file-drop",
	FixtureLoad: "fixture-load",
	ImportFile: "import-file",
	ImportUrl: "import-url",
	InitialFixtureLoad: "initial-fixture-load",
	LocalStorage: "local-storage",
	NotEditor: "not-editor",
	Props: "props",
	Resolve: "resolve"
}, n = "editor_content_set_origin", r = (e = t.NotEditor) => ({
	type: n,
	payload: String(e)
}), i = { [n]: (e, t) => e.set("contentOrigin", t.payload) }, a = (e) => e.get("contentOrigin") || t.NotEditor, o = e((e, t) => (e, n) => {
	let { editorActions: r } = t;
	r.setContentOrigin(n);
}), s = () => ({
	rootInjects: { EditorContentOrigin: t },
	statePlugins: { editor: {
		wrapActions: { setContent: o },
		reducers: i,
		selectors: { selectContentOrigin: a },
		actions: { setContentOrigin: r }
	} }
});
//#endregion
export { s as default };

//# sourceMappingURL=index.js.map