var/cache/dev/twig/3a/3a89313495a9831f0029001f7a6b730e.php line 221

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