var/cache/dev/twig/33/33568af094c01ca0ad476067ea14a0bb6001e5dab5a6831c2fcde4ad7b459ab5.php line 16

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. /* @WebProfiler/Profiler/toolbar_js.html.twig */
  14. class __TwigTemplate_67a86924e3f292c985e6f7272a492825d16ff8a2a110faeec9f2360196b1b4dc extends \Eccube\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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/toolbar_js.html.twig"));
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/toolbar_js.html.twig"));
  35.         // line 1
  36.         echo "<div id=\"sfwdt";
  37.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'1$this->source); })()), 1$this->source), "html"nulltrue);
  38.         echo "\" class=\"sf-toolbar sf-display-none\" role=\"region\" aria-label=\"Symfony Web Debug Toolbar\">
  39.     ";
  40.         // line 2
  41.         $this->loadTemplate("@WebProfiler/Profiler/toolbar.html.twig""@WebProfiler/Profiler/toolbar_js.html.twig"2)->display(twig_array_merge($context, ["templates" => ["request" => "@WebProfiler/Profiler/cancel.html.twig"], "profile" => null"profiler_url" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("_profiler", ["token" =>         // line 7
  42. (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'7$this->source); })())]), "profiler_markup_version" => 2]));
  43.         // line 10
  44.         echo "</div>
  45. ";
  46.         // line 12
  47.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"@WebProfiler/Profiler/base_js.html.twig");
  48.         echo "
  49. <style";
  50.         // line 14
  51.         if ((isset($context["csp_style_nonce"]) || array_key_exists("csp_style_nonce"$context) ? $context["csp_style_nonce"] : (function () { throw new RuntimeError('Variable "csp_style_nonce" does not exist.'14$this->source); })())) {
  52.             echo " nonce=\"";
  53.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["csp_style_nonce"]) || array_key_exists("csp_style_nonce"$context) ? $context["csp_style_nonce"] : (function () { throw new RuntimeError('Variable "csp_style_nonce" does not exist.'14$this->source); })()), 14$this->source), "html"nulltrue);
  54.             echo "\"";
  55.         }
  56.         echo ">
  57.     ";
  58.         // line 15
  59.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"@WebProfiler/Profiler/toolbar.css.twig");
  60.         echo "
  61. </style>
  62. <script";
  63.         // line 17
  64.         if ((isset($context["csp_script_nonce"]) || array_key_exists("csp_script_nonce"$context) ? $context["csp_script_nonce"] : (function () { throw new RuntimeError('Variable "csp_script_nonce" does not exist.'17$this->source); })())) {
  65.             echo " nonce=\"";
  66.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["csp_script_nonce"]) || array_key_exists("csp_script_nonce"$context) ? $context["csp_script_nonce"] : (function () { throw new RuntimeError('Variable "csp_script_nonce" does not exist.'17$this->source); })()), 17$this->source), "html"nulltrue);
  67.             echo "\"";
  68.         }
  69.         echo ">/*<![CDATA[*/
  70.     (function () {
  71.         Sfjs.loadToolbar('";
  72.         // line 19
  73.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'19$this->source); })()), 19$this->source), "html"nulltrue);
  74.         echo "');
  75.     })();
  76. /*]]>*/</script>
  77. ";
  78.         
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  80.         
  81.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  82.     }
  83.     public function getTemplateName()
  84.     {
  85.         return "@WebProfiler/Profiler/toolbar_js.html.twig";
  86.     }
  87.     public function isTraitable()
  88.     {
  89.         return false;
  90.     }
  91.     public function getDebugInfo()
  92.     {
  93.         return array (  84 => 19,  75 => 17,  70 => 15,  62 => 14,  57 => 12,  53 => 10,  51 => 7,  50 => 2,  45 => 1,);
  94.     }
  95.     public function getSourceContext()
  96.     {
  97.         return new Source("<div id=\"sfwdt{{ token }}\" class=\"sf-toolbar sf-display-none\" role=\"region\" aria-label=\"Symfony Web Debug Toolbar\">
  98.     {% include('@WebProfiler/Profiler/toolbar.html.twig') with {
  99.         templates: {
  100.             'request': '@WebProfiler/Profiler/cancel.html.twig'
  101.         },
  102.         profile: null,
  103.         profiler_url: url('_profiler', {token: token}),
  104.         profiler_markup_version: 2,
  105.     } %}
  106. </div>
  107. {{ include('@WebProfiler/Profiler/base_js.html.twig') }}
  108. <style{% if csp_style_nonce %} nonce=\"{{ csp_style_nonce }}\"{% endif %}>
  109.     {{ include('@WebProfiler/Profiler/toolbar.css.twig') }}
  110. </style>
  111. <script{% if csp_script_nonce %} nonce=\"{{ csp_script_nonce }}\"{% endif %}>/*<![CDATA[*/
  112.     (function () {
  113.         Sfjs.loadToolbar('{{ token }}');
  114.     })();
  115. /*]]>*/</script>
  116. ""@WebProfiler/Profiler/toolbar_js.html.twig""/home/nmtokyolad01/tokyoladies-onlinestore.com/public_html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/toolbar_js.html.twig");
  117.     }
  118.     
  119.     public function checkSecurity()
  120.     {
  121.         static $tags = array("include" => 2"if" => 14);
  122.         static $filters = array("escape" => 1);
  123.         static $functions = array("url" => 7"include" => 12);
  124.         try {
  125.             $this->sandbox->checkSecurity(
  126.                 ['include''if'],
  127.                 ['escape'],
  128.                 ['url''include']
  129.             );
  130.         } catch (SecurityError $e) {
  131.             $e->setSourceContext($this->source);
  132.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  133.                 $e->setTemplateLine($tags[$e->getTagName()]);
  134.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  135.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  136.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  137.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  138.             }
  139.             throw $e;
  140.         }
  141.     }
  142. }