text: import CMS from '../../../constant/sw-cms.constant';
  import './component';
  import './preview';
  
  Shopware.Service('cmsService').registerCmsBlock({
      name: 'image-text-gallery',
      label: 'sw-cms.blocks.textImage.imageTextGallery.label',
      category: 'text-image',
      component: 'sw-cms-block-image-text-gallery',
      previewComponent: 'sw-cms-preview-image-text-gallery',
      defaultConfig: {
          marginBottom: '20px',
          marginTop: '20px',
          marginLeft: '20px',
          marginRight: '20px',
          sizingMode: 'boxed',
      },
      slots: {
          'left-image': {
              type: 'image',
              default: {
                  config: {
                      displayMode: { source: 'static', value: 'cover' },
                  },
                  data: {
                      media: {
                          value: CMS.MEDIA.previewCamera,
                          source: 'default',
                      },
                  },
              },
          },
          'left-text': {
              type: 'text',
              default: {
                  config: {
                      content: {
                          source: 'static',
                          value: `
                          <h2 style="text-align: center;">Lorem Ipsum dolor</h2>
                          <p style="text-align: center;">Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
                          sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
                          sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.</p>
                          `.trim(),
                      },
                  },
              },
          },
          'center-image': {
              type: 'image',
              default: {
                  config: {
                      displayMode: { source: 'static', value: 'cover' },
                  },
                  data: {
                      media: {
                          value: CMS.MEDIA.previewPlant,
                          source: 'default',
                      },
                  },
              },
          },
          'center-text': {
              type: 'text',
              default: {
                  config: {
                      content: {
                          source: 'static',
                          value: `
                          <h2 style="text-align: center;">Lorem Ipsum dolor</h2>
                          <p style="text-align: center;">Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
                          sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
                          sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.</p>
                          `.trim(),
                      },
                  },
              },
          },
          'right-image': {
              type: 'image',
              default: {
                  config: {
                      displayMode: { source: 'static', value: 'cover' },
                  },
                  data: {
                      media: {
                          value: CMS.MEDIA.previewGlasses,
                          source: 'default',
                      },
                  },
              },
          },
          'right-text': {
              type: 'text',
              default: {
                  config: {
                      content: {
                          source: 'static',
                          value: `
                          <h2 style="text-align: center;">Lorem Ipsum dolor</h2>
                          <p style="text-align: center;">Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
                          sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
                          sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.</p>
                          `.trim(),
                      },
                  },
              },
          },
      },
  });
  