<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;

/* Mail/mjml/layout/base_layout.html.twig */
class __TwigTemplate_8fdc6dcbbaeff1da23f3e626fd50ee35 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
            'mjAttributes' => [$this, 'block_mjAttributes'],
            'logo' => [$this, 'block_logo'],
            'title' => [$this, 'block_title'],
            'mail_content' => [$this, 'block_mail_content'],
            'file_urls' => [$this, 'block_file_urls'],
            'footer' => [$this, 'block_footer'],
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 1
        yield "<mjml>
    <mj-head>
        <mj-font name=\"Poppins\" href=\"https://fonts.googleapis.com/css2?family=Poppins&display=block\"></mj-font>
        <mj-breakpoint width=\"710px\"></mj-breakpoint>
        <mj-attributes>
            ";
        // line 6
        yield from $this->unwrap()->yieldBlock('mjAttributes', $context, $blocks);
        // line 13
        yield "        </mj-attributes>
        <mj-style>
            .red{
            color: #F20032;
            }
            .link{
            color: #F20032;
            font-weight: bold;
            }
            .link-black{
            color: #000000;
            }
            .hide-on-mobile, .hide-on-mobile-table { display: none !important;}
            @media (min-width: 710px) { .hide-on-mobile { display: inline-block !important;} }
            @media (min-width: 710px) { .hide-on-mobile-table { display: table !important;} }
        </mj-style>
        ";
        // line 32
        yield "        <mj-style inline=\"inline\">
            blockquote {
            margin: 0 0 8px;
            padding-left: 12px;
            border-left: 2px solid #E6E5E8;
            color: #6E6B7B;
            }
        </mj-style>
    </mj-head>
    <mj-body background-color=\"#fff\" width=\"710px\">
        ";
        // line 42
        yield from $this->unwrap()->yieldBlock('logo', $context, $blocks);
        // line 51
        yield "
        ";
        // line 52
        yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
        // line 57
        yield "
        ";
        // line 58
        yield from $this->unwrap()->yieldBlock('mail_content', $context, $blocks);
        // line 65
        yield "        ";
        yield from $this->unwrap()->yieldBlock('file_urls', $context, $blocks);
        // line 70
        yield "        ";
        yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
        // line 75
        yield "
    </mj-body>
</mjml>
";
        yield from [];
    }

    // line 6
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_mjAttributes(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 7
        yield "                <mj-text padding=\"0\" font-size=\"15px\" line-height=\"1.3\"></mj-text>
                <mj-all font-family=\"Poppins, Open Sans, Helvetica, Arial, sans-serif\"></mj-all>
                <mj-class name=\"red\" color=\"#F20032;\"></mj-class>
                <mj-class name=\"h1\" font-size=\"12px\"></mj-class>
                <mj-class name=\"h2\" font-size=\"11px\"></mj-class>
            ";
        yield from [];
    }

    // line 42
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_logo(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 43
        yield "            ";
        if ((($tmp = (((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "hasBlockTitle", [], "any", true, true, false, 43) &&  !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "hasBlockTitle", [], "any", false, false, false, 43)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "hasBlockTitle", [], "any", false, false, false, 43)) : (true))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 44
            yield "                <mj-section background-color=\"#ffffff\" full-width=\"full-width\" padding=\"0\" padding-top=\"10px\">
                    <mj-column>
                        <mj-image src=\"";
            // line 46
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("logo/logo.png")), "html", null, true);
            yield "\" alt=\"Vente unique Logistic\" width=\"245px\" href=\"\" title=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.baseline", [], "common"), "html", null, true);
            yield "\"></mj-image>
                    </mj-column>
                </mj-section>
            ";
        }
        // line 50
        yield "        ";
        yield from [];
    }

    // line 52
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_title(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 53
        yield "            ";
        if ((($tmp = (((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "hasBlockTitle", [], "any", true, true, false, 53) &&  !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "hasBlockTitle", [], "any", false, false, false, 53)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "hasBlockTitle", [], "any", false, false, false, 53)) : (true))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 54
            yield "                ";
            yield Twig\Extension\CoreExtension::include($this->env, $context, "Mail/mjml/layout/embed/title.html.twig", ["options" => ($context["options"] ?? null)]);
            yield "
            ";
        }
        // line 56
        yield "        ";
        yield from [];
    }

    // line 58
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_mail_content(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 59
        yield "            ";
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "content", [], "any", true, true, false, 59)) {
            // line 60
            yield "                ";
            yield Twig\Extension\CoreExtension::include($this->env, $context, "Mail/mjml/content/base_content.html.twig", ["content" => CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "content", [], "any", false, false, false, 60)]);
            yield "
            ";
        } else {
            // line 62
            yield "                ";
            yield Twig\Extension\CoreExtension::include($this->env, $context, (("Mail/mjml/content/" . CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "template_name", [], "any", false, false, false, 62)) . ".html.twig"), ["options" => CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "template_options", [], "any", false, false, false, 62)]);
            yield "
            ";
        }
        // line 64
        yield "        ";
        yield from [];
    }

    // line 65
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_file_urls(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 66
        yield "            ";
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "presigned_urls", [], "any", true, true, false, 66) && Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "presigned_urls", [], "any", false, false, false, 66)))) {
            // line 67
            yield "                ";
            yield Twig\Extension\CoreExtension::include($this->env, $context, "Mail/mjml/content/url/url_files.twig", ["presignedUrls" => CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "presigned_urls", [], "any", false, false, false, 67)]);
            yield "
            ";
        }
        // line 69
        yield "        ";
        yield from [];
    }

    // line 70
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_footer(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 71
        yield "            ";
        yield Twig\Extension\CoreExtension::include($this->env, $context, "Mail/mjml/layout/embed/divider.html.twig");
        yield "

            ";
        // line 73
        yield Twig\Extension\CoreExtension::include($this->env, $context, "Mail/mjml/layout/embed/spacer.html.twig");
        yield "
        ";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "Mail/mjml/layout/base_layout.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  240 => 73,  234 => 71,  227 => 70,  222 => 69,  216 => 67,  213 => 66,  206 => 65,  201 => 64,  195 => 62,  189 => 60,  186 => 59,  179 => 58,  174 => 56,  168 => 54,  165 => 53,  158 => 52,  153 => 50,  144 => 46,  140 => 44,  137 => 43,  130 => 42,  120 => 7,  113 => 6,  105 => 75,  102 => 70,  99 => 65,  97 => 58,  94 => 57,  92 => 52,  89 => 51,  87 => 42,  75 => 32,  57 => 13,  55 => 6,  48 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "Mail/mjml/layout/base_layout.html.twig", "/var/www/fulfillment/api/templates/Mail/mjml/layout/base_layout.html.twig");
    }
}
