protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     $context["updates"] = $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "platform", array()), "updates", array());
     // line 2
     if (isset($context["updates"]) ? $context["updates"] : null) {
         // line 3
         $context["version"] = twig_last($this->env, twig_split_filter($this->env, $this->getAttribute(isset($context["updates"]) ? $context["updates"] : null, 0, array()), " "));
         // line 4
         echo "<div class=\"g-grid\">\n    <div class=\"g-block\">\n        <div class=\"update-header clearfix\">\n            <span class=\"update-text\">";
         // line 7
         echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_UPDATES_AVAILABLE"), "html", null, true);
         echo ": ";
         echo twig_escape_filter($this->env, twig_join_filter(isset($context["updates"]) ? $context["updates"] : null, ", "), "html", null, true);
         echo "</span>\n            <div class=\"update-tools\">\n                <a href=\"";
         // line 9
         echo $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "platform", array()), "update", array());
         echo "\" class=\"button button-update\"><i class=\"fa fa-refresh\"></i> <span>";
         echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_UPDATE"), "html", null, true);
         echo "</span></a>\n                <a href=\"#\" data-changelog=\"";
         // line 10
         echo twig_escape_filter($this->env, isset($context["version"]) ? $context["version"] : null, "html", null, true);
         echo "\" class=\"button button-update\"><i class=\"fa fa-book\"></i> <span>";
         echo twig_escape_filter($this->env, $this->env->getExtension('GantryTwig')->transFilter("GANTRY5_PLATFORM_CHANGELOG"), "html", null, true);
         echo "</span></a>\n                <a href=\"#\" class=\"fa fa-close\" data-g-close=\".g-grid\"></a>\n            </div>\n        </div>\n    </div>\n</div>\n";
     }
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     if (array_key_exists("entities", $context)) {
         // line 2
         echo "    <header>نتایج جستجو برای: ";
         echo twig_escape_filter($this->env, isset($context["query"]) ? $context["query"] : $this->getContext($context, "query"), "html", null, true);
         echo "</header>\n    ";
         // line 3
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities"));
         foreach ($context['_seq'] as $context["_key"] => $context["book"]) {
             // line 4
             echo "    <article id=\"book\">\n            <figure>\n                ";
             // line 6
             $context["cover"] = twig_last($this->env, twig_split_filter($this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "cover"), "/"));
             echo "            \n                ";
             // line 8
             echo "                <img src=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter(twig_join_filter(array(0 => "uploads/", 1 => isset($context["cover"]) ? $context["cover"] : $this->getContext($context, "cover"))), "my_thumb", true), "html", null, true);
             echo "\" />\n            </figure>\n            <figcaption>            \n                <div id=\"comments_num\" title=\"";
             // line 11
             if ($this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "commentNum")) {
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "commentNum"), "html", null, true);
                 echo " دیدگاه";
             } else {
                 echo "بدون دیدگاه";
             }
             echo "\"><h3>";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "commentNum"), "html", null, true);
             echo "</h3></div>\n                <a href=\"";
             // line 12
             echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_show", array("id" => $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "link"))), "html", null, true);
             echo "\"><h1>";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "name"), "html", null, true);
             echo "</h1></a>\n                <h3>";
             // line 13
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "author"), "html", null, true);
             echo "</h3>\n                <a href=\"";
             // line 14
             echo twig_escape_filter($this->env, twig_join_filter(array(0 => "uploads/", 1 => $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "file"))), "html", null, true);
             echo "\"><button type=\"button\" class=\"btn btn-info\">دریافت</button></a>\n            </figcaption>\n    </article>    \n    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['book'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 18
         echo "    <div id=\"clr\"></div>\n    ";
         // line 19
         echo $this->env->getExtension('knp_pagination')->render(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities"));
         echo "\n";
     } else {
         // line 21
         echo "    ";
         $this->env->loadTemplate("ChakoshHomeBundle:Home:noresult_content.html.twig")->display($context);
     }
     // line 23
     echo "\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 3
     if (array_key_exists("category", $context)) {
         echo "<header><span class=\"glyphicon glyphicon-briefcase\"></span> آرشیو دسته ی: ";
         echo twig_escape_filter($this->env, isset($context["category"]) ? $context["category"] : $this->getContext($context, "category"), "html", null, true);
         echo "</header>";
     }
     // line 4
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities"));
     foreach ($context['_seq'] as $context["_key"] => $context["book"]) {
         // line 5
         echo "<article id=\"book\">\n        <figure>\n            ";
         // line 7
         $context["cover"] = twig_last($this->env, twig_split_filter($this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "cover"), "/"));
         // line 8
         echo "            ";
         // line 9
         echo "            <img src=\"";
         echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter(twig_join_filter(array(0 => "uploads/", 1 => isset($context["cover"]) ? $context["cover"] : $this->getContext($context, "cover"))), "my_thumb", true), "html", null, true);
         echo "\" />\n        </figure>\n        <figcaption>            \n            <div id=\"comments_num\" title=\"";
         // line 12
         if ($this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "commentNum")) {
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "commentNum"), "html", null, true);
             echo " دیدگاه";
         } else {
             echo "بدون دیدگاه";
         }
         echo "\"><h3>";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "commentNum"), "html", null, true);
         echo "</h3></div>\n            <a href=\"";
         // line 13
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_show", array("id" => $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "link"))), "html", null, true);
         echo "\"><h1>";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "name"), "html", null, true);
         echo "</h1></a>\n            <h3>";
         // line 14
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "author"), "html", null, true);
         echo "</h3>\n            <a href=\"";
         // line 15
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "file"), "html", null, true);
         echo "\"><button type=\"button\" class=\"btn btn-info\">دریافت</button></a>\n        </figcaption>\n</article>    \n";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['book'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 19
     echo "<div id=\"clr\"></div>\n";
     // line 20
     echo $this->env->getExtension('knp_pagination')->render(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities"));
     echo "\n<script type=\"text/javascript\">\n\n</script>\n";
 }
 public function block_page_content($context, array $blocks = array())
 {
     // line 6
     echo "    <div class=\"page-header\">\n        <h1>Namespaces</h1>\n    </div>\n\n    ";
     // line 10
     if (isset($context["namespaces"]) ? $context["namespaces"] : $this->getContext($context, "namespaces")) {
         // line 11
         echo "        <div class=\"namespaces clearfix\">\n            ";
         // line 12
         $context["last_name"] = "";
         // line 13
         echo "            ";
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["namespaces"]) ? $context["namespaces"] : $this->getContext($context, "namespaces"));
         foreach ($context['_seq'] as $context["_key"] => $context["namespace"]) {
             // line 14
             echo "                ";
             $context["top_level"] = twig_first($this->env, twig_split_filter($this->env, $context["namespace"], "\\"));
             // line 15
             echo "                ";
             if ((isset($context["top_level"]) ? $context["top_level"] : $this->getContext($context, "top_level")) != (isset($context["last_name"]) ? $context["last_name"] : $this->getContext($context, "last_name"))) {
                 // line 16
                 echo "                    ";
                 if (isset($context["last_name"]) ? $context["last_name"] : $this->getContext($context, "last_name")) {
                     echo "</ul></div>";
                 }
                 // line 17
                 echo "                    <div class=\"namespace-container\">\n                        <h2>";
                 // line 18
                 echo twig_escape_filter($this->env, isset($context["top_level"]) ? $context["top_level"] : $this->getContext($context, "top_level"), "html", null, true);
                 echo "</h2>\n                        <ul>\n                    ";
                 // line 20
                 $context["last_name"] = isset($context["top_level"]) ? $context["top_level"] : $this->getContext($context, "top_level");
                 // line 21
                 echo "                ";
             }
             // line 22
             echo "                <li><a href=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('sami')->pathForNamespace($context, $context["namespace"]), "html", null, true);
             echo "\">";
             echo twig_escape_filter($this->env, $context["namespace"], "html", null, true);
             echo "</a></li>\n            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['namespace'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 24
         echo "                </ul>\n            </div>\n        </div>\n    ";
     }
     // line 28
     echo "\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 50
     echo "    <header>\n        <h3>";
     // line 51
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "name"), "html", null, true);
     echo "</h3>\n        <h3> | </h3>\n        <h3>";
     // line 53
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "author"), "html", null, true);
     echo "</h3>\n        <div id=\"category\">\n        ";
     // line 55
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["category"]) ? $context["category"] : $this->getContext($context, "category"));
     $context['_iterated'] = false;
     foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
         // line 56
         echo "        <a href=\"";
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("category_show", array("category" => $this->getAttribute(isset($context["cat"]) ? $context["cat"] : $this->getContext($context, "cat"), "name"))), "html", null, true);
         echo "\">\n            <span class=\"label label-success\">";
         // line 57
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["cat"]) ? $context["cat"] : $this->getContext($context, "cat"), "name"), "html", null, true);
         echo "</span>\n        </a>\n        ";
         $context['_iterated'] = true;
     }
     if (!$context['_iterated']) {
         // line 60
         echo "            <span class=\"label label-success\">دسته بندی نشده</span>\n        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 62
     echo "        </div>\n    </header>\n    <a class=\"image-popup-no-margins\" href=\"";
     // line 64
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "cover"), "html", null, true);
     echo "\">\n        <div id=\"cover_image\">\n            <figure id=\"single\">\n                ";
     // line 67
     $context["cover"] = twig_last($this->env, twig_split_filter($this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "cover"), "/"));
     // line 68
     echo "                <img src=\"";
     echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter(twig_join_filter(array(0 => "uploads/", 1 => isset($context["cover"]) ? $context["cover"] : $this->getContext($context, "cover"))), "my_thumb"), "html", null, true);
     echo "\" />\n                <div id=\"download\">\n                    <a href=\"";
     // line 70
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "file"), "html", null, true);
     echo "\"><button type=\"submit\" class=\"btn btn-info\" />دریافت</button></a>\n                </div>\n            </figure>\n        </div>    \n    </a>\n    \n    <footer id=\"single-footer\">        \n        <p>";
     // line 77
     echo $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "content");
     echo "</p>\n    </footer>\n    <div id=\"clr\"></div>\n    ";
     // line 80
     $this->env->loadTemplate("ChakoshHomeBundle:Base:comments.html.twig")->display(array_merge($context, isset($context["comment"]) ? $context["comment"] : $this->getContext($context, "comment")));
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_913efd20ade0fd96b4cc351a3325337265d2689c41c1f3637a85b14df3332e8a = $this->env->getExtension("native_profiler");
     $__internal_913efd20ade0fd96b4cc351a3325337265d2689c41c1f3637a85b14df3332e8a->enter($__internal_913efd20ade0fd96b4cc351a3325337265d2689c41c1f3637a85b14df3332e8a_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@EasyAdmin/default/layout.html.twig"));
     // line 1
     echo "<!DOCTYPE html>\naaaaa\n<html lang=\"";
     // line 3
     echo twig_escape_filter($this->env, _twig_default_filter(twig_first($this->env, twig_split_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "request", array()), "locale", array()), "_")), "en"), "html", null, true);
     echo "\">\n    <head>\n        <meta charset=\"utf-8\">\n        <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n        <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">\n        <meta name=\"generator\" content=\"EasyAdmin\" />\n\n        <title>";
     // line 10
     $this->displayBlock('page_title', $context, $blocks);
     echo "</title>\n\n        ";
     // line 12
     $this->displayBlock('head_stylesheets', $context, $blocks);
     // line 19
     echo "\n        ";
     // line 20
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable($this->env->getExtension('easyadmin_extension')->getBackendConfiguration("design.assets.css"));
     foreach ($context['_seq'] as $context["_key"] => $context["css_asset"]) {
         // line 21
         echo "            <link rel=\"stylesheet\" href=\"";
         echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl($context["css_asset"]), "html", null, true);
         echo "\">\n        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['css_asset'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 23
     echo "\n        ";
     // line 24
     $this->displayBlock('head_favicon', $context, $blocks);
     // line 28
     echo "\n        <!--[if lt IE 9]>\n            <script src=\"";
     // line 30
     echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("bundles/easyadmin/stylesheet/html5shiv.min.css"), "html", null, true);
     echo "\"</script>\n            <script src=\"";
     // line 31
     echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("bundles/easyadmin/stylesheet/respond.min.css"), "html", null, true);
     echo "\"></script>\n        <![endif]-->\n\n        ";
     // line 34
     $this->displayBlock('head_javascript', $context, $blocks);
     // line 35
     echo "    </head>\n\n    ";
     // line 37
     $this->displayBlock('body', $context, $blocks);
     // line 145
     echo "</html>\n";
     $__internal_913efd20ade0fd96b4cc351a3325337265d2689c41c1f3637a85b14df3332e8a->leave($__internal_913efd20ade0fd96b4cc351a3325337265d2689c41c1f3637a85b14df3332e8a_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<!DOCTYPE html>\n<html lang=\"";
     // line 2
     echo twig_escape_filter($this->env, _twig_default_filter(twig_first($this->env, twig_split_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : null, "request", array()), "locale", array()), "_")), "en"), "html", null, true);
     echo "\">\n    <head>\n        <meta charset=\"utf-8\">\n        <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n        <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">\n        <meta name=\"generator\" content=\"EasyAdmin\" />\n\n        <title>";
     // line 9
     $this->displayBlock('page_title', $context, $blocks);
     echo "</title>\n\n        ";
     // line 11
     $this->displayBlock('head_stylesheets', $context, $blocks);
     // line 18
     echo "\n        ";
     // line 19
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable($this->env->getExtension('easyadmin_extension')->getBackendConfiguration("design.assets.css"));
     foreach ($context['_seq'] as $context["_key"] => $context["css_asset"]) {
         // line 20
         echo "            <link rel=\"stylesheet\" href=\"";
         echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl($context["css_asset"]), "html", null, true);
         echo "\">\n        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['css_asset'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 22
     echo "\n        ";
     // line 23
     $this->displayBlock('head_favicon', $context, $blocks);
     // line 27
     echo "\n        <!--[if lt IE 9]>\n            <script src=\"";
     // line 29
     echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("bundles/easyadmin/stylesheet/html5shiv.min.css"), "html", null, true);
     echo "\"</script>\n            <script src=\"";
     // line 30
     echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("bundles/easyadmin/stylesheet/respond.min.css"), "html", null, true);
     echo "\"></script>\n        <![endif]-->\n\n        ";
     // line 33
     $this->displayBlock('head_javascript', $context, $blocks);
     // line 34
     echo "    </head>\n\n    ";
     // line 36
     $this->displayBlock('body', $context, $blocks);
     // line 145
     echo "</html>\n";
 }
 public function block_content($context, array $blocks = array())
 {
     // line 3
     echo "<section class=\"row\">\n    <div class=\"col-md-3\">\n    </div>\n    <div class=\"col-md-3\"></div>\n    <div class=\"col-md-3\"></div>\n    <div class=\"col-md-3\">\n        <a href=\"";
     // line 9
     echo $this->env->getExtension('routing')->getPath("admin_new");
     echo "\"><button type=\"button\" class=\"btn btn-primary\"><span class=\"fa-plus\"></span> جدید</button></a>\n    </div>\n</section>\n<section>\n    <table class=\"table\">\n        <thead>\n            <tr>\n                <th>کاور</th>\n                <th>دیدگاه</th>\n                <th>نام</th>\n                <th>نویسنده</th>\n            </tr>\n        </thead>\n        <tbody>\n        ";
     // line 23
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities"));
     foreach ($context['_seq'] as $context["_key"] => $context["book"]) {
         // line 24
         echo "        ";
         $context["cover"] = twig_last($this->env, twig_split_filter($this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "cover"), "/"));
         // line 25
         echo "            <tr>\n                <td><img src=\"";
         // line 26
         echo twig_escape_filter($this->env, $this->env->getExtension('liip_imagine')->filter(twig_join_filter(array(0 => "uploads/", 1 => isset($context["cover"]) ? $context["cover"] : $this->getContext($context, "cover"))), "small", true), "html", null, true);
         echo "\" /></td>\n                <td>";
         // line 27
         if ($this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "commentNum")) {
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "commentNum"), "html", null, true);
             echo " دیدگاه";
         } else {
             echo "بدون دیدگاه";
         }
         echo "</td>\n                <td><a href=\"";
         // line 28
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_edit", array("id" => $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "id"))), "html", null, true);
         echo "\">";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "name"), "html", null, true);
         echo "</a></td>\n                <td>";
         // line 29
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["book"]) ? $context["book"] : $this->getContext($context, "book"), "author"), "html", null, true);
         echo "</td>\n            </tr>\n        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['book'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 32
     echo "        </tbody>\n    </table>\n</section>\n";
     // line 35
     echo $this->env->getExtension('knp_pagination')->render(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities"));
     echo "\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_b6577aabed1b59abc2dcd70f6f709dedd4f304b19815695b725d60aefbbe37c3 = $this->env->getExtension("native_profiler");
     $__internal_b6577aabed1b59abc2dcd70f6f709dedd4f304b19815695b725d60aefbbe37c3->enter($__internal_b6577aabed1b59abc2dcd70f6f709dedd4f304b19815695b725d60aefbbe37c3_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@EasyAdmin/default/layout.html.twig"));
     // line 1
     echo "<!DOCTYPE html>\n<html lang=\"";
     // line 2
     echo twig_escape_filter($this->env, _twig_default_filter(twig_first($this->env, twig_split_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "request", array()), "locale", array()), "_")), "en"), "html", null, true);
     echo "\">\n    <head>\n        <meta charset=\"utf-8\">\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n        <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n        <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\n        <meta name=\"generator\" content=\"EasyAdmin\" />\n\n        <title>";
     // line 10
     $this->displayBlock('page_title', $context, $blocks);
     echo "</title>\n\n        ";
     // line 12
     $this->displayBlock('head_stylesheets', $context, $blocks);
     // line 17
     echo "\n        ";
     // line 18
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable($this->env->getExtension('easyadmin_extension')->getBackendConfiguration("design.assets.css"));
     foreach ($context['_seq'] as $context["_key"] => $context["css_asset"]) {
         // line 19
         echo "            <link rel=\"stylesheet\" href=\"";
         echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl($context["css_asset"]), "html", null, true);
         echo "\">\n        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['css_asset'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 21
     echo "\n        ";
     // line 22
     $this->displayBlock('head_favicon', $context, $blocks);
     // line 26
     echo "\n        ";
     // line 27
     $this->displayBlock('head_javascript', $context, $blocks);
     // line 28
     echo "    </head>\n\n    ";
     // line 30
     $this->displayBlock('body', $context, $blocks);
     // line 129
     echo "</html>\n";
     $__internal_b6577aabed1b59abc2dcd70f6f709dedd4f304b19815695b725d60aefbbe37c3->leave($__internal_b6577aabed1b59abc2dcd70f6f709dedd4f304b19815695b725d60aefbbe37c3_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 2
     echo "\n";
     // line 3
     $context["hasLess"] = false;
     // line 4
     echo "\n";
     // line 5
     // asset "15df054"
     $context["asset_url"] = $this->env->getExtension('asset')->getAssetUrl("css/oro.css");
     // line 6
     echo "    ";
     $context["isLess"] = twig_in_filter("less", twig_split_filter($this->env, isset($context["asset_url"]) ? $context["asset_url"] : null, "."));
     // line 7
     echo "    ";
     $context["hasLess"] = isset($context["isLess"]) ? $context["isLess"] : null ? true : (isset($context["hasLess"]) ? $context["hasLess"] : null);
     // line 8
     echo "\n    <link rel=\"";
     // line 9
     if (isset($context["isLess"]) ? $context["isLess"] : null) {
         echo "stylesheet/less";
     } else {
         echo "stylesheet";
     }
     echo "\" media=\"all\" href=\"";
     echo twig_escape_filter($this->env, isset($context["asset_url"]) ? $context["asset_url"] : null, "html", null, true);
     echo "\" />\n";
     unset($context["asset_url"]);
     // line 11
     echo "\n";
     // line 12
     if (isset($context["hasLess"]) ? $context["hasLess"] : null) {
         // line 13
         echo "    <script type=\"text/javascript\">localStorage.clear();</script>\n    <script type=\"text/javascript\" src=\"";
         // line 14
         echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("bundles/oroassetic/lib/less-1.3.3.min.js"), "html", null, true);
         echo "\"></script>\n    <script type=\"text/javascript\">less.watch();</script>\n";
     }
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_c7d283450d281de59a6ed2d7573c1c0a50b91133b531601a6b9ca4ba7588ffbd = $this->env->getExtension("native_profiler");
     $__internal_c7d283450d281de59a6ed2d7573c1c0a50b91133b531601a6b9ca4ba7588ffbd->enter($__internal_c7d283450d281de59a6ed2d7573c1c0a50b91133b531601a6b9ca4ba7588ffbd_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "NelmioApiDocBundle::method.html.twig"));
     // line 1
     echo "<li class=\"";
     echo twig_escape_filter($this->env, twig_lower_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "method", array())), "html", null, true);
     echo " operation\" id=\"";
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "id", array()), "html", null, true);
     echo "\">\n    <div class=\"heading toggler";
     // line 2
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "deprecated", array())) {
         echo " deprecated";
     }
     echo "\" data-href=\"#";
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "id", array()), "html", null, true);
     echo "\">\n        <h3>\n            <span class=\"http_method\">\n                <i>";
     // line 5
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "method", array())), "html", null, true);
     echo "</i>\n            </span>\n\n            ";
     // line 8
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "deprecated", array())) {
         // line 9
         echo "            <span class=\"deprecated\">\n                <i>DEPRECATED</i>\n            </span>\n            ";
     }
     // line 13
     echo "\n            ";
     // line 14
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "https", array())) {
         // line 15
         echo "                <span class=\"icon lock\" title=\"HTTPS\"></span>\n            ";
     }
     // line 17
     echo "            ";
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "authentication", array())) {
         // line 18
         echo "                <span class=\"icon keys\" title=\"Needs ";
         echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "authenticationRoles", array())) > 0 ? twig_join_filter($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "authenticationRoles", array()), ", ") : "authentication", "html", null, true);
         echo "\"></span>\n            ";
     }
     // line 20
     echo "\n            <span class=\"path\">\n                ";
     // line 22
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "host", array(), "any", true, true)) {
         // line 23
         echo $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "https", array()) ? "https://" : "http://";
         // line 24
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "host", array()), "html", null, true);
     }
     // line 26
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "uri", array()), "html", null, true);
     echo "\n            </span>\n           ";
     // line 28
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "tags", array(), "any", true, true)) {
         // line 29
         echo "                ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "tags", array()));
         foreach ($context['_seq'] as $context["tag"] => $context["color_code"]) {
             // line 30
             echo "                    <span class=\"tag\" ";
             if (array_key_exists("color_code", $context) && !twig_test_empty($context["color_code"])) {
                 echo "style=\"background-color:";
                 echo twig_escape_filter($this->env, $context["color_code"], "html", null, true);
                 echo ";\"";
             }
             echo ">";
             echo twig_escape_filter($this->env, $context["tag"], "html", null, true);
             echo "</span>\n                ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['tag'], $context['color_code'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 32
         echo "            ";
     }
     // line 33
     echo "        </h3>\n        <ul class=\"options\">\n            ";
     // line 35
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "description", array(), "any", true, true)) {
         // line 36
         echo "                <li>";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "description", array()), "html", null, true);
         echo "</li>\n            ";
     }
     // line 38
     echo "        </ul>\n    </div>\n\n    <div class=\"content\" style=\"display: ";
     // line 41
     if (array_key_exists("displayContent", $context) && (isset($context["displayContent"]) ? $context["displayContent"] : $this->getContext($context, "displayContent")) == true) {
         echo "display";
     } else {
         echo "none";
     }
     echo ";\">\n        <ul class=\"tabs\">\n            ";
     // line 43
     if (isset($context["enableSandbox"]) ? $context["enableSandbox"] : $this->getContext($context, "enableSandbox")) {
         // line 44
         echo "                <li class=\"selected\" data-pane=\"content\">Documentation</li>\n                <li data-pane=\"sandbox\">Sandbox</li>\n            ";
     }
     // line 47
     echo "        </ul>\n\n        <div class=\"panes\">\n            <div class=\"pane content selected\">\n            ";
     // line 51
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "documentation", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "documentation", array()))) {
         // line 52
         echo "                <h4>Documentation</h4>\n                <div>";
         // line 53
         echo $this->env->getExtension('nelmio_api_doc')->markdown($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "documentation", array()));
         echo "</div>\n            ";
     }
     // line 55
     echo "\n            ";
     // line 56
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "link", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "link", array()))) {
         // line 57
         echo "                <h4>Link</h4>\n                <div><a href=\"";
         // line 58
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "link", array()), "html", null, true);
         echo "\" target=\"_blank\">";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "link", array()), "html", null, true);
         echo "</a></div>\n            ";
     }
     // line 60
     echo "\n            ";
     // line 61
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "requirements", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "requirements", array()))) {
         // line 62
         echo "                <h4>Requirements</h4>\n                <table class=\"fullwidth\">\n                    <thead>\n                        <tr>\n                            <th>Name</th>\n                            <th>Requirement</th>\n                            <th>Type</th>\n                            <th>Description</th>\n                        </tr>\n                    </thead>\n                    <tbody>\n                        ";
         // line 73
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "requirements", array()));
         foreach ($context['_seq'] as $context["name"] => $context["infos"]) {
             // line 74
             echo "                            <tr>\n                                <td>";
             // line 75
             echo twig_escape_filter($this->env, $context["name"], "html", null, true);
             echo "</td>\n                                <td>";
             // line 76
             echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "requirement", array(), "any", true, true) ? $this->getAttribute($context["infos"], "requirement", array()) : "", "html", null, true);
             echo "</td>\n                                <td>";
             // line 77
             echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "dataType", array(), "any", true, true) ? $this->getAttribute($context["infos"], "dataType", array()) : "", "html", null, true);
             echo "</td>\n                                <td>";
             // line 78
             echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array(), "any", true, true) ? $this->getAttribute($context["infos"], "description", array()) : "", "html", null, true);
             echo "</td>\n                            </tr>\n                        ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 81
         echo "                    </tbody>\n                </table>\n            ";
     }
     // line 84
     echo "\n            ";
     // line 85
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "filters", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "filters", array()))) {
         // line 86
         echo "                <h4>Filters</h4>\n                <table class=\"fullwidth\">\n                    <thead>\n                        <tr>\n                            <th>Name</th>\n                            <th>Information</th>\n                        </tr>\n                    </thead>\n                    <tbody>\n                    ";
         // line 95
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "filters", array()));
         foreach ($context['_seq'] as $context["name"] => $context["infos"]) {
             // line 96
             echo "                        <tr>\n                            <td>";
             // line 97
             echo twig_escape_filter($this->env, $context["name"], "html", null, true);
             echo "</td>\n                            <td>\n                                <table>\n                                ";
             // line 100
             $context['_parent'] = $context;
             $context['_seq'] = twig_ensure_traversable($context["infos"]);
             foreach ($context['_seq'] as $context["key"] => $context["value"]) {
                 // line 101
                 echo "                                    <tr>\n                                        <td>";
                 // line 102
                 echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $context["key"]), "html", null, true);
                 echo "</td>\n                                        <td>";
                 // line 103
                 echo twig_escape_filter($this->env, trim(twig_replace_filter(twig_jsonencode_filter($context["value"]), array("\\\\" => "\\")), "\""), "html", null, true);
                 echo "</td>\n                                    </tr>\n                                ";
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 106
             echo "                                </table>\n                            </td>\n                        </tr>\n                    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 110
         echo "                    </tbody>\n                </table>\n            ";
     }
     // line 113
     echo "\n            ";
     // line 114
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "parameters", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "parameters", array()))) {
         // line 115
         echo "                <h4>Parameters</h4>\n                <table class='fullwidth'>\n                    <thead>\n                        <tr>\n                            <th>Parameter</th>\n                            <th>Type</th>\n                            <th>Required?</th>\n                            <th>Format</th>\n                            <th>Description</th>\n                        </tr>\n                    </thead>\n                    <tbody>\n                        ";
         // line 127
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "parameters", array()));
         foreach ($context['_seq'] as $context["name"] => $context["infos"]) {
             // line 128
             echo "                            ";
             if (!$this->getAttribute($context["infos"], "readonly", array())) {
                 // line 129
                 echo "                                <tr>\n                                    <td>";
                 // line 130
                 echo twig_escape_filter($this->env, $context["name"], "html", null, true);
                 echo "</td>\n                                    <td>";
                 // line 131
                 echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "dataType", array(), "any", true, true) ? $this->getAttribute($context["infos"], "dataType", array()) : "", "html", null, true);
                 echo "</td>\n                                    <td>";
                 // line 132
                 echo $this->getAttribute($context["infos"], "required", array()) ? "true" : "false";
                 echo "</td>\n                                    <td>";
                 // line 133
                 echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "format", array()), "html", null, true);
                 echo "</td>\n                                    <td>";
                 // line 134
                 echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array(), "any", true, true) ? $this->getAttribute($context["infos"], "description", array()) : "", "html", null, true);
                 echo "</td>\n                                </tr>\n                            ";
             }
             // line 137
             echo "                        ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 138
         echo "                    </tbody>\n                </table>\n            ";
     }
     // line 141
     echo "\n            ";
     // line 142
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "response", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "response", array()))) {
         // line 143
         echo "                <h4>Return</h4>\n                <table class='fullwidth'>\n                    <thead>\n                        <tr>\n                            <th>Parameter</th>\n                            <th>Type</th>\n                            <th>Versions</th>\n                            <th>Description</th>\n                        </tr>\n                    </thead>\n                    <tbody>\n                        ";
         // line 154
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "response", array()));
         foreach ($context['_seq'] as $context["name"] => $context["infos"]) {
             // line 155
             echo "                            <tr>\n                                <td>";
             // line 156
             echo twig_escape_filter($this->env, $context["name"], "html", null, true);
             echo "</td>\n                                <td>";
             // line 157
             echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "dataType", array()), "html", null, true);
             echo "</td>\n                                <td>";
             // line 158
             $this->loadTemplate("NelmioApiDocBundle:Components:version.html.twig", "NelmioApiDocBundle::method.html.twig", 158)->display(array("sinceVersion" => $this->getAttribute($context["infos"], "sinceVersion", array()), "untilVersion" => $this->getAttribute($context["infos"], "untilVersion", array())));
             echo "</td>\n                                <td>";
             // line 159
             echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array()), "html", null, true);
             echo "</td>\n                            </tr>\n                        ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 162
         echo "                    </tbody>\n                </table>\n            ";
     }
     // line 165
     echo "\n            ";
     // line 166
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "statusCodes", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "statusCodes", array()))) {
         // line 167
         echo "                <h4>Status Codes</h4>\n                <table class=\"fullwidth\">\n                    <thead>\n                    <tr>\n                        <th>Status Code</th>\n                        <th>Description</th>\n                    </tr>\n                    </thead>\n                    <tbody>\n                    ";
         // line 176
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "statusCodes", array()));
         foreach ($context['_seq'] as $context["status_code"] => $context["descriptions"]) {
             // line 177
             echo "                        <tr>\n                            <td><a href=\"http://en.wikipedia.org/wiki/HTTP_";
             // line 178
             echo twig_escape_filter($this->env, $context["status_code"], "html", null, true);
             echo "\" target=\"_blank\">";
             echo twig_escape_filter($this->env, $context["status_code"], "html", null, true);
             echo "</a></td>\n                            <td>\n                                <ul>\n                                    ";
             // line 181
             $context['_parent'] = $context;
             $context['_seq'] = twig_ensure_traversable($context["descriptions"]);
             foreach ($context['_seq'] as $context["_key"] => $context["description"]) {
                 // line 182
                 echo "                                        <li>";
                 echo twig_escape_filter($this->env, $context["description"], "html", null, true);
                 echo "</li>\n                                    ";
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['description'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 184
             echo "                                </ul>\n                            </td>\n                        </tr>\n                    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['status_code'], $context['descriptions'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 188
         echo "                    </tbody>\n                </table>\n            ";
     }
     // line 191
     echo "\n            ";
     // line 192
     if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "cache", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "cache", array()))) {
         // line 193
         echo "                <h4>Cache</h4>\n                <div>";
         // line 194
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "cache", array()), "html", null, true);
         echo "s</div>\n            ";
     }
     // line 196
     echo "\n            </div>\n\n            ";
     // line 199
     if (isset($context["enableSandbox"]) ? $context["enableSandbox"] : $this->getContext($context, "enableSandbox")) {
         // line 200
         echo "                <div class=\"pane sandbox\">\n                    ";
         // line 201
         if (!(null === $this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "request", array())) && $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "https", array()) && $this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "request", array()), "secure", array()) != $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "https", array())) {
             // line 202
             echo "                    Please reload the documentation using the scheme ";
             if ($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "https", array())) {
                 echo "HTTPS";
             } else {
                 echo "HTTP";
             }
             echo " if you want to use the sandbox.\n                    ";
         } else {
             // line 204
             echo "                        <form method=\"\" action=\"";
             if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "host", array(), "any", true, true)) {
                 echo $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "https", array()) ? "https://" : "http://";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "host", array()), "html", null, true);
             }
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "uri", array()), "html", null, true);
             echo "\">\n                            <fieldset class=\"parameters\">\n                                <legend>Input</legend>\n                                ";
             // line 207
             if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "requirements", array(), "any", true, true)) {
                 // line 208
                 echo "                                    <h4>Requirements</h4>\n                                    ";
                 // line 209
                 $context['_parent'] = $context;
                 $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "requirements", array()));
                 foreach ($context['_seq'] as $context["name"] => $context["infos"]) {
                     // line 210
                     echo "                                        <p class=\"tuple\">\n                                            <input type=\"text\" class=\"key\" value=\"";
                     // line 211
                     echo twig_escape_filter($this->env, $context["name"], "html", null, true);
                     echo "\" placeholder=\"Key\" />\n                                            <span>=</span>\n                                            <input type=\"text\" class=\"value\" placeholder=\"";
                     // line 213
                     if ($this->getAttribute($context["infos"], "description", array(), "any", true, true)) {
                         echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array()), "html", null, true);
                     } else {
                         echo "Value";
                     }
                     echo "\" ";
                     if ($this->getAttribute($context["infos"], "default", array(), "any", true, true)) {
                         echo " value=\"";
                         echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "default", array()), "html", null, true);
                         echo "\" ";
                     }
                     echo "/> <span class=\"remove\">-</span>\n                                        </p>\n                                    ";
                 }
                 $_parent = $context['_parent'];
                 unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']);
                 $context = array_intersect_key($context, $_parent) + $_parent;
                 // line 216
                 echo "                                ";
             }
             // line 217
             echo "                                ";
             if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "filters", array(), "any", true, true)) {
                 // line 218
                 echo "                                    <h4>Filters</h4>\n                                    ";
                 // line 219
                 $context['_parent'] = $context;
                 $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "filters", array()));
                 foreach ($context['_seq'] as $context["name"] => $context["infos"]) {
                     // line 220
                     echo "                                        <p class=\"tuple\">\n                                            <input type=\"text\" class=\"key\" value=\"";
                     // line 221
                     echo twig_escape_filter($this->env, $context["name"], "html", null, true);
                     echo "\" placeholder=\"Key\" />\n                                            <span>=</span>\n                                            <input type=\"text\" class=\"value\" placeholder=\"";
                     // line 223
                     if ($this->getAttribute($context["infos"], "description", array(), "any", true, true)) {
                         echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array()), "html", null, true);
                     } else {
                         echo "Value";
                     }
                     echo "\" ";
                     if ($this->getAttribute($context["infos"], "default", array(), "any", true, true)) {
                         echo " value=\"";
                         echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "default", array()), "html", null, true);
                         echo "\" ";
                     }
                     echo "/> <span class=\"remove\">-</span>\n                                        </p>\n                                    ";
                 }
                 $_parent = $context['_parent'];
                 unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']);
                 $context = array_intersect_key($context, $_parent) + $_parent;
                 // line 226
                 echo "                                ";
             }
             // line 227
             echo "                                ";
             if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "parameters", array(), "any", true, true)) {
                 // line 228
                 echo "                                    <h4>Parameters</h4>\n                                    ";
                 // line 229
                 $context['_parent'] = $context;
                 $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "parameters", array()));
                 foreach ($context['_seq'] as $context["name"] => $context["infos"]) {
                     // line 230
                     echo "                                    ";
                     if (!$this->getAttribute($context["infos"], "readonly", array())) {
                         // line 231
                         echo "                                        <p class=\"tuple\" data-dataType=\"";
                         if ($this->getAttribute($context["infos"], "dataType", array())) {
                             echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "dataType", array()), "html", null, true);
                         }
                         echo "\" data-format=\"";
                         if ($this->getAttribute($context["infos"], "format", array())) {
                             echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "format", array()), "html", null, true);
                         }
                         echo "\" data-description=\"";
                         if ($this->getAttribute($context["infos"], "description", array())) {
                             echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array()), "html", null, true);
                         }
                         echo "\">\n                                            <input type=\"text\" class=\"key\" value=\"";
                         // line 232
                         echo twig_escape_filter($this->env, $context["name"], "html", null, true);
                         echo "\" placeholder=\"Key\" />\n                                            <span>=</span>\n                                            <select class=\"tuple_type\">\n                                                <option value=\"\">Type</option>\n                                                <option value=\"string\">String</option>\n                                                <option value=\"boolean\">Boolean</option>\n                                                <option value=\"file\">File</option>\n                                            </select>\n                                            <input type=\"text\" class=\"value\" placeholder=\"";
                         // line 240
                         if ($this->getAttribute($context["infos"], "dataType", array())) {
                             echo "[";
                             echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "dataType", array()), "html", null, true);
                             echo "] ";
                         }
                         if ($this->getAttribute($context["infos"], "format", array())) {
                             echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "format", array()), "html", null, true);
                         }
                         if ($this->getAttribute($context["infos"], "description", array())) {
                             echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "description", array()), "html", null, true);
                         } else {
                             echo "Value";
                         }
                         echo "\" ";
                         if ($this->getAttribute($context["infos"], "default", array(), "any", true, true)) {
                             echo " value=\"";
                             echo twig_escape_filter($this->env, $this->getAttribute($context["infos"], "default", array()), "html", null, true);
                             echo "\" ";
                         }
                         echo "/> <span class=\"remove\">-</span>\n                                        </p>\n                                    ";
                     }
                     // line 243
                     echo "                                    ";
                 }
                 $_parent = $context['_parent'];
                 unset($context['_seq'], $context['_iterated'], $context['name'], $context['infos'], $context['_parent'], $context['loop']);
                 $context = array_intersect_key($context, $_parent) + $_parent;
                 // line 244
                 echo "                                    <button type=\"button\" class=\"add_parameter\">New parameter</button>\n                                ";
             }
             // line 246
             echo "\n                            </fieldset>\n\n                            <fieldset class=\"headers\">\n                                ";
             // line 250
             $context["methods"] = twig_split_filter($this->env, twig_upper_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "method", array())), "|");
             // line 251
             echo "                                ";
             if (twig_length_filter($this->env, isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods")) > 1) {
                 // line 252
                 echo "                                    <legend>Method</legend>\n                                    <select name=\"header_method\">\n                                    ";
                 // line 254
                 $context['_parent'] = $context;
                 $context['_seq'] = twig_ensure_traversable(isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods"));
                 foreach ($context['_seq'] as $context["_key"] => $context["method"]) {
                     // line 255
                     echo "                                        <option value=\"";
                     echo twig_escape_filter($this->env, $context["method"], "html", null, true);
                     echo "\">";
                     echo twig_escape_filter($this->env, $context["method"], "html", null, true);
                     echo "</option>\n                                    ";
                 }
                 $_parent = $context['_parent'];
                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['method'], $context['_parent'], $context['loop']);
                 $context = array_intersect_key($context, $_parent) + $_parent;
                 // line 257
                 echo "                                    </select>\n                                ";
             } else {
                 // line 259
                 echo "                                    <input type=\"hidden\" name=\"header_method\" value=\"";
                 echo twig_escape_filter($this->env, twig_join_filter(isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods")), "html", null, true);
                 echo "\" />\n                                ";
             }
             // line 261
             echo "\n                                <legend>Headers</legend>\n\n                                ";
             // line 264
             if (isset($context["acceptType"]) ? $context["acceptType"] : $this->getContext($context, "acceptType")) {
                 // line 265
                 echo "                                    <p class=\"tuple\">\n                                        <input type=\"text\" class=\"key\" value=\"Accept\" />\n                                        <span>=</span>\n                                        <input type=\"text\" class=\"value\" value=\"";
                 // line 268
                 echo twig_escape_filter($this->env, isset($context["acceptType"]) ? $context["acceptType"] : $this->getContext($context, "acceptType"), "html", null, true);
                 echo "\" /> <span class=\"remove\">-</span>\n                                    </p>\n                                ";
             }
             // line 271
             echo "\n                                <p class=\"tuple\">\n                                    <input type=\"text\" class=\"key\" placeholder=\"Key\" />\n                                    <span>=</span>\n                                    <input type=\"text\" class=\"value\" placeholder=\"Value\" /> <span class=\"remove\">-</span>\n                                </p>\n\n                                <button type=\"button\" class=\"add_header\">New header</button>\n                            </fieldset>\n\n                            <fieldset class=\"request-content\">\n                                <legend>Content</legend>\n\n                                <textarea class=\"content\" placeholder=\"Content set here will override the parameters that do not match the url\"></textarea>\n\n                                <p class=\"tuple\">\n                                    <input type=\"text\" class=\"key content-type\" value=\"Content-Type\" disabled=\"disabled\" />\n                                    <span>=</span>\n                                    <input type=\"text\" class=\"value\" placeholder=\"Value\" />\n                                    <button  type=\"button\" class=\"set-content-type\">Set header</button> <small>Replaces header if set</small>\n                                </p>\n                            </fieldset>\n\n                            <div class=\"buttons\">\n                                <input type=\"submit\" value=\"Try!\" />\n                            </div>\n                        </form>\n\n                        <script type=\"text/x-tmpl\" class=\"parameters_tuple_template\">\n                        <p class=\"tuple\">\n                            <input type=\"text\" class=\"key\" placeholder=\"Key\" />\n                            <span>=</span>\n                            <select class=\"tuple_type\">\n                                                <option value=\"\">Type</option>\n                                                <option value=\"string\">String</option>\n                                                <option value=\"boolean\">Boolean</option>\n                                                <option value=\"file\">File</option>\n                                            </select>\n                            <input type=\"text\" class=\"value\" placeholder=\"Value\" /> <span class=\"remove\">-</span>\n                        </p>\n                        </script>\n\n                        <script type=\"text/x-tmpl\" class=\"headers_tuple_template\">\n                        <p class=\"tuple\">\n                            <input type=\"text\" class=\"key\" placeholder=\"Key\" />\n                            <span>=</span>\n                            <input type=\"text\" class=\"value\" placeholder=\"Value\" /> <span class=\"remove\">-</span>\n                        </p>\n                        </script>\n\n\n                        <div class=\"result\">\n                            <h4>Request URL</h4>\n                            <pre class=\"url\"></pre>\n\n                            <h4>Response Headers&nbsp;<small>[<a href=\"\" class=\"to-expand\">Expand</a>]</small>&nbsp;<small class=\"profiler\">[<a href=\"\" class=\"profiler-link\" target=\"_blank\">Profiler</a>]</small></h4>\n                            <pre class=\"headers to-expand\"></pre>\n\n                            <h4>Response Body&nbsp;<small>[<a href=\"\" class=\"to-raw\">Raw</a>]</small></h4>\n                            <pre class=\"response prettyprint\"></pre>\n                        </div>\n                    ";
         }
         // line 333
         echo "                </div>\n            ";
     }
     // line 335
     echo "        </div>\n    </div>\n</li>\n";
     $__internal_c7d283450d281de59a6ed2d7573c1c0a50b91133b531601a6b9ca4ba7588ffbd->leave($__internal_c7d283450d281de59a6ed2d7573c1c0a50b91133b531601a6b9ca4ba7588ffbd_prof);
 }
 public function getadd_attribute_values($__attributes__ = null, $__attribute__ = null, $__values__ = null)
 {
     $context = $this->env->mergeGlobals(array("attributes" => $__attributes__, "attribute" => $__attribute__, "values" => $__values__, "varargs" => func_num_args() > 3 ? array_slice(func_get_args(), 3) : array()));
     $blocks = array();
     ob_start();
     try {
         // line 11
         $context["_values"] = $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, isset($context["attribute"]) ? $context["attribute"] : null, array(), "array", true, true) ? twig_split_filter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, isset($context["attribute"]) ? $context["attribute"] : null, array(), "array"), " ") : array();
         // line 12
         $context["_values"] = twig_array_merge(isset($context["_values"]) ? $context["_values"] : null, isset($context["values"]) ? $context["values"] : null);
         // line 13
         echo twig_escape_filter($this->env, twig_join_filter(isset($context["_values"]) ? $context["_values"] : null, " "), "html", null, true);
     } catch (Exception $e) {
         ob_end_clean();
         throw $e;
     }
     return '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
 }
 public function getform_tree_entry($__name__ = null, $__data__ = null, $__expanded__ = null, ...$__varargs__)
 {
     $context = $this->env->mergeGlobals(array("name" => $__name__, "data" => $__data__, "expanded" => $__expanded__, "varargs" => $__varargs__));
     $blocks = array();
     ob_start();
     try {
         $__internal_b3e87ce6b6f9051b8a6b67333569755de0a3f0bacba73e3eef455932801fb665 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
         $__internal_b3e87ce6b6f9051b8a6b67333569755de0a3f0bacba73e3eef455932801fb665->enter($__internal_b3e87ce6b6f9051b8a6b67333569755de0a3f0bacba73e3eef455932801fb665_prof = new Twig_Profiler_Profile($this->getTemplateName(), "macro", "form_tree_entry"));
         // line 427
         echo "    ";
         $context["tree"] = $this;
         // line 428
         echo "    <li>\n        <div class=\"tree-inner\" data-tab-target-id=\"";
         // line 429
         echo twig_escape_filter($this->env, $this->getAttribute($context["data"] ?? $this->getContext($context, "data"), "id", array()), "html", null, true);
         echo "-details\">\n            ";
         // line 430
         if ($this->getAttribute($context["data"] ?? null, "errors", array(), "any", true, true) && twig_length_filter($this->env, $this->getAttribute($context["data"] ?? $this->getContext($context, "data"), "errors", array())) > 0) {
             // line 431
             echo "                <div class=\"badge-error\">";
             echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute($context["data"] ?? $this->getContext($context, "data"), "errors", array())), "html", null, true);
             echo "</div>\n            ";
         }
         // line 433
         echo "\n            ";
         // line 434
         if (!twig_test_empty($this->getAttribute($context["data"] ?? $this->getContext($context, "data"), "children", array()))) {
             // line 435
             echo "                <a class=\"toggle-button\" data-toggle-target-id=\"";
             echo twig_escape_filter($this->env, $this->getAttribute($context["data"] ?? $this->getContext($context, "data"), "id", array()), "html", null, true);
             echo "-children\" href=\"#\"><span class=\"toggle-icon\"></span></a>\n            ";
         } else {
             // line 437
             echo "                <div class=\"toggle-icon empty\"></div>\n            ";
         }
         // line 439
         echo "\n            ";
         // line 440
         echo twig_escape_filter($this->env, array_key_exists("name", $context) ? _twig_default_filter($context["name"] ?? $this->getContext($context, "name"), "(no name)") : "(no name)", "html", null, true);
         echo " ";
         if ($this->getAttribute($context["data"] ?? null, "type_class", array(), "any", true, true)) {
             echo "[<abbr title=\"";
             echo twig_escape_filter($this->env, $this->getAttribute($context["data"] ?? $this->getContext($context, "data"), "type_class", array()), "html", null, true);
             echo "\">";
             echo twig_escape_filter($this->env, twig_last($this->env, twig_split_filter($this->env, $this->getAttribute($context["data"] ?? $this->getContext($context, "data"), "type_class", array()), "\\")), "html", null, true);
             echo "</abbr>]";
         }
         // line 441
         echo "        </div>\n\n        ";
         // line 443
         if (!twig_test_empty($this->getAttribute($context["data"] ?? $this->getContext($context, "data"), "children", array()))) {
             // line 444
             echo "            <ul id=\"";
             echo twig_escape_filter($this->env, $this->getAttribute($context["data"] ?? $this->getContext($context, "data"), "id", array()), "html", null, true);
             echo "-children\" ";
             if (!($context["expanded"] ?? $this->getContext($context, "expanded"))) {
                 echo "class=\"hidden\"";
             }
             echo ">\n                ";
             // line 445
             $context['_parent'] = $context;
             $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["data"] ?? $this->getContext($context, "data"), "children", array()));
             foreach ($context['_seq'] as $context["childName"] => $context["childData"]) {
                 // line 446
                 echo "                    ";
                 echo $context["tree"]->getform_tree_entry($context["childName"], $context["childData"], false);
                 echo "\n                ";
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['childName'], $context['childData'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 448
             echo "            </ul>\n        ";
         }
         // line 450
         echo "    </li>\n";
         $__internal_b3e87ce6b6f9051b8a6b67333569755de0a3f0bacba73e3eef455932801fb665->leave($__internal_b3e87ce6b6f9051b8a6b67333569755de0a3f0bacba73e3eef455932801fb665_prof);
     } catch (Exception $e) {
         ob_end_clean();
         throw $e;
     } catch (Throwable $e) {
         ob_end_clean();
         throw $e;
     }
     return '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
 }
 public function block_vich_file_widget($context, array $blocks = array())
 {
     // line 344
     ob_start();
     // line 345
     echo "    <div class=\"easyadmin-vich-file\">\n        ";
     // line 346
     if (!twig_test_empty(array_key_exists("download_uri", $context) ? _twig_default_filter(isset($context["download_uri"]) ? $context["download_uri"] : null, "") : "")) {
         // line 347
         echo "            ";
         $context["download_title"] = twig_last($this->env, twig_split_filter($this->env, isset($context["download_uri"]) ? $context["download_uri"] : null, "/")) ? twig_last($this->env, twig_split_filter($this->env, isset($context["download_uri"]) ? $context["download_uri"] : null, "/")) : $this->env->getExtension('translator')->trans("download", array(), "VichUploaderBundle");
         // line 348
         echo "            <a href=\"";
         echo twig_escape_filter($this->env, isset($context["download_uri"]) ? $context["download_uri"] : null, "html", null, true);
         echo "\">";
         echo twig_escape_filter($this->env, isset($context["download_title"]) ? $context["download_title"] : null, "html", null, true);
         echo "</a>\n        ";
     }
     // line 350
     echo "\n        <div class=\"row\">\n            ";
     // line 352
     if ($this->getAttribute(isset($context["form"]) ? $context["form"] : null, "delete", array(), "any", true, true)) {
         // line 353
         echo "            <div class=\"col-sm-3 col-md-2\">\n                ";
         // line 354
         echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : null, "delete", array()), 'row');
         echo "\n            </div>\n            ";
     }
     // line 357
     echo "            <div class=\"";
     echo $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "delete", array(), "any", true, true) ? "col-sm-9 col-md-10" : "col-sm-12";
     echo "\">\n                ";
     // line 358
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : null, "file", array()), 'widget');
     echo "\n            </div>\n        </div>\n    </div>\n";
     echo trim(preg_replace('/>\\s+</', '><', ob_get_clean()));
 }
 public function block_vich_file_widget($context, array $blocks = array())
 {
     $__internal_4dc69c9c9d424baa7f027f4816c8ee2b7f20ac5dc828629353a0dd2bd8937c1c = $this->env->getExtension("native_profiler");
     $__internal_4dc69c9c9d424baa7f027f4816c8ee2b7f20ac5dc828629353a0dd2bd8937c1c->enter($__internal_4dc69c9c9d424baa7f027f4816c8ee2b7f20ac5dc828629353a0dd2bd8937c1c_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "vich_file_widget"));
     // line 344
     ob_start();
     // line 345
     echo "    <div class=\"easyadmin-vich-file\">\n        ";
     // line 346
     if (!twig_test_empty(array_key_exists("download_uri", $context) ? _twig_default_filter(isset($context["download_uri"]) ? $context["download_uri"] : $this->getContext($context, "download_uri"), "") : "")) {
         // line 347
         echo "            ";
         $context["download_title"] = twig_last($this->env, twig_split_filter($this->env, isset($context["download_uri"]) ? $context["download_uri"] : $this->getContext($context, "download_uri"), "/")) ? twig_last($this->env, twig_split_filter($this->env, isset($context["download_uri"]) ? $context["download_uri"] : $this->getContext($context, "download_uri"), "/")) : $this->env->getExtension('translator')->trans("download", array(), "VichUploaderBundle");
         // line 348
         echo "            <a href=\"";
         echo twig_escape_filter($this->env, isset($context["download_uri"]) ? $context["download_uri"] : $this->getContext($context, "download_uri"), "html", null, true);
         echo "\">";
         echo twig_escape_filter($this->env, isset($context["download_title"]) ? $context["download_title"] : $this->getContext($context, "download_title"), "html", null, true);
         echo "</a>\n        ";
     }
     // line 350
     echo "\n        <div class=\"row\">\n            ";
     // line 352
     if ($this->getAttribute(isset($context["form"]) ? $context["form"] : null, "delete", array(), "any", true, true)) {
         // line 353
         echo "            <div class=\"col-sm-3 col-md-2\">\n                ";
         // line 354
         echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "delete", array()), 'row');
         echo "\n            </div>\n            ";
     }
     // line 357
     echo "            <div class=\"";
     echo $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "delete", array(), "any", true, true) ? "col-sm-9 col-md-10" : "col-sm-12";
     echo "\">\n                ";
     // line 358
     echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute(isset($context["form"]) ? $context["form"] : $this->getContext($context, "form"), "file", array()), 'widget');
     echo "\n            </div>\n        </div>\n    </div>\n";
     echo trim(preg_replace('/>\\s+</', '><', ob_get_clean()));
     $__internal_4dc69c9c9d424baa7f027f4816c8ee2b7f20ac5dc828629353a0dd2bd8937c1c->leave($__internal_4dc69c9c9d424baa7f027f4816c8ee2b7f20ac5dc828629353a0dd2bd8937c1c_prof);
 }
 public function getrender_table($__listeners__ = null, ...$__varargs__)
 {
     $context = $this->env->mergeGlobals(array("listeners" => $__listeners__, "varargs" => $__varargs__));
     $blocks = array();
     ob_start();
     try {
         $__internal_a168839227312b159c323ec6189e9b39104c1224edfcfe1e022600d82f498310 = $this->env->getExtension("native_profiler");
         $__internal_a168839227312b159c323ec6189e9b39104c1224edfcfe1e022600d82f498310->enter($__internal_a168839227312b159c323ec6189e9b39104c1224edfcfe1e022600d82f498310_prof = new Twig_Profiler_Profile($this->getTemplateName(), "macro", "render_table"));
         // line 53
         echo "    <table>\n        <thead>\n            <tr>\n                <th class=\"text-right\">Priority</th>\n                <th>Listener</th>\n            </tr>\n        </thead>\n\n        ";
         // line 61
         $context["previous_event"] = $this->getAttribute(twig_first($this->env, isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners")), "event", array());
         // line 62
         echo "        ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["listeners"]) ? $context["listeners"] : $this->getContext($context, "listeners"));
         $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
         if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
             $length = count($context['_seq']);
             $context['loop']['revindex0'] = $length - 1;
             $context['loop']['revindex'] = $length;
             $context['loop']['length'] = $length;
             $context['loop']['last'] = 1 === $length;
         }
         foreach ($context['_seq'] as $context["_key"] => $context["listener"]) {
             // line 63
             echo "            ";
             if ($this->getAttribute($context["loop"], "first", array()) || $this->getAttribute($context["listener"], "event", array()) != (isset($context["previous_event"]) ? $context["previous_event"] : $this->getContext($context, "previous_event"))) {
                 // line 64
                 echo "                ";
                 if (!$this->getAttribute($context["loop"], "first", array())) {
                     // line 65
                     echo "                    </tbody>\n                ";
                 }
                 // line 67
                 echo "\n                <tbody>\n                    <tr>\n                        <th colspan=\"2\" class=\"colored font-normal\">";
                 // line 70
                 echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "event", array()), "html", null, true);
                 echo "</th>\n                    </tr>\n\n                ";
                 // line 73
                 $context["previous_event"] = $this->getAttribute($context["listener"], "event", array());
                 // line 74
                 echo "            ";
             }
             // line 75
             echo "\n            <tr>\n                <td class=\"text-right\">";
             // line 77
             echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "priority", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($context["listener"], "priority", array()), "-") : "-", "html", null, true);
             echo "</td>\n                <td class=\"font-normal\">\n                    ";
             // line 79
             if ($this->getAttribute($context["listener"], "type", array()) == "Closure") {
                 // line 80
                 echo "\n                        Closure\n                        <span class=\"text-muted text-small\">(there is no class or file information)</span>\n\n                    ";
             } elseif ($this->getAttribute($context["listener"], "type", array()) == "Function") {
                 // line 85
                 echo "\n                        ";
                 // line 86
                 $context["link"] = $this->env->getExtension('code')->getFileLink($this->getAttribute($context["listener"], "file", array()), $this->getAttribute($context["listener"], "line", array()));
                 // line 87
                 echo "                        ";
                 if (isset($context["link"]) ? $context["link"] : $this->getContext($context, "link")) {
                     // line 88
                     echo "                            <a href=\"";
                     echo twig_escape_filter($this->env, isset($context["link"]) ? $context["link"] : $this->getContext($context, "link"), "html", null, true);
                     echo "\">";
                     echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "function", array()), "html", null, true);
                     echo "()</a>\n                            <span class=\"text-muted text-small\">(";
                     // line 89
                     echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "file", array()), "html", null, true);
                     echo ")</span>\n                        ";
                 } else {
                     // line 91
                     echo "                            ";
                     echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "function", array()), "html", null, true);
                     echo "()\n                            <span class=\"text-muted newline text-small\">";
                     // line 92
                     echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "file", array()), "html", null, true);
                     echo " (line ";
                     echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "line", array()), "html", null, true);
                     echo ")</span>\n                        ";
                 }
                 // line 94
                 echo "\n                    ";
             } elseif ($this->getAttribute($context["listener"], "type", array()) == "Method") {
                 // line 96
                 echo "\n                        ";
                 // line 97
                 $context["link"] = $this->env->getExtension('code')->getFileLink($this->getAttribute($context["listener"], "file", array()), $this->getAttribute($context["listener"], "line", array()));
                 // line 98
                 echo "                        ";
                 $context["class_namespace"] = twig_join_filter(twig_split_filter($this->env, $this->getAttribute($context["listener"], "class", array()), "\\", -1), "\\");
                 // line 99
                 echo "\n                        ";
                 // line 100
                 if (isset($context["link"]) ? $context["link"] : $this->getContext($context, "link")) {
                     // line 101
                     echo "                            <a href=\"";
                     echo twig_escape_filter($this->env, isset($context["link"]) ? $context["link"] : $this->getContext($context, "link"), "html", null, true);
                     echo "\"><strong>";
                     echo twig_escape_filter($this->env, strip_tags($this->env->getExtension('code')->abbrClass($this->getAttribute($context["listener"], "class", array()))), "html", null, true);
                     echo "</strong>::";
                     echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "method", array()), "html", null, true);
                     echo "()</a>\n                            <span class=\"text-muted text-small\">(";
                     // line 102
                     echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "class", array()), "html", null, true);
                     echo ")</span>\n                        ";
                 } else {
                     // line 104
                     echo "                            <span>";
                     echo twig_escape_filter($this->env, isset($context["class_namespace"]) ? $context["class_namespace"] : $this->getContext($context, "class_namespace"), "html", null, true);
                     echo "\\</span><strong>";
                     echo twig_escape_filter($this->env, strip_tags($this->env->getExtension('code')->abbrClass($this->getAttribute($context["listener"], "class", array()))), "html", null, true);
                     echo "</strong>::";
                     echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "method", array()), "html", null, true);
                     echo "()\n                            <span class=\"text-muted newline text-small\">";
                     // line 105
                     echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "file", array()), "html", null, true);
                     echo " (line ";
                     echo twig_escape_filter($this->env, $this->getAttribute($context["listener"], "line", array()), "html", null, true);
                     echo ")</span>\n                        ";
                 }
                 // line 107
                 echo "\n                    ";
             }
             // line 109
             echo "                </td>\n            </tr>\n\n            ";
             // line 112
             if ($this->getAttribute($context["loop"], "last", array())) {
                 // line 113
                 echo "                </tbody>\n            ";
             }
             // line 115
             echo "        ";
             ++$context['loop']['index0'];
             ++$context['loop']['index'];
             $context['loop']['first'] = false;
             if (isset($context['loop']['length'])) {
                 --$context['loop']['revindex0'];
                 --$context['loop']['revindex'];
                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
             }
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 116
         echo "    </table>\n";
         $__internal_a168839227312b159c323ec6189e9b39104c1224edfcfe1e022600d82f498310->leave($__internal_a168839227312b159c323ec6189e9b39104c1224edfcfe1e022600d82f498310_prof);
     } catch (Exception $e) {
         ob_end_clean();
         throw $e;
     }
     return '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
 }
 public function getrender_log_message($__log_index__ = null, $__log__ = null, $__is_deprecation__ = false)
 {
     $context = $this->env->mergeGlobals(array("log_index" => $__log_index__, "log" => $__log__, "is_deprecation" => $__is_deprecation__, "varargs" => func_num_args() > 3 ? array_slice(func_get_args(), 3) : array()));
     $blocks = array();
     ob_start();
     try {
         $__internal_07f279c7df176c5a3e1446c7bd0bb83a9454032563e18984a59759be11176211 = $this->env->getExtension("native_profiler");
         $__internal_07f279c7df176c5a3e1446c7bd0bb83a9454032563e18984a59759be11176211->enter($__internal_07f279c7df176c5a3e1446c7bd0bb83a9454032563e18984a59759be11176211_prof = new Twig_Profiler_Profile($this->getTemplateName(), "macro", "render_log_message"));
         // line 171
         echo "    ";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["log"]) ? $context["log"] : $this->getContext($context, "log"), "message", array()), "html", null, true);
         echo "\n\n    ";
         // line 173
         if (isset($context["is_deprecation"]) ? $context["is_deprecation"] : $this->getContext($context, "is_deprecation")) {
             // line 174
             echo "        ";
             $context["stack"] = $this->getAttribute($this->getAttribute(isset($context["log"]) ? $context["log"] : null, "context", array(), "any", false, true), "stack", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["log"]) ? $context["log"] : null, "context", array(), "any", false, true), "stack", array()), array()) : array();
             // line 175
             echo "        ";
             $context["id"] = "sf-call-stack-" . (isset($context["log_index"]) ? $context["log_index"] : $this->getContext($context, "log_index"));
             // line 176
             echo "\n        ";
             // line 177
             if ($this->getAttribute($this->getAttribute(isset($context["log"]) ? $context["log"] : null, "context", array(), "any", false, true), "errorCount", array(), "any", true, true)) {
                 // line 178
                 echo "            <span class=\"text-small text-bold\">(";
                 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["log"]) ? $context["log"] : $this->getContext($context, "log"), "context", array()), "errorCount", array()), "html", null, true);
                 echo " times)</span>\n        ";
             }
             // line 180
             echo "\n        ";
             // line 181
             if (isset($context["stack"]) ? $context["stack"] : $this->getContext($context, "stack")) {
                 // line 182
                 echo "            <button class=\"btn-link text-small sf-toggle\" data-toggle-selector=\"#";
                 echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
                 echo "\" data-toggle-alt-content=\"Hide stack trace\">Show stack trace</button>\n        ";
             }
             // line 184
             echo "\n        ";
             // line 185
             $context['_parent'] = $context;
             $context['_seq'] = twig_ensure_traversable(isset($context["stack"]) ? $context["stack"] : $this->getContext($context, "stack"));
             foreach ($context['_seq'] as $context["index"] => $context["call"]) {
                 if ($context["index"] > 1) {
                     // line 186
                     echo "            ";
                     if ($context["index"] == 2) {
                         // line 187
                         echo "                <ul class=\"sf-call-stack hidden\" id=\"";
                         echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
                         echo "\">\n            ";
                     }
                     // line 189
                     echo "\n            ";
                     // line 190
                     if ($this->getAttribute($context["call"], "class", array(), "any", true, true)) {
                         // line 191
                         echo "                ";
                         $context["from"] = $this->env->getExtension('code')->abbrClass($this->getAttribute($context["call"], "class", array())) . "::" . $this->env->getExtension('code')->abbrMethod($this->getAttribute($context["call"], "function", array()));
                         // line 192
                         echo "            ";
                     } elseif ($this->getAttribute($context["call"], "function", array(), "any", true, true)) {
                         // line 193
                         echo "                ";
                         $context["from"] = $this->env->getExtension('code')->abbrMethod($this->getAttribute($context["call"], "function", array()));
                         // line 194
                         echo "            ";
                     } elseif ($this->getAttribute($context["call"], "file", array(), "any", true, true)) {
                         // line 195
                         echo "                ";
                         $context["from"] = $this->getAttribute($context["call"], "file", array());
                         // line 196
                         echo "            ";
                     } else {
                         // line 197
                         echo "                ";
                         $context["from"] = "-";
                         // line 198
                         echo "            ";
                     }
                     // line 199
                     echo "\n            ";
                     // line 200
                     $context["file_name"] = $this->getAttribute($context["call"], "file", array(), "any", true, true) && $this->getAttribute($context["call"], "line", array(), "any", true, true) ? twig_last($this->env, twig_split_filter($this->env, twig_replace_filter($this->getAttribute($context["call"], "file", array()), array("\\" => "/")), "/")) : "";
                     // line 201
                     echo "\n            <li>\n                ";
                     // line 203
                     echo isset($context["from"]) ? $context["from"] : $this->getContext($context, "from");
                     echo "\n                ";
                     // line 204
                     if (isset($context["file_name"]) ? $context["file_name"] : $this->getContext($context, "file_name")) {
                         // line 205
                         echo "                    <span class=\"text-small\">(called from ";
                         echo $this->env->getExtension('code')->formatFile($this->getAttribute($context["call"], "file", array()), $this->getAttribute($context["call"], "line", array()), isset($context["file_name"]) ? $context["file_name"] : $this->getContext($context, "file_name"));
                         echo ")</span>\n                ";
                     }
                     // line 207
                     echo "            </li>\n\n            ";
                     // line 209
                     if ($context["index"] == twig_length_filter($this->env, isset($context["stack"]) ? $context["stack"] : $this->getContext($context, "stack")) - 1) {
                         // line 210
                         echo "                </ul>\n            ";
                     }
                     // line 212
                     echo "        ";
                 }
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['index'], $context['call'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 213
             echo "    ";
         } else {
             // line 214
             echo "        ";
             if ($this->getAttribute(isset($context["log"]) ? $context["log"] : null, "context", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["log"]) ? $context["log"] : $this->getContext($context, "log"), "context", array()))) {
                 // line 215
                 echo "            <span class=\"metadata\">\n                <strong>Context</strong>: ";
                 // line 216
                 echo twig_escape_filter($this->env, twig_replace_filter(twig_jsonencode_filter($this->getAttribute(isset($context["log"]) ? $context["log"] : $this->getContext($context, "log"), "context", array()), 64 | 256), array("{\"" => "{ \"", "\"}" => "\" }", "\":{" => "\": {", "\":\"" => "\": \"", "\",\"" => "\", \"")), "html", null, true);
                 // line 218
                 echo "\n            </span>\n        ";
             }
             // line 221
             echo "    ";
         }
         $__internal_07f279c7df176c5a3e1446c7bd0bb83a9454032563e18984a59759be11176211->leave($__internal_07f279c7df176c5a3e1446c7bd0bb83a9454032563e18984a59759be11176211_prof);
     } catch (Exception $e) {
         ob_end_clean();
         throw $e;
     }
     return '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "\n    <style>\n        @media (min-width: 768px) {\n            .table {\n                width: 50%;\n            }\n\n            .admin-list-actions.autosize {\n                width: 50%;\n            }\n        }\n    </style>\n    ";
     // line 16
     if (twig_test_empty(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities"))) {
         // line 17
         echo "        <h1>El Historial de Operaciones esta en blanco</h1>\n    ";
     } else {
         // line 19
         echo "\n        <h1>Listado de Trazas</h1>\n\n        <table class=\"table table-striped table-bordered table-hover\">\n            <thead>\n            <tr>\n                ";
         // line 26
         echo "                <th>Operación</th>\n                <th>Tabla</th>\n                <th>Registro</th>\n                <th>Datos</th>\n                <th>Fecha</th>\n                <th>Usuario</th>\n                ";
         // line 33
         echo "            </tr>\n            </thead>\n            <tbody>\n            ";
         // line 36
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities"));
         foreach ($context['_seq'] as $context["_key"] => $context["entity"]) {
             // line 37
             echo "                <tr>\n                    ";
             // line 39
             echo "                    <td>";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "operacion"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 40
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "tabla"), "html", null, true);
             echo "</td>\n                    <td>";
             // line 41
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "registro"), "html", null, true);
             echo "</td>\n\n\n                    ";
             // line 44
             if ($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "tabla") == "plan_anual_entidad") {
                 // line 45
                 echo "                        ";
                 $context["data"] = twig_split_filter($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "datos"), ",");
                 // line 46
                 echo "                        <td>\n                            <strong>";
                 // line 47
                 echo "Plan: ";
                 echo "</strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 0, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 49
                 echo "Entidad: ";
                 echo " </strong>";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 1, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 51
                 echo "Año: ";
                 echo " </strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 2, array(), "array"), "html", null, true);
                 echo "\n\n                        </td>\n                    ";
             }
             // line 55
             echo "\n                    ";
             // line 56
             if ($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "tabla") == "plan_anual_servicio") {
                 // line 57
                 echo "                        ";
                 $context["data"] = twig_split_filter($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "datos"), ",");
                 // line 58
                 echo "                        <td>\n                            <strong>";
                 // line 59
                 echo "Plan: ";
                 echo "</strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 0, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 61
                 echo "Servicio: ";
                 echo " </strong>";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 1, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 63
                 echo "Año: ";
                 echo " </strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 2, array(), "array"), "html", null, true);
                 echo "\n\n                        </td>\n                    ";
             }
             // line 67
             echo "\n\n                    ";
             // line 69
             if ($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "tabla") == "plan_mensual_servicio") {
                 // line 70
                 echo "                        ";
                 $context["data"] = twig_split_filter($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "datos"), ",");
                 // line 71
                 echo "                        <td>\n                            <strong>";
                 // line 72
                 echo "Plan: ";
                 echo "</strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 0, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 74
                 echo "Plan HP: ";
                 echo " </strong>";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 1, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 76
                 echo "Servicio: ";
                 echo " </strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 2, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 78
                 echo "Mes: ";
                 echo " </strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 3, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 80
                 echo "Año: ";
                 echo " </strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 4, array(), "array"), "html", null, true);
                 echo "\n\n\n                        </td>\n                    ";
             }
             // line 85
             echo "\n                    ";
             // line 86
             if ($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "tabla") == "plan_diario_servicio") {
                 // line 87
                 echo "                        ";
                 $context["data"] = twig_split_filter($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "datos"), ",");
                 // line 88
                 echo "                        <td>\n                            <strong>";
                 // line 89
                 echo "Plan: ";
                 echo "</strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 0, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 91
                 echo "Plan HP: ";
                 echo " </strong>";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 1, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 93
                 echo "Servicio: ";
                 echo " </strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 2, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 95
                 echo "Fecha: ";
                 echo " </strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 3, array(), "array"), "html", null, true);
                 echo "\n\n\n                        </td>\n                    ";
             }
             // line 100
             echo "\n                    ";
             // line 101
             if ($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "tabla") == "lectura_diaria_servicio") {
                 // line 102
                 echo "                        ";
                 $context["data"] = twig_split_filter($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "datos"), ",");
                 // line 103
                 echo "                        <td>\n                            <strong>";
                 // line 104
                 echo "Consumo: ";
                 echo "</strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 0, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 106
                 echo "Consumo HP: ";
                 echo " </strong>";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 1, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 108
                 echo "Servicio: ";
                 echo " </strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 2, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 110
                 echo "Fecha: ";
                 echo " </strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 3, array(), "array"), "html", null, true);
                 echo "\n\n\n                        </td>\n                    ";
             }
             // line 115
             echo "\n                    ";
             // line 116
             if ($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "tabla") == "user") {
                 // line 117
                 echo "                        ";
                 $context["data"] = twig_split_filter($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "datos"), ",");
                 // line 118
                 echo "                        <td>\n                            <strong>";
                 // line 119
                 echo "Correo: ";
                 echo "</strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 0, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 121
                 echo "Nombre: ";
                 echo " </strong>";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 1, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 123
                 echo "Rol: ";
                 echo " </strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 2, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 125
                 echo "Usuario: ";
                 echo " </strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 3, array(), "array"), "html", null, true);
                 echo "\n                            <br>\n                            <strong>";
                 // line 127
                 echo "Entidad: ";
                 echo " </strong> ";
                 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), 4, array(), "array"), "html", null, true);
                 echo "\n\n                        </td>\n                    ";
             }
             // line 131
             echo "\n                    <td>";
             // line 132
             if ($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fechaHora")) {
                 // line 133
                 echo "                            ";
                 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fechaHora"), "Y-m-d H:i:s"), "html", null, true);
                 echo "\n                        ";
             }
             // line 135
             echo "                    </td>\n                    <td>\n                        <a href=\"";
             // line 137
             echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("administracion_usuario_show", array("id" => $this->getAttribute($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "idUsuario"), "id"))), "html", null, true);
             echo "\">";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "idUsuario"), "id"), "html", null, true);
             echo "</a>\n                    </td>\n\n\n                    ";
             // line 151
             echo "                </tr>\n            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 153
         echo "            </tbody>\n\n\n        </table>\n\n        <ul>\n            ";
         // line 164
         echo "        </ul>\n    ";
     }
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 6
     $context["macros"] = $this;
     // line 7
     if (array_key_exists("showLocation", $context) ? _twig_default_filter(isset($context["showLocation"]) ? $context["showLocation"] : $this->getContext($context, "showLocation"), false) : false) {
         // line 8
         echo "<div class=\"visitor-profile-latest-visit-loc\" title=\"";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "location", array()), "html", null, true);
         echo "\">\n    <img src=\"";
         // line 9
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "countryFlag", array()), "html", null, true);
         echo "\"/>&nbsp;<span>";
         if (!twig_test_empty($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "city", array()))) {
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "city", array()), "html", null, true);
         } else {
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "country", array()), "html", null, true);
         }
         echo "</span>\n</div>\n";
     }
     // line 12
     echo "<div class=\"visitor-profile-latest-visit-column\">\n    <ul>\n        <li>\n            <span>";
     // line 15
     echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("General_IP")), "html", null, true);
     echo "</span><strong ";
     if ($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : null, "providerName", array(), "any", true, true) && !twig_test_empty($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "providerName", array()))) {
         echo "title=\"";
         echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("Provider_ColumnProvider")), "html", null, true);
         echo ": ";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "providerName", array()), "html", null, true);
         echo "\"";
     }
     echo ">";
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "visitIp", array()), "html", null, true);
     echo "</strong>\n        </li>\n        <li class=\"visitor-profile-id\">\n            <span>";
     // line 18
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("General_Id"))), "html", null, true);
     echo "</span>\n            ";
     // line 19
     if (array_key_exists("widgetizedLink", $context)) {
         echo "<a class=\"visitor-profile-widget-link\" href=\"";
         echo twig_escape_filter($this->env, isset($context["widgetizedLink"]) ? $context["widgetizedLink"] : $this->getContext($context, "widgetizedLink"), "html", null, true);
         echo "\" target=\"_blank\" title=\"";
         echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("Widgetize_OpenInNewWindow")), "html", null, true);
         echo " - ";
         echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("Live_VisitorProfile")), "html", null, true);
         echo " ";
         echo twig_escape_filter($this->env, twig_upper_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("General_Id"))), "html", null, true);
         echo " ";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "visitorId", array()), "html", null, true);
         echo "\">";
     }
     // line 20
     echo "                <strong>";
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "visitorId", array()), "html", null, true);
     echo "</strong>\n            ";
     // line 21
     if (array_key_exists("widgetizedLink", $context)) {
         echo "</a>";
     }
     // line 22
     echo "            <a class=\"visitor-profile-export\" href=\"";
     echo twig_escape_filter($this->env, isset($context["exportLink"]) ? $context["exportLink"] : $this->getContext($context, "exportLink"), "html", null, true);
     echo "\" target=\"_blank\" title=\"";
     echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("General_ExportThisReport")), "html", null, true);
     echo "\" style=\"visibility:hidden\">\n                <img src=\"plugins/Morpheus/images/export.png\"/>\n            </a>\n        </li>\n        <li>\n            ";
     // line 27
     if ($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : null, "browserName", array(), "any", true, true)) {
         // line 28
         echo "            <div class=\"visitor-profile-browser\" title=\"";
         if (!$this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : null, "plugins", array(), "any", true, true)) {
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "browser", array()), "html", null, true);
         } elseif ($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "plugins", array())) {
             echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("DevicePlugins_BrowserWithPluginsEnabled", $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "browser", array()), $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "plugins", array()))), "html", null, true);
         } else {
             echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("DevicePlugins_BrowserWithNoPluginsEnabled", $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "browser", array()))), "html", null, true);
         }
         echo "\">\n                ";
         // line 29
         if ($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : null, "browserIcon", array(), "any", true, true)) {
             echo "<img src=\"";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "browserIcon", array()), "html", null, true);
             echo "\"/>";
         }
         echo "<span>";
         echo twig_escape_filter($this->env, $this->getAttribute(twig_split_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "browserName", array()), " "), 0, array(), "array"), "html", null, true);
         echo "</span>\n            </div>\n            ";
     }
     // line 32
     echo "\n            <div class=\"visitor-profile-os\">\n                ";
     // line 34
     if ($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : null, "operatingSystemIcon", array(), "any", true, true)) {
         echo "<img src=\"";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "operatingSystemIcon", array()), "html", null, true);
         echo "\"/>";
     }
     if ($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : null, "operatingSystem", array(), "any", true, true)) {
         echo "<span>";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "operatingSystem", array()), "html", null, true);
         echo "</span>";
     }
     // line 35
     echo "            </div>\n        </li>\n        ";
     // line 37
     if ($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : null, "resolution", array(), "any", true, true)) {
         echo "<li><span>";
         echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("Resolution_ColumnResolution")), "html", null, true);
         echo "</span><strong>";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "resolution", array()), "html", null, true);
         echo "</strong></li>";
     }
     // line 38
     echo "        ";
     if (!twig_test_empty($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "userId", array()))) {
         echo "<li><span>";
         echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("General_UserId")), "html", null, true);
         echo "</span><strong>";
         echo $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "userId", array());
         echo "</strong></li>";
     }
     // line 39
     echo "        ";
     if (array_key_exists("visitReferralSummary", $context)) {
         // line 40
         $context["keywordNotDefined"] = call_user_func_array($this->env->getFilter('translate')->getCallable(), array("General_NotDefined", call_user_func_array($this->env->getFilter('translate')->getCallable(), array("General_ColumnKeyword"))));
         // line 41
         echo "<li>\n            <span>";
         // line 42
         echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("General_DateRangeFrom")), "html", null, true);
         echo "</span>\n            <strong ";
         // line 43
         if ($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "referrerType", array()) == "search" && !twig_in_filter("(", isset($context["visitReferralSummary"]) ? $context["visitReferralSummary"] : $this->getContext($context, "visitReferralSummary"))) {
             echo "title=\"";
             echo twig_escape_filter($this->env, isset($context["keywordNotDefined"]) ? $context["keywordNotDefined"] : $this->getContext($context, "keywordNotDefined"), "html", null, true);
             echo "\"";
         }
         echo ">";
         echo twig_escape_filter($this->env, isset($context["visitReferralSummary"]) ? $context["visitReferralSummary"] : $this->getContext($context, "visitReferralSummary"), "html", null, true);
         echo "</strong>\n        </li>\n        ";
     }
     // line 46
     echo "    </ul>\n</div>\n<div class=\"visitor-profile-latest-visit-column\">\n    ";
     // line 49
     if ($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : null, "customVariables", array(), "any", true, true)) {
         // line 50
         echo "    <ul>\n        ";
         // line 51
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "customVariables", array()));
         $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
         if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
             $length = count($context['_seq']);
             $context['loop']['revindex0'] = $length - 1;
             $context['loop']['revindex'] = $length;
             $context['loop']['length'] = $length;
             $context['loop']['last'] = 1 === $length;
         }
         foreach ($context['_seq'] as $context["id"] => $context["customVariable"]) {
             // line 52
             echo "        ";
             if ($this->getAttribute($context["loop"], "index0", array()) < 4) {
                 // line 53
                 echo "            ";
                 echo $context["macros"]->getcustomVar($context["id"], $context["customVariable"]);
                 echo "\n        ";
             }
             // line 55
             echo "        ";
             ++$context['loop']['index0'];
             ++$context['loop']['index'];
             $context['loop']['first'] = false;
             if (isset($context['loop']['length'])) {
                 --$context['loop']['revindex0'];
                 --$context['loop']['revindex'];
                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
             }
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['id'], $context['customVariable'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 56
         echo "    </ul>\n    ";
     }
     // line 58
     echo "    ";
     if ($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : null, "customVariables", array(), "any", true, true) && twig_length_filter($this->env, $this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "customVariables", array())) > 4) {
         // line 59
         echo "    <ul class=\"visitor-profile-extra-cvars\" style=\"display:none;\">\n        ";
         // line 60
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["visitData"]) ? $context["visitData"] : $this->getContext($context, "visitData"), "customVariables", array()));
         $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
         if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
             $length = count($context['_seq']);
             $context['loop']['revindex0'] = $length - 1;
             $context['loop']['revindex'] = $length;
             $context['loop']['length'] = $length;
             $context['loop']['last'] = 1 === $length;
         }
         foreach ($context['_seq'] as $context["id"] => $context["customVariable"]) {
             // line 61
             echo "        ";
             if ($this->getAttribute($context["loop"], "index0", array()) >= 4) {
                 // line 62
                 echo "            ";
                 echo $context["macros"]->getcustomVar($context["id"], $context["customVariable"]);
                 echo "\n        ";
             }
             // line 64
             echo "        ";
             ++$context['loop']['index0'];
             ++$context['loop']['index'];
             $context['loop']['first'] = false;
             if (isset($context['loop']['length'])) {
                 --$context['loop']['revindex0'];
                 --$context['loop']['revindex'];
                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
             }
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['id'], $context['customVariable'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 65
         echo "    </ul>\n    <p class=\"visitor-profile-see-more-cvars\"><a href=\"#\">&#x25bc;</a></p>\n    ";
     }
     // line 68
     echo "</div>\n";
 }
 public function getmarkdown_quote($_text = null)
 {
     $context = $this->env->mergeGlobals(array("text" => $_text));
     $blocks = array();
     ob_start();
     try {
         // line 38
         echo "\n\n\n";
         // line 41
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(twig_split_filter(isset($context["text"]) ? $context["text"] : null, "\n"));
         foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
             // line 42
             echo "> ";
             echo twig_escape_filter($this->env, isset($context["line"]) ? $context["line"] : null, "html", null, true);
             echo "\n";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['line'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
     } catch (Exception $e) {
         ob_end_clean();
         throw $e;
     }
     return '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
 }
 public function getform_tree_entry($__name__ = null, $__data__ = null, $__expanded__ = null)
 {
     $context = $this->env->mergeGlobals(array("name" => $__name__, "data" => $__data__, "expanded" => $__expanded__, "varargs" => func_num_args() > 3 ? array_slice(func_get_args(), 3) : array()));
     $blocks = array();
     ob_start();
     try {
         $__internal_538c8443506485ae5524c332bb750bd6a186b921cedef8ea149ce9008baf9b7f = $this->env->getExtension("native_profiler");
         $__internal_538c8443506485ae5524c332bb750bd6a186b921cedef8ea149ce9008baf9b7f->enter($__internal_538c8443506485ae5524c332bb750bd6a186b921cedef8ea149ce9008baf9b7f_prof = new Twig_Profiler_Profile($this->getTemplateName(), "macro", "form_tree_entry"));
         // line 427
         echo "    ";
         $context["tree"] = $this;
         // line 428
         echo "    <li>\n        <div class=\"tree-inner\" data-tab-target-id=\"";
         // line 429
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "id", array()), "html", null, true);
         echo "-details\">\n            ";
         // line 430
         if (!twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "children", array()))) {
             // line 431
             echo "                <a class=\"toggle-button\" data-toggle-target-id=\"";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "id", array()), "html", null, true);
             echo "-children\" href=\"#\"><span class=\"toggle-icon\"></span></a>\n            ";
         } else {
             // line 433
             echo "                <div class=\"toggle-icon empty\"></div>\n            ";
         }
         // line 435
         echo "\n            ";
         // line 436
         echo twig_escape_filter($this->env, array_key_exists("name", $context) ? _twig_default_filter(isset($context["name"]) ? $context["name"] : $this->getContext($context, "name"), "(no name)") : "(no name)", "html", null, true);
         echo " ";
         if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "type_class", array(), "any", true, true) && $this->getAttribute(isset($context["data"]) ? $context["data"] : null, "type", array(), "any", true, true)) {
             echo "[<abbr title=\"";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "type_class", array()), "html", null, true);
             echo "\">";
             echo twig_escape_filter($this->env, twig_last($this->env, twig_split_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "type", array()), "\\")), "html", null, true);
             echo "</abbr>]";
         }
         // line 437
         echo "\n            ";
         // line 438
         if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "errors", array(), "any", true, true) && twig_length_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "errors", array())) > 0) {
             // line 439
             echo "                <div class=\"badge-error\">";
             echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "errors", array())), "html", null, true);
             echo "</div>\n            ";
         }
         // line 441
         echo "        </div>\n\n        ";
         // line 443
         if (!twig_test_empty($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "children", array()))) {
             // line 444
             echo "            <ul id=\"";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "id", array()), "html", null, true);
             echo "-children\" ";
             if (!(isset($context["expanded"]) ? $context["expanded"] : $this->getContext($context, "expanded"))) {
                 echo "class=\"hidden\"";
             }
             echo ">\n                ";
             // line 445
             $context['_parent'] = $context;
             $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "children", array()));
             foreach ($context['_seq'] as $context["childName"] => $context["childData"]) {
                 // line 446
                 echo "                    ";
                 echo $context["tree"]->getform_tree_entry($context["childName"], $context["childData"], false);
                 echo "\n                ";
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['childName'], $context['childData'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 448
             echo "            </ul>\n        ";
         }
         // line 450
         echo "    </li>\n";
         $__internal_538c8443506485ae5524c332bb750bd6a186b921cedef8ea149ce9008baf9b7f->leave($__internal_538c8443506485ae5524c332bb750bd6a186b921cedef8ea149ce9008baf9b7f_prof);
     } catch (Exception $e) {
         ob_end_clean();
         throw $e;
     }
     return '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
 }
 public function getbreadcrumbs($__namespace__ = null)
 {
     $context = $this->env->mergeGlobals(array("namespace" => $__namespace__));
     $blocks = array();
     ob_start();
     try {
         // line 93
         echo "    ";
         $context["current_ns"] = "";
         // line 94
         echo "    ";
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(twig_split_filter($this->env, isset($context["namespace"]) ? $context["namespace"] : $this->getContext($context, "namespace"), "\\"));
         foreach ($context['_seq'] as $context["_key"] => $context["ns"]) {
             // line 95
             echo "        ";
             if (isset($context["current_ns"]) ? $context["current_ns"] : $this->getContext($context, "current_ns")) {
                 // line 96
                 echo "            ";
                 $context["current_ns"] = (isset($context["current_ns"]) ? $context["current_ns"] : $this->getContext($context, "current_ns")) . "\\" . $context["ns"];
                 // line 97
                 echo "        ";
             } else {
                 // line 98
                 echo "            ";
                 $context["current_ns"] = $context["ns"];
                 // line 99
                 echo "        ";
             }
             // line 100
             echo "        <li><a href=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('sami')->pathForNamespace($context, isset($context["current_ns"]) ? $context["current_ns"] : $this->getContext($context, "current_ns")), "html", null, true);
             echo "\">";
             echo twig_escape_filter($this->env, $context["ns"], "html", null, true);
             echo "</a></li>\n    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ns'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
     } catch (Exception $e) {
         ob_end_clean();
         throw $e;
     }
     return '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     if (isset($context["input"])) {
         $_input_ = $context["input"];
     } else {
         $_input_ = null;
     }
     if ($this->getAttribute($_input_, "server", array(0 => "HTTP_X_PJAX"), "method") == null) {
         // line 2
         echo "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n\n    <title>";
         // line 8
         if (isset($context["page_title"])) {
             $_page_title_ = $context["page_title"];
         } else {
             $_page_title_ = null;
         }
         echo twig_escape_filter($this->env, $_page_title_, "html", null, true);
         echo " | ";
         echo twig_escape_filter($this->env, get_config_item("System", "main_title", "office/OfficeConfig"), "html", null, true);
         echo "</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"";
         // line 11
         echo twig_escape_filter($this->env, base_url(), "html", null, true);
         echo "public/css/bootstrap.min.css\" rel=\"stylesheet\">\n    <link href=\"";
         // line 12
         echo twig_escape_filter($this->env, base_url(), "html", null, true);
         echo "public/css/bootstrap-reset.css\" rel=\"stylesheet\">\n    <!--external css-->\n    <link href=\"";
         // line 14
         echo twig_escape_filter($this->env, base_url(), "html", null, true);
         echo "public/assets/font-awesome/css/font-awesome.css\" rel=\"stylesheet\" />\n    <link href=\"";
         // line 15
         echo twig_escape_filter($this->env, base_url(), "html", null, true);
         echo "public/css/sweetalert.css\" rel=\"stylesheet\" />\n    <!-- Custom styles for this template -->\n    <link href=\"";
         // line 17
         echo twig_escape_filter($this->env, base_url(), "html", null, true);
         echo "public/css/style.css\" rel=\"stylesheet\">\n    <link href=\"";
         // line 18
         echo twig_escape_filter($this->env, base_url(), "html", null, true);
         echo "public/css/style-responsive.css\" rel=\"stylesheet\" />\n    <link href=\"";
         // line 19
         echo twig_escape_filter($this->env, base_url(), "html", null, true);
         echo "public/css/animate.css\" rel=\"stylesheet\" />\n    <link href=\"";
         // line 20
         echo twig_escape_filter($this->env, base_url(), "html", null, true);
         echo "public/css/loadingbar.css\" rel=\"stylesheet\" />\n  </head>\n\n  <body>\n\n<section id=\"container\" class=\"";
         // line 25
         if (isset($context["view_sidebar"])) {
             $_view_sidebar_ = $context["view_sidebar"];
         } else {
             $_view_sidebar_ = null;
         }
         echo twig_escape_filter($this->env, $_view_sidebar_, "html", null, true);
         echo "\">\n      <!--header start-->\n      <header class=\"header white-bg\">\n          <div class=\"sidebar-toggle-box\">\n              <div data-original-title=\"";
         // line 29
         echo twig_escape_filter($this->env, lang("toggle_navigation"), "html", null, true);
         echo "\" data-placement=\"right\" class=\"icon-reorder tooltips\"></div>\n          </div>\n          <!--logo start-->\n          ";
         // line 32
         $context["title"] = twig_split_filter(get_config_item("System", "title", "office/OfficeConfig"), " ");
         // line 33
         echo "          <a href=\"#\" class=\"logo\" >";
         if (isset($context["title"])) {
             $_title_ = $context["title"];
         } else {
             $_title_ = null;
         }
         echo twig_escape_filter($this->env, $this->getAttribute($_title_, 0, array(), "array"), "html", null, true);
         echo " <span> ";
         if (isset($context["title"])) {
             $_title_ = $context["title"];
         } else {
             $_title_ = null;
         }
         echo twig_escape_filter($this->env, $this->getAttribute($_title_, 1, array(), "array"), "html", null, true);
         echo " </span> </a>\n          <!--logo end-->\n          <div class=\"nav notify-row\" id=\"top_menu\">\n            <!--  notification start -->\n            <ul class=\"nav top-menu\">\n              <!-- settings start -->\n              <li class=\"dropdown\">\n                  <a data-toggle=\"dropdown\" class=\"dropdown-toggle\" href=\"#\">\n                      <span style=\"font-size: 9pt;\">";
         // line 41
         echo twig_escape_filter($this->env, lang("language_box"), "html", null, true);
         echo "</span>\n                  </a>\n                  <ul class=\"dropdown-menu extended tasks-bar\">\n                      <div class=\"notify-arrow notify-arrow-green\"></div>\n                      <li>\n                          <p class=\"green\">";
         // line 46
         echo twig_escape_filter($this->env, lang("language_selection"), "html", null, true);
         echo "</p>\n                      </li>\n                      <li>\n                          <a href=\"?lang=ru\">\n                              <div class=\"task-info\">\n                                  <div class=\"desc\">";
         // line 51
         echo twig_escape_filter($this->env, lang("ru_lang"), "html", null, true);
         echo "</div>\n                              </div>\n                          </a>\n                      </li>\n                      <li>\n                          <a href=\"?lang=en\">\n                              <div class=\"task-info\">\n                                  <div class=\"desc\">";
         // line 58
         echo twig_escape_filter($this->env, lang("en_lang"), "html", null, true);
         echo "</div>\n                              </div>\n                          </a>\n                      </li>\n                  </ul>\n              </li>\n              <!-- settings end -->\n          </div>\n          <div class=\"top-nav \">\n              <ul class=\"nav pull-right top-menu\">\n                  <li>\n                      <input type=\"text\" id=\"search_menu\" class=\"form-control search\" placeholder=\"Search\">\n                  </li>\n                  <!-- user login dropdown start-->\n                  <li class=\"dropdown\">\n                      ";
         // line 73
         if (isset($context["session"])) {
             $_session_ = $context["session"];
         } else {
             $_session_ = null;
         }
         if ($this->getAttribute($_session_, "has_userdata", array(0 => "user_logged_in"), "method")) {
             // line 74
             echo "                        <a data-toggle=\"dropdown\" class=\"dropdown-toggle\" href=\"#\">\n                            <i class=\"icon-user\"></i>\n                            <span class=\"username\">";
             // line 76
             if (isset($context["session"])) {
                 $_session_ = $context["session"];
             } else {
                 $_session_ = null;
             }
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_session_, "userdata", array(0 => "user_logged_in"), "method"), "login"), "html", null, true);
             echo "</span>\n                            <b class=\"caret\"></b>\n                        </a>\n                        <ul class=\"dropdown-menu extended logout\">\n                            <div class=\"log-arrow-up\"></div>\n                            <li><a data-pjax href=\"";
             // line 81
             echo twig_escape_filter($this->env, site_url(), "html", null, true);
             echo "main\"><i class=\" icon-suitcase\"></i>";
             echo twig_escape_filter($this->env, lang("profile"), "html", null, true);
             echo "</a></li>\n                            ";
             // line 82
             $context["edit_profile"] = twig_split_filter(lang("edit_profile"), " ");
             // line 83
             echo "                            <li><a data-pjax href=\"";
             echo twig_escape_filter($this->env, site_url(), "html", null, true);
             echo "main/edit\"><i class=\"icon-cog\"></i> ";
             if (isset($context["edit_profile"])) {
                 $_edit_profile_ = $context["edit_profile"];
             } else {
                 $_edit_profile_ = null;
             }
             echo twig_escape_filter($this->env, $this->getAttribute($_edit_profile_, 0, array(), "array"), "html", null, true);
             echo "<br>";
             if (isset($context["edit_profile"])) {
                 $_edit_profile_ = $context["edit_profile"];
             } else {
                 $_edit_profile_ = null;
             }
             echo twig_escape_filter($this->env, $this->getAttribute($_edit_profile_, 1, array(), "array"), "html", null, true);
             echo "</a></li>\n                            <li><a data-pjax href=\"";
             // line 84
             echo twig_escape_filter($this->env, site_url(), "html", null, true);
             echo "main/edit\"><i class=\"icon-dollar\"></i> Пополнение<br>счета</a></li>\n                            <li><a data-pjax href=\"";
             // line 85
             echo twig_escape_filter($this->env, site_url(), "html", null, true);
             echo "main/logout\"><i class=\"icon-key\"></i> ";
             echo twig_escape_filter($this->env, lang("exit_button"), "html", null, true);
             echo "</a></li>\n                        </ul>\n                      ";
         }
         // line 88
         echo "                  </li>\n                  <!-- user login dropdown end -->\n              </ul>\n          </div>\n      </header>\n";
     }
     // line 93
     echo "  \n<div id=\"pjax-container\">\n";
     // line 95
     $template = $this->env->resolveTemplate(get_config_item("System", "template", "office/OfficeConfig") . "/template/menu.tpl");
     $template->display($context);
 }
 public function block_body($context, array $blocks = array())
 {
     // line 3
     echo "    <section id=\"about-us\">\n        <div class=\"container\">\n            <div class=\"center wow fadeInDown\">\n                <h2>About Svipl</h2>\n                <p class=\"lead\">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut <br> et dolore magna aliqua. Ut enim ad minim veniam</p>\n            </div>\n\n            <!-- about us slider -->\n            <div id=\"about-slider\">\n                <div id=\"carousel-slider\" class=\"carousel slide\" data-ride=\"carousel\">\n                    <!-- Indicators -->\n                    <ol class=\"carousel-indicators visible-xs\">\n                        <li data-target=\"#carousel-slider\" data-slide-to=\"0\" class=\"active\"></li>\n                        <li data-target=\"#carousel-slider\" data-slide-to=\"1\"></li>\n                        <li data-target=\"#carousel-slider\" data-slide-to=\"2\"></li>\n                    </ol>\n\n                    <div class=\"carousel-inner\">\n                        <div class=\"item active\">\n                            <img src=\"";
     // line 22
     echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("/bundles/acmehome/images/slider_one.jpg"), "html", null, true);
     echo "\" class=\"img-responsive\" alt=\"\"> \n                        </div>\n                        <div class=\"item\">\n                            <img src=\"";
     // line 25
     echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("/bundles/acmehome/images/slider_one.jpg"), "html", null, true);
     echo "\" class=\"img-responsive\" alt=\"\"> \n                        </div> \n                        <div class=\"item\">\n                            <img src=\"";
     // line 28
     echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("/bundles/acmehome/images/slider_one.jpg"), "html", null, true);
     echo "\" class=\"img-responsive\" alt=\"\"> \n                        </div> \n                    </div>\n\n                    <a class=\"left carousel-control hidden-xs\" href=\"#carousel-slider\" data-slide=\"prev\">\n                        <i class=\"fa fa-angle-left\"></i> \n                    </a>\n\n                    <a class=\" right carousel-control hidden-xs\"href=\"#carousel-slider\" data-slide=\"next\">\n                        <i class=\"fa fa-angle-right\"></i> \n                    </a>\n                </div> <!--/#carousel-slider-->\n            </div><!--/#about-slider-->\n\n\n            <!-- Our Skill -->\n            <div class=\"skill-wrap clearfix\">\n\n                <div class=\"center wow fadeInDown\">\n                    <h2>Our Skill</h2>\n                    <p class=\"lead\">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut <br> et dolore magna aliqua. Ut enim ad minim veniam</p>\n                </div>\n\n                <div class=\"row\">\n                    ";
     // line 52
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getContext($context, "skills"));
     foreach ($context['_seq'] as $context["_key"] => $context["skill"]) {
         // line 53
         echo "                    <div class=\"col-sm-3\">\n                        <div class=\"sinlge-skill wow fadeInDown\" data-wow-duration=\"1000ms\" data-wow-delay=\"300ms\">\n                            <div class=\"html-skill\">                                   \n                                <p><em>";
         // line 56
         echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "skill"), "percentage"), "html", null, true);
         echo "%</em></p>\n                                <p>";
         // line 57
         echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "skill"), "title"), "html", null, true);
         echo "</p>\n                            </div>\n                        </div>\n                    </div>\n                    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['skill'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 61
     echo "    \n                    ";
     // line 99
     echo "\n            </div><!--/.our-skill-->\n\n\n            <!-- our-team -->\n            <div class=\"team\">\n                <div class=\"center wow fadeInDown\">\n                    <h2>Team of Svipl</h2>\n                    <p class=\"lead\">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut <br> et dolore magna aliqua. Ut enim ad minim veniam</p>\n                </div>\n                ";
     // line 109
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getContext($context, "teams"));
     foreach ($context['_seq'] as $context["_key"] => $context["team"]) {
         // line 110
         echo "                   <div class=\"row clearfix\">\n                    <div class=\"col-md-12 col-sm-6\">\t\n                        <div class=\"single-profile-top wow fadeInDown\" data-wow-duration=\"1000ms\" data-wow-delay=\"300ms\">\n                            <div class=\"media\">\n                                <div class=\"pull-left\">\n                                    <a href=\"#\"><img class=\"media-object\" src=\"";
         // line 115
         echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl(twig_join_filter(array(0 => "uploads/team/", 1 => $this->getAttribute($this->getContext($context, "team"), "id"), 2 => "/", 3 => $this->getAttribute($this->getContext($context, "team"), "image")))), "html", null, true);
         echo "\" alt=\"\"></a>\n                                </div>\n                                <div class=\"media-body\">\n                                    <h4>";
         // line 118
         echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "team"), "name"), "html", null, true);
         echo "</h4>\n                                    <h5>";
         // line 119
         echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "team"), "designation"), "html", null, true);
         echo "</h5>\n                                    <ul class=\"tag clearfix\">\n                                        ";
         // line 121
         $context["skill"] = "";
         // line 122
         echo "                                        ";
         $context["skills"] = twig_split_filter($this->getAttribute($this->getContext($context, "team"), "skills"), ",");
         // line 123
         echo "                                        ";
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable($this->getContext($context, "skills"));
         foreach ($context['_seq'] as $context["keys"] => $context["skill"]) {
             // line 124
             echo "                                            ";
             $context["dayMap"] = array(0 => "WEB", 1 => "UI", 2 => "UX", 3 => "PHOTOSHOP", 4 => "SYMFONY1.0");
             // line 125
             echo "\t\t\t\t\t    <li class=\"btn\"><a href=\"#\">";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "dayMap"), $this->getContext($context, "skill"), array(), "array"), "html", null, true);
             echo "</a></li>\t\n                                        ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['keys'], $context['skill'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 127
         echo "                                    </ul>\n\n                                    <ul class=\"social_icons\">\n                                        ";
         // line 130
         if ($this->getAttribute($this->getContext($context, "team"), "facebook")) {
             // line 131
             echo "                                        <li><a href=\"";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "team"), "facebook"), "html", null, true);
             echo "\" target=\"_blank\"><i class=\"fa fa-facebook\"></i></a></li>\n                                        ";
         }
         // line 133
         echo "                                        ";
         if ($this->getAttribute($this->getContext($context, "team"), "twitter")) {
             // line 134
             echo "                                        <li><a href=\"";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "team"), "twitter"), "html", null, true);
             echo "\" target=\"_blank\"><i class=\"fa fa-twitter\"></i></a></li> \n                                        ";
         }
         // line 136
         echo "                                        ";
         if ($this->getAttribute($this->getContext($context, "team"), "gmail")) {
             // line 137
             echo "                                        <li><a href=\"";
             echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "team"), "gmail"), "html", null, true);
             echo "\" target=\"_blank\"><i class=\"fa fa-google-plus\"></i></a></li>\n                                        ";
         }
         // line 139
         echo "                                    </ul>\n                                </div>\n\t\t\t\t<p>";
         // line 141
         echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "team"), "description"), "html", null, true);
         echo "</p>\n                            </div><!--/.media -->\n                            \n                        </div>\n                    </div><!--/.col-lg-4 -->\n                   </div>\n                   <div class=\"row team-bar\">\n                    <div class=\"first-one-arrow hidden-xs\">\n                        <hr>\n                    </div>\n                    <div class=\"first-arrow hidden-xs\">\n                        <hr> <i class=\"fa fa-angle-up\"></i>\n                    </div>\n                    <div class=\"second-arrow hidden-xs\">\n                        <hr> <i class=\"fa fa-angle-down\"></i>\n                    </div>\n                    <div class=\"third-arrow hidden-xs\">\n                        <hr> <i class=\"fa fa-angle-up\"></i>\n                    </div>\n                    <div class=\"fourth-arrow hidden-xs\">\n                        <hr> <i class=\"fa fa-angle-down\"></i>\n                    </div>\n                    </div> <!--skill_border-->                \n                ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['team'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 164
     echo "    \n                ";
     // line 291
     echo "            </div><!--section-->\n        </div><!--/.container-->\n    </section><!--/about-us-->\n";
 }
 public function getrender_log_message($__log_index__ = null, $__log__ = null, $__is_deprecation__ = false, ...$__varargs__)
 {
     $context = $this->env->mergeGlobals(array("log_index" => $__log_index__, "log" => $__log__, "is_deprecation" => $__is_deprecation__, "varargs" => $__varargs__));
     $blocks = array();
     ob_start();
     try {
         $__internal_e3a48ea477df3582fb835c64ca25d824bd73bf29514a037d20987c514445ba1d = $this->env->getExtension("native_profiler");
         $__internal_e3a48ea477df3582fb835c64ca25d824bd73bf29514a037d20987c514445ba1d->enter($__internal_e3a48ea477df3582fb835c64ca25d824bd73bf29514a037d20987c514445ba1d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "macro", "render_log_message"));
         // line 154
         echo "    ";
         echo twig_escape_filter($this->env, twig_template_get_attributes($this, isset($context["log"]) ? $context["log"] : $this->getContext($context, "log"), "message", array()), "html", null, true);
         echo "\n\n    ";
         // line 156
         if (isset($context["is_deprecation"]) ? $context["is_deprecation"] : $this->getContext($context, "is_deprecation")) {
             // line 157
             echo "        ";
             $context["stack"] = twig_template_get_attributes($this, twig_template_get_attributes($this, isset($context["log"]) ? $context["log"] : null, "context", array(), "any", false, true), "stack", array(), "any", true, true) ? _twig_default_filter(twig_template_get_attributes($this, twig_template_get_attributes($this, isset($context["log"]) ? $context["log"] : null, "context", array(), "any", false, true), "stack", array()), array()) : array();
             // line 158
             echo "        ";
             $context["id"] = "sf-call-stack-" . (isset($context["log_index"]) ? $context["log_index"] : $this->getContext($context, "log_index"));
             // line 159
             echo "\n        ";
             // line 160
             if (twig_template_get_attributes($this, twig_template_get_attributes($this, isset($context["log"]) ? $context["log"] : null, "context", array(), "any", false, true), "errorCount", array(), "any", true, true)) {
                 // line 161
                 echo "            <span class=\"text-small text-bold\">(";
                 echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, isset($context["log"]) ? $context["log"] : $this->getContext($context, "log"), "context", array()), "errorCount", array()), "html", null, true);
                 echo " times)</span>\n        ";
             }
             // line 163
             echo "\n        ";
             // line 164
             if (isset($context["stack"]) ? $context["stack"] : $this->getContext($context, "stack")) {
                 // line 165
                 echo "            <button class=\"btn-link text-small sf-toggle\" data-toggle-selector=\"#";
                 echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
                 echo "\" data-toggle-alt-content=\"Hide stack trace\">Show stack trace</button>\n        ";
             }
             // line 167
             echo "\n        ";
             // line 168
             $context['_parent'] = $context;
             $context['_seq'] = twig_ensure_traversable(isset($context["stack"]) ? $context["stack"] : $this->getContext($context, "stack"));
             foreach ($context['_seq'] as $context["index"] => $context["call"]) {
                 if ($context["index"] > 1) {
                     // line 169
                     echo "            ";
                     if ($context["index"] == 2) {
                         // line 170
                         echo "                <ul class=\"sf-call-stack\" id=\"";
                         echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
                         echo "\" class=\"hidden\">\n            ";
                     }
                     // line 172
                     echo "\n            ";
                     // line 173
                     if (twig_template_get_attributes($this, $context["call"], "class", array(), "any", true, true)) {
                         // line 174
                         echo "                ";
                         $context["from"] = $this->env->getExtension('code')->abbrClass(twig_template_get_attributes($this, $context["call"], "class", array())) . "::" . $this->env->getExtension('code')->abbrMethod(twig_template_get_attributes($this, $context["call"], "function", array()));
                         // line 175
                         echo "            ";
                     } elseif (twig_template_get_attributes($this, $context["call"], "function", array(), "any", true, true)) {
                         // line 176
                         echo "                ";
                         $context["from"] = $this->env->getExtension('code')->abbrMethod(twig_template_get_attributes($this, $context["call"], "function", array()));
                         // line 177
                         echo "            ";
                     } elseif (twig_template_get_attributes($this, $context["call"], "file", array(), "any", true, true)) {
                         // line 178
                         echo "                ";
                         $context["from"] = twig_template_get_attributes($this, $context["call"], "file", array());
                         // line 179
                         echo "            ";
                     } else {
                         // line 180
                         echo "                ";
                         $context["from"] = "-";
                         // line 181
                         echo "            ";
                     }
                     // line 182
                     echo "\n            ";
                     // line 183
                     $context["file_name"] = twig_template_get_attributes($this, $context["call"], "file", array(), "any", true, true) && twig_template_get_attributes($this, $context["call"], "line", array(), "any", true, true) ? twig_last($this->env, twig_split_filter($this->env, twig_replace_filter(twig_template_get_attributes($this, $context["call"], "file", array()), array("\\" => "/")), "/")) : "";
                     // line 184
                     echo "\n            <li>\n                ";
                     // line 186
                     echo isset($context["from"]) ? $context["from"] : $this->getContext($context, "from");
                     echo "\n                ";
                     // line 187
                     if (isset($context["file_name"]) ? $context["file_name"] : $this->getContext($context, "file_name")) {
                         // line 188
                         echo "                    <span class=\"text-small\">(called from ";
                         echo $this->env->getExtension('code')->formatFile(twig_template_get_attributes($this, $context["call"], "file", array()), twig_template_get_attributes($this, $context["call"], "line", array()), isset($context["file_name"]) ? $context["file_name"] : $this->getContext($context, "file_name"));
                         echo ")</span>\n                ";
                     }
                     // line 190
                     echo "            </li>\n\n            ";
                     // line 192
                     if ($context["index"] == twig_length_filter($this->env, isset($context["stack"]) ? $context["stack"] : $this->getContext($context, "stack")) - 1) {
                         // line 193
                         echo "                </ul>\n            ";
                     }
                     // line 195
                     echo "        ";
                 }
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['index'], $context['call'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 196
             echo "    ";
         } else {
             // line 197
             echo "        ";
             if (twig_template_get_attributes($this, isset($context["log"]) ? $context["log"] : null, "context", array(), "any", true, true) && !twig_test_empty(twig_template_get_attributes($this, isset($context["log"]) ? $context["log"] : $this->getContext($context, "log"), "context", array()))) {
                 // line 198
                 echo "            <span class=\"metadata\">\n                <strong>Context</strong>: ";
                 // line 199
                 echo twig_escape_filter($this->env, twig_replace_filter(twig_jsonencode_filter(twig_template_get_attributes($this, isset($context["log"]) ? $context["log"] : $this->getContext($context, "log"), "context", array()), 64 | 256), array("{\"" => "{ \"", "\"}" => "\" }", "\":{" => "\": {", "\":\"" => "\": \"", "\",\"" => "\", \"")), "html", null, true);
                 // line 201
                 echo "\n            </span>\n        ";
             }
             // line 204
             echo "    ";
         }
         $__internal_e3a48ea477df3582fb835c64ca25d824bd73bf29514a037d20987c514445ba1d->leave($__internal_e3a48ea477df3582fb835c64ca25d824bd73bf29514a037d20987c514445ba1d_prof);
     } catch (Exception $e) {
         ob_end_clean();
         throw $e;
     }
     return '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 2
     echo "\n";
     // line 3
     $context["option"] = array("class" => $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "class", array(), "any", true, true) ? _twig_default_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "class", array()), "") : "", "label" => $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "label", array(), "any", true, true) ? _twig_default_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "label", array()), "") : "", "multiple" => $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "multiple", array(), "any", true, true) && $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "multiple", array()), "values" => $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "values", array(), "any", true, true) ? _twig_default_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "values", array()), array()) : array(), "info" => $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "info", array(), "any", true, true) ? _twig_default_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "info", array()), "") : "");
     // line 10
     echo "\n";
     // line 12
     echo "\n";
     // line 13
     if (twig_test_iterable($this->getAttribute(isset($context["option"]) ? $context["option"] : null, "values", array()))) {
         // line 14
         echo "    ";
         $context["values"] = $this->getAttribute(isset($context["option"]) ? $context["option"] : null, "values", array());
     } else {
         // line 16
         echo "    ";
         $context["lookuptype"] = $this->env->getExtension('Bolt')->first(twig_split_filter($this->env, $this->getAttribute(isset($context["option"]) ? $context["option"] : null, "values", array()), "/"));
         // line 17
         echo "    ";
         $context["lookupfield"] = $this->env->getExtension('Bolt')->last(twig_split_filter($this->env, $this->getAttribute(isset($context["option"]) ? $context["option"] : null, "values", array()), "/"));
         // line 18
         echo "    ";
         if (twig_in_filter(",", isset($context["lookupfield"]) ? $context["lookupfield"] : null)) {
             // line 19
             echo "        ";
             $context["lookupfield"] = twig_split_filter($this->env, isset($context["lookupfield"]) ? $context["lookupfield"] : null, ",");
             // line 20
             echo "    ";
         }
         // line 21
         echo "    ";
         $context["sortingorder"] = $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "sort", array(), "any", true, true) ? _twig_default_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "sort", array()), $this->env->getExtension('Bolt')->first(isset($context["lookupfield"]) ? $context["lookupfield"] : null)) : $this->env->getExtension('Bolt')->first(isset($context["lookupfield"]) ? $context["lookupfield"] : null);
         // line 22
         echo "    ";
         $context["querylimit"] = $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "limit", array(), "any", true, true) ? _twig_default_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "limit", array()), 500) : 500;
         // line 23
         echo "    ";
         $context["wherefilter"] = $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "filter", array(), "any", true, true) ? _twig_default_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "filter", array()), array()) : array();
         // line 24
         echo "    ";
         $template_storage = new Bolt\Storage($context['app']);
         $context['lookups'] = $template_storage->getContent(isset($context["lookuptype"]) ? $context["lookuptype"] : null, array("order" => isset($context["sortingorder"]) ? $context["sortingorder"] : null, "hydrate" => false, "limit" => isset($context["querylimit"]) ? $context["querylimit"] : null), $pager, isset($context["wherefilter"]) ? $context["wherefilter"] : null);
         // line 25
         echo "    ";
         $context["values"] = $this->env->getExtension('Bolt')->selectField(isset($context["lookups"]) ? $context["lookups"] : null, isset($context["lookupfield"]) ? $context["lookupfield"] : null, $this->getAttribute(isset($context["option"]) ? $context["option"] : null, "multiple", array()), $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "keys", array(), "any", true, true) ? _twig_default_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "keys", array()), "id") : "id");
     }
     // line 27
     echo "\n";
     // line 29
     $context["selection"] = $this->getAttribute($this->getAttribute(isset($context["context"]) ? $context["context"] : null, "content", array(), "any", false, true), "get", array(0 => isset($context["contentkey"]) ? $context["contentkey"] : null), "method", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["context"]) ? $context["context"] : null, "content", array(), "any", false, true), "get", array(0 => isset($context["contentkey"]) ? $context["contentkey"] : null), "method"), null) : null;
     // line 30
     if (!twig_test_iterable(isset($context["selection"]) ? $context["selection"] : null)) {
         // line 31
         echo "    ";
         $context["selection"] = array(0 => isset($context["selection"]) ? $context["selection"] : null);
     }
     // line 33
     echo "\n";
     // line 35
     if (twig_in_filter($this->env->getExtension('Bolt')->first(isset($context["selection"]) ? $context["selection"] : null), twig_get_array_keys_filter(isset($context["values"]) ? $context["values"] : null))) {
         // line 36
         echo "    ";
         $context["onlyids"] = true;
     } else {
         // line 38
         echo "    ";
         $context["onlyids"] = false;
     }
     // line 40
     echo "\n";
     // line 41
     $context["attr_select"] = array("class" => $this->getAttribute(isset($context["option"]) ? $context["option"] : null, "class", array()), "id" => isset($context["key"]) ? $context["key"] : null, "multiple" => $this->getAttribute(isset($context["option"]) ? $context["option"] : null, "multiple", array()), "name" => $this->getAttribute(isset($context["option"]) ? $context["option"] : null, "multiple", array()) ? (isset($context["name"]) ? $context["name"] : null) . "[]" : (isset($context["name"]) ? $context["name"] : null));
     // line 47
     echo "\n";
     // line 49
     if ($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "autocomplete", array(), "any", true, true) ? _twig_default_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "autocomplete", array()), false) : false) {
         // line 50
         echo "    ";
         $context["attr_select"] = twig_array_merge(isset($context["attr_select"]) ? $context["attr_select"] : null, array("class" => ""));
         // line 51
         echo "    ";
         $context["attr_select"] = twig_array_merge(isset($context["attr_select"]) ? $context["attr_select"] : null, array("style" => "width: 100%;"));
     }
     // line 53
     echo "\n";
     // line 55
     echo "\n<fieldset class=\"multiselect\">\n\n    <label class=\"col-sm-3 control-label\">";
     // line 58
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["option"]) ? $context["option"] : null, "info", array()) ? $this->getAttribute(isset($context["macro"]) ? $context["macro"] : null, "infopop", array(0 => isset($context["labelkey"]) ? $context["labelkey"] : null, 1 => $this->getAttribute(isset($context["option"]) ? $context["option"] : null, "info", array())), "method") : (isset($context["labelkey"]) ? $context["labelkey"] : null), "html", null, true);
     echo "</label>\n    <div class=\"col-sm-9\">\n        <select";
     // line 60
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["macro"]) ? $context["macro"] : null, "attr", array(0 => isset($context["attr_select"]) ? $context["attr_select"] : null), "method"), "html", null, true);
     echo ">\n            ";
     // line 61
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["values"]) ? $context["values"] : null);
     foreach ($context['_seq'] as $context["id"] => $context["value"]) {
         // line 62
         echo "\n                ";
         // line 63
         $context["is_array"] = twig_test_iterable($context["value"]) && twig_length_filter($this->env, $context["value"]) > 1;
         // line 64
         echo "                ";
         $context["attr_opt"] = array("value" => $context["id"], "selected" => twig_in_filter($context["id"], isset($context["selection"]) ? $context["selection"] : null) || !(isset($context["onlyids"]) ? $context["onlyids"] : null) && twig_in_filter(isset($context["is_array"]) ? $context["is_array"] : null ? $this->getAttribute($context["value"], 0, array(), "array") : $context["value"], isset($context["selection"]) ? $context["selection"] : null));
         // line 68
         echo "\n                <option";
         // line 69
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["macro"]) ? $context["macro"] : null, "attr", array(0 => isset($context["attr_opt"]) ? $context["attr_opt"] : null), "method"), "html", null, true);
         echo ">";
         echo twig_escape_filter($this->env, isset($context["is_array"]) ? $context["is_array"] : null ? twig_join_filter(twig_slice($this->env, $context["value"], 0, null), " / ") : $context["value"], "html", null, true);
         echo "</option>\n            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['id'], $context['value'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 71
     echo "        </select>\n\n        ";
     // line 73
     if ($this->getAttribute(isset($context["option"]) ? $context["option"] : null, "multiple", array()) && !($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "autocomplete", array(), "any", true, true) ? _twig_default_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "autocomplete", array()), false) : false)) {
         // line 74
         echo "        <div>";
         // line 75
         echo "            <a href=\"#\" class=\"btn btn-default btn-xs\" onclick=\"jQuery('#";
         echo twig_escape_filter($this->env, isset($context["key"]) ? $context["key"] : null, "html", null, true);
         echo " option').prop('selected', true); return false;\">\n                <i class=\"fa fa-fw fa-check-square-o\"></i>";
         // line 76
         echo $this->env->getExtension('Bolt')->trans("Select all");
         echo "\n            </a>\n            <a href=\"#\" class=\"btn btn-default btn-xs\" onclick=\"jQuery('#";
         // line 78
         echo twig_escape_filter($this->env, isset($context["key"]) ? $context["key"] : null, "html", null, true);
         echo " option').prop('selected', false); return false;\">\n                <i class=\"fa fa-fw fa-square-o\"></i>";
         // line 79
         echo $this->env->getExtension('Bolt')->trans("Select none");
         echo "\n            </a>\n        </div>\n        ";
     }
     // line 83
     echo "    </div>\n\n    ";
     // line 85
     if ($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "autocomplete", array(), "any", true, true) ? _twig_default_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "autocomplete", array()), false) : false) {
         // line 86
         echo "    <script>\n        \$(function() {\n            \$('#";
         // line 88
         echo twig_escape_filter($this->env, isset($context["key"]) ? $context["key"] : null, "html", null, true);
         echo "').select2({\n                placeholder: \"";
         // line 89
         echo $this->env->getExtension('Bolt')->trans("(none)");
         echo "\",\n                allowClear: true\n            });\n        });\n    </script>\n    ";
     }
     // line 95
     echo "\n</fieldset>\n";
 }
 public function block_page_content($context, array $blocks = array())
 {
     // line 20
     echo "\n    <div class=\"page-header\">\n        <h1>";
     // line 22
     echo twig_escape_filter($this->env, twig_last($this->env, twig_split_filter($this->env, $this->getAttribute(isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "name", array()), "\\")), "html", null, true);
     echo "</h1>\n        <span class=\"pull-right>Edit ";
     // line 23
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "name", array()), "html", null, true);
     echo "</span>\n    </div>\n\n    <p>";
     // line 26
     $this->displayBlock("class_signature", $context, $blocks);
     echo "</p>\n\n    ";
     // line 28
     if ($this->getAttribute(isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "shortdesc", array()) || $this->getAttribute(isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "longdesc", array())) {
         // line 29
         echo "        <div class=\"description\">\n            ";
         // line 30
         if ($this->getAttribute(isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "shortdesc", array())) {
             // line 31
             echo "<p>";
             echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute(isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "shortdesc", array()), isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"));
             echo "</p>";
         }
         // line 33
         echo "            ";
         if ($this->getAttribute(isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "longdesc", array())) {
             // line 34
             echo "<p>";
             echo $this->env->getExtension('sami')->parseDesc($context, $this->getAttribute(isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "longdesc", array()), isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"));
             echo "</p>";
         }
         // line 36
         echo "        </div>\n    ";
     }
     // line 38
     echo "\n    ";
     // line 39
     if (isset($context["traits"]) ? $context["traits"] : $this->getContext($context, "traits")) {
         // line 40
         echo "        <h2>Traits</h2>\n\n        ";
         // line 42
         echo $context["__internal_7d195477799f982fd3814126484790b95253529c17cb67f66e9c4004134f5530"]->getrender_classes(isset($context["traits"]) ? $context["traits"] : $this->getContext($context, "traits"));
         echo "\n    ";
     }
     // line 44
     echo "\n    ";
     // line 45
     if (isset($context["constants"]) ? $context["constants"] : $this->getContext($context, "constants")) {
         // line 46
         echo "        <h2>Constants</h2>\n\n        ";
         // line 48
         $this->displayBlock("constants", $context, $blocks);
         echo "\n    ";
     }
     // line 50
     echo "\n    ";
     // line 51
     if (isset($context["properties"]) ? $context["properties"] : $this->getContext($context, "properties")) {
         // line 52
         echo "        <h2>Properties</h2>\n\n        ";
         // line 54
         $this->displayBlock("properties", $context, $blocks);
         echo "\n    ";
     }
     // line 56
     echo "\n    ";
     // line 57
     if (isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods")) {
         // line 58
         echo "        <h2>Methods</h2>\n\n        ";
         // line 60
         $this->displayBlock("methods", $context, $blocks);
         echo "\n\n        <h2>Details</h2>\n\n        ";
         // line 64
         $this->displayBlock("methods_details", $context, $blocks);
         echo "\n    ";
     }
     // line 66
     echo "\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset=\"UTF-8\">\n    <title>AGeCo | Fiche ";
     // line 5
     echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "prenom", array())), "html", null, true);
     echo " ";
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "nom", array())), "html", null, true);
     echo "</title>\n    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>\n    <style>\n        span.badge {\n            font-size: 13px;\n        }\n        .table-header-rotated td{\n\n          border-top: 1px solid #dddddd;\n          border-left: 1px solid #dddddd;\n          border-right: 1px solid #dddddd;\n          vertical-align: middle;\n          text-align: center;\n        }\n\n        .table-header-rotated th.rotate-45{\n          height: 80px;\n          position: relative;\n          vertical-align: bottom;\n          padding: 0;\n          font-size: 12px;\n          line-height: 0.8;\n        }\n\n        .table-header-rotated th.rotate-45 > div{\n          position: relative;\n          top: 0px;\n          left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/\n          height: 100%;\n          -ms-transform:skew(-45deg,0deg);\n          -moz-transform:skew(-45deg,0deg);\n          -webkit-transform:skew(-45deg,0deg);\n          -o-transform:skew(-45deg,0deg);\n          transform:skew(-45deg,0deg);\n          overflow: hidden;\n          border-left: 1px solid #dddddd;\n        }\n\n        .table-header-rotated th.rotate-45 span {\n          -ms-transform:skew(45deg,0deg) rotate(315deg);\n          -moz-transform:skew(45deg,0deg) rotate(315deg);\n          -webkit-transform:skew(45deg,0deg) rotate(315deg);\n          -o-transform:skew(45deg,0deg) rotate(315deg);\n          transform:skew(45deg,0deg) rotate(315deg);\n          position: absolute;\n          bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/\n          left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/\n          // width: 100%;\n          width: 85px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/\n          text-align: left;\n          // white-space: nowrap; /*whether to display in one line or not*/\n        }\n        .tp{\n            width: 80px;\n        }\n    </style>\n  </head>\n  <body class=\"skin-blue\">\n    <div class=\"wrapper\">\n      \n      ";
     // line 65
     echo $this->env->getExtension('http_kernel')->renderFragment($this->env->getExtension('http_kernel')->controller("OCAgentBundle:Default:menu"));
     echo "\n      <!-- Right side column. Contains the navbar and content of the page -->\n      <div class=\"content-wrapper\">\n        <!-- Content Header (Page header) -->\n        <section class=\"content-header \">\n          <h1>\n            Fiche Agent -  ";
     // line 71
     echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "prenom", array())), "html", null, true);
     echo " ";
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "nom", array())), "html", null, true);
     echo "\n            <small>\n                ";
     // line 73
     if (twig_date_format_filter($this->env, "now", "Ymd") < twig_date_format_filter($this->env, twig_date_converter($this->env, twig_date_format_filter($this->env, "now", "Y") . "0831"), "Ymd")) {
         // line 74
         echo "                   01/09/";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y") - 1, "html", null, true);
         echo " - 31/08/";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
         echo "\n                ";
     } else {
         // line 76
         echo "                    01/09/";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
         echo " - 31/08/";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y") + 1, "html", null, true);
         echo "\n                ";
     }
     // line 78
     echo "            </small>\n            <div class=\"badge hidden-print\" ><a href=\"javascript:window.print()\"><i style=\"color:white\"class=\"fa fa-print\"></i></a></div>\n          </h1>\n          <ol class=\"breadcrumb hidden-print\">\n            <li><a href=\"#\"><i class=\"fa fa-dashboard\"></i> Home</a></li>\n            <li class=\"active\">Fiche agent</li>\n            <li class=\"active\">";
     // line 84
     echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "prenom", array())), "html", null, true);
     echo " ";
     echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "nom", array())), "html", null, true);
     echo "</li>\n          </ol>\n        </section>\n        ";
     // line 87
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "session", array()), "flashbag", array()), "get", array(0 => "notice"), "method"));
     foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
         if ($this->getAttribute($context["flashMessage"], "alert", array(), "any", true, true)) {
             // line 88
             echo "                <br>\n                <div class=\"alert alert-";
             // line 89
             echo twig_escape_filter($this->env, $this->getAttribute($context["flashMessage"], "alert", array()), "html", null, true);
             echo " alert-dismissible col-md-8\" role=\"alert\">\n                    <button type=\"button\" class=\"close\" data-dismiss=\"alert\">\n                        <span aria-hidden=\"true\">&times;</span><span class=\"sr-only\">Close</span>\n                    </button>\n                    <strong>";
             // line 93
             echo twig_escape_filter($this->env, $this->getAttribute($context["flashMessage"], "title", array()), "html", null, true);
             echo "</strong> ";
             echo twig_escape_filter($this->env, $this->getAttribute($context["flashMessage"], "message", array()), "html", null, true);
             echo "\n                </div>\n        ";
         }
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 96
     echo "        <!-- Main content -->\n        <section class=\"content\">\n          <div class=\"row\">\n            <div class=\"col-md-8\" style=\"min-width: 850px\">\n               \n                <div class=\"row\">\n                 <div class=\"col-xs-6\">\n               <div class=\"box\">\n                <div class=\"box-body no-padding\">\n                  <table class=\"table table-condensed table-hover \" >\n                    <tr>\n                      <th style=\"width: 10px\">#</th>\n                      <th>D&eacute;signation</th>\n                      <th style=\"width: 35%\" class=\"text-right\">Quantit&eacute;</th>\n                    </tr>\n                    <tr>\n                      <td>1.</td>\n                      <td>Horaire Hebdomadaire</td>\n                      <td><span class=\"badge bg-red pull-right\">";
     // line 114
     echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "VolHoraireHebdo", array()), "html", null, true);
     echo "</span></td>\n                    </tr>\n                    <tr>\n                      <td>2.</td>\n                      <td>Quotit&eacute; de travail</td>\n                      <td><span class=\"badge bg-yellow pull-right\">";
     // line 119
     echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "QuotiteTravail", array()), "html", null, true);
     echo " %</span></td>\n                    </tr>\n                    <tr>\n                      <td>3.</td>\n                      <td>Nombre de cong&eacute; annuel restant </td>\n                      <td><span class=\"badge bg-light-blue pull-right\">";
     // line 124
     echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "JoursRestant", array()), "html", null, true);
     echo " j</span></td>\n                    </tr>\n                    <tr>\n                      <td>4.</td>\n                      <td>Reliquat <small>(A prendre avant le 31 d&eacute;cembre \n                              ";
     // line 129
     if (twig_date_format_filter($this->env, "now", "d/m/Y") < twig_date_format_filter($this->env, "31-08-" . twig_date_format_filter($this->env, "now", "Y"), "d/m/Y")) {
         // line 130
         echo "                                    ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
         echo "\n                              ";
     } else {
         // line 132
         echo "                                    ";
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y") + 1, "html", null, true);
         echo "\n                              ";
     }
     // line 133
     echo ")</small></td>\n                      <td><span class=\"badge bg-green pull-right\">";
     // line 134
     echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "ReliquatRestant", array()), "html", null, true);
     echo " j</span></td>\n                    </tr>\n                    <tr>\n                      <td>5.</td>\n                      <td>Heures suppl&eacute;mentaires <small>(A r&eacute;cup&eacute;rer en &frac12 journ&eacute;es )</small></td>\n                      <td><span class=\"badge bg-orange pull-right\">";
     // line 139
     echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "heuresSup", array()), "html", null, true);
     echo "</span></td>\n                    </tr>\n                    <tr>\n                      <td>6.</td>\n                      <td>Heures de fractionnement </td>\n                      ";
     // line 144
     $context["hfrac"] = twig_split_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "heureFractionnement", array()), ".");
     // line 145
     echo "                      <td><span class=\"badge bg-aqua-gradient pull-right\">";
     if ($this->getAttribute($this->getContext($context, "hfrac", true), 0, array(), "any", true, true)) {
         echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "hfrac"), 0, array()), "html", null, true);
         echo "h";
     }
     if ($this->getAttribute($this->getContext($context, "hfrac", true), 1, array(), "any", true, true)) {
         echo twig_escape_filter($this->env, twig_round($this->getAttribute($this->getContext($context, "hfrac"), 1, array()) * 0.6), "html", null, true);
         echo "0";
     }
     echo "</span></td>\n                    </tr>\n                    <tr>\n                      <td>7.</td>\n                      <td>Chef de service</td>\n                      <td><span class=\"pull-right\">";
     // line 150
     echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "agent"), "Service", array()), "ChefdeService", array()), "NomCanonique", array()), "html", null, true);
     echo "</span></td>\n                    </tr>\n                    \n                    ";
     // line 153
     if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
         // line 154
         echo "                        <tr class=\"hidden-print\">\n                            <td colspan=\"3\"><a href=\"";
         // line 155
         echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("oc_agent_update_fiche_agent", array("id" => $this->getAttribute($this->getContext($context, "agent"), "id", array()))), "html", null, true);
         echo "\">Mettre &agrave; jour la fiche agent</a></td>\n                        </tr>\n                    ";
     }
     // line 158
     echo "                  </table>\n                </div><!-- /.box-body -->\n              </div><!-- /.box -->\n               </div><!-- column 1 of the box -->\n              \n              <div class=\"col-xs-6\">\n               <div class=\"box\">\n                <div class=\"box-body\">\n                    <table class=\"table table-striped table-header-rotated TP\" style=\"max-width: 500px\">\n                        <thead>\n                          <tr>\n                            <!-- First column header is not rotated -->\n                            <th></th>\n                            <!-- Following headers are rotated -->\n                            <th class=\"rotate-45\"><div><span>Lundi</span></div></th>\n                            <th class=\"rotate-45\"><div><span>Mardi</span></div></th>\n                            <th class=\"rotate-45\"><div><span>Mercredi</span></div></th>\n                            <th class=\"rotate-45\"><div><span>Jeudi</span></div></th>\n                            <th class=\"rotate-45\"><div><span>Vendredi</span></div></th>\n                          </tr>\n                        </thead>\n                        <tbody>\n                          <tr>\n                            <th>AM</th>\n                            <td class=\"tp\" id=\"matin-Monday\"></td>\n                            <td class=\"tp\" id=\"matin-Tuesday\"></td>\n                            <td class=\"tp\" id=\"matin-Wednesday\"></td>\n                            <td class=\"tp\" id=\"matin-Thursday\"></td>\n                            <td class=\"tp\" id=\"matin-Friday\"></td>\n\n                          </tr> \n                          <tr> \n                            <th>PM</th> \n                            <td class=\"tp\" id=\"aprem-Monday\"></td>\n                            <td class=\"tp\" id=\"aprem-Tuesday\"></td>\n                            <td class=\"tp\" id=\"aprem-Wednesday\"></td>\n                            <td class=\"tp\" id=\"aprem-Thursday\"></td>\n                            <td class=\"tp\" id=\"aprem-Friday\"></td>\n                          </tr>\n                        </tbody>\n                      </table>\n                    ";
     // line 199
     if ($this->getAttribute($this->getContext($context, "agent"), "QuotiteTravail", array()) == 100) {
         // line 200
         echo "                        <br><small class=\"pull-right\"> T : travaill&eacute; &nbsp;&nbsp;&nbsp;&nbsp; ARTT :  Am&eacute;nagement R&eacute;duction du Temps de Travail</small><br>\n                    ";
     } else {
         // line 202
         echo "                        <br><small class=\"pull-right\"> T : travaill&eacute; &nbsp;&nbsp;&nbsp;&nbsp; TP : temps partiels</small><br>\n                    ";
     }
     // line 204
     echo "                    \n                    \n                </div><!-- /.box-body -->\n               </div><!-- /.box -->\n              </div>\n              </div>\n               <div class=\"box\">\n                    <div class=\"box-body no-padding\">\n                        <table class=\"table table-condensed  table-hover sortable\" id=\"data\">\n                            <thead>\n                            <tr>\n                                <td class=\"text-center text-bold\" colspan=\"9\">ABSENCES ANNUELLES</td>\n                            </tr>\n                            <tr>\n                              <th><span class=\"text-bold\">#</span></th>\n                              <th>Date de d&eacute;but</th>\n                              <th>Date de fin</th>\n                              <th data-tsorter=\"numeric\">Nombre de jours</th>\n                              <th>Type d'absence</th>\n                              <th>Demand&eacute;e le</th>\n                              <th>Accept&eacute;e le</th>\n                              <th>Solde <abbr class=\"hidden-print\" title=\"Solde des congés validés\">*</abbr></th>\n                              ";
     // line 226
     if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
         // line 227
         echo "                                <th class='hidden-print'>Action</th>\n                              ";
     }
     // line 229
     echo "                            </tr>\n                            </thead>\n                            <tr >\n                                <td class=\"active\"></td>\n                                <td class=\"active\"></td>\n                                <td class=\"active\"></td>\n                                <td class=\"active\"></td>\n                                <td class=\"active\"></td>\n                                <td class=\"active\"></td>\n                                <td class=\"active\"></td>\n                                <td id=\"ABS_ANN_SoldeSansCongeValide_0\">";
     // line 239
     echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "NbJourCongeAnnuel", array()), "html", null, true);
     echo "</td>\n                                ";
     // line 240
     if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
         // line 241
         echo "                                    <td class=\"active\"></td>\n                                ";
     }
     // line 243
     echo "                            <tr>\n                          ";
     // line 245
     echo "                          ";
     $context["nbjourtotalAN"] = 0;
     // line 246
     echo "                          ";
     $context["soldeTemp"] = $this->getAttribute($this->getContext($context, "agent"), "NbJourCongeAnnuel", array());
     // line 247
     echo "                          \n                          ";
     // line 248
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getContext($context, "absences"));
     $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
     if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
         $length = count($context['_seq']);
         $context['loop']['revindex0'] = $length - 1;
         $context['loop']['revindex'] = $length;
         $context['loop']['length'] = $length;
         $context['loop']['last'] = 1 === $length;
     }
     foreach ($context['_seq'] as $context["_key"] => $context["absence"]) {
         // line 249
         echo "                            <tr id =\"";
         echo twig_escape_filter($this->env, $this->getAttribute($context["absence"], "id", array()), "html", null, true);
         echo "\">\n                              <td><span class=\"text-bold\">";
         // line 250
         echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index", array()), "html", null, true);
         echo ".</span></td>\n                              <td>";
         // line 251
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "debut", array()), "d-m-Y"), "html", null, true);
         echo "</td>\n                              <td>";
         // line 252
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "fin", array()), "d-m-Y"), "html", null, true);
         echo "</td>\n                              <td>";
         // line 253
         if (twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") != twig_date_format_filter($this->env, "2000-01-01", "d-m-Y") && twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") != twig_date_format_filter($this->env, "0000-00-00", "d-m-Y") && ($this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "id", array()) == 2 || $this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "id", array()) == 5) && $this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "id", array()) != 9 && twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") != twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) {
             // line 258
             echo "                                     ";
             $context["nbjourtotalAN"] = $this->getContext($context, "nbjourtotalAN") + $this->getAttribute($context["absence"], "nbjournee", array());
             echo "        ";
             echo "            \n                                  ";
         }
         // line 260
         echo "                                                                     ";
         echo twig_escape_filter($this->env, $this->getAttribute($context["absence"], "nbjournee", array()), "html", null, true);
         echo "\n   \n                              </td>\n                              <td>";
         // line 263
         echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "name", array()), "html", null, true);
         echo "</td>\n                              <td>";
         // line 264
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "DemandeLe", array()), "d-m-Y"), "html", null, true);
         echo "</td>\n                              <td>  ";
         // line 265
         if (twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) {
             // line 266
             echo "                                           En cours de traitement\n                                    ";
         } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "2000-01-01", "d-m-Y")) {
             // line 268
             echo "                                           Refus&eacute;\n                                    ";
         } elseif (null === $this->getAttribute($context["absence"], "Accepted", array())) {
             // line 270
             echo "                                           Envoy&eacute;\n                                    ";
         } else {
             // line 272
             echo "                                       ";
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y"), "html", null, true);
             echo "\n                                    ";
         }
         // line 274
         echo "                              </td>\n                              <td >\n                                  ";
         // line 276
         if (twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") != twig_date_format_filter($this->env, "2000-01-01", "d-m-Y") && twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") != twig_date_format_filter($this->env, "0000-00-00", "d-m-Y") && ($this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "id", array()) == 2 || $this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "id", array()) == 5 || $this->getAttribute($this->getAttribute($context["absence"], "Category", array()), "id", array()) == 9) && twig_date_format_filter($this->env, $this->getAttribute($context["absence"], "Accepted", array()), "d-m-Y") != twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) {
             // line 280
             echo "                                    ";
             $context["soldeTemp"] = $this->getContext($context, "soldeTemp") - $this->getAttribute($context["absence"], "nbjournee", array());
             echo " ";
             echo twig_escape_filter($this->env, $this->getContext($context, "soldeTemp"), "html", null, true);
             echo "\n                                  ";
         }
         // line 282
         echo "                              </td>\n                              ";
         // line 283
         if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
             // line 284
             echo "                              <td class='hidden-print' >\n                                  <a type=\"button\" class=\"btn btn-danger btn-xs\" data-id='";
             // line 285
             echo twig_escape_filter($this->env, $this->getAttribute($context["absence"], "id", array()), "html", null, true);
             echo "' data-toggle=\"modal\" data-target=\"#exampleModal\" >\n                                    <i class=\"fa fa-times\"></i>\n                                  </a>\n                              </td>\n                              ";
         }
         // line 290
         echo "                            ";
         if ($this->getAttribute($context["loop"], "last", array())) {
             // line 291
             echo "                                <tfoot>\n                                    <tr >\n                                        <th >Total</th>\n                                        <th ></th>\n                                        <th ></th>\n                                        <th >";
             // line 296
             echo twig_escape_filter($this->env, $this->getContext($context, "nbjourtotalAN"), "html", null, true);
             echo "</th>\n                                        <th ></th>\n                                        <th ></th>\n                                        <th ></th>\n                                        <th >";
             // line 300
             echo twig_escape_filter($this->env, $this->getContext($context, "soldeTemp"), "html", null, true);
             echo "</th>\n                                    </tr>        \n                                </tfoot>        \n                            ";
         }
         // line 304
         echo "                          ";
         ++$context['loop']['index0'];
         ++$context['loop']['index'];
         $context['loop']['first'] = false;
         if (isset($context['loop']['length'])) {
             --$context['loop']['revindex0'];
             --$context['loop']['revindex'];
             $context['loop']['last'] = 0 === $context['loop']['revindex0'];
         }
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['absence'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 305
     echo "                      </table>\n                    </div>\n                </div>\n          ";
     // line 308
     if (twig_length_filter($this->env, $this->getContext($context, "reliquats")) != 0) {
         // line 309
         echo "               <div class=\"box\">\n                    <div class=\"box-body no-padding\">\n                        <table class=\"table table-condensed table-hover\">\n                        <tr>\n                            <td class=\"text-center \" colspan=\"9\"><span class=\"text-bold\">RELIQUATS</span><br>\n                                <small>\n                                   ( A prendre avant le 31 d&eacute;cembre ";
         // line 315
         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
         echo " )\n                                </small>\n                        </tr>\n                        <tr>\n                          <th>#</th>\n                          <th>Date de d&eacute;but</th>\n                          <th>Date de Fin</th>\n                          <th>Demand&eacute;e le</th>\n                          <th>Accept&eacute;e le</th>\n                          <th>Nombre de jours</th>\n                          <th>Solde</th>\n                          ";
         // line 326
         if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
             // line 327
             echo "                            <th class='hidden-print'>Action</th>\n                          ";
         }
         // line 329
         echo "                        </tr>\n                        <tr>\n                            <td class=\"active\"></td>\n                            <td class=\"active\"></td>\n                            <td class=\"active\"></td>\n                            <td class=\"active\"></td>\n                            <td class=\"active\"></td>\n                            <td class=\"active\"></td>\n                            <td>";
         // line 337
         echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "agent"), "Reliquat", array()), "html", null, true);
         echo "\n                            </td>\n                        <tr>\n                          ";
         // line 341
         echo "                          ";
         $context["nbjourTotalReli"] = 0;
         // line 342
         echo "                          ";
         $context["SoldeTempReli"] = $this->getAttribute($this->getContext($context, "agent"), "Reliquat", array());
         // line 343
         echo "                          \n                          ";
         // line 344
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable($this->getContext($context, "reliquats"));
         $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
         if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
             $length = count($context['_seq']);
             $context['loop']['revindex0'] = $length - 1;
             $context['loop']['revindex'] = $length;
             $context['loop']['length'] = $length;
             $context['loop']['last'] = 1 === $length;
         }
         foreach ($context['_seq'] as $context["_key"] => $context["reliquat"]) {
             // line 345
             echo "                              \n                          ";
             // line 346
             $context["nbjourTotalReli"] = $this->getContext($context, "nbjourTotalReli") + $this->getAttribute($context["reliquat"], "nbjournee", array());
             // line 347
             echo "                          ";
             $context["SoldeTempReli"] = $this->getContext($context, "SoldeTempReli") - $this->getAttribute($context["reliquat"], "nbjournee", array());
             // line 348
             echo "                        <tr id =\"";
             echo twig_escape_filter($this->env, $this->getAttribute($context["reliquat"], "id", array()), "html", null, true);
             echo "\">\n                          <td><span class=\"text-bold\">";
             // line 349
             echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index", array()), "html", null, true);
             echo ".</span></td>\n                          <td>";
             // line 350
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["reliquat"], "debut", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                          <td>";
             // line 351
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["reliquat"], "fin", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                          <td>";
             // line 352
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["reliquat"], "DemandeLe", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                          <td>  ";
             // line 353
             if (twig_date_format_filter($this->env, $this->getAttribute($context["reliquat"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) {
                 // line 354
                 echo "                                        En cours de traitement\n                                ";
             } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["reliquat"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "2000-01-01", "d-m-Y")) {
                 // line 356
                 echo "                                       Refus&eacute;\n                                ";
             } elseif (null === $this->getAttribute($context["reliquat"], "Accepted", array())) {
                 // line 358
                 echo "                                       Envoy&eacute;\n                                ";
             } else {
                 // line 360
                 echo "                                   ";
                 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["reliquat"], "Accepted", array()), "d-m-Y"), "html", null, true);
                 echo "\n                                ";
             }
             // line 362
             echo "                          </td>\n                          <td class=\"demiJ2\">";
             // line 363
             echo twig_escape_filter($this->env, $this->getAttribute($context["reliquat"], "nbjournee", array()), "html", null, true);
             echo "</td>\n                          <td>";
             // line 364
             echo twig_escape_filter($this->env, $this->getContext($context, "SoldeTempReli"), "html", null, true);
             echo "</td>\n                          ";
             // line 365
             if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
                 // line 366
                 echo "                              <td class='hidden-print'>\n                                  <a type=\"button\" class=\"btn btn-danger btn-xs\" data-id='";
                 // line 367
                 echo twig_escape_filter($this->env, $this->getAttribute($context["reliquat"], "id", array()), "html", null, true);
                 echo "' data-toggle=\"modal\" data-target=\"#exampleModal\" >\n                                    <i class=\"fa fa-times\"></i>\n                                  </a>\n                              </td>\n                          ";
             }
             // line 372
             echo "                        </tr>\n                        ";
             // line 373
             if ($this->getAttribute($context["loop"], "last", array())) {
                 // line 374
                 echo "                    <tfoot>\n                        <tr class=\"\">\n                            <th colspan=\"5\">Total</th>\n                            <th >";
                 // line 377
                 echo twig_escape_filter($this->env, $this->getContext($context, "nbjourTotalReli"), "html", null, true);
                 echo "</th>\n                            <th >";
                 // line 378
                 echo twig_escape_filter($this->env, $this->getContext($context, "SoldeTempReli"), "html", null, true);
                 echo "</th>\n                        </tr>        \n                    </tfoot>        \n                        ";
             }
             // line 382
             echo "                          ";
             ++$context['loop']['index0'];
             ++$context['loop']['index'];
             $context['loop']['first'] = false;
             if (isset($context['loop']['length'])) {
                 --$context['loop']['revindex0'];
                 --$context['loop']['revindex'];
                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
             }
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['reliquat'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 383
         echo "                      </table>\n                    </div>\n                </div>\n          ";
     }
     // line 387
     echo "          ";
     if (twig_length_filter($this->env, $this->getContext($context, "MissForm")) != 0) {
         // line 388
         echo "               <div class=\"box\">\n                    <div class=\"box-body no-padding\">\n                        <table class=\"table table-condensed table-hover\">\n                        <tr>\n                            <td class=\"text-center text-bold\" colspan=\"9\">FORMATION - MISSION</td>\n                        </tr>\n                        <tr >\n                          <th>#</th>\n                          <th>Date de d&eacute;but</th>\n                          <th>Date de Fin</th>\n                          <th>Type d'absence</th>\n                          <th>Demand&eacute;e le</th>\n                          <th>Nombre de jours</th>\n                          ";
         // line 401
         if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
             // line 402
             echo "                            <th class='hidden-print'>Action</th>\n                          ";
         }
         // line 404
         echo "                        </tr>\n                          ";
         // line 406
         echo "                          ";
         $context["nbjourTotalMissForm"] = 0;
         echo " \n                          \n                          ";
         // line 408
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable($context["MissForm"]);
         $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
         if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
             $length = count($context['_seq']);
             $context['loop']['revindex0'] = $length - 1;
             $context['loop']['revindex'] = $length;
             $context['loop']['length'] = $length;
             $context['loop']['last'] = 1 === $length;
         }
         foreach ($context['_seq'] as $context["_key"] => $context["MissForm"]) {
             // line 409
             echo "                          ";
             $context["nbjourTotalMissForm"] = $this->getContext($context, "nbjourTotalMissForm") + $this->getAttribute($context["MissForm"], "nbjournee", array());
             // line 410
             echo "                        <tr id =\"";
             echo twig_escape_filter($this->env, $this->getAttribute($context["MissForm"], "id", array()), "html", null, true);
             echo "\">\n                          <td><span class=\"text-bold\">";
             // line 411
             echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index", array()), "html", null, true);
             echo ".</span></td>\n                          <td>";
             // line 412
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["MissForm"], "debut", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                          <td>";
             // line 413
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["MissForm"], "fin", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                          <td>";
             // line 414
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["MissForm"], "Category", array()), "name", array()), "html", null, true);
             echo "</td>\n                          <td>";
             // line 415
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["MissForm"], "DemandeLe", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                          <td class=\"demiJ2\">";
             // line 416
             echo twig_escape_filter($this->env, $this->getAttribute($context["MissForm"], "nbjournee", array()), "html", null, true);
             echo "</td>\n                          ";
             // line 417
             if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
                 // line 418
                 echo "                              <td >\n                                  <a type=\"button\" class=\"btn btn-danger btn-xs\" data-id='";
                 // line 419
                 echo twig_escape_filter($this->env, $this->getAttribute($context["MissForm"], "id", array()), "html", null, true);
                 echo "' data-toggle=\"modal\" data-target=\"#exampleModal\" >\n                                    <i class=\"fa fa-times\"></i>\n                                  </a>\n                              </td>\n                          ";
             }
             // line 424
             echo "                        </tr>\n                        ";
             // line 425
             if ($this->getAttribute($context["loop"], "last", array())) {
                 // line 426
                 echo "                    <tfoot>\n                        <tr class=\"\">\n                            <th colspan=\"5\">Total</th>\n                            <th>";
                 // line 429
                 echo twig_escape_filter($this->env, $this->getContext($context, "nbjourTotalMissForm"), "html", null, true);
                 echo "</th>\n                        </tr>        \n                    </tfoot>        \n                        ";
             }
             // line 433
             echo "                          ";
             ++$context['loop']['index0'];
             ++$context['loop']['index'];
             $context['loop']['first'] = false;
             if (isset($context['loop']['length'])) {
                 --$context['loop']['revindex0'];
                 --$context['loop']['revindex'];
                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
             }
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['MissForm'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 434
         echo "                      </table>\n                    </div>\n                </div>\n          ";
     }
     // line 438
     echo "          ";
     if (twig_length_filter($this->env, $this->getContext($context, "tabASA")) != 0) {
         // line 439
         echo "                <div class=\"box\">\n                    <div class=\"box-body no-padding\">\n                      <table class=\"table table-condensed table-hover\" id=\"table_asa\">\n                        <tr>\n                            <td class=\"text-center text-bold\" colspan=\"9\">Autorisation Sp&eacute;ciale d'Absence<br>\n                                <small id=\"annee_asa\">Ann&eacute;e universitaire</small>\n                            </td>\n                        </tr>\n                        <tr>\n                          <th>#</th>\n                          <th>Date de d&eacute;but</th>\n                          <th>Date de Fin</th>\n                          <th>Nombre de jours</th>\n                          <th>Demand&eacute;e le</th>\n                          <th>Accept&eacute;e le</th>\n                          <th>Commentaire</th>\n                          ";
         // line 455
         if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
             // line 456
             echo "                            <th class='hidden-print' >Action</th>\n                          ";
         }
         // line 458
         echo "                        </tr>\n                          ";
         // line 460
         echo "                          ";
         $context["nbjourTotalASA"] = 0;
         echo " \n                          \n                          ";
         // line 462
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable($this->getContext($context, "tabASA"));
         $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
         if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
             $length = count($context['_seq']);
             $context['loop']['revindex0'] = $length - 1;
             $context['loop']['revindex'] = $length;
             $context['loop']['length'] = $length;
             $context['loop']['last'] = 1 === $length;
         }
         foreach ($context['_seq'] as $context["_key"] => $context["ASA"]) {
             // line 463
             echo "                          ";
             $context["nbjourTotalASA"] = $this->getContext($context, "nbjourTotalASA") + $this->getAttribute($context["ASA"], "nbjournee", array());
             // line 464
             echo "                        <tr id =\"";
             echo twig_escape_filter($this->env, $this->getAttribute($context["ASA"], "id", array()), "html", null, true);
             echo "\"  class=\"tr_asa\">\n                          <td><span class=\"text-bold\">";
             // line 465
             echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index", array()), "html", null, true);
             echo ".</span></td>\n                          <td>";
             // line 466
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["ASA"], "debut", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                          <td>";
             // line 467
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["ASA"], "fin", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                           <td class=\"demiJ2\">";
             // line 468
             echo twig_escape_filter($this->env, $this->getAttribute($context["ASA"], "nbjournee", array()), "html", null, true);
             echo "</td>\n                          <td>";
             // line 469
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["ASA"], "DemandeLe", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                          <td>";
             // line 470
             if (twig_date_format_filter($this->env, $this->getAttribute($context["ASA"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) {
                 // line 471
                 echo "                                        En cours de traitement\n                                ";
             } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["ASA"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "2000-01-01", "d-m-Y")) {
                 // line 473
                 echo "                                       Refus&eacute;\n                                ";
             } elseif (null === $this->getAttribute($context["ASA"], "Accepted", array())) {
                 // line 475
                 echo "                                       Envoy&eacute;\n                                ";
             } else {
                 // line 477
                 echo "                                   ";
                 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["ASA"], "Accepted", array()), "d-m-Y"), "html", null, true);
                 echo "\n                                ";
             }
             // line 479
             echo "                          </td>\n                          <td>";
             // line 480
             echo twig_escape_filter($this->env, $this->getAttribute($context["ASA"], "commentaire", array()), "html", null, true);
             echo "</td>\n                          ";
             // line 481
             if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
                 // line 482
                 echo "                              <td class='hidden-print'>\n                                  <a type=\"button\" class=\"btn btn-danger btn-xs\" data-id='";
                 // line 483
                 echo twig_escape_filter($this->env, $this->getAttribute($context["ASA"], "id", array()), "html", null, true);
                 echo "' data-toggle=\"modal\" data-target=\"#exampleModal\" >\n                                    <i class=\"fa fa-times\"></i>\n                                  </a>\n                              </td>\n                          ";
             }
             // line 488
             echo "                        </tr>\n                        ";
             // line 489
             if ($this->getAttribute($context["loop"], "last", array())) {
                 // line 490
                 echo "                        <tfoot>\n                            <tr class=\"\">\n                                <th colspan=\"3\">Total</th>\n                                <th>";
                 // line 493
                 echo twig_escape_filter($this->env, $this->getContext($context, "nbjourTotalASA"), "html", null, true);
                 echo "</th>\n                                <th colspan=\"3\"></th>\n                                <th>\n                                    <input id=\"toggle-event\"\n                                           checked  type=\"checkbox\" data-toggle=\"toggle\"\n                                           data-width=\"100\" data-height=\"10\"\n                                           data-on=\"universitaire\" data-off=\"civile\"\n                                           data-onstyle=\"warning\" data-offstyle=\"info\"><br>\n                                </th>\n                            </tr>        \n                        </tfoot>        \n                        ";
             }
             // line 505
             echo "                          ";
             ++$context['loop']['index0'];
             ++$context['loop']['index'];
             $context['loop']['first'] = false;
             if (isset($context['loop']['length'])) {
                 --$context['loop']['revindex0'];
                 --$context['loop']['revindex'];
                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
             }
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ASA'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 506
         echo "                      </table>\n                    </div>\n                </div>\n          ";
     }
     // line 510
     echo "          ";
     if (twig_length_filter($this->env, $this->getContext($context, "tabHSF")) != 0) {
         // line 511
         echo "                <div class=\"box\">\n                    <div class=\"box-body no-padding\">\n                      <table class=\"table table-condensed table-hover\" id=\"table_asa\">\n                        <tr>\n                            <td class=\"text-center text-bold\" colspan=\"9\">R&eacute;cup&eacute;ration d'heure suppl&eacute;mentaire et heure de fractionnement</td>\n                        </tr>\n                        <tr>\n                          <th>#</th>\n                          <th>Date</th>\n                          <th>Type de r&eacute;cup&eacute;ration</th>\n                          <th>Nombre d'heures</th>\n                          <th>Demand&eacute;e le</th>\n                          <th>Accept&eacute;e le</th>\n                          ";
         // line 524
         if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
             // line 525
             echo "                            <th class='hidden-print'>Action</th>\n                          ";
         }
         // line 527
         echo "                        </tr>\n                          ";
         // line 528
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable($this->getContext($context, "tabHSF"));
         $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
         if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
             $length = count($context['_seq']);
             $context['loop']['revindex0'] = $length - 1;
             $context['loop']['revindex'] = $length;
             $context['loop']['length'] = $length;
             $context['loop']['last'] = 1 === $length;
         }
         foreach ($context['_seq'] as $context["_key"] => $context["HSF"]) {
             // line 529
             echo "                          \n                        <tr id =\"";
             // line 530
             echo twig_escape_filter($this->env, $this->getAttribute($context["HSF"], "id", array()), "html", null, true);
             echo "\">\n                          <td><span class=\"text-bold\">";
             // line 531
             echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index", array()), "html", null, true);
             echo ".</span></td>\n                          <td>";
             // line 532
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "date", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                          <td>";
             // line 533
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["HSF"], "Category", array()), "categoryName", array()), "html", null, true);
             echo "</td>\n                          ";
             // line 534
             $context["nbh"] = twig_split_filter($this->env, $this->getAttribute($context["HSF"], "nbheure", array()), ".");
             // line 535
             echo "                          <td class=\"demiJ2\">";
             if ($this->getAttribute($this->getContext($context, "nbh", true), 0, array(), "any", true, true)) {
                 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "nbh"), 0, array()), "html", null, true);
             }
             if ($this->getAttribute($this->getContext($context, "nbh", true), 1, array(), "any", true, true)) {
                 echo "h";
                 echo twig_escape_filter($this->env, twig_round($this->getAttribute(twig_split_filter($this->env, $this->getAttribute($this->getContext($context, "nbh"), 1, array()), "", 1), 0, array()) * 0.6), "html", null, true);
                 echo "0";
             }
             echo "</span></td>\n                          <td>";
             // line 536
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "DemandeLe", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                          <td>";
             // line 537
             if (twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) {
                 // line 538
                 echo "                                           En cours de traitement\n                                    ";
             } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "2000-01-01", "d-m-Y")) {
                 // line 540
                 echo "                                           Refus&eacute;\n                                    ";
             } elseif (null === $this->getAttribute($context["HSF"], "Accepted", array())) {
                 // line 542
                 echo "                                           Envoy&eacute;\n                                    ";
             } else {
                 // line 544
                 echo "                                       ";
                 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["HSF"], "Accepted", array()), "d-m-Y"), "html", null, true);
                 echo "\n                                    ";
             }
             // line 546
             echo "                          </td>\n                          ";
             // line 547
             if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
                 // line 548
                 echo "                              <td class='hidden-print'>\n                                  <a type=\"button\" class=\"btn btn-danger btn-xs\" data-id-hsf='";
                 // line 549
                 echo twig_escape_filter($this->env, $this->getAttribute($context["HSF"], "id", array()), "html", null, true);
                 echo "' data-toggle=\"modal\" data-target=\"#exampleModal\" >\n                                        <i class=\"fa fa-times\"></i>\n                                  </a>\n                              </td>\n                          ";
             }
             // line 554
             echo "                        </tr>\n                        ";
             // line 555
             if ($this->getAttribute($context["loop"], "last", array())) {
                 // line 556
                 echo "                        <tfoot>\n                            <tr class=\"\">\n                                <th colspan=\"3\">Total</th>\n                                <th></th>\n                            </tr>        \n                        </tfoot>        \n                        ";
             }
             // line 563
             echo "                          ";
             ++$context['loop']['index0'];
             ++$context['loop']['index'];
             $context['loop']['first'] = false;
             if (isset($context['loop']['length'])) {
                 --$context['loop']['revindex0'];
                 --$context['loop']['revindex'];
                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
             }
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['HSF'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 564
         echo "                      </table>\n                    </div>\n                </div>\n          ";
     }
     // line 568
     echo "          ";
     if (twig_length_filter($this->env, $this->getContext($context, "autres")) != 0) {
         // line 569
         echo "                <div class=\"box\">\n                    <div class=\"box-body no-padding\">\n                      <table class=\"table table-condensed table-hover\">\n                        <tr>\n                            <td class=\"text-center text-bold\" colspan=\"9\">Autre</td>\n                        </tr>\n                        <tr>\n                          <th>#</th>\n                          <th>D&eacute;but</th>\n                          <th>fin</th>\n                          <th>Type d'absence</th>\n                          <th>Nombre de jours</th>\n                          <th>Demand&eacute;e le</th>\n                          <th>Accept&eacute;e le</th>\n                          ";
         // line 583
         if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
             // line 584
             echo "                            <th class='hidden-print'>Action</th>\n                          ";
         }
         // line 586
         echo "                        </tr>\n                          ";
         // line 587
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable($this->getContext($context, "autres"));
         $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
         if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
             $length = count($context['_seq']);
             $context['loop']['revindex0'] = $length - 1;
             $context['loop']['revindex'] = $length;
             $context['loop']['length'] = $length;
             $context['loop']['last'] = 1 === $length;
         }
         foreach ($context['_seq'] as $context["_key"] => $context["autre"]) {
             // line 588
             echo "                          \n                        <tr id =\"";
             // line 589
             echo twig_escape_filter($this->env, $this->getAttribute($context["autre"], "id", array()), "html", null, true);
             echo "\">\n                          <td><span class=\"text-bold\">";
             // line 590
             echo twig_escape_filter($this->env, $this->getAttribute($context["loop"], "index", array()), "html", null, true);
             echo ".</span></td>\n                          <td>";
             // line 591
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["autre"], "debut", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                          <td>";
             // line 592
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["autre"], "fin", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                          <td>";
             // line 593
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["autre"], "Category", array()), "categoryName", array()), "html", null, true);
             echo "</td>\n                          ";
             // line 594
             $context["nbh"] = twig_split_filter($this->env, $this->getAttribute($context["autre"], "nbjournee", array()), ".");
             // line 595
             echo "                          <td class=\"demiJ2\">";
             if ($this->getAttribute($this->getContext($context, "nbh", true), 0, array(), "any", true, true)) {
                 echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "nbh"), 0, array()), "html", null, true);
             }
             if ($this->getAttribute($this->getContext($context, "nbh", true), 1, array(), "any", true, true)) {
                 echo "h";
                 echo twig_escape_filter($this->env, twig_round($this->getAttribute($this->getContext($context, "nbh"), 1, array()) * 0.6), "html", null, true);
                 echo "0";
             }
             echo "</span></td>\n                          <td>";
             // line 596
             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["autre"], "DemandeLe", array()), "d-m-Y"), "html", null, true);
             echo "</td>\n                          <td>";
             // line 597
             if (twig_date_format_filter($this->env, $this->getAttribute($context["autre"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "0000-00-00", "d-m-Y")) {
                 // line 598
                 echo "                                           En cours de traitement\n                                    ";
             } elseif (twig_date_format_filter($this->env, $this->getAttribute($context["autre"], "Accepted", array()), "d-m-Y") == twig_date_format_filter($this->env, "2000-01-01", "d-m-Y")) {
                 // line 600
                 echo "                                           Refus&eacute;\n                                    ";
             } elseif (null === $this->getAttribute($context["autre"], "Accepted", array())) {
                 // line 602
                 echo "                                           Envoy&eacute;\n                                    ";
             } else {
                 // line 604
                 echo "                                       ";
                 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["autre"], "Accepted", array()), "d-m-Y"), "html", null, true);
                 echo "\n                                    ";
             }
             // line 606
             echo "                          </td>\n                          ";
             // line 607
             if ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 1 || $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getContext($context, "app"), "user", array()), "agent", array()), "service", array()), "id", array()) == 3) {
                 // line 608
                 echo "                              <td class='hidden-print'>\n                                  <a type=\"button\" class=\"btn btn-danger btn-xs\" data-id-hsf='";
                 // line 609
                 echo twig_escape_filter($this->env, $this->getAttribute($context["autre"], "id", array()), "html", null, true);
                 echo "' data-toggle=\"modal\" data-target=\"#exampleModal\" >\n                                        <i class=\"fa fa-times\"></i>\n                                  </a>\n                              </td>\n                          ";
             }
             // line 614
             echo "                        </tr>\n                        ";
             // line 615
             if ($this->getAttribute($context["loop"], "last", array())) {
                 // line 616
                 echo "                        <tfoot>\n                            <tr class=\"\">\n                                <th colspan=\"3\">Total</th>\n                                <th></th>\n                            </tr>        \n                        </tfoot>        \n                        ";
             }
             // line 623
             echo "                          ";
             ++$context['loop']['index0'];
             ++$context['loop']['index'];
             $context['loop']['first'] = false;
             if (isset($context['loop']['length'])) {
                 --$context['loop']['revindex0'];
                 --$context['loop']['revindex'];
                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
             }
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['autre'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 624
         echo "                      </table>\n                    </div>\n                </div>\n          ";
     }
     // line 628
     echo "            </div><!-- /.col -->\n          </div><!-- /.row -->\n        </section><!-- /.content -->\n      </div><!-- /.content-wrapper -->\n \n      ";
     // line 634
     echo "        <div class=\"modal fade\" id=\"exampleModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\">\n          <div class=\"modal-dialog\" role=\"document\">\n            <div class=\"modal-content\">\n              <div class=\"modal-header\">\n                <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">&times;</span></button>\n                <h4 class=\"modal-title\" id=\"exampleModalLabel\">New message</h4>\n              </div>\n              <div class=\"modal-body\">\n                  Etes vous sur de vouloir supprimer l'evenement ?\n              </div>\n              <div class=\"modal-footer\">\n                <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Non</button>\n                <a type=\"button\" class=\"btn btn-danger\" id=\"annuler_event\" href='' ><i class=\"fa fa-times\"> Oui</i> </a>\n              </div>\n            </div>\n          </div>\n        </div>\n      \n      <footer class=\"main-footer hidden-print\">\n        <div class=\"pull-right hidden-xs\">\n          <b>Version</b> 2.0\n        </div>\n        <strong>Copyright &copy; 2015 <a href=\"\">Cedric GUICHERD</a>.</strong> \n      </footer>\n    </div><!-- ./wrapper -->\n";
     // line 659
     $this->displayBlock('javascript', $context, $blocks);
     // line 748
     echo "\n  </body>\n</html>\n      ";
 }
 public function getrender_log_message($__category__ = null, $__log_index__ = null, $__log__ = null, $__is_deprecation__ = false, ...$__varargs__)
 {
     $context = $this->env->mergeGlobals(array("category" => $__category__, "log_index" => $__log_index__, "log" => $__log__, "is_deprecation" => $__is_deprecation__, "varargs" => $__varargs__));
     $blocks = array();
     ob_start();
     try {
         $__internal_c8b1f47d468c6cff1e9abcde7ed156556ae40151f061cd12ed6abb154ba7188d = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
         $__internal_c8b1f47d468c6cff1e9abcde7ed156556ae40151f061cd12ed6abb154ba7188d->enter($__internal_c8b1f47d468c6cff1e9abcde7ed156556ae40151f061cd12ed6abb154ba7188d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "macro", "render_log_message"));
         // line 171
         echo "    ";
         echo twig_escape_filter($this->env, $this->getAttribute($context["log"] ?? $this->getContext($context, "log"), "message", array()), "html", null, true);
         echo "\n\n    ";
         // line 173
         if ($context["is_deprecation"] ?? $this->getContext($context, "is_deprecation")) {
             // line 174
             echo "        ";
             $context["stack"] = $this->getAttribute($this->getAttribute($context["log"] ?? null, "context", array(), "any", false, true), "stack", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute($context["log"] ?? null, "context", array(), "any", false, true), "stack", array()), array()) : array();
             // line 175
             echo "        ";
             $context["stack_id"] = "sf-call-stack-" . ($context["category"] ?? $this->getContext($context, "category")) . "-" . ($context["log_index"] ?? $this->getContext($context, "log_index"));
             // line 176
             echo "\n        ";
             // line 177
             if ($this->getAttribute($this->getAttribute($context["log"] ?? null, "context", array(), "any", false, true), "errorCount", array(), "any", true, true)) {
                 // line 178
                 echo "            <span class=\"text-small text-bold\">(";
                 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["log"] ?? $this->getContext($context, "log"), "context", array()), "errorCount", array()), "html", null, true);
                 echo " times)</span>\n        ";
             }
             // line 180
             echo "\n        ";
             // line 181
             if ($context["stack"] ?? $this->getContext($context, "stack")) {
                 // line 182
                 echo "            <button class=\"btn-link text-small sf-toggle\" data-toggle-selector=\"#";
                 echo twig_escape_filter($this->env, $context["stack_id"] ?? $this->getContext($context, "stack_id"), "html", null, true);
                 echo "\" data-toggle-alt-content=\"Hide stack trace\">Show stack trace</button>\n        ";
             }
             // line 184
             echo "\n        ";
             // line 185
             $context['_parent'] = $context;
             $context['_seq'] = twig_ensure_traversable($context["stack"] ?? $this->getContext($context, "stack"));
             foreach ($context['_seq'] as $context["index"] => $context["call"]) {
                 if ($context["index"] > 1) {
                     // line 186
                     echo "            ";
                     if ($context["index"] == 2) {
                         // line 187
                         echo "                <ul class=\"sf-call-stack hidden\" id=\"";
                         echo twig_escape_filter($this->env, $context["stack_id"] ?? $this->getContext($context, "stack_id"), "html", null, true);
                         echo "\">\n            ";
                     }
                     // line 189
                     echo "\n            ";
                     // line 190
                     if ($this->getAttribute($context["call"], "class", array(), "any", true, true)) {
                         // line 191
                         echo "                ";
                         $context["from"] = $this->env->getExtension('Symfony\\Bridge\\Twig\\Extension\\CodeExtension')->abbrClass($this->getAttribute($context["call"], "class", array())) . "::" . $this->env->getExtension('Symfony\\Bridge\\Twig\\Extension\\CodeExtension')->abbrMethod($this->getAttribute($context["call"], "function", array()));
                         // line 192
                         echo "            ";
                     } elseif ($this->getAttribute($context["call"], "function", array(), "any", true, true)) {
                         // line 193
                         echo "                ";
                         $context["from"] = $this->env->getExtension('Symfony\\Bridge\\Twig\\Extension\\CodeExtension')->abbrMethod($this->getAttribute($context["call"], "function", array()));
                         // line 194
                         echo "            ";
                     } elseif ($this->getAttribute($context["call"], "file", array(), "any", true, true)) {
                         // line 195
                         echo "                ";
                         $context["from"] = $this->getAttribute($context["call"], "file", array());
                         // line 196
                         echo "            ";
                     } else {
                         // line 197
                         echo "                ";
                         $context["from"] = "-";
                         // line 198
                         echo "            ";
                     }
                     // line 199
                     echo "\n            ";
                     // line 200
                     $context["file_name"] = $this->getAttribute($context["call"], "file", array(), "any", true, true) && $this->getAttribute($context["call"], "line", array(), "any", true, true) ? twig_last($this->env, twig_split_filter($this->env, twig_replace_filter($this->getAttribute($context["call"], "file", array()), array("\\" => "/")), "/")) : "";
                     // line 201
                     echo "\n            <li>\n                ";
                     // line 203
                     echo $context["from"] ?? $this->getContext($context, "from");
                     echo "\n                ";
                     // line 204
                     if ($context["file_name"] ?? $this->getContext($context, "file_name")) {
                         // line 205
                         echo "                    <span class=\"text-small\">(called from ";
                         echo $this->env->getExtension('Symfony\\Bridge\\Twig\\Extension\\CodeExtension')->formatFile($this->getAttribute($context["call"], "file", array()), $this->getAttribute($context["call"], "line", array()), $context["file_name"] ?? $this->getContext($context, "file_name"));
                         echo ")</span>\n                ";
                     }
                     // line 207
                     echo "            </li>\n\n            ";
                     // line 209
                     if ($context["index"] == twig_length_filter($this->env, $context["stack"] ?? $this->getContext($context, "stack")) - 1) {
                         // line 210
                         echo "                </ul>\n            ";
                     }
                     // line 212
                     echo "        ";
                 }
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['index'], $context['call'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 213
             echo "    ";
         } else {
             // line 214
             echo "        ";
             if ($this->getAttribute($context["log"] ?? null, "context", array(), "any", true, true) && !twig_test_empty($this->getAttribute($context["log"] ?? $this->getContext($context, "log"), "context", array()))) {
                 // line 215
                 echo "            ";
                 $context["context_id"] = "context-" . ($context["category"] ?? $this->getContext($context, "category")) . "-" . ($context["log_index"] ?? $this->getContext($context, "log_index"));
                 // line 216
                 echo "            ";
                 $context["context_dump"] = $this->env->getExtension('Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension')->dumpValue($this->getAttribute($context["log"] ?? $this->getContext($context, "log"), "context", array()));
                 // line 217
                 echo "\n            <div class=\"metadata\">\n                <strong>Context</strong>:\n\n                ";
                 // line 221
                 if (twig_length_filter($this->env, $context["context_dump"] ?? $this->getContext($context, "context_dump")) > 120) {
                     // line 222
                     echo "                    ";
                     echo twig_escape_filter($this->env, twig_slice($this->env, $context["context_dump"] ?? $this->getContext($context, "context_dump"), 0, 120), "html", null, true);
                     echo " ...\n\n                    <a class=\"btn-link text-small sf-toggle\" data-toggle-selector=\"#";
                     // line 224
                     echo twig_escape_filter($this->env, $context["context_id"] ?? $this->getContext($context, "context_id"), "html", null, true);
                     echo "\" data-toggle-alt-content=\"Hide full context\">Show full context</a>\n\n                    <div id=\"";
                     // line 226
                     echo twig_escape_filter($this->env, $context["context_id"] ?? $this->getContext($context, "context_id"), "html", null, true);
                     echo "\" class=\"context\">\n                        <pre>";
                     // line 227
                     echo twig_escape_filter($this->env, $context["context_dump"] ?? $this->getContext($context, "context_dump"), "html", null, true);
                     echo "</pre>\n                    </div>\n                ";
                 } else {
                     // line 230
                     echo "                    ";
                     echo twig_escape_filter($this->env, $context["context_dump"] ?? $this->getContext($context, "context_dump"), "html", null, true);
                     echo "\n                ";
                 }
                 // line 232
                 echo "            </div>\n        ";
             }
             // line 234
             echo "    ";
         }
         $__internal_c8b1f47d468c6cff1e9abcde7ed156556ae40151f061cd12ed6abb154ba7188d->leave($__internal_c8b1f47d468c6cff1e9abcde7ed156556ae40151f061cd12ed6abb154ba7188d_prof);
     } catch (Exception $e) {
         ob_end_clean();
         throw $e;
     } catch (Throwable $e) {
         ob_end_clean();
         throw $e;
     }
     return '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
 }
 public function block_content($context, array $blocks = array())
 {
     // line 4
     echo "\n        ";
     // line 6
     echo "        <section class=\"entry-header\">\n\n            ";
     // line 9
     echo "            ";
     if ($this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".title.enabled", 1 => "1"), "method")) {
         // line 10
         echo "                <h2 class=\"entry-title\">\n                    ";
         // line 11
         if ($this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".title.link", 1 => "0"), "method")) {
             // line 12
             echo "                        <a href=\"";
             echo $this->getAttribute(isset($context["post"]) ? $context["post"] : null, "link", array());
             echo "\" title=\"";
             echo $this->getAttribute(isset($context["post"]) ? $context["post"] : null, "title", array());
             echo "\">";
             echo $this->getAttribute(isset($context["post"]) ? $context["post"] : null, "title", array());
             echo "</a>\n                    ";
         } else {
             // line 14
             echo "                        ";
             echo $this->getAttribute(isset($context["post"]) ? $context["post"] : null, "title", array());
             echo "\n                    ";
         }
         // line 16
         echo "                </h2>\n            ";
     }
     // line 18
     echo "            ";
     // line 19
     echo "\n            ";
     // line 21
     echo "            ";
     if ($this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".meta-date.enabled", 1 => "1"), "method") || $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".meta-author.enabled", 1 => "1"), "method") || $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".meta-comments.enabled", 1 => "1"), "method") || $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".meta-categories.enabled", 1 => "1"), "method") || $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".meta-tags.enabled", 1 => "0"), "method")) {
         // line 22
         echo "                ";
         $this->loadTemplate(array(0 => "partials/meta-" . (isset($context["scope"]) ? $context["scope"] : null) . ".html.twig", 1 => "partials/meta.html.twig"), "partials/content.html.twig", 22)->display($context);
         // line 23
         echo "            ";
     }
     // line 24
     echo "            ";
     // line 25
     echo "\n        </section>\n        ";
     // line 28
     echo "\n        ";
     // line 30
     echo "        ";
     if (!call_user_func_array($this->env->getFunction('function')->getCallable(), array("post_password_required", $this->getAttribute(isset($context["post"]) ? $context["post"] : null, "ID", array())))) {
         // line 31
         echo "\n            ";
         // line 33
         echo "            <section class=\"entry-content\">\n\n                ";
         // line 36
         echo "                ";
         if ($this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".featured-image.enabled", 1 => "1"), "method") && $this->getAttribute($this->getAttribute(isset($context["post"]) ? $context["post"] : null, "thumbnail", array()), "src", array())) {
             // line 37
             echo "                    ";
             $context["position"] = $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".featured-image.position", 1 => "none"), "method") == "none" ? "" : "float-" . $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".featured-image.position", 1 => "none"), "method");
             // line 38
             echo "                    <a href=\"";
             echo $this->getAttribute(isset($context["post"]) ? $context["post"] : null, "link", array());
             echo "\" class=\"post-thumbnail\" aria-hidden=\"true\">\n                        <img src=\"";
             // line 39
             echo call_user_func_array($this->env->getFilter('resize')->getCallable(), array($this->getAttribute($this->getAttribute(isset($context["post"]) ? $context["post"] : null, "thumbnail", array()), "src", array()), $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".featured-image.width", 1 => "1200"), "method"), $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".featured-image.height", 1 => "350"), "method")));
             echo "\" class=\"featured-image tease-featured-image ";
             echo isset($context["position"]) ? $context["position"] : null;
             echo "\" alt=\"";
             echo $this->getAttribute(isset($context["post"]) ? $context["post"] : null, "title", array());
             echo "\" />\n                    </a>\n                ";
         }
         // line 42
         echo "                ";
         // line 43
         echo "\n                ";
         // line 45
         echo "                ";
         if (!twig_test_empty($this->getAttribute(isset($context["post"]) ? $context["post"] : null, "post_excerpt", array()))) {
             // line 46
             echo "                    <div class=\"post-excerpt\">";
             echo call_user_func_array($this->env->getFilter('apply_filters')->getCallable(), array($this->getAttribute(isset($context["post"]) ? $context["post"] : null, "post_excerpt", array()), "the_excerpt"));
             echo "</div>\n                ";
         } else {
             // line 48
             echo "                    <div class=\"post-content\">\n                        ";
             // line 49
             $context["readmore"] = $this->env->getExtension('GantryTwig')->pregMatch("/<!--more(.*?)?-->/", $this->getAttribute(isset($context["post"]) ? $context["post"] : null, "post_content", array()));
             // line 50
             echo "                        ";
             if (isset($context["readmore"]) ? $context["readmore"] : null) {
                 // line 51
                 echo "                            ";
                 $context["split_content"] = twig_split_filter($this->env, $this->getAttribute(isset($context["post"]) ? $context["post"] : null, "post_content", array()), $this->getAttribute(isset($context["readmore"]) ? $context["readmore"] : null, 0, array(), "array"), 2);
                 // line 52
                 echo "                            ";
                 echo call_user_func_array($this->env->getFilter('apply_filters')->getCallable(), array($this->getAttribute(isset($context["split_content"]) ? $context["split_content"] : null, 0, array(), "array"), "the_content"));
                 echo "\n                        ";
             } elseif (twig_in_filter("<!--nextpage-->", $this->getAttribute(isset($context["post"]) ? $context["post"] : null, "post_content", array()))) {
                 // line 54
                 echo "                            ";
                 $context["split_content"] = twig_split_filter($this->env, $this->getAttribute(isset($context["post"]) ? $context["post"] : null, "post_content", array()), "<!--nextpage-->", 2);
                 // line 55
                 echo "                            ";
                 echo call_user_func_array($this->env->getFilter('apply_filters')->getCallable(), array($this->getAttribute(isset($context["split_content"]) ? $context["split_content"] : null, 0, array(), "array"), "the_content"));
                 echo "\n                        ";
             } else {
                 // line 57
                 echo "                            ";
                 echo $this->getAttribute(isset($context["post"]) ? $context["post"] : null, "content", array());
                 echo "\n                        ";
             }
             // line 59
             echo "                    </div>\n                ";
         }
         // line 61
         echo "\n                ";
         // line 62
         if ($this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".read-more.mode", 1 => "auto"), "method") == "always" || $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".read-more.mode", 1 => "auto"), "method") == "auto" && ((isset($context["readmore"]) ? $context["readmore"] : null) || !twig_test_empty($this->getAttribute(isset($context["post"]) ? $context["post"] : null, "post_excerpt", array())))) {
             // line 63
             echo "                    <a href=\"";
             echo $this->getAttribute(isset($context["post"]) ? $context["post"] : null, "link", array());
             echo "\" class=\"read-more button\">\n                        ";
             // line 64
             if (!twig_test_empty($this->getAttribute(isset($context["readmore"]) ? $context["readmore"] : null, 1, array(), "array"))) {
                 // line 65
                 echo $this->getAttribute(isset($context["readmore"]) ? $context["readmore"] : null, 1, array(), "array");
             } else {
                 // line 67
                 echo "                            ";
                 echo $this->getAttribute($this->getAttribute(isset($context["gantry"]) ? $context["gantry"] : null, "config", array()), "get", array(0 => "content." . (isset($context["scope"]) ? $context["scope"] : null) . ".read-more.label", 1 => "Read More"), "method");
                 echo "\n                        ";
             }
             // line 69
             echo "                    </a>\n                ";
         }
         // line 71
         echo "                ";
         // line 72
         echo "\n            </section>\n            ";
         // line 75
         echo "\n        ";
     } else {
         // line 77
         echo "\n            ";
         // line 79
         echo "            <div class=\"password-form\">\n\n                ";
         // line 82
         echo "                ";
         $this->loadTemplate("partials/password-form.html.twig", "partials/content.html.twig", 82)->display($context);
         // line 83
         echo "\n            </div>\n            ";
         // line 86
         echo "\n        ";
     }
     // line 88
     echo "\n    ";
 }