<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;

/* @UVDeskCoreFramework/Reports/kudos-insights.html.twig */
class __TwigTemplate_a0a5ed182d06756cef85eece3cc9143f extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'title' => [$this, 'block_title'],
            'pageContent' => [$this, 'block_pageContent'],
            'footer' => [$this, 'block_footer'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 1
        return "@UVDeskCoreFramework//Templates//layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $this->parent = $this->loadTemplate("@UVDeskCoreFramework//Templates//layout.html.twig", "@UVDeskCoreFramework/Reports/kudos-insights.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
    }

    // line 4
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_title(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        yield " 
\t";
        // line 5
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("kudos"), "html", null, true);
        yield "
";
        yield from [];
    }

    // line 8
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_pageContent(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 9
        yield "    <style>
    .uv-action-bar {
  border-bottom: 1px solid #d3d3d3;
  padding-bottom: 10px;
}
.uv-action-bar .uv-field-block.date {
  display: inline-block;
  margin-right: 10px;
}
.uv-action-bar label {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 10px;
}
.uv-report-wrapper {
  padding-right: 20px;
}
.uv-report-wrapper .uv-middle {
  position: absolute;
  width: 100%;
  left: 0;
  top: 50%;
  text-align: center;
}
.uv-report-wrapper svg {
  width: 100%;
}
.uv-report-wrapper svg text {
  fill: #333;
}
.uv-report-brick-wrapper {
  width: 100%;
  display: inline-block;
  border: 1px solid #d3d3d3;
  margin: 20px 0;
  border-radius: 3px;
}
.uv-report-brick-wrapper {
  width: 100%;
  display: inline-block;
  border: 1px solid #d3d3d3;
  margin: 20px 0;
  border-radius: 3px;
}
.uv-report-brick {
  position: relative;
  display: inline-block;
  float: left;
  width: 20%;
  text-align: center;
  padding: 18px 0;
  border-right: 1px solid #d3d3d3;
}
.uv-report-brick:last-child {
  border-right: none;
}
.uv-report-brick-count {
  width: 100%;
  display: inline-block;
  color: #8473f3;
  font-size: 30px;
}
.uv-report-brick-label {
  width: 100%;
  display: inline-block;
  font-size: 18px;
}
.uv-icon-kudos {
  background-image: url(\"";
        // line 77
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/images/uvdesk-kudo-sprite.svg"), "html", null, true);
        yield "\");
  display: inline-block;
  width: 40px;
  height: 40px;
}
.uv-icon-kudos.kudos-1 {
  background-position: 0px 40px;
}
.uv-icon-kudos.kudos-2 {
  background-position: -40px 40px;
}
.uv-icon-kudos.kudos-3 {
  background-position: -80px 40px;
}
.uv-icon-kudos.kudos-4 {
  background-position: -120px 40px;
}
.uv-icon-kudos.kudos-5 {
  background-position: -160px 40px;
}
.kudos-text-1 {
  color: #FC6E46;
}
.kudos-text-2 {
  color: #FC6E46;
}
.kudos-text-3 {
  color: #FCDA32;
}
.kudos-text-4 {
  color: #01D101;
}
.kudos-text-5 {
  color: #01D101;
}
@media screen and (max-width: 1024px) {
  .uv-report-chart-top-row .uv-report-chart-col-lt {
      width: 100%;
      padding: 0;
  }
  .uv-report-chart-top-row .uv-report-chart-col-rt {
      width: 100%;
  }
  .uv-report-chart-bottom-row .uv-col-4 {
      width: 100%;
      padding: 0;
  }
  .uv-pannel-body.ticket-customer {
      padding: 0 !important;
  }
  .uv-report-brick {
      width: 100%;
      border-right: none;
      border-bottom: 1px solid #d3d3d3;
  }
  .uv-report-brick:last-child {
      border-bottom: none;
  }
}
@media screen and (max-width: 500px) {
  .uv-action-bar label {
      display: none;
  }
  .uv-action-bar .uv-field-block.date {
      width: 100%;
      padding: 0px 0px 0px 5px;
      margin-right: 0;
  }
  .uv-action-bar .uv-field-block.date input {
      width: 100%;
  }
  .uv-inner-section .uv-action-bar .uv-action-bar-col-lt {
      padding-right: 15px;
  }
  .uv-report-chart-col-lt .uv-pannel-body {
      padding: 0;
  }
  .uv-pannel-heading select {
      width: 100px;
  }
}
    </style>

\t<div class=\"uv-inner-section\">
\t\t";
        // line 161
        $context["asideTemplate"] = "Webkul\\UVDesk\\CoreFrameworkBundle\\Dashboard\\AsideTemplate";
        // line 162
        yield "\t\t";
        $context["asideSidebarReference"] = "Webkul\\UVDesk\\CoreFrameworkBundle\\UIComponents\\Dashboard\\Panel\\Sidebars\\Reports";
        // line 163
        yield "
\t\t";
        // line 164
        yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["uvdesk_extensibles"] ?? null), "getRegisteredComponent", [($context["asideTemplate"] ?? null)], "method", false, false, false, 164), "renderSidebar", [($context["asideSidebarReference"] ?? null)], "method", false, false, false, 164);
        yield "
\t\t<div class=\"uv-view ";
        // line 165
        if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 165), "cookies", [], "any", false, false, false, 165) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 165), "cookies", [], "any", false, false, false, 165), "get", ["uv-asideView"], "method", false, false, false, 165))) {
            yield "uv-aside-view";
        }
        yield "\">
\t\t\t<h1>
\t\t\t\t";
        // line 167
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Kudos"), "html", null, true);
        yield "
\t\t\t</h1>
\t\t\t<div class=\"uv-action-bar\">
                <div class=\"uv-action-bar-col-lt\">
                    <label>";
        // line 171
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("From"), "html", null, true);
        yield "</label>  
                    <div class=\"uv-field-block date\">
                        <input type=\"text\" class=\"uv-field uv-date-picker date date-from\" value=\"";
        // line 173
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["startDate"] ?? null), "html", null, true);
        yield "\">
                    </div>
                    <label>";
        // line 175
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("To"), "html", null, true);
        yield "</label>  
                    <div class=\"uv-field-block date\">  
                        <input type=\"text\" class=\"uv-field uv-date-picker date date-to\" value=\"";
        // line 177
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["endDate"] ?? null), "html", null, true);
        yield "\">
                    </div>
                </div>
                
\t\t\t\t<div class=\"uv-action-bar-col-rt\">
\t\t\t\t\t<!-- Filter Button -->
\t\t\t\t\t<div class=\"uv-btn-stroke uv-margin-left-15 filter-view-trigger\"  data-target=\"uv-filter-view\">
                        <span class=\"uv-icon-filter\"></span>
                        ";
        // line 185
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Filter View"), "html", null, true);
        yield "
                    </div>
