OwlCyberSecurity - MANAGER
Edit File: 11d3f6de05938fc53f6b51a30553350ab288ef245cc1007bdfbcde41b50bd1cf.php
<?php if (!defined('ABSPATH')) exit; use MailPoetVendor\Twig\Environment; use MailPoetVendor\Twig\Error\LoaderError; use MailPoetVendor\Twig\Error\RuntimeError; use MailPoetVendor\Twig\Extension\CoreExtension; use MailPoetVendor\Twig\Extension\SandboxExtension; use MailPoetVendor\Twig\Markup; use MailPoetVendor\Twig\Sandbox\SecurityError; use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError; use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError; use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError; use MailPoetVendor\Twig\Source; use MailPoetVendor\Twig\Template; /* newsletter/editor.html */ class __TwigTemplate_aa06caf4713b6d5ac2d6909b4a0a21f60afeea73e802e676faab4d7dcfdcb31a extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'templates' => [$this, 'block_templates'], 'content' => [$this, 'block_content'], 'after_javascript' => [$this, 'block_after_javascript'], ]; } protected function doGetParent(array $context) { // line 1 return "layout.html"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("layout.html", "newsletter/editor.html", 1); yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_templates($context, array $blocks = []) { $macros = $this->macros; // line 4 yield " "; yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_tools_generic", "newsletter/templates/blocks/base/toolsGeneric.hbs"); // line 7 yield " "; // line 8 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_automated_latest_content_block", "newsletter/templates/blocks/automatedLatestContent/block.hbs"); // line 11 yield " "; // line 12 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_automated_latest_content_widget", "newsletter/templates/blocks/automatedLatestContent/widget.hbs"); // line 15 yield " "; // line 16 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_automated_latest_content_settings", "newsletter/templates/blocks/automatedLatestContent/settings.hbs"); // line 19 yield " "; // line 20 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_automated_latest_content_layout_block", "newsletter/templates/blocks/automatedLatestContentLayout/block.hbs"); // line 23 yield " "; // line 24 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_automated_latest_content_layout_widget", "newsletter/templates/blocks/automatedLatestContentLayout/widget.hbs"); // line 27 yield " "; // line 28 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_automated_latest_content_layout_settings", "newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs"); // line 31 yield " "; // line 32 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_dynamic_products_block", "newsletter/templates/blocks/dynamicProducts/block.hbs"); // line 35 yield " "; // line 36 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_dynamic_products_widget", "newsletter/templates/blocks/dynamicProducts/widget.hbs"); // line 39 yield " "; // line 40 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_dynamic_products_settings", "newsletter/templates/blocks/dynamicProducts/settings.hbs"); // line 43 yield " "; // line 44 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_button_block", "newsletter/templates/blocks/button/block.hbs"); // line 47 yield " "; // line 48 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_button_widget", "newsletter/templates/blocks/button/widget.hbs"); // line 51 yield " "; // line 52 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_button_settings", "newsletter/templates/blocks/button/settings.hbs"); // line 55 yield " "; // line 56 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_block", "newsletter/templates/blocks/container/block.hbs"); // line 59 yield " "; // line 60 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_block_empty", "newsletter/templates/blocks/container/emptyBlock.hbs"); // line 63 yield " "; // line 64 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_one_column_widget", "newsletter/templates/blocks/container/oneColumnLayoutWidget.hbs"); // line 67 yield " "; // line 68 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_two_column_widget", "newsletter/templates/blocks/container/twoColumnLayoutWidget.hbs"); // line 71 yield " "; // line 72 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_two_column_12_widget", "newsletter/templates/blocks/container/twoColumnLayoutWidget12.hbs"); // line 75 yield " "; // line 76 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_two_column_21_widget", "newsletter/templates/blocks/container/twoColumnLayoutWidget21.hbs"); // line 79 yield " "; // line 80 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_three_column_widget", "newsletter/templates/blocks/container/threeColumnLayoutWidget.hbs"); // line 83 yield " "; // line 84 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_settings", "newsletter/templates/blocks/container/settings.hbs"); // line 87 yield " "; // line 88 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_column_settings", "newsletter/templates/blocks/container/columnSettings.hbs"); // line 91 yield " "; // line 92 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_divider_block", "newsletter/templates/blocks/divider/block.hbs"); // line 95 yield " "; // line 96 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_divider_widget", "newsletter/templates/blocks/divider/widget.hbs"); // line 99 yield " "; // line 100 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_divider_settings", "newsletter/templates/blocks/divider/settings.hbs"); // line 103 yield " "; // line 104 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_footer_block", "newsletter/templates/blocks/footer/block.hbs"); // line 107 yield " "; // line 108 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_footer_widget", "newsletter/templates/blocks/footer/widget.hbs"); // line 111 yield " "; // line 112 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_footer_settings", "newsletter/templates/blocks/footer/settings.hbs"); // line 115 yield " "; // line 116 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_header_block", "newsletter/templates/blocks/header/block.hbs"); // line 119 yield " "; // line 120 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_header_widget", "newsletter/templates/blocks/header/widget.hbs"); // line 123 yield " "; // line 124 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_header_settings", "newsletter/templates/blocks/header/settings.hbs"); // line 127 yield " "; // line 128 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_image_block", "newsletter/templates/blocks/image/block.hbs"); // line 131 yield " "; // line 132 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_image_widget", "newsletter/templates/blocks/image/widget.hbs"); // line 135 yield " "; // line 136 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_image_settings", "newsletter/templates/blocks/image/settings.hbs"); // line 139 yield " "; // line 140 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_block", "newsletter/templates/blocks/posts/block.hbs"); // line 143 yield " "; // line 144 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_widget", "newsletter/templates/blocks/posts/widget.hbs"); // line 147 yield " "; // line 148 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_settings", "newsletter/templates/blocks/posts/settings.hbs"); // line 151 yield " "; // line 152 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_settings_display_options", "newsletter/templates/blocks/posts/settingsDisplayOptions.hbs"); // line 155 yield " "; // line 156 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_settings_selection", "newsletter/templates/blocks/posts/settingsSelection.hbs"); // line 159 yield " "; // line 160 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_settings_selection_empty", "newsletter/templates/blocks/posts/settingsSelectionEmpty.hbs"); // line 163 yield " "; // line 164 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_settings_single_post", "newsletter/templates/blocks/posts/settingsSinglePost.hbs"); // line 167 yield " "; // line 168 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_block", "newsletter/templates/blocks/products/block.hbs"); // line 171 yield " "; // line 172 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_widget", "newsletter/templates/blocks/products/widget.hbs"); // line 175 yield " "; // line 176 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_settings", "newsletter/templates/blocks/products/settings.hbs"); // line 179 yield " "; // line 180 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_settings_display_options", "newsletter/templates/blocks/products/settingsDisplayOptions.hbs"); // line 183 yield " "; // line 184 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_settings_selection", "newsletter/templates/blocks/products/settingsSelection.hbs"); // line 187 yield " "; // line 188 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_settings_selection_empty", "newsletter/templates/blocks/products/settingsSelectionEmpty.hbs"); // line 191 yield " "; // line 192 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_settings_single_post", "newsletter/templates/blocks/products/settingsSinglePost.hbs"); // line 195 yield " "; // line 196 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_acc_block", "newsletter/templates/blocks/abandonedCartContent/block.hbs"); // line 199 yield " "; // line 200 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_acc_widget", "newsletter/templates/blocks/abandonedCartContent/widget.hbs"); // line 203 yield " "; // line 204 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_acc_settings", "newsletter/templates/blocks/abandonedCartContent/settings.hbs"); // line 207 yield " "; // line 208 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_acc_settings_display_options", "newsletter/templates/blocks/abandonedCartContent/settingsDisplayOptions.hbs"); // line 211 yield " "; // line 212 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_block", "newsletter/templates/blocks/social/block.hbs"); // line 215 yield " "; // line 216 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_block_icon", "newsletter/templates/blocks/social/blockIcon.hbs"); // line 219 yield " "; // line 220 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_widget", "newsletter/templates/blocks/social/widget.hbs"); // line 223 yield " "; // line 224 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_settings", "newsletter/templates/blocks/social/settings.hbs"); // line 227 yield " "; // line 228 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_settings_icon", "newsletter/templates/blocks/social/settingsIcon.hbs"); // line 231 yield " "; // line 232 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_settings_icon_selector", "newsletter/templates/blocks/social/settingsIconSelector.hbs"); // line 235 yield " "; // line 236 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_settings_styles", "newsletter/templates/blocks/social/settingsStyles.hbs"); // line 239 yield " "; // line 240 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_spacer_block", "newsletter/templates/blocks/spacer/block.hbs"); // line 243 yield " "; // line 244 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_spacer_widget", "newsletter/templates/blocks/spacer/widget.hbs"); // line 247 yield " "; // line 248 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_spacer_settings", "newsletter/templates/blocks/spacer/settings.hbs"); // line 251 yield " "; // line 252 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_text_block", "newsletter/templates/blocks/text/block.hbs"); // line 255 yield " "; // line 256 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_text_widget", "newsletter/templates/blocks/text/widget.hbs"); // line 259 yield " "; // line 260 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_text_settings", "newsletter/templates/blocks/text/settings.hbs"); // line 263 yield " "; // line 264 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_heading", "newsletter/templates/components/heading.hbs"); // line 267 yield " "; // line 268 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_history", "newsletter/templates/components/history.hbs"); // line 271 yield " "; // line 272 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_save", "newsletter/templates/components/save.hbs"); // line 275 yield " "; // line 276 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_styles", "newsletter/templates/components/styles.hbs"); // line 279 yield " "; // line 280 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_newsletter_preview", "newsletter/templates/components/newsletterPreview.hbs"); // line 283 yield " "; // line 284 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_sidebar", "newsletter/templates/components/sidebar/sidebar.hbs"); // line 287 yield " "; // line 288 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_sidebar_content", "newsletter/templates/components/sidebar/content.hbs"); // line 291 yield " "; // line 292 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_sidebar_layout", "newsletter/templates/components/sidebar/layout.hbs"); // line 295 yield " "; // line 296 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_sidebar_styles", "newsletter/templates/components/sidebar/styles.hbs"); // line 299 yield " "; // line 300 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_new_account_content", "newsletter/templates/blocks/woocommerceContent/new_account.hbs"); // line 303 yield " "; // line 304 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_processing_order_content", "newsletter/templates/blocks/woocommerceContent/processing_order.hbs"); // line 307 yield " "; // line 308 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_completed_order_content", "newsletter/templates/blocks/woocommerceContent/completed_order.hbs"); // line 311 yield " "; // line 312 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_customer_note_content", "newsletter/templates/blocks/woocommerceContent/customer_note.hbs"); // line 315 yield " "; // line 316 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_new_account_content_improved", "newsletter/templates/blocks/woocommerceContentImproved/new_account.hbs"); // line 319 yield " "; // line 320 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_processing_order_content_improved", "newsletter/templates/blocks/woocommerceContentImproved/processing_order.hbs"); // line 323 yield " "; // line 324 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_completed_order_content_improved", "newsletter/templates/blocks/woocommerceContentImproved/completed_order.hbs"); // line 327 yield " "; // line 328 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_customer_note_content_improved", "newsletter/templates/blocks/woocommerceContentImproved/customer_note.hbs"); // line 331 yield " "; // line 332 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_content_widget", "newsletter/templates/blocks/woocommerceContent/widget.hbs"); // line 335 yield " "; // line 336 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_heading_block", "newsletter/templates/blocks/woocommerceHeading/block.hbs"); // line 339 yield " "; // line 340 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_heading_widget", "newsletter/templates/blocks/woocommerceHeading/widget.hbs"); // line 343 yield " "; // line 344 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_unknown_block_fallback_block", "newsletter/templates/blocks/unknownBlockFallback/block.hbs"); // line 347 yield " "; // line 348 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_unknown_block_fallback_widget", "newsletter/templates/blocks/unknownBlockFallback/widget.hbs"); // line 351 yield " "; // line 352 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_coupon_block", "newsletter/templates/blocks/coupon/block.hbs"); // line 355 yield " "; // line 356 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_coupon_widget", "newsletter/templates/blocks/coupon/widget.hbs"); // line 359 yield " "; // line 360 yield $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_coupon_settings", "newsletter/templates/blocks/coupon/settings.hbs"); // line 363 yield " "; return; yield ''; } // line 366 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 367 yield "<!-- Hidden heading for notices to appear under --> <h1 style=\"display:none\">"; // line 368 yield $this->extensions['MailPoet\Twig\I18n']->translate("Newsletter Editor"); yield "</h1> <div id=\"mailpoet_editor\"> <div id=\"mailpoet_editor_steps_heading\"></div> <div class=\"clearfix\"></div> <div id=\"mailpoet_editor_heading_left\"> <div id=\"mailpoet_editor_heading\"></div> </div> <div id=\"mailpoet_editor_heading_right\"> <div id=\"mailpoet_editor_top\"></div> </div> <div class=\"clearfix\"></div> <div id=\"mailpoet_editor_main_wrapper\"> <div id=\"mailpoet_editor_styles\"></div> <div id=\"mailpoet_editor_content_container\"> <div class=\"mailpoet_newsletter_wrapper\"> <div id=\"mailpoet_editor_content\"></div> </div> </div> <div id=\"mailpoet_editor_sidebar\"></div> <div class=\"clear\"></div> </div> <div id=\"mailpoet_editor_bottom\"></div> <div class=\"mailpoet_layer_overlay\" style=\"display:none;\"></div> </div> <script type=\"text/javascript\"> var mailpoet_email_editor_tutorial_seen = '"; // line 395 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["editor_tutorial_seen"] ?? null), "html", null, true); yield "'; var mailpoet_email_editor_tutorial_url = '"; // line 396 yield $this->extensions['MailPoet\Twig\Assets']->generateCdnUrl("newsletter-editor/editor-drag-demo.20190226-1505.mp4"); yield "'; var mailpoet_installed_at = '"; // line 397 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "installed_at", [], "any", false, false, false, 397), "html", null, true); yield "'; </script> "; // line 400 if (CoreExtension::getAttribute($this->env, $this->source, ($context["brand_styles"] ?? null), "available", [], "any", false, false, false, 400)) { // line 401 yield "<script type=\"text/javascript\"> var mailpoet_brand_styles = { available: true }; </script> "; } // line 407 yield " "; return; yield ''; } // line 410 public function block_after_javascript($context, array $blocks = []) { $macros = $this->macros; // line 411 yield " "; // line 412 yield do_action("mailpoet_newsletter_editor_after_javascript"); yield " <script type=\"text/javascript\"> function renderWithFont(node) { if (!node.element) return node.text; var \$wrapper = jQuery('<span></span>'); \$wrapper.css({'font-family': Handlebars.helpers.fontWithFallback(node.element.value)}); \$wrapper.text(node.text); return \$wrapper; } function fontsSelect(selector) { jQuery(selector).select2({ minimumResultsForSearch: Infinity, templateSelection: renderWithFont, templateResult: renderWithFont }); } var templates = { styles: Handlebars.compile( jQuery('#newsletter_editor_template_styles').html() ), save: Handlebars.compile( jQuery('#newsletter_editor_template_save').html() ), heading: Handlebars.compile( jQuery('#newsletter_editor_template_heading').html() ), history: Handlebars.compile( jQuery('#newsletter_editor_template_history').html() ), sidebar: Handlebars.compile( jQuery('#newsletter_editor_template_sidebar').html() ), sidebarContent: Handlebars.compile( jQuery('#newsletter_editor_template_sidebar_content').html() ), sidebarLayout: Handlebars.compile( jQuery('#newsletter_editor_template_sidebar_layout').html() ), sidebarStyles: Handlebars.compile( jQuery('#newsletter_editor_template_sidebar_styles').html() ), newsletterPreview: Handlebars.compile( jQuery('#newsletter_editor_template_newsletter_preview').html() ), genericBlockTools: Handlebars.compile( jQuery('#newsletter_editor_template_tools_generic').html() ), containerBlock: Handlebars.compile( jQuery('#newsletter_editor_template_container_block').html() ), containerEmpty: Handlebars.compile( jQuery('#newsletter_editor_template_container_block_empty').html() ), oneColumnLayoutInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_container_one_column_widget').html() ), twoColumnLayoutInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_container_two_column_widget').html() ), twoColumn12LayoutInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_container_two_column_12_widget').html() ), twoColumn21LayoutInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_container_two_column_21_widget').html() ), threeColumnLayoutInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_container_three_column_widget').html() ), containerBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_container_settings').html() ), containerBlockColumnSettings: Handlebars.compile( jQuery('#newsletter_editor_template_container_column_settings').html() ), buttonBlock: Handlebars.compile( jQuery('#newsletter_editor_template_button_block').html() ), buttonInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_button_widget').html() ), buttonBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_button_settings').html() ), dividerBlock: Handlebars.compile( jQuery('#newsletter_editor_template_divider_block').html() ), dividerInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_divider_widget').html() ), dividerBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_divider_settings').html() ), footerBlock: Handlebars.compile( jQuery('#newsletter_editor_template_footer_block').html() ), footerInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_footer_widget').html() ), footerBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_footer_settings').html() ), headerBlock: Handlebars.compile( jQuery('#newsletter_editor_template_header_block').html() ), headerInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_header_widget').html() ), headerBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_header_settings').html() ), imageBlock: Handlebars.compile( jQuery('#newsletter_editor_template_image_block').html() ), imageInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_image_widget').html() ), imageBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_image_settings').html() ), socialBlock: Handlebars.compile( jQuery('#newsletter_editor_template_social_block').html() ), socialIconBlock: Handlebars.compile( jQuery('#newsletter_editor_template_social_block_icon').html() ), socialInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_social_widget').html() ), socialBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_social_settings').html() ), socialSettingsIconSelector: Handlebars.compile( jQuery('#newsletter_editor_template_social_settings_icon_selector').html() ), socialSettingsIcon: Handlebars.compile( jQuery('#newsletter_editor_template_social_settings_icon').html() ), socialSettingsStyles: Handlebars.compile( jQuery('#newsletter_editor_template_social_settings_styles').html() ), spacerBlock: Handlebars.compile( jQuery('#newsletter_editor_template_spacer_block').html() ), spacerInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_spacer_widget').html() ), spacerBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_spacer_settings').html() ), automatedLatestContentBlock: Handlebars.compile( jQuery('#newsletter_editor_template_automated_latest_content_block').html() ), automatedLatestContentInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_automated_latest_content_widget').html() ), automatedLatestContentBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_automated_latest_content_settings').html() ), automatedLatestContentLayoutBlock: Handlebars.compile( jQuery('#newsletter_editor_template_automated_latest_content_layout_block').html() ), automatedLatestContentLayoutInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_automated_latest_content_layout_widget').html() ), automatedLatestContentLayoutBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_automated_latest_content_layout_settings').html() ), postsBlock: Handlebars.compile( jQuery('#newsletter_editor_template_posts_block').html() ), postsInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_posts_widget').html() ), postsBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_posts_settings').html() ), postSelectionPostsBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_posts_settings_selection').html() ), emptyPostPostsBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_posts_settings_selection_empty').html() ), singlePostPostsBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_posts_settings_single_post').html() ), displayOptionsPostsBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_posts_settings_display_options').html() ), productsBlock: Handlebars.compile( jQuery('#newsletter_editor_template_products_block').html() ), productsInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_products_widget').html() ), productsBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_products_settings').html() ), postSelectionProductsBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_products_settings_selection').html() ), emptyPostProductsBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_products_settings_selection_empty').html() ), singlePostProductsBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_products_settings_single_post').html() ), displayOptionsProductsBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_products_settings_display_options').html() ), abandonedCartContentBlock: Handlebars.compile( jQuery('#newsletter_editor_template_acc_block').html() ), abandonedCartContentInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_acc_widget').html() ), abandonedCartContentBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_acc_settings').html() ), displayOptionsAbandonedCartContentBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_acc_settings_display_options').html() ), textBlock: Handlebars.compile( jQuery('#newsletter_editor_template_text_block').html() ), textInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_text_widget').html() ), textBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_text_settings').html() ), woocommerceNewAccount: Handlebars.compile( jQuery('#newsletter_editor_template_woocommerce_new_account_content').html() ), woocommerceProcessingOrder: Handlebars.compile( jQuery('#newsletter_editor_template_woocommerce_processing_order_content').html() ), woocommerceCompletedOrder: Handlebars.compile( jQuery('#newsletter_editor_template_woocommerce_completed_order_content').html() ), woocommerceCustomerNote: Handlebars.compile( jQuery('#newsletter_editor_template_woocommerce_customer_note_content').html() ), woocommerceContentInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_woocommerce_content_widget').html() ), woocommerceNewAccountImproved: Handlebars.compile( jQuery('#newsletter_editor_template_woocommerce_new_account_content_improved').html() ), woocommerceProcessingOrderImproved: Handlebars.compile( jQuery('#newsletter_editor_template_woocommerce_processing_order_content_improved').html() ), woocommerceCompletedOrderImproved: Handlebars.compile( jQuery('#newsletter_editor_template_woocommerce_completed_order_content_improved').html() ), woocommerceCustomerNoteImproved: Handlebars.compile( jQuery('#newsletter_editor_template_woocommerce_customer_note_content_improved').html() ), woocommerceHeadingBlock: Handlebars.compile( jQuery('#newsletter_editor_template_woocommerce_heading_block').html() ), woocommerceHeadingInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_woocommerce_heading_widget').html() ), unknownBlockFallbackBlock: Handlebars.compile( jQuery('#newsletter_editor_template_unknown_block_fallback_block').html() ), unknownBlockFallbackInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_unknown_block_fallback_widget').html() ), couponBlock: Handlebars.compile( jQuery('#newsletter_editor_template_coupon_block').html() ), couponInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_coupon_widget').html() ), couponBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_coupon_settings').html() ), dynamicProductsBlock: Handlebars.compile( jQuery('#newsletter_editor_template_dynamic_products_block').html() ), dynamicProductsInsertion: Handlebars.compile( jQuery('#newsletter_editor_template_dynamic_products_widget').html() ), dynamicProductsBlockSettings: Handlebars.compile( jQuery('#newsletter_editor_template_dynamic_products_settings').html() ), }; var currentUserEmail = '"; // line 724 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["current_wp_user"] ?? null), "user_email", [], "any", false, false, false, 724), "html", null, true); yield "'; var mailpoet_product_categories = "; // line 725 yield json_encode(($context["product_categories"] ?? null)); yield "; var mailpoet_products = "; // line 726 yield json_encode(($context["products"] ?? null)); yield "; var mailpoet_original_template_body = "; // line 727 yield json_encode(($context["original_template_body"] ?? null)); yield "; var config = { availableStyles: { textSizes: [ '9px', '10px', '11px', '12px', '13px', '14px', '15px', '16px', '17px', '18px', '19px', '20px', '21px', '22px', '23px', '24px' ], headingSizes: [ '10px', '12px', '14px', '16px', '18px', '20px', '22px', '24px', '26px', '30px', '36px', '40px' ], lineHeights: [ '1.0', '1.2', '1.4', '1.6', '1.8', '2.0', ], fonts: { standard: [ 'Arial', 'Comic Sans MS', 'Courier New', 'Georgia', 'Lucida', 'Tahoma', 'Times New Roman', 'Trebuchet MS', 'Verdana' "; // line 758 if (($context["customFontsEnabled"] ?? null)) { // line 759 yield " ], custom: [ 'Arvo', 'Lato', 'Lora', 'Merriweather', 'Merriweather Sans', 'Noticia Text', 'Open Sans', 'Playfair Display', 'Roboto', 'Source Sans Pro', 'Oswald', 'Raleway', 'Permanent Marker', 'Pacifico', "; } // line 776 yield " ] }, socialIconSets: { 'default': { 'custom': '"; // line 780 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png"); // line 782 yield "', 'facebook': '"; // line 783 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Facebook.png"); // line 785 yield "', 'twitter': '"; // line 786 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Twitter.png"); // line 788 yield "', 'youtube': '"; // line 789 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Youtube.png"); // line 791 yield "', 'website': '"; // line 792 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Website.png"); // line 794 yield "', 'email': '"; // line 795 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Email.png"); // line 797 yield "', 'instagram': '"; // line 798 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Instagram.png"); // line 800 yield "', 'pinterest': '"; // line 801 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Pinterest.png"); // line 803 yield "', 'linkedin': '"; // line 804 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/LinkedIn.png"); // line 806 yield "' }, 'grey': { 'custom': '"; // line 809 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png"); // line 811 yield "', 'facebook': '"; // line 812 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Facebook.png"); // line 814 yield "', 'twitter': '"; // line 815 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Twitter.png"); // line 817 yield "', 'youtube': '"; // line 818 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Youtube.png"); // line 820 yield "', 'website': '"; // line 821 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Website.png"); // line 823 yield "', 'email': '"; // line 824 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Email.png"); // line 826 yield "', 'instagram': '"; // line 827 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Instagram.png"); // line 829 yield "', 'pinterest': '"; // line 830 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Pinterest.png"); // line 832 yield "', 'linkedin': '"; // line 833 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/LinkedIn.png"); // line 835 yield "', }, 'white': { 'custom': '"; // line 838 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png"); // line 840 yield "', 'facebook': '"; // line 841 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-white/Facebook.png"); // line 843 yield "', 'twitter': '"; // line 844 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-white/Twitter.png"); // line 846 yield "', 'youtube': '"; // line 847 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-white/Youtube.png"); // line 849 yield "', 'website': '"; // line 850 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-white/Website.png"); // line 852 yield "', 'email': '"; // line 853 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-white/Email.png"); // line 855 yield "', 'instagram': '"; // line 856 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-white/Instagram.png"); // line 858 yield "', 'pinterest': '"; // line 859 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-white/Pinterest.png"); // line 861 yield "', 'linkedin': '"; // line 862 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-white/LinkedIn.png"); // line 864 yield "', }, 'black': { 'custom': '"; // line 867 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png"); // line 869 yield "', 'facebook': '"; // line 870 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-black/Facebook.png"); // line 872 yield "', 'twitter': '"; // line 873 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-black/Twitter.png"); // line 875 yield "', 'youtube': '"; // line 876 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-black/Youtube.png"); // line 878 yield "', 'website': '"; // line 879 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-black/Website.png"); // line 881 yield "', 'email': '"; // line 882 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-black/Email.png"); // line 884 yield "', 'instagram': '"; // line 885 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-black/Instagram.png"); // line 887 yield "', 'pinterest': '"; // line 888 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-black/Pinterest.png"); // line 890 yield "', 'linkedin': '"; // line 891 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-black/LinkedIn.png"); // line 893 yield "', }, 'circles': { 'custom': '"; // line 896 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png"); // line 898 yield "', 'facebook': '"; // line 899 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Facebook.png"); // line 901 yield "', 'twitter': '"; // line 902 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Twitter.png"); // line 904 yield "', 'youtube': '"; // line 905 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Youtube.png"); // line 907 yield "', 'website': '"; // line 908 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Website.png"); // line 910 yield "', 'email': '"; // line 911 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Email.png"); // line 913 yield "', 'instagram': '"; // line 914 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Instagram.png"); // line 916 yield "', 'pinterest': '"; // line 917 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Pinterest.png"); // line 919 yield "', 'linkedin': '"; // line 920 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/LinkedIn.png"); // line 922 yield "', }, 'full-flat-roundrect': { 'custom': '"; // line 925 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png"); // line 927 yield "', 'facebook': '"; // line 928 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Facebook.png"); // line 930 yield "', 'twitter': '"; // line 931 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Twitter.png"); // line 933 yield "', 'youtube': '"; // line 934 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Youtube.png"); // line 936 yield "', 'website': '"; // line 937 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Website.png"); // line 939 yield "', 'email': '"; // line 940 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Email.png"); // line 942 yield "', 'instagram': '"; // line 943 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Instagram.png"); // line 945 yield "', 'pinterest': '"; // line 946 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Pinterest.png"); // line 948 yield "', 'linkedin': '"; // line 949 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/LinkedIn.png"); // line 951 yield "', }, 'full-gradient-square': { 'custom': '"; // line 954 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png"); // line 956 yield "', 'facebook': '"; // line 957 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Facebook.png"); // line 959 yield "', 'twitter': '"; // line 960 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Twitter.png"); // line 962 yield "', 'youtube': '"; // line 963 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Youtube.png"); // line 965 yield "', 'website': '"; // line 966 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Website.png"); // line 968 yield "', 'email': '"; // line 969 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Email.png"); // line 971 yield "', 'instagram': '"; // line 972 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Instagram.png"); // line 974 yield "', 'pinterest': '"; // line 975 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Pinterest.png"); // line 977 yield "', 'linkedin': '"; // line 978 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/LinkedIn.png"); // line 980 yield "', }, 'full-symbol-color': { 'custom': '"; // line 983 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png"); // line 985 yield "', 'facebook': '"; // line 986 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Facebook.png"); // line 988 yield "', 'twitter': '"; // line 989 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Twitter.png"); // line 991 yield "', 'youtube': '"; // line 992 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Youtube.png"); // line 994 yield "', 'website': '"; // line 995 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Website.png"); // line 997 yield "', 'email': '"; // line 998 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Email.png"); // line 1000 yield "', 'instagram': '"; // line 1001 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Instagram.png"); // line 1003 yield "', 'pinterest': '"; // line 1004 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Pinterest.png"); // line 1006 yield "', 'linkedin': '"; // line 1007 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/LinkedIn.png"); // line 1009 yield "', }, 'full-symbol-black': { 'custom': '"; // line 1012 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png"); // line 1014 yield "', 'facebook': '"; // line 1015 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Facebook.png"); // line 1017 yield "', 'twitter': '"; // line 1018 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Twitter.png"); // line 1020 yield "', 'youtube': '"; // line 1021 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Youtube.png"); // line 1023 yield "', 'website': '"; // line 1024 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Website.png"); // line 1026 yield "', 'email': '"; // line 1027 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Email.png"); // line 1029 yield "', 'instagram': '"; // line 1030 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Instagram.png"); // line 1032 yield "', 'pinterest': '"; // line 1033 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Pinterest.png"); // line 1035 yield "', 'linkedin': '"; // line 1036 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/LinkedIn.png"); // line 1038 yield "', }, 'full-symbol-grey': { 'custom': '"; // line 1041 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png"); // line 1043 yield "', 'facebook': '"; // line 1044 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Facebook.png"); // line 1046 yield "', 'twitter': '"; // line 1047 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Twitter.png"); // line 1049 yield "', 'youtube': '"; // line 1050 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Youtube.png"); // line 1052 yield "', 'website': '"; // line 1053 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Website.png"); // line 1055 yield "', 'email': '"; // line 1056 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Email.png"); // line 1058 yield "', 'instagram': '"; // line 1059 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Instagram.png"); // line 1061 yield "', 'pinterest': '"; // line 1062 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Pinterest.png"); // line 1064 yield "', 'linkedin': '"; // line 1065 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/LinkedIn.png"); // line 1067 yield "', }, }, dividers: [ 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge' ] }, socialIcons: { 'facebook': { title: 'Facebook', linkFieldName: '"; // line 1083 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true); yield "', defaultLink: 'https://www.facebook.com/', }, 'twitter': { title: 'Twitter / X', linkFieldName: '"; // line 1088 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true); yield "', defaultLink: 'https://x.com/', }, 'youtube': { title: 'YouTube', linkFieldName: '"; // line 1093 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true); yield "', defaultLink: 'https://www.youtube.com/', }, 'website': { title: '"; // line 1097 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Website"), "js"), "html", null, true); yield "', linkFieldName: '"; // line 1098 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true); yield "', defaultLink: '', }, 'email': { title: '"; // line 1102 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Email"), "js"), "html", null, true); yield "', linkFieldName: '"; // line 1103 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Email"), "js"), "html", null, true); yield "', defaultLink: '', }, 'instagram': { title: 'Instagram', linkFieldName: '"; // line 1108 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true); yield "', defaultLink: 'https://www.instagram.com/', }, 'pinterest': { title: 'Pinterest', linkFieldName: '"; // line 1113 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true); yield "', defaultLink: 'https://www.pinterest.com/', }, 'linkedin': { title: 'LinkedIn', linkFieldName: '"; // line 1118 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true); yield "', defaultLink: 'https://www.linkedin.com/', }, 'custom': { title: '"; // line 1122 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Custom"), "js"), "html", null, true); yield "', linkFieldName: '"; // line 1123 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true); yield "', defaultLink: '', }, }, blockDefaults: { abandonedCartContent: { amount: '2', withLayout: true, contentType: 'product', postStatus: 'publish', // 'draft'|'pending'|'publish' inclusionType: 'include', // 'include'|'exclude' displayType: 'excerpt', // 'excerpt'|'full'|'titleOnly' titleFormat: 'h1', // 'h1'|'h2'|'h3' titleAlignment: 'left', // 'left'|'center'|'right' titleIsLink: false, // false|true imageFullWidth: false, // true|false featuredImagePosition: 'alternate', // 'centered'|'left'|'right'|'alternate'|'none', pricePosition: 'below', // 'hidden'|'above'|'below' readMoreType: 'none', // 'link'|'button'|'none' readMoreText: '', readMoreButton: {}, sortBy: 'newest', // 'newest'|'oldest', showDivider: true, // true|false divider: { context: 'abandonedCartContent.divider', styles: { block: { backgroundColor: 'transparent', padding: '13px', borderStyle: 'solid', borderWidth: '3px', borderColor: '#aaaaaa', }, }, }, backgroundColor: '#ffffff', backgroundColorAlternate: '#eeeeee', }, automatedLatestContent: { amount: '5', withLayout: false, contentType: 'post', // 'post'|'page'|'mailpoet_page' inclusionType: 'include', // 'include'|'exclude' displayType: 'excerpt', // 'excerpt'|'full'|'titleOnly' titleFormat: 'h1', // 'h1'|'h2'|'h3'|'ul' titleAlignment: 'left', // 'left'|'center'|'right' titleIsLink: false, // false|true imageFullWidth: false, // true|false featuredImagePosition: 'belowTitle', // 'belowTitle'|'aboveTitle'|'none', showAuthor: 'no', // 'no'|'aboveText'|'belowText' authorPrecededBy: '"; // line 1173 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Author:"), "js"), "html", null, true); yield "', showCategories: 'no', // 'no'|'aboveText'|'belowText' categoriesPrecededBy: '"; // line 1175 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Categories:"), "js"), "html", null, true); yield "', readMoreType: 'button', // 'link'|'button' readMoreText: '"; // line 1177 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Read more"), "js"), "html", null, true); yield "', readMoreButton: { text: '"; // line 1179 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Read more"), "js"), "html", null, true); yield "', url: '[postLink]', context: 'automatedLatestContent.readMoreButton', styles: { block: { 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', // 'newest'|'oldest', showDivider: true, // true|false divider: { context: 'automatedLatestContent.divider', styles: { block: { backgroundColor: 'transparent', padding: '13px', borderStyle: 'solid', borderWidth: '3px', borderColor: '#aaaaaa', }, }, }, backgroundColor: '#ffffff', backgroundColorAlternate: '#eeeeee', }, automatedLatestContentLayout: { amount: '5', withLayout: true, contentType: 'post', // 'post'|'page'|'mailpoet_page' inclusionType: 'include', // 'include'|'exclude' displayType: 'excerpt', // 'excerpt'|'full'|'titleOnly' titleFormat: 'h1', // 'h1'|'h2'|'h3'|'ul' titleAlignment: 'left', // 'left'|'center'|'right' titleIsLink: false, // false|true imageFullWidth: false, // true|false featuredImagePosition: 'alternate', // 'centered'|'left'|'right'|'alternate'|'none', showAuthor: 'no', // 'no'|'aboveText'|'belowText' authorPrecededBy: '"; // line 1228 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Author:"), "js"), "html", null, true); yield "', showCategories: 'no', // 'no'|'aboveText'|'belowText' categoriesPrecededBy: '"; // line 1230 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Categories:"), "js"), "html", null, true); yield "', readMoreType: 'button', // 'link'|'button' readMoreText: '"; // line 1232 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Read more"), "js"), "html", null, true); yield "', readMoreButton: { text: '"; // line 1234 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Read more"), "js"), "html", null, true); yield "', url: '[postLink]', context: 'automatedLatestContentLayout.readMoreButton', styles: { block: { 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', // 'newest'|'oldest', showDivider: true, // true|false divider: { context: 'automatedLatestContentLayout.divider', styles: { block: { backgroundColor: 'transparent', padding: '13px', borderStyle: 'solid', borderWidth: '3px', borderColor: '#aaaaaa', }, }, }, backgroundColor: '#ffffff', backgroundColorAlternate: '#eeeeee', }, button: { text: '"; // line 1272 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Button"), "js"), "html", null, true); yield "', url: '', styles: { block: { backgroundColor: '#2ea1cd', borderColor: '#0074a2', borderWidth: '1px', borderRadius: '5px', borderStyle: 'solid', width: '180px', lineHeight: '40px', fontColor: '#ffffff', fontFamily: 'Verdana', fontSize: '18px', fontWeight: 'normal', textAlign: 'center', }, }, }, container: { image: { src: null, display: 'scale', }, styles: { block: { backgroundColor: 'transparent', }, }, }, divider: { styles: { block: { backgroundColor: 'transparent', padding: '13px', borderStyle: 'solid', borderWidth: '3px', borderColor: '#aaaaaa', }, }, }, dynamicProducts: { amount: '10', withLayout: true, contentType: 'product', terms: [], // List of category and tag objects inclusionType: 'include', // 'include'|'exclude' displayType: 'excerpt', // 'excerpt'|'full'|'titleOnly' titleFormat: 'h1', // 'h1'|'h2'|'h3' titleAlignment: 'left', // 'left'|'center'|'right' titleIsLink: false, // false|true imageFullWidth: false, // true|false titlePosition: 'abovePost', // 'abovePost'|'aboveExcerpt' featuredImagePosition: 'left', // 'centered'|'right'|'left'|'alternate'|'none' pricePosition: 'below', // 'hidden'|'above'|'below' readMoreType: 'link', // 'link'|'button' readMoreText: 'Buy now', readMoreButton: { text: 'Buy now', url: '[postLink]', context: 'dynamicProducts.readMoreButton', styles: { block: { 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', // 'newest'|'oldest', showDivider: true, // true|false dynamicProductsType: 'selected', // 'cross-sell'|'order'|'selected'|'cart' divider: { context: 'dynamicProducts.divider', styles: { block: { backgroundColor: 'transparent', padding: '13px', borderStyle: 'solid', borderWidth: '3px', borderColor: '#aaaaaa', }, }, }, backgroundColor: '#ffffff', backgroundColorAlternate: '#eeeeee', }, footer: { text: '<p><a href=\"[link:subscription_unsubscribe_url]\">"; // line 1369 yield $this->extensions['MailPoet\Twig\I18n']->translate("Unsubscribe"); yield "</a> | <a href=\"[link:subscription_manage_url]\">"; yield $this->extensions['MailPoet\Twig\I18n']->translate("Manage subscription"); yield "</a><br />"; yield $this->extensions['MailPoet\Twig\I18n']->translate("Add your postal address here!"); yield "</p>', styles: { block: { backgroundColor: 'transparent', }, text: { fontColor: '#222222', fontFamily: 'Arial', fontSize: '12px', textAlign: 'center', }, link: { fontColor: '#6cb7d4', textDecoration: 'none', }, }, }, image: { link: '', src: '', alt: '"; // line 1389 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("An image of..."), "js"), "html", null, true); yield "', fullWidth: false, width: '281px', height: '190px', styles: { block: { textAlign: 'center', }, }, }, posts: { amount: '10', withLayout: true, contentType: 'post', // 'post'|'page'|'mailpoet_page' postStatus: 'publish', // 'draft'|'pending'|'private'|'publish'|'future' inclusionType: 'include', // 'include'|'exclude' displayType: 'excerpt', // 'excerpt'|'full'|'titleOnly' titleFormat: 'h1', // 'h1'|'h2'|'h3'|'ul' titleAlignment: 'left', // 'left'|'center'|'right' titleIsLink: false, // false|true imageFullWidth: false, // true|false featuredImagePosition: 'alternate', // 'centered'|'left'|'right'|'alternate'|'none', showAuthor: 'no', // 'no'|'aboveText'|'belowText' authorPrecededBy: '"; // line 1412 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Author:"), "js"), "html", null, true); yield "', showCategories: 'no', // 'no'|'aboveText'|'belowText' categoriesPrecededBy: '"; // line 1414 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Categories:"), "js"), "html", null, true); yield "', readMoreType: 'link', // 'link'|'button' readMoreText: '"; // line 1416 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Read more"), "js"), "html", null, true); yield "', readMoreButton: { text: '"; // line 1418 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Read more"), "js"), "html", null, true); yield "', url: '[postLink]', context: 'posts.readMoreButton', styles: { block: { 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', // 'newest'|'oldest', showDivider: true, // true|false divider: { context: 'posts.divider', styles: { block: { backgroundColor: 'transparent', padding: '13px', borderStyle: 'solid', borderWidth: '3px', borderColor: '#aaaaaa', }, }, }, backgroundColor: '#ffffff', backgroundColorAlternate: '#eeeeee', }, products: { amount: '10', withLayout: true, contentType: 'product', postStatus: 'publish', // 'draft'|'pending'|'publish' inclusionType: 'include', // 'include'|'exclude' displayType: 'excerpt', // 'excerpt'|'full'|'titleOnly' titleFormat: 'h1', // 'h1'|'h2'|'h3' titleAlignment: 'left', // 'left'|'center'|'right' titleIsLink: false, // false|true imageFullWidth: false, // true|false featuredImagePosition: 'alternate', // 'centered'|'left'|'right'|'alternate'|'none', pricePosition: 'below', // 'hidden'|'above'|'below' readMoreType: 'link', // 'link'|'button' readMoreText: '"; // line 1469 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translateWithContext("Buy now", "Text of a button which links to an ecommerce product page"), "js"), "html", null, true); yield "', readMoreButton: { text: '"; // line 1471 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translateWithContext("Buy now", "Text of a button which links to an ecommerce product page"), "js"), "html", null, true); yield "', url: '[postLink]', context: 'posts.readMoreButton', styles: { block: { 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', // 'newest'|'oldest', showDivider: true, // true|false divider: { context: 'posts.divider', styles: { block: { backgroundColor: 'transparent', padding: '13px', borderStyle: 'solid', borderWidth: '3px', borderColor: '#aaaaaa', }, }, }, backgroundColor: '#ffffff', backgroundColorAlternate: '#eeeeee', }, social: { iconSet: 'default', styles: { block: { textAlign: 'center' } }, icons: [ { type: 'socialIcon', iconType: 'facebook', link: 'http://www.facebook.com', image: '"; // line 1520 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Facebook.png"); // line 1522 yield "', height: '32px', width: '32px', text: '"; // line 1525 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Facebook"), "js"), "html", null, true); yield "', }, { type: 'socialIcon', iconType: 'twitter', link: 'http://www.twitter.com', image: '"; // line 1531 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Twitter.png"); // line 1533 yield "', height: '32px', width: '32px', text: '"; // line 1536 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Twitter"), "js"), "html", null, true); yield "', }, ], }, spacer: { styles: { block: { backgroundColor: 'transparent', height: '40px', }, }, }, text: { text: '"; // line 1549 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape($this->extensions['MailPoet\Twig\I18n']->translate("Edit this to insert text."), "js"), "html", null, true); yield "', }, header: { text: '<a href=\"[link:newsletter_view_in_browser_url]\">"; // line 1552 yield $this->extensions['MailPoet\Twig\I18n']->translate("View this in your browser."); yield "</a>', styles: { block: { backgroundColor: 'transparent', }, text: { fontColor: '#222222', fontFamily: 'Arial', fontSize: '12px', textAlign: 'center', }, link: { fontColor: '#6cb7d4', textDecoration: 'underline', }, }, }, woocommerceHeading: { contents: "; // line 1570 yield json_encode(CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "email_headings", [], "any", false, false, false, 1570)); yield ", }, coupon: { type: 'coupon', discountType: "; // line 1574 yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "coupon", [], "any", false, false, false, 1574), "defaults", [], "any", false, false, false, 1574), "discountType", [], "any", false, false, false, 1574)); yield ", code: "; // line 1575 yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "coupon", [], "any", false, false, false, 1575), "defaults", [], "any", false, false, false, 1575), "code", [], "any", false, false, false, 1575)); yield ", amountMax: "; // line 1576 yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "coupon", [], "any", false, false, false, 1576), "defaults", [], "any", false, false, false, 1576), "amountMax", [], "any", false, false, false, 1576)); yield ", amount: 10, expiryDay: 10, styles: { block: { backgroundColor: '#ffffff', borderColor: '#000000', borderWidth: '1px', borderRadius: '5px', borderStyle: 'solid', width: '200px', lineHeight: '40px', fontColor: '#000000', fontFamily: 'Verdana', fontSize: '18px', fontWeight: 'normal', textAlign: 'center', }, }, }, }, shortcodes: "; // line 1597 yield json_encode(($context["shortcodes"] ?? null)); yield ", sidepanelWidth: '331px', newsletterPreview: { width: '1024px', height: '768px', previewTypeLocalStorageKey: 'newsletter_editor.preview_type' }, validation: { validateUnsubscribeLinkPresent: "; // line 1605 yield ((((($context["mss_active"] ?? null) && (($context["is_wc_transactional_email"] ?? null) != true)) && (($context["is_confirmation_email_template"] ?? null) != true))) ? ("true") : ("false")); yield ", validateReEngageLinkPresent: "; // line 1606 yield ((((($context["mss_active"] ?? null) && (($context["is_wc_transactional_email"] ?? null) != true)) && (($context["is_confirmation_email_template"] ?? null) != true))) ? ("true") : ("false")); yield ", validateActivationLinkIsPresent: "; // line 1607 yield ((($context["is_confirmation_email_template"] ?? null)) ? ("true") : ("false")); yield ", }, urls: { send: '"; // line 1610 yield admin_url(("admin.php?page=mailpoet-newsletters#/send/" . intval($this->extensions['MailPoet\Twig\Functions']->params("id")))); yield "', imageMissing: '"; // line 1611 yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/image-missing.svg"); // line 1613 yield "', }, currentUserId: '"; // line 1615 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["current_wp_user"] ?? null), "wp_user_id", [], "any", false, false, false, 1615), "html", null, true); yield "', mtaMethod: '"; // line 1616 yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_0 = (($__internal_compile_1 = ($context["settings"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["mta"] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["method"] ?? null) : null), "html", null, true); yield "', woocommerceCustomizerEnabled: "; // line 1617 yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "customizer_enabled", [], "any", false, false, false, 1617)) ? ("true") : ("false")); yield ", confirmationEmailCustomizerEnabled: "; // line 1618 yield ((($context["is_confirmation_email_customizer_enabled"] ?? null)) ? ("true") : ("false")); yield ", "; // line 1619 if (($context["is_wc_transactional_email"] ?? null)) { // line 1620 yield " overrideGlobalStyles: { text: { fontColor: "; // line 1622 yield json_encode(CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "text_color", [], "any", false, false, false, 1622)); yield ", }, h1: { fontColor: "; // line 1625 yield json_encode(CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "base_color", [], "any", false, false, false, 1625)); yield ", }, h2: { fontColor: "; // line 1628 yield json_encode(CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "base_color", [], "any", false, false, false, 1628)); yield ", }, h3: { fontColor: "; // line 1631 yield json_encode(CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "base_color", [], "any", false, false, false, 1631)); yield ", }, link: { fontColor: "; // line 1634 yield json_encode(CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "link_color", [], "any", false, false, false, 1634)); yield ", }, wrapper: { backgroundColor: "; // line 1637 yield json_encode(CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "body_background_color", [], "any", false, false, false, 1637)); yield ", }, body: { backgroundColor: "; // line 1640 yield json_encode(CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "background_color", [], "any", false, false, false, 1640)); yield ", }, woocommerce: { brandingColor: "; // line 1643 yield json_encode(CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "base_color", [], "any", false, false, false, 1643)); yield ", headingFontColor: "; // line 1644 yield json_encode(CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "base_text_color", [], "any", false, false, false, 1644)); yield ", isSavedWithUpdatedStyles: true, }, }, hiddenWidgets: ['automatedLatestContentLayout', 'header', 'footer', 'posts', 'products'], "; } // line 1650 yield " "; if (($context["is_confirmation_email_template"] ?? null)) { // line 1651 yield " hiddenWidgets: ['automatedLatestContentLayout', 'coupon', 'header', 'footer', 'posts', 'products'], "; } // line 1653 yield " coupon: "; yield json_encode(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["woocommerce"] ?? null), "coupon", [], "any", false, false, false, 1653), "config", [], "any", false, false, false, 1653)); yield ", }; wp.hooks.doAction('mailpoet_newsletters_editor_initialize', config); </script> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "newsletter/editor.html"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 2204 => 1653, 2200 => 1651, 2197 => 1650, 2188 => 1644, 2184 => 1643, 2178 => 1640, 2172 => 1637, 2166 => 1634, 2160 => 1631, 2154 => 1628, 2148 => 1625, 2142 => 1622, 2138 => 1620, 2136 => 1619, 2132 => 1618, 2128 => 1617, 2124 => 1616, 2120 => 1615, 2116 => 1613, 2114 => 1611, 2110 => 1610, 2104 => 1607, 2100 => 1606, 2096 => 1605, 2085 => 1597, 2061 => 1576, 2057 => 1575, 2053 => 1574, 2046 => 1570, 2025 => 1552, 2019 => 1549, 2003 => 1536, 1998 => 1533, 1996 => 1531, 1987 => 1525, 1982 => 1522, 1980 => 1520, 1928 => 1471, 1923 => 1469, 1869 => 1418, 1864 => 1416, 1859 => 1414, 1854 => 1412, 1828 => 1389, 1801 => 1369, 1701 => 1272, 1660 => 1234, 1655 => 1232, 1650 => 1230, 1645 => 1228, 1593 => 1179, 1588 => 1177, 1583 => 1175, 1578 => 1173, 1525 => 1123, 1521 => 1122, 1514 => 1118, 1506 => 1113, 1498 => 1108, 1490 => 1103, 1486 => 1102, 1479 => 1098, 1475 => 1097, 1468 => 1093, 1460 => 1088, 1452 => 1083, 1434 => 1067, 1432 => 1065, 1429 => 1064, 1427 => 1062, 1424 => 1061, 1422 => 1059, 1419 => 1058, 1417 => 1056, 1414 => 1055, 1412 => 1053, 1409 => 1052, 1407 => 1050, 1404 => 1049, 1402 => 1047, 1399 => 1046, 1397 => 1044, 1394 => 1043, 1392 => 1041, 1387 => 1038, 1385 => 1036, 1382 => 1035, 1380 => 1033, 1377 => 1032, 1375 => 1030, 1372 => 1029, 1370 => 1027, 1367 => 1026, 1365 => 1024, 1362 => 1023, 1360 => 1021, 1357 => 1020, 1355 => 1018, 1352 => 1017, 1350 => 1015, 1347 => 1014, 1345 => 1012, 1340 => 1009, 1338 => 1007, 1335 => 1006, 1333 => 1004, 1330 => 1003, 1328 => 1001, 1325 => 1000, 1323 => 998, 1320 => 997, 1318 => 995, 1315 => 994, 1313 => 992, 1310 => 991, 1308 => 989, 1305 => 988, 1303 => 986, 1300 => 985, 1298 => 983, 1293 => 980, 1291 => 978, 1288 => 977, 1286 => 975, 1283 => 974, 1281 => 972, 1278 => 971, 1276 => 969, 1273 => 968, 1271 => 966, 1268 => 965, 1266 => 963, 1263 => 962, 1261 => 960, 1258 => 959, 1256 => 957, 1253 => 956, 1251 => 954, 1246 => 951, 1244 => 949, 1241 => 948, 1239 => 946, 1236 => 945, 1234 => 943, 1231 => 942, 1229 => 940, 1226 => 939, 1224 => 937, 1221 => 936, 1219 => 934, 1216 => 933, 1214 => 931, 1211 => 930, 1209 => 928, 1206 => 927, 1204 => 925, 1199 => 922, 1197 => 920, 1194 => 919, 1192 => 917, 1189 => 916, 1187 => 914, 1184 => 913, 1182 => 911, 1179 => 910, 1177 => 908, 1174 => 907, 1172 => 905, 1169 => 904, 1167 => 902, 1164 => 901, 1162 => 899, 1159 => 898, 1157 => 896, 1152 => 893, 1150 => 891, 1147 => 890, 1145 => 888, 1142 => 887, 1140 => 885, 1137 => 884, 1135 => 882, 1132 => 881, 1130 => 879, 1127 => 878, 1125 => 876, 1122 => 875, 1120 => 873, 1117 => 872, 1115 => 870, 1112 => 869, 1110 => 867, 1105 => 864, 1103 => 862, 1100 => 861, 1098 => 859, 1095 => 858, 1093 => 856, 1090 => 855, 1088 => 853, 1085 => 852, 1083 => 850, 1080 => 849, 1078 => 847, 1075 => 846, 1073 => 844, 1070 => 843, 1068 => 841, 1065 => 840, 1063 => 838, 1058 => 835, 1056 => 833, 1053 => 832, 1051 => 830, 1048 => 829, 1046 => 827, 1043 => 826, 1041 => 824, 1038 => 823, 1036 => 821, 1033 => 820, 1031 => 818, 1028 => 817, 1026 => 815, 1023 => 814, 1021 => 812, 1018 => 811, 1016 => 809, 1011 => 806, 1009 => 804, 1006 => 803, 1004 => 801, 1001 => 800, 999 => 798, 996 => 797, 994 => 795, 991 => 794, 989 => 792, 986 => 791, 984 => 789, 981 => 788, 979 => 786, 976 => 785, 974 => 783, 971 => 782, 969 => 780, 963 => 776, 944 => 759, 942 => 758, 908 => 727, 904 => 726, 900 => 725, 896 => 724, 581 => 412, 578 => 411, 574 => 410, 568 => 407, 560 => 401, 558 => 400, 552 => 397, 548 => 396, 544 => 395, 514 => 368, 511 => 367, 507 => 366, 501 => 363, 499 => 360, 496 => 359, 494 => 356, 491 => 355, 489 => 352, 486 => 351, 484 => 348, 481 => 347, 479 => 344, 476 => 343, 474 => 340, 471 => 339, 469 => 336, 466 => 335, 464 => 332, 461 => 331, 459 => 328, 456 => 327, 454 => 324, 451 => 323, 449 => 320, 446 => 319, 444 => 316, 441 => 315, 439 => 312, 436 => 311, 434 => 308, 431 => 307, 429 => 304, 426 => 303, 424 => 300, 421 => 299, 419 => 296, 416 => 295, 414 => 292, 411 => 291, 409 => 288, 406 => 287, 404 => 284, 401 => 283, 399 => 280, 396 => 279, 394 => 276, 391 => 275, 389 => 272, 386 => 271, 384 => 268, 381 => 267, 379 => 264, 376 => 263, 374 => 260, 371 => 259, 369 => 256, 366 => 255, 364 => 252, 361 => 251, 359 => 248, 356 => 247, 354 => 244, 351 => 243, 349 => 240, 346 => 239, 344 => 236, 341 => 235, 339 => 232, 336 => 231, 334 => 228, 331 => 227, 329 => 224, 326 => 223, 324 => 220, 321 => 219, 319 => 216, 316 => 215, 314 => 212, 311 => 211, 309 => 208, 306 => 207, 304 => 204, 301 => 203, 299 => 200, 296 => 199, 294 => 196, 291 => 195, 289 => 192, 286 => 191, 284 => 188, 281 => 187, 279 => 184, 276 => 183, 274 => 180, 271 => 179, 269 => 176, 266 => 175, 264 => 172, 261 => 171, 259 => 168, 256 => 167, 254 => 164, 251 => 163, 249 => 160, 246 => 159, 244 => 156, 241 => 155, 239 => 152, 236 => 151, 234 => 148, 231 => 147, 229 => 144, 226 => 143, 224 => 140, 221 => 139, 219 => 136, 216 => 135, 214 => 132, 211 => 131, 209 => 128, 206 => 127, 204 => 124, 201 => 123, 199 => 120, 196 => 119, 194 => 116, 191 => 115, 189 => 112, 186 => 111, 184 => 108, 181 => 107, 179 => 104, 176 => 103, 174 => 100, 171 => 99, 169 => 96, 166 => 95, 164 => 92, 161 => 91, 159 => 88, 156 => 87, 154 => 84, 151 => 83, 149 => 80, 146 => 79, 144 => 76, 141 => 75, 139 => 72, 136 => 71, 134 => 68, 131 => 67, 129 => 64, 126 => 63, 124 => 60, 121 => 59, 119 => 56, 116 => 55, 114 => 52, 111 => 51, 109 => 48, 106 => 47, 104 => 44, 101 => 43, 99 => 40, 96 => 39, 94 => 36, 91 => 35, 89 => 32, 86 => 31, 84 => 28, 81 => 27, 79 => 24, 76 => 23, 74 => 20, 71 => 19, 69 => 16, 66 => 15, 64 => 12, 61 => 11, 59 => 8, 56 => 7, 53 => 4, 49 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "newsletter/editor.html", "/home/circleci/mailpoet/mailpoet/views/newsletter/editor.html"); } }