var/cache/dev/twig/79/793930b9512d24ce974f05f883e1317a5b5e727e3e14a1100db7a449bdad48f5.php line 50

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/liseuse-papier/index.html.twig */
  14. class __TwigTemplate_e75a08c25e38ac027097a8fdfbc4e0b18703ed75454ac74e6eb06c8947fbeb81 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.             'googleTagManagerDataLayer' => [$this'block_googleTagManagerDataLayer'],
  24.             'body' => [$this'block_body'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "front/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/liseuse-papier/index.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/liseuse-papier/index.html.twig"));
  40.         $this->parent $this->loadTemplate("front/layout.html.twig""front/liseuse-papier/index.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 2
  48.     public function block_googleTagManagerDataLayer($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleTagManagerDataLayer"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleTagManagerDataLayer"));
  55.         // line 3
  56.         echo "    ";
  57.         $this->loadTemplate("google_tag.html.twig""front/liseuse-papier/index.html.twig"3)->display(twig_array_merge($context, ["titlePage" => "liseuse""categoryPage" => "product-details""navigation_category1" => """navigation_category2" => """navigation_category3" => ""]));
  58.         
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  60.         
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  62.     }
  63.     // line 5
  64.     public function block_body($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  71.         // line 6
  72.         echo "    ";
  73.         $this->loadTemplate("front/header.html.twig""front/liseuse-papier/index.html.twig"6)->display($context);
  74.         // line 7
  75.         echo "    ";
  76.         $context["currentPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env$this->sourcetwig_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.'7$this->source); })()), "request", [], "any"falsefalsefalse7), "attributes", [], "any"falsefalsefalse7), "get", [=> "_route"], "method"falsefalsefalse7), twig_get_attribute($this->env$this->sourcetwig_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.'7$this->source); })()), "request", [], "any"falsefalsefalse7), "attributes", [], "any"falsefalsefalse7), "get", [=> "_route_params"], "method"falsefalsefalse7));
  77.         // line 8
  78.         echo "    <script>
  79.         var isMobile = \"";
  80.         // line 9
  81.         echo twig_escape_filter($this->envtwig_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.'9$this->source); })()), "request", [], "any"falsefalsefalse9), "get", [=> "isMobile"], "method"falsefalsefalse9), "html"nulltrue);
  82.         echo "\";
  83.         if(\$( window ).width() > 1100 ) {
  84.             if(isMobile == '1'){
  85.                 window.location.replace(\"";
  86.         // line 12
  87.         echo twig_escape_filter($this->env, (isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'12$this->source); })()), "html"nulltrue);
  88.         echo "?isMobile=0\");
  89.             }
  90.         }else {
  91.             if(isMobile != '1') {
  92.                 window.location.replace(\"";
  93.         // line 17
  94.         echo twig_escape_filter($this->env, (isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'17$this->source); })()), "html"nulltrue);
  95.         echo "?isMobile=1\");
  96.             }
  97.         }
  98.     </script>
  99.     ";
  100.         // line 21
  101.         if (($this->extensions['App\Twig\AppExtension']->getDisponibiliteProductPapierPerCountrySession(twig_constant("App\\Entity\\Product::PAPIER")) == false)) {
  102.             // line 22
  103.             echo "        <div class=\"mt-4 p-5\">
  104.             <div class=\"alert alert-danger\" role=\"alert\">
  105.                 <p class=\"p-2\">";
  106.             // line 24
  107.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("la liseuse est actuellement indisponible dans", [], "productTranslate"), "html"nulltrue);
  108.             echo " \"";
  109.             echo twig_escape_filter($this->env$this->extensions['App\Twig\AppExtension']->getCountrySession(), "html"nulltrue);
  110.             echo "\"</p>
  111.             </div>
  112.         </div>
  113.     ";
  114.         } else {
  115.             // line 28
  116.             echo "        ";
  117.             if ((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.'28$this->source); })()), "request", [], "any"falsefalsefalse28), "get", [=> "isMobile"], "method"falsefalsefalse28) == "1")) {
  118.                 // line 29
  119.                 echo "            ";
  120.                 $this->loadTemplate("front/liseuse-papier/index-mobile.html.twig""front/liseuse-papier/index.html.twig"29)->display($context);
  121.                 // line 30
  122.                 echo "        ";
  123.             } else {
  124.                 // line 31
  125.                 echo "            ";
  126.                 $this->loadTemplate("front/liseuse-papier/index-desktop.html.twig""front/liseuse-papier/index.html.twig"31)->display($context);
  127.                 // line 32
  128.                 echo "        ";
  129.             }
  130.             // line 33
  131.             echo "    ";
  132.         }
  133.         // line 34
  134.         echo "    <input type=\"hidden\" id=\"catLiseuseConfig\" value=\"";
  135.         echo twig_escape_filter($this->env$this->extensions['App\Twig\AppExtension']->catLiseuseConfig(), "html"nulltrue);
  136.         echo "\">
  137.     <div class=\"modal fade\" id=\"contunueMesAchat\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  138.         <div class=\"modal-dialog\" role=\"document\">
  139.             <div class=\"modal-content\">
  140.                 <div class=\"modal-header\">
  141.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  142.                         <img src=\"";
  143.         // line 40
  144.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/images/modalContinueAchatLiseuse.png"), "html"nulltrue);
  145.         echo "\">
  146.                     </button>
  147.                 </div>
  148.                 <div class=\"modal-body contunueMesAchatBody\" style=\"padding-bottom: 5px;\">
  149.                     <h2>";
  150.         // line 44
  151.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Finalisez votre commande", [], "productTranslate"), "html"nulltrue);
  152.         echo "</h2>
  153.                     <div class=\"\">
  154.                         <p>
  155.                             ";
  156.         // line 47
  157.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Souhaitez vous ajouter un de nos <span>300 produits</span> personnalisables <span>livrés le jour même</span> sur un créneau de <span>30 mn dans plus de 15 villes ?", [], "productTranslate");
  158.         echo "</span>
  159.                         </p>
  160.                     </div>
  161.                 </div>
  162.                 <div class=\"modal-body contunueMesAchatHeader\" style=\"\">
  163.                     <div class=\"row \">
  164.                         <div class=\"col-4 col-sm-4 col-md-4\">
  165.                             <a class=\"\" href=\"";
  166.         // line 54
  167.         if ((isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'54$this->source); })())) {
  168.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'54$this->source); })()), "product", [], "any"falsefalsefalse54), "lienBlocModalLiseuse1", [], "any"falsefalsefalse54), "html"nulltrue);
  169.         }
  170.         echo "\">
  171.                                 <div class=\"\" style=\"\">
  172.                                     <img src=\"";
  173.         // line 56
  174.         if ((isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'56$this->source); })())) {
  175.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/imageSite/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'56$this->source); })()), "product", [], "any"falsefalsefalse56), "imageBlocModalLiseuse1", [], "any"falsefalsefalse56))), "html"nulltrue);
  176.         }
  177.         echo "\">
  178.                                 </div>
  179.                             </a>
  180.                         </div>
  181.                         <div class=\"col-4 col-sm-4 col-md-4 \">
  182.                             <a class=\"\" href=\"";
  183.         // line 61
  184.         if ((isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'61$this->source); })())) {
  185.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'61$this->source); })()), "product", [], "any"falsefalsefalse61), "lienBlocModalLiseuse2", [], "any"falsefalsefalse61), "html"nulltrue);
  186.         }
  187.         echo "\">
  188.                                 <div class=\"\" style=\"\">
  189.                                     <img src=\"";
  190.         // line 63
  191.         if ((isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'63$this->source); })())) {
  192.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/imageSite/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'63$this->source); })()), "product", [], "any"falsefalsefalse63), "imageBlocModalLiseuse2", [], "any"falsefalsefalse63))), "html"nulltrue);
  193.         }
  194.         echo "\">
  195.                                 </div>
  196.                             </a>
  197.                         </div>
  198.                         <div class=\"col-4 col-sm-4 col-md-4  \">
  199.                             <a class=\"\" href=\"";
  200.         // line 68
  201.         if ((isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'68$this->source); })())) {
  202.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'68$this->source); })()), "product", [], "any"falsefalsefalse68), "lienBlocModalLiseuse3", [], "any"falsefalsefalse68), "html"nulltrue);
  203.         }
  204.         echo "\">
  205.                                 <div class=\"\" style=\"\">
  206.                                     <img src=\"";
  207.         // line 70
  208.         if ((isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'70$this->source); })())) {
  209.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/imageSite/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'70$this->source); })()), "product", [], "any"falsefalsefalse70), "imageBlocModalLiseuse3", [], "any"falsefalsefalse70))), "html"nulltrue);
  210.         }
  211.         echo "\">
  212.                                 </div>
  213.                             </a>
  214.                         </div>
  215.                     </div>
  216.                 </div>
  217.                 <div class=\"modal-body contunueMesAchatBody\" style=\"\">
  218.                     <div class=\"\">
  219.                         <div class=\"searchProductMenuLiseuseBloc\" style=\"position: relative;\" >
  220.                             <input class=\"inputstyletopLiseuse\" type=\"text\" id=\"searchProductMenuLiseuse\" style=\"cursor: pointer;\" placeholder=\"";
  221.         // line 79
  222.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Trouvez votre produit livré");
  223.         echo "\">
  224.                             <div class=\"close_result_head\" id=\"close_result_product\" style=\"cursor: pointer;position: absolute;right: 17px;top: 3px;display: none\">
  225.                                 <img src=\"";
  226.         // line 81
  227.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/bg_closeh.png"), "html"nulltrue);
  228.         echo "\">
  229.                             </div>
  230.                         </div>
  231.                         <div class=\"collapse ipstresl \" id=\"collapseProductMenuLiseuse\" style=\"width: 94%;\">
  232.                             <div class=\"divSearchProductMenu\">
  233.                                 <div id=\"divSearchProductMenuLiseuse\" style=\"min-height: 300px; display: none;max-height: 461px;overflow: auto;\">
  234.                                 </div>
  235.                             </div>
  236.                         </div>
  237.                         <div class=\"btnModalAchatLiseuse\" style=\"\">
  238.                             <a href=\"";
  239.         // line 92
  240.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("besoin_produits");
  241.         echo "\" class=\"nav-link continueLinck1  btn btn-primary\">";
  242.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Continuer mes achats", [], "productTranslate"), "html"nulltrue);
  243.         echo "</a>
  244.                             <a href=\"";
  245.         // line 93
  246.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("checkout");
  247.         echo "\" class=\"nav-link continueLinck2  btn btn-primary\">";
  248.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Payer", [], "productTranslate"), "html"nulltrue);
  249.         echo "</a>
  250.                         </div>
  251.                     </div>
  252.                 </div>
  253.             </div>
  254.         </div>
  255.     </div>
  256.     <div class=\"modal fade\" id=\"pspdfkitLiseuse\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  257.         <div class=\"modal-dialog\" role=\"document\" style=\"width: 100%!important;max-width: 100%!important;margin-top: 1vw !important;\">
  258.             <div class=\"modal-content\">
  259.                 <div class=\"modal-header\">
  260.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  261.                         <span aria-hidden=\"true\">×</span>
  262.                     </button>
  263.                 </div>
  264.                 <div class=\"modal-body\" style=\"margin-top:-25px!important;\">
  265.                     <div id=\"pspdfkit\" style=\"width: 100%; height: 720px;\"></div>
  266.                     ";
  267.         // line 110
  268.         $this->loadTemplate("front/liseuse-papier/menu_plus_pspdf.html.twig""front/liseuse-papier/index.html.twig"110)->display($context);
  269.         // line 111
  270.         echo "                </div>
  271.             </div>
  272.         </div>
  273.     </div>
  274.     <div class=\"modal fade\" id=\"pspdfkitLiseuseSpinner\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  275.         <div class=\"modal-dialog \" role=\"document\" >
  276.             <div class=\"modal-content nb_des\">
  277.                 <div class=\"modal-body\" style=\"margin-top: 0px!important;text-align: center;!important;\">
  278.                     <span class='spinner-border'></span>
  279.                 </div>
  280.             </div>
  281.         </div>
  282.     </div>
  283.     <div class=\"modal fade\" id=\"pspdfkitLiseuseAction\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  284.         <div class=\"modal-dialog \" role=\"document\" style=\"\">
  285.             <div class=\"modal-content\">
  286.                 <div class=\"modal-body pspdfkitLiseuseActionContent\" style=\"margin-top: 0px!important;text-align: center;!important;\">
  287.                     <span class='spinner-border'></span>
  288.                 </div>
  289.             </div>
  290.         </div>
  291.     </div>
  292.     <div class=\"modal fade\" id=\"reluireCheckmodal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  293.         <div class=\"modal-dialog \" role=\"document\" style=\"\">
  294.             <div class=\"modal-content\">
  295.                 <div class=\"modal-header\">
  296.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\" style=\"z-index: 9999;\">
  297.                         <span aria-hidden=\"true\">×</span>
  298.                     </button>
  299.                 </div>
  300.                 <div class=\"modal-body\" style=\"\">
  301.                     <div id=\"reluireCheckContent\">
  302.                     </div>
  303.                 </div>
  304.             </div>
  305.         </div>
  306.     </div>
  307.     <div class=\"modal fade\" id=\"modalLoginLiseuse\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  308.         <div class=\"modal-dialog \" role=\"document\" style=\"\">
  309.             <div class=\"modal-content\">
  310.                 <div class=\"modal-header\">
  311.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  312.                         <span aria-hidden=\"true\">×</span>
  313.                     </button>
  314.                 </div>
  315.                 <div class=\"modal-body\" style=\"\">
  316.                     <div id=\"modalLoginLiseuseContent\">
  317.                         ";
  318.         // line 159
  319.         $this->loadTemplate("front/liseuse-papier/login-modal-liseuse.html.twig""front/liseuse-papier/index.html.twig"159)->display($context);
  320.         // line 160
  321.         echo "                        <input type=\"hidden\" id=\"typeFunction\" value=\"\">
  322.                     </div>
  323.                 </div>
  324.             </div>
  325.         </div>
  326.     </div>
  327.     <style>
  328.         .ajax-file-upload{
  329.             display: none!important;
  330.         }
  331.         .ajax-file-upload-error{
  332.             margin-top:10px;
  333.         }
  334.         .ajax-file-upload-filename{
  335.             font-size: 11px!important;
  336.             margin-left: 4px!important;
  337.             margin-bottom : 0px!important;
  338.             width: 100%!important;
  339.             text-align: left;
  340.         }
  341.         .ajax-file-upload-progress{
  342.             width: 100%!important;
  343.             border-radius: 0px!important;
  344.             background-color: #eeeeee!important;
  345.             margin-left: 0px!important;
  346.             margin-top: 0px!important;
  347.             border: 0px!important;
  348.             font-size: 11px!important;
  349.         }
  350.         .ajax-file-upload-bar{
  351.             height: 13px!important;
  352.             background-color: #007bff!important;
  353.         }
  354.         .ajax-file-upload-statusbar{
  355.             border: 0 !important;
  356.             width: 100%!important;
  357.             margin: 0 !important;
  358.             padding: 5px 15px 5px 15px!important;
  359.         }
  360.         .progress{
  361.             height: 13px!important;
  362.         }
  363.         .reluireCheckContentP{
  364.             text-align: left!important;
  365.         }
  366.         div[data-element=\"terminerButton\"]{
  367.             font-weight: 600!important;
  368.             display: block !important;
  369.             padding: 4px 8px !important;
  370.             text-align: center !important;
  371.             border-radius: 10px !important;
  372.             margin-left: 20px !important;
  373.             border: 1px solid #8b3dff!important;
  374.             color: #fff!important;
  375.             background-color: #8b3dff!important;
  376.         }
  377.         div[data-element=\"terminerButton\"]:hover{
  378.             color: #8b3dff!important;
  379.             background-color: #fff!important;
  380.         }
  381.     </style>
  382. ";
  383.         
  384.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  385.         
  386.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  387.     }
  388.     // line 222
  389.     public function block_javascripts($context, array $blocks = [])
  390.     {
  391.         $macros $this->macros;
  392.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  393.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  394.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  395.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  396.         // line 223
  397.         echo "    <script src=\"";
  398.         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.'223$this->source); })()), "request", [], "any"falsefalsefalse223), "scheme", [], "any"falsefalsefalse223) . "://") . 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.'223$this->source); })()), "request", [], "any"falsefalsefalse223), "httpHost", [], "any"falsefalsefalse223)), "html"nulltrue);
  399.         echo "/assets/pdf.js\"></script>
  400.     <script>
  401.         // Loaded via <script> tag, create shortcut to access PDF.js exports.
  402.         var pdfjsLib = window['pdfjs-dist/build/pdf'];
  403.         // The workerSrc property shall be specified.
  404.         pdfjsLib.GlobalWorkerOptions.workerSrc = \"";
  405.         // line 229
  406.         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.'229$this->source); })()), "request", [], "any"falsefalsefalse229), "scheme", [], "any"falsefalsefalse229) . "://") . 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.'229$this->source); })()), "request", [], "any"falsefalsefalse229), "httpHost", [], "any"falsefalsefalse229)), "html"nulltrue);
  407.         echo "/assets/pdf.worker.js\";
  408.     </script>
  409.     <script type=\"text/javascript\">
  410.         var nameFile = \"";
  411.         // line 232
  412.         if ((isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'232$this->source); })())) {
  413.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'232$this->source); })()), "filePapier", [], "any"falsefalsefalse232), "html"nulltrue);
  414.         }
  415.         echo "\";
  416.         var url = \"";
  417.         // line 233
  418.         if ((isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'233$this->source); })())) {
  419.             echo " ";
  420.             if (twig_get_attribute($this->env$this->source, (isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'233$this->source); })()), "isTopImp", [], "any"falsefalsefalse233)) {
  421.                 echo " ";
  422.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("productPdf/" twig_get_attribute($this->env$this->source, (isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'233$this->source); })()), "filePapier", [], "any"falsefalsefalse233))), "html"nulltrue);
  423.                 echo " ";
  424.             } elseif (twig_get_attribute($this->env$this->source, (isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'233$this->source); })()), "isModif", [], "any"falsefalsefalse233)) {
  425.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("modifPdf/" twig_get_attribute($this->env$this->source, (isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'233$this->source); })()), "filePapier", [], "any"falsefalsefalse233))), "html"nulltrue);
  426.                 echo " ";
  427.             } else {
  428.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/" twig_get_attribute($this->env$this->source, (isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'233$this->source); })()), "filePapier", [], "any"falsefalsefalse233))), "html"nulltrue);
  429.                 echo " ";
  430.             }
  431.         }
  432.         echo "\";
  433.         var token = \"";
  434.         // line 234
  435.         if ((isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'234$this->source); })())) {
  436.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'234$this->source); })()), "token", [], "any"falsefalsefalse234), "html"nulltrue);
  437.         } else {
  438.         }
  439.         echo "\";
  440.         var editPspdfkit = \"";
  441.         // line 235
  442.         echo twig_escape_filter($this->envtwig_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.'235$this->source); })()), "request", [], "any"falsefalsefalse235), "get", [=> "editPspdfkit"], "method"falsefalsefalse235), "html"nulltrue);
  443.         echo "\";
  444.         var cssPspdfkitSuppliment = \"";
  445.         // line 236
  446.         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.'236$this->source); })()), "request", [], "any"falsefalsefalse236), "scheme", [], "any"falsefalsefalse236) . "://") . 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.'236$this->source); })()), "request", [], "any"falsefalsefalse236), "httpHost", [], "any"falsefalsefalse236)), "html"nulltrue);
  447.         echo "/assets/pspdfkit_suppliment1.css\";
  448.         var souhaite_str = \"";
  449.         // line 237
  450.         echo twig_escape_filter($this->envtwig_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.'237$this->source); })()), "request", [], "any"falsefalsefalse237), "get", [=> "souhaite_str"], "method"falsefalsefalse237), "html"nulltrue);
  451.         echo "\";
  452.     </script>
  453.     ";
  454.         // line 239
  455.         $this->displayParentBlock("javascripts"$context$blocks);
  456.         echo "
  457.     ";
  458.         // line 240
  459.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("uploadfileCustom");
  460.         echo "
  461.     ";
  462.         // line 241
  463.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("pdf_viewer_liseuse");
  464.         echo "
  465.     ";
  466.         // line 242
  467.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("block_option_liseuse");
  468.         echo "
  469.     <script src=\"";
  470.         // line 243
  471.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/admin/liveIcon/productPdfLiseuse.js"), "html"nulltrue);
  472.         echo "\"></script>
  473.     <script src=\"";
  474.         // line 244
  475.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/dist2/pspdfkit.js"), "html"nulltrue);
  476.         echo "\"></script>
  477.     ";
  478.         // line 246
  479.         echo "    ";
  480.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("pspdfkit_liseuseNew2");
  481.         echo "
  482.     <script>
  483.         window.___gcfg = {
  484.             parsetags: 'explicit'
  485.         };
  486.     </script>
  487.     <script src=\"https://apis.google.com/js/platform.js\" async defer></script>
  488. ";
  489.         
  490.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  491.         
  492.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  493.     }
  494.     public function getTemplateName()
  495.     {
  496.         return "front/liseuse-papier/index.html.twig";
  497.     }
  498.     public function isTraitable()
  499.     {
  500.         return false;
  501.     }
  502.     public function getDebugInfo()
  503.     {
  504.         return array (  507 => 246,  503 => 244,  499 => 243,  495 => 242,  491 => 241,  487 => 240,  483 => 239,  478 => 237,  474 => 236,  470 => 235,  463 => 234,  446 => 233,  440 => 232,  434 => 229,  424 => 223,  414 => 222,  343 => 160,  341 => 159,  291 => 111,  289 => 110,  267 => 93,  261 => 92,  247 => 81,  242 => 79,  228 => 70,  221 => 68,  211 => 63,  204 => 61,  194 => 56,  187 => 54,  177 => 47,  171 => 44,  164 => 40,  154 => 34,  151 => 33,  148 => 32,  145 => 31,  142 => 30,  139 => 29,  136 => 28,  127 => 24,  123 => 22,  121 => 21,  114 => 17,  106 => 12,  100 => 9,  97 => 8,  94 => 7,  91 => 6,  81 => 5,  70 => 3,  60 => 2,  37 => 1,);
  505.     }
  506.     public function getSourceContext()
  507.     {
  508.         return new Source("{% extends 'front/layout.html.twig' %}
  509. {% block googleTagManagerDataLayer %}
  510.     {% include 'google_tag.html.twig' with {'titlePage':'liseuse','categoryPage':'product-details','navigation_category1':'','navigation_category2':'','navigation_category3':'' }   %}
  511. {% endblock %}
  512. {% block body %}
  513.     {% include 'front/header.html.twig' %}
  514.     {% set currentPath = path(app.request.attributes.get('_route'),app.request.attributes.get('_route_params')) %}
  515.     <script>
  516.         var isMobile = \"{{ app.request.get('isMobile') }}\";
  517.         if(\$( window ).width() > 1100 ) {
  518.             if(isMobile == '1'){
  519.                 window.location.replace(\"{{ currentPath }}?isMobile=0\");
  520.             }
  521.         }else {
  522.             if(isMobile != '1') {
  523.                 window.location.replace(\"{{ currentPath }}?isMobile=1\");
  524.             }
  525.         }
  526.     </script>
  527.     {% if getDisponibiliteProductPapierPerCountrySession(constant('App\\\\Entity\\\\Product::PAPIER')) == false %}
  528.         <div class=\"mt-4 p-5\">
  529.             <div class=\"alert alert-danger\" role=\"alert\">
  530.                 <p class=\"p-2\">{{ 'la liseuse est actuellement indisponible dans' | trans({}, \"productTranslate\") }} \"{{ getCountrySession() }}\"</p>
  531.             </div>
  532.         </div>
  533.     {% else %}
  534.         {% if app.request.get('isMobile') == '1' %}
  535.             {% include 'front/liseuse-papier/index-mobile.html.twig' %}
  536.         {% else %}
  537.             {% include 'front/liseuse-papier/index-desktop.html.twig' %}
  538.         {% endif %}
  539.     {% endif %}
  540.     <input type=\"hidden\" id=\"catLiseuseConfig\" value=\"{{ catLiseuseConfig() }}\">
  541.     <div class=\"modal fade\" id=\"contunueMesAchat\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  542.         <div class=\"modal-dialog\" role=\"document\">
  543.             <div class=\"modal-content\">
  544.                 <div class=\"modal-header\">
  545.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  546.                         <img src=\"{{ asset('/images/modalContinueAchatLiseuse.png') }}\">
  547.                     </button>
  548.                 </div>
  549.                 <div class=\"modal-body contunueMesAchatBody\" style=\"padding-bottom: 5px;\">
  550.                     <h2>{{ 'Finalisez votre commande' | trans({}, \"productTranslate\") }}</h2>
  551.                     <div class=\"\">
  552.                         <p>
  553.                             {{ 'Souhaitez vous ajouter un de nos <span>300 produits</span> personnalisables <span>livrés le jour même</span> sur un créneau de <span>30 mn dans plus de 15 villes ?' | trans({}, \"productTranslate\") |raw }}</span>
  554.                         </p>
  555.                     </div>
  556.                 </div>
  557.                 <div class=\"modal-body contunueMesAchatHeader\" style=\"\">
  558.                     <div class=\"row \">
  559.                         <div class=\"col-4 col-sm-4 col-md-4\">
  560.                             <a class=\"\" href=\"{% if papierCourant %}{{ papierCourant.product.lienBlocModalLiseuse1 }}{% endif %}\">
  561.                                 <div class=\"\" style=\"\">
  562.                                     <img src=\"{% if papierCourant %}{{ asset('/imageSite/'~papierCourant.product.imageBlocModalLiseuse1) }}{% endif %}\">
  563.                                 </div>
  564.                             </a>
  565.                         </div>
  566.                         <div class=\"col-4 col-sm-4 col-md-4 \">
  567.                             <a class=\"\" href=\"{% if papierCourant %}{{ papierCourant.product.lienBlocModalLiseuse2 }}{% endif %}\">
  568.                                 <div class=\"\" style=\"\">
  569.                                     <img src=\"{% if papierCourant %}{{ asset('/imageSite/'~papierCourant.product.imageBlocModalLiseuse2) }}{% endif %}\">
  570.                                 </div>
  571.                             </a>
  572.                         </div>
  573.                         <div class=\"col-4 col-sm-4 col-md-4  \">
  574.                             <a class=\"\" href=\"{% if papierCourant %}{{ papierCourant.product.lienBlocModalLiseuse3 }}{% endif %}\">
  575.                                 <div class=\"\" style=\"\">
  576.                                     <img src=\"{% if papierCourant %}{{ asset('/imageSite/'~papierCourant.product.imageBlocModalLiseuse3) }}{% endif %}\">
  577.                                 </div>
  578.                             </a>
  579.                         </div>
  580.                     </div>
  581.                 </div>
  582.                 <div class=\"modal-body contunueMesAchatBody\" style=\"\">
  583.                     <div class=\"\">
  584.                         <div class=\"searchProductMenuLiseuseBloc\" style=\"position: relative;\" >
  585.                             <input class=\"inputstyletopLiseuse\" type=\"text\" id=\"searchProductMenuLiseuse\" style=\"cursor: pointer;\" placeholder=\"{{ 'Trouvez votre produit livré'|trans|raw  }}\">
  586.                             <div class=\"close_result_head\" id=\"close_result_product\" style=\"cursor: pointer;position: absolute;right: 17px;top: 3px;display: none\">
  587.                                 <img src=\"{{ asset('images/bg_closeh.png') }}\">
  588.                             </div>
  589.                         </div>
  590.                         <div class=\"collapse ipstresl \" id=\"collapseProductMenuLiseuse\" style=\"width: 94%;\">
  591.                             <div class=\"divSearchProductMenu\">
  592.                                 <div id=\"divSearchProductMenuLiseuse\" style=\"min-height: 300px; display: none;max-height: 461px;overflow: auto;\">
  593.                                 </div>
  594.                             </div>
  595.                         </div>
  596.                         <div class=\"btnModalAchatLiseuse\" style=\"\">
  597.                             <a href=\"{{ path('besoin_produits') }}\" class=\"nav-link continueLinck1  btn btn-primary\">{{ 'Continuer mes achats' | trans({}, \"productTranslate\") }}</a>
  598.                             <a href=\"{{ path('checkout') }}\" class=\"nav-link continueLinck2  btn btn-primary\">{{ 'Payer' | trans({}, \"productTranslate\") }}</a>
  599.                         </div>
  600.                     </div>
  601.                 </div>
  602.             </div>
  603.         </div>
  604.     </div>
  605.     <div class=\"modal fade\" id=\"pspdfkitLiseuse\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  606.         <div class=\"modal-dialog\" role=\"document\" style=\"width: 100%!important;max-width: 100%!important;margin-top: 1vw !important;\">
  607.             <div class=\"modal-content\">
  608.                 <div class=\"modal-header\">
  609.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  610.                         <span aria-hidden=\"true\">×</span>
  611.                     </button>
  612.                 </div>
  613.                 <div class=\"modal-body\" style=\"margin-top:-25px!important;\">
  614.                     <div id=\"pspdfkit\" style=\"width: 100%; height: 720px;\"></div>
  615.                     {% include 'front/liseuse-papier/menu_plus_pspdf.html.twig' %}
  616.                 </div>
  617.             </div>
  618.         </div>
  619.     </div>
  620.     <div class=\"modal fade\" id=\"pspdfkitLiseuseSpinner\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  621.         <div class=\"modal-dialog \" role=\"document\" >
  622.             <div class=\"modal-content nb_des\">
  623.                 <div class=\"modal-body\" style=\"margin-top: 0px!important;text-align: center;!important;\">
  624.                     <span class='spinner-border'></span>
  625.                 </div>
  626.             </div>
  627.         </div>
  628.     </div>
  629.     <div class=\"modal fade\" id=\"pspdfkitLiseuseAction\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  630.         <div class=\"modal-dialog \" role=\"document\" style=\"\">
  631.             <div class=\"modal-content\">
  632.                 <div class=\"modal-body pspdfkitLiseuseActionContent\" style=\"margin-top: 0px!important;text-align: center;!important;\">
  633.                     <span class='spinner-border'></span>
  634.                 </div>
  635.             </div>
  636.         </div>
  637.     </div>
  638.     <div class=\"modal fade\" id=\"reluireCheckmodal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  639.         <div class=\"modal-dialog \" role=\"document\" style=\"\">
  640.             <div class=\"modal-content\">
  641.                 <div class=\"modal-header\">
  642.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\" style=\"z-index: 9999;\">
  643.                         <span aria-hidden=\"true\">×</span>
  644.                     </button>
  645.                 </div>
  646.                 <div class=\"modal-body\" style=\"\">
  647.                     <div id=\"reluireCheckContent\">
  648.                     </div>
  649.                 </div>
  650.             </div>
  651.         </div>
  652.     </div>
  653.     <div class=\"modal fade\" id=\"modalLoginLiseuse\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  654.         <div class=\"modal-dialog \" role=\"document\" style=\"\">
  655.             <div class=\"modal-content\">
  656.                 <div class=\"modal-header\">
  657.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  658.                         <span aria-hidden=\"true\">×</span>
  659.                     </button>
  660.                 </div>
  661.                 <div class=\"modal-body\" style=\"\">
  662.                     <div id=\"modalLoginLiseuseContent\">
  663.                         {% include 'front/liseuse-papier/login-modal-liseuse.html.twig' %}
  664.                         <input type=\"hidden\" id=\"typeFunction\" value=\"\">
  665.                     </div>
  666.                 </div>
  667.             </div>
  668.         </div>
  669.     </div>
  670.     <style>
  671.         .ajax-file-upload{
  672.             display: none!important;
  673.         }
  674.         .ajax-file-upload-error{
  675.             margin-top:10px;
  676.         }
  677.         .ajax-file-upload-filename{
  678.             font-size: 11px!important;
  679.             margin-left: 4px!important;
  680.             margin-bottom : 0px!important;
  681.             width: 100%!important;
  682.             text-align: left;
  683.         }
  684.         .ajax-file-upload-progress{
  685.             width: 100%!important;
  686.             border-radius: 0px!important;
  687.             background-color: #eeeeee!important;
  688.             margin-left: 0px!important;
  689.             margin-top: 0px!important;
  690.             border: 0px!important;
  691.             font-size: 11px!important;
  692.         }
  693.         .ajax-file-upload-bar{
  694.             height: 13px!important;
  695.             background-color: #007bff!important;
  696.         }
  697.         .ajax-file-upload-statusbar{
  698.             border: 0 !important;
  699.             width: 100%!important;
  700.             margin: 0 !important;
  701.             padding: 5px 15px 5px 15px!important;
  702.         }
  703.         .progress{
  704.             height: 13px!important;
  705.         }
  706.         .reluireCheckContentP{
  707.             text-align: left!important;
  708.         }
  709.         div[data-element=\"terminerButton\"]{
  710.             font-weight: 600!important;
  711.             display: block !important;
  712.             padding: 4px 8px !important;
  713.             text-align: center !important;
  714.             border-radius: 10px !important;
  715.             margin-left: 20px !important;
  716.             border: 1px solid #8b3dff!important;
  717.             color: #fff!important;
  718.             background-color: #8b3dff!important;
  719.         }
  720.         div[data-element=\"terminerButton\"]:hover{
  721.             color: #8b3dff!important;
  722.             background-color: #fff!important;
  723.         }
  724.     </style>
  725. {% endblock %}
  726. {% block javascripts %}
  727.     <script src=\"{{ app.request.scheme ~'://' ~ app.request.httpHost}}/assets/pdf.js\"></script>
  728.     <script>
  729.         // Loaded via <script> tag, create shortcut to access PDF.js exports.
  730.         var pdfjsLib = window['pdfjs-dist/build/pdf'];
  731.         // The workerSrc property shall be specified.
  732.         pdfjsLib.GlobalWorkerOptions.workerSrc = \"{{ app.request.scheme ~'://' ~ app.request.httpHost}}/assets/pdf.worker.js\";
  733.     </script>
  734.     <script type=\"text/javascript\">
  735.         var nameFile = \"{% if papierCourant %}{{ papierCourant.filePapier }}{% endif %}\";
  736.         var url = \"{% if papierCourant %} {% if papierCourant.isTopImp %} {{ asset('productPdf/'~papierCourant.filePapier) }} {% elseif papierCourant.isModif  %}{{ asset('modifPdf/'~papierCourant.filePapier) }} {% else %}{{ asset('uploads/'~papierCourant.filePapier) }} {% endif %}{% endif %}\";
  737.         var token = \"{% if papierCourant %}{{ papierCourant.token }}{% else %}{% endif %}\";
  738.         var editPspdfkit = \"{{  app.request.get('editPspdfkit')  }}\";
  739.         var cssPspdfkitSuppliment = \"{{ app.request.scheme ~'://' ~ app.request.httpHost}}/assets/pspdfkit_suppliment1.css\";
  740.         var souhaite_str = \"{{  app.request.get('souhaite_str')  }}\";
  741.     </script>
  742.     {{ parent() }}
  743.     {{ encore_entry_script_tags('uploadfileCustom') }}
  744.     {{ encore_entry_script_tags('pdf_viewer_liseuse') }}
  745.     {{ encore_entry_script_tags('block_option_liseuse') }}
  746.     <script src=\"{{ asset('assets/admin/liveIcon/productPdfLiseuse.js') }}\"></script>
  747.     <script src=\"{{ asset('assets/dist2/pspdfkit.js') }}\"></script>
  748.     {#{{ encore_entry_script_tags('pspdfkit_liseuse') }}#}
  749.     {{ encore_entry_script_tags('pspdfkit_liseuseNew2') }}
  750.     <script>
  751.         window.___gcfg = {
  752.             parsetags: 'explicit'
  753.         };
  754.     </script>
  755.     <script src=\"https://apis.google.com/js/platform.js\" async defer></script>
  756. {% endblock %}
  757. ""front/liseuse-papier/index.html.twig""/home/preprodcopees/www/copees-sf/templates/front/liseuse-papier/index.html.twig");
  758.     }
  759. }