<?php

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

/* RemisePayment4/Resource/assets/js/sub_shopping_flow.js */
class __TwigTemplate_51f35cc3ab2a90ba8dddbcd353bf03821c6310bfa9b356bba561dcae0962ae03 extends \Eccube\Twig\Template
{
    private $source;
    private $macros = [];

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

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

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        if ((( !(isset($context["PayquickInfo"]) || array_key_exists("PayquickInfo", $context)) ||  !($context["PayquickInfo"] ?? null)) || (twig_get_attribute($this->env, $this->source, ($context["PayquickInfo"] ?? null), "use_payquick", [], "any", false, false, false, 1) != "1"))) {
            // line 2
            echo "<script>
    \$(function(){
        \$('.ec-progress__item').last().before(
            '<li class=\"ec-progress__item\">'
          + '<div class=\"ec-progress__number\">";
            // line 6
            if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") == false)) {
                echo "5";
            } else {
                echo "4";
            }
            echo "</div>'
          + '<div class=\"ec-progress__label\">";
            // line 7
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.front.payment.label.flow"), "js", null, true);
            echo "</div>'
          + '</li>'
        );

        \$('.ec-progress__number').last().text('";
            // line 11
            if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") == false)) {
                echo "6";
            } else {
                echo "5";
            }
            echo "');
    });
</script>
";
        }
    }

    public function getTemplateName()
    {
        return "RemisePayment4/Resource/assets/js/sub_shopping_flow.js";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  60 => 11,  53 => 7,  45 => 6,  39 => 2,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "RemisePayment4/Resource/assets/js/sub_shopping_flow.js", "/home/probiotech2/www/mamebio/app/Plugin/RemisePayment4/Resource/assets/js/sub_shopping_flow.js");
    }
}
