var/cache/dev/twig/3c/3c356c357f426a5db4f12f8bf40d346733ea6b391895f8766cfbc4f3a6d26c8e.php line 42

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* front_v4/mca/blog/single.html.twig */
  14. class __TwigTemplate_999a0cfdeaec26d660e5b96b63cea6cb285671cf07b88a116520df4594b46ecd extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'meta_title' => [$this'block_meta_title'],
  24.             'meta_description' => [$this'block_meta_description'],
  25.             'meta_custom' => [$this'block_meta_custom'],
  26.             'content' => [$this'block_content'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "front_v4/base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front_v4/mca/blog/single.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front_v4/mca/blog/single.html.twig"));
  42.         // line 11
  43.         $context["blogCategoryId"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'11$this->source); })()), "blogCategory", [], "any"falsefalsefalse11), "id", [], "any"falsefalsefalse11);
  44.         // line 12
  45.         $context["isBlogCategoryThemeAudio"] = false;
  46.         // line 13
  47.         if (((((isset($context["blogCategoryId"]) || array_key_exists("blogCategoryId"$context) ? $context["blogCategoryId"] : (function () { throw new RuntimeError('Variable "blogCategoryId" does not exist.'13$this->source); })()) == 3) || ((isset($context["blogCategoryId"]) || array_key_exists("blogCategoryId"$context) ? $context["blogCategoryId"] : (function () { throw new RuntimeError('Variable "blogCategoryId" does not exist.'13$this->source); })()) == 4)) || ((isset($context["blogCategoryId"]) || array_key_exists("blogCategoryId"$context) ? $context["blogCategoryId"] : (function () { throw new RuntimeError('Variable "blogCategoryId" does not exist.'13$this->source); })()) == 5))) {
  48.             // line 14
  49.             $context["isBlogCategoryThemeAudio"] = true;
  50.         }
  51.         // line 1
  52.         $this->parent $this->loadTemplate("front_v4/base.html.twig""front_v4/mca/blog/single.html.twig"1);
  53.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  54.         
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  56.         
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  58.     }
  59.     // line 3
  60.     public function block_meta_title($context, array $blocks = [])
  61.     {
  62.         $macros $this->macros;
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_title"));
  67.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'3$this->source); })()), "metaTitle", [], "any"falsefalsefalse3), "html"nulltrue);
  68.         
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  70.         
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  72.     }
  73.     // line 4
  74.     public function block_meta_description($context, array $blocks = [])
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  79.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  81.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'4$this->source); })()), "metaDescription", [], "any"falsefalsefalse4), "html"nulltrue);
  82.         
  83.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  84.         
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  86.     }
  87.     // line 6
  88.     public function block_meta_custom($context, array $blocks = [])
  89.     {
  90.         $macros $this->macros;
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  92.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_custom"));
  93.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  94.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_custom"));
  95.         // line 7
  96.         echo "    ";
  97.         $this->loadTemplate("/front_v4/mca/blog/_balise_schema_org.html.twig""front_v4/mca/blog/single.html.twig"7)->display(twig_array_merge($context, ["post" => (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'7$this->source); })())]));
  98.         
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  100.         
  101.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  102.     }
  103.     // line 18
  104.     public function block_content($context, array $blocks = [])
  105.     {
  106.         $macros $this->macros;
  107.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  108.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  109.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  110.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  111.         // line 19
  112.         echo "    <main id=\"content\" role=\"main\">
  113.         <!-- Header Img BG -->
  114.         <div class=\"bg-img-center gradient-y-overlay-sm-gray-900\"
  115.              style=\"background-image: url(";
  116.         // line 22
  117.         if (twig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'22$this->source); })()), "filename", [], "any"falsefalsefalse22)) {
  118.             echo " ";
  119.             echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'22$this->source); })()), "imageFile"), "blog_post_main"), "html"nulltrue);
  120.             echo "  ";
  121.         }
  122.         echo ");\">
  123.             <div class=\"container content-space-2 content-space-lg-3\">
  124.                 <div class=\"w-lg-30 text-center mx-lg-auto\">
  125.                     <div class=\"mb-4\">
  126.                         <h1 class=\"h4 display-4 text-white mb-3\">";
  127.         // line 26
  128.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'26$this->source); })()), "title", [], "any"falsefalsefalse26), "html"nulltrue);
  129.         echo "</h1>
  130.                     </div>
  131.                 </div>
  132.             </div>
  133.         </div>
  134.         <!-- End Header Img BG -->
  135.         <!-- Content Article -->
  136.         <div class=\"row justify-content-end\">
  137.             <div class=\"col-lg-9 my-2 my-md-7 mb-md-0\">
  138.                 <!-- Article Description -->
  139.                 <div class=\"container-fluid content-space-t-1 content-space-b-lg-2\">
  140.                     <div class=\"w-lg-85 mx-lg-auto\">
  141.                         <div class=\"row align-items-sm-center mb-5\">
  142.                             <div class=\"col-sm-7 mb-4 mb-sm-0\">
  143.                                 <!-- Media -->
  144.                                 <div class=\"d-flex align-items-center\">
  145.                                     <div class=\"flex-shrink-0\">
  146.                                         <img class=\"avatar avatar-circle\"
  147.                                              src=\"";
  148.         // line 44
  149.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'44$this->source); })()), "blogAuthor", [], "any"falsefalsefalse44), "filename", [], "any"falsefalsefalse44)) {
  150.             echo " ";
  151.             echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset(twig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'44$this->source); })()), "blogAuthor", [], "any"falsefalsefalse44), "imageFile"), "author_image_small"), "html"nulltrue);
  152.             echo " ";
  153.         }
  154.         echo "\"
  155.                                              alt=\"";
  156.         // line 45
  157.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'45$this->source); })()), "blogAuthor", [], "any"falsefalsefalse45), "firstname", [], "any"falsefalsefalse45), "html"nulltrue);
  158.         echo "\">
  159.                                     </div>
  160.                                     <div class=\"flex-grow-1 ms-3\">
  161.                                         <h5 class=\"mb-0\">
  162.                                             <a class=\"text-dark\"
  163.                                                href=\"";
  164.         // line 50
  165.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_author_show", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'50$this->source); })()), "blogAuthor", [], "any"falsefalsefalse50), "id", [], "any"falsefalsefalse50)]), "html"nulltrue);
  166.         echo "\">";
  167.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'50$this->source); })()), "blogAuthor", [], "any"falsefalsefalse50), "firstname", [], "any"falsefalsefalse50), "html"nulltrue);
  168.         echo "</a>
  169.                                         </h5>
  170.                                         <span class=\"d-block small\">";
  171.         // line 52
  172.         echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->envtwig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'52$this->source); })()), "createdAt", [], "any"falsefalsefalse52), "medium"), "html"nulltrue);
  173.         echo "</span>
  174.                                     </div>
  175.                                 </div>
  176.                                 <!-- End Media -->
  177.                             </div>
  178.                             <!-- End Col -->
  179.                         </div>
  180.                         <!-- End Row -->
  181.                     </div>
  182.                     <!-- Body Content Main -->
  183.                     <div class=\"w-lg-85 mx-lg-auto\">
  184.                         ";
  185.         // line 64
  186.         echo twig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'64$this->source); })()), "body", [], "any"falsefalsefalse64);
  187.         echo "
  188.                     </div>
  189.                     <!-- End Body Content Main -->
  190.                     <!-- CTA -->
  191.                     <div class=\"container py-5 mb-3\">
  192.                         <div class=\"w-lg-75 mx-lg-auto\">
  193.                             <div class=\"card card-sm overflow-hidden\">
  194.                                 <!-- Card -->
  195.                                 <div class=\"card-body\">
  196.                                     <div class=\"row justify-content-md-start align-items-md-center text-center text-md-start\">
  197.                                         <div class=\"col-md offset-md-3 mb-3 mb-md-0\">
  198.                                             <h4 class=\"card-title\">
  199.                                                 ";
  200.         // line 77
  201.         if ((isset($context["isBlogCategoryThemeAudio"]) || array_key_exists("isBlogCategoryThemeAudio"$context) ? $context["isBlogCategoryThemeAudio"] : (function () { throw new RuntimeError('Variable "isBlogCategoryThemeAudio" does not exist.'77$this->source); })())) {
  202.             // line 78
  203.             echo "                                                    Testez vos futurs appareils auditifs
  204.                                                 ";
  205.         } else {
  206.             // line 80
  207.             echo "                                                    Réalisez votre bilan auditif<sup class=\"text-sm\"> (1)</sup> gratuit
  208.                                                 ";
  209.         }
  210.         // line 82
  211.         echo "                                            </h4>
  212.                                         </div>
  213.                                         <div class=\"col-md-auto\">
  214.                                             <a class=\"btn btn-warning btn-transition\" href=\"#bilan-test-gratuit\">Réservez un RDV</a>
  215.                                         </div>
  216.                                     </div>
  217.                                     <!-- SVG Shape -->
  218.                                     <figure class=\"w-25 d-none d-md-block position-absolute top-0 start-0 mt-n2\">
  219.                                         <svg viewBox=\"0 0 451 902\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  220.                                             <path opacity=\"0.125\" d=\"M0 82C203.8 82 369 247.2 369 451C369 654.8 203.8 820 0 820\" stroke=\"url(#paint2_linear)\" stroke-width=\"164\" stroke-miterlimit=\"10\"/>
  221.                                             <defs>
  222.                                                 <linearGradient id=\"paint2_linear\" x1=\"323.205\" y1=\"785.242\" x2=\"-97.6164\" y2=\"56.3589\" gradientUnits=\"userSpaceOnUse\">
  223.                                                     <stop offset=\"0\" stop-color=\"white\" stop-opacity=\"0\"/>
  224.                                                     <stop offset=\"1\" stop-color=\"#377dff\"/>
  225.                                                 </linearGradient>
  226.                                             </defs>
  227.                                         </svg>
  228.                                     </figure>
  229.                                     <!-- End SVG Shape -->
  230.                                 </div>
  231.                                 <!-- End Card -->
  232.                             </div>
  233.                         </div>
  234.                     </div>
  235.                     <!-- End CTA -->
  236.                     <!-- Body Content Second -->
  237.                     <div class=\"w-lg-85 mx-lg-auto\">
  238.                         ";
  239.         // line 112
  240.         echo twig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'112$this->source); })()), "bodySecond", [], "any"falsefalsefalse112);
  241.         echo "
  242.                     </div>
  243.                     <!-- End Body Content Second -->
  244.                     <div class=\"w-lg-85 mx-lg-auto\">
  245.                         <!-- Card -->
  246.                         <div class=\"card bg-dark text-center my-4\"
  247.                              style=\"background-image: url(";
  248.         // line 119
  249.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/front_v4/svg/components/wave-pattern-light.svg"), "html"nulltrue);
  250.         echo ");\">
  251.                             <div class=\"card-body\">
  252.                                 <h4 class=\"text-white\">Vous avez aimé cette article ?</h4>
  253.                                 <p class=\"text-white mb-4\">Suivez-nous sur <a class=\"link\"
  254.                                                                               href=\"https://www.facebook.com/MonCentreAuditif/\">Facebook</a>
  255.                                     et <a class=\"link\"
  256.                                           href=\"https://www.linkedin.com/company/auditif/\">Linkedin</a> pour rester
  257.                                     informé.
  258.                                 </p>
  259.                             </div>
  260.                         </div>
  261.                         <!-- End Card -->
  262.                     </div>
  263.                     <!-- Sticky Block End Point -->
  264.                     <div id=\"stickyBlockEndPoint\"></div>
  265.                 </div>
  266.                 <!-- End Article Description -->
  267.             </div>
  268.             <div class=\"col-lg-3 position-relative zi-2 my-3 my-md-7 mb-md-0 px-4\">
  269.                 <!-- Sticky Block Start Point -->
  270.                 <div id=\"stickyBlockStartPoint\"></div>
  271.                 <div class=\"js-sticky-block\"
  272.                      data-hs-sticky-block-options='{
  273.                  \"parentSelector\": \"#stickyBlockStartPoint\",
  274.                  \"targetSelector\": \"#header\",
  275.                  \"breakpoint\": \"md\",
  276.                  \"startPoint\": \"#stickyBlockStartPoint\",
  277.                  \"endPoint\": \"#stickyBlockEndPoint\",
  278.                  \"stickyOffsetTop\": 80
  279.                }'>
  280.                     <!-- CTA Card -->
  281.                     <div class=\"card my-3 my-lg-5\">
  282.                         <div class=\"p-1\">
  283.                             <a href=\"";
  284.         // line 152
  285.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'152$this->source); })()), "request", [], "any"falsefalsefalse152), "schemeAndHttpHost", [], "any"falsefalsefalse152) . "/") . twig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'152$this->source); })()), "ctaLinkPath", [], "any"falsefalsefalse152)), "html"nulltrue);
  286.         echo "\">
  287.                                 <!-- Fancybox -->
  288.                                 <div class=\"bg-img-start text-center rounded-2 py-3 py-md-5 px-5 gradient-y-lg-white\"
  289.                                      style=\"background-image: url(";
  290.         // line 155
  291.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/front_v4/svg/components/card-11.svg"), "html"nulltrue);
  292.         echo ");\">
  293.                                     <span class=\"d-flex justify-content-center align-items-center\"></span>
  294.                                     <span class=\"h3 text-primary\">
  295.                                         ";
  296.         // line 158
  297.         if ((isset($context["isBlogCategoryThemeAudio"]) || array_key_exists("isBlogCategoryThemeAudio"$context) ? $context["isBlogCategoryThemeAudio"] : (function () { throw new RuntimeError('Variable "isBlogCategoryThemeAudio" does not exist.'158$this->source); })())) {
  298.             // line 159
  299.             echo "                                            Testez vos futurs appareils auditifs
  300.                                         ";
  301.         } else {
  302.             // line 161
  303.             echo "                                            Réalisez votre bilan auditif<sup class=\"text-sm\"> (1)</sup>
  304.                                         ";
  305.         }
  306.         // line 163
  307.         echo "                                    </span>
  308.                                     <p class=\"h2 text-primary fw-bold py-2\">
  309.                                         100% gratuit
  310.                                     </p>
  311.                                 </div>
  312.                                 <!-- End Fancybox -->
  313.                             </a>
  314.                         </div>
  315.                         <!-- Card Body -->
  316.                         <div class=\"card-body\">
  317.                             <div class=\"d-grid mb-2\">
  318.                                 <a class=\"btn btn-warning btn-transition\" href=\"#bilan-test-gratuit\">Réservez un RDV</a>
  319.                             </div>
  320.                             <div class=\"text-center\">
  321.                                 <p class=\"card-text small\">Un test sans engagement et non médical.</p>
  322.                             </div>
  323.                         </div>
  324.                         <!-- End CTA Card Body -->
  325.                     </div>
  326.                     <!-- End Card -->
  327.                     ";
  328.         // line 184
  329.         if ((array_key_exists("relatedCategoryPosts"$context) &&  !twig_test_empty((isset($context["relatedCategoryPosts"]) || array_key_exists("relatedCategoryPosts"$context) ? $context["relatedCategoryPosts"] : (function () { throw new RuntimeError('Variable "relatedCategoryPosts" does not exist.'184$this->source); })())))) {
  330.             // line 185
  331.             echo "                        <div class=\"d-none d-lg-block my-5 my-lg-5\">
  332.                             <div class=\"mb-3\">
  333.                                 <h3>Articles similaires :</h3>
  334.                             </div>
  335.                             <div class=\"d-grid gap-2\">
  336.                                 ";
  337.             // line 191
  338.             $context['_parent'] = $context;
  339.             $context['_seq'] = twig_ensure_traversable((isset($context["relatedCategoryPosts"]) || array_key_exists("relatedCategoryPosts"$context) ? $context["relatedCategoryPosts"] : (function () { throw new RuntimeError('Variable "relatedCategoryPosts" does not exist.'191$this->source); })()));
  340.             foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  341.                 // line 192
  342.                 echo "                                    <!-- Card -->
  343.                                     <a class=\"d-block\" href=\"";
  344.                 // line 193
  345.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_post_show", ["slug" => twig_get_attribute($this->env$this->source$context["post"], "slug", [], "any"falsefalsefalse193)]), "html"nulltrue);
  346.                 echo "\">
  347.                                         <div class=\"d-flex align-items-center\">
  348.                                             <div class=\"flex-shrink-0\">
  349.                                                 <div class=\"avatar avatar-lg\">
  350.                                                     <img class=\"avatar-img\"
  351.                                                          src=\"";
  352.                 // line 198
  353.                 if (twig_get_attribute($this->env$this->source$context["post"], "filename", [], "any"falsefalsefalse198)) {
  354.                     echo " ";
  355.                     echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset($context["post"], "imageFile"), "blog_post_small"), "html"nulltrue);
  356.                     echo " ";
  357.                 }
  358.                 echo "\"
  359.                                                          alt=\"";
  360.                 // line 199
  361.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse199), "html"nulltrue);
  362.                 echo "\">
  363.                                                 </div>
  364.                                             </div>
  365.                                             <div class=\"flex-grow-1 ms-3\">
  366.                                                 <h5 class=\"text-inherit mb-0\">";
  367.                 // line 203
  368.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse203), "html"nulltrue);
  369.                 echo "</h5>
  370.                                             </div>
  371.                                         </div>
  372.                                     </a>
  373.                                     <!-- End Card -->
  374.                                 ";
  375.             }
  376.             $_parent $context['_parent'];
  377.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  378.             $context array_intersect_key($context$_parent) + $_parent;
  379.             // line 209
  380.             echo "                            </div>
  381.                         </div>
  382.                     ";
  383.         }
  384.         // line 212
  385.         echo "                </div>
  386.                 <!-- End Sticky Block -->
  387.             </div>
  388.         </div>
  389.         <!-- Header Content Article -->
  390.         <div id=\"bilan-test-gratuit\" class=\"bg-dark\" style=\"background-image: url(";
  391.         // line 218
  392.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/front_v4/svg/components/wave-pattern-light.svg"), "html"nulltrue);
  393.         echo ");\">
  394.             <div class=\"w-85 w-lg-65 w-xl-50 mx-auto py-5 py-lg-10\">
  395.                 <div class=\"card\">
  396.                     <div class=\"card-body\">
  397.                         ";
  398.         // line 222
  399.         if ((isset($context["isBlogCategoryThemeAudio"]) || array_key_exists("isBlogCategoryThemeAudio"$context) ? $context["isBlogCategoryThemeAudio"] : (function () { throw new RuntimeError('Variable "isBlogCategoryThemeAudio" does not exist.'222$this->source); })())) {
  400.             // line 223
  401.             echo "                            ";
  402.             $context["introText"] = "
  403.                              <div class=\"mb-4\">
  404.                                 <p class=\"h2 text-primary fw-semibold text-center\">Testez gratuitement vos futurs appareils auditifs</h1>
  405.                                 <p class=\"lead text-center\" style=\"font-size: 1.125rem;\">
  406.                                     Sans engagement, 100% gratuit. Découvrez le confort d’une meilleure audition.
  407.                                     <br>
  408.                                     <strong>Complétez le formulaire</strong> ci-dessous pour réserver votre essai.
  409.                                 </p>
  410.                             </div>
  411.                                 ";
  412.             // line 233
  413.             echo "                        ";
  414.         } else {
  415.             // line 234
  416.             echo "                            ";
  417.             // line 235
  418.             echo "                            ";
  419.             $context["introText"] = "
  420.                              <div class=\"mb-4\">
  421.                                 <p class=\"h2 text-primary text-center fw-semibold text-center\">Demandez votre bilan auditif<sup>(1)</sup> gratuit</h1>
  422.                                 <p class=\"lead text-center\" style=\"font-size: 1.125rem;\">
  423.                                     Un test non médical, 100% gratuit, pour évaluer votre audition près de chez vous.
  424.                                     <br>
  425.                                     <strong>Remplissez le formulaire</strong> ci-dessous pour en bénéficier.
  426.                                 </p>
  427.                             </div>
  428.                                 ";
  429.             // line 245
  430.             echo "                        ";
  431.         }
  432.         // line 246
  433.         echo "
  434.                         ";
  435.         // line 247
  436.         $this->loadTemplate("front_v4/mca/landing_page/form/_wrapper_form_lp_prospect.html.twig""front_v4/mca/blog/single.html.twig"247)->display($context);
  437.         // line 248
  438.         echo "                    </div>
  439.                 </div>
  440.             </div>
  441.         </div>
  442.         <!-- Card Grid -->
  443.         <div class=\"container\">
  444.             <div class=\"border-top content-space-2 mx-lg-auto\">
  445.                 <!-- Heading -->
  446.                 <div class=\"mb-3 mb-sm-5\">
  447.                     <h2>Notre sélection d'articles</h2>
  448.                 </div>
  449.                 <!-- End Heading -->
  450.                 <div class=\"row\">
  451.                     ";
  452.         // line 262
  453.         $context['_parent'] = $context;
  454.         $context['_seq'] = twig_ensure_traversable((isset($context["pilarPosts"]) || array_key_exists("pilarPosts"$context) ? $context["pilarPosts"] : (function () { throw new RuntimeError('Variable "pilarPosts" does not exist.'262$this->source); })()));
  455.         $context['loop'] = [
  456.           'parent' => $context['_parent'],
  457.           'index0' => 0,
  458.           'index'  => 1,
  459.           'first'  => true,
  460.         ];
  461.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  462.             $length count($context['_seq']);
  463.             $context['loop']['revindex0'] = $length 1;
  464.             $context['loop']['revindex'] = $length;
  465.             $context['loop']['length'] = $length;
  466.             $context['loop']['last'] = === $length;
  467.         }
  468.         foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
  469.             // line 263
  470.             echo "                        ";
  471.             if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse263) % != 0)) {
  472.                 // line 264
  473.                 echo "                            <div class=\"col-sm-6 col-lg-4 mb-4\">
  474.                                 <a href=\"";
  475.                 // line 265
  476.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_post_show", ["slug" => twig_get_attribute($this->env$this->source$context["post"], "slug", [], "any"falsefalsefalse265)]), "html"nulltrue);
  477.                 echo "\">
  478.                                     <!-- Card -->
  479.                                     <div class=\"card h-100\">
  480.                                         <div class=\"shape-container\">
  481.                                             <img class=\"card-img-top\"
  482.                                                  src=\"";
  483.                 // line 270
  484.                 if (twig_get_attribute($this->env$this->source, (isset($context["blogPost"]) || array_key_exists("blogPost"$context) ? $context["blogPost"] : (function () { throw new RuntimeError('Variable "blogPost" does not exist.'270$this->source); })()), "filename", [], "any"falsefalsefalse270)) {
  485.                     echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset($context["post"], "imageFile"), "blog_post_medium"), "html"nulltrue);
  486.                 }
  487.                 echo "\"
  488.                                                  alt=\"";
  489.                 // line 271
  490.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse271), "html"nulltrue);
  491.                 echo "\">
  492.                                             <!-- Shape -->
  493.                                             <div class=\"shape shape-bottom zi-1\" style=\"margin-bottom: -.25rem\">
  494.                                                 <svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\"
  495.                                                      viewBox=\"0 0 1920 100.1\">
  496.                                                     <path fill=\"#fff\"
  497.                                                           d=\"M0,0c0,0,934.4,93.4,1920,0v100.1H0L0,0z\"></path>
  498.                                                 </svg>
  499.                                             </div>
  500.                                             <!-- End Shape -->
  501.                                         </div>
  502.                                         <!-- Card Body -->
  503.                                         <div class=\"card-body p-3\">
  504.                                             <h4 class=\"card-title text-dark\">";
  505.                 // line 285
  506.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse285), "html"nulltrue);
  507.                 echo "</h4>
  508.                                             <p class=\"card-text\">";
  509.                 // line 286
  510.                 echo twig_nl2br(twig_truncate_filter($this->envtwig_striptags(twig_get_attribute($this->env$this->source$context["post"], "body", [], "any"falsefalsefalse286)), 80true));
  511.                 echo "</p>
  512.                                         </div>
  513.                                         <!-- End Card Body -->
  514.                                         <!-- Card Footer -->
  515.                                         <div class=\"card-footer\">
  516.                                             <div class=\"d-flex align-items-center justify-content-between\">
  517.                                                     <span class=\"avatar avatar-circle\">
  518.                                                         <img class=\"avatar-img\"
  519.                                                              src=\"";
  520.                 // line 295
  521.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse295), "filename", [], "any"falsefalsefalse295)) {
  522.                     echo " ";
  523.                     echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset(twig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse295), "imageFile"), "author_image_small"), "html"nulltrue);
  524.                     echo " ";
  525.                 }
  526.                 echo "\"
  527.                                                              alt=\"";
  528.                 // line 296
  529.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse296), "firstname", [], "any"falsefalsefalse296), "html"nulltrue);
  530.                 echo "\">
  531.                                                     </span>
  532.                                                     <div class=\"flex-grow-1\">
  533.                                                         <div class=\"d-flex justify-content-end\">
  534.                                                             <p class=\"card-text\">";
  535.                 // line 300
  536.                 echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->envtwig_get_attribute($this->env$this->source$context["post"], "createdAt", [], "any"falsefalsefalse300), "medium"), "html"nulltrue);
  537.                 echo "</p>
  538.                                                         </div>
  539.                                                     </div>
  540.                                             </div>
  541.                                         </div>
  542.                                         <!-- End Card Footer -->
  543.                                     </div>
  544.                                     <!-- End Card -->
  545.                                 </a>
  546.                             </div>
  547.                             <!-- End Col -->
  548.                         ";
  549.             } else {
  550.                 // line 312
  551.                 echo "                            <div class=\"col-sm-6 col-lg-4 mb-4\">
  552.                                 <a href=\"";
  553.                 // line 313
  554.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog_post_show", ["slug" => twig_get_attribute($this->env$this->source$context["post"], "slug", [], "any"falsefalsefalse313)]), "html"nulltrue);
  555.                 echo "\">
  556.                                     <!-- Card -->
  557.                                     <div class=\"card bg-dark h-100\"
  558.                                          style=\"background-image: url(";
  559.                 // line 316
  560.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/front_v4/svg/components/wave-pattern-light.svg"), "html"nulltrue);
  561.                 echo ");\">
  562.                                         <!-- Card Body -->
  563.                                         <div class=\"card-body p-3 py-5\">
  564.                                             <div class=\"mb-5\">
  565.                                                 <span class=\"badge bg-primary\">Sélection du mois</span>
  566.                                             </div>
  567.                                             <h3 class=\"card-title text-white\">";
  568.                 // line 323
  569.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["post"], "title", [], "any"falsefalsefalse323), "html"nulltrue);
  570.                 echo "</h3>
  571.                                             <p class=\"text-white-70\">";
  572.                 // line 324
  573.                 echo twig_nl2br(twig_truncate_filter($this->envtwig_striptags(twig_get_attribute($this->env$this->source$context["post"], "body", [], "any"falsefalsefalse324)), 180true));
  574.                 echo "</p>
  575.                                         </div>
  576.                                         <!-- End Card Body -->
  577.                                         <!-- Card Footer -->
  578.                                         <div class=\"card-footer\">
  579.                                             <div class=\"d-flex align-items-center\">
  580.                                                 <div class=\"flex-shrink-0\">
  581.                                                     <div class=\"avatar avatar-circle\">
  582.                                                         <img class=\"avatar-img\"
  583.                                                              src=\"";
  584.                 // line 334
  585.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse334), "filename", [], "any"falsefalsefalse334)) {
  586.                     echo " ";
  587.                     echo twig_escape_filter($this->env$this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset(twig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse334), "imageFile"), "author_image_small"), "html"nulltrue);
  588.                     echo " ";
  589.                 }
  590.                 echo "\"
  591.                                                              alt=\"";
  592.                 // line 335
  593.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["post"], "blogAuthor", [], "any"falsefalsefalse335), "firstname", [], "any"falsefalsefalse335), "html"nulltrue);
  594.                 echo "\">
  595.                                                     </div>
  596.                                                 </div>
  597.                                                 <div class=\"flex-grow-1\">
  598.                                                     <div class=\"d-flex justify-content-end\">
  599.                                                         <p class=\"card-text text-white-70\">";
  600.                 // line 341
  601.                 echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->envtwig_get_attribute($this->env$this->source$context["post"], "createdAt", [], "any"falsefalsefalse341), "medium"), "html"nulltrue);
  602.                 echo "</p>
  603.                                                     </div>
  604.                                                 </div>
  605.                                             </div>
  606.                                         </div>
  607.                                         <!-- End Card Footer -->
  608.                                     </div>
  609.                                     <!-- End Card -->
  610.                                 </a>
  611.                             </div>
  612.                             <!-- End Col -->
  613.                         ";
  614.             }
  615.             // line 353
  616.             echo "                    ";
  617.             ++$context['loop']['index0'];
  618.             ++$context['loop']['index'];
  619.             $context['loop']['first'] = false;
  620.             if (isset($context['loop']['length'])) {
  621.                 --$context['loop']['revindex0'];
  622.                 --$context['loop']['revindex'];
  623.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  624.             }
  625.         }
  626.         $_parent $context['_parent'];
  627.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
  628.         $context array_intersect_key($context$_parent) + $_parent;
  629.         // line 354
  630.         echo "                </div>
  631.                 <!-- End Row -->
  632.             </div>
  633.             <!-- End Card Grid -->
  634.         </div>
  635.         <!-- End Card Grid -->
  636.     </main>
  637.     <!-- ========== END MAIN CONTENT ========== -->
  638. ";
  639.         
  640.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  641.         
  642.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  643.     }
  644.     // line 364
  645.     public function block_javascripts($context, array $blocks = [])
  646.     {
  647.         $macros $this->macros;
  648.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  649.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  650.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  651.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  652.         // line 365
  653.         echo "    <script
  654.             src=\"https://code.jquery.com/jquery-3.7.1.min.js\"
  655.             integrity=\"sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=\"
  656.             crossorigin=\"anonymous\"></script>
  657.     ";
  658.         // line 369
  659.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("format_form_prospect");
  660.         echo "
  661.     ";
  662.         // line 370
  663.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("blog_single");
  664.         echo "
  665. ";
  666.         
  667.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  668.         
  669.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  670.     }
  671.     public function getTemplateName()
  672.     {
  673.         return "front_v4/mca/blog/single.html.twig";
  674.     }
  675.     public function isTraitable()
  676.     {
  677.         return false;
  678.     }
  679.     public function getDebugInfo()
  680.     {
  681.         return array (  712 => 370,  708 => 369,  702 => 365,  692 => 364,  674 => 354,  660 => 353,  645 => 341,  636 => 335,  628 => 334,  615 => 324,  611 => 323,  601 => 316,  595 => 313,  592 => 312,  577 => 300,  570 => 296,  562 => 295,  550 => 286,  546 => 285,  529 => 271,  523 => 270,  515 => 265,  512 => 264,  509 => 263,  492 => 262,  476 => 248,  474 => 247,  471 => 246,  468 => 245,  456 => 235,  454 => 234,  451 => 233,  439 => 223,  437 => 222,  430 => 218,  422 => 212,  417 => 209,  405 => 203,  398 => 199,  390 => 198,  382 => 193,  379 => 192,  375 => 191,  367 => 185,  365 => 184,  342 => 163,  338 => 161,  334 => 159,  332 => 158,  326 => 155,  320 => 152,  284 => 119,  274 => 112,  242 => 82,  238 => 80,  234 => 78,  232 => 77,  216 => 64,  201 => 52,  194 => 50,  186 => 45,  178 => 44,  157 => 26,  146 => 22,  141 => 19,  131 => 18,  120 => 7,  110 => 6,  91 => 4,  72 => 3,  61 => 1,  58 => 14,  56 => 13,  54 => 12,  52 => 11,  39 => 1,);
  682.     }
  683.     public function getSourceContext()
  684.     {
  685.         return new Source("{% extends 'front_v4/base.html.twig' %}
  686. {% block meta_title %}{{ blogPost.metaTitle }}{% endblock meta_title %}
  687. {% block meta_description %}{{ blogPost.metaDescription }}{% endblock meta_description %}
  688. {% block meta_custom %}
  689.     {% include '/front_v4/mca/blog/_balise_schema_org.html.twig' with {'post': blogPost} %}
  690. {% endblock meta_custom %}
  691. {# Add custom text (CTA + form) depend on theme of blogCategory #}
  692. {% set blogCategoryId = blogPost.blogCategory.id %}
  693. {% set isBlogCategoryThemeAudio = false %}
  694. {% if blogCategoryId == 3 or blogCategoryId == 4 or blogCategoryId == 5 %}
  695.     {% set isBlogCategoryThemeAudio = true %}
  696. {% endif %}
  697. {% block content %}
  698.     <main id=\"content\" role=\"main\">
  699.         <!-- Header Img BG -->
  700.         <div class=\"bg-img-center gradient-y-overlay-sm-gray-900\"
  701.              style=\"background-image: url({% if blogPost.filename %} {{ vich_uploader_asset(blogPost, 'imageFile') | imagine_filter('blog_post_main') }}  {% endif %});\">
  702.             <div class=\"container content-space-2 content-space-lg-3\">
  703.                 <div class=\"w-lg-30 text-center mx-lg-auto\">
  704.                     <div class=\"mb-4\">
  705.                         <h1 class=\"h4 display-4 text-white mb-3\">{{ blogPost.title }}</h1>
  706.                     </div>
  707.                 </div>
  708.             </div>
  709.         </div>
  710.         <!-- End Header Img BG -->
  711.         <!-- Content Article -->
  712.         <div class=\"row justify-content-end\">
  713.             <div class=\"col-lg-9 my-2 my-md-7 mb-md-0\">
  714.                 <!-- Article Description -->
  715.                 <div class=\"container-fluid content-space-t-1 content-space-b-lg-2\">
  716.                     <div class=\"w-lg-85 mx-lg-auto\">
  717.                         <div class=\"row align-items-sm-center mb-5\">
  718.                             <div class=\"col-sm-7 mb-4 mb-sm-0\">
  719.                                 <!-- Media -->
  720.                                 <div class=\"d-flex align-items-center\">
  721.                                     <div class=\"flex-shrink-0\">
  722.                                         <img class=\"avatar avatar-circle\"
  723.                                              src=\"{% if blogPost.blogAuthor.filename %} {{ vich_uploader_asset(blogPost.blogAuthor, 'imageFile') | imagine_filter('author_image_small') }} {% endif %}\"
  724.                                              alt=\"{{ blogPost.blogAuthor.firstname }}\">
  725.                                     </div>
  726.                                     <div class=\"flex-grow-1 ms-3\">
  727.                                         <h5 class=\"mb-0\">
  728.                                             <a class=\"text-dark\"
  729.                                                href=\"{{ path('blog_author_show', {'id': blogPost.blogAuthor.id }) }}\">{{ blogPost.blogAuthor.firstname }}</a>
  730.                                         </h5>
  731.                                         <span class=\"d-block small\">{{ blogPost.createdAt|format_date('medium') }}</span>
  732.                                     </div>
  733.                                 </div>
  734.                                 <!-- End Media -->
  735.                             </div>
  736.                             <!-- End Col -->
  737.                         </div>
  738.                         <!-- End Row -->
  739.                     </div>
  740.                     <!-- Body Content Main -->
  741.                     <div class=\"w-lg-85 mx-lg-auto\">
  742.                         {{ blogPost.body|raw() }}
  743.                     </div>
  744.                     <!-- End Body Content Main -->
  745.                     <!-- CTA -->
  746.                     <div class=\"container py-5 mb-3\">
  747.                         <div class=\"w-lg-75 mx-lg-auto\">
  748.                             <div class=\"card card-sm overflow-hidden\">
  749.                                 <!-- Card -->
  750.                                 <div class=\"card-body\">
  751.                                     <div class=\"row justify-content-md-start align-items-md-center text-center text-md-start\">
  752.                                         <div class=\"col-md offset-md-3 mb-3 mb-md-0\">
  753.                                             <h4 class=\"card-title\">
  754.                                                 {% if isBlogCategoryThemeAudio %}
  755.                                                     Testez vos futurs appareils auditifs
  756.                                                 {% else %}
  757.                                                     Réalisez votre bilan auditif<sup class=\"text-sm\"> (1)</sup> gratuit
  758.                                                 {% endif %}
  759.                                             </h4>
  760.                                         </div>
  761.                                         <div class=\"col-md-auto\">
  762.                                             <a class=\"btn btn-warning btn-transition\" href=\"#bilan-test-gratuit\">Réservez un RDV</a>
  763.                                         </div>
  764.                                     </div>
  765.                                     <!-- SVG Shape -->
  766.                                     <figure class=\"w-25 d-none d-md-block position-absolute top-0 start-0 mt-n2\">
  767.                                         <svg viewBox=\"0 0 451 902\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  768.                                             <path opacity=\"0.125\" d=\"M0 82C203.8 82 369 247.2 369 451C369 654.8 203.8 820 0 820\" stroke=\"url(#paint2_linear)\" stroke-width=\"164\" stroke-miterlimit=\"10\"/>
  769.                                             <defs>
  770.                                                 <linearGradient id=\"paint2_linear\" x1=\"323.205\" y1=\"785.242\" x2=\"-97.6164\" y2=\"56.3589\" gradientUnits=\"userSpaceOnUse\">
  771.                                                     <stop offset=\"0\" stop-color=\"white\" stop-opacity=\"0\"/>
  772.                                                     <stop offset=\"1\" stop-color=\"#377dff\"/>
  773.                                                 </linearGradient>
  774.                                             </defs>
  775.                                         </svg>
  776.                                     </figure>
  777.                                     <!-- End SVG Shape -->
  778.                                 </div>
  779.                                 <!-- End Card -->
  780.                             </div>
  781.                         </div>
  782.                     </div>
  783.                     <!-- End CTA -->
  784.                     <!-- Body Content Second -->
  785.                     <div class=\"w-lg-85 mx-lg-auto\">
  786.                         {{ blogPost.bodySecond|raw() }}
  787.                     </div>
  788.                     <!-- End Body Content Second -->
  789.                     <div class=\"w-lg-85 mx-lg-auto\">
  790.                         <!-- Card -->
  791.                         <div class=\"card bg-dark text-center my-4\"
  792.                              style=\"background-image: url({{ asset('build/front_v4/svg/components/wave-pattern-light.svg') }});\">
  793.                             <div class=\"card-body\">
  794.                                 <h4 class=\"text-white\">Vous avez aimé cette article ?</h4>
  795.                                 <p class=\"text-white mb-4\">Suivez-nous sur <a class=\"link\"
  796.                                                                               href=\"https://www.facebook.com/MonCentreAuditif/\">Facebook</a>
  797.                                     et <a class=\"link\"
  798.                                           href=\"https://www.linkedin.com/company/auditif/\">Linkedin</a> pour rester
  799.                                     informé.
  800.                                 </p>
  801.                             </div>
  802.                         </div>
  803.                         <!-- End Card -->
  804.                     </div>
  805.                     <!-- Sticky Block End Point -->
  806.                     <div id=\"stickyBlockEndPoint\"></div>
  807.                 </div>
  808.                 <!-- End Article Description -->
  809.             </div>
  810.             <div class=\"col-lg-3 position-relative zi-2 my-3 my-md-7 mb-md-0 px-4\">
  811.                 <!-- Sticky Block Start Point -->
  812.                 <div id=\"stickyBlockStartPoint\"></div>
  813.                 <div class=\"js-sticky-block\"
  814.                      data-hs-sticky-block-options='{
  815.                  \"parentSelector\": \"#stickyBlockStartPoint\",
  816.                  \"targetSelector\": \"#header\",
  817.                  \"breakpoint\": \"md\",
  818.                  \"startPoint\": \"#stickyBlockStartPoint\",
  819.                  \"endPoint\": \"#stickyBlockEndPoint\",
  820.                  \"stickyOffsetTop\": 80
  821.                }'>
  822.                     <!-- CTA Card -->
  823.                     <div class=\"card my-3 my-lg-5\">
  824.                         <div class=\"p-1\">
  825.                             <a href=\"{{ app.request.schemeAndHttpHost ~ '/' ~ blogPost.ctaLinkPath }}\">
  826.                                 <!-- Fancybox -->
  827.                                 <div class=\"bg-img-start text-center rounded-2 py-3 py-md-5 px-5 gradient-y-lg-white\"
  828.                                      style=\"background-image: url({{ asset('build/front_v4/svg/components/card-11.svg') }});\">
  829.                                     <span class=\"d-flex justify-content-center align-items-center\"></span>
  830.                                     <span class=\"h3 text-primary\">
  831.                                         {% if isBlogCategoryThemeAudio %}
  832.                                             Testez vos futurs appareils auditifs
  833.                                         {% else %}
  834.                                             Réalisez votre bilan auditif<sup class=\"text-sm\"> (1)</sup>
  835.                                         {% endif %}
  836.                                     </span>
  837.                                     <p class=\"h2 text-primary fw-bold py-2\">
  838.                                         100% gratuit
  839.                                     </p>
  840.                                 </div>
  841.                                 <!-- End Fancybox -->
  842.                             </a>
  843.                         </div>
  844.                         <!-- Card Body -->
  845.                         <div class=\"card-body\">
  846.                             <div class=\"d-grid mb-2\">
  847.                                 <a class=\"btn btn-warning btn-transition\" href=\"#bilan-test-gratuit\">Réservez un RDV</a>
  848.                             </div>
  849.                             <div class=\"text-center\">
  850.                                 <p class=\"card-text small\">Un test sans engagement et non médical.</p>
  851.                             </div>
  852.                         </div>
  853.                         <!-- End CTA Card Body -->
  854.                     </div>
  855.                     <!-- End Card -->
  856.                     {% if relatedCategoryPosts is defined and relatedCategoryPosts is not empty %}
  857.                         <div class=\"d-none d-lg-block my-5 my-lg-5\">
  858.                             <div class=\"mb-3\">
  859.                                 <h3>Articles similaires :</h3>
  860.                             </div>
  861.                             <div class=\"d-grid gap-2\">
  862.                                 {% for post in relatedCategoryPosts %}
  863.                                     <!-- Card -->
  864.                                     <a class=\"d-block\" href=\"{{ path('blog_post_show', {'slug': post.slug}) }}\">
  865.                                         <div class=\"d-flex align-items-center\">
  866.                                             <div class=\"flex-shrink-0\">
  867.                                                 <div class=\"avatar avatar-lg\">
  868.                                                     <img class=\"avatar-img\"
  869.                                                          src=\"{% if post.filename %} {{ vich_uploader_asset(post, 'imageFile') | imagine_filter('blog_post_small') }} {% endif %}\"
  870.                                                          alt=\"{{ post.title }}\">
  871.                                                 </div>
  872.                                             </div>
  873.                                             <div class=\"flex-grow-1 ms-3\">
  874.                                                 <h5 class=\"text-inherit mb-0\">{{ post.title }}</h5>
  875.                                             </div>
  876.                                         </div>
  877.                                     </a>
  878.                                     <!-- End Card -->
  879.                                 {% endfor %}
  880.                             </div>
  881.                         </div>
  882.                     {% endif %}
  883.                 </div>
  884.                 <!-- End Sticky Block -->
  885.             </div>
  886.         </div>
  887.         <!-- Header Content Article -->
  888.         <div id=\"bilan-test-gratuit\" class=\"bg-dark\" style=\"background-image: url({{ asset('build/front_v4/svg/components/wave-pattern-light.svg') }});\">
  889.             <div class=\"w-85 w-lg-65 w-xl-50 mx-auto py-5 py-lg-10\">
  890.                 <div class=\"card\">
  891.                     <div class=\"card-body\">
  892.                         {% if isBlogCategoryThemeAudio %}
  893.                             {% set introText = '
  894.                              <div class=\"mb-4\">
  895.                                 <p class=\"h2 text-primary fw-semibold text-center\">Testez gratuitement vos futurs appareils auditifs</h1>
  896.                                 <p class=\"lead text-center\" style=\"font-size: 1.125rem;\">
  897.                                     Sans engagement, 100% gratuit. Découvrez le confort d’une meilleure audition.
  898.                                     <br>
  899.                                     <strong>Complétez le formulaire</strong> ci-dessous pour réserver votre essai.
  900.                                 </p>
  901.                             </div>
  902.                                 ' %}
  903.                         {% else %}
  904.                             {# respect SEO hn title and add text-center #}
  905.                             {% set introText = '
  906.                              <div class=\"mb-4\">
  907.                                 <p class=\"h2 text-primary text-center fw-semibold text-center\">Demandez votre bilan auditif<sup>(1)</sup> gratuit</h1>
  908.                                 <p class=\"lead text-center\" style=\"font-size: 1.125rem;\">
  909.                                     Un test non médical, 100% gratuit, pour évaluer votre audition près de chez vous.
  910.                                     <br>
  911.                                     <strong>Remplissez le formulaire</strong> ci-dessous pour en bénéficier.
  912.                                 </p>
  913.                             </div>
  914.                                 ' %}
  915.                         {% endif %}
  916.                         {% include 'front_v4/mca/landing_page/form/_wrapper_form_lp_prospect.html.twig' %}
  917.                     </div>
  918.                 </div>
  919.             </div>
  920.         </div>
  921.         <!-- Card Grid -->
  922.         <div class=\"container\">
  923.             <div class=\"border-top content-space-2 mx-lg-auto\">
  924.                 <!-- Heading -->
  925.                 <div class=\"mb-3 mb-sm-5\">
  926.                     <h2>Notre sélection d'articles</h2>
  927.                 </div>
  928.                 <!-- End Heading -->
  929.                 <div class=\"row\">
  930.                     {% for post in pilarPosts %}
  931.                         {% if loop.index is odd %}
  932.                             <div class=\"col-sm-6 col-lg-4 mb-4\">
  933.                                 <a href=\"{{ path('blog_post_show', {'slug': post.slug}) }}\">
  934.                                     <!-- Card -->
  935.                                     <div class=\"card h-100\">
  936.                                         <div class=\"shape-container\">
  937.                                             <img class=\"card-img-top\"
  938.                                                  src=\"{% if blogPost.filename %}{{ vich_uploader_asset(post, 'imageFile') | imagine_filter('blog_post_medium') }}{% endif %}\"
  939.                                                  alt=\"{{ post.title }}\">
  940.                                             <!-- Shape -->
  941.                                             <div class=\"shape shape-bottom zi-1\" style=\"margin-bottom: -.25rem\">
  942.                                                 <svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\"
  943.                                                      viewBox=\"0 0 1920 100.1\">
  944.                                                     <path fill=\"#fff\"
  945.                                                           d=\"M0,0c0,0,934.4,93.4,1920,0v100.1H0L0,0z\"></path>
  946.                                                 </svg>
  947.                                             </div>
  948.                                             <!-- End Shape -->
  949.                                         </div>
  950.                                         <!-- Card Body -->
  951.                                         <div class=\"card-body p-3\">
  952.                                             <h4 class=\"card-title text-dark\">{{ post.title }}</h4>
  953.                                             <p class=\"card-text\">{{ post.body|striptags|truncate(80, true)|raw|nl2br }}</p>
  954.                                         </div>
  955.                                         <!-- End Card Body -->
  956.                                         <!-- Card Footer -->
  957.                                         <div class=\"card-footer\">
  958.                                             <div class=\"d-flex align-items-center justify-content-between\">
  959.                                                     <span class=\"avatar avatar-circle\">
  960.                                                         <img class=\"avatar-img\"
  961.                                                              src=\"{% if post.blogAuthor.filename %} {{ vich_uploader_asset(post.blogAuthor, 'imageFile') | imagine_filter('author_image_small') }} {% endif %}\"
  962.                                                              alt=\"{{ post.blogAuthor.firstname }}\">
  963.                                                     </span>
  964.                                                     <div class=\"flex-grow-1\">
  965.                                                         <div class=\"d-flex justify-content-end\">
  966.                                                             <p class=\"card-text\">{{ post.createdAt|format_date('medium') }}</p>
  967.                                                         </div>
  968.                                                     </div>
  969.                                             </div>
  970.                                         </div>
  971.                                         <!-- End Card Footer -->
  972.                                     </div>
  973.                                     <!-- End Card -->
  974.                                 </a>
  975.                             </div>
  976.                             <!-- End Col -->
  977.                         {% else %}
  978.                             <div class=\"col-sm-6 col-lg-4 mb-4\">
  979.                                 <a href=\"{{ path('blog_post_show', {'slug': post.slug}) }}\">
  980.                                     <!-- Card -->
  981.                                     <div class=\"card bg-dark h-100\"
  982.                                          style=\"background-image: url({{ asset('build/front_v4/svg/components/wave-pattern-light.svg') }});\">
  983.                                         <!-- Card Body -->
  984.                                         <div class=\"card-body p-3 py-5\">
  985.                                             <div class=\"mb-5\">
  986.                                                 <span class=\"badge bg-primary\">Sélection du mois</span>
  987.                                             </div>
  988.                                             <h3 class=\"card-title text-white\">{{ post.title }}</h3>
  989.                                             <p class=\"text-white-70\">{{ post.body|striptags|truncate(180, true)|raw|nl2br }}</p>
  990.                                         </div>
  991.                                         <!-- End Card Body -->
  992.                                         <!-- Card Footer -->
  993.                                         <div class=\"card-footer\">
  994.                                             <div class=\"d-flex align-items-center\">
  995.                                                 <div class=\"flex-shrink-0\">
  996.                                                     <div class=\"avatar avatar-circle\">
  997.                                                         <img class=\"avatar-img\"
  998.                                                              src=\"{% if post.blogAuthor.filename %} {{ vich_uploader_asset(post.blogAuthor, 'imageFile') | imagine_filter('author_image_small') }} {% endif %}\"
  999.                                                              alt=\"{{ post.blogAuthor.firstname }}\">
  1000.                                                     </div>
  1001.                                                 </div>
  1002.                                                 <div class=\"flex-grow-1\">
  1003.                                                     <div class=\"d-flex justify-content-end\">
  1004.                                                         <p class=\"card-text text-white-70\">{{ post.createdAt|format_date('medium') }}</p>
  1005.                                                     </div>
  1006.                                                 </div>
  1007.                                             </div>
  1008.                                         </div>
  1009.                                         <!-- End Card Footer -->
  1010.                                     </div>
  1011.                                     <!-- End Card -->
  1012.                                 </a>
  1013.                             </div>
  1014.                             <!-- End Col -->
  1015.                         {% endif %}
  1016.                     {% endfor %}
  1017.                 </div>
  1018.                 <!-- End Row -->
  1019.             </div>
  1020.             <!-- End Card Grid -->
  1021.         </div>
  1022.         <!-- End Card Grid -->
  1023.     </main>
  1024.     <!-- ========== END MAIN CONTENT ========== -->
  1025. {% endblock content %}
  1026. {% block javascripts %}
  1027.     <script
  1028.             src=\"https://code.jquery.com/jquery-3.7.1.min.js\"
  1029.             integrity=\"sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=\"
  1030.             crossorigin=\"anonymous\"></script>
  1031.     {{ encore_entry_script_tags('format_form_prospect') }}
  1032.     {{ encore_entry_script_tags('blog_single') }}
  1033. {% endblock javascripts %}
  1034. ""front_v4/mca/blog/single.html.twig""/var/www/hearing_store_locator/templates/front_v4/mca/blog/single.html.twig");
  1035.     }
  1036. }