\t\t\t\t\t<!--// Filter Button -->
\t\t\t\t</div>
            </div>


\t\t\t<div class=\"uv-report-wrapper\">
                <div class=\"uv-report-brick-wrapper\">
                    <span class=\"uv-report-brick\">
\t\t\t\t\t\t<span class=\"uv-icon-kudos kudos-1\"></span>
                        <span class=\"uv-report-brick-count\">
                            0
                        </span>
                        <span class=\"uv-report-brick-label\">
                            ";
        // line 200
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Very Sad"), "html", null, true);
        yield "
                        </span>
                    </span>
                    <span class=\"uv-report-brick\">
\t\t\t\t\t\t<span class=\"uv-icon-kudos kudos-2\"></span>
                        <span class=\"uv-report-brick-count\">
                            0
                        </span>
                        <span class=\"uv-report-brick-label\">
                            ";
        // line 209
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sad"), "html", null, true);
        yield "
                        </span>
                    </span>
                    <span class=\"uv-report-brick\">
\t\t\t\t\t\t<span class=\"uv-icon-kudos kudos-3\"></span>
                        <span class=\"uv-report-brick-count\">
                            0
                        </span>
                        <span class=\"uv-report-brick-label\">
                            ";
        // line 218
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Neutral"), "html", null, true);
        yield "
                        </span>
                    </span>
                    <span class=\"uv-report-brick\">
\t\t\t\t\t\t<span class=\"uv-icon-kudos kudos-4\"></span>
                        <span class=\"uv-report-brick-count\">
                            0
                        </span>
                        <span class=\"uv-report-brick-label\">
                            ";
        // line 227
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Happy"), "html", null, true);
        yield "
                        </span>
                    </span>
                    <span class=\"uv-report-brick\">
\t\t\t\t\t\t<span class=\"uv-icon-kudos kudos-5\"></span>
                        <span class=\"uv-report-brick-count\">
                            0
                        </span>
                        <span class=\"uv-report-brick-label\">
                            ";
        // line 236
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Very Happy"), "html", null, true);
        yield "
                        </span>
                    </span>
                </div>

                    <div class=\"uv-action-bar\">
                        <div class=\"uv-action-bar-col-lt\">
                            <!--Sort by-->
                            <div class=\"uv-dropdown sort\">
                                <div class=\"uv-dropdown-btn uv-vertical-align uv-margin-right-5\">
                                    ";
        // line 246
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sort By:"), "html", null, true);
        yield " ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Timestamp"), "html", null, true);
        yield "
                                </div>
                                <div class=\"uv-dropdown-list uv-bottom-left\">
                                    <div class=\"uv-dropdown-container\">
                                        <label> ";
        // line 250
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sort By"), "html", null, true);
        yield "</label>
                                        <ul>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <!--Sort by-->
                        </div>
                        ";
        // line 261
        yield "                    </div>
                    <div class=\"uv-table uv-list-view\">
                        <table>
                            <thead>
                                <tr>
                                    <th>
                                        ";
        // line 267
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ticket Id"), "html", null, true);
        yield "
                                    </th>
                                    <th>
                                        ";
        // line 270
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Customer Name"), "html", null, true);
        yield "
                                    </th>
                                    <th>
                                        ";
        // line 273
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Customer Email"), "html", null, true);
        yield "
                                    </th>
                                    <th>
                                        ";
        // line 276
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Timestamp"), "html", null, true);
        yield "
                                    </th>
                                    <th class=\"uv-last\">
                                        ";
        // line 279
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Kudos Rating"), "html", null, true);
        yield "
                                    </th>

                                </tr>
                            </thead>
                            <tbody>
                            </tbody>
                        </table>
                        <div class=\"navigation\"></div>
                    </div>
\t\t\t</div>
\t\t</div>

