"use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var prompts_exports = {};
__export(prompts_exports, {
  changeTonePrompts: () => changeTonePrompts,
  defaultPromptsConfiguration: () => defaultPromptsConfiguration,
  makeLongerPrompt: () => makeLongerPrompt,
  makeShorterPrompt: () => makeShorterPrompt,
  rephrasePrompt: () => rephrasePrompt
});
module.exports = __toCommonJS(prompts_exports);
var import_design_system = require("@wix/design-system");
var import_wix_ui_icons_common = require("@wix/wix-ui-icons-common");
var import_react = __toESM(require("react"));
const EmptyIcon = () => /* @__PURE__ */ import_react.default.createElement(import_design_system.Box, { flexShrink: 0, width: 18, height: 18 });
const changeTonePrompts = [
  {
    type: "prompt",
    title: "AIPlugin_Prompt_ChangeTone_Professional",
    promptSlug: "change-tone",
    promptParams: {
      tone: "professional"
    },
    icon: EmptyIcon
  },
  {
    type: "prompt",
    title: "AIPlugin_Prompt_ChangeTone_Casual",
    promptSlug: "change-tone",
    promptParams: {
      tone: "casual"
    },
    icon: EmptyIcon
  },
  {
    type: "prompt",
    title: "AIPlugin_Prompt_ChangeTone_Funny",
    promptSlug: "change-tone",
    promptParams: {
      tone: "funny"
    },
    icon: EmptyIcon
  },
  {
    type: "prompt",
    title: "AIPlugin_Prompt_ChangeTone_Confident",
    promptSlug: "change-tone",
    promptParams: {
      tone: "confident"
    },
    icon: EmptyIcon
  },
  {
    type: "prompt",
    title: "AIPlugin_Prompt_ChangeTone_Enthusiastic",
    promptSlug: "change-tone",
    promptParams: {
      tone: "enthusiastic"
    },
    icon: EmptyIcon
  }
];
const summarizePrompt = {
  type: "prompt",
  title: "AIPlugin_Prompt_Summarize",
  promptSlug: "summarize",
  icon: import_wix_ui_icons_common.ChecklistSmall
};
const generateHeadingPrompt = {
  type: "prompt",
  title: "AIPlugin_Prompt_GenerateHeading",
  promptSlug: "generate-heading",
  icon: import_wix_ui_icons_common.HeadingSmall,
  sortResultActionsFn: (a, b) => {
    if (a.type === "action" && a.name === "insert-above") {
      return -1;
    }
    if (b.type === "action" && b.name === "insert-above") {
      return 1;
    }
    return 0;
  }
};
const rephrasePrompt = {
  type: "prompt",
  title: "AIPlugin_Prompt_Rephrase",
  promptSlug: "rephrase",
  icon: import_wix_ui_icons_common.RefreshSmall
};
const fixSpellingAndGrammarPrompt = {
  type: "prompt",
  title: "AIPlugin_Prompt_FixSpellingAndGrammar",
  promptSlug: "fix-spelling-and-grammar",
  icon: import_wix_ui_icons_common.ConfirmSmall
};
const makeShorterPrompt = {
  type: "prompt",
  title: "AIPlugin_Prompt_MakeShorter",
  promptSlug: "make-shorter",
  icon: import_wix_ui_icons_common.ShortTextSmall
};
const makeLongerPrompt = {
  type: "prompt",
  title: "AIPlugin_Prompt_MakeLonger",
  promptSlug: "make-longer",
  icon: import_wix_ui_icons_common.LongTextSmall
};
const selectionPrompts = [
  rephrasePrompt,
  fixSpellingAndGrammarPrompt,
  makeShorterPrompt,
  makeLongerPrompt,
  { type: "section", title: "AIPlugin_Prompts_Section_Generate" },
  summarizePrompt,
  generateHeadingPrompt,
  { type: "section", title: "AIPlugin_Prompts_Section_ChangeTone" },
  ...changeTonePrompts
];
const floatingToolbarButtonPrompts = [
  { type: "section", title: "AIPlugin_Prompts_Section_Adjust" },
  rephrasePrompt,
  fixSpellingAndGrammarPrompt,
  makeShorterPrompt,
  makeLongerPrompt,
  { type: "section", title: "AIPlugin_Prompts_Section_Generate" },
  summarizePrompt,
  generateHeadingPrompt,
  { type: "section", title: "AIPlugin_Prompts_Section_ChangeTone" },
  ...changeTonePrompts
];
const defaultPromptsConfiguration = {
  selectionPrompts,
  floatingToolbarButtonPrompts
};
//# sourceMappingURL=prompts.js.map
