import React from "react";
import { DevContext } from "./../../ricos-context/index.js";
import { RequestServiceProvider } from "./../../_shared/request-service-provider/request-service-provider.js";
import {
  action,
  createRicosComponentStory
} from "./../../wix-rich-content-common/create-ricos-component-story.js";
import { mockAiRequestService } from "../mocks/mock-ai-request-service.js";
import { AiContentModal as AiContentModalComponent } from "./ai-content-modal.js";
const aiRequestService = mockAiRequestService();
const template = () => (storyProps) => createRicosComponentStory({
  component: /* @__PURE__ */ React.createElement(DevContext.Provider, { value: { aiRequestService } }, /* @__PURE__ */ React.createElement(RequestServiceProvider, null, /* @__PURE__ */ React.createElement(
    AiContentModalComponent,
    {
      openDiscardModal: () => Promise.resolve({ confirmed: true, dontShowAgain: false }),
      closeModal: () => action("closeModal")(),
      config: { type: "ai", appDefId: "" },
      zIndex: 1e3,
      modalSessionId: "dummy-modalSessionId"
    }
  ))),
  storyProps
});
const Default = template();
var ai_content_modal_stories_default = {
  name: "AiPlugin/ContentModal"
};
export {
  Default,
  ai_content_modal_stories_default as default
};
//# sourceMappingURL=ai-content-modal.stories.js.map