\t\t<!-- Filter bar -->
        <div class=\"uv-filter-view\" id=\"uv-filter-view\">

            <!--/-->
            <div class=\"uv-filter-head\">\t\t\t
                <div class=\"uv-filter-title\">
                    <h6>";
        // line 298
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tickets"), "html", null, true);
        yield "</h6>
                    <span>";
        // line 299
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save set of filters as a preset to stay more productive"), "html", null, true);
        yield "</span>
                </div>
                <div class=\"uv-filter-toggle\" id=\"filter-close-trigger\">
                    <span></span>
                </div>
            </div>
            <!--//-->

            <div class=\"uv-filter-paper\">
                <!-- Filter block -->
                <div class=\"uv-filter-options\">
                    ";
        // line 310
        $context["filterContext"] = [];
        // line 311
        yield "                    <div class=\"uv-element-block\">
                        <label class=\"uv-field-label\">";
        // line 312
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Agent"), "html", null, true);
        yield "</label>
                        <div class=\"uv-field-block\" id=\"agent-filter\">
                            <input class=\"uv-field uv-dropdown-other preloaded\" type=\"text\" data-filter-type=\"agent\" id=\"agent-filter-input\">
                            <div class=\"uv-dropdown-list uv-bottom-left\">
                                <div class=\"uv-dropdown-container\">
                                    <label>";
        // line 317
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Filter With"), "html", null, true);
        yield "</label>
                            </div>
                            <ul class=\"uv-agents-list\">
                                <li class=\"uv-filter-info\">
                                    ";
        // line 321
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Type atleast 2 letters"), "html", null, true);
        yield "
                                </li>
                                <li class=\"uv-no-results\" style=\"display: none;\">
                                    ";
        // line 324
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No result found"), "html", null, true);
        yield "
                                </li>
                            </ul>
                        </div>
                            <div class=\"uv-filtered-tags\"></div>
                        </div>
                    </div>

                    <div class=\"uv-element-block\">
                        <label class=\"uv-field-label\">";
        // line 333
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Customer"), "html", null, true);
        yield "</label>
                        <div class=\"uv-field-block\" id=\"customer-filter\">
                            <input class=\"uv-field uv-dropdown-other\" type=\"text\" data-filter-type=\"customer\" id=\"customer-filter-input\">
                            <div class=\"uv-dropdown-list uv-bottom-left\">
                                <div class=\"uv-dropdown-container\">
                                    <label>";
        // line 338
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Filter With"), "html", null, true);
        yield "</label>
                                </div>
                                <ul class=\"uv-agents-list\">
                                    <li class=\"uv-filter-info\">
                                        ";
        // line 342
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Type atleast 2 letters"), "html", null, true);
        yield "
                                    </li>
                                    <li class=\"uv-no-results\" style=\"display: none;\">
                                        ";
        // line 345
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No result found"), "html", null, true);
        yield "
                                    </li>
                                </ul>
                            </div>
                            <div class=\"uv-filtered-tags\"></div>
                        </div>
                    </div>

                    <div class=\"uv-element-block\">
                        <label class=\"uv-field-label\">";
        // line 354
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("group"), "html", null, true);
        yield "</label>
                        <div class=\"uv-field-block\" id=\"group-filter\">
                            <input class=\"uv-field uv-dropdown-other preloaded\" type=\"text\" data-filter-type=\"group\" id=\"group-filter-input\">
                            <div class=\"uv-dropdown-list uv-bottom-left\">
                                <div class=\"uv-dropdown-container\">
                                    <label>";
        // line 359
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Filter With"), "html", null, true);
        yield "</label>
                                    <ul>
                                        <li class=\"uv-filter-info\">
                                            ";
        // line 362
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Type atleast 2 letters"), "html", null, true);
        yield "
                                        </li>
                                        <li class=\"uv-no-results\" style=\"display: none;\">
                                            ";
        // line 365
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No result found"), "html", null, true);
        yield "
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            <div class=\"uv-filtered-tags\"></div>
                        </div>
                    </div>

                    <div class=\"uv-element-block\">
                        <label class=\"uv-field-label\">";
        // line 375
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Team"), "html", null, true);
        yield "</label>
                        <div class=\"uv-field-block\" id=\"team-filter\">
                            <input class=\"uv-field uv-dropdown-other preloaded\" type=\"text\" data-filter-type=\"team\" id=\"team-filter-input\">
                            <div class=\"uv-dropdown-list uv-bottom-left\">
                                <div class=\"uv-dropdown-container\">
                                    <label>";
        // line 380
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Filter With"), "html", null, true);
        yield "</label>
                                    <ul>
                                        <li class=\"uv-filter-info\">
                                            ";
        // line 383
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Type atleast 2 letters"), "html", null, true);
        yield "
                                        </li>
                                        <li class=\"uv-no-results\" style=\"display: none;\">
                                            ";
        // line 386
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No result found"), "html", null, true);
        yield "
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            <div class=\"uv-filtered-tags\"></div>
                        </div>
                    </div>

                    <div class=\"uv-element-block\">
                        <label class=\"uv-field-label\">";
        // line 396
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Type"), "html", null, true);
        yield "</label>
                        <div class=\"uv-field-block\" id=\"type-filter\">
                            <input class=\"uv-field uv-dropdown-other preloaded\" type=\"text\" data-filter-type=\"type\" id=\"type-filter-input\">
                            <div class=\"uv-dropdown-list uv-bottom-left\">
                                <div class=\"uv-dropdown-container\">
                                    <label>";
        // line 401
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Filter With"), "html", null, true);
        yield "</label>
                                    <ul class=\"\">
                                        ";
        // line 403
        $context["options"] = [];
        // line 404
        yield "                                        ";
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["ticket_service"] ?? null), "getTypes", [], "method", false, false, false, 404));
        foreach ($context['_seq'] as $context["_key"] => $context["type"]) {
            // line 405
            yield "                                            ";
            $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), [["id" => CoreExtension::getAttribute($this->env, $this->source, $context["type"], "id", [], "any", false, false, false, 405), "name" => CoreExtension::getAttribute($this->env, $this->source, $context["type"], "name", [], "any", false, false, false, 405)]]);
            // line 406
            yield "                                            <li data-id=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["type"], "id", [], "any", false, false, false, 406), "html", null, true);
            yield "\">
                                                ";
            // line 407
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["type"], "name", [], "any", false, false, false, 407), "html", null, true);
            yield "
                                            </li>
                                        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['type'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 410
        yield "                                        <li class=\"uv-no-results\" style=\"display: none;\">
                                            ";
        // line 411
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No result found"), "html", null, true);
        yield "
                                        </li>
                                        ";
        // line 413
        $context["filterContext"] = Twig\Extension\CoreExtension::merge(($context["filterContext"] ?? null), ["type" => ($context["options"] ?? null)]);
        // line 414
        yield "                                    </ul>
                                </div>
                            </div>
                            <div class=\"uv-filtered-tags\"></div>
                        </div>
                    </div>

                    <div class=\"uv-element-block\">
                        <label class=\"uv-field-label\">";
        // line 422
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Priority"), "html", null, true);
        yield "</label>
                        <div class=\"uv-field-block\" id=\"priority-filter\">
                            <input class=\"uv-field uv-dropdown-other preloaded\" type=\"text\" data-filter-type=\"priority\" id=\"priority-filter-input\">
                            <div class=\"uv-dropdown-list uv-bottom-left\">
                                <div class=\"uv-dropdown-container\">
                                    <label>";
        // line 427
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Filter With"), "html", null, true);
        yield "</label>
                                    <ul class=\"\">
                                        ";
        // line 429
        $context["options"] = [];
        // line 430
        yield "                                        ";
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["ticket_service"] ?? null), "getPriorities", [], "method", false, false, false, 430));
        foreach ($context['_seq'] as $context["_key"] => $context["priority"]) {
            // line 431
            yield "                                            ";
            $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), [["id" => CoreExtension::getAttribute($this->env, $this->source, $context["priority"], "id", [], "any", false, false, false, 431), "name" => CoreExtension::getAttribute($this->env, $this->source, $context["priority"], "description", [], "any", false, false, false, 431), "color" => CoreExtension::getAttribute($this->env, $this->source, $context["priority"], "colorCode", [], "any", false, false, false, 431)]]);
            // line 432
            yield "                                            <li data-id=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["priority"], "id", [], "any", false, false, false, 432), "html", null, true);
            yield "\">
                                                ";
            // line 433
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["priority"], "description", [], "any", false, false, false, 433), "html", null, true);
            yield "
                                            </li>
                                        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['priority'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 436
        yield "                                        <li class=\"uv-no-results\" style=\"display: none;\">
                                            ";
        // line 437
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No result found"), "html", null, true);
        yield "
                                        </li>
                                        ";
        // line 439
        $context["filterContext"] = Twig\Extension\CoreExtension::merge(($context["filterContext"] ?? null), ["priority" => ($context["options"] ?? null)]);
        // line 440
        yield "                                    </ul>
                                </div>
                            </div>
                            <div class=\"uv-filtered-tags\"></div>
                        </div>
                    </div>

                <div class=\"uv-element-block\">
                        <label class=\"uv-field-label\">";
        // line 448
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Source"), "html", null, true);
        yield "</label>
                        <div class=\"uv-field-block\" id=\"source-filter\">
                            <input class=\"uv-field uv-dropdown-other preloaded\" type=\"text\" data-filter-type=\"source\" id=\"source-filter-input\">
                            <div class=\"uv-dropdown-list uv-bottom-left\">
                                <div class=\"uv-dropdown-container\">
                                    <label>";
        // line 453
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Filter With"), "html", null, true);
        yield "</label>
                                    <ul class=\"\">
                                        ";
        // line 455
        $context["options"] = [];
        // line 456
        yield "                                        ";
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["ticket_service"] ?? null), "getAllSources", [], "method", false, false, false, 456));
        foreach ($context['_seq'] as $context["key"] => $context["source"]) {
            // line 457
            yield "                                            ";
            $context["options"] = Twig\Extension\CoreExtension::merge(($context["options"] ?? null), [["id" => $context["key"], "name" => $context["source"]]]);
            // line 458
            yield "                                            <li data-id=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
            yield "\">
                                                ";
            // line 459
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["source"], "html", null, true);
            yield "
                                            </li>
                                        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['key'], $context['source'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 462
        yield "                                        <li class=\"uv-no-results\" style=\"display: none;\">
                                            ";
        // line 463
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No result found"), "html", null, true);
        yield "
                                        </li>
                                        ";
        // line 465
        $context["filterContext"] = Twig\Extension\CoreExtension::merge(($context["filterContext"] ?? null), ["source" => ($context["options"] ?? null)]);
        // line 466
        yield "                                    </ul>
                                </div>
                            </div>
                            <div class=\"uv-filtered-tags\"></div>
                        </div>
                    </div> 
                </div>
                <script type=\"text/javascript\">
                    var filterContext = ";
        // line 474
        yield json_encode(($context["filterContext"] ?? null));
        yield "
                </script>
            </div>
        </div>
\t\t<!-- //Filter bar -->
\t</div>
";
        yield from [];
    }

    // line 482
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_footer(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 483
        yield "\t";
        yield from $this->yieldParentBlock("footer", $context, $blocks);
        yield "

\t<!-- Sorting Template -->
\t<script id=\"rating_list_sorting_tmp\" type=\"text/template\">
        <li class=\"<% if(sort == 't.id') { %>uv-drop-list-active<% } %>\">
            <a href=\"#<% if(queryString != '') { %><%= queryString %>/<% } %><% if(page) { %>page/<%= page %><% } else { %>page/1<% } %>/sort/t.id/<% if(sort == 't.id') { %><% if(direction) { %>direction/<%= direction %><% } else { %>direction/desc<% } %><% } else { %>direction/asc<% } %>\" data-field=\"t.id\">
                ";
        // line 489
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ticket Id"), "html", null, true);
        yield "
            </a>
            <% if(sort == 't.id') { %>
                <span class=\"uv-sorting <% if(direction == 'asc') { %> descend <% } else { %> ascend <% } %>\"></span>
            <% } %>
        </li>
        <li class=\"<% if(sort == 'name') { %>uv-drop-list-active<% } %>\">
            <a href=\"#<% if(queryString != '') { %><%= queryString %>/<% } %><% if(page) { %>page/<%= page %><% } else { %>page/1<% } %>/sort/name/<% if(sort == 'name') { %><% if(direction) { %>direction/<%= direction %><% } else { %>direction/desc<% } %><% } else { %>direction/asc<% } %>\" data-field=\"name\">
                ";
        // line 497
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Customer Name"), "html", null, true);
        yield "
            </a>
            <% if(sort == 'name') { %>
                <span class=\"uv-sorting <% if(direction == 'asc') { %> descend <% } else { %> ascend <% } %>\"></span>
            <% } %>
        </li>
\t\t<li class=\"<% if(sort == 'c.email') { %>uv-drop-list-active<% } %>\">
            <a href=\"#<% if(queryString != '') { %><%= queryString %>/<% } %><% if(page) { %>page/<%= page %><% } else { %>page/1<% } %>/sort/c.email/<% if(sort == 'c.email') { %><% if(direction) { %>direction/<%= direction %><% } else { %>direction/desc<% } %><% } else { %>direction/asc<% } %>\" data-field=\"c.email\">
                ";
        // line 505
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Customer Email"), "html", null, true);
        yield "
            </a>
            <% if(sort == 'c.email') { %>
                <span class=\"uv-sorting <% if(direction == 'asc') { %> descend <% } else { %> ascend <% } %>\"></span>
            <% } %>
        </li>
\t\t<li class=\"<% if(sort == 'r.stars') { %>uv-drop-list-active<% } %>\">
            <a href=\"#<% if(queryString != '') { %><%= queryString %>/<% } %><% if(page) { %>page/<%= page %><% } else { %>page/1<% } %>/sort/r.stars/<% if(sort == 'r.stars') { %><% if(direction) { %>direction/<%= direction %><% } else { %>direction/desc<% } %><% } else { %>direction/asc<% } %>\" data-field=\"r.stars\">
                ";
        // line 513
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rating"), "html", null, true);
        yield "
            </a>
            <% if(sort == 'r.stars') { %>
                <span class=\"uv-sorting <% if(direction == 'asc') { %> descend <% } else { %> ascend <% } %>\"></span>
            <% } %>
        </li>
\t\t<li class=\"<% if(sort == 'r.createdAt') { %>uv-drop-list-active<% } %>\">
            <a href=\"#<% if(queryString != '') { %><%= queryString %>/<% } %><% if(page) { %>page/<%= page %><% } else { %>page/1<% } %>/sort/r.createdAt/<% if(sort == 'r.createdAt') { %><% if(direction) { %>direction/<%= direction %><% } else { %>direction/desc<% } %><% } else { %>direction/asc<% } %>\" data-field=\"r.createdAt\">
                ";
        // line 521
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Timestamp"), "html", null, true);
        yield "
            </a>
            <% if(sort == 'r.createdAt') { %>
                <span class=\"uv-sorting <% if(direction == 'asc') { %> descend <% } else { %> ascend <% } %>\"></span>
            <% } %>
        </li>
\t</script>
\t<!-- //Sorting Template -->

    <script id=\"rating_brick_tmp\" type=\"text/template\">
        <span class=\"uv-report-brick\">
\t\t\t<span class=\"uv-icon-kudos kudos-1\"></span>
\t\t\t<span class=\"uv-report-brick-count\">
\t\t\t\t<%= rating[1] %>
\t\t\t</span>
\t\t\t<span class=\"uv-report-brick-label\">
\t\t\t\t";
        // line 537
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Very Sad"), "html", null, true);
        yield "
\t\t\t</span>
\t\t</span>
\t\t<span class=\"uv-report-brick\">
\t\t\t<span class=\"uv-icon-kudos kudos-2\"></span>
\t\t\t<span class=\"uv-report-brick-count\">
\t\t\t\t<%= rating[2] %>
\t\t\t</span>
\t\t\t<span class=\"uv-report-brick-label\">
\t\t\t\t";
        // line 546
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sad"), "html", null, true);
        yield "
\t\t\t</span>
\t\t</span>
\t\t<span class=\"uv-report-brick\">
\t\t\t<span class=\"uv-icon-kudos kudos-3\"></span>
\t\t\t<span class=\"uv-report-brick-count\">
\t\t\t\t<%= rating[3] %>
\t\t\t</span>
\t\t\t<span class=\"uv-report-brick-label\">
\t\t\t\t";
        // line 555
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Neutral"), "html", null, true);
        yield "
\t\t\t</span>
\t\t</span>
\t\t<span class=\"uv-report-brick\">
\t\t\t<span class=\"uv-icon-kudos kudos-4\"></span>
\t\t\t<span class=\"uv-report-brick-count\">
\t\t\t\t<%= rating[4] %>
\t\t\t</span>
\t\t\t<span class=\"uv-report-brick-label\">
\t\t\t\t";
        // line 564
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Happy"), "html", null, true);
        yield "
\t\t\t</span>
\t\t</span>
\t\t<span class=\"uv-report-brick\">
\t\t\t<span class=\"uv-icon-kudos kudos-5\"></span>
\t\t\t<span class=\"uv-report-brick-count\">
\t\t\t\t<%= rating[5] %>
\t\t\t</span>
\t\t\t<span class=\"uv-report-brick-label\">
\t\t\t\t";
        // line 573
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Very Happy"), "html", null, true);
        yield "
\t\t\t</span>
\t\t</span>
    </script>

\t<script id=\"rated_ticket_item_tmp\" type=\"text/template\">
        <td data-value=\"";
        // line 579
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ticket Id"), "html", null, true);
        yield "\">
        \t<a class=\"bold\" href=\"";
        // line 580
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_ticket");
        yield "/<%= ticketId %>\">
            \t#<%= ticketId %>
            </a>
        </td>
        <td data-value=\"";
        // line 584
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Customer Name"), "html", null, true);
        yield "\">
        \t<a href=\"";
        // line 585
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_manage_customer_account");
        yield "/<%= customer.id %>\">
                <% if(customer.smallThumbnail != null) { %>
                    <img src=\"";
        // line 587
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 587), "scheme", [], "any", false, false, false, 587) . "://") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 587), "httpHost", [], "any", false, false, false, 587)) . $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("")), "html", null, true);
        yield "<%= customer.smallThumbnail %>\" alt=\"\"/>
                <% } else { %>
                    <img src=\"";
        // line 589
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(($context["default_customer_image_path"] ?? null)), "html", null, true);
        yield "\" alt=\"\"/>
                <% } %>
                <%- customer.name %>
            </a>
        </td>
        <td data-value=\"";
        // line 594
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Customer Email"), "html", null, true);
        yield "\">
        \t<%- customer.email %>
        </td>
        <td data-value=\"";
        // line 597
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Timestamp"), "html", null, true);
        yield "\">
        \t<%- formatedRatedAt %>
        </td>
        <td data-value=\"";
        // line 600
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Kudos Rating"), "html", null, true);
        yield "\">
