var/cache/dev/twig/25/250c01e3f945bad89c380e5b52b3dd8133f079b43ad1c8983fbce2f4e8f32d0a.php line 156

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* base.html.twig */
  15. class __TwigTemplate_0071048158fe1359bb31d9ad6aabdb8e6536351de12415d1afb3bd3200c647c4 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->parent false;
  24.         $this->blocks = [
  25.             'lang' => [$this'block_lang'],
  26.             'title' => [$this'block_title'],
  27.             'description' => [$this'block_description'],
  28.             'favicon' => [$this'block_favicon'],
  29.             'stylesheets' => [$this'block_stylesheets'],
  30.             'bodyExtraClass' => [$this'block_bodyExtraClass'],
  31.             'body' => [$this'block_body'],
  32.             'bottom_action_class' => [$this'block_bottom_action_class'],
  33.             'javascripts' => [$this'block_javascripts'],
  34.             'extra_javascripts' => [$this'block_extra_javascripts'],
  35.         ];
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  44.         // line 1
  45.         $context["_bottomActionBlock"] =         $this->unwrap()->renderBlock("bottom_action"$context$blocks);
  46.         // line 2
  47.         yield "
  48. <!DOCTYPE html>
  49. <html lang=\"";
  50.         // line 5
  51.         yield from $this->unwrap()->yieldBlock('lang'$context$blocks);
  52.         yield "\">
  53. <head>
  54.     <meta charset=\"utf-8\"/>
  55.     <title>";
  56.         // line 8
  57.         yield from $this->unwrap()->yieldBlock('title'$context$blocks);
  58.         yield "</title>
  59.     <meta name=\"description\" content=\"";
  60.         // line 9
  61.         yield from $this->unwrap()->yieldBlock('description'$context$blocks);
  62.         yield "\"/>
  63.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\"/>
  64.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  65. ";
  66.         // line 15
  67.         yield "
  68.     <meta name=\"apple-mobile-web-app-capable\" content=\"yes\">
  69.     <meta name=\"apple-mobile-web-app-status-barstyle\" content=\"black-translucent\">
  70.     <link rel=\"apple-touch-icon-precomposed\" href=\"";
  71.         // line 18
  72.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/front/images/appIcons/logo303.png"), "html"nulltrue);
  73.         yield "\">
  74.     <link rel=\"apple-touch-icon-precomposed\" sizes=\"120x120\"
  75.           href=\"";
  76.         // line 20
  77.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/front/images/appIcons/logo120.png"), "html"nulltrue);
  78.         yield "\">
  79.     <meta name=\"apple-mobile-web-app-title\" content=\"Prestachef\">
  80.     <meta name=\"theme-color\" content=\"#ffffff\">
  81.     <meta name=\"msapplication-navbutton-color\" content=\"#ffffff\">
  82.     <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"#ffffff\">
  83.     <!-- for Chrome on Android, multi-resolution icon of 196x196 -->
  84.     <meta name=\"mobile-web-app-capable\" content=\"yes\">
  85.     ";
  86.         // line 29
  87.         yield from $this->unwrap()->yieldBlock('favicon'$context$blocks);
  88.         // line 32
  89.         yield "
  90.     <link rel=\"manifest\" href=\"";
  91.         // line 33
  92.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/manifest.json"), "html"nulltrue);
  93.         yield "\">
  94.     ";
  95.         // line 35
  96.         yield from $this->unwrap()->yieldBlock('stylesheets'$context$blocks);
  97.         // line 38
  98.         yield "
  99.     <script src=\"https://kit.fontawesome.com/dce6251235.js\" crossorigin=\"anonymous\"></script>
  100.     <!-- Analytics FTW -->
  101.     <script>
  102.         window.dataLayer = window.dataLayer || [];
  103.     </script>
  104.     <!-- Google Tag Manager -->
  105.     ";
  106.         // line 46
  107.         if ( !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted((isset($context["ga_disabled_roles"]) || array_key_exists("ga_disabled_roles"$context) ? $context["ga_disabled_roles"] : (function () { throw new RuntimeError('Variable "ga_disabled_roles" does not exist.'46$this->source); })()))) {
  108.             // line 47
  109.             yield "        <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  110.                     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  111.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  112.                 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  113.             })(window,document,'script','dataLayer', '";
  114.             // line 51
  115.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["gtm_tracking"]) || array_key_exists("gtm_tracking"$context) ? $context["gtm_tracking"] : (function () { throw new RuntimeError('Variable "gtm_tracking" does not exist.'51$this->source); })()), "html"nulltrue);
  116.             yield "');</script>
  117.     ";
  118.         }
  119.         // line 53
  120.         yield "    <!-- End Google Tag Manager -->
  121. </head>
  122. <body
  123.         ";
  124.         // line 57
  125.         if (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'57$this->source); })()), "entity", [], "any"falsefalsefalse57)) &&  !CoreExtension::getAttribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'57$this->source); })()), "isImpersonated", [], "any"falsefalsefalse57))) {
  126.             // line 58
  127.             yield "        apphelper__userid=\"";
  128.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'58$this->source); })()), "entity", [], "any"falsefalsefalse58), "id", [], "any"falsefalsefalse58), "html"nulltrue);
  129.             yield "\"
  130.         ";
  131.         }
  132.         // line 60
  133.         yield "        class=\"";
  134.         yield from $this->unwrap()->yieldBlock('bodyExtraClass'$context$blocks);
  135.         yield " ";
  136.         if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["_bottomActionBlock"]) || array_key_exists("_bottomActionBlock"$context) ? $context["_bottomActionBlock"] : (function () { throw new RuntimeError('Variable "_bottomActionBlock" does not exist.'60$this->source); })()))) {
  137.             yield "withBottomAction";
  138.         }
  139.         yield " ";
  140.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) {
  141.             yield "withImpersonate";
  142.         }
  143.         yield "\"
  144.         ";
  145.         // line 61
  146.         if (CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse61)) {
  147.             // line 62
  148.             yield "            ";
  149.             $context["crispInfos"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'62$this->source); })()), "getCurrentUserCrispInfos", [], "any"falsefalsefalse62);
  150.             // line 63
  151.             yield "            ";
  152.             if (array_key_exists("crispInfos"$context)) {
  153.                 // line 64
  154.                 yield "                ";
  155.                 if (CoreExtension::getAttribute($this->env$this->source, ($context["crispInfos"] ?? null), "username", [], "any"truetruefalse64)) {
  156.                     // line 65
  157.                     yield "                    data-username=\"";
  158.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["crispInfos"]) || array_key_exists("crispInfos"$context) ? $context["crispInfos"] : (function () { throw new RuntimeError('Variable "crispInfos" does not exist.'65$this->source); })()), "username", [], "any"falsefalsefalse65), "html"nulltrue);
  159.                     yield "\"
  160.                 ";
  161.                 }
  162.                 // line 67
  163.                 yield "                ";
  164.                 if (CoreExtension::getAttribute($this->env$this->source, ($context["crispInfos"] ?? null), "useremail", [], "any"truetruefalse67)) {
  165.                     // line 68
  166.                     yield "                    data-useremail=\"";
  167.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["crispInfos"]) || array_key_exists("crispInfos"$context) ? $context["crispInfos"] : (function () { throw new RuntimeError('Variable "crispInfos" does not exist.'68$this->source); })()), "useremail", [], "any"falsefalsefalse68), "html"nulltrue);
  168.                     yield "\"
  169.                 ";
  170.                 }
  171.                 // line 70
  172.                 yield "                ";
  173.                 if (CoreExtension::getAttribute($this->env$this->source, ($context["crispInfos"] ?? null), "shopname", [], "any"truetruefalse70)) {
  174.                     // line 71
  175.                     yield "                    data-shopname=\"";
  176.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["crispInfos"]) || array_key_exists("crispInfos"$context) ? $context["crispInfos"] : (function () { throw new RuntimeError('Variable "crispInfos" does not exist.'71$this->source); })()), "shopname", [], "any"falsefalsefalse71), "html"nulltrue);
  177.                     yield "\"
  178.                 ";
  179.                 }
  180.                 // line 73
  181.                 yield "                ";
  182.                 if (CoreExtension::getAttribute($this->env$this->source, ($context["crispInfos"] ?? null), "shopid", [], "any"truetruefalse73)) {
  183.                     // line 74
  184.                     yield "                    data-shopurl=\"";
  185.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("malys_admin_customer_show", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["crispInfos"]) || array_key_exists("crispInfos"$context) ? $context["crispInfos"] : (function () { throw new RuntimeError('Variable "crispInfos" does not exist.'74$this->source); })()), "shopid", [], "any"falsefalsefalse74)]), "html"nulltrue);
  186.                     yield "\"
  187.                 ";
  188.                 }
  189.                 // line 76
  190.                 yield "            ";
  191.             }
  192.             // line 77
  193.             yield "
  194.             data-gae_crisp-trigger=\"click\"
  195.             data-gae_crisp-category=\"";
  196.             // line 79
  197.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["gae"]) || array_key_exists("gae"$context) ? $context["gae"] : (function () { throw new RuntimeError('Variable "gae" does not exist.'79$this->source); })()), "refs", [], "any"falsefalsefalse79), "assistanceCategory", [], "any"falsefalsefalse79), "html"nulltrue);
  198.             yield "\"
  199.             data-gae_crisp-action=\"";
  200.             // line 80
  201.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["gae"]) || array_key_exists("gae"$context) ? $context["gae"] : (function () { throw new RuntimeError('Variable "gae" does not exist.'80$this->source); })()), "refs", [], "any"falsefalsefalse80), "closeSupportAction", [], "any"falsefalsefalse80), "html"nulltrue);
  202.             yield "\"
  203.             data-gae_crisp-label=\"";
  204.             // line 81
  205.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'81$this->source); })()), "request", [], "any"falsefalsefalse81), "uri", [], "any"falsefalsefalse81), "html"nulltrue);
  206.             yield "\"
  207.         ";
  208.         }
  209.         // line 83
  210.         yield ">
  211. ";
  212.         // line 85
  213.         yield from         $this->loadTemplate("front/svg.html""base.html.twig"85)->unwrap()->yield($context);
  214.         // line 86
  215.         yield "
  216. <div class=\"fullScreenLoader fullScreenLoader--hidden align-items-center justify-content-center \">
  217.     <div class=\"spinner spinner-primary\"></div>
  218. </div>
  219. ";
  220.         // line 91
  221.         yield from $this->unwrap()->yieldBlock('body'$context$blocks);
  222.         // line 92
  223.         yield "
  224. ";
  225.         // line 93
  226.         if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["_bottomActionBlock"]) || array_key_exists("_bottomActionBlock"$context) ? $context["_bottomActionBlock"] : (function () { throw new RuntimeError('Variable "_bottomActionBlock" does not exist.'93$this->source); })()))) {
  227.             // line 94
  228.             yield "    <div class=\"bottomActionShell ";
  229.             yield from $this->unwrap()->yieldBlock('bottom_action_class'$context$blocks);
  230.             yield "\">
  231.         <div class=\"container\">
  232.             ";
  233.             // line 96
  234.             yield (isset($context["_bottomActionBlock"]) || array_key_exists("_bottomActionBlock"$context) ? $context["_bottomActionBlock"] : (function () { throw new RuntimeError('Variable "_bottomActionBlock" does not exist.'96$this->source); })());
  235.             yield "
  236.         </div>
  237.     </div>
  238. ";
  239.         }
  240.         // line 100
  241.         yield "
  242. ";
  243.         // line 102
  244.         yield from $this->unwrap()->yieldBlock('javascripts'$context$blocks);
  245.         // line 120
  246.         yield from $this->unwrap()->yieldBlock('extra_javascripts'$context$blocks);
  247.         // line 121
  248.         yield "
  249. ";
  250.         // line 123
  251.         yield from         $this->loadTemplate("front/common/appModal.html.twig""base.html.twig"123)->unwrap()->yield($context);
  252.         // line 124
  253.         yield from         $this->loadTemplate("front/common/appConfirm.html.twig""base.html.twig"124)->unwrap()->yield($context);
  254.         // line 125
  255.         yield "</body>
  256. <!-- Google Tag Manager (noscript) -->
  257. <noscript>
  258.     <iframe src=\"https://www.googletagmanager.com/ns.html?id=";
  259.         // line 128
  260.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["gtm_tracking"]) || array_key_exists("gtm_tracking"$context) ? $context["gtm_tracking"] : (function () { throw new RuntimeError('Variable "gtm_tracking" does not exist.'128$this->source); })()), "html"nulltrue);
  261.         yield "\"
  262.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  263. </noscript>
  264. <!-- End Google Tag Manager (noscript) -->
  265. </html>";
  266.         
  267.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  268.         
  269.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  270.         return; yield '';
  271.     }
  272.     // line 5
  273.     public function block_lang($context, array $blocks = [])
  274.     {
  275.         $macros $this->macros;
  276.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  277.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lang"));
  278.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  279.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lang"));
  280.         yield "fr";
  281.         
  282.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  283.         
  284.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  285.         return; yield '';
  286.     }
  287.     // line 8
  288.     public function block_title($context, array $blocks = [])
  289.     {
  290.         $macros $this->macros;
  291.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  292.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  293.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  294.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  295.         yield "Prestachef";
  296.         
  297.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  298.         
  299.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  300.         return; yield '';
  301.     }
  302.     // line 9
  303.     public function block_description($context, array $blocks = [])
  304.     {
  305.         $macros $this->macros;
  306.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  307.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  308.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  309.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  310.         
  311.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  312.         
  313.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  314.         return; yield '';
  315.     }
  316.     // line 29
  317.     public function block_favicon($context, array $blocks = [])
  318.     {
  319.         $macros $this->macros;
  320.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  321.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favicon"));
  322.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  323.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favicon"));
  324.         // line 30
  325.         yield "        <link rel=\"icon\" type=\"image/png\" href=\"";
  326.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/front/images/favicon.png"), "html"nulltrue);
  327.         yield "\">
  328.     ";
  329.         
  330.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  331.         
  332.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  333.         return; yield '';
  334.     }
  335.     // line 35
  336.     public function block_stylesheets($context, array $blocks = [])
  337.     {
  338.         $macros $this->macros;
  339.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  340.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  341.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  342.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  343.         // line 36
  344.         yield "        ";
  345.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("frontstyles");
  346.         yield "
  347.     ";
  348.         
  349.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  350.         
  351.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  352.         return; yield '';
  353.     }
  354.     // line 60
  355.     public function block_bodyExtraClass($context, array $blocks = [])
  356.     {
  357.         $macros $this->macros;
  358.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  359.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyExtraClass"));
  360.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  361.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyExtraClass"));
  362.         
  363.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  364.         
  365.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  366.         return; yield '';
  367.     }
  368.     // line 91
  369.     public function block_body($context, array $blocks = [])
  370.     {
  371.         $macros $this->macros;
  372.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  373.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  374.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  375.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  376.         
  377.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  378.         
  379.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  380.         return; yield '';
  381.     }
  382.     // line 94
  383.     public function block_bottom_action_class($context, array $blocks = [])
  384.     {
  385.         $macros $this->macros;
  386.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  387.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bottom_action_class"));
  388.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  389.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bottom_action_class"));
  390.         
  391.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  392.         
  393.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  394.         return; yield '';
  395.     }
  396.     // line 102
  397.     public function block_javascripts($context, array $blocks = [])
  398.     {
  399.         $macros $this->macros;
  400.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  401.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  402.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  403.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  404.         // line 103
  405.         yield "
  406.     ";
  407.         // line 104
  408.         yield from         $this->loadTemplate("front/common/js.html.twig""base.html.twig"104)->unwrap()->yield($context);
  409.         // line 105
  410.         yield "
  411.     <script type=\"text/javascript\" id=\"zsiqchat\">var \$zoho=\$zoho || {};\$zoho.salesiq = \$zoho.salesiq || {widgetcode: \"";
  412.         // line 107
  413.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["zoho_sales_iq_widget_code"]) || array_key_exists("zoho_sales_iq_widget_code"$context) ? $context["zoho_sales_iq_widget_code"] : (function () { throw new RuntimeError('Variable "zoho_sales_iq_widget_code" does not exist.'107$this->source); })()), "html"nulltrue);
  414.         yield "\", values:{},ready:function(){}};var d=document;s=d.createElement(\"script\");s.type=\"text/javascript\";s.id=\"zsiqscript\";s.defer=true;s.src=\"https://salesiq.zoho.eu/widget\";t=d.getElementsByTagName(\"script\")[0];t.parentNode.insertBefore(s,t);</script>
  415.     
  416.     <script type=\"text/javascript\">
  417.         ";
  418.         // line 110
  419.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["cart"]) || array_key_exists("cart"$context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.'110$this->source); })()), "modifyingOrder", [], "any"falsefalsefalse110)) {
  420.             // line 111
  421.             yield "            window.modifyingOrder = true;
  422.             window.supplierId = ";
  423.             // line 112
  424.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["cart"]) || array_key_exists("cart"$context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.'112$this->source); })()), "entity", [], "any"falsefalsefalse112), "orderToModify", [], "any"falsefalsefalse112), "supplier", [], "any"falsefalsefalse112), "id", [], "any"falsefalsefalse112), "html"nulltrue);
  425.             yield ";
  426.         ";
  427.         } else {
  428.             // line 114
  429.             yield "            window.modifyingOrder = false;
  430.         ";
  431.         }
  432.         // line 116
  433.         yield "    </script>
  434. ";
  435.         
  436.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  437.         
  438.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  439.         return; yield '';
  440.     }
  441.     // line 120
  442.     public function block_extra_javascripts($context, array $blocks = [])
  443.     {
  444.         $macros $this->macros;
  445.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  446.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extra_javascripts"));
  447.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  448.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extra_javascripts"));
  449.         
  450.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  451.         
  452.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  453.         return; yield '';
  454.     }
  455.     /**
  456.      * @codeCoverageIgnore
  457.      */
  458.     public function getTemplateName()
  459.     {
  460.         return "base.html.twig";
  461.     }
  462.     /**
  463.      * @codeCoverageIgnore
  464.      */
  465.     public function isTraitable()
  466.     {
  467.         return false;
  468.     }
  469.     /**
  470.      * @codeCoverageIgnore
  471.      */
  472.     public function getDebugInfo()
  473.     {
  474.         return array (  513 => 120,  499 => 116,  495 => 114,  490 => 112,  487 => 111,  485 => 110,  479 => 107,  475 => 105,  473 => 104,  470 => 103,  460 => 102,  441 => 94,  422 => 91,  403 => 60,  389 => 36,  379 => 35,  365 => 30,  355 => 29,  336 => 9,  316 => 8,  296 => 5,  280 => 128,  275 => 125,  273 => 124,  271 => 123,  267 => 121,  265 => 120,  263 => 102,  259 => 100,  252 => 96,  246 => 94,  244 => 93,  241 => 92,  239 => 91,  232 => 86,  230 => 85,  226 => 83,  221 => 81,  217 => 80,  213 => 79,  209 => 77,  206 => 76,  200 => 74,  197 => 73,  191 => 71,  188 => 70,  182 => 68,  179 => 67,  173 => 65,  170 => 64,  167 => 63,  164 => 62,  162 => 61,  149 => 60,  143 => 58,  141 => 57,  135 => 53,  130 => 51,  124 => 47,  122 => 46,  112 => 38,  110 => 35,  105 => 33,  102 => 32,  100 => 29,  88 => 20,  83 => 18,  78 => 15,  71 => 9,  67 => 8,  61 => 5,  56 => 2,  54 => 1,);
  475.     }
  476.     public function getSourceContext()
  477.     {
  478.         return new Source("{% set _bottomActionBlock = block('bottom_action') %}
  479. <!DOCTYPE html>
  480. <html lang=\"{% block lang %}fr{% endblock %}\">
  481. <head>
  482.     <meta charset=\"utf-8\"/>
  483.     <title>{% block title %}Prestachef{% endblock %}</title>
  484.     <meta name=\"description\" content=\"{% block description %}{% endblock %}\"/>
  485.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\"/>
  486.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  487. {#    <meta http-equiv=\"Content-Security-Policy\" content=\"default-src 'self'\">#}
  488. {#    <meta http-equiv=\"Content-Security-Policy\" content=\"script-src http://*\">#}
  489.     <meta name=\"apple-mobile-web-app-capable\" content=\"yes\">
  490.     <meta name=\"apple-mobile-web-app-status-barstyle\" content=\"black-translucent\">
  491.     <link rel=\"apple-touch-icon-precomposed\" href=\"{{ asset('assets/front/images/appIcons/logo303.png') }}\">
  492.     <link rel=\"apple-touch-icon-precomposed\" sizes=\"120x120\"
  493.           href=\"{{ asset('assets/front/images/appIcons/logo120.png') }}\">
  494.     <meta name=\"apple-mobile-web-app-title\" content=\"Prestachef\">
  495.     <meta name=\"theme-color\" content=\"#ffffff\">
  496.     <meta name=\"msapplication-navbutton-color\" content=\"#ffffff\">
  497.     <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"#ffffff\">
  498.     <!-- for Chrome on Android, multi-resolution icon of 196x196 -->
  499.     <meta name=\"mobile-web-app-capable\" content=\"yes\">
  500.     {% block favicon %}
  501.         <link rel=\"icon\" type=\"image/png\" href=\"{{ asset('assets/front/images/favicon.png') }}\">
  502.     {% endblock %}
  503.     <link rel=\"manifest\" href=\"{{ asset('/manifest.json') }}\">
  504.     {% block stylesheets %}
  505.         {{ encore_entry_link_tags('frontstyles') }}
  506.     {% endblock %}
  507.     <script src=\"https://kit.fontawesome.com/dce6251235.js\" crossorigin=\"anonymous\"></script>
  508.     <!-- Analytics FTW -->
  509.     <script>
  510.         window.dataLayer = window.dataLayer || [];
  511.     </script>
  512.     <!-- Google Tag Manager -->
  513.     {% if not is_granted(ga_disabled_roles) %}
  514.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  515.                     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  516.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  517.                 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  518.             })(window,document,'script','dataLayer', '{{ gtm_tracking }}');</script>
  519.     {% endif %}
  520.     <!-- End Google Tag Manager -->
  521. </head>
  522. <body
  523.         {% if user.entity is not empty and not user.isImpersonated %}
  524.         apphelper__userid=\"{{ user.entity.id }}\"
  525.         {% endif %}
  526.         class=\"{% block bodyExtraClass %}{% endblock %} {% if _bottomActionBlock is not empty %}withBottomAction{% endif %} {% if is_granted('ROLE_PREVIOUS_ADMIN') %}withImpersonate{% endif %}\"
  527.         {% if app.user is defined %}
  528.             {% set crispInfos = user.getCurrentUserCrispInfos %}
  529.             {% if crispInfos is defined %}
  530.                 {% if crispInfos.username is defined %}
  531.                     data-username=\"{{ crispInfos.username }}\"
  532.                 {% endif %}
  533.                 {% if crispInfos.useremail is defined %}
  534.                     data-useremail=\"{{ crispInfos.useremail }}\"
  535.                 {% endif %}
  536.                 {% if crispInfos.shopname is defined %}
  537.                     data-shopname=\"{{ crispInfos.shopname }}\"
  538.                 {% endif %}
  539.                 {% if crispInfos.shopid is defined %}
  540.                     data-shopurl=\"{{ url('malys_admin_customer_show', {'id': crispInfos.shopid}) }}\"
  541.                 {% endif %}
  542.             {% endif %}
  543.             data-gae_crisp-trigger=\"click\"
  544.             data-gae_crisp-category=\"{{ gae.refs.assistanceCategory }}\"
  545.             data-gae_crisp-action=\"{{ gae.refs.closeSupportAction }}\"
  546.             data-gae_crisp-label=\"{{ app.request.uri }}\"
  547.         {% endif %}
  548. >
  549. {% include \"front/svg.html\" %}
  550. <div class=\"fullScreenLoader fullScreenLoader--hidden align-items-center justify-content-center \">
  551.     <div class=\"spinner spinner-primary\"></div>
  552. </div>
  553. {% block body %}{% endblock %}
  554. {% if _bottomActionBlock is not empty %}
  555.     <div class=\"bottomActionShell {% block bottom_action_class %}{% endblock %}\">
  556.         <div class=\"container\">
  557.             {{ _bottomActionBlock|raw }}
  558.         </div>
  559.     </div>
  560. {% endif %}
  561. {% block javascripts %}
  562.     {% include \"front/common/js.html.twig\" %}
  563.     <script type=\"text/javascript\" id=\"zsiqchat\">var \$zoho=\$zoho || {};\$zoho.salesiq = \$zoho.salesiq || {widgetcode: \"{{ zoho_sales_iq_widget_code }}\", values:{},ready:function(){}};var d=document;s=d.createElement(\"script\");s.type=\"text/javascript\";s.id=\"zsiqscript\";s.defer=true;s.src=\"https://salesiq.zoho.eu/widget\";t=d.getElementsByTagName(\"script\")[0];t.parentNode.insertBefore(s,t);</script>
  564.     
  565.     <script type=\"text/javascript\">
  566.         {% if cart.modifyingOrder %}
  567.             window.modifyingOrder = true;
  568.             window.supplierId = {{cart.entity.orderToModify.supplier.id}};
  569.         {% else %}
  570.             window.modifyingOrder = false;
  571.         {% endif %}
  572.     </script>
  573. {% endblock %}
  574. {% block extra_javascripts %}{% endblock %}
  575. {% include \"front/common/appModal.html.twig\" %}
  576. {% include \"front/common/appConfirm.html.twig\" %}
  577. </body>
  578. <!-- Google Tag Manager (noscript) -->
  579. <noscript>
  580.     <iframe src=\"https://www.googletagmanager.com/ns.html?id={{ gtm_tracking }}\"
  581.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  582. </noscript>
  583. <!-- End Google Tag Manager (noscript) -->
  584. </html>""base.html.twig""/var/www/malys/templates/base.html.twig");
  585.     }
  586. }