<?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_807659473d17914489fdc67a6e53be91 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>
    </mj-head>
    <mj-body background-color=\"#fff\" width=\"710px\">
        ";
        // line 31
        yield from $this->unwrap()->yieldBlock('logo', $context, $blocks);
        // line 40
        yield "
        ";
        // line 41
        yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
        // line 46
        yield "
        ";
        // line 47
        yield from $this->unwrap()->yieldBlock('mail_content', $context, $blocks);
        // line 54
        yield "        ";
        yield from $this->unwrap()->yieldBlock('file_urls', $context, $blocks);
        // line 59
        yield "        ";
        yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
        // line 64
        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 31
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_logo(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 32
        yield "            ";
        if ((($tmp = (((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "hasBlockTitle", [], "any", true, true, false, 32) &&  !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "hasBlockTitle", [], "any", false, false, false, 32)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "hasBlockTitle", [], "any", false, false, false, 32)) : (true))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 33
            yield "                <mj-section background-color=\"#ffffff\" full-width=\"full-width\" padding=\"0\" padding-top=\"10px\">
                    <mj-column>
                        <mj-image src=\"";
            // line 35
            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 39
        yield "        ";
        yield from [];
    }

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

    // line 47
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_mail_content(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 48
        yield "            ";
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "content", [], "any", true, true, false, 48)) {
            // line 49
            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, 49)]);
            yield "
            ";
        } else {
            // line 51
            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, 51)) . ".html.twig"), ["options" => CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "template_options", [], "any", false, false, false, 51)]);
            yield "
            ";
        }
        // line 53
        yield "        ";
        yield from [];
    }

    // line 54
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_file_urls(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 55
        yield "            ";
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "presigned_urls", [], "any", true, true, false, 55) && Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "presigned_urls", [], "any", false, false, false, 55)))) {
            // line 56
            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, 56)]);
            yield "
            ";
        }
        // line 58
        yield "        ";
        yield from [];
    }

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

            ";
        // line 62
        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 (  230 => 62,  224 => 60,  217 => 59,  212 => 58,  206 => 56,  203 => 55,  196 => 54,  191 => 53,  185 => 51,  179 => 49,  176 => 48,  169 => 47,  164 => 45,  158 => 43,  155 => 42,  148 => 41,  143 => 39,  134 => 35,  130 => 33,  127 => 32,  120 => 31,  110 => 7,  103 => 6,  95 => 64,  92 => 59,  89 => 54,  87 => 47,  84 => 46,  82 => 41,  79 => 40,  77 => 31,  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");
    }
}