\t\t\t<span class=\"kudos-text-<%= count %>\">
\t\t\t\t<%= count %> ";
        // line 602
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Star(s)"), "html", null, true);
        yield " - 
\t\t\t\t<% if(count == 1) { %>
\t\t\t\t\t";
        // line 604
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Very Sad"), "html", null, true);
        yield "
\t\t\t\t<% } else if(count == 2) { %>
\t\t\t\t\t";
        // line 606
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sad"), "html", null, true);
        yield "
\t\t\t\t<% } else if(count == 3) { %>
\t\t\t\t\t";
        // line 608
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Neutral"), "html", null, true);
        yield "
\t\t\t\t<% } else if(count == 4) { %>
\t\t\t\t\t";
        // line 610
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Happy"), "html", null, true);
        yield "
\t\t\t\t<% } else { %>
\t\t\t\t\t";
        // line 612
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Very Happy"), "html", null, true);
        yield "
\t\t\t\t<% } %>
\t\t\t</span>
        </td>
\t</script>

\t<script>
\t    \$(function() {
\t    \tvar customerPath = \"";
        // line 620
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_manage_customer_account", ["id" => "replaceId"]);
        yield "\";
\t    \tvar startGlobalDate = \"";
        // line 621
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["startDate"] ?? null), "html", null, true);
        yield "\",
