import { generateId } from "./../../../../ricos-content/index.js";
const createPreset3 = ({
  title,
  content,
  buttonText
}) => ({
  nodes: [
    {
      type: "LAYOUT",
      id: generateId(),
      nodes: [
        {
          type: "LAYOUT_CELL",
          id: generateId(),
          nodes: [
            {
              type: "IMAGE",
              id: generateId(),
              imageData: {
                containerData: {
                  width: {
                    size: "CONTENT"
                  },
                  alignment: "CENTER",
                  textWrap: false
                },
                image: {
                  src: {
                    id: "16f8d7_91ac30f2c2ec499da7dd0190df004568~mv2.webp"
                  },
                  width: 4608,
                  height: 2963
                }
              }
            }
          ],
          layoutCellData: {}
        },
        {
          type: "LAYOUT_CELL",
          id: generateId(),
          nodes: [
            {
              type: "HEADING",
              id: generateId(),
              nodes: [
                {
                  type: "TEXT",
                  id: "",
                  textData: {
                    text: title,
                    decorations: [
                      {
                        type: "BOLD",
                        fontWeightValue: 700
                      }
                    ]
                  }
                }
              ],
              style: {},
              headingData: {
                level: 2,
                textStyle: {
                  textAlignment: "LEFT"
                }
              }
            },
            {
              type: "PARAGRAPH",
              id: generateId(),
              nodes: [
                {
                  type: "TEXT",
                  id: "",
                  textData: {
                    text: content
                  }
                }
              ]
            },
            {
              type: "PARAGRAPH",
              id: generateId(),
              style: {},
              paragraphData: {
                textStyle: {
                  textAlignment: "LEFT"
                }
              }
            },
            {
              type: "BUTTON",
              id: generateId(),
              buttonData: {
                containerData: {
                  width: {
                    size: "ORIGINAL"
                  },
                  alignment: "LEFT",
                  spoiler: {},
                  height: {},
                  textWrap: false
                },
                type: "LINK",
                styles: {},
                text: buttonText
              }
            }
          ],
          layoutCellData: {}
        }
      ],
      layoutData: {
        cellPadding: [0, 0, 0, 0],
        cellVerticalAlignment: "MIDDLE",
        responsivenessBehaviour: "STACK"
      }
    }
  ]
});
export {
  createPreset3
};
//# sourceMappingURL=create-preset-3.js.map
