var/cache/dev/twig/65/65223309fa12fbd2740cb23ee9c048a6.php line 45

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @UVDeskCoreFramework/Templates/layout.html.twig */
  16. class __TwigTemplate_147c0f8ad029b4bb627c073b98533279 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.             'title' => [$this'block_title'],
  30.             'templateCSS' => [$this'block_templateCSS'],
  31.             'sidebar' => [$this'block_sidebar'],
  32.             'pageWrapper' => [$this'block_pageWrapper'],
  33.             'pageHeader' => [$this'block_pageHeader'],
  34.             'pageContent' => [$this'block_pageContent'],
  35.             'footer' => [$this'block_footer'],
  36.         ];
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@UVDeskCoreFramework/Templates/layout.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@UVDeskCoreFramework/Templates/layout.html.twig"));
  45.         // line 1
  46.         yield "<!DOCTYPE html>
  47. <html>
  48.     <head>
  49.         <title>";
  50.         // line 4
  51.         yield from $this->unwrap()->yieldBlock('title'$context$blocks);
  52.         yield "</title>
  53.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  54.         <link rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16 32x32 48x48\" href=\"";
  55.         // line 6
  56.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html"nulltrue);
  57.         yield "\" />
  58.         <!-- Stylesheets -->
  59.         <link href=\"";
  60.         // line 9
  61.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/css/_uikit.css"), "html"nulltrue);
  62.         yield "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  63.         <link href=\"";
  64.         // line 10
  65.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/css/_custom.css"), "html"nulltrue);
  66.         yield "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  67.         <link href=\"//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css\" type=\"text/css\" rel=\"stylesheet\">
  68.         <link href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css\" type=\"text/css\" rel=\"stylesheet\">
  69.         <!-- Custom CSS -->
  70.         ";
  71.         // line 15
  72.         $context["websiteConfiguration"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["user_service"]) || array_key_exists("user_service"$context) ? $context["user_service"] : (function () { throw new RuntimeError('Variable "user_service" does not exist.'15$this->source); })()), "getWebsiteConfiguration", ["knowledgebase"], "method"falsefalsefalse15);
  73.         // line 16
  74.         yield "        ";
  75.         $context["website"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["user_service"]) || array_key_exists("user_service"$context) ? $context["user_service"] : (function () { throw new RuntimeError('Variable "user_service" does not exist.'16$this->source); })()), "getWebsiteDetails", ["helpdesk"], "method"falsefalsefalse16);
  76.         // line 17
  77.         yield "
  78.         ";
  79.         // line 18
  80.         yield Twig\Extension\CoreExtension::include($this->env$context"@UVDeskCoreFramework/Templates/lightskin.html.twig");
  81.         yield "
  82.         <!-- Custom Stylesheets -->
  83.         ";
  84.         // line 21
  85.         $context['_parent'] = $context;
  86.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["uvdesk_extensibles"]) || array_key_exists("uvdesk_extensibles"$context) ? $context["uvdesk_extensibles"] : (function () { throw new RuntimeError('Variable "uvdesk_extensibles" does not exist.'21$this->source); })()), "getRegisteredComponent", ["Webkul\\UVDesk\\CoreFrameworkBundle\\Dashboard\\Dashboard"], "method"falsefalsefalse21), "getDashboardTemplate", [], "method"falsefalsefalse21), "getStylesheetResources", [], "method"falsefalsefalse21));
  87.         foreach ($context['_seq'] as $context["_key"] => $context["stylesheet"]) {
  88.             // line 22
  89.             yield "            <link href=\"";
  90.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["stylesheet"]), "html"nulltrue);
  91.             yield "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  92.         ";
  93.         }
  94.         $_parent $context['_parent'];
  95.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stylesheet'], $context['_parent']);
  96.         $context array_intersect_key($context$_parent) + $_parent;
  97.         // line 24
  98.         yield "        
  99.         ";
  100.         // line 25
  101.         yield from $this->unwrap()->yieldBlock('templateCSS'$context$blocks);
  102.         // line 26
  103.         yield "
  104.         <!-- Scripts -->
  105.         <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js\"></script>
  106.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-min.js\"></script>
  107.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.0/backbone-min.js\"></script>
  108.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.validation/0.11.5/backbone-validation-min.js\"></script>
  109.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.paginator/2.0.8/backbone.paginator.min.js\"></script>
  110.         <script src=\"";
  111.         // line 33
  112.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/_dropdown.js"), "html"nulltrue);
  113.         yield "\"></script>
  114.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/d3/6.2.0/d3.min.js\"></script>
  115.         <script src=\"";
  116.         // line 35
  117.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/viewer.js"), "html"nulltrue);
  118.         yield "\"></script>
  119.         <script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
  120.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.0/moment.min.js\"></script>\t
  121.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js\"></script>
  122.     </head>
  123.     ";
  124.         // line 41
  125.         $context["bodyClass"] = "";
  126.         // line 42
  127.         yield "    ";
  128.         $context["bodySkinClass"] = "";
  129.         // line 43
  130.         yield "
  131.     ";
  132.         // line 44
  133.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'44$this->source); })()), "request", [], "any"falsefalsefalse44), "locale", [], "any"falsefalsefalse44) == "ar")) {
  134.             // line 45
  135.             yield "        ";
  136.             $context["bodyClass"] = "uv-rtl";
  137.             // line 46
  138.             yield "    ";
  139.         }
  140.         // line 47
  141.         yield "    
  142.     <body class=\"";
  143.         // line 48
  144.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((isset($context["bodySkinClass"]) || array_key_exists("bodySkinClass"$context) ? $context["bodySkinClass"] : (function () { throw new RuntimeError('Variable "bodySkinClass" does not exist.'48$this->source); })()) . " ") . (isset($context["bodyClass"]) || array_key_exists("bodyClass"$context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.'48$this->source); })())), "html"nulltrue);
  145.         yield "\">
  146.         <div class=\"uv-notifications-wrapper\">
  147.             <noscript>
  148.                 <div class=\"uv-notification page-load uv-error\">
  149.                     <p>";
  150.         // line 52
  151.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Your browser does not support JavaScript or You disabled JavaScript, Please enable those !", [], "messages");
  152.         yield "</p>
  153.                 </div>
  154.                 <style>.uv-loader-view {display: none;}</style>
  155.             </noscript>
  156.             ";
  157.         // line 57
  158.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["uvdesk_service"]) || array_key_exists("uvdesk_service"$context) ? $context["uvdesk_service"] : (function () { throw new RuntimeError('Variable "uvdesk_service" does not exist.'57$this->source); })()), "requestHeadersSent", [], "method"falsefalsefalse57) == false)) {
  159.             // line 58
  160.             yield "                ";
  161.             $context['_parent'] = $context;
  162.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'58$this->source); })()), "session", [], "any"falsefalsefalse58), "flashbag", [], "any"falsefalsefalse58), "get", ["success"], "method"falsefalsefalse58));
  163.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  164.                 // line 59
  165.                 yield "                    <div class=\"uv-notification page-load uv-success\">
  166.                         <span class=\"uv-notification-close\"></span>
  167.                         <p>";
  168.                 // line 61
  169.                 yield $context["flashMessage"];
  170.                 yield "</p>
  171.                     </div>
  172.                 ";
  173.             }
  174.             $_parent $context['_parent'];
  175.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent']);
  176.             $context array_intersect_key($context$_parent) + $_parent;
  177.             // line 64
  178.             yield "                
  179.                 ";
  180.             // line 65
  181.             $context['_parent'] = $context;
  182.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'65$this->source); })()), "session", [], "any"falsefalsefalse65), "flashbag", [], "any"falsefalsefalse65), "get", ["warning"], "method"falsefalsefalse65));
  183.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  184.                 // line 66
  185.                 yield "                    <div class=\"uv-notification page-load uv-error\">
  186.                         <span class=\"uv-notification-close\"></span>
  187.                         <p>";
  188.                 // line 68
  189.                 yield $context["flashMessage"];
  190.                 yield "</p>
  191.                     </div>
  192.                 ";
  193.             }
  194.             $_parent $context['_parent'];
  195.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent']);
  196.             $context array_intersect_key($context$_parent) + $_parent;
  197.             // line 71
  198.             yield "            ";
  199.         }
  200.         // line 72
  201.         yield "        </div>
  202.         <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
  203.             <div class=\"uv-pop-up-box uv-pop-up-slim\">
  204.                 <span class=\"uv-pop-up-close\"></span>
  205.                 <h2>";
  206.         // line 77
  207.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm Action"), "html"nulltrue);
  208.         yield "</h2>
  209.                 <p>";
  210.         // line 78
  211.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Are you sure? You want to perform this action."), "html"nulltrue);
  212.         yield "</p>
  213.                 <div class=\"uv-pop-up-actions\">
  214.                     <a href=\"#\" class=\"uv-btn uv-btn-error confirm\">";
  215.         // line 81
  216.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm"), "html"nulltrue);
  217.         yield "</a>
  218.                     <a href=\"#\" class=\"uv-btn cancel\">";
  219.         // line 82
  220.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cancel"), "html"nulltrue);
  221.         yield "</a>
  222.                 </div>
  223.             </div>
  224.         </div>
  225.         ";
  226.         // line 87
  227.         $context["currentUser"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["user_service"]) || array_key_exists("user_service"$context) ? $context["user_service"] : (function () { throw new RuntimeError('Variable "user_service" does not exist.'87$this->source); })()), "getSessionUser", [], "method"falsefalsefalse87);
  228.         // line 88
  229.         yield "        ";
  230.         if (( !Twig\Extension\CoreExtension::testEmpty((isset($context["currentUser"]) || array_key_exists("currentUser"$context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.'88$this->source); })())) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["currentUser"]) || array_key_exists("currentUser"$context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.'88$this->source); })()), "getAgentInstance", [], "method"falsefalsefalse88)))) {
  231.             // line 89
  232.             yield "            ";
  233.             $context["currentUserDetails"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["currentUser"]) || array_key_exists("currentUser"$context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.'89$this->source); })()), "getAgentInstance", [], "method"falsefalsefalse89), "getPartialDetails", [], "method"falsefalsefalse89);
  234.             // line 90
  235.             yield "        ";
  236.         }
  237.         // line 91
  238.         yield "
  239.         ";
  240.         // line 92
  241.         yield from $this->unwrap()->yieldBlock('sidebar'$context$blocks);
  242.         // line 97
  243.         yield "
  244.         ";
  245.         // line 98
  246.         yield from $this->unwrap()->yieldBlock('pageWrapper'$context$blocks);
  247.         // line 111
  248.         yield "        
  249.         ";
  250.         // line 112
  251.         yield from $this->unwrap()->yieldBlock('footer'$context$blocks);
  252.         // line 166
  253.         yield "
  254.         ";
  255.         // line 168
  256.         yield "        ";
  257.         $context['_parent'] = $context;
  258.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["uvdesk_extensibles"]) || array_key_exists("uvdesk_extensibles"$context) ? $context["uvdesk_extensibles"] : (function () { throw new RuntimeError('Variable "uvdesk_extensibles" does not exist.'168$this->source); })()), "getRegisteredComponent", ["Webkul\\UVDesk\\CoreFrameworkBundle\\Dashboard\\Dashboard"], "method"falsefalsefalse168), "getDashboardTemplate", [], "method"falsefalsefalse168), "getJavascriptResources", [], "method"falsefalsefalse168));
  259.         foreach ($context['_seq'] as $context["_key"] => $context["javascript"]) {
  260.             // line 169
  261.             yield "            <script src=\"";
  262.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["javascript"]), "html"nulltrue);
  263.             yield "\" type=\"text/javascript\"></script>
  264.         ";
  265.         }
  266.         $_parent $context['_parent'];
  267.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['javascript'], $context['_parent']);
  268.         $context array_intersect_key($context$_parent) + $_parent;
  269.         // line 171
  270.         yield "    </body>
  271. </html>";
  272.         
  273.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  274.         
  275.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  276.         return; yield '';
  277.     }
  278.     // line 4
  279.     public function block_title($context, array $blocks = [])
  280.     {
  281.         $macros $this->macros;
  282.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  283.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  284.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  285.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  286.         yield "HelpDesk";
  287.         
  288.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  289.         
  290.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  291.         return; yield '';
  292.     }
  293.     // line 25
  294.     public function block_templateCSS($context, array $blocks = [])
  295.     {
  296.         $macros $this->macros;
  297.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  298.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""templateCSS"));
  299.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  300.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""templateCSS"));
  301.         
  302.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  303.         
  304.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  305.         return; yield '';
  306.     }
  307.     // line 92
  308.     public function block_sidebar($context, array $blocks = [])
  309.     {
  310.         $macros $this->macros;
  311.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  312.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  313.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  314.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  315.         // line 93
  316.         yield "            ";
  317.         if ((array_key_exists("currentUser"$context) &&  !Twig\Extension\CoreExtension::testEmpty((isset($context["currentUser"]) || array_key_exists("currentUser"$context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.'93$this->source); })())))) {
  318.             // line 94
  319.             yield "                ";
  320.             yield from             $this->loadTemplate("@UVDeskCoreFramework/Templates/sidebar.html.twig""@UVDeskCoreFramework/Templates/layout.html.twig"94)->unwrap()->yield($context);
  321.             // line 95
  322.             yield "            ";
  323.         }
  324.         // line 96
  325.         yield "        ";
  326.         
  327.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  328.         
  329.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  330.         return; yield '';
  331.     }
  332.     // line 98
  333.     public function block_pageWrapper($context, array $blocks = [])
  334.     {
  335.         $macros $this->macros;
  336.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  337.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageWrapper"));
  338.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  339.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageWrapper"));
  340.         // line 99
  341.         yield "            <div class=\"uv-paper\">
  342.                 ";
  343.         // line 100
  344.         yield from $this->unwrap()->yieldBlock('pageHeader'$context$blocks);
  345.         // line 103
  346.         yield "
  347.                 <div class=\"uv-wrapper\">
  348.                     <div class=\"uv-container\">
  349.                         ";
  350.         // line 106
  351.         yield from $this->unwrap()->yieldBlock('pageContent'$context$blocks);
  352.         // line 107
  353.         yield "                    </div>
  354.                 </div>
  355.             </div>
  356.         ";
  357.         
  358.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  359.         
  360.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  361.         return; yield '';
  362.     }
  363.     // line 100
  364.     public function block_pageHeader($context, array $blocks = [])
  365.     {
  366.         $macros $this->macros;
  367.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  368.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageHeader"));
  369.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  370.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageHeader"));
  371.         // line 101
  372.         yield "                    ";
  373.         yield from         $this->loadTemplate("@UVDeskCoreFramework/Templates/header.html.twig""@UVDeskCoreFramework/Templates/layout.html.twig"101)->unwrap()->yield($context);
  374.         // line 102
  375.         yield "                ";
  376.         
  377.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  378.         
  379.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  380.         return; yield '';
  381.     }
  382.     // line 106
  383.     public function block_pageContent($context, array $blocks = [])
  384.     {
  385.         $macros $this->macros;
  386.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  387.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageContent"));
  388.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  389.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageContent"));
  390.         
  391.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  392.         
  393.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  394.         return; yield '';
  395.     }
  396.     // line 112
  397.     public function block_footer($context, array $blocks = [])
  398.     {
  399.         $macros $this->macros;
  400.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  401.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  402.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  403.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  404.         // line 113
  405.         yield "            <script src=\"";
  406.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/_common.js"), "html"nulltrue);
  407.         yield "\"></script>
  408.             ";
  409.         // line 114
  410.         yield from         $this->loadTemplate("@UVDeskCoreFramework/Templates/pagination.html.twig""@UVDeskCoreFramework/Templates/layout.html.twig"114)->unwrap()->yield($context);
  411.         // line 115
  412.         yield "
  413.             ";
  414.         // line 117
  415.         yield "            <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
  416.                 <div class=\"uv-pop-up-box uv-pop-up-slim\">
  417.                     <span class=\"uv-pop-up-close\"></span>
  418.                     <h2>";
  419.         // line 120
  420.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm Action"), "html"nulltrue);
  421.         yield "</h2>
  422.                     <p>";
  423.         // line 121
  424.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Are you sure? You want to perform this action."), "html"nulltrue);
  425.         yield "</p>
  426.                     <div class=\"uv-pop-up-actions\">
  427.                         <a href=\"#\" class=\"uv-btn uv-btn-error confirm\">";
  428.         // line 124
  429.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm"), "html"nulltrue);
  430.         yield "</a>
  431.                         <a href=\"#\" class=\"uv-btn cancel\">";
  432.         // line 125
  433.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cancel"), "html"nulltrue);
  434.         yield "</a>
  435.                     </div>
  436.                 </div>
  437.             </div>
  438.             ";
  439.         // line 131
  440.         yield "            <script type=\"text/template\" id=\"loader-tmp\">
  441.                 <div class=\"uv-loader\">
  442.                     <span></span>
  443.                     <span></span>
  444.                     <span></span>
  445.                 </div>
  446.             </script>
  447.             ";
  448.         // line 140
  449.         yield "            <script type=\"text/template\" id=\"full-view-loader\">
  450.                 <div class=\"uv-loader-view\">
  451.                     <div class=\"uv-loader\">
  452.                         <span></span>
  453.                         <span></span>
  454.                         <span></span>
  455.                     </div>
  456.                 </div>
  457.             </script>
  458.             ";
  459.         // line 151
  460.         yield "            <script type=\"text/template\" id=\"notification-template\">
  461.                 <div class=\"uv-notification <% if(alertClass == 'danger') { %>uv-error<% } else { %> <%= 'uv-' + alertClass %> <% } %>\">
  462.                     <span class=\"uv-notification-close\"></span>
  463.                     <p><%= alertMessage %> </p>
  464.                 </div>
  465.             </script>
  466.             <script type=\"text/javascript\">
  467.                 var warningResponse = {
  468.                     'alertClass' : 'danger',
  469.                     'alertMessage' : '";
  470.         // line 161
  471.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Error : Something went wrong, please try again later"), "html"nulltrue);
  472.         yield "',
  473.                 };
  474.             </script>
  475.         ";
  476.         
  477.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  478.         
  479.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  480.         return; yield '';
  481.     }
  482.     /**
  483.      * @codeCoverageIgnore
  484.      */
  485.     public function getTemplateName(): string
  486.     {
  487.         return "@UVDeskCoreFramework/Templates/layout.html.twig";
  488.     }
  489.     /**
  490.      * @codeCoverageIgnore
  491.      */
  492.     public function isTraitable(): bool
  493.     {
  494.         return false;
  495.     }
  496.     /**
  497.      * @codeCoverageIgnore
  498.      */
  499.     public function getDebugInfo(): array
  500.     {
  501.         return array (  528 => 161,  516 => 151,  504 => 140,  494 => 131,  486 => 125,  482 => 124,  476 => 121,  472 => 120,  467 => 117,  464 => 115,  462 => 114,  457 => 113,  447 => 112,  428 => 106,  417 => 102,  414 => 101,  404 => 100,  390 => 107,  388 => 106,  383 => 103,  381 => 100,  378 => 99,  368 => 98,  357 => 96,  354 => 95,  351 => 94,  348 => 93,  338 => 92,  319 => 25,  299 => 4,  287 => 171,  278 => 169,  273 => 168,  270 => 166,  268 => 112,  265 => 111,  263 => 98,  260 => 97,  258 => 92,  255 => 91,  252 => 90,  249 => 89,  246 => 88,  244 => 87,  236 => 82,  232 => 81,  226 => 78,  222 => 77,  215 => 72,  212 => 71,  203 => 68,  199 => 66,  195 => 65,  192 => 64,  183 => 61,  179 => 59,  174 => 58,  172 => 57,  164 => 52,  157 => 48,  154 => 47,  151 => 46,  148 => 45,  146 => 44,  143 => 43,  140 => 42,  138 => 41,  129 => 35,  124 => 33,  115 => 26,  113 => 25,  110 => 24,  101 => 22,  97 => 21,  91 => 18,  88 => 17,  85 => 16,  83 => 15,  75 => 10,  71 => 9,  65 => 6,  60 => 4,  55 => 1,);
  502.     }
  503.     public function getSourceContext(): Source
  504.     {
  505.         return new Source("<!DOCTYPE html>
  506. <html>
  507.     <head>
  508.         <title>{% block title %}HelpDesk{% endblock %}</title>
  509.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  510.         <link rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16 32x32 48x48\" href=\"{{ asset('favicon.ico') }}\" />
  511.         <!-- Stylesheets -->
  512.         <link href=\"{{ asset('bundles/uvdeskcoreframework/css/_uikit.css') }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  513.         <link href=\"{{ asset('bundles/uvdeskcoreframework/css/_custom.css') }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  514.         <link href=\"//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css\" type=\"text/css\" rel=\"stylesheet\">
  515.         <link href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css\" type=\"text/css\" rel=\"stylesheet\">
  516.         <!-- Custom CSS -->
  517.         {% set websiteConfiguration = user_service.getWebsiteConfiguration('knowledgebase') %}
  518.         {% set website = user_service.getWebsiteDetails('helpdesk') %}
  519.         {{ include('@UVDeskCoreFramework/Templates/lightskin.html.twig') }}
  520.         <!-- Custom Stylesheets -->
  521.         {% for stylesheet in uvdesk_extensibles.getRegisteredComponent('Webkul\\\\UVDesk\\\\CoreFrameworkBundle\\\\Dashboard\\\\Dashboard').getDashboardTemplate().getStylesheetResources() %}
  522.             <link href=\"{{ asset(stylesheet) }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  523.         {% endfor %}
  524.         
  525.         {% block templateCSS %}{% endblock %}
  526.         <!-- Scripts -->
  527.         <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js\"></script>
  528.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-min.js\"></script>
  529.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.0/backbone-min.js\"></script>
  530.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.validation/0.11.5/backbone-validation-min.js\"></script>
  531.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.paginator/2.0.8/backbone.paginator.min.js\"></script>
  532.         <script src=\"{{ asset('bundles/uvdeskcoreframework/js/_dropdown.js') }}\"></script>
  533.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/d3/6.2.0/d3.min.js\"></script>
  534.         <script src=\"{{ asset('bundles/uvdeskcoreframework/js/viewer.js') }}\"></script>
  535.         <script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
  536.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.0/moment.min.js\"></script>\t
  537.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js\"></script>
  538.     </head>
  539.     {% set bodyClass = '' %}
  540.     {% set bodySkinClass = '' %}
  541.     {% if app.request.locale == \"ar\" %}
  542.         {% set bodyClass = 'uv-rtl' %}
  543.     {% endif %}
  544.     
  545.     <body class=\"{{ bodySkinClass ~ ' ' ~ bodyClass }}\">
  546.         <div class=\"uv-notifications-wrapper\">
  547.             <noscript>
  548.                 <div class=\"uv-notification page-load uv-error\">
  549.                     <p>{% trans %}Your browser does not support JavaScript or You disabled JavaScript, Please enable those !{% endtrans %}</p>
  550.                 </div>
  551.                 <style>.uv-loader-view {display: none;}</style>
  552.             </noscript>
  553.             {% if uvdesk_service.requestHeadersSent() == false %}
  554.                 {% for flashMessage in app.session.flashbag.get('success') %}
  555.                     <div class=\"uv-notification page-load uv-success\">
  556.                         <span class=\"uv-notification-close\"></span>
  557.                         <p>{{ flashMessage|raw }}</p>
  558.                     </div>
  559.                 {% endfor %}
  560.                 
  561.                 {% for flashMessage in app.session.flashbag.get('warning') %}
  562.                     <div class=\"uv-notification page-load uv-error\">
  563.                         <span class=\"uv-notification-close\"></span>
  564.                         <p>{{ flashMessage|raw }}</p>
  565.                     </div>
  566.                 {% endfor %}
  567.             {% endif %}
  568.         </div>
  569.         <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
  570.             <div class=\"uv-pop-up-box uv-pop-up-slim\">
  571.                 <span class=\"uv-pop-up-close\"></span>
  572.                 <h2>{{ 'Confirm Action'|trans }}</h2>
  573.                 <p>{{ 'Are you sure? You want to perform this action.'|trans }}</p>
  574.                 <div class=\"uv-pop-up-actions\">
  575.                     <a href=\"#\" class=\"uv-btn uv-btn-error confirm\">{{ 'Confirm'|trans }}</a>
  576.                     <a href=\"#\" class=\"uv-btn cancel\">{{ 'Cancel'|trans }}</a>
  577.                 </div>
  578.             </div>
  579.         </div>
  580.         {% set currentUser = user_service.getSessionUser() %}
  581.         {% if currentUser is not empty and currentUser.getAgentInstance() is not empty %}
  582.             {% set currentUserDetails = currentUser.getAgentInstance().getPartialDetails() %}
  583.         {% endif %}
  584.         {% block sidebar %}
  585.             {% if currentUser is defined and currentUser is not empty %}
  586.                 {% include \"@UVDeskCoreFramework/Templates/sidebar.html.twig\" %}
  587.             {% endif %}
  588.         {% endblock %}
  589.         {% block pageWrapper %}
  590.             <div class=\"uv-paper\">
  591.                 {% block pageHeader %}
  592.                     {% include \"@UVDeskCoreFramework/Templates/header.html.twig\" %}
  593.                 {% endblock %}
  594.                 <div class=\"uv-wrapper\">
  595.                     <div class=\"uv-container\">
  596.                         {% block pageContent %}{% endblock %}
  597.                     </div>
  598.                 </div>
  599.             </div>
  600.         {% endblock %}
  601.         
  602.         {% block footer %}
  603.             <script src=\"{{ asset('bundles/uvdeskcoreframework/js/_common.js') }}\"></script>
  604.             {% include \"@UVDeskCoreFramework/Templates/pagination.html.twig\" %}
  605.             {# Confirm Action Dialog #}
  606.             <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
  607.                 <div class=\"uv-pop-up-box uv-pop-up-slim\">
  608.                     <span class=\"uv-pop-up-close\"></span>
  609.                     <h2>{{ 'Confirm Action'|trans }}</h2>
  610.                     <p>{{ 'Are you sure? You want to perform this action.'|trans }}</p>
  611.                     <div class=\"uv-pop-up-actions\">
  612.                         <a href=\"#\" class=\"uv-btn uv-btn-error confirm\">{{ 'Confirm'|trans }}</a>
  613.                         <a href=\"#\" class=\"uv-btn cancel\">{{ 'Cancel'|trans }}</a>
  614.                     </div>
  615.                 </div>
  616.             </div>
  617.             {# Loader Template #}
  618.             <script type=\"text/template\" id=\"loader-tmp\">
  619.                 <div class=\"uv-loader\">
  620.                     <span></span>
  621.                     <span></span>
  622.                     <span></span>
  623.                 </div>
  624.             </script>
  625.             {# Full View Loader Template #}
  626.             <script type=\"text/template\" id=\"full-view-loader\">
  627.                 <div class=\"uv-loader-view\">
  628.                     <div class=\"uv-loader\">
  629.                         <span></span>
  630.                         <span></span>
  631.                         <span></span>
  632.                     </div>
  633.                 </div>
  634.             </script>
  635.             {# Notification Template #}
  636.             <script type=\"text/template\" id=\"notification-template\">
  637.                 <div class=\"uv-notification <% if(alertClass == 'danger') { %>uv-error<% } else { %> <%= 'uv-' + alertClass %> <% } %>\">
  638.                     <span class=\"uv-notification-close\"></span>
  639.                     <p><%= alertMessage %> </p>
  640.                 </div>
  641.             </script>
  642.             <script type=\"text/javascript\">
  643.                 var warningResponse = {
  644.                     'alertClass' : 'danger',
  645.                     'alertMessage' : '{{ \"Error : Something went wrong, please try again later\"|trans }}',
  646.                 };
  647.             </script>
  648.         {% endblock %}
  649.         {# Custom Javascript #}
  650.         {% for javascript in uvdesk_extensibles.getRegisteredComponent('Webkul\\\\UVDesk\\\\CoreFrameworkBundle\\\\Dashboard\\\\Dashboard').getDashboardTemplate().getJavascriptResources() %}
  651.             <script src=\"{{ asset(javascript) }}\" type=\"text/javascript\"></script>
  652.         {% endfor %}
  653.     </body>
  654. </html>""@UVDeskCoreFramework/Templates/layout.html.twig""/home/users/sanjeev.papnoi/www/html/uvdesk-community-v1.1.6/vendor/uvdesk/core-framework/Resources/views/Templates/layout.html.twig");
  655.     }
  656. }