\t    \tendGlobalDate = \"";
        // line 622
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["endDate"] ?? null), "html", null, true);
        yield "\";
            var date = new Date();
            var currentMonth = date.getMonth();
            var currentDate = date.getDate();
            var currentYear = date.getFullYear();
\t\t\t\$('.uv-action-bar .date').datetimepicker({
\t\t\t\tmaxDate: new Date(currentYear, currentMonth, currentDate),
                format: 'YYYY-MM-DD',
\t\t\t}).on('dp.change', function(e) {
\t\t\t\t\$('.date').removeClass('uv-field-error');
\t\t\t\tvar element = \$(e.currentTarget);
\t\t\t\tvar date = element.find('input').val();
\t\t\t\tif(new Date(\$(\".date-to\").val()) >= new Date(\$(\".date-from\").val())) {
                    achievementsView.filterReport();
                } else
\t\t\t\t\t\$('.date').addClass('uv-field-error');
\t\t    });
\t    
\t\t\tvar AchievementsView = Backbone.View.extend({
\t\t\t\tel : \$(\".uv-view\"),
\t\t\t\ttemplate : _.template(\$(\"#rating_brick_tmp\").html()),
\t\t\t    events : {
\t\t\t    \t'click .update-date' : \"filterReport\"
\t\t\t    },
\t\t\t\tfilterReport: function(e) {
\t\t\t\t\tif(new Date(\$(\".date-to\").val()) >= new Date(\$(\".date-from\").val())) {
\t\t\t\t\t\tratedTicketCollection.filterParameters.start = \$(\".date-from\").val();
\t\t\t\t\t\tratedTicketCollection.filterParameters.end = \$(\".date-to\").val();
\t\t\t\t\t\tvar queryString = app.appView.buildQuery(\$.param(ratedTicketCollection.getValidParameters()));
\t\t\t\t\t\trouter.navigate(queryString, {trigger: true});
\t\t\t\t\t}
\t\t\t    },
\t\t\t    intializeTiles : function(response) {
\t\t\t\t\tthis.\$el.find('.uv-report-brick-wrapper').html(this.template({'rating': response.data.ratings}));
\t\t\t\t},
\t\t\t});
\t\t\tvar RatedTicketModel = Backbone.Model.extend({
\t\t\t\tidAttribute : \"id\",
\t\t\t});
\t\t\tvar RatedTicketCollection = AppCollection.extend({
\t\t\t\tmodel : RatedTicketModel,
\t\t\t\turl : \"";
        // line 663
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_report_achievements_data_xhr");
        yield "\",
\t\t\t  \tfilterParameters : {
\t\t\t  \t\t\"start\" : \"\",
\t\t\t  \t\t\"end\" : \"\",
\t\t\t  \t\t\"agent\" : \"\",
\t\t\t  \t\t\"customer\" : \"\",
\t\t\t  \t\t\"priority\" : \"\",
\t\t\t  \t\t\"type\" : \"\",
\t\t\t  \t\t\"group\" : \"\",
\t\t\t  \t\t\"team\" : \"\",
\t\t\t  \t},
\t\t\t\tparseRecords: function (resp, options) {
\t\t\t\t    return resp.ratedTickets;
\t\t\t\t},
\t\t\t\tsyncData : function() {
\t\t\t\t\tapp.appView.showLoader();
\t\t\t\t\tthis.fetch({
\t\t\t\t\t\tdata : this.getValidParameters(),
\t\t                reset: true,               
\t\t                success: function(model, response) {
\t\t                \tapp.appView.hideLoader();
\t                \t\tachievementsView.intializeTiles(response)
\t\t\t\t           \tvar ratedTicketListView = new RatedTicketList();
\t\t\t\t           \t
\t\t\t\t           \tapp.pager.paginationData = response.pagination;
\t\t\t\t\t\t\tvar url = app.pager.paginationData.url;
\t\t\t\t           \tif(ratedTicketCollection.length == 0 && app.pager.paginationData.current != \"0\")
\t\t\t        \t\t\trouter.navigate(url.replace('replacePage', app.pager.paginationData.last),{trigger: true});
\t\t\t        \t\telse
\t\t\t\t        \t\tapp.pager.render();
\t\t                },
\t\t                error: function (model, xhr, options) {
\t\t                \tif(url = xhr.getResponseHeader('Location'))
\t                \t\t\twindow.location = url;
\t\t                }
\t\t            });
\t\t\t\t} 
\t\t\t});
\t\t\tvar RatedTicketItem = Backbone.View.extend({
\t\t\t\ttagName : \"tr\",
\t\t\t\ttemplate : _.template(\$(\"#rated_ticket_item_tmp\").html()),
\t\t\t    render : function() {
\t\t\t    \tthis.model.set({path:customerPath.replace('replaceId', this.model.attributes.customer.id)})
\t\t            this.\$el.html(this.template(this.model.toJSON()));
\t\t            return this;
\t\t        }
\t\t\t});
\t\t\tvar RatedTicketList = Backbone.View.extend({
\t\t\t\tel : \$(\".uv-list-view table tbody\"),
\t\t\t\tinitialize : function() {
\t\t\t        this.render();
\t\t\t    },
\t\t        render : function () {
\t\t        \tthis.\$el.html('');
\t\t        \tif(ratedTicketCollection.length) {
\t\t\t            _.each(ratedTicketCollection.models, function (item) {
\t\t\t                this.renderRatedTicket(item);
\t\t\t            }, this);
\t\t\t        } else {
\t\t\t        \tthis.\$el.append(\"<tr style='text-align: center;'><td colspan='6'>";
        // line 722
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("No Record Found", [], "messages");
        yield "</td></tr>\")
\t\t\t        }
\t\t        },
\t\t        renderRatedTicket : function (item) {
\t\t            var ratedTicketItem = new RatedTicketItem({
\t\t                model: item
\t\t            });
\t\t            this.\$el.append(ratedTicketItem.render().el);
\t\t        }
\t\t\t});
\t\t    var SideFilterModel = Backbone.Model.extend({
                updateModel: function(type,json) {
                    if(this.has(type)) {
                        context = this.get(type)
                        savedOptionsIds = [];
                        _.each(context, function (option) {
                            savedOptionsIds.push(parseInt(option.id))
                        })
                        if(jQuery.inArray(parseInt(json.id), savedOptionsIds) == -1) {
                            context.push(json);
                            this.set(type, context)
                        }
                    } else {
                        this.set(type, [json])
                    }
                },
                loadFilterOptions: function(data) {
                    var self = this;
                    \$.ajax({
                        url : \"";
        // line 751
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_ticket_collection_load_filter_options_xhr");
        yield "\",
                        type : 'POST',
                        data: data,
                        dataType : 'json',
                        success : function(response) {
                            _.each(response,function(filter,key) {
                                _.each(filter, function (item) {
                                    self.updateModel(key,item)
                                })
                            })
                            sideFilter.render();
                        },
                        error: function (xhr) {
                            if(url = xhr.getResponseHeader('Location'))
                                window.location = url;
                        }
                    });
                }
            });
            var SideFilter = Backbone.View.extend({
                el : \$(\".uv-filter-view\"),
                isRecurrsiveCalls: 0,
                isReadyFlag: 0,
                events: {
                    'change #saved-filter': 'applySavedFilter',
                    'input .uv-field-block input' : 'searchFilterOption',
                    'click .uv-dropdown-list li' : 'applyFilter',
                    'dp.change .range input': 'applyFilter',
                    'click .uv-filtered-tags .uv-btn-tag' : 'removeFilter',
                },
                loaderTemplate : _.template(\$(\"#loader-tmp\").html()),
                checkOptionAvailable: function() {
                    this.isReadyFlag = 0;
                    var self = this;
                    var fetchOptions = {};
                    _.each(ratedTicketCollection.filterParameters, function (filter,key) {
                        if(jQuery.inArray(key, ['customer','agent','group','team','source']) !== -1) {
                            if(filter != null && filter != '') {
                                filter = filter.split(',');
                                if(typeof fetchOptions[key] === 'undefined')
                                    fetchOptions[key] = [];
                                savedOptionsIds = [];
                                if(sideFilterModel.has(key)) {
                                    _.each(sideFilterModel.get(key), function (option) {
                                        savedOptionsIds.push(parseInt(option.id))
                                    })
                                }
                                _.each(filter, function (item) {
                                    if(jQuery.inArray(parseInt(item), savedOptionsIds) == -1) {
                                        fetchOptions[key].push(parseInt(item));
                                        self.isReadyFlag = 1;
                                    }
                                })
                            }
                        }
                    });
                    return fetchOptions;
                },
                render: function() {
                    fetchOptions = this.checkOptionAvailable();
                    if(this.isReadyFlag && !this.isRecurrsiveCalls) {
                        this.isReadyFlag = 0;
                        this.isRecurrsiveCalls = 1;
                        sideFilterModel.loadFilterOptions(fetchOptions)
                    } else {
                        var appliedFilterOptions = {};
                        \$('.uv-filtered-tags').html(\"\")
                        var self = this;
                        var displayFlag = 0;
                        _.each(ratedTicketCollection.filterParameters, function (filter, key) {
                            if(jQuery.inArray(key, ['customer', 'agent', 'priority', 'type', 'group', 'team', 'source']) !== -1) {
                                if(filter != null && filter != '') {
                                    displayFlag = 1;
                                    filter = filter.split(',');
                                    _.each(filter, function (value) {
                                        savedOptions = sideFilterModel.get(key)
                                        _.each(savedOptions, function (item) {
                                            if(item.id == value) {
                                                parent = \$('#'+key+'-filter')
                                                parent.find('.uv-filtered-tags').append(\"<a class='uv-btn-tag' href='#' data-id='\" + item.id + \"'>\" + item.name + \"<span class='uv-icon-remove-dark'></span></a>\")
                                                parent.find('input').val('')
                                            }
                                        })
                                    });
                                }
                            }
                        })
                    }
                },
                searchFilterOption: function(e) {
                    self = this;
                    currentElement = Backbone.\$(e.currentTarget);
                    dropdown = currentElement.siblings('.uv-dropdown-list');
                    var filterType =  currentElement.attr('data-filter-type');
                    if(jQuery.inArray(filterType, ['customer','agent','group','team']) !== -1) {
                        self.searchFilterXhr(currentElement);
                    }
                },
                searchFilterXhr: _.debounce(function(currentElement) {
                    var parent = currentElement.parent();
                    if(\$('.uv-dropdown-other.uv-dropdown-btn-active').parent().attr('id') != parent.attr('id'))
                        return;
                    
                    parent.find(\"li:not(.uv-no-results, .uv-filter-info)\").remove();
                    parent.find(\".uv-filter-info\").show()
                    if(currentElement.val().length > 1) {
                        parent.append(this.loaderTemplate())
                        parent.find('.uv-filter-info').text(\"";
        // line 858
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Searching", [], "messages");
        yield " ...\")
                        if(self.xhrReq)
                            self.xhrReq.abort();
                        self.xhrReq = \$.ajax({
                            url : \"";
        // line 862
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_ticket_collection_search_filter_options_xhr");
        yield "\",
                            type : 'GET',
                            data: {\"type\" : currentElement.attr('data-filter-type'), \"query\" : currentElement.val(), 'not' : ratedTicketCollection.filterParameters[currentElement.attr('data-filter-type')]},
                            dataType : 'json',
                            success : function(response) {
                                self.xhrReq = 0;
                                parent.find('.uv-loader').remove()
                                parent.find('.uv-filter-info').text(\"";
        // line 869
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Type atleast 2 letters"), "html", null, true);
        yield "\").hide();
                                if(response.length == 0) {
                                    parent.find('.uv-no-results').show()
                                } else {
                                    parent.find('.uv-no-results').hide();
                                    _.each(response, function(item) {
                                        if(currentElement.attr('data-filter-type') == 'customer' || currentElement.attr('data-filter-type') == 'agent') {
                                            var img = item.smallThumbnail ? \"";
        // line 876
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 876), "scheme", [], "any", false, false, false, 876) . "://") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 876), "httpHost", [], "any", false, false, false, 876)) . $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("")), "html", null, true);
        yield "\" + item.smallThumbnail : (currentElement.attr('data-filter-type') == 'customer' ? \"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(($context["default_customer_image_path"] ?? null)), "html", null, true);
        yield "\" : \"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(($context["default_agent_image_path"] ?? null)), "html", null, true);
        yield "\");
                                            parent.find('.uv-dropdown-list ul').append(\"<li data-id='\" + item.id + \"'><img src='\" + img + \"'/>\" + item.name + \"</li>\")
                                        } else
                                            parent.find('.uv-dropdown-list ul').append(\"<li data-id='\" + item.id + \"'>\" + item.name + \"</li>\")
                                    });
                                }
                            },
                            error: function (xhr) {
                                self.xhrReq = 0;
                                parent.find('.uv-loader').remove()
                                parent.find('.uv-no-results').hide();
                                parent.find('.uv-filter-info').text(\"";
        // line 887
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Type atleast 2 letters"), "html", null, true);
        yield "\").show();
                                if(url = xhr.getResponseHeader('Location'))
                                    window.location = url;
                            }
                        });
                    } else {
                        parent.find('.uv-no-results').hide();                        
                    }
                },1000),
                applyFilter: function(e) {
                    currentElement = Backbone.\$(e.currentTarget);
                    if(currentElement.attr(\"data-id\")) {
                        var flag = 1;
                        parent = currentElement.parents(\".uv-field-block\");
                        filterType = parent.find('input').attr('data-filter-type');
                        
                        if(filterType == \"customer\" || filterType == 'agent' || filterType == 'group' || filterType == 'team') {
                            sideFilterModel.updateModel(filterType, {'id': currentElement.attr('data-id'), 'name': currentElement.text()})
                            parent.find(\".uv-no-results\").hide()
                            parent.find(\".uv-filter-info\").show().text(\"";
        // line 906
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Type atleast 2 letters"), "html", null, true);
        yield "\")
                            parent.find(\"li:not(.uv-no-results, .uv-filter-info)\").remove();
                        } else {
                            if(ratedTicketCollection.filterParameters[filterType]) {
                                ids = ratedTicketCollection.filterParameters[filterType].split(',')
                                if(jQuery.inArray(currentElement.attr('data-id'), ids) !== -1)
                                    flag = 0;
                            }
                        }
                        parent.find('input').val('')
                        if(jQuery.inArray(filterType, ['priority', 'type', 'source']) !== -1) {
                            parent.find(\"li:not(.uv-no-results)\").show()
                        }
                        if(flag) {
                            parent.find('.uv-filtered-tags').append(\"<a class='uv-btn-tag' href='#' data-id='\" + currentElement.attr('data-id') + \"'>\"+currentElement.text()+\"<span class='uv-icon-remove-dark'></span></a>\")
                            ratedTicketCollection.filterParameters[filterType] = this.joinTagValues(parent.find(\".uv-filtered-tags\"));
                            var queryString = app.appView.buildQuery(\$.param(ratedTicketCollection.getValidParameters()));
                            router.navigate(queryString, {trigger: true});
                        }
                    }
                },
                removeFilter: function(e) {
                    e.preventDefault()
                    currentElement = Backbone.\$(e.currentTarget);
                    filterType = currentElement.parents('.uv-field-block').find('input').attr('data-filter-type')
                    var options = ratedTicketCollection.filterParameters[filterType];
                    options = options.split(',');
                    var index = options.indexOf(currentElement.attr('data-id'));
                    options.splice(index, 1);
                    ratedTicketCollection.filterParameters[filterType] = options.join(',');
                    currentElement.remove()
                    var queryString = app.appView.buildQuery(\$.param(ratedTicketCollection.getValidParameters()));
                    router.navigate(queryString, {trigger: true});
                },
                joinTagValues: function(parent) {
                    var ids = new Array();
                    parent.find('.uv-btn-tag').each(function() {
                        ids.push(\$(this).attr('data-id'))
                    });
                    return ids.join();
                },
                
            });
\t\t\tvar Filter = app.Filter.extend({
\t\t\t\tdefaultSortIndex: 'r.ratedAt',
\t\t\t\tsortText: \"";
        // line 951
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Sort By:", [], "messages");
        yield " \",
\t\t\t\tdefaultSortText: \"";
        // line 952
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Sort By:", [], "messages");
        yield " ";
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Timestamp", [], "messages");
        yield "\",
\t\t\t\ttemplate : _.template(\$(\"#rating_list_sorting_tmp\").html())
\t\t\t})
\t\t\tvar ratedTicketCollection = new RatedTicketCollection();
\t\t\tvar achievementsView = new AchievementsView({
\t\t\t\tmodel : ratedTicketCollection
\t\t\t});
            var sideFilterModel = new SideFilterModel(filterContext)
            var sideFilter = new SideFilter();
\t\t\tvar filter = new Filter({
\t\t\t\tcollection : ratedTicketCollection
\t\t\t});
\t\t\tRouter = Backbone.Router.extend({
\t\t    \troutes: {
\t            \t'start/:startDate(/end/:endDate)(/agent/:agent)(/customer/:customer)(/priority/:priority)(/type/:type)(/group/:group)(/team/:team)(/source/:source)(/page/:number)(/sort/:sortField)(/direction/:order)' : 'getFilteredReport',
\t            \t'' : 'getDefaultReport',
\t            },
\t            getDefaultReport : function() {
\t            \tthis.resetFilter(startGlobalDate,endGlobalDate);
\t            \tthis.fetch(null,null,null);
\t            },
\t            getFilteredReport : function(startDate,endDate,agent,customer,priority,type,group,team,source,number,sortField,order) {
\t            \tthis.resetFilter(startDate,endDate,agent,customer,priority,type,group,team,source);
\t            \tthis.fetch(number,sortField,order);
\t            },
\t            fetch : function(number,sortField,order) {
                        ratedTicketCollection.state.currentPage = number;
                        filter.sortCollection(sortField, order);
                        ratedTicketCollection.syncData();
                },
\t            resetFilter : function(startDate,endDate,agent,customer,priority,type,group,team,source) {
\t            \tratedTicketCollection.filterParameters.start = startDate;
\t            \t\$('.date-from').val(startDate)//.parent().find('.date').text(startDate);
\t\t\t\t\tratedTicketCollection.filterParameters.end = endDate;
\t\t\t\t\t\$('.date-to').val(endDate)//.parent().find('.date').text(endDate);
\t\t\t\t\tratedTicketCollection.filterParameters.agent = agent;
                \tratedTicketCollection.filterParameters.customer = customer;
                \tratedTicketCollection.filterParameters.priority = priority;
                \tratedTicketCollection.filterParameters.type = type;
                \tratedTicketCollection.filterParameters.group = group;
                \tratedTicketCollection.filterParameters.team = team;
\t\t\t\t\tratedTicketCollection.filterParameters.source = source;
\t\t\t    \tsideFilter.render()
\t            }
\t        });     
\t        router = new Router();
\t        Backbone.history.start({push_state:true});
\t    });
\t</script>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "@UVDeskCoreFramework/Reports/kudos-insights.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  1374 => 952,  1370 => 951,  1322 => 906,  1300 => 887,  1282 => 876,  1272 => 869,  1262 => 862,  1255 => 858,  1145 => 751,  1113 => 722,  1051 => 663,  1007 => 622,  1003 => 621,  999 => 620,  988 => 612,  983 => 610,  978 => 608,  973 => 606,  968 => 604,  963 => 602,  958 => 600,  952 => 597,  946 => 594,  938 => 589,  933 => 587,  928 => 585,  924 => 584,  917 => 580,  913 => 579,  904 => 573,  892 => 564,  880 => 555,  868 => 546,  856 => 537,  837 => 521,  826 => 513,  815 => 505,  804 => 497,  793 => 489,  783 => 483,  776 => 482,  764 => 474,  754 => 466,  752 => 465,  747 => 463,  744 => 462,  735 => 459,  730 => 458,  727 => 457,  722 => 456,  720 => 455,  715 => 453,  707 => 448,  697 => 440,  695 => 439,  690 => 437,  687 => 436,  678 => 433,  673 => 432,  670 => 431,  665 => 430,  663 => 429,  658 => 427,  650 => 422,  640 => 414,  638 => 413,  633 => 411,  630 => 410,  621 => 407,  616 => 406,  613 => 405,  608 => 404,  606 => 403,  601 => 401,  593 => 396,  580 => 386,  574 => 383,  568 => 380,  560 => 375,  547 => 365,  541 => 362,  535 => 359,  527 => 354,  515 => 345,  509 => 342,  502 => 338,  494 => 333,  482 => 324,  476 => 321,  469 => 317,  461 => 312,  458 => 311,  456 => 310,  442 => 299,  438 => 298,  416 => 279,  410 => 276,  404 => 273,  398 => 270,  392 => 267,  384 => 261,  373 => 250,  364 => 246,  351 => 236,  339 => 227,  327 => 218,  315 => 209,  303 => 200,  285 => 185,  274 => 177,  269 => 175,  264 => 173,  259 => 171,  252 => 167,  245 => 165,  241 => 164,  238 => 163,  235 => 162,  233 => 161,  146 => 77,  76 => 9,  69 => 8,  62 => 5,  53 => 4,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "@UVDeskCoreFramework/Reports/kudos-insights.html.twig", "/home/bmdranzo/public_html/vendor/uvdesk/core-framework/Resources/views/Reports/kudos-insights.html.twig");
    }
}
