diff --git a/lib/Config/Populator.php b/lib/Config/Populator.php
index 37b3f1c357..81baa85432 100644
--- a/lib/Config/Populator.php
+++ b/lib/Config/Populator.php
@@ -78,6 +78,16 @@ class Populator {
'Fitness',
'KidsClothing',
'Avocado',
+
+ 'FashionBlogA',
+ 'FashionShop',
+ 'LifestyleBlogA',
+ 'LifestyleBlogB',
+ 'NewspaperTraditional',
+ 'ClearNews',
+ 'IndustryConference',
+ 'BookStoreWithCoupon',
+ 'FlowersWithCoupon',
);
}
diff --git a/lib/Config/PopulatorData/Templates/BookStoreWithCoupon.php b/lib/Config/PopulatorData/Templates/BookStoreWithCoupon.php
new file mode 100644
index 0000000000..b3e9eb4254
--- /dev/null
+++ b/lib/Config/PopulatorData/Templates/BookStoreWithCoupon.php
@@ -0,0 +1,1200 @@
+template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/book-store-with-coupon';
+ $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
+ }
+
+ function get() {
+ return array(
+ 'name' => __("Book store (with coupon)", 'mailpoet'),
+ 'categories' => json_encode(array('woocommerce', 'all')),
+ 'readonly' => 1,
+ 'thumbnail' => $this->getThumbnail(),
+ 'body' => json_encode($this->getBody()),
+ );
+ }
+
+ private function getThumbnail() {
+ return $this->template_image_url . '/thumbnail.jpg';
+ }
+
+ private function getBody() {
+ return array (
+ 'content' =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#125674',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '60px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Book-Logo.png',
+ 'alt' => 'Book-Logo',
+ 'fullWidth' => false,
+ 'width' => '200px',
+ 'height' => '48px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => $this->template_image_url . '/Book-Header.jpg',
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#125674',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '100px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => '
Turn more pages this weekend...
+ Just to say thanks, here\'s a small gift from us to you.
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '71px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => $this->template_image_url . '/Book-Body-2.png',
+ 'display' => 'tile',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '21px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Read more every week
+ Your free gift!
',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => $this->template_image_url . '/Book-Body-2.png',
+ 'display' => 'tile',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '2px',
+ 'borderStyle' => 'dashed',
+ 'borderWidth' => '2px',
+ 'borderColor' => '#125674',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 4 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => $this->template_image_url . '/Book-Body-2.png',
+ 'display' => 'tile',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Lorem ipsum dolor sit amet, adipiscing elit. Fusce mollis orci justo,
+ commodo mattis nisi vitae. Sed aliquam, ex ac lacinia tempus,
+ enim urna luctus odio, at leo ante non.
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'text',
+ 'text' => '20% off all books
',
+ ),
+ 3 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Coupon_Code',
+ 'url' => '',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'borderColor' => '#125674',
+ 'borderWidth' => '3px',
+ 'borderRadius' => '40px',
+ 'borderStyle' => 'solid',
+ 'width' => '288px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#125674',
+ 'fontFamily' => 'Courier New',
+ 'fontSize' => '26px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 4 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Book-Image-Wide-2.png',
+ 'alt' => 'Book-Image-Wide',
+ 'fullWidth' => true,
+ 'width' => '1200px',
+ 'height' => '400px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 5 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#cdc391',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 6 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#cdc391',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'full-symbol-black',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Facebook.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'full-symbol-black',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Twitter.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'full-symbol-black',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Instagram.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 7 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#125674',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '29px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 8 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#125674',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Book-Logo.png',
+ 'alt' => 'Book-Logo',
+ 'fullWidth' => false,
+ 'width' => '96px',
+ 'height' => '48px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'footer',
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'header',
+ 'text' => 'Open this email in your web browser.
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 'globalStyles' =>
+ array (
+ 'text' =>
+ array (
+ 'fontColor' => '#000000',
+ 'fontFamily' => 'Noticia Text',
+ 'fontSize' => '14px',
+ ),
+ 'h1' =>
+ array (
+ 'fontColor' => '#111111',
+ 'fontFamily' => 'Playfair Display',
+ 'fontSize' => '30px',
+ ),
+ 'h2' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Playfair Display',
+ 'fontSize' => '22px',
+ ),
+ 'h3' =>
+ array (
+ 'fontColor' => '#333333',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '20px',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#21759B',
+ 'textDecoration' => 'underline',
+ ),
+ 'wrapper' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ 'body' =>
+ array (
+ 'backgroundColor' => '#125674',
+ ),
+ ),
+ 'blockDefaults' =>
+ array (
+ 'automatedLatestContent' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => false,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'belowTitle',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContent.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContent.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'automatedLatestContentLayout' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'alternate',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContentLayout.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContentLayout.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'button' =>
+ array (
+ 'text' => 'Coupon_Code',
+ 'url' => '',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'borderColor' => '#125674',
+ 'borderWidth' => '3px',
+ 'borderRadius' => '40px',
+ 'borderStyle' => 'solid',
+ 'width' => '288px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#125674',
+ 'fontFamily' => 'Courier New',
+ 'fontSize' => '26px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ 'type' => 'button',
+ ),
+ 'divider' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '2px',
+ 'borderStyle' => 'dashed',
+ 'borderWidth' => '2px',
+ 'borderColor' => '#125674',
+ ),
+ ),
+ 'type' => 'divider',
+ ),
+ 'footer' =>
+ array (
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ 'type' => 'footer',
+ ),
+ 'posts' =>
+ array (
+ 'amount' => '10',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'postStatus' => 'publish',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'alternate',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'link',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'posts.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'posts.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'social' =>
+ array (
+ 'iconSet' => 'full-symbol-black',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => $this->social_icon_url . '/07-full-symbol-black/Instagram.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ ),
+ 'type' => 'social',
+ ),
+ 'spacer' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ 'type' => 'spacer',
+ ),
+ 'header' =>
+ array (
+ 'text' => 'Display problems? Open this email in your web browser.',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ 'type' => 'header',
+ ),
+ ),
+ );
+ }
+
+}
diff --git a/lib/Config/PopulatorData/Templates/ClearNews.php b/lib/Config/PopulatorData/Templates/ClearNews.php
new file mode 100644
index 0000000000..ffdfed5bbc
--- /dev/null
+++ b/lib/Config/PopulatorData/Templates/ClearNews.php
@@ -0,0 +1,1887 @@
+template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/clear-news';
+ $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
+ }
+
+ function get() {
+ return array(
+ 'name' => __("Clear News", 'mailpoet'),
+ 'categories' => json_encode(array('notification', 'all')),
+ 'readonly' => 1,
+ 'thumbnail' => $this->getThumbnail(),
+ 'body' => json_encode($this->getBody()),
+ );
+ }
+
+ private function getThumbnail() {
+ return $this->template_image_url . '/thumbnail.jpg';
+ }
+
+ private function getBody() {
+ return array (
+ 'content' =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'height' => '27px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'header',
+ 'text' => 'Open this email in your web browser.
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '11px',
+ 'textAlign' => 'left',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#e2973f',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/News-Logo-1.png',
+ 'alt' => 'News-Logo',
+ 'fullWidth' => false,
+ 'width' => '120px',
+ 'height' => '167px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'height' => '30px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'October 2018
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => '2_1',
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Good Morning!
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce egestas nisl vel ante finibus fringilla ullamcorper non lectus. Aenean leo neque, egestas et lacus eu, viverra luctus nisi. Donec dapibus mauris at fringilla consequat. Cras sed porta nunc. Ut tincidunt luctus felis sed suscipit. Sed tristique faucibus fermentum.
',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'height' => '24px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/UEl2.gif',
+ 'alt' => 'UEl2',
+ 'fullWidth' => false,
+ 'width' => '360px',
+ 'height' => '400px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'dashed',
+ 'borderWidth' => '2px',
+ 'borderColor' => '#e2973f',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 4 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Today\'s Top Stories
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 5 =>
+ array (
+ 'type' => 'automatedLatestContentLayout',
+ 'withLayout' => true,
+ 'amount' => '3',
+ 'contentType' => 'post',
+ 'terms' =>
+ array (
+ ),
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h2',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => true,
+ 'featuredImagePosition' => 'left',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#e2973f',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '110px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '14px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'left',
+ ),
+ ),
+ 'context' => 'automatedLatestContentLayout.readMoreButton',
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => false,
+ 'divider' =>
+ array (
+ 'type' => 'divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ 'context' => 'automatedLatestContentLayout.divider',
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 6 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'dashed',
+ 'borderWidth' => '2px',
+ 'borderColor' => '#e2973f',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 7 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'We cover all types of news
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 8 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'World',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#e23f3f',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '288px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '20px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Business',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#50b6ce',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '288px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '20px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Politics',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#506dce',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '288px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '20px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 9 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Sports',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#e1bc2d',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '288px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '20px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Science',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#a650ce',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '288px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '20px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Health',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#64b03c',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '288px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '20px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 10 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Family',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#278f6e',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '288px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '20px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Arts',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#7c5e5e',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '288px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '20px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Local',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#4d4d4d',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '288px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '20px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 11 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 12 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => '1_2',
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => $this->template_image_url . '/News-Crossword.jpg',
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '60px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'The Friday Crossword
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum vitae ornare elit. Duis laoreet justo sed fringilla maximus. Aenean pharetra nec risus a vestibulum.
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Get started',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#e2973f',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '110px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '14px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'right',
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '22px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 13 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '34.5px',
+ 'borderStyle' => 'dashed',
+ 'borderWidth' => '2px',
+ 'borderColor' => '#e2973f',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 14 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/News-Logo-1.png',
+ 'alt' => 'News-Logo',
+ 'fullWidth' => false,
+ 'width' => '120px',
+ 'height' => '167px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Unsubscribe
+ Manage your subscription
',
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Add your postal address!
',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'circles',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/03-circles/Facebook.png?mailpoet_version=3.15.0',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/03-circles/Twitter.png?mailpoet_version=3.15.0',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'youtube',
+ 'link' => 'http://www.youtube.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/03-circles/Youtube.png?mailpoet_version=3.15.0',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Youtube',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'default',
+ 'icons' =>
+ array (
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 'globalStyles' =>
+ array (
+ 'text' =>
+ array (
+ 'fontColor' => '#000000',
+ 'fontFamily' => 'Source Sans Pro',
+ 'fontSize' => '15px',
+ ),
+ 'h1' =>
+ array (
+ 'fontColor' => '#111111',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '40px',
+ ),
+ 'h2' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '24px',
+ ),
+ 'h3' =>
+ array (
+ 'fontColor' => '#333333',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '16px',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#e2973f',
+ 'textDecoration' => 'underline',
+ ),
+ 'wrapper' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ 'body' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blockDefaults' =>
+ array (
+ 'automatedLatestContent' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => false,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'belowTitle',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContent.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContent.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'automatedLatestContentLayout' =>
+ array (
+ 'amount' => '3',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h2',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => true,
+ 'featuredImagePosition' => 'left',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContentLayout.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#e2973f',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '110px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '14px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'left',
+ ),
+ ),
+ 'type' => 'button',
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => false,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContentLayout.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ 'type' => 'divider',
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ 'type' => 'automatedLatestContentLayout',
+ 'terms' =>
+ array (
+ ),
+ ),
+ 'button' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#4d4d4d',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '288px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '20px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ 'type' => 'button',
+ ),
+ 'divider' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '34.5px',
+ 'borderStyle' => 'dashed',
+ 'borderWidth' => '2px',
+ 'borderColor' => '#e2973f',
+ ),
+ ),
+ 'type' => 'divider',
+ ),
+ 'footer' =>
+ array (
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '13px',
+ 'textAlign' => 'right',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#e2973f',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ 'type' => 'footer',
+ ),
+ 'posts' =>
+ array (
+ 'amount' => '10',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'postStatus' => 'publish',
+ 'inclusionType' => 'include',
+ 'displayType' => 'titleOnly',
+ 'titleFormat' => 'h2',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => true,
+ 'featuredImagePosition' => 'centered',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => 'http://mailpoet.info/ladybirds-transparent-shell-reveals-how-it-folds-its-wings/',
+ 'context' => 'posts.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#e2973f',
+ 'borderColor' => '#e2973f',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '40px',
+ 'borderStyle' => 'solid',
+ 'width' => '110px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '14px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'left',
+ ),
+ ),
+ 'type' => 'button',
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => false,
+ 'divider' =>
+ array (
+ 'context' => 'posts.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ 'type' => 'divider',
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ 'type' => 'posts',
+ 'offset' => 0,
+ 'terms' =>
+ array (
+ ),
+ 'search' => '',
+ ),
+ 'social' =>
+ array (
+ 'iconSet' => 'circles',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => $this->social_icon_url . '/03-circles/Facebook.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => $this->social_icon_url . '/03-circles/Twitter.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'youtube',
+ 'link' => 'http://www.youtube.com',
+ 'image' => $this->social_icon_url . '/03-circles/Youtube.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Youtube',
+ ),
+ ),
+ 'type' => 'social',
+ ),
+ 'spacer' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'height' => '20px',
+ ),
+ ),
+ 'type' => 'spacer',
+ ),
+ 'header' =>
+ array (
+ 'text' => 'Display problems? Open this email in your web browser.',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '11px',
+ 'textAlign' => 'left',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#e2973f',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ 'type' => 'header',
+ ),
+ ),
+ );
+ }
+
+}
diff --git a/lib/Config/PopulatorData/Templates/FashionBlogA.php b/lib/Config/PopulatorData/Templates/FashionBlogA.php
new file mode 100644
index 0000000000..71e9e652f3
--- /dev/null
+++ b/lib/Config/PopulatorData/Templates/FashionBlogA.php
@@ -0,0 +1,1447 @@
+template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/fashion-blog-a';
+ $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
+ }
+
+ function get() {
+ return array(
+ 'name' => __("Fashion Blog - A", 'mailpoet'),
+ 'categories' => json_encode(array('standard', 'all')),
+ 'readonly' => 1,
+ 'thumbnail' => $this->getThumbnail(),
+ 'body' => json_encode($this->getBody()),
+ );
+ }
+
+ private function getThumbnail() {
+ return $this->template_image_url . '/thumbnail.jpg';
+ }
+
+ private function getBody() {
+ return array (
+ 'content' =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#f5f5f5',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '30px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#f5f5f5',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'October 2018 Edition
',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'View Online
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#f5f5f5',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Fashion-Logo.png',
+ 'alt' => 'Fashion-Logo',
+ 'fullWidth' => false,
+ 'width' => '157px',
+ 'height' => '48px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => $this->template_image_url . '/Fashion-Header.jpg',
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '90px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'October 2018
+ Autumn Season
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '60px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 4 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '30px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce mollis orci justo, commodo mattis nisi ullamcorper vitae. Sed aliquam, ex ac lacinia tempus, enim urna luctus odio, at consequat leo ante non tellus.
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce mollis orci justo, commodo mattis nisi ullamcorper vitae.
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 5 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => '1_2',
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#f6e4e4',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Fashion-Image-1.jpg',
+ 'alt' => 'Fashion-Image-1',
+ 'fullWidth' => true,
+ 'width' => '400px',
+ 'height' => '600px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '60px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => '$59
+ New Outfit
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce mollis orci justo, commodo mattis nisi ullamcorper vitae. Lorem ipsum dolor sit amet.
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ae6ca1',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '100px',
+ 'lineHeight' => '35px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '14px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 6 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => '2_1',
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ebe8e8',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '60px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => '$159
+ New Outfit
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce mollis orci justo, commodo mattis nisi ullamcorper vitae. Lorem ipsum dolor sit amet.
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ae6ca1',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '100px',
+ 'lineHeight' => '35px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '14px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Fashion-Image-2.jpg',
+ 'alt' => 'Fashion-Image-2',
+ 'fullWidth' => true,
+ 'width' => '400px',
+ 'height' => '600px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 7 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => '1_2',
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#f6e4e4',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Fashion-Image-3.jpg',
+ 'alt' => 'Fashion-Image-3',
+ 'fullWidth' => true,
+ 'width' => '400px',
+ 'height' => '600px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '60px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => '$25
+ New Outfit
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce mollis orci justo, commodo mattis nisi ullamcorper vitae. Lorem ipsum dolor sit amet.
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ae6ca1',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '100px',
+ 'lineHeight' => '35px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '14px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 8 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => '2_1',
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => $this->template_image_url . '/Fashion-Instagram.jpg',
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '50px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/glyph-logo_May2016.png',
+ 'alt' => 'glyph-logo_May2016',
+ 'fullWidth' => false,
+ 'width' => '52px',
+ 'height' => '504px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Our new Instagram Page
+ We have just released our brand new Instagram page.
+ We\'ll be keeping everyone up to date with the latest
+ fashion and style advice every day.
',
+ ),
+ 3 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Check it out',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#151515',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '114px',
+ 'lineHeight' => '35px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '14px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ 4 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '35px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 9 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#f5f5f5',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '40px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'full-symbol-black',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Facebook.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Twitter.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Instagram.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 10 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#f5f5f5',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'footer',
+ 'text' => 'Unsubscribe | Manage your subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#ae70ad',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 'globalStyles' =>
+ array (
+ 'text' =>
+ array (
+ 'fontColor' => '#626262',
+ 'fontFamily' => 'Noticia Text',
+ 'fontSize' => '14px',
+ ),
+ 'h1' =>
+ array (
+ 'fontColor' => '#111111',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '30px',
+ ),
+ 'h2' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '22px',
+ ),
+ 'h3' =>
+ array (
+ 'fontColor' => '#505050',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '20px',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#21759b',
+ 'textDecoration' => 'underline',
+ ),
+ 'wrapper' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ 'body' =>
+ array (
+ 'backgroundColor' => '#f5f5f5',
+ ),
+ ),
+ 'blockDefaults' =>
+ array (
+ 'automatedLatestContent' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => false,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'belowTitle',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContent.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContent.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'automatedLatestContentLayout' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'alternate',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContentLayout.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContentLayout.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'button' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ae6ca1',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '100px',
+ 'lineHeight' => '35px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '14px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'left',
+ ),
+ ),
+ 'type' => 'button',
+ ),
+ 'divider' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'footer' =>
+ array (
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#ae70ad',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ 'type' => 'footer',
+ ),
+ 'posts' =>
+ array (
+ 'amount' => '10',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'postStatus' => 'publish',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h3',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => true,
+ 'featuredImagePosition' => 'right',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'link',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'posts.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ 'type' => 'button',
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'posts.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ 'type' => 'divider',
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ 'type' => 'posts',
+ 'offset' => 0,
+ 'terms' =>
+ array (
+ ),
+ 'search' => '',
+ ),
+ 'social' =>
+ array (
+ 'iconSet' => 'full-symbol-black',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => $this->social_icon_url . '/07-full-symbol-black/Facebook.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => $this->social_icon_url . '/07-full-symbol-black/Twitter.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => $this->social_icon_url . '/07-full-symbol-black/Instagram.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ ),
+ 'type' => 'social',
+ ),
+ 'spacer' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '40px',
+ ),
+ ),
+ 'type' => 'spacer',
+ ),
+ 'header' =>
+ array (
+ 'text' => 'Display problems? Open this email in your web browser.',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ 'type' => 'header',
+ ),
+ ),
+ );
+ }
+
+}
diff --git a/lib/Config/PopulatorData/Templates/FashionShop.php b/lib/Config/PopulatorData/Templates/FashionShop.php
new file mode 100644
index 0000000000..351d6a7a6e
--- /dev/null
+++ b/lib/Config/PopulatorData/Templates/FashionShop.php
@@ -0,0 +1,1042 @@
+template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/fashion-shop';
+ $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
+ }
+
+ function get() {
+ return array(
+ 'name' => __("Fashion Shop", 'mailpoet'),
+ 'categories' => json_encode(array('standard', 'all')),
+ 'readonly' => 1,
+ 'thumbnail' => $this->getThumbnail(),
+ 'body' => json_encode($this->getBody()),
+ );
+ }
+
+ private function getThumbnail() {
+ return $this->template_image_url . '/thumbnail.jpg';
+ }
+
+ private function getBody() {
+ return array (
+ 'content' =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'header',
+ 'text' => 'Open this email in your web browser.
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => $this->template_image_url . '/FashionKids-Header.jpg',
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '60px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'AUTUMN RANGE 2018
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/FashionKids-Logo.png',
+ 'alt' => 'FashionKids-Logo',
+ 'fullWidth' => false,
+ 'width' => '200px',
+ 'height' => '64px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'IT\'S TIME TO EXPLORE
',
+ ),
+ 4 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '403px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#c6d4dd',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/FashionKids-Image-Square.jpg',
+ 'alt' => 'FashionKids-Image-Square',
+ 'fullWidth' => true,
+ 'width' => '400px',
+ 'height' => '400px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '100px',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Keep them warm this autumn with our whole new range just for your little ones
',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/FashionKids-Image-1-1.jpg',
+ 'alt' => 'FashionKids-Image-1-1',
+ 'fullWidth' => true,
+ 'width' => '400px',
+ 'height' => '800px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#c6d4dd',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/FashionKids-Image-Square-2.jpg',
+ 'alt' => 'FashionKids-Image-Square-2',
+ 'fullWidth' => true,
+ 'width' => '400px',
+ 'height' => '400px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '113px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'All of our clothes are easy to wash and are ready for your little explorers
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 4 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '40px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/FashionKids-Logo.png',
+ 'alt' => 'FashionKids-Logo',
+ 'fullWidth' => false,
+ 'width' => '187px',
+ 'height' => '30px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '35px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'full-symbol-color',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/06-full-symbol-color/Facebook.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/06-full-symbol-color/Twitter.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/06-full-symbol-color/Instagram.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ 3 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'youtube',
+ 'link' => 'http://www.youtube.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/06-full-symbol-color/Youtube.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Youtube',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 5 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'footer',
+ 'text' => 'Unsubscribe | Manage your subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#21759b',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 'globalStyles' =>
+ array (
+ 'text' =>
+ array (
+ 'fontColor' => '#000000',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '15px',
+ ),
+ 'h1' =>
+ array (
+ 'fontColor' => '#111111',
+ 'fontFamily' => 'Georgia',
+ 'fontSize' => '30px',
+ ),
+ 'h2' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Georgia',
+ 'fontSize' => '26px',
+ ),
+ 'h3' =>
+ array (
+ 'fontColor' => '#333333',
+ 'fontFamily' => 'Georgia',
+ 'fontSize' => '24px',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#21759B',
+ 'textDecoration' => 'underline',
+ ),
+ 'wrapper' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ 'body' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blockDefaults' =>
+ array (
+ 'automatedLatestContent' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => false,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'belowTitle',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContent.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContent.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'automatedLatestContentLayout' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'alternate',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContentLayout.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContentLayout.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'button' =>
+ array (
+ 'text' => 'Button',
+ 'url' => '',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'divider' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'footer' =>
+ array (
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#21759b',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ 'type' => 'footer',
+ ),
+ 'posts' =>
+ array (
+ 'amount' => '10',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'postStatus' => 'publish',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'alternate',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'link',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'posts.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'posts.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'social' =>
+ array (
+ 'iconSet' => 'full-symbol-color',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => $this->social_icon_url . '/06-full-symbol-color/Facebook.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => $this->social_icon_url . '/06-full-symbol-color/Twitter.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => $this->social_icon_url . '/06-full-symbol-color/Instagram.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ 3 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'youtube',
+ 'link' => 'http://www.youtube.com',
+ 'image' => $this->social_icon_url . '/06-full-symbol-color/Youtube.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Youtube',
+ ),
+ ),
+ 'type' => 'social',
+ ),
+ 'spacer' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '35px',
+ ),
+ ),
+ 'type' => 'spacer',
+ ),
+ 'header' =>
+ array (
+ 'text' => 'Display problems? Open this email in your web browser.',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ 'type' => 'header',
+ ),
+ ),
+ );
+ }
+
+}
diff --git a/lib/Config/PopulatorData/Templates/FlowersWithCoupon.php b/lib/Config/PopulatorData/Templates/FlowersWithCoupon.php
new file mode 100644
index 0000000000..fbd6ec7871
--- /dev/null
+++ b/lib/Config/PopulatorData/Templates/FlowersWithCoupon.php
@@ -0,0 +1,1515 @@
+template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/flowers-with-coupon';
+ $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
+ }
+
+ function get() {
+ return array(
+ 'name' => __("Flowers (with coupon)", 'mailpoet'),
+ 'categories' => json_encode(array('woocommerce', 'all')),
+ 'readonly' => 1,
+ 'thumbnail' => $this->getThumbnail(),
+ 'body' => json_encode($this->getBody()),
+ );
+ }
+
+ private function getThumbnail() {
+ return $this->template_image_url . '/thumbnail.jpg';
+ }
+
+ private function getBody() {
+ return array (
+ 'content' =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#eae5e5',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'header',
+ 'text' => 'View this email in your browser.
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#e0a9bc',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '40px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Flowers-Logo.png',
+ 'alt' => 'Flowers-Logo',
+ 'fullWidth' => false,
+ 'width' => '110px',
+ 'height' => '180px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '44px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'full-symbol-black',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Facebook.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Twitter.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Instagram.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#e0a9bc',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Flowers-Header.jpg',
+ 'alt' => 'Flowers-Header',
+ 'fullWidth' => true,
+ 'width' => '1280px',
+ 'height' => '850px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Just for you.
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#e0a9bc',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Welcome to our flower store - as a token of our appreciation for you signing up,
+ here\'s a little gift from us for your next order.
',
+ ),
+ 1 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'CoUpOn_Code',
+ 'url' => '',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#292929',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '0px',
+ 'borderStyle' => 'solid',
+ 'width' => '288px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Courier New',
+ 'fontSize' => '26px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'text',
+ 'text' => '10% off your next order with us. Terms and Conditions apply.
',
+ ),
+ 3 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 4 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '45px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 5 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'A little inspiration to get you started...
',
+ ),
+ 1 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 6 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'New flowers delivered
',
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut rutrum et lacus a dignissim. Curabitur id nisi malesuada, pharetra massa ut, bibendum lacus.
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Buy Now',
+ 'url' => '',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#e0a9bc',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '3px',
+ 'borderStyle' => 'solid',
+ 'width' => '85px',
+ 'lineHeight' => '36px',
+ 'fontColor' => '#292929',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '14px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Flower-1.jpg',
+ 'alt' => 'Flower-1',
+ 'fullWidth' => false,
+ 'width' => '730px',
+ 'height' => '604px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 7 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 8 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Flower-2.jpg',
+ 'alt' => 'Flower-2',
+ 'fullWidth' => false,
+ 'width' => '730px',
+ 'height' => '604px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Save with a subscription
',
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut rutrum et lacus a dignissim. Curabitur id nisi malesuada, pharetra massa ut, bibendum lacus.
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Buy Now',
+ 'url' => '',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#e0a9bc',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '3px',
+ 'borderStyle' => 'solid',
+ 'width' => '85px',
+ 'lineHeight' => '36px',
+ 'fontColor' => '#292929',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '14px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 9 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 10 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Collect from our store
',
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut rutrum et lacus a dignissim. Curabitur id nisi malesuada, pharetra massa ut, bibendum lacus.
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Buy Now',
+ 'url' => '',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#e0a9bc',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '3px',
+ 'borderStyle' => 'solid',
+ 'width' => '85px',
+ 'lineHeight' => '36px',
+ 'fontColor' => '#292929',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '14px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Flower-3.jpg',
+ 'alt' => 'Flower-3',
+ 'fullWidth' => false,
+ 'width' => '730px',
+ 'height' => '604px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 11 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '40px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 12 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#eae5e5',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '40px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'grey',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/02-grey/Facebook.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/02-grey/Twitter.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/02-grey/Instagram.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'footer',
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 'globalStyles' =>
+ array (
+ 'text' =>
+ array (
+ 'fontColor' => '#000000',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '14px',
+ ),
+ 'h1' =>
+ array (
+ 'fontColor' => '#111111',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '30px',
+ ),
+ 'h2' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '24px',
+ ),
+ 'h3' =>
+ array (
+ 'fontColor' => '#333333',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '22px',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#e0a9bc',
+ 'textDecoration' => 'underline',
+ ),
+ 'wrapper' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ 'body' =>
+ array (
+ 'backgroundColor' => '#eae5e5',
+ ),
+ ),
+ 'blockDefaults' =>
+ array (
+ 'automatedLatestContent' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => false,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'belowTitle',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContent.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContent.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'automatedLatestContentLayout' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'alternate',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContentLayout.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContentLayout.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'button' =>
+ array (
+ 'text' => 'Buy Now',
+ 'url' => '',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#e0a9bc',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '3px',
+ 'borderStyle' => 'solid',
+ 'width' => '85px',
+ 'lineHeight' => '36px',
+ 'fontColor' => '#292929',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '14px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'left',
+ ),
+ ),
+ 'type' => 'button',
+ ),
+ 'divider' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'footer' =>
+ array (
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ 'type' => 'footer',
+ ),
+ 'posts' =>
+ array (
+ 'amount' => '10',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'postStatus' => 'publish',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'alternate',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'link',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'posts.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'posts.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'social' =>
+ array (
+ 'iconSet' => 'grey',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => $this->social_icon_url . '/02-grey/Facebook.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => $this->social_icon_url . '/02-grey/Twitter.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => $this->social_icon_url . '/02-grey/Instagram.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ ),
+ 'type' => 'social',
+ ),
+ 'spacer' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '392px',
+ ),
+ ),
+ 'type' => 'spacer',
+ ),
+ 'header' =>
+ array (
+ 'text' => 'Display problems? Open this email in your web browser.',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ 'type' => 'header',
+ ),
+ ),
+ );
+ }
+
+}
diff --git a/lib/Config/PopulatorData/Templates/IndustryConference.php b/lib/Config/PopulatorData/Templates/IndustryConference.php
new file mode 100644
index 0000000000..90a121e508
--- /dev/null
+++ b/lib/Config/PopulatorData/Templates/IndustryConference.php
@@ -0,0 +1,1477 @@
+template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/industry-conference';
+ $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
+ }
+
+ function get() {
+ return array(
+ 'name' => __("Industry Conference", 'mailpoet'),
+ 'categories' => json_encode(array('notification', 'all')),
+ 'readonly' => 1,
+ 'thumbnail' => $this->getThumbnail(),
+ 'body' => json_encode($this->getBody()),
+ );
+ }
+
+ private function getThumbnail() {
+ return $this->template_image_url . '/thumbnail.jpg';
+ }
+
+ private function getBody() {
+ return array (
+ 'content' =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#222222',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '50px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Conf-Logo.png',
+ 'alt' => 'Conf-Logo',
+ 'fullWidth' => false,
+ 'width' => '150px',
+ 'height' => '150px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#222222',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Get ready for the biggest email conference of the year
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => '2_1',
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => $this->template_image_url . '/Conf-Header-2.jpg',
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '56px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Conf-Ticket.png',
+ 'alt' => 'Conf-Ticket',
+ 'fullWidth' => false,
+ 'width' => '339px',
+ 'height' => '177px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Email Boston 2018
',
+ ),
+ 3 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '133px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'automatedLatestContentLayout',
+ 'withLayout' => true,
+ 'amount' => '3',
+ 'contentType' => 'post',
+ 'terms' =>
+ array (
+ ),
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h2',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'right',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Read the post',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#b8291e',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '0px',
+ 'borderStyle' => 'solid',
+ 'width' => '147px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Georgia',
+ 'fontSize' => '16px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'left',
+ ),
+ ),
+ 'context' => 'automatedLatestContentLayout.readMoreButton',
+ ),
+ 'sortBy' => 'oldest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'type' => 'divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'dotted',
+ 'borderWidth' => '4px',
+ 'borderColor' => '#dddddd',
+ ),
+ ),
+ 'context' => 'automatedLatestContentLayout.divider',
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 4 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#222222',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Conf-Bottom-2.png',
+ 'alt' => 'Conf-Bottom',
+ 'fullWidth' => true,
+ 'width' => '1280px',
+ 'height' => '50px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 5 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#222222',
+ 'height' => '34px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 6 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => $this->template_image_url . '/Industry-Coupon.png',
+ 'display' => 'fit',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#222222',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '75px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => '---
+ Grab 20% off your tickets right now
+ We\'re offering an exclusive 20% off tickets with this coupon code!
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'CouPon_Code',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#b8291e',
+ 'borderColor' => '#ffffff',
+ 'borderWidth' => '3px',
+ 'borderRadius' => '14px',
+ 'borderStyle' => 'solid',
+ 'width' => '229px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Courier New',
+ 'fontSize' => '26px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '33px',
+ ),
+ ),
+ ),
+ 4 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '45px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 7 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#222222',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 8 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#222222',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Conf-Top.png',
+ 'alt' => 'Conf-Top',
+ 'fullWidth' => true,
+ 'width' => '1280px',
+ 'height' => '12px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'padding' => '14px',
+ 'borderStyle' => 'dotted',
+ 'borderWidth' => '7px',
+ 'borderColor' => '#e1e1e1',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 9 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'height' => '30px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Conf-Holding.jpg',
+ 'alt' => 'Conf-Holding',
+ 'fullWidth' => false,
+ 'width' => '1000px',
+ 'height' => '667px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'height' => '46px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Check out this year\'s event
+ We\'ve ramped up everything this year for our conference, including amazing new speakers and guests, and a few surprises for everyone.
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Buy a ticket here',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#b8291e',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '0px',
+ 'borderStyle' => 'solid',
+ 'width' => '147px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Georgia',
+ 'fontSize' => '16px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 10 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#222222',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ 'padding' => '1.5px',
+ 'borderStyle' => 'dotted',
+ 'borderWidth' => '7px',
+ 'borderColor' => '#e1e1e1',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/Conf-Bottom-2.png',
+ 'alt' => 'Conf-Bottom',
+ 'fullWidth' => true,
+ 'width' => '1280px',
+ 'height' => '50px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 11 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#222222',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#222222',
+ 'height' => '30px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#222222',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'full-symbol-grey',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Facebook.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Twitter.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'email',
+ 'link' => '',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Email.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Email',
+ ),
+ 3 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/08-full-symbol-grey/Instagram.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'header',
+ 'text' => ' Open this email in your web browser.
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#8d8d8d',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#ffffff',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ ),
+ 4 =>
+ array (
+ 'type' => 'footer',
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 'globalStyles' =>
+ array (
+ 'text' =>
+ array (
+ 'fontColor' => '#000000',
+ 'fontFamily' => 'Merriweather Sans',
+ 'fontSize' => '14px',
+ ),
+ 'h1' =>
+ array (
+ 'fontColor' => '#111111',
+ 'fontFamily' => 'Arvo',
+ 'fontSize' => '40px',
+ ),
+ 'h2' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arvo',
+ 'fontSize' => '26px',
+ ),
+ 'h3' =>
+ array (
+ 'fontColor' => '#333333',
+ 'fontFamily' => 'Arvo',
+ 'fontSize' => '18px',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#b8291e',
+ 'textDecoration' => 'underline',
+ ),
+ 'wrapper' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ 'body' =>
+ array (
+ 'backgroundColor' => '#222222',
+ ),
+ ),
+ 'blockDefaults' =>
+ array (
+ 'automatedLatestContent' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => false,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'belowTitle',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContent.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContent.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'automatedLatestContentLayout' =>
+ array (
+ 'amount' => '3',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h2',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'right',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read the post',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContentLayout.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#b8291e',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '0px',
+ 'borderStyle' => 'solid',
+ 'width' => '147px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Georgia',
+ 'fontSize' => '16px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'left',
+ ),
+ ),
+ 'type' => 'button',
+ ),
+ 'sortBy' => 'oldest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContentLayout.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'dotted',
+ 'borderWidth' => '4px',
+ 'borderColor' => '#dddddd',
+ ),
+ ),
+ 'type' => 'divider',
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ 'type' => 'automatedLatestContentLayout',
+ 'terms' =>
+ array (
+ ),
+ ),
+ 'button' =>
+ array (
+ 'text' => 'Read the post',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#b8291e',
+ 'borderColor' => '#ffffff',
+ 'borderWidth' => '3px',
+ 'borderRadius' => '14px',
+ 'borderStyle' => 'solid',
+ 'width' => '229px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Courier New',
+ 'fontSize' => '26px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ 'type' => 'button',
+ ),
+ 'divider' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#222222',
+ 'padding' => '1.5px',
+ 'borderStyle' => 'dotted',
+ 'borderWidth' => '7px',
+ 'borderColor' => '#515151',
+ ),
+ ),
+ 'type' => 'divider',
+ ),
+ 'footer' =>
+ array (
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ 'type' => 'footer',
+ ),
+ 'posts' =>
+ array (
+ 'amount' => '10',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'postStatus' => 'publish',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'alternate',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'link',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'posts.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'posts.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'social' =>
+ array (
+ 'iconSet' => 'full-symbol-grey',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'email',
+ 'link' => '',
+ 'image' => $this->social_icon_url . '/08-full-symbol-grey/Email.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Email',
+ ),
+ 3 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ ),
+ 'type' => 'social',
+ ),
+ 'spacer' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '75px',
+ ),
+ ),
+ 'type' => 'spacer',
+ ),
+ 'header' =>
+ array (
+ 'text' => 'Display problems? Open this email in your web browser.',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#8d8d8d',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#ffffff',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ 'type' => 'header',
+ ),
+ ),
+ );
+ }
+
+}
diff --git a/lib/Config/PopulatorData/Templates/LifestyleBlogA.php b/lib/Config/PopulatorData/Templates/LifestyleBlogA.php
new file mode 100644
index 0000000000..cafbbfa5be
--- /dev/null
+++ b/lib/Config/PopulatorData/Templates/LifestyleBlogA.php
@@ -0,0 +1,1284 @@
+template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/lifestyle-blog-a';
+ $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
+ }
+
+ function get() {
+ return array(
+ 'name' => __("Lifestyle Blog - A", 'mailpoet'),
+ 'categories' => json_encode(array('standard', 'all')),
+ 'readonly' => 1,
+ 'thumbnail' => $this->getThumbnail(),
+ 'body' => json_encode($this->getBody()),
+ );
+ }
+
+ private function getThumbnail() {
+ return $this->template_image_url . '/thumbnail.jpg';
+ }
+
+ private function getBody() {
+ return array (
+ 'content' =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'header',
+ 'text' => 'View online
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#adadad',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '30px',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Logo.png',
+ 'alt' => 'WomensLifestyle-Logo',
+ 'fullWidth' => false,
+ 'width' => '130px',
+ 'height' => '94px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 4 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Fashion Week Special
',
+ ),
+ 5 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 6 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Header-1.jpg',
+ 'alt' => 'WomensLifestyle-Header-1',
+ 'fullWidth' => true,
+ 'width' => '900px',
+ 'height' => '426px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 7 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet scelerisque odio. Pellentesque nisl massa, ullamcorper eu gravida varius, mollis eu orci.
',
+ ),
+ 8 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 9 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Breaker-1-1.jpg',
+ 'alt' => 'WomensLifestyle-Breaker-1-1',
+ 'fullWidth' => true,
+ 'width' => '900px',
+ 'height' => '65px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#c83142',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Image-1.png',
+ 'alt' => 'WomensLifestyle-Image-1',
+ 'fullWidth' => false,
+ 'width' => '400px',
+ 'height' => '400px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Big announcement from top artists
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet scelerisque odio. Pellentesque nisl massa, ullamcorper eu gravida varius, mollis eu orci.
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Breaker-2.jpg',
+ 'alt' => 'WomensLifestyle-Breaker-2',
+ 'fullWidth' => true,
+ 'width' => '900px',
+ 'height' => '65px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#6d3aa7',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => '1_2',
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#6d3aa7',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Image-2.png',
+ 'alt' => 'WomensLifestyle-Image-2',
+ 'fullWidth' => false,
+ 'width' => '400px',
+ 'height' => '400px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '34px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'New Workshops to begin
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet scelerisque odio. Pellentesque nisl massa, ullamcorper eu gravida varius, mollis eu orci.
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 4 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Breaker-3.jpg',
+ 'alt' => 'WomensLifestyle-Breaker-3',
+ 'fullWidth' => true,
+ 'width' => '900px',
+ 'height' => '65px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 5 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#0f2f41',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '30px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 6 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#0f2f41',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Image-3.png',
+ 'alt' => 'WomensLifestyle-Image-3',
+ 'fullWidth' => false,
+ 'width' => '400px',
+ 'height' => '400px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet scelerisque.
',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Image-4.png',
+ 'alt' => 'WomensLifestyle-Image-4',
+ 'fullWidth' => false,
+ 'width' => '400px',
+ 'height' => '400px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet scelerisque.
',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Image-5.png',
+ 'alt' => 'WomensLifestyle-Image-5',
+ 'fullWidth' => false,
+ 'width' => '400px',
+ 'height' => '400px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet scelerisque.
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 7 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#0f2f41',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Breaker-4.jpg',
+ 'alt' => 'WomensLifestyle-Breaker-4',
+ 'fullWidth' => true,
+ 'width' => '900px',
+ 'height' => '65px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 8 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '40px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Logo.png',
+ 'alt' => 'WomensLifestyle-Logo',
+ 'fullWidth' => false,
+ 'width' => '170px',
+ 'height' => '40px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'full-symbol-black',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Facebook.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Twitter.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Instagram.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'footer',
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 'globalStyles' =>
+ array (
+ 'text' =>
+ array (
+ 'fontColor' => '#000000',
+ 'fontFamily' => 'Trebuchet MS',
+ 'fontSize' => '14px',
+ ),
+ 'h1' =>
+ array (
+ 'fontColor' => '#111111',
+ 'fontFamily' => 'Courier New',
+ 'fontSize' => '30px',
+ ),
+ 'h2' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Courier New',
+ 'fontSize' => '24px',
+ ),
+ 'h3' =>
+ array (
+ 'fontColor' => '#333333',
+ 'fontFamily' => 'Courier New',
+ 'fontSize' => '20px',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#21759B',
+ 'textDecoration' => 'underline',
+ ),
+ 'wrapper' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ 'body' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blockDefaults' =>
+ array (
+ 'automatedLatestContent' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => false,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'belowTitle',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContent.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContent.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'automatedLatestContentLayout' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'alternate',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContentLayout.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContentLayout.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'button' =>
+ array (
+ 'text' => 'Button',
+ 'url' => '',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'divider' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'footer' =>
+ array (
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ 'type' => 'footer',
+ ),
+ 'posts' =>
+ array (
+ 'amount' => '10',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'postStatus' => 'publish',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'alternate',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'link',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'posts.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'posts.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'social' =>
+ array (
+ 'iconSet' => 'full-symbol-black',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => $this->social_icon_url . '/07-full-symbol-black/Facebook.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => $this->social_icon_url . '/07-full-symbol-black/Twitter.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => $this->social_icon_url . '/07-full-symbol-black/Instagram.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ ),
+ 'type' => 'social',
+ ),
+ 'spacer' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '40px',
+ ),
+ ),
+ 'type' => 'spacer',
+ ),
+ 'header' =>
+ array (
+ 'text' => 'Display problems? Open this email in your web browser.',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#adadad',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ 'type' => 'header',
+ ),
+ ),
+ );
+ }
+
+}
diff --git a/lib/Config/PopulatorData/Templates/LifestyleBlogB.php b/lib/Config/PopulatorData/Templates/LifestyleBlogB.php
new file mode 100644
index 0000000000..b8a5ff1c73
--- /dev/null
+++ b/lib/Config/PopulatorData/Templates/LifestyleBlogB.php
@@ -0,0 +1,1514 @@
+template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/lifestyle-blog-b';
+ $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
+ }
+
+ function get() {
+ return array(
+ 'name' => __("Lifestyle Blog - B", 'mailpoet'),
+ 'categories' => json_encode(array('standard', 'all')),
+ 'readonly' => 1,
+ 'thumbnail' => $this->getThumbnail(),
+ 'body' => json_encode($this->getBody()),
+ );
+ }
+
+ private function getThumbnail() {
+ return $this->template_image_url . '/thumbnail.jpg';
+ }
+
+ private function getBody() {
+ return array (
+ 'content' =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '30px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Logo-1.png',
+ 'alt' => 'WomensLifestyle-Logo',
+ 'fullWidth' => true,
+ 'width' => '160px',
+ 'height' => '57px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'header',
+ 'text' => 'View online >
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'right',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '30px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => $this->template_image_url . '/WomensLifestyle-Header.jpg',
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#b25187',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '440px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-HeaderDrop.jpg',
+ 'alt' => 'WomensLifestyle-HeaderDrop',
+ 'fullWidth' => true,
+ 'width' => '900px',
+ 'height' => '61px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'FEATURED ARTICLE THIS MONTH
+ Business tips from top female executives
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 4 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => '1
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non est sed tellus pharetra facilisis quis vel lacus.
',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => '2
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non est sed tellus pharetra facilisis quis vel lacus.
',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'text',
+ 'text' => '3
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non est sed tellus pharetra facilisis quis vel lacus.
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 5 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '23px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Read the article',
+ 'url' => '',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#b25088',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '0px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '16px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '21px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 6 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Image-1.jpg',
+ 'alt' => 'WomensLifestyle-Image-1',
+ 'fullWidth' => true,
+ 'width' => '400px',
+ 'height' => '400px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '71px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'PODCASTS
+ Does hard work really pay off?
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non est sed tellus pharetra facilisis quis vel lacus.
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 7 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '30px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 8 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '71px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'PSYCHOLOGY
+ Closing deals can be easier than you think
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non est sed tellus pharetra facilisis quis vel lacus.
',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Image-2.jpg',
+ 'alt' => 'WomensLifestyle-Image-2',
+ 'fullWidth' => true,
+ 'width' => '400px',
+ 'height' => '400px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 9 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '30px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 10 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Image-3.jpg',
+ 'alt' => 'WomensLifestyle-Image-3',
+ 'fullWidth' => true,
+ 'width' => '400px',
+ 'height' => '400px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '71px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'TECHNOLOGY
+ What email software is right for you?
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam non est sed tellus pharetra facilisis quis vel lacus.
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 11 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '50px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 12 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/WomensLifestyle-Logo-1.png',
+ 'alt' => 'WomensLifestyle-Logo',
+ 'fullWidth' => false,
+ 'width' => '112px',
+ 'height' => '57px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'circles',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/03-circles/Facebook.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/03-circles/Twitter.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'website',
+ 'link' => '',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/03-circles/Website.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Website',
+ ),
+ 3 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'pinterest',
+ 'link' => 'http://www.pinterest.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/03-circles/Pinterest.png?mailpoet_version=3.16.3',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Pinterest',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'footer',
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 'globalStyles' =>
+ array (
+ 'text' =>
+ array (
+ 'fontColor' => '#000000',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '15px',
+ ),
+ 'h1' =>
+ array (
+ 'fontColor' => '#111111',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '30px',
+ ),
+ 'h2' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '24px',
+ ),
+ 'h3' =>
+ array (
+ 'fontColor' => '#333333',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '22px',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#21759B',
+ 'textDecoration' => 'underline',
+ ),
+ 'wrapper' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ 'body' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blockDefaults' =>
+ array (
+ 'automatedLatestContent' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => false,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'belowTitle',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContent.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContent.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'automatedLatestContentLayout' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'alternate',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContentLayout.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContentLayout.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'button' =>
+ array (
+ 'text' => 'Read the article',
+ 'url' => '',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#b25088',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '0px',
+ 'borderRadius' => '0px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '50px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '16px',
+ 'fontWeight' => 'bold',
+ 'textAlign' => 'center',
+ ),
+ ),
+ 'type' => 'button',
+ ),
+ 'divider' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'footer' =>
+ array (
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ 'type' => 'footer',
+ ),
+ 'posts' =>
+ array (
+ 'amount' => '10',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'postStatus' => 'publish',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'alternate',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'link',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'posts.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'posts.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'social' =>
+ array (
+ 'iconSet' => 'circles',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => $this->social_icon_url . '/03-circles/Facebook.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => $this->social_icon_url . '/03-circles/Twitter.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'website',
+ 'link' => '',
+ 'image' => $this->social_icon_url . '/03-circles/Website.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Website',
+ ),
+ 3 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'pinterest',
+ 'link' => 'http://www.pinterest.com',
+ 'image' => $this->social_icon_url . '/03-circles/Pinterest.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Pinterest',
+ ),
+ ),
+ 'type' => 'social',
+ ),
+ 'spacer' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '30px',
+ ),
+ ),
+ 'type' => 'spacer',
+ ),
+ 'header' =>
+ array (
+ 'text' => 'Display problems? Open this email in your web browser.',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'right',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ 'type' => 'header',
+ ),
+ ),
+ );
+ }
+
+}
diff --git a/lib/Config/PopulatorData/Templates/NewspaperTraditional.php b/lib/Config/PopulatorData/Templates/NewspaperTraditional.php
new file mode 100644
index 0000000000..4cc2f9fbc4
--- /dev/null
+++ b/lib/Config/PopulatorData/Templates/NewspaperTraditional.php
@@ -0,0 +1,1235 @@
+template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/newspaper-traditional';
+ $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
+ }
+
+ function get() {
+ return array(
+ 'name' => __("Newspaper Traditional", 'mailpoet'),
+ 'categories' => json_encode(array('notification', 'all')),
+ 'readonly' => 1,
+ 'thumbnail' => $this->getThumbnail(),
+ 'body' => json_encode($this->getBody()),
+ );
+ }
+
+ private function getThumbnail() {
+ return $this->template_image_url . '/thumbnail.jpg';
+ }
+
+ private function getBody() {
+ return array (
+ 'content' =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#f2f9f8',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '28px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => '[date:mtext][date:dordinal],[date:y]
',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'header',
+ 'text' => 'Open this email in your web browser.
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'right',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => '2_1',
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#f2f9f8',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/News-Logo.png',
+ 'alt' => 'News-Logo',
+ 'fullWidth' => false,
+ 'width' => '200px',
+ 'height' => '100px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'left',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'full-symbol-black',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Facebook.png?mailpoet_version=3.12.1',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Twitter.png?mailpoet_version=3.12.1',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'website',
+ 'link' => '',
+ 'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Website.png?mailpoet_version=3.12.1',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Website',
+ ),
+ 3 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => 'http://mailpoet.info/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Instagram.png?mailpoet_version=3.12.1',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#c6dbd8',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Local News
',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Sports Updates & Scores
',
+ ),
+ ),
+ ),
+ 2 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Business News
',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 3 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '30px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'text',
+ 'text' => 'Check Out Our New Blog Posts!
+
+ MailPoet can automatically send your new blog posts to your subscribers.
+
+ Below, you\'ll find three recent posts, which are displayed automatically, thanks to the Automatic Latest Content widget, which can be found in the right sidebar, under Content.
+
+ To edit the settings and styles of your post, simply click on a post below.
',
+ ),
+ 2 =>
+ array (
+ 'type' => 'divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'double',
+ 'borderWidth' => '7px',
+ 'borderColor' => '#c6dbd8',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 4 =>
+ array (
+ 'type' => 'automatedLatestContentLayout',
+ 'withLayout' => true,
+ 'amount' => '3',
+ 'contentType' => 'post',
+ 'terms' =>
+ array (
+ ),
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h3',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => true,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'left',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'link',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'type' => 'button',
+ 'text' => 'Read the post',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '160px',
+ 'lineHeight' => '30px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '16px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'type' => 'divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'double',
+ 'borderWidth' => '7px',
+ 'borderColor' => '#c6dbd8',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 5 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#c6dbd8',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#c6dbd8',
+ 'height' => '30px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 6 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#c6dbd8',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#c6dbd8',
+ 'height' => '28px',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'image',
+ 'link' => '',
+ 'src' => $this->template_image_url . '/News-Logo.png',
+ 'alt' => 'News-Logo',
+ 'fullWidth' => false,
+ 'width' => '200px',
+ 'height' => '100px',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'footer',
+ 'text' => 'Unsubscribe | Manage your subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ ),
+ 1 =>
+ array (
+ 'type' => 'social',
+ 'iconSet' => 'full-symbol-black',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Facebook.png?mailpoet_version=3.15.0',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Twitter.png?mailpoet_version=3.15.0',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Instagram.png?mailpoet_version=3.15.0',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ 3 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'email',
+ 'link' => '',
+ 'image' => 'http://1and101.apps-1and1.net/wp-content/plugins/mailpoet/assets/img/newsletter_editor/social-icons/07-full-symbol-black/Email.png?mailpoet_version=3.15.0',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Email',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 7 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'horizontal',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#c6dbd8',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'container',
+ 'columnLayout' => false,
+ 'orientation' => 'vertical',
+ 'image' =>
+ array (
+ 'src' => NULL,
+ 'display' => 'scale',
+ ),
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ ),
+ 'blocks' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'spacer',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#c6dbd8',
+ 'height' => '21px',
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ ),
+ 'globalStyles' =>
+ array (
+ 'text' =>
+ array (
+ 'fontColor' => '#000000',
+ 'fontFamily' => 'Playfair Display',
+ 'fontSize' => '14px',
+ ),
+ 'h1' =>
+ array (
+ 'fontColor' => '#111111',
+ 'fontFamily' => 'Merriweather',
+ 'fontSize' => '26px',
+ ),
+ 'h2' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Merriweather',
+ 'fontSize' => '22px',
+ ),
+ 'h3' =>
+ array (
+ 'fontColor' => '#333333',
+ 'fontFamily' => 'Merriweather',
+ 'fontSize' => '18px',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#3d8076',
+ 'textDecoration' => 'underline',
+ ),
+ 'wrapper' =>
+ array (
+ 'backgroundColor' => '#ffffff',
+ ),
+ 'body' =>
+ array (
+ 'backgroundColor' => '#f2f9f8',
+ ),
+ ),
+ 'blockDefaults' =>
+ array (
+ 'automatedLatestContent' =>
+ array (
+ 'amount' => '5',
+ 'withLayout' => false,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'belowTitle',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'button',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContent.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContent.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'automatedLatestContentLayout' =>
+ array (
+ 'amount' => '3',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h3',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => true,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'left',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'link',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read the post',
+ 'url' => '[postLink]',
+ 'context' => 'automatedLatestContentLayout.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '160px',
+ 'lineHeight' => '30px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '16px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ 'type' => 'button',
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'automatedLatestContentLayout.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'double',
+ 'borderWidth' => '7px',
+ 'borderColor' => '#c6dbd8',
+ ),
+ ),
+ 'type' => 'divider',
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ 'type' => 'automatedLatestContentLayout',
+ 'terms' =>
+ array (
+ ),
+ ),
+ 'button' =>
+ array (
+ 'text' => 'Read the post',
+ 'url' => '[postLink]',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ 'type' => 'button',
+ ),
+ 'divider' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'double',
+ 'borderWidth' => '7px',
+ 'borderColor' => '#c6dbd8',
+ ),
+ ),
+ 'type' => 'divider',
+ ),
+ 'footer' =>
+ array (
+ 'text' => 'Unsubscribe | Manage subscription
Add your postal address here!
',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'center',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'none',
+ ),
+ ),
+ 'type' => 'footer',
+ ),
+ 'posts' =>
+ array (
+ 'amount' => '10',
+ 'withLayout' => true,
+ 'contentType' => 'post',
+ 'postStatus' => 'publish',
+ 'inclusionType' => 'include',
+ 'displayType' => 'excerpt',
+ 'titleFormat' => 'h1',
+ 'titleAlignment' => 'left',
+ 'titleIsLink' => false,
+ 'imageFullWidth' => false,
+ 'featuredImagePosition' => 'alternate',
+ 'showAuthor' => 'no',
+ 'authorPrecededBy' => 'Author:',
+ 'showCategories' => 'no',
+ 'categoriesPrecededBy' => 'Categories:',
+ 'readMoreType' => 'link',
+ 'readMoreText' => 'Read more',
+ 'readMoreButton' =>
+ array (
+ 'text' => 'Read more',
+ 'url' => '[postLink]',
+ 'context' => 'posts.readMoreButton',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => '#2ea1cd',
+ 'borderColor' => '#0074a2',
+ 'borderWidth' => '1px',
+ 'borderRadius' => '5px',
+ 'borderStyle' => 'solid',
+ 'width' => '180px',
+ 'lineHeight' => '40px',
+ 'fontColor' => '#ffffff',
+ 'fontFamily' => 'Verdana',
+ 'fontSize' => '18px',
+ 'fontWeight' => 'normal',
+ 'textAlign' => 'center',
+ ),
+ ),
+ ),
+ 'sortBy' => 'newest',
+ 'showDivider' => true,
+ 'divider' =>
+ array (
+ 'context' => 'posts.divider',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'padding' => '13px',
+ 'borderStyle' => 'solid',
+ 'borderWidth' => '3px',
+ 'borderColor' => '#aaaaaa',
+ ),
+ ),
+ ),
+ 'backgroundColor' => '#ffffff',
+ 'backgroundColorAlternate' => '#eeeeee',
+ ),
+ 'social' =>
+ array (
+ 'iconSet' => 'full-symbol-black',
+ 'icons' =>
+ array (
+ 0 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'facebook',
+ 'link' => 'http://www.facebook.com',
+ 'image' => $this->social_icon_url . '/07-full-symbol-black/Facebook.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Facebook',
+ ),
+ 1 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'twitter',
+ 'link' => 'http://www.twitter.com',
+ 'image' => $this->social_icon_url . '/07-full-symbol-black/Twitter.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Twitter',
+ ),
+ 2 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'instagram',
+ 'link' => 'http://instagram.com',
+ 'image' => $this->social_icon_url . '/07-full-symbol-black/Instagram.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Instagram',
+ ),
+ 3 =>
+ array (
+ 'type' => 'socialIcon',
+ 'iconType' => 'email',
+ 'link' => '',
+ 'image' => $this->social_icon_url . '/07-full-symbol-black/Email.png',
+ 'height' => '32px',
+ 'width' => '32px',
+ 'text' => 'Email',
+ ),
+ ),
+ 'type' => 'social',
+ ),
+ 'spacer' =>
+ array (
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ 'height' => '20px',
+ ),
+ ),
+ 'type' => 'spacer',
+ ),
+ 'header' =>
+ array (
+ 'text' => 'Display problems? Open this email in your web browser.',
+ 'styles' =>
+ array (
+ 'block' =>
+ array (
+ 'backgroundColor' => 'transparent',
+ ),
+ 'text' =>
+ array (
+ 'fontColor' => '#222222',
+ 'fontFamily' => 'Arial',
+ 'fontSize' => '12px',
+ 'textAlign' => 'right',
+ ),
+ 'link' =>
+ array (
+ 'fontColor' => '#6cb7d4',
+ 'textDecoration' => 'underline',
+ ),
+ ),
+ 'type' => 'header',
+ ),
+ ),
+ );
+ }
+
+}
diff --git a/package-lock.json b/package-lock.json
index a6e5f9cb04..380293c5df 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -11,6 +11,131 @@
"@babel/highlight": "^7.0.0"
}
},
+ "@babel/core": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.2.0.tgz",
+ "integrity": "sha512-7pvAdC4B+iKjFFp9Ztj0QgBndJ++qaMeonT185wAqUnhipw8idm9Rv1UMyBuKtYjfl6ORNkgEgcsYLfHX/GpLw==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.0.0",
+ "@babel/generator": "^7.2.0",
+ "@babel/helpers": "^7.2.0",
+ "@babel/parser": "^7.2.0",
+ "@babel/template": "^7.1.2",
+ "@babel/traverse": "^7.1.6",
+ "@babel/types": "^7.2.0",
+ "convert-source-map": "^1.1.0",
+ "debug": "^4.1.0",
+ "json5": "^2.1.0",
+ "lodash": "^4.17.10",
+ "resolve": "^1.3.2",
+ "semver": "^5.4.1",
+ "source-map": "^0.5.0"
+ },
+ "dependencies": {
+ "@babel/generator": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.2.0.tgz",
+ "integrity": "sha512-BA75MVfRlFQG2EZgFYIwyT1r6xSkwfP2bdkY/kLZusEYWiJs4xCowab/alaEaT0wSvmVuXGqiefeBlP+7V1yKg==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.2.0",
+ "jsesc": "^2.5.1",
+ "lodash": "^4.17.10",
+ "source-map": "^0.5.0",
+ "trim-right": "^1.0.1"
+ }
+ },
+ "@babel/parser": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.2.0.tgz",
+ "integrity": "sha512-M74+GvK4hn1eejD9lZ7967qAwvqTZayQa3g10ag4s9uewgR7TKjeaT0YMyoq+gVfKYABiWZ4MQD701/t5e1Jhg==",
+ "dev": true
+ },
+ "@babel/traverse": {
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.1.6.tgz",
+ "integrity": "sha512-CXedit6GpISz3sC2k2FsGCUpOhUqKdyL0lqNrImQojagnUMXf8hex4AxYFRuMkNGcvJX5QAFGzB5WJQmSv8SiQ==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.0.0",
+ "@babel/generator": "^7.1.6",
+ "@babel/helper-function-name": "^7.1.0",
+ "@babel/helper-split-export-declaration": "^7.0.0",
+ "@babel/parser": "^7.1.6",
+ "@babel/types": "^7.1.6",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0",
+ "lodash": "^4.17.10"
+ }
+ },
+ "@babel/types": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.2.0.tgz",
+ "integrity": "sha512-b4v7dyfApuKDvmPb+O488UlGuR1WbwMXFsO/cyqMrnfvRAChZKJAYeeglWTjUO1b9UghKKgepAQM5tsvBJca6A==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.10",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "debug": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.0.tgz",
+ "integrity": "sha512-heNPJUJIqC+xB6ayLAMHaIrmN9HKa7aQO8MGqKpvCA+uJYVcvR6l5kgdrhRuwPFHU7P5/A1w0BjByPHwpfTDKg==",
+ "dev": true,
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
+ "globals": {
+ "version": "11.9.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.9.0.tgz",
+ "integrity": "sha512-5cJVtyXWH8PiJPVLZzzoIizXx944O4OmRro5MWKx5fT4MgcN7OfaMutPeaTdJCCURwbWdhhcCWcKIffPnmTzBg==",
+ "dev": true
+ },
+ "jsesc": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
+ "dev": true
+ },
+ "json5": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.0.tgz",
+ "integrity": "sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==",
+ "dev": true,
+ "requires": {
+ "minimist": "^1.2.0"
+ }
+ },
+ "minimist": {
+ "version": "1.2.0",
+ "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
+ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
+ "dev": true
+ },
+ "ms": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
+ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
+ "dev": true
+ }
+ }
+ },
"@babel/generator": {
"version": "7.1.3",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.1.3.tgz",
@@ -38,6 +163,80 @@
}
}
},
+ "@babel/helper-annotate-as-pure": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0.tgz",
+ "integrity": "sha512-3UYcJUj9kvSLbLbUIfQTqzcy5VX7GRZ/CCDrnOaZorFFM01aXp1+GJwuFGV4NDDoAS+mOUyHcO6UD/RfqOks3Q==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "@babel/helper-builder-binary-assignment-operator-visitor": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.1.0.tgz",
+ "integrity": "sha512-qNSR4jrmJ8M1VMM9tibvyRAHXQs2PmaksQF7c1CGJNipfe3D8p+wgNwgso/P2A2r2mdgBWAXljNWR0QRZAMW8w==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-explode-assignable-expression": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "@babel/helper-builder-react-jsx": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.0.0.tgz",
+ "integrity": "sha512-ebJ2JM6NAKW0fQEqN8hOLxK84RbRz9OkUhGS/Xd5u56ejMfVbayJ4+LykERZCOUM6faa6Fp3SZNX3fcT16MKHw==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.0.0",
+ "esutils": "^2.0.0"
+ }
+ },
+ "@babel/helper-call-delegate": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.1.0.tgz",
+ "integrity": "sha512-YEtYZrw3GUK6emQHKthltKNZwszBcHK58Ygcis+gVUrF4/FmTVr5CCqQNSfmvg2y+YDEANyYoaLz/SHsnusCwQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-hoist-variables": "^7.0.0",
+ "@babel/traverse": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "@babel/helper-create-class-features-plugin": {
+ "version": "7.2.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.2.1.tgz",
+ "integrity": "sha512-EsEP7XLFmcJHjcuFYBxYD1FkP0irC8C9fsrt2tX/jrAi/eTnFI6DOPgVFb+WREeg1GboF+Ib+nCHbGBodyAXSg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-function-name": "^7.1.0",
+ "@babel/helper-member-expression-to-functions": "^7.0.0",
+ "@babel/helper-optimise-call-expression": "^7.0.0",
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-replace-supers": "^7.1.0"
+ }
+ },
+ "@babel/helper-define-map": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.1.0.tgz",
+ "integrity": "sha512-yPPcW8dc3gZLN+U1mhYV91QU3n5uTbx7DUdf8NnPbjS0RMwBuHi9Xt2MUgppmNz7CJxTBWsGczTiEp1CSOTPRg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-function-name": "^7.1.0",
+ "@babel/types": "^7.0.0",
+ "lodash": "^4.17.10"
+ }
+ },
+ "@babel/helper-explode-assignable-expression": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.1.0.tgz",
+ "integrity": "sha512-NRQpfHrJ1msCHtKjbzs9YcMmJZOg6mQMmGRB+hbamEdG5PNpaSm95275VD92DvJKuyl0s2sFiDmMZ+EnnvufqA==",
+ "dev": true,
+ "requires": {
+ "@babel/traverse": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
"@babel/helper-function-name": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz",
@@ -58,6 +257,106 @@
"@babel/types": "^7.0.0"
}
},
+ "@babel/helper-hoist-variables": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0.tgz",
+ "integrity": "sha512-Ggv5sldXUeSKsuzLkddtyhyHe2YantsxWKNi7A+7LeD12ExRDWTRk29JCXpaHPAbMaIPZSil7n+lq78WY2VY7w==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "@babel/helper-member-expression-to-functions": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.0.0.tgz",
+ "integrity": "sha512-avo+lm/QmZlv27Zsi0xEor2fKcqWG56D5ae9dzklpIaY7cQMK5N8VSpaNVPPagiqmy7LrEjK1IWdGMOqPu5csg==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "@babel/helper-module-imports": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0.tgz",
+ "integrity": "sha512-aP/hlLq01DWNEiDg4Jn23i+CXxW/owM4WpDLFUbpjxe4NS3BhLVZQ5i7E0ZrxuQ/vwekIeciyamgB1UIYxxM6A==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "@babel/helper-module-transforms": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.1.0.tgz",
+ "integrity": "sha512-0JZRd2yhawo79Rcm4w0LwSMILFmFXjugG3yqf+P/UsKsRS1mJCmMwwlHDlMg7Avr9LrvSpp4ZSULO9r8jpCzcw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-imports": "^7.0.0",
+ "@babel/helper-simple-access": "^7.1.0",
+ "@babel/helper-split-export-declaration": "^7.0.0",
+ "@babel/template": "^7.1.0",
+ "@babel/types": "^7.0.0",
+ "lodash": "^4.17.10"
+ }
+ },
+ "@babel/helper-optimise-call-expression": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0.tgz",
+ "integrity": "sha512-u8nd9NQePYNQV8iPWu/pLLYBqZBa4ZaY1YWRFMuxrid94wKI1QNt67NEZ7GAe5Kc/0LLScbim05xZFWkAdrj9g==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "@babel/helper-plugin-utils": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz",
+ "integrity": "sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==",
+ "dev": true
+ },
+ "@babel/helper-regex": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.0.0.tgz",
+ "integrity": "sha512-TR0/N0NDCcUIUEbqV6dCO+LptmmSQFQ7q70lfcEB4URsjD0E1HzicrwUH+ap6BAQ2jhCX9Q4UqZy4wilujWlkg==",
+ "dev": true,
+ "requires": {
+ "lodash": "^4.17.10"
+ }
+ },
+ "@babel/helper-remap-async-to-generator": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.1.0.tgz",
+ "integrity": "sha512-3fOK0L+Fdlg8S5al8u/hWE6vhufGSn0bN09xm2LXMy//REAF8kDCrYoOBKYmA8m5Nom+sV9LyLCwrFynA8/slg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.0.0",
+ "@babel/helper-wrap-function": "^7.1.0",
+ "@babel/template": "^7.1.0",
+ "@babel/traverse": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "@babel/helper-replace-supers": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.1.0.tgz",
+ "integrity": "sha512-BvcDWYZRWVuDeXTYZWxekQNO5D4kO55aArwZOTFXw6rlLQA8ZaDicJR1sO47h+HrnCiDFiww0fSPV0d713KBGQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-member-expression-to-functions": "^7.0.0",
+ "@babel/helper-optimise-call-expression": "^7.0.0",
+ "@babel/traverse": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "@babel/helper-simple-access": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.1.0.tgz",
+ "integrity": "sha512-Vk+78hNjRbsiu49zAPALxTb+JUQCz1aolpd8osOF16BGnLtseD21nbHgLPGUwrXEurZgiCOUmvs3ExTu4F5x6w==",
+ "dev": true,
+ "requires": {
+ "@babel/template": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
"@babel/helper-split-export-declaration": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0.tgz",
@@ -67,6 +366,136 @@
"@babel/types": "^7.0.0"
}
},
+ "@babel/helper-wrap-function": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.2.0.tgz",
+ "integrity": "sha512-o9fP1BZLLSrYlxYEYyl2aS+Flun5gtjTIG8iln+XuEzQTs0PLagAGSXUcqruJwD5fM48jzIEggCKpIfWTcR7pQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-function-name": "^7.1.0",
+ "@babel/template": "^7.1.0",
+ "@babel/traverse": "^7.1.0",
+ "@babel/types": "^7.2.0"
+ },
+ "dependencies": {
+ "@babel/types": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.2.0.tgz",
+ "integrity": "sha512-b4v7dyfApuKDvmPb+O488UlGuR1WbwMXFsO/cyqMrnfvRAChZKJAYeeglWTjUO1b9UghKKgepAQM5tsvBJca6A==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.10",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
+ "dev": true
+ }
+ }
+ },
+ "@babel/helpers": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.2.0.tgz",
+ "integrity": "sha512-Fr07N+ea0dMcMN8nFpuK6dUIT7/ivt9yKQdEEnjVS83tG2pHwPi03gYmk/tyuwONnZ+sY+GFFPlWGgCtW1hF9A==",
+ "dev": true,
+ "requires": {
+ "@babel/template": "^7.1.2",
+ "@babel/traverse": "^7.1.5",
+ "@babel/types": "^7.2.0"
+ },
+ "dependencies": {
+ "@babel/generator": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.2.0.tgz",
+ "integrity": "sha512-BA75MVfRlFQG2EZgFYIwyT1r6xSkwfP2bdkY/kLZusEYWiJs4xCowab/alaEaT0wSvmVuXGqiefeBlP+7V1yKg==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.2.0",
+ "jsesc": "^2.5.1",
+ "lodash": "^4.17.10",
+ "source-map": "^0.5.0",
+ "trim-right": "^1.0.1"
+ }
+ },
+ "@babel/parser": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.2.0.tgz",
+ "integrity": "sha512-M74+GvK4hn1eejD9lZ7967qAwvqTZayQa3g10ag4s9uewgR7TKjeaT0YMyoq+gVfKYABiWZ4MQD701/t5e1Jhg==",
+ "dev": true
+ },
+ "@babel/traverse": {
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.1.6.tgz",
+ "integrity": "sha512-CXedit6GpISz3sC2k2FsGCUpOhUqKdyL0lqNrImQojagnUMXf8hex4AxYFRuMkNGcvJX5QAFGzB5WJQmSv8SiQ==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.0.0",
+ "@babel/generator": "^7.1.6",
+ "@babel/helper-function-name": "^7.1.0",
+ "@babel/helper-split-export-declaration": "^7.0.0",
+ "@babel/parser": "^7.1.6",
+ "@babel/types": "^7.1.6",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0",
+ "lodash": "^4.17.10"
+ }
+ },
+ "@babel/types": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.2.0.tgz",
+ "integrity": "sha512-b4v7dyfApuKDvmPb+O488UlGuR1WbwMXFsO/cyqMrnfvRAChZKJAYeeglWTjUO1b9UghKKgepAQM5tsvBJca6A==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.10",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "debug": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.0.tgz",
+ "integrity": "sha512-heNPJUJIqC+xB6ayLAMHaIrmN9HKa7aQO8MGqKpvCA+uJYVcvR6l5kgdrhRuwPFHU7P5/A1w0BjByPHwpfTDKg==",
+ "dev": true,
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
+ "globals": {
+ "version": "11.9.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.9.0.tgz",
+ "integrity": "sha512-5cJVtyXWH8PiJPVLZzzoIizXx944O4OmRro5MWKx5fT4MgcN7OfaMutPeaTdJCCURwbWdhhcCWcKIffPnmTzBg==",
+ "dev": true
+ },
+ "jsesc": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
+ "dev": true
+ },
+ "ms": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
+ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
+ "dev": true
+ }
+ }
+ },
"@babel/highlight": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0.tgz",
@@ -127,6 +556,765 @@
"integrity": "sha512-gqmspPZOMW3MIRb9HlrnbZHXI1/KHTOroBwN1NcLL6pWxzqzEKGvRTq0W/PxS45OtQGbaFikSQpkS5zbnsQm2w==",
"dev": true
},
+ "@babel/plugin-proposal-async-generator-functions": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.2.0.tgz",
+ "integrity": "sha512-+Dfo/SCQqrwx48ptLVGLdE39YtWRuKc/Y9I5Fy0P1DDBB9lsAHpjcEJQt+4IifuSOSTLBKJObJqMvaO1pIE8LQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-remap-async-to-generator": "^7.1.0",
+ "@babel/plugin-syntax-async-generators": "^7.2.0"
+ }
+ },
+ "@babel/plugin-proposal-class-properties": {
+ "version": "7.2.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.2.1.tgz",
+ "integrity": "sha512-/4FKFChkQ2Jgb8lBDsvFX496YTi7UWTetVgS8oJUpX1e/DlaoeEK57At27ug8Hu2zI2g8bzkJ+8k9qrHZRPGPA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-create-class-features-plugin": "^7.2.1",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-proposal-decorators": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.2.0.tgz",
+ "integrity": "sha512-yrDmvCsOMvNPpjCC6HMseiac2rUuQdeNqUyPU+3QbW7gLg/APX0c/7l9i/aulSICJQOkP6/4EHxkcB4d4DqZhg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-replace-supers": "^7.1.0",
+ "@babel/helper-split-export-declaration": "^7.0.0",
+ "@babel/plugin-syntax-decorators": "^7.2.0"
+ }
+ },
+ "@babel/plugin-proposal-export-namespace-from": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.2.0.tgz",
+ "integrity": "sha512-DZUxbHYxQ5fUFIkMEnh75ogEdBLPfL+mQUqrO2hNY2LGm+tqFnxE924+mhAcCOh/8za8AaZsWHbq6bBoS3TAzA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-export-namespace-from": "^7.2.0"
+ }
+ },
+ "@babel/plugin-proposal-function-sent": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-function-sent/-/plugin-proposal-function-sent-7.2.0.tgz",
+ "integrity": "sha512-qQBDKRSCu1wGJi3jbngs18vrujVQA4F+OkSuIQYRhE6y19jcPzeEIGOc683mCQXDUR3BQCz8JyCupIwv+IRFmA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-wrap-function": "^7.2.0",
+ "@babel/plugin-syntax-function-sent": "^7.2.0"
+ }
+ },
+ "@babel/plugin-proposal-json-strings": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.2.0.tgz",
+ "integrity": "sha512-MAFV1CA/YVmYwZG0fBQyXhmj0BHCB5egZHCKWIFVv/XCxAeVGIHfos3SwDck4LvCllENIAg7xMKOG5kH0dzyUg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-json-strings": "^7.2.0"
+ }
+ },
+ "@babel/plugin-proposal-numeric-separator": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.2.0.tgz",
+ "integrity": "sha512-DohMOGDrZiMKS7LthjUZNNcWl8TAf5BZDwZAH4wpm55FuJTHgfqPGdibg7rZDmont/8Yg0zA03IgT6XLeP+4sg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-numeric-separator": "^7.2.0"
+ }
+ },
+ "@babel/plugin-proposal-object-rest-spread": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.2.0.tgz",
+ "integrity": "sha512-1L5mWLSvR76XYUQJXkd/EEQgjq8HHRP6lQuZTTg0VA4tTGPpGemmCdAfQIz1rzEuWAm+ecP8PyyEm30jC1eQCg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-object-rest-spread": "^7.2.0"
+ }
+ },
+ "@babel/plugin-proposal-optional-catch-binding": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.2.0.tgz",
+ "integrity": "sha512-mgYj3jCcxug6KUcX4OBoOJz3CMrwRfQELPQ5560F70YQUBZB7uac9fqaWamKR1iWUzGiK2t0ygzjTScZnVz75g==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-optional-catch-binding": "^7.2.0"
+ }
+ },
+ "@babel/plugin-proposal-throw-expressions": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-throw-expressions/-/plugin-proposal-throw-expressions-7.2.0.tgz",
+ "integrity": "sha512-adsydM8DQF4i5DLNO4ySAU5VtHTPewOtNBV3u7F4lNMPADFF9bWQ+iDtUUe8+033cYCUz+bFlQdXQJmJOwoLpw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-throw-expressions": "^7.2.0"
+ }
+ },
+ "@babel/plugin-proposal-unicode-property-regex": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.2.0.tgz",
+ "integrity": "sha512-LvRVYb7kikuOtIoUeWTkOxQEV1kYvL5B6U3iWEGCzPNRus1MzJweFqORTj+0jkxozkTSYNJozPOddxmqdqsRpw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-regex": "^7.0.0",
+ "regexpu-core": "^4.2.0"
+ },
+ "dependencies": {
+ "regexpu-core": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.4.0.tgz",
+ "integrity": "sha512-eDDWElbwwI3K0Lo6CqbQbA6FwgtCz4kYTarrri1okfkRLZAqstU+B3voZBCjg8Fl6iq0gXrJG6MvRgLthfvgOA==",
+ "dev": true,
+ "requires": {
+ "regenerate": "^1.4.0",
+ "regenerate-unicode-properties": "^7.0.0",
+ "regjsgen": "^0.5.0",
+ "regjsparser": "^0.6.0",
+ "unicode-match-property-ecmascript": "^1.0.4",
+ "unicode-match-property-value-ecmascript": "^1.0.2"
+ }
+ },
+ "regjsgen": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.0.tgz",
+ "integrity": "sha512-RnIrLhrXCX5ow/E5/Mh2O4e/oa1/jW0eaBKTSy3LaCj+M3Bqvm97GWDp2yUtzIs4LEn65zR2yiYGFqb2ApnzDA==",
+ "dev": true
+ },
+ "regjsparser": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.0.tgz",
+ "integrity": "sha512-RQ7YyokLiQBomUJuUG8iGVvkgOLxwyZM8k6d3q5SAXpg4r5TZJZigKFvC6PpD+qQ98bCDC5YelPeA3EucDoNeQ==",
+ "dev": true,
+ "requires": {
+ "jsesc": "~0.5.0"
+ }
+ }
+ }
+ },
+ "@babel/plugin-syntax-async-generators": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.2.0.tgz",
+ "integrity": "sha512-1ZrIRBv2t0GSlcwVoQ6VgSLpLgiN/FVQUzt9znxo7v2Ov4jJrs8RY8tv0wvDmFN3qIdMKWrmMMW6yZ0G19MfGg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-decorators": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.2.0.tgz",
+ "integrity": "sha512-38QdqVoXdHUQfTpZo3rQwqQdWtCn5tMv4uV6r2RMfTqNBuv4ZBhz79SfaQWKTVmxHjeFv/DnXVC/+agHCklYWA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-dynamic-import": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.2.0.tgz",
+ "integrity": "sha512-mVxuJ0YroI/h/tbFTPGZR8cv6ai+STMKNBq0f8hFxsxWjl94qqhsb+wXbpNMDPU3cfR1TIsVFzU3nXyZMqyK4w==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-export-namespace-from": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.2.0.tgz",
+ "integrity": "sha512-1zGA3UNch6A+A11nIzBVEaE3DDJbjfB+eLIcf0GGOh/BJr/8NxL3546MGhV/r0RhH4xADFIEso39TKCfEMlsGA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-function-sent": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-function-sent/-/plugin-syntax-function-sent-7.2.0.tgz",
+ "integrity": "sha512-2MOVuJ6IMAifp2cf0RFkHQaOvHpbBYyWCvgtF/WVqXhTd7Bgtov8iXVCadLXp2FN1BrI2EFl+JXuwXy0qr3KoQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-import-meta": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.2.0.tgz",
+ "integrity": "sha512-Hq6kFSZD7+PHkmBN8bCpHR6J8QEoCuEV/B38AIQscYjgMZkGlXB7cHNFzP5jR4RCh5545yP1ujHdmO7hAgKtBA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-json-strings": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.2.0.tgz",
+ "integrity": "sha512-5UGYnMSLRE1dqqZwug+1LISpA403HzlSfsg6P9VXU6TBjcSHeNlw4DxDx7LgpF+iKZoOG/+uzqoRHTdcUpiZNg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-jsx": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.2.0.tgz",
+ "integrity": "sha512-VyN4QANJkRW6lDBmENzRszvZf3/4AXaj9YR7GwrWeeN9tEBPuXbmDYVU9bYBN0D70zCWVwUy0HWq2553VCb6Hw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-numeric-separator": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.2.0.tgz",
+ "integrity": "sha512-DroeVNkO/BnGpL2R7+ZNZqW+E24aR/4YWxP3Qb15d6lPU8KDzF8HlIUIRCOJRn4X77/oyW4mJY+7FHfY82NLtQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-object-rest-spread": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.2.0.tgz",
+ "integrity": "sha512-t0JKGgqk2We+9may3t0xDdmneaXmyxq0xieYcKHxIsrJO64n1OiMWNUtc5gQK1PA0NpdCRrtZp4z+IUaKugrSA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-optional-catch-binding": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.2.0.tgz",
+ "integrity": "sha512-bDe4xKNhb0LI7IvZHiA13kff0KEfaGX/Hv4lMA9+7TEc63hMNvfKo6ZFpXhKuEp+II/q35Gc4NoMeDZyaUbj9w==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-syntax-throw-expressions": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-throw-expressions/-/plugin-syntax-throw-expressions-7.2.0.tgz",
+ "integrity": "sha512-ngwynuqu1Rx0JUS9zxSDuPgW1K8TyVZCi2hHehrL4vyjqE7RGoNHWlZsS7KQT2vw9Yjk4YLa0+KldBXTRdPLRg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-arrow-functions": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.2.0.tgz",
+ "integrity": "sha512-ER77Cax1+8/8jCB9fo4Ud161OZzWN5qawi4GusDuRLcDbDG+bIGYY20zb2dfAFdTRGzrfq2xZPvF0R64EHnimg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-async-to-generator": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.2.0.tgz",
+ "integrity": "sha512-CEHzg4g5UraReozI9D4fblBYABs7IM6UerAVG7EJVrTLC5keh00aEuLUT+O40+mJCEzaXkYfTCUKIyeDfMOFFQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-imports": "^7.0.0",
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-remap-async-to-generator": "^7.1.0"
+ }
+ },
+ "@babel/plugin-transform-block-scoped-functions": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.2.0.tgz",
+ "integrity": "sha512-ntQPR6q1/NKuphly49+QiQiTN0O63uOwjdD6dhIjSWBI5xlrbUFh720TIpzBhpnrLfv2tNH/BXvLIab1+BAI0w==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-block-scoping": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.2.0.tgz",
+ "integrity": "sha512-vDTgf19ZEV6mx35yiPJe4fS02mPQUUcBNwWQSZFXSzTSbsJFQvHt7DqyS3LK8oOWALFOsJ+8bbqBgkirZteD5Q==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "lodash": "^4.17.10"
+ }
+ },
+ "@babel/plugin-transform-classes": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.2.0.tgz",
+ "integrity": "sha512-aPCEkrhJYebDXcGTAP+cdUENkH7zqOlgbKwLbghjjHpJRJBWM/FSlCjMoPGA8oUdiMfOrk3+8EFPLLb5r7zj2w==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.0.0",
+ "@babel/helper-define-map": "^7.1.0",
+ "@babel/helper-function-name": "^7.1.0",
+ "@babel/helper-optimise-call-expression": "^7.0.0",
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-replace-supers": "^7.1.0",
+ "@babel/helper-split-export-declaration": "^7.0.0",
+ "globals": "^11.1.0"
+ },
+ "dependencies": {
+ "globals": {
+ "version": "11.9.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.9.0.tgz",
+ "integrity": "sha512-5cJVtyXWH8PiJPVLZzzoIizXx944O4OmRro5MWKx5fT4MgcN7OfaMutPeaTdJCCURwbWdhhcCWcKIffPnmTzBg==",
+ "dev": true
+ }
+ }
+ },
+ "@babel/plugin-transform-computed-properties": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.2.0.tgz",
+ "integrity": "sha512-kP/drqTxY6Xt3NNpKiMomfgkNn4o7+vKxK2DDKcBG9sHj51vHqMBGy8wbDS/J4lMxnqs153/T3+DmCEAkC5cpA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-destructuring": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.2.0.tgz",
+ "integrity": "sha512-coVO2Ayv7g0qdDbrNiadE4bU7lvCd9H539m2gMknyVjjMdwF/iCOM7R+E8PkntoqLkltO0rk+3axhpp/0v68VQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-dotall-regex": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.2.0.tgz",
+ "integrity": "sha512-sKxnyHfizweTgKZf7XsXu/CNupKhzijptfTM+bozonIuyVrLWVUvYjE2bhuSBML8VQeMxq4Mm63Q9qvcvUcciQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-regex": "^7.0.0",
+ "regexpu-core": "^4.1.3"
+ },
+ "dependencies": {
+ "regexpu-core": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.4.0.tgz",
+ "integrity": "sha512-eDDWElbwwI3K0Lo6CqbQbA6FwgtCz4kYTarrri1okfkRLZAqstU+B3voZBCjg8Fl6iq0gXrJG6MvRgLthfvgOA==",
+ "dev": true,
+ "requires": {
+ "regenerate": "^1.4.0",
+ "regenerate-unicode-properties": "^7.0.0",
+ "regjsgen": "^0.5.0",
+ "regjsparser": "^0.6.0",
+ "unicode-match-property-ecmascript": "^1.0.4",
+ "unicode-match-property-value-ecmascript": "^1.0.2"
+ }
+ },
+ "regjsgen": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.0.tgz",
+ "integrity": "sha512-RnIrLhrXCX5ow/E5/Mh2O4e/oa1/jW0eaBKTSy3LaCj+M3Bqvm97GWDp2yUtzIs4LEn65zR2yiYGFqb2ApnzDA==",
+ "dev": true
+ },
+ "regjsparser": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.0.tgz",
+ "integrity": "sha512-RQ7YyokLiQBomUJuUG8iGVvkgOLxwyZM8k6d3q5SAXpg4r5TZJZigKFvC6PpD+qQ98bCDC5YelPeA3EucDoNeQ==",
+ "dev": true,
+ "requires": {
+ "jsesc": "~0.5.0"
+ }
+ }
+ }
+ },
+ "@babel/plugin-transform-duplicate-keys": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.2.0.tgz",
+ "integrity": "sha512-q+yuxW4DsTjNceUiTzK0L+AfQ0zD9rWaTLiUqHA8p0gxx7lu1EylenfzjeIWNkPy6e/0VG/Wjw9uf9LueQwLOw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-exponentiation-operator": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.2.0.tgz",
+ "integrity": "sha512-umh4hR6N7mu4Elq9GG8TOu9M0bakvlsREEC+ialrQN6ABS4oDQ69qJv1VtR3uxlKMCQMCvzk7vr17RHKcjx68A==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-builder-binary-assignment-operator-visitor": "^7.1.0",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-for-of": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.2.0.tgz",
+ "integrity": "sha512-Kz7Mt0SsV2tQk6jG5bBv5phVbkd0gd27SgYD4hH1aLMJRchM0dzHaXvrWhVZ+WxAlDoAKZ7Uy3jVTW2mKXQ1WQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-function-name": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.2.0.tgz",
+ "integrity": "sha512-kWgksow9lHdvBC2Z4mxTsvc7YdY7w/V6B2vy9cTIPtLEE9NhwoWivaxdNM/S37elu5bqlLP/qOY906LukO9lkQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-function-name": "^7.1.0",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-literals": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.2.0.tgz",
+ "integrity": "sha512-2ThDhm4lI4oV7fVQ6pNNK+sx+c/GM5/SaML0w/r4ZB7sAneD/piDJtwdKlNckXeyGK7wlwg2E2w33C/Hh+VFCg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-modules-amd": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.2.0.tgz",
+ "integrity": "sha512-mK2A8ucqz1qhrdqjS9VMIDfIvvT2thrEsIQzbaTdc5QFzhDjQv2CkJJ5f6BXIkgbmaoax3zBr2RyvV/8zeoUZw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-transforms": "^7.1.0",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-modules-commonjs": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.2.0.tgz",
+ "integrity": "sha512-V6y0uaUQrQPXUrmj+hgnks8va2L0zcZymeU7TtWEgdRLNkceafKXEduv7QzgQAE4lT+suwooG9dC7LFhdRAbVQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-transforms": "^7.1.0",
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-simple-access": "^7.1.0"
+ }
+ },
+ "@babel/plugin-transform-modules-systemjs": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.2.0.tgz",
+ "integrity": "sha512-aYJwpAhoK9a+1+O625WIjvMY11wkB/ok0WClVwmeo3mCjcNRjt+/8gHWrB5i+00mUju0gWsBkQnPpdvQ7PImmQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-hoist-variables": "^7.0.0",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-modules-umd": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.2.0.tgz",
+ "integrity": "sha512-BV3bw6MyUH1iIsGhXlOK6sXhmSarZjtJ/vMiD9dNmpY8QXFFQTj+6v92pcfy1iqa8DeAfJFwoxcrS/TUZda6sw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-transforms": "^7.1.0",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-new-target": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0.tgz",
+ "integrity": "sha512-yin069FYjah+LbqfGeTfzIBODex/e++Yfa0rH0fpfam9uTbuEeEOx5GLGr210ggOV77mVRNoeqSYqeuaqSzVSw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-object-super": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.2.0.tgz",
+ "integrity": "sha512-VMyhPYZISFZAqAPVkiYb7dUe2AsVi2/wCT5+wZdsNO31FojQJa9ns40hzZ6U9f50Jlq4w6qwzdBB2uwqZ00ebg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-replace-supers": "^7.1.0"
+ }
+ },
+ "@babel/plugin-transform-parameters": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.2.0.tgz",
+ "integrity": "sha512-kB9+hhUidIgUoBQ0MsxMewhzr8i60nMa2KgeJKQWYrqQpqcBYtnpR+JgkadZVZoaEZ/eKu9mclFaVwhRpLNSzA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-call-delegate": "^7.1.0",
+ "@babel/helper-get-function-arity": "^7.0.0",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-react-display-name": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.2.0.tgz",
+ "integrity": "sha512-Htf/tPa5haZvRMiNSQSFifK12gtr/8vwfr+A9y69uF0QcU77AVu4K7MiHEkTxF7lQoHOL0F9ErqgfNEAKgXj7A==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-react-jsx": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.2.0.tgz",
+ "integrity": "sha512-h/fZRel5wAfCqcKgq3OhbmYaReo7KkoJBpt8XnvpS7wqaNMqtw5xhxutzcm35iMUWucfAdT/nvGTsWln0JTg2Q==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-builder-react-jsx": "^7.0.0",
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-jsx": "^7.2.0"
+ }
+ },
+ "@babel/plugin-transform-react-jsx-self": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.2.0.tgz",
+ "integrity": "sha512-v6S5L/myicZEy+jr6ielB0OR8h+EH/1QFx/YJ7c7Ua+7lqsjj/vW6fD5FR9hB/6y7mGbfT4vAURn3xqBxsUcdg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-jsx": "^7.2.0"
+ }
+ },
+ "@babel/plugin-transform-react-jsx-source": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.2.0.tgz",
+ "integrity": "sha512-A32OkKTp4i5U6aE88GwwcuV4HAprUgHcTq0sSafLxjr6AW0QahrCRCjxogkbbcdtpbXkuTOlgpjophCxb6sh5g==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-syntax-jsx": "^7.2.0"
+ }
+ },
+ "@babel/plugin-transform-regenerator": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0.tgz",
+ "integrity": "sha512-sj2qzsEx8KDVv1QuJc/dEfilkg3RRPvPYx/VnKLtItVQRWt1Wqf5eVCOLZm29CiGFfYYsA3VPjfizTCV0S0Dlw==",
+ "dev": true,
+ "requires": {
+ "regenerator-transform": "^0.13.3"
+ },
+ "dependencies": {
+ "regenerator-transform": {
+ "version": "0.13.3",
+ "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.13.3.tgz",
+ "integrity": "sha512-5ipTrZFSq5vU2YoGoww4uaRVAK4wyYC4TSICibbfEPOruUu8FFP7ErV0BjmbIOEpn3O/k9na9UEdYR/3m7N6uA==",
+ "dev": true,
+ "requires": {
+ "private": "^0.1.6"
+ }
+ }
+ }
+ },
+ "@babel/plugin-transform-runtime": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.2.0.tgz",
+ "integrity": "sha512-jIgkljDdq4RYDnJyQsiWbdvGeei/0MOTtSHKO/rfbd/mXBxNpdlulMx49L0HQ4pug1fXannxoqCI+fYSle9eSw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-imports": "^7.0.0",
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "resolve": "^1.8.1",
+ "semver": "^5.5.1"
+ },
+ "dependencies": {
+ "resolve": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz",
+ "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==",
+ "dev": true,
+ "requires": {
+ "path-parse": "^1.0.5"
+ }
+ },
+ "semver": {
+ "version": "5.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz",
+ "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==",
+ "dev": true
+ }
+ }
+ },
+ "@babel/plugin-transform-shorthand-properties": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.2.0.tgz",
+ "integrity": "sha512-QP4eUM83ha9zmYtpbnyjTLAGKQritA5XW/iG9cjtuOI8s1RuL/3V6a3DeSHfKutJQ+ayUfeZJPcnCYEQzaPQqg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-spread": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.2.0.tgz",
+ "integrity": "sha512-7TtPIdwjS/i5ZBlNiQePQCovDh9pAhVbp/nGVRBZuUdBiVRThyyLend3OHobc0G+RLCPPAN70+z/MAMhsgJd/A==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-sticky-regex": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.2.0.tgz",
+ "integrity": "sha512-KKYCoGaRAf+ckH8gEL3JHUaFVyNHKe3ASNsZ+AlktgHevvxGigoIttrEJb8iKN03Q7Eazlv1s6cx2B2cQ3Jabw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-regex": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-template-literals": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.2.0.tgz",
+ "integrity": "sha512-FkPix00J9A/XWXv4VoKJBMeSkyY9x/TqIh76wzcdfl57RJJcf8CehQ08uwfhCDNtRQYtHQKBTwKZDEyjE13Lwg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-annotate-as-pure": "^7.0.0",
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-typeof-symbol": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.2.0.tgz",
+ "integrity": "sha512-2LNhETWYxiYysBtrBTqL8+La0jIoQQnIScUJc74OYvUGRmkskNY4EzLCnjHBzdmb38wqtTaixpo1NctEcvMDZw==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0"
+ }
+ },
+ "@babel/plugin-transform-unicode-regex": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.2.0.tgz",
+ "integrity": "sha512-m48Y0lMhrbXEJnVUaYly29jRXbQ3ksxPrS1Tg8t+MHqzXhtBYAvI51euOBaoAlZLPHsieY9XPVMf80a5x0cPcA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/helper-regex": "^7.0.0",
+ "regexpu-core": "^4.1.3"
+ },
+ "dependencies": {
+ "regexpu-core": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.4.0.tgz",
+ "integrity": "sha512-eDDWElbwwI3K0Lo6CqbQbA6FwgtCz4kYTarrri1okfkRLZAqstU+B3voZBCjg8Fl6iq0gXrJG6MvRgLthfvgOA==",
+ "dev": true,
+ "requires": {
+ "regenerate": "^1.4.0",
+ "regenerate-unicode-properties": "^7.0.0",
+ "regjsgen": "^0.5.0",
+ "regjsparser": "^0.6.0",
+ "unicode-match-property-ecmascript": "^1.0.4",
+ "unicode-match-property-value-ecmascript": "^1.0.2"
+ }
+ },
+ "regjsgen": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.0.tgz",
+ "integrity": "sha512-RnIrLhrXCX5ow/E5/Mh2O4e/oa1/jW0eaBKTSy3LaCj+M3Bqvm97GWDp2yUtzIs4LEn65zR2yiYGFqb2ApnzDA==",
+ "dev": true
+ },
+ "regjsparser": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.0.tgz",
+ "integrity": "sha512-RQ7YyokLiQBomUJuUG8iGVvkgOLxwyZM8k6d3q5SAXpg4r5TZJZigKFvC6PpD+qQ98bCDC5YelPeA3EucDoNeQ==",
+ "dev": true,
+ "requires": {
+ "jsesc": "~0.5.0"
+ }
+ }
+ }
+ },
+ "@babel/preset-env": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.2.0.tgz",
+ "integrity": "sha512-haGR38j5vOGVeBatrQPr3l0xHbs14505DcM57cbJy48kgMFvvHHoYEhHuRV+7vi559yyAUAVbTWzbK/B/pzJng==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-module-imports": "^7.0.0",
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-proposal-async-generator-functions": "^7.2.0",
+ "@babel/plugin-proposal-json-strings": "^7.2.0",
+ "@babel/plugin-proposal-object-rest-spread": "^7.2.0",
+ "@babel/plugin-proposal-optional-catch-binding": "^7.2.0",
+ "@babel/plugin-proposal-unicode-property-regex": "^7.2.0",
+ "@babel/plugin-syntax-async-generators": "^7.2.0",
+ "@babel/plugin-syntax-object-rest-spread": "^7.2.0",
+ "@babel/plugin-syntax-optional-catch-binding": "^7.2.0",
+ "@babel/plugin-transform-arrow-functions": "^7.2.0",
+ "@babel/plugin-transform-async-to-generator": "^7.2.0",
+ "@babel/plugin-transform-block-scoped-functions": "^7.2.0",
+ "@babel/plugin-transform-block-scoping": "^7.2.0",
+ "@babel/plugin-transform-classes": "^7.2.0",
+ "@babel/plugin-transform-computed-properties": "^7.2.0",
+ "@babel/plugin-transform-destructuring": "^7.2.0",
+ "@babel/plugin-transform-dotall-regex": "^7.2.0",
+ "@babel/plugin-transform-duplicate-keys": "^7.2.0",
+ "@babel/plugin-transform-exponentiation-operator": "^7.2.0",
+ "@babel/plugin-transform-for-of": "^7.2.0",
+ "@babel/plugin-transform-function-name": "^7.2.0",
+ "@babel/plugin-transform-literals": "^7.2.0",
+ "@babel/plugin-transform-modules-amd": "^7.2.0",
+ "@babel/plugin-transform-modules-commonjs": "^7.2.0",
+ "@babel/plugin-transform-modules-systemjs": "^7.2.0",
+ "@babel/plugin-transform-modules-umd": "^7.2.0",
+ "@babel/plugin-transform-new-target": "^7.0.0",
+ "@babel/plugin-transform-object-super": "^7.2.0",
+ "@babel/plugin-transform-parameters": "^7.2.0",
+ "@babel/plugin-transform-regenerator": "^7.0.0",
+ "@babel/plugin-transform-shorthand-properties": "^7.2.0",
+ "@babel/plugin-transform-spread": "^7.2.0",
+ "@babel/plugin-transform-sticky-regex": "^7.2.0",
+ "@babel/plugin-transform-template-literals": "^7.2.0",
+ "@babel/plugin-transform-typeof-symbol": "^7.2.0",
+ "@babel/plugin-transform-unicode-regex": "^7.2.0",
+ "browserslist": "^4.3.4",
+ "invariant": "^2.2.2",
+ "js-levenshtein": "^1.1.3",
+ "semver": "^5.3.0"
+ }
+ },
+ "@babel/preset-react": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.0.0.tgz",
+ "integrity": "sha512-oayxyPS4Zj+hF6Et11BwuBkmpgT/zMxyuZgFrMeZID6Hdh3dGlk4sHCAhdBCpuCKW2ppBfl2uCCetlrUIJRY3w==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/plugin-transform-react-display-name": "^7.0.0",
+ "@babel/plugin-transform-react-jsx": "^7.0.0",
+ "@babel/plugin-transform-react-jsx-self": "^7.0.0",
+ "@babel/plugin-transform-react-jsx-source": "^7.0.0"
+ }
+ },
+ "@babel/runtime": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.2.0.tgz",
+ "integrity": "sha512-oouEibCbHMVdZSDlJBO6bZmID/zA/G/Qx3H1d3rSNPTD+L8UNKvCat7aKWSJ74zYbm5zWGh0GQN0hKj8zYFTCg==",
+ "requires": {
+ "regenerator-runtime": "^0.12.0"
+ }
+ },
+ "@babel/runtime-corejs2": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@babel/runtime-corejs2/-/runtime-corejs2-7.2.0.tgz",
+ "integrity": "sha512-kPfmKoRI8Hpo5ZJGACWyrc9Eq1j3ZIUpUAQT2yH045OuYpccFJ9kYA/eErwzOM2jeBG1sC8XX1nl1EArtuM8tg==",
+ "requires": {
+ "core-js": "^2.5.7",
+ "regenerator-runtime": "^0.12.0"
+ },
+ "dependencies": {
+ "core-js": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.0.tgz",
+ "integrity": "sha512-kLRC6ncVpuEW/1kwrOXYX6KQASCVtrh1gQr/UiaVgFlf9WE5Vp+lNe5+h3LuMr5PAucWnnEXwH0nQHRH/gpGtw=="
+ }
+ }
+ },
"@babel/template": {
"version": "7.1.2",
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.1.2.tgz",
@@ -553,56 +1741,6 @@
"js-tokens": "^3.0.2"
}
},
- "babel-core": {
- "version": "6.26.3",
- "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz",
- "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==",
- "dev": true,
- "requires": {
- "babel-code-frame": "^6.26.0",
- "babel-generator": "^6.26.0",
- "babel-helpers": "^6.24.1",
- "babel-messages": "^6.23.0",
- "babel-register": "^6.26.0",
- "babel-runtime": "^6.26.0",
- "babel-template": "^6.26.0",
- "babel-traverse": "^6.26.0",
- "babel-types": "^6.26.0",
- "babylon": "^6.18.0",
- "convert-source-map": "^1.5.1",
- "debug": "^2.6.9",
- "json5": "^0.5.1",
- "lodash": "^4.17.4",
- "minimatch": "^3.0.4",
- "path-is-absolute": "^1.0.1",
- "private": "^0.1.8",
- "slash": "^1.0.0",
- "source-map": "^0.5.7"
- },
- "dependencies": {
- "lodash": {
- "version": "4.17.10",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
- "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==",
- "dev": true
- },
- "minimatch": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
- "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
- "dev": true,
- "requires": {
- "brace-expansion": "^1.1.7"
- }
- },
- "source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true
- }
- }
- },
"babel-eslint": {
"version": "10.0.1",
"resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.0.1.tgz",
@@ -617,890 +1755,18 @@
"eslint-visitor-keys": "^1.0.0"
}
},
- "babel-generator": {
- "version": "6.26.1",
- "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz",
- "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==",
- "dev": true,
- "requires": {
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "detect-indent": "^4.0.0",
- "jsesc": "^1.3.0",
- "lodash": "^4.17.4",
- "source-map": "^0.5.7",
- "trim-right": "^1.0.1"
- },
- "dependencies": {
- "lodash": {
- "version": "4.17.10",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
- "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==",
- "dev": true
- },
- "source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true
- }
- }
- },
- "babel-helper-bindify-decorators": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.24.1.tgz",
- "integrity": "sha1-FMGeXxQte0fxmlJDHlKxzLxAozA=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-builder-binary-assignment-operator-visitor": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz",
- "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=",
- "dev": true,
- "requires": {
- "babel-helper-explode-assignable-expression": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-builder-react-jsx": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-helper-builder-react-jsx/-/babel-helper-builder-react-jsx-6.26.0.tgz",
- "integrity": "sha1-Of+DE7dci2Xc7/HzHTg+D/KkCKA=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "esutils": "^2.0.2"
- }
- },
- "babel-helper-call-delegate": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz",
- "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=",
- "dev": true,
- "requires": {
- "babel-helper-hoist-variables": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-define-map": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz",
- "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=",
- "dev": true,
- "requires": {
- "babel-helper-function-name": "^6.24.1",
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "lodash": "^4.17.4"
- },
- "dependencies": {
- "lodash": {
- "version": "4.17.10",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
- "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==",
- "dev": true
- }
- }
- },
- "babel-helper-explode-assignable-expression": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz",
- "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-explode-class": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-explode-class/-/babel-helper-explode-class-6.24.1.tgz",
- "integrity": "sha1-fcKjkQ3uAHBW4eMdZAztPVTqqes=",
- "dev": true,
- "requires": {
- "babel-helper-bindify-decorators": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-function-name": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz",
- "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=",
- "dev": true,
- "requires": {
- "babel-helper-get-function-arity": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-get-function-arity": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz",
- "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-hoist-variables": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz",
- "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-optimise-call-expression": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz",
- "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-regex": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz",
- "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "lodash": "^4.17.4"
- },
- "dependencies": {
- "lodash": {
- "version": "4.17.10",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
- "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==",
- "dev": true
- }
- }
- },
- "babel-helper-remap-async-to-generator": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz",
- "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=",
- "dev": true,
- "requires": {
- "babel-helper-function-name": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-replace-supers": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz",
- "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=",
- "dev": true,
- "requires": {
- "babel-helper-optimise-call-expression": "^6.24.1",
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helpers": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
- "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
- }
- },
"babel-loader": {
- "version": "7.1.4",
- "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-7.1.4.tgz",
- "integrity": "sha512-/hbyEvPzBJuGpk9o80R0ZyTej6heEOr59GoEUtn8qFKbnx4cJm9FWES6J/iv644sYgrtVw9JJQkjaLW/bqb5gw==",
+ "version": "8.0.4",
+ "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.0.4.tgz",
+ "integrity": "sha512-fhBhNkUToJcW9nV46v8w87AJOwAJDz84c1CL57n3Stj73FANM/b9TbCUK4YhdOwEyZ+OxhYpdeZDNzSI29Firw==",
"dev": true,
"requires": {
"find-cache-dir": "^1.0.0",
"loader-utils": "^1.0.2",
- "mkdirp": "^0.5.1"
- }
- },
- "babel-messages": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz",
- "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-check-es2015-constants": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz",
- "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-syntax-async-functions": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz",
- "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=",
- "dev": true
- },
- "babel-plugin-syntax-async-generators": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz",
- "integrity": "sha1-a8lj67FuzLrmuStZbrfzXDQqi5o=",
- "dev": true
- },
- "babel-plugin-syntax-class-properties": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz",
- "integrity": "sha1-1+sjt5oxf4VDlixQW4J8fWysJ94=",
- "dev": true
- },
- "babel-plugin-syntax-decorators": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz",
- "integrity": "sha1-MSVjtNvePMgGzuPkFszurd0RrAs=",
- "dev": true
- },
- "babel-plugin-syntax-dynamic-import": {
- "version": "6.18.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz",
- "integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo=",
- "dev": true
- },
- "babel-plugin-syntax-exponentiation-operator": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz",
- "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=",
- "dev": true
- },
- "babel-plugin-syntax-flow": {
- "version": "6.18.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz",
- "integrity": "sha1-TDqyCiryaqIM0lmVw5jE63AxDI0=",
- "dev": true
- },
- "babel-plugin-syntax-jsx": {
- "version": "6.18.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz",
- "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=",
- "dev": true
- },
- "babel-plugin-syntax-object-rest-spread": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz",
- "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=",
- "dev": true
- },
- "babel-plugin-syntax-trailing-function-commas": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz",
- "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=",
- "dev": true
- },
- "babel-plugin-transform-async-generator-functions": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz",
- "integrity": "sha1-8FiQAUX9PpkHpt3yjaWfIVJYpds=",
- "dev": true,
- "requires": {
- "babel-helper-remap-async-to-generator": "^6.24.1",
- "babel-plugin-syntax-async-generators": "^6.5.0",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-async-to-generator": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz",
- "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=",
- "dev": true,
- "requires": {
- "babel-helper-remap-async-to-generator": "^6.24.1",
- "babel-plugin-syntax-async-functions": "^6.8.0",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-class-properties": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz",
- "integrity": "sha1-anl2PqYdM9NvN7YRqp3vgagbRqw=",
- "dev": true,
- "requires": {
- "babel-helper-function-name": "^6.24.1",
- "babel-plugin-syntax-class-properties": "^6.8.0",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
- }
- },
- "babel-plugin-transform-decorators": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz",
- "integrity": "sha1-eIAT2PjGtSIr33s0Q5Df13Vp4k0=",
- "dev": true,
- "requires": {
- "babel-helper-explode-class": "^6.24.1",
- "babel-plugin-syntax-decorators": "^6.13.0",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-arrow-functions": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz",
- "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-block-scoped-functions": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz",
- "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-block-scoping": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz",
- "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.26.0",
- "babel-template": "^6.26.0",
- "babel-traverse": "^6.26.0",
- "babel-types": "^6.26.0",
- "lodash": "^4.17.4"
- },
- "dependencies": {
- "lodash": {
- "version": "4.17.10",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
- "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==",
- "dev": true
- }
- }
- },
- "babel-plugin-transform-es2015-classes": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz",
- "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=",
- "dev": true,
- "requires": {
- "babel-helper-define-map": "^6.24.1",
- "babel-helper-function-name": "^6.24.1",
- "babel-helper-optimise-call-expression": "^6.24.1",
- "babel-helper-replace-supers": "^6.24.1",
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-computed-properties": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz",
- "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-destructuring": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz",
- "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-duplicate-keys": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz",
- "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-for-of": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz",
- "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-function-name": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz",
- "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=",
- "dev": true,
- "requires": {
- "babel-helper-function-name": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-literals": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz",
- "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-modules-amd": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz",
- "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=",
- "dev": true,
- "requires": {
- "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-modules-commonjs": {
- "version": "6.26.2",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz",
- "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==",
- "dev": true,
- "requires": {
- "babel-plugin-transform-strict-mode": "^6.24.1",
- "babel-runtime": "^6.26.0",
- "babel-template": "^6.26.0",
- "babel-types": "^6.26.0"
- }
- },
- "babel-plugin-transform-es2015-modules-systemjs": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz",
- "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=",
- "dev": true,
- "requires": {
- "babel-helper-hoist-variables": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-modules-umd": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz",
- "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=",
- "dev": true,
- "requires": {
- "babel-plugin-transform-es2015-modules-amd": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-object-super": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz",
- "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=",
- "dev": true,
- "requires": {
- "babel-helper-replace-supers": "^6.24.1",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-parameters": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz",
- "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=",
- "dev": true,
- "requires": {
- "babel-helper-call-delegate": "^6.24.1",
- "babel-helper-get-function-arity": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-shorthand-properties": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz",
- "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-spread": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz",
- "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-sticky-regex": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz",
- "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=",
- "dev": true,
- "requires": {
- "babel-helper-regex": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-template-literals": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz",
- "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-typeof-symbol": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz",
- "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-unicode-regex": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz",
- "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=",
- "dev": true,
- "requires": {
- "babel-helper-regex": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "regexpu-core": "^2.0.0"
- }
- },
- "babel-plugin-transform-exponentiation-operator": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz",
- "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=",
- "dev": true,
- "requires": {
- "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1",
- "babel-plugin-syntax-exponentiation-operator": "^6.8.0",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-flow-strip-types": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz",
- "integrity": "sha1-hMtnKTXUNxT9wyvOhFaNh0Qc988=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-flow": "^6.18.0",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-object-rest-spread": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz",
- "integrity": "sha1-DzZpLVD+9rfi1LOsFHgTepY7ewY=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-object-rest-spread": "^6.8.0",
- "babel-runtime": "^6.26.0"
- }
- },
- "babel-plugin-transform-react-display-name": {
- "version": "6.25.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-display-name/-/babel-plugin-transform-react-display-name-6.25.0.tgz",
- "integrity": "sha1-Z+K/Hx6ck6sI25Z5LgU5K/LMKNE=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-react-jsx": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx/-/babel-plugin-transform-react-jsx-6.24.1.tgz",
- "integrity": "sha1-hAoCjn30YN/DotKfDA2R9jduZqM=",
- "dev": true,
- "requires": {
- "babel-helper-builder-react-jsx": "^6.24.1",
- "babel-plugin-syntax-jsx": "^6.8.0",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-react-jsx-self": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx-self/-/babel-plugin-transform-react-jsx-self-6.22.0.tgz",
- "integrity": "sha1-322AqdomEqEh5t3XVYvL7PBuY24=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-jsx": "^6.8.0",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-react-jsx-source": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx-source/-/babel-plugin-transform-react-jsx-source-6.22.0.tgz",
- "integrity": "sha1-ZqwSFT9c0tF7PBkmj0vwGX9E7NY=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-jsx": "^6.8.0",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-regenerator": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz",
- "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=",
- "dev": true,
- "requires": {
- "regenerator-transform": "^0.10.0"
- }
- },
- "babel-plugin-transform-strict-mode": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz",
- "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-preset-es2015": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz",
- "integrity": "sha1-1EBQ1rwsn+6nAqrzjXJ6AhBTiTk=",
- "dev": true,
- "requires": {
- "babel-plugin-check-es2015-constants": "^6.22.0",
- "babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
- "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0",
- "babel-plugin-transform-es2015-block-scoping": "^6.24.1",
- "babel-plugin-transform-es2015-classes": "^6.24.1",
- "babel-plugin-transform-es2015-computed-properties": "^6.24.1",
- "babel-plugin-transform-es2015-destructuring": "^6.22.0",
- "babel-plugin-transform-es2015-duplicate-keys": "^6.24.1",
- "babel-plugin-transform-es2015-for-of": "^6.22.0",
- "babel-plugin-transform-es2015-function-name": "^6.24.1",
- "babel-plugin-transform-es2015-literals": "^6.22.0",
- "babel-plugin-transform-es2015-modules-amd": "^6.24.1",
- "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
- "babel-plugin-transform-es2015-modules-systemjs": "^6.24.1",
- "babel-plugin-transform-es2015-modules-umd": "^6.24.1",
- "babel-plugin-transform-es2015-object-super": "^6.24.1",
- "babel-plugin-transform-es2015-parameters": "^6.24.1",
- "babel-plugin-transform-es2015-shorthand-properties": "^6.24.1",
- "babel-plugin-transform-es2015-spread": "^6.22.0",
- "babel-plugin-transform-es2015-sticky-regex": "^6.24.1",
- "babel-plugin-transform-es2015-template-literals": "^6.22.0",
- "babel-plugin-transform-es2015-typeof-symbol": "^6.22.0",
- "babel-plugin-transform-es2015-unicode-regex": "^6.24.1",
- "babel-plugin-transform-regenerator": "^6.24.1"
- }
- },
- "babel-preset-flow": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-preset-flow/-/babel-preset-flow-6.23.0.tgz",
- "integrity": "sha1-5xIYiHCFrpoktb5Baa/7WZgWxJ0=",
- "dev": true,
- "requires": {
- "babel-plugin-transform-flow-strip-types": "^6.22.0"
- }
- },
- "babel-preset-react": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-preset-react/-/babel-preset-react-6.24.1.tgz",
- "integrity": "sha1-umnfrqRfw+xjm2pOzqbhdwLJE4A=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-jsx": "^6.3.13",
- "babel-plugin-transform-react-display-name": "^6.23.0",
- "babel-plugin-transform-react-jsx": "^6.24.1",
- "babel-plugin-transform-react-jsx-self": "^6.22.0",
- "babel-plugin-transform-react-jsx-source": "^6.22.0",
- "babel-preset-flow": "^6.23.0"
- }
- },
- "babel-preset-stage-2": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-preset-stage-2/-/babel-preset-stage-2-6.24.1.tgz",
- "integrity": "sha1-2eKWD7PXEYfw5k7sYrwHdnIZvcE=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-dynamic-import": "^6.18.0",
- "babel-plugin-transform-class-properties": "^6.24.1",
- "babel-plugin-transform-decorators": "^6.24.1",
- "babel-preset-stage-3": "^6.24.1"
- }
- },
- "babel-preset-stage-3": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz",
- "integrity": "sha1-g2raCp56f6N8sTj7kyb4eTSkg5U=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-trailing-function-commas": "^6.22.0",
- "babel-plugin-transform-async-generator-functions": "^6.24.1",
- "babel-plugin-transform-async-to-generator": "^6.24.1",
- "babel-plugin-transform-exponentiation-operator": "^6.24.1",
- "babel-plugin-transform-object-rest-spread": "^6.22.0"
- }
- },
- "babel-register": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz",
- "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=",
- "dev": true,
- "requires": {
- "babel-core": "^6.26.0",
- "babel-runtime": "^6.26.0",
- "core-js": "^2.5.0",
- "home-or-tmp": "^2.0.0",
- "lodash": "^4.17.4",
"mkdirp": "^0.5.1",
- "source-map-support": "^0.4.15"
- },
- "dependencies": {
- "core-js": {
- "version": "2.5.7",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz",
- "integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==",
- "dev": true
- },
- "lodash": {
- "version": "4.17.10",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
- "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==",
- "dev": true
- }
+ "util.promisify": "^1.0.0"
}
},
- "babel-runtime": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
- "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
- "dev": true,
- "requires": {
- "core-js": "^2.4.0",
- "regenerator-runtime": "^0.11.0"
- },
- "dependencies": {
- "core-js": {
- "version": "2.5.7",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz",
- "integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==",
- "dev": true
- }
- }
- },
- "babel-template": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz",
- "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.26.0",
- "babel-traverse": "^6.26.0",
- "babel-types": "^6.26.0",
- "babylon": "^6.18.0",
- "lodash": "^4.17.4"
- },
- "dependencies": {
- "lodash": {
- "version": "4.17.10",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
- "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==",
- "dev": true
- }
- }
- },
- "babel-traverse": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz",
- "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=",
- "dev": true,
- "requires": {
- "babel-code-frame": "^6.26.0",
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "babylon": "^6.18.0",
- "debug": "^2.6.8",
- "globals": "^9.18.0",
- "invariant": "^2.2.2",
- "lodash": "^4.17.4"
- },
- "dependencies": {
- "lodash": {
- "version": "4.17.10",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
- "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==",
- "dev": true
- }
- }
- },
- "babel-types": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz",
- "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.26.0",
- "esutils": "^2.0.2",
- "lodash": "^4.17.4",
- "to-fast-properties": "^1.0.3"
- },
- "dependencies": {
- "lodash": {
- "version": "4.17.10",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
- "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==",
- "dev": true
- }
- }
- },
- "babylon": {
- "version": "6.18.0",
- "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz",
- "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==",
- "dev": true
- },
"backbone": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/backbone/-/backbone-1.3.3.tgz",
@@ -1775,6 +2041,17 @@
"parse-asn1": "^5.0.0"
}
},
+ "browserslist": {
+ "version": "4.3.5",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.3.5.tgz",
+ "integrity": "sha512-z9ZhGc3d9e/sJ9dIx5NFXkKoaiQTnrvrMsN3R1fGb1tkWWNSz12UewJn9TNxGo1l7J23h0MRaPmk7jfeTZYs1w==",
+ "dev": true,
+ "requires": {
+ "caniuse-lite": "^1.0.30000912",
+ "electron-to-chromium": "^1.3.86",
+ "node-releases": "^1.0.5"
+ }
+ },
"buffer": {
"version": "4.9.1",
"resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz",
@@ -1847,6 +2124,12 @@
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz",
"integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk="
},
+ "caniuse-lite": {
+ "version": "1.0.30000918",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000918.tgz",
+ "integrity": "sha512-CAZ9QXGViBvhHnmIHhsTPSWFBujDaelKnUj7wwImbyQRxmXynYqKGi3UaZTSz9MoVh+1EVxOS/DFIkrJYgR3aw==",
+ "dev": true
+ },
"caseless": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
@@ -2432,15 +2715,6 @@
"minimalistic-assert": "^1.0.0"
}
},
- "detect-indent": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz",
- "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=",
- "dev": true,
- "requires": {
- "repeating": "^2.0.0"
- }
- },
"diff": {
"version": "3.5.0",
"resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
@@ -2531,6 +2805,12 @@
"safer-buffer": "^2.1.0"
}
},
+ "electron-to-chromium": {
+ "version": "1.3.90",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.90.tgz",
+ "integrity": "sha512-IjJZKRhFbWSOX1w0sdIXgp4CMRguu6UYcTckyFF/Gjtemsu/25eZ+RXwFlV+UWcIueHyQA1UnRJxocTpH5NdGA==",
+ "dev": true
+ },
"elliptic": {
"version": "6.4.0",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz",
@@ -4191,12 +4471,6 @@
}
}
},
- "globals": {
- "version": "9.18.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz",
- "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==",
- "dev": true
- },
"globby": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz",
@@ -4409,16 +4683,6 @@
"resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz",
"integrity": "sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw=="
},
- "home-or-tmp": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz",
- "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=",
- "dev": true,
- "requires": {
- "os-homedir": "^1.0.0",
- "os-tmpdir": "^1.0.1"
- }
- },
"hosted-git-info": {
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.6.0.tgz",
@@ -4651,6 +4915,12 @@
}
}
},
+ "install": {
+ "version": "0.12.2",
+ "resolved": "https://registry.npmjs.org/install/-/install-0.12.2.tgz",
+ "integrity": "sha512-+7thTb4Rpvs9mnlhHKGZFJbGOO6kyMgy+gg0sgM5vFzIFK0wrCYXqdlaM71Bi289DTuPHf61puMFsaZBcwDIrg==",
+ "dev": true
+ },
"interact.js": {
"version": "1.2.8",
"resolved": "https://registry.npmjs.org/interact.js/-/interact.js-1.2.8.tgz",
@@ -4790,15 +5060,6 @@
"integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
"dev": true
},
- "is-finite": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz",
- "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=",
- "dev": true,
- "requires": {
- "number-is-nan": "^1.0.0"
- }
- },
"is-fullwidth-code-point": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
@@ -4978,6 +5239,12 @@
"resolved": "https://registry.npmjs.org/jquery-mousewheel/-/jquery-mousewheel-3.1.13.tgz",
"integrity": "sha1-BvAzXxbjU6aV5yBr9QUDy1I6buU="
},
+ "js-levenshtein": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.4.tgz",
+ "integrity": "sha512-PxfGzSs0ztShKrUYPIn5r0MtyAhYcCwmndozzpz8YObbPnD1jFxzlBGbRnX2mIu6Z13xN6+PTu05TQFnZFlzow==",
+ "dev": true
+ },
"js-tokens": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
@@ -5051,9 +5318,9 @@
}
},
"jsesc": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
- "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=",
+ "version": "0.5.0",
+ "resolved": "http://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
+ "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
"dev": true
},
"json-loader": {
@@ -5716,6 +5983,15 @@
}
}
},
+ "node-releases": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.1.tgz",
+ "integrity": "sha512-2UXrBr6gvaebo5TNF84C66qyJJ6r0kxBObgZIDX3D3/mt1ADKiHux3NJPWisq0wxvJJdkjECH+9IIKYViKj71Q==",
+ "dev": true,
+ "requires": {
+ "semver": "^5.3.0"
+ }
+ },
"nopt": {
"version": "3.0.6",
"resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
@@ -5815,6 +6091,16 @@
"isobject": "^3.0.0"
}
},
+ "object.getownpropertydescriptors": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz",
+ "integrity": "sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY=",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.2",
+ "es-abstract": "^1.5.1"
+ }
+ },
"object.pick": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
@@ -5879,12 +6165,6 @@
"integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=",
"dev": true
},
- "os-homedir": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
- "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
- "dev": true
- },
"os-locale": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz",
@@ -6454,23 +6734,20 @@
"integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==",
"dev": true
},
- "regenerator-runtime": {
- "version": "0.11.1",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
- "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==",
- "dev": true
- },
- "regenerator-transform": {
- "version": "0.10.1",
- "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz",
- "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==",
+ "regenerate-unicode-properties": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-7.0.0.tgz",
+ "integrity": "sha512-s5NGghCE4itSlUS+0WUj88G6cfMVMmH8boTPNvABf8od+2dhT9WDlWu8n01raQAJZMOK8Ch6jSexaRO7swd6aw==",
"dev": true,
"requires": {
- "babel-runtime": "^6.18.0",
- "babel-types": "^6.19.0",
- "private": "^0.1.6"
+ "regenerate": "^1.4.0"
}
},
+ "regenerator-runtime": {
+ "version": "0.12.1",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz",
+ "integrity": "sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg=="
+ },
"regex-not": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
@@ -6487,40 +6764,6 @@
"integrity": "sha512-LOPw8FpgdQF9etWMaAfG/WRthIdXJGYp4mJ2Jgn/2lpkbod9jPn0t9UqN7AxBOKNfzRbYyVfgc7Vk4t/MpnXgw==",
"dev": true
},
- "regexpu-core": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz",
- "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=",
- "dev": true,
- "requires": {
- "regenerate": "^1.2.1",
- "regjsgen": "^0.2.0",
- "regjsparser": "^0.1.4"
- }
- },
- "regjsgen": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz",
- "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=",
- "dev": true
- },
- "regjsparser": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz",
- "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=",
- "dev": true,
- "requires": {
- "jsesc": "~0.5.0"
- },
- "dependencies": {
- "jsesc": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
- "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
- "dev": true
- }
- }
- },
"remove-trailing-separator": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
@@ -6538,15 +6781,6 @@
"resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
"integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc="
},
- "repeating": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
- "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
- "dev": true,
- "requires": {
- "is-finite": "^1.0.0"
- }
- },
"request": {
"version": "2.88.0",
"resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz",
@@ -6893,12 +7127,6 @@
"integrity": "sha1-ST3zo9dYkz/dNnjQEaT3ONXnJUA=",
"dev": true
},
- "slash": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
- "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=",
- "dev": true
- },
"slice-ansi": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz",
@@ -7044,23 +7272,6 @@
"urix": "^0.1.0"
}
},
- "source-map-support": {
- "version": "0.4.18",
- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz",
- "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==",
- "dev": true,
- "requires": {
- "source-map": "^0.5.6"
- },
- "dependencies": {
- "source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true
- }
- }
- },
"source-map-url": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz",
@@ -7427,12 +7638,6 @@
"integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=",
"dev": true
},
- "to-fast-properties": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz",
- "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=",
- "dev": true
- },
"to-object-path": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",
@@ -7614,6 +7819,34 @@
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz",
"integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI="
},
+ "unicode-canonical-property-names-ecmascript": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz",
+ "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==",
+ "dev": true
+ },
+ "unicode-match-property-ecmascript": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz",
+ "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==",
+ "dev": true,
+ "requires": {
+ "unicode-canonical-property-names-ecmascript": "^1.0.4",
+ "unicode-property-aliases-ecmascript": "^1.0.4"
+ }
+ },
+ "unicode-match-property-value-ecmascript": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.0.2.tgz",
+ "integrity": "sha512-Rx7yODZC1L/T8XKo/2kNzVAQaRE88AaMvI1EF/Xnj3GW2wzN6fop9DDWuFAKUVFH7vozkz26DzP0qyWLKLIVPQ==",
+ "dev": true
+ },
+ "unicode-property-aliases-ecmascript": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.4.tgz",
+ "integrity": "sha512-2WSLa6OdYd2ng8oqiGIWnJqyFArvhn+5vgx5GTxMbUYjCYKUcuKS62YLFF0R/BDGlB1yzXjQOLtPAfHsgirEpg==",
+ "dev": true
+ },
"union-value": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz",
@@ -7775,6 +8008,16 @@
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
+ "util.promisify": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz",
+ "integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==",
+ "dev": true,
+ "requires": {
+ "define-properties": "^1.1.2",
+ "object.getownpropertydescriptors": "^2.0.3"
+ }
+ },
"uuid": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
diff --git a/plugin_repository/assets/newsletter-templates/book-store-with-coupon/Book-Body-2.png b/plugin_repository/assets/newsletter-templates/book-store-with-coupon/Book-Body-2.png
new file mode 100644
index 0000000000..0251b790cd
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/book-store-with-coupon/Book-Body-2.png differ
diff --git a/plugin_repository/assets/newsletter-templates/book-store-with-coupon/Book-Header.jpg b/plugin_repository/assets/newsletter-templates/book-store-with-coupon/Book-Header.jpg
new file mode 100644
index 0000000000..f894f5d2c3
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/book-store-with-coupon/Book-Header.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/book-store-with-coupon/Book-Image-Wide-2.png b/plugin_repository/assets/newsletter-templates/book-store-with-coupon/Book-Image-Wide-2.png
new file mode 100644
index 0000000000..d987ebb891
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/book-store-with-coupon/Book-Image-Wide-2.png differ
diff --git a/plugin_repository/assets/newsletter-templates/book-store-with-coupon/Book-Logo.png b/plugin_repository/assets/newsletter-templates/book-store-with-coupon/Book-Logo.png
new file mode 100644
index 0000000000..bd20aa91ae
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/book-store-with-coupon/Book-Logo.png differ
diff --git a/plugin_repository/assets/newsletter-templates/book-store-with-coupon/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/book-store-with-coupon/thumbnail.jpg
new file mode 100644
index 0000000000..784c2d0049
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/book-store-with-coupon/thumbnail.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/clear-news/News-Crossword.jpg b/plugin_repository/assets/newsletter-templates/clear-news/News-Crossword.jpg
new file mode 100644
index 0000000000..bd17ba6b9c
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/clear-news/News-Crossword.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/clear-news/News-Logo-1.png b/plugin_repository/assets/newsletter-templates/clear-news/News-Logo-1.png
new file mode 100644
index 0000000000..7627f56540
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/clear-news/News-Logo-1.png differ
diff --git a/plugin_repository/assets/newsletter-templates/clear-news/UEl2.gif b/plugin_repository/assets/newsletter-templates/clear-news/UEl2.gif
new file mode 100644
index 0000000000..45ec5bdb8c
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/clear-news/UEl2.gif differ
diff --git a/plugin_repository/assets/newsletter-templates/clear-news/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/clear-news/thumbnail.jpg
new file mode 100644
index 0000000000..76569c9013
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/clear-news/thumbnail.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Header.jpg b/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Header.jpg
new file mode 100644
index 0000000000..241c28b238
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Header.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Image-1.jpg b/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Image-1.jpg
new file mode 100644
index 0000000000..319aa50071
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Image-1.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Image-2.jpg b/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Image-2.jpg
new file mode 100644
index 0000000000..373ba2aab2
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Image-2.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Image-3.jpg b/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Image-3.jpg
new file mode 100644
index 0000000000..0e802f82ff
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Image-3.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Instagram.jpg b/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Instagram.jpg
new file mode 100644
index 0000000000..08522a395e
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Instagram.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Logo.png b/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Logo.png
new file mode 100644
index 0000000000..409a608b2c
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-blog-a/Fashion-Logo.png differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-blog-a/glyph-logo_May2016.png b/plugin_repository/assets/newsletter-templates/fashion-blog-a/glyph-logo_May2016.png
new file mode 100644
index 0000000000..185e14dd19
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-blog-a/glyph-logo_May2016.png differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-blog-a/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/fashion-blog-a/thumbnail.jpg
new file mode 100644
index 0000000000..d205fa32a2
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-blog-a/thumbnail.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Header.jpg b/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Header.jpg
new file mode 100644
index 0000000000..539dfdb385
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Header.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Image-1-1.jpg b/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Image-1-1.jpg
new file mode 100644
index 0000000000..181c75f5c7
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Image-1-1.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Image-Square-2.jpg b/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Image-Square-2.jpg
new file mode 100644
index 0000000000..10016385e1
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Image-Square-2.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Image-Square.jpg b/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Image-Square.jpg
new file mode 100644
index 0000000000..c048c273b6
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Image-Square.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Logo.png b/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Logo.png
new file mode 100644
index 0000000000..4f5118bd6c
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-shop/FashionKids-Logo.png differ
diff --git a/plugin_repository/assets/newsletter-templates/fashion-shop/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/fashion-shop/thumbnail.jpg
new file mode 100644
index 0000000000..84dca86c8c
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/fashion-shop/thumbnail.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flower-1.jpg b/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flower-1.jpg
new file mode 100644
index 0000000000..caeeea382b
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flower-1.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flower-2.jpg b/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flower-2.jpg
new file mode 100644
index 0000000000..d5a34ff167
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flower-2.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flower-3.jpg b/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flower-3.jpg
new file mode 100644
index 0000000000..72e5b3117c
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flower-3.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flowers-Header.jpg b/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flowers-Header.jpg
new file mode 100644
index 0000000000..4999f51605
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flowers-Header.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flowers-Logo.png b/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flowers-Logo.png
new file mode 100644
index 0000000000..c21abe698c
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/flowers-with-coupon/Flowers-Logo.png differ
diff --git a/plugin_repository/assets/newsletter-templates/flowers-with-coupon/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/flowers-with-coupon/thumbnail.jpg
new file mode 100644
index 0000000000..341eb6a83b
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/flowers-with-coupon/thumbnail.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Bottom-2.png b/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Bottom-2.png
new file mode 100644
index 0000000000..ac6312d4f2
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Bottom-2.png differ
diff --git a/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Header-2.jpg b/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Header-2.jpg
new file mode 100644
index 0000000000..19a47e1648
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Header-2.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Holding.jpg b/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Holding.jpg
new file mode 100644
index 0000000000..c401e5afd6
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Holding.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Logo.png b/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Logo.png
new file mode 100644
index 0000000000..c6ade6f025
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Logo.png differ
diff --git a/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Ticket.png b/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Ticket.png
new file mode 100644
index 0000000000..6f0f69628e
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Ticket.png differ
diff --git a/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Top.png b/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Top.png
new file mode 100644
index 0000000000..e9ceb640da
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/industry-conference/Conf-Top.png differ
diff --git a/plugin_repository/assets/newsletter-templates/industry-conference/Industry-Coupon.png b/plugin_repository/assets/newsletter-templates/industry-conference/Industry-Coupon.png
new file mode 100644
index 0000000000..bac87c0c5f
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/industry-conference/Industry-Coupon.png differ
diff --git a/plugin_repository/assets/newsletter-templates/industry-conference/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/industry-conference/thumbnail.jpg
new file mode 100644
index 0000000000..72050e0206
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/industry-conference/thumbnail.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Breaker-1-1.jpg b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Breaker-1-1.jpg
new file mode 100644
index 0000000000..92abdceb92
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Breaker-1-1.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Breaker-2.jpg b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Breaker-2.jpg
new file mode 100644
index 0000000000..107c463947
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Breaker-2.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Breaker-3.jpg b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Breaker-3.jpg
new file mode 100644
index 0000000000..d8eead4a38
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Breaker-3.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Breaker-4.jpg b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Breaker-4.jpg
new file mode 100644
index 0000000000..b8de13ff23
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Breaker-4.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Header-1.jpg b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Header-1.jpg
new file mode 100644
index 0000000000..32a5211a4d
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Header-1.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-1.png b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-1.png
new file mode 100644
index 0000000000..b2220fc03f
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-1.png differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-2.png b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-2.png
new file mode 100644
index 0000000000..0a98c8076e
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-2.png differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-3.png b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-3.png
new file mode 100644
index 0000000000..d9f99f930a
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-3.png differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-4.png b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-4.png
new file mode 100644
index 0000000000..f2e288acab
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-4.png differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-5.png b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-5.png
new file mode 100644
index 0000000000..e1b1331700
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Image-5.png differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Logo.png b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Logo.png
new file mode 100644
index 0000000000..a20b40c3a6
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/WomensLifestyle-Logo.png differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/thumbnail.jpg
new file mode 100644
index 0000000000..fcc610a8fa
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-a/thumbnail.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Header.jpg b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Header.jpg
new file mode 100644
index 0000000000..54edf75a52
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Header.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-HeaderDrop.jpg b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-HeaderDrop.jpg
new file mode 100644
index 0000000000..18e1c72229
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-HeaderDrop.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Image-1.jpg b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Image-1.jpg
new file mode 100644
index 0000000000..8500ed35d7
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Image-1.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Image-2.jpg b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Image-2.jpg
new file mode 100644
index 0000000000..a8bd81419c
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Image-2.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Image-3.jpg b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Image-3.jpg
new file mode 100644
index 0000000000..b5077e9034
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Image-3.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Logo-1.png b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Logo-1.png
new file mode 100644
index 0000000000..516bf24b6d
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/WomensLifestyle-Logo-1.png differ
diff --git a/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/thumbnail.jpg
new file mode 100644
index 0000000000..19b9ac904c
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/lifestyle-blog-b/thumbnail.jpg differ
diff --git a/plugin_repository/assets/newsletter-templates/newspaper-traditional/News-Logo.png b/plugin_repository/assets/newsletter-templates/newspaper-traditional/News-Logo.png
new file mode 100644
index 0000000000..4dc7bdc191
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/newspaper-traditional/News-Logo.png differ
diff --git a/plugin_repository/assets/newsletter-templates/newspaper-traditional/thumbnail.jpg b/plugin_repository/assets/newsletter-templates/newspaper-traditional/thumbnail.jpg
new file mode 100644
index 0000000000..1a2931910c
Binary files /dev/null and b/plugin_repository/assets/newsletter-templates/newspaper-traditional/thumbnail.jpg differ