'use strict';

const index = require('../../../../../@tiptap_core@3.15.3_@tiptap_pm@3.15.3/node_modules/@tiptap/core/dist/index.cjs');
const index$2 = require('../../../../../@tiptap_extension-blockquote@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-blockquote/dist/index.cjs');
const index$1 = require('../../../../../@tiptap_extension-bold@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-bold/dist/index.cjs');
const index$4 = require('../../../../../@tiptap_extension-code@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-code/dist/index.cjs');
const index$5 = require('../../../../../@tiptap_extension-code-block@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-code-block/dist/index.cjs');
const index$6 = require('../../../../../@tiptap_extension-document@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-document/dist/index.cjs');
const index$8 = require('../../../../../@tiptap_extension-hard-break@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-hard-break/dist/index.cjs');
const index$9 = require('../../../../../@tiptap_extension-heading@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-heading/dist/index.cjs');
const index$a = require('../../../../../@tiptap_extension-horizontal-rule@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-horizontal-rule/dist/index.cjs');
const index$b = require('../../../../../@tiptap_extension-italic@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-italic/dist/index.cjs');
const index$c = require('../../../../../@tiptap_extension-link@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-link/dist/index.cjs');
const index$3 = require('../../../../../@tiptap_extension-list@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-list/dist/index.cjs');
const index$d = require('../../../../../@tiptap_extension-paragraph@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-paragraph/dist/index.cjs');
const index$e = require('../../../../../@tiptap_extension-strike@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-strike/dist/index.cjs');
const index$f = require('../../../../../@tiptap_extension-text@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-text/dist/index.cjs');
const index$g = require('../../../../../@tiptap_extension-underline@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-underline/dist/index.cjs');
const index$7 = require('../../../../../@tiptap_extensions@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extensions/dist/index.cjs');

// src/starter-kit.ts
var StarterKit = index.Extension.create({
  name: "starterKit",
  addExtensions() {
    var _a, _b, _c, _d;
    const extensions = [];
    if (this.options.bold !== false) {
      extensions.push(index$1.Bold.configure(this.options.bold));
    }
    if (this.options.blockquote !== false) {
      extensions.push(index$2.Blockquote.configure(this.options.blockquote));
    }
    if (this.options.bulletList !== false) {
      extensions.push(index$3.BulletList.configure(this.options.bulletList));
    }
    if (this.options.code !== false) {
      extensions.push(index$4.Code.configure(this.options.code));
    }
    if (this.options.codeBlock !== false) {
      extensions.push(index$5.CodeBlock.configure(this.options.codeBlock));
    }
    if (this.options.document !== false) {
      extensions.push(index$6.Document.configure(this.options.document));
    }
    if (this.options.dropcursor !== false) {
      extensions.push(index$7.Dropcursor.configure(this.options.dropcursor));
    }
    if (this.options.gapcursor !== false) {
      extensions.push(index$7.Gapcursor.configure(this.options.gapcursor));
    }
    if (this.options.hardBreak !== false) {
      extensions.push(index$8.HardBreak.configure(this.options.hardBreak));
    }
    if (this.options.heading !== false) {
      extensions.push(index$9.Heading.configure(this.options.heading));
    }
    if (this.options.undoRedo !== false) {
      extensions.push(index$7.UndoRedo.configure(this.options.undoRedo));
    }
    if (this.options.horizontalRule !== false) {
      extensions.push(index$a.HorizontalRule.configure(this.options.horizontalRule));
    }
    if (this.options.italic !== false) {
      extensions.push(index$b.Italic.configure(this.options.italic));
    }
    if (this.options.listItem !== false) {
      extensions.push(index$3.ListItem.configure(this.options.listItem));
    }
    if (this.options.listKeymap !== false) {
      extensions.push(index$3.ListKeymap.configure((_a = this.options) == null ? void 0 : _a.listKeymap));
    }
    if (this.options.link !== false) {
      extensions.push(index$c.Link.configure((_b = this.options) == null ? void 0 : _b.link));
    }
    if (this.options.orderedList !== false) {
      extensions.push(index$3.OrderedList.configure(this.options.orderedList));
    }
    if (this.options.paragraph !== false) {
      extensions.push(index$d.Paragraph.configure(this.options.paragraph));
    }
    if (this.options.strike !== false) {
      extensions.push(index$e.Strike.configure(this.options.strike));
    }
    if (this.options.text !== false) {
      extensions.push(index$f.Text.configure(this.options.text));
    }
    if (this.options.underline !== false) {
      extensions.push(index$g.Underline.configure((_c = this.options) == null ? void 0 : _c.underline));
    }
    if (this.options.trailingNode !== false) {
      extensions.push(index$7.TrailingNode.configure((_d = this.options) == null ? void 0 : _d.trailingNode));
    }
    return extensions;
  }
});

exports.StarterKit = StarterKit;
