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

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.     </style>
  367. ";
  368.         
  369.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  370.         
  371.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  372.     }
  373.     // line 207
  374.     public function block_javascripts($context, array $blocks = [])
  375.     {
  376.         $macros $this->macros;
  377.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  378.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  379.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  380.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  381.         // line 208
  382.         echo "    <script src=\"";
  383.         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.'208$this->source); })()), "request", [], "any"falsefalsefalse208), "scheme", [], "any"falsefalsefalse208) . "://") . 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.'208$this->source); })()), "request", [], "any"falsefalsefalse208), "httpHost", [], "any"falsefalsefalse208)), "html"nulltrue);
  384.         echo "/assets/pdf.js\"></script>
  385.     <script>
  386.         // Loaded via <script> tag, create shortcut to access PDF.js exports.
  387.         var pdfjsLib = window['pdfjs-dist/build/pdf'];
  388.         // The workerSrc property shall be specified.
  389.         pdfjsLib.GlobalWorkerOptions.workerSrc = \"";
  390.         // line 214
  391.         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.'214$this->source); })()), "request", [], "any"falsefalsefalse214), "scheme", [], "any"falsefalsefalse214) . "://") . 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.'214$this->source); })()), "request", [], "any"falsefalsefalse214), "httpHost", [], "any"falsefalsefalse214)), "html"nulltrue);
  392.         echo "/assets/pdf.worker.js\";
  393.     </script>
  394.     <script type=\"text/javascript\">
  395.         var nameFile = \"";
  396.         // line 217
  397.         if ((isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'217$this->source); })())) {
  398.             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.'217$this->source); })()), "filePapier", [], "any"falsefalsefalse217), "html"nulltrue);
  399.         }
  400.         echo "\";
  401.         var url = \"";
  402.         // line 218
  403.         if ((isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'218$this->source); })())) {
  404.             echo " ";
  405.             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.'218$this->source); })()), "isTopImp", [], "any"falsefalsefalse218)) {
  406.                 echo " ";
  407.                 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.'218$this->source); })()), "filePapier", [], "any"falsefalsefalse218))), "html"nulltrue);
  408.                 echo " ";
  409.             } 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.'218$this->source); })()), "isModif", [], "any"falsefalsefalse218)) {
  410.                 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.'218$this->source); })()), "filePapier", [], "any"falsefalsefalse218))), "html"nulltrue);
  411.                 echo " ";
  412.             } else {
  413.                 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.'218$this->source); })()), "filePapier", [], "any"falsefalsefalse218))), "html"nulltrue);
  414.                 echo " ";
  415.             }
  416.         }
  417.         echo "\";
  418.         var token = \"";
  419.         // line 219
  420.         if ((isset($context["papierCourant"]) || array_key_exists("papierCourant"$context) ? $context["papierCourant"] : (function () { throw new RuntimeError('Variable "papierCourant" does not exist.'219$this->source); })())) {
  421.             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.'219$this->source); })()), "token", [], "any"falsefalsefalse219), "html"nulltrue);
  422.         } else {
  423.         }
  424.         echo "\";
  425.         var editPspdfkit = \"";
  426.         // line 220
  427.         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.'220$this->source); })()), "request", [], "any"falsefalsefalse220), "get", [=> "editPspdfkit"], "method"falsefalsefalse220), "html"nulltrue);
  428.         echo "\";
  429.         var cssPspdfkitSuppliment = \"";
  430.         // line 221
  431.         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.'221$this->source); })()), "request", [], "any"falsefalsefalse221), "scheme", [], "any"falsefalsefalse221) . "://") . 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.'221$this->source); })()), "request", [], "any"falsefalsefalse221), "httpHost", [], "any"falsefalsefalse221)), "html"nulltrue);
  432.         echo "/assets/pspdfkit_suppliment1.css\";
  433.         var souhaite_str = \"";
  434.         // line 222
  435.         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.'222$this->source); })()), "request", [], "any"falsefalsefalse222), "get", [=> "souhaite_str"], "method"falsefalsefalse222), "html"nulltrue);
  436.         echo "\";
  437.     </script>
  438.     ";
  439.         // line 224
  440.         $this->displayParentBlock("javascripts"$context$blocks);
  441.         echo "
  442.     ";
  443.         // line 225
  444.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("uploadfileCustom");
  445.         echo "
  446.     ";
  447.         // line 226
  448.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("pdf_viewer_liseuse");
  449.         echo "
  450.     ";
  451.         // line 227
  452.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("block_option_liseuse");
  453.         echo "
  454.     <script src=\"";
  455.         // line 228
  456.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/admin/liveIcon/productPdfLiseuse.js"), "html"nulltrue);
  457.         echo "\"></script>
  458.     <script src=\"";
  459.         // line 229
  460.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/dist2/pspdfkit.js"), "html"nulltrue);
  461.         echo "\"></script>
  462.     ";
  463.         // line 230
  464.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("pspdfkit_liseuse");
  465.         echo "
  466.     <script>
  467.         window.___gcfg = {
  468.             parsetags: 'explicit'
  469.         };
  470.     </script>
  471.     <script src=\"https://apis.google.com/js/platform.js\" async defer></script>
  472. ";
  473.         
  474.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  475.         
  476.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  477.     }
  478.     public function getTemplateName()
  479.     {
  480.         return "front/liseuse-papier/index.html.twig";
  481.     }
  482.     public function isTraitable()
  483.     {
  484.         return false;
  485.     }
  486.     public function getDebugInfo()
  487.     {
  488.         return array (  492 => 230,  488 => 229,  484 => 228,  480 => 227,  476 => 226,  472 => 225,  468 => 224,  463 => 222,  459 => 221,  455 => 220,  448 => 219,  431 => 218,  425 => 217,  419 => 214,  409 => 208,  399 => 207,  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,);
  489.     }
  490.     public function getSourceContext()
  491.     {
  492.         return new Source("{% extends 'front/layout.html.twig' %}
  493. {% block googleTagManagerDataLayer %}
  494.     {% include 'google_tag.html.twig' with {'titlePage':'liseuse','categoryPage':'product-details','navigation_category1':'','navigation_category2':'','navigation_category3':'' }   %}
  495. {% endblock %}
  496. {% block body %}
  497.     {% include 'front/header.html.twig' %}
  498.     {% set currentPath = path(app.request.attributes.get('_route'),app.request.attributes.get('_route_params')) %}
  499.     <script>
  500.         var isMobile = \"{{ app.request.get('isMobile') }}\";
  501.         if(\$( window ).width() > 1100 ) {
  502.             if(isMobile == '1'){
  503.                 window.location.replace(\"{{ currentPath }}?isMobile=0\");
  504.             }
  505.         }else {
  506.             if(isMobile != '1') {
  507.                 window.location.replace(\"{{ currentPath }}?isMobile=1\");
  508.             }
  509.         }
  510.     </script>
  511.     {% if getDisponibiliteProductPapierPerCountrySession(constant('App\\\\Entity\\\\Product::PAPIER')) == false %}
  512.         <div class=\"mt-4 p-5\">
  513.             <div class=\"alert alert-danger\" role=\"alert\">
  514.                 <p class=\"p-2\">{{ 'la liseuse est actuellement indisponible dans' | trans({}, \"productTranslate\") }} \"{{ getCountrySession() }}\"</p>
  515.             </div>
  516.         </div>
  517.     {% else %}
  518.         {% if app.request.get('isMobile') == '1' %}
  519.             {% include 'front/liseuse-papier/index-mobile.html.twig' %}
  520.         {% else %}
  521.             {% include 'front/liseuse-papier/index-desktop.html.twig' %}
  522.         {% endif %}
  523.     {% endif %}
  524.     <input type=\"hidden\" id=\"catLiseuseConfig\" value=\"{{ catLiseuseConfig() }}\">
  525.     <div class=\"modal fade\" id=\"contunueMesAchat\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  526.         <div class=\"modal-dialog\" role=\"document\">
  527.             <div class=\"modal-content\">
  528.                 <div class=\"modal-header\">
  529.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  530.                         <img src=\"{{ asset('/images/modalContinueAchatLiseuse.png') }}\">
  531.                     </button>
  532.                 </div>
  533.                 <div class=\"modal-body contunueMesAchatBody\" style=\"padding-bottom: 5px;\">
  534.                     <h2>{{ 'Finalisez votre commande' | trans({}, \"productTranslate\") }}</h2>
  535.                     <div class=\"\">
  536.                         <p>
  537.                             {{ '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>
  538.                         </p>
  539.                     </div>
  540.                 </div>
  541.                 <div class=\"modal-body contunueMesAchatHeader\" style=\"\">
  542.                     <div class=\"row \">
  543.                         <div class=\"col-4 col-sm-4 col-md-4\">
  544.                             <a class=\"\" href=\"{% if papierCourant %}{{ papierCourant.product.lienBlocModalLiseuse1 }}{% endif %}\">
  545.                                 <div class=\"\" style=\"\">
  546.                                     <img src=\"{% if papierCourant %}{{ asset('/imageSite/'~papierCourant.product.imageBlocModalLiseuse1) }}{% endif %}\">
  547.                                 </div>
  548.                             </a>
  549.                         </div>
  550.                         <div class=\"col-4 col-sm-4 col-md-4 \">
  551.                             <a class=\"\" href=\"{% if papierCourant %}{{ papierCourant.product.lienBlocModalLiseuse2 }}{% endif %}\">
  552.                                 <div class=\"\" style=\"\">
  553.                                     <img src=\"{% if papierCourant %}{{ asset('/imageSite/'~papierCourant.product.imageBlocModalLiseuse2) }}{% endif %}\">
  554.                                 </div>
  555.                             </a>
  556.                         </div>
  557.                         <div class=\"col-4 col-sm-4 col-md-4  \">
  558.                             <a class=\"\" href=\"{% if papierCourant %}{{ papierCourant.product.lienBlocModalLiseuse3 }}{% endif %}\">
  559.                                 <div class=\"\" style=\"\">
  560.                                     <img src=\"{% if papierCourant %}{{ asset('/imageSite/'~papierCourant.product.imageBlocModalLiseuse3) }}{% endif %}\">
  561.                                 </div>
  562.                             </a>
  563.                         </div>
  564.                     </div>
  565.                 </div>
  566.                 <div class=\"modal-body contunueMesAchatBody\" style=\"\">
  567.                     <div class=\"\">
  568.                         <div class=\"searchProductMenuLiseuseBloc\" style=\"position: relative;\" >
  569.                             <input class=\"inputstyletopLiseuse\" type=\"text\" id=\"searchProductMenuLiseuse\" style=\"cursor: pointer;\" placeholder=\"{{ 'Trouvez votre produit livré'|trans|raw  }}\">
  570.                             <div class=\"close_result_head\" id=\"close_result_product\" style=\"cursor: pointer;position: absolute;right: 17px;top: 3px;display: none\">
  571.                                 <img src=\"{{ asset('images/bg_closeh.png') }}\">
  572.                             </div>
  573.                         </div>
  574.                         <div class=\"collapse ipstresl \" id=\"collapseProductMenuLiseuse\" style=\"width: 94%;\">
  575.                             <div class=\"divSearchProductMenu\">
  576.                                 <div id=\"divSearchProductMenuLiseuse\" style=\"min-height: 300px; display: none;max-height: 461px;overflow: auto;\">
  577.                                 </div>
  578.                             </div>
  579.                         </div>
  580.                         <div class=\"btnModalAchatLiseuse\" style=\"\">
  581.                             <a href=\"{{ path('besoin_produits') }}\" class=\"nav-link continueLinck1  btn btn-primary\">{{ 'Continuer mes achats' | trans({}, \"productTranslate\") }}</a>
  582.                             <a href=\"{{ path('checkout') }}\" class=\"nav-link continueLinck2  btn btn-primary\">{{ 'Payer' | trans({}, \"productTranslate\") }}</a>
  583.                         </div>
  584.                     </div>
  585.                 </div>
  586.             </div>
  587.         </div>
  588.     </div>
  589.     <div class=\"modal fade\" id=\"pspdfkitLiseuse\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  590.         <div class=\"modal-dialog\" role=\"document\" style=\"width: 100%!important;max-width: 100%!important;margin-top: 1vw !important;\">
  591.             <div class=\"modal-content\">
  592.                 <div class=\"modal-header\">
  593.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  594.                         <span aria-hidden=\"true\">×</span>
  595.                     </button>
  596.                 </div>
  597.                 <div class=\"modal-body\" style=\"margin-top:-25px!important;\">
  598.                     <div id=\"pspdfkit\" style=\"width: 100%; height: 720px;\"></div>
  599.                     {% include 'front/liseuse-papier/menu_plus_pspdf.html.twig' %}
  600.                 </div>
  601.             </div>
  602.         </div>
  603.     </div>
  604.     <div class=\"modal fade\" id=\"pspdfkitLiseuseSpinner\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  605.         <div class=\"modal-dialog \" role=\"document\" >
  606.             <div class=\"modal-content nb_des\">
  607.                 <div class=\"modal-body\" style=\"margin-top: 0px!important;text-align: center;!important;\">
  608.                     <span class='spinner-border'></span>
  609.                 </div>
  610.             </div>
  611.         </div>
  612.     </div>
  613.     <div class=\"modal fade\" id=\"pspdfkitLiseuseAction\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  614.         <div class=\"modal-dialog \" role=\"document\" style=\"\">
  615.             <div class=\"modal-content\">
  616.                 <div class=\"modal-body pspdfkitLiseuseActionContent\" style=\"margin-top: 0px!important;text-align: center;!important;\">
  617.                     <span class='spinner-border'></span>
  618.                 </div>
  619.             </div>
  620.         </div>
  621.     </div>
  622.     <div class=\"modal fade\" id=\"reluireCheckmodal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  623.         <div class=\"modal-dialog \" role=\"document\" style=\"\">
  624.             <div class=\"modal-content\">
  625.                 <div class=\"modal-header\">
  626.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\" style=\"z-index: 9999;\">
  627.                         <span aria-hidden=\"true\">×</span>
  628.                     </button>
  629.                 </div>
  630.                 <div class=\"modal-body\" style=\"\">
  631.                     <div id=\"reluireCheckContent\">
  632.                     </div>
  633.                 </div>
  634.             </div>
  635.         </div>
  636.     </div>
  637.     <div class=\"modal fade\" id=\"modalLoginLiseuse\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" style=\"display: none;\" aria-hidden=\"true\">
  638.         <div class=\"modal-dialog \" role=\"document\" style=\"\">
  639.             <div class=\"modal-content\">
  640.                 <div class=\"modal-header\">
  641.                     <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  642.                         <span aria-hidden=\"true\">×</span>
  643.                     </button>
  644.                 </div>
  645.                 <div class=\"modal-body\" style=\"\">
  646.                     <div id=\"modalLoginLiseuseContent\">
  647.                         {% include 'front/liseuse-papier/login-modal-liseuse.html.twig' %}
  648.                         <input type=\"hidden\" id=\"typeFunction\" value=\"\">
  649.                     </div>
  650.                 </div>
  651.             </div>
  652.         </div>
  653.     </div>
  654.     <style>
  655.         .ajax-file-upload{
  656.             display: none!important;
  657.         }
  658.         .ajax-file-upload-error{
  659.             margin-top:10px;
  660.         }
  661.         .ajax-file-upload-filename{
  662.             font-size: 11px!important;
  663.             margin-left: 4px!important;
  664.             margin-bottom : 0px!important;
  665.             width: 100%!important;
  666.             text-align: left;
  667.         }
  668.         .ajax-file-upload-progress{
  669.             width: 100%!important;
  670.             border-radius: 0px!important;
  671.             background-color: #eeeeee!important;
  672.             margin-left: 0px!important;
  673.             margin-top: 0px!important;
  674.             border: 0px!important;
  675.             font-size: 11px!important;
  676.         }
  677.         .ajax-file-upload-bar{
  678.             height: 13px!important;
  679.             background-color: #007bff!important;
  680.         }
  681.         .ajax-file-upload-statusbar{
  682.             border: 0 !important;
  683.             width: 100%!important;
  684.             margin: 0 !important;
  685.             padding: 5px 15px 5px 15px!important;
  686.         }
  687.         .progress{
  688.             height: 13px!important;
  689.         }
  690.         .reluireCheckContentP{
  691.             text-align: left!important;
  692.         }
  693.     </style>
  694. {% endblock %}
  695. {% block javascripts %}
  696.     <script src=\"{{ app.request.scheme ~'://' ~ app.request.httpHost}}/assets/pdf.js\"></script>
  697.     <script>
  698.         // Loaded via <script> tag, create shortcut to access PDF.js exports.
  699.         var pdfjsLib = window['pdfjs-dist/build/pdf'];
  700.         // The workerSrc property shall be specified.
  701.         pdfjsLib.GlobalWorkerOptions.workerSrc = \"{{ app.request.scheme ~'://' ~ app.request.httpHost}}/assets/pdf.worker.js\";
  702.     </script>
  703.     <script type=\"text/javascript\">
  704.         var nameFile = \"{% if papierCourant %}{{ papierCourant.filePapier }}{% endif %}\";
  705.         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 %}\";
  706.         var token = \"{% if papierCourant %}{{ papierCourant.token }}{% else %}{% endif %}\";
  707.         var editPspdfkit = \"{{  app.request.get('editPspdfkit')  }}\";
  708.         var cssPspdfkitSuppliment = \"{{ app.request.scheme ~'://' ~ app.request.httpHost}}/assets/pspdfkit_suppliment1.css\";
  709.         var souhaite_str = \"{{  app.request.get('souhaite_str')  }}\";
  710.     </script>
  711.     {{ parent() }}
  712.     {{ encore_entry_script_tags('uploadfileCustom') }}
  713.     {{ encore_entry_script_tags('pdf_viewer_liseuse') }}
  714.     {{ encore_entry_script_tags('block_option_liseuse') }}
  715.     <script src=\"{{ asset('assets/admin/liveIcon/productPdfLiseuse.js') }}\"></script>
  716.     <script src=\"{{ asset('assets/dist2/pspdfkit.js') }}\"></script>
  717.     {{ encore_entry_script_tags('pspdfkit_liseuse') }}
  718.     <script>
  719.         window.___gcfg = {
  720.             parsetags: 'explicit'
  721.         };
  722.     </script>
  723.     <script src=\"https://apis.google.com/js/platform.js\" async defer></script>
  724. {% endblock %}
  725. ""front/liseuse-papier/index.html.twig""/home/preprodcopees/www/copees-sf/templates/front/liseuse-papier/index.html.twig");
  726.     }
  727. }