<?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;

/* @UVDeskSupportCenter/Staff/branding.html.twig */
class __TwigTemplate_d6582b0e836a1994ea4ac907df86adf1 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", "@UVDeskSupportCenter/Staff/branding.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
    }

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

    // line 7
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_pageContent(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 8
        yield "    <style>
        .uv-image-upload-brick {
            margin: 10px 0px;
        }
        .uv-color-field {
            color: #fff;
            width: 100px;
            text-transform: uppercase;
        }
        .uv-header-link-wrapper {
            padding-bottom: 20px;
        }
        .uv-footer-link-wrapper {
            border-top: solid 1px #D3D3D3;
            padding-top: 20px;
        }
        .uv-knowledgebase-layout  {
            border-top: solid 1px #D3D3D3;
            padding-top: 20px;
            margin-top: 20px;
        }
        .uv-knowledgebase-layout input[type='radio'] {
            display: none;
        }
        #links .uv-field-block input:first-child {
            width: 200px;
            margin-bottom: 0;
        }
        #links .remove-link {
            margin-left: 10px;
        }
\t\t.grammarly-fix-broadcast {
\t\t\tmax-width: 518px;
\t\t}
        #uv-reset-colors {
            float: right;
            cursor: pointer;
            position: relative;
            z-index:1 ;
        }
    </style>

\t<div class=\"uv-inner-section\">\t\t
\t\t";
        // line 52
        yield "\t\t";
        $context["asideTemplate"] = "Webkul\\UVDesk\\CoreFrameworkBundle\\Dashboard\\AsideTemplate";
        // line 53
        yield "\t\t";
        $context["asideSidebarReference"] = "Webkul\\UVDesk\\CoreFrameworkBundle\\UIComponents\\Dashboard\\Panel\\Sidebars\\Branding";
        // line 54
        yield "
\t\t";
        // line 55
        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, 55), "renderSidebar", [($context["asideSidebarReference"] ?? null)], "method", false, false, false, 55);
        yield "

\t\t<div class=\"uv-view ";
        // line 57
        if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 57), "cookies", [], "any", false, false, false, 57) && 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, 57), "cookies", [], "any", false, false, false, 57), "get", ["uv-asideView"], "method", false, false, false, 57))) {
            yield "uv-aside-view";
        }
        yield "\">
\t\t\t<h1>";
        // line 58
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Branding"), "html", null, true);
        yield "</h1>
\t\t\t<!--Tabs-->
\t\t\t<div class=\"uv-tabs\">
\t\t\t\t<ul>
\t\t\t\t\t<li for=\"general\" ";
        // line 62
        if (((($context["type"] ?? null) == "general") || (($context["type"] ?? null) == ""))) {
            yield "class=\"uv-tab-active\"";
        }
        yield ">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("General"), "html", null, true);
        yield "</li>
\t\t\t\t\t<li for=\"knowledgebase\" ";
        // line 63
        if ((($context["type"] ?? null) == "knowledgebase")) {
            yield " class=\"uv-tab-active\"";
        }
        yield ">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Knowledgebase"), "html", null, true);
        yield "</li>
                    <li for=\"time\" ";
        // line 64
        if ((($context["type"] ?? null) == "time")) {
            yield "class=\"uv-tab-active\"";
        }
        yield ">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Time"), "html", null, true);
        yield "</li>
\t\t\t\t\t<li for=\"seo\" ";
        // line 65
        if ((($context["type"] ?? null) == "seo")) {
            yield "class=\"uv-tab-active\"";
        }
        yield ">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SEO"), "html", null, true);
        yield "</li>
\t\t\t\t\t<li for=\"links\" ";
        // line 66
        if ((($context["type"] ?? null) == "links")) {
            yield "class=\"uv-tab-active\"";
        }
        yield ">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Links"), "html", null, true);
        yield "</li>
                    <li for=\"advanced\" ";
        // line 67
        if ((($context["type"] ?? null) == "advanced")) {
            yield "class=\"uv-tab-active\"";
        }
        yield ">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Advanced"), "html", null, true);
        yield "</li>
\t\t\t\t\t<li for=\"broadcasting\" ";
        // line 68
        if ((($context["type"] ?? null) == "broadcasting")) {
            yield "class=\"uv-tab-active\"";
        }
        yield ">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Broadcast Message"), "html", null, true);
        yield "</li>                  
\t\t\t\t</ul>
\t\t\t</div>
\t\t\t<!--Tabs-->

\t\t\t<!--Tab View-->
\t\t\t<div class=\"uv-tab-view ";
        // line 74
        if (((($context["type"] ?? null) == "general") || (($context["type"] ?? null) == ""))) {
            yield "uv-tab-view-active";
        }
        yield "\" id=\"general\">
\t\t\t\t<!--Form-->
\t\t\t\t<form method=\"post\" action=\"";
        // line 76
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_knowledgebase_theme", ["type" => "general"]);
        yield "\" id=\"generalSettingForm\" enctype=\"multipart/form-data\">
                    <!-- Image block -->
                    <div class=\"uv-image-upload-wrapper uv-no-error-success-icon\">
                        <div class=\"uv-element-block\">
                            <label class=\"uv-field-label\">";
        // line 80
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Wide Logo"), "html", null, true);
        yield "</label>
                            <div class=\"uv-field-block\">
                                ";
        // line 82
        $context["isLogo"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["websiteData"] ?? null), "logo", [], "any", false, false, false, 82)) ? (1) : (0));
        // line 83
        yield "                                <div class=\"uv-image-upload-brick uv-image-upload-brick-200 ";
        if (($context["isLogo"] ?? null)) {
            yield "uv-on-drop-shadow";
        }
        yield "\" ";
        if (($context["isLogo"] ?? null)) {
            yield "style=\"border-color: transparent;\"";
        }
        yield ">
                                    <input type=\"file\" name=\"website[logo]\" id=\"uv-upload-profile\" accept=\"image/*\">
                                    <div class=\"uv-image-upload-placeholder\">
                                        <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"48\" height=\"32\" viewBox=\"0 0 48 32\">
                                            <path fill=\"#7c74f1\" fill-rule=\"evenodd\" d=\"M26.516,22.252H21.477V17.226h-3.75L24,11.031l6.269,6.195h-3.75v5.026ZM29.973,8.138A9.1,9.1,0,0,0,24,6.005a8.947,8.947,0,0,0-4.863,1.4,9.78,9.78,0,0,0-3.457,3.682A7.494,7.494,0,0,0,9,18.512a7.2,7.2,0,0,0,2.2,5.289,7.234,7.234,0,0,0,5.3,2.192H32.727A6.294,6.294,0,0,0,39,19.739,5.933,5.933,0,0,0,37.3,15.5a6.113,6.113,0,0,0-4.1-1.958A9.112,9.112,0,0,0,29.973,8.138Z\"/>
                                        </svg>
                                    </div>
                                    <img id=\"dynamic-image-upload\" ";
        // line 90
        if (($context["isLogo"] ?? null)) {
            yield " src=\"";
            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, 90), "scheme", [], "any", false, false, false, 90) . "://") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 90), "httpHost", [], "any", false, false, false, 90)) . $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("")), "html", null, true);
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["websiteData"] ?? null), "logo", [], "any", false, false, false, 90), "html", null, true);
            yield "\" ";
        }
        yield ">

                                </div>
                                <div class=\"uv-image-info-brick\">
                                    <span class=\"uv-field-info\">";
        // line 94
        yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Upload an Image (200px x 48px) in</br> PNG or JPG Format");
        yield "</span>
                                </div>
                            </div>
                            <span class=\"uv-field-info\">";
        // line 97
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("It will be shown as Logo on Knowledgebase and Helpdesk"), "html", null, true);
        yield "</span>
                        </div>
                    </div>
                    <!-- //Image block -->

                    <!-- Field -->
\t\t\t\t\t<div class=\"uv-element-block\">
\t\t\t\t\t  \t<label class=\"uv-field-label\">";
        // line 104
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Website Status"), "html", null, true);
        yield "</label>
                          <div class=\"uv-field-block\">
                            <div class=\"uv-checkbox uv-margin-top-5\">
                                <input type=\"checkbox\" name=\"website[status]\" style=\"cursor:pointer;\" ";
        // line 107
        yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "status", [], "any", false, false, false, 107)) ? ("checked=\"checked\"") : (""));
        yield " >
                                <span class=\"uv-checkbox-view\"></span>
                            </div>
                            <span class=\"uv-field-info uv-margin-top-5\">";
        // line 110
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enable front end website and knowledgebase for customer(s)"), "html", null, true);
        yield "</span>
                        </div>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- //Field -->

                    <!-- Field -->
\t\t\t\t\t<div class=\"uv-element-block\">
                        ";
        // line 118
        yield "\t\t\t\t\t  \t<label class=\"uv-field-label\">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Brand Color"), "html", null, true);
        yield "</label>
\t\t\t\t\t  \t<div class=\"uv-field-block\">
\t\t\t\t\t    \t<input name=\"website[brandColor]\" class=\"uv-field uv-color-field\" type=\"text\" value=\"";
        // line 120
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "brandColor", [], "any", false, false, false, 120)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "brandColor", [], "any", false, false, false, 120), "html", null, true)) : (yield "#7C70F4"));
        yield "\" style=\"background:";
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "brandColor", [], "any", false, false, false, 120)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "brandColor", [], "any", false, false, false, 120), "html", null, true)) : (yield "#7C70F4"));
        yield "\" placeholder=\"#7C70F4\">
\t\t\t\t\t  \t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- //Field -->
                    
\t\t\t\t\t<!-- Field -->
\t\t\t\t\t<div class=\"uv-element-block\">
\t\t\t\t\t  \t<label class=\"uv-field-label\">";
        // line 127
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Name"), "html", null, true);
        yield "</label>
\t\t\t\t\t  \t<div class=\"uv-field-block\">
\t\t\t\t\t    \t<input name=\"website[name]\" class=\"uv-field\" type=\"text\" value=\"";
        // line 129
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["websiteData"] ?? null), "name", [], "any", false, false, false, 129)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["websiteData"] ?? null), "name", [], "any", false, false, false, 129), "html", null, true)) : (yield ""));
        yield "\">
\t\t\t\t\t  \t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- //Field -->

                    <!-- Field -->
\t\t\t\t\t<div class=\"uv-element-block\">
\t\t\t\t\t  \t<label class=\"uv-field-label\">";
        // line 136
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Default Language (Optional)"), "html", null, true);
        yield "</label>
\t\t\t\t\t  \t<div class=\"uv-field-block\">
                            <select name=\"defaultLocale\" class=\"uv-select\">
                                <option value=\"\">";
        // line 139
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Select default language"), "html", null, true);
        yield "</option>
                                ";
        // line 140
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["uvdesk_service"] ?? null), "getLocalesList", [], "method", false, false, false, 140));
        foreach ($context['_seq'] as $context["localeCode"] => $context["localeName"]) {
            // line 141
            yield "                                    <option value=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["localeCode"], "html", null, true);
            yield "\" ";
            yield (((($context["locales"] ?? null) == $context["localeCode"])) ? ("selected='selected'") : (""));
            yield ">";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["localeName"], "html", null, true);
            yield "</option>
                                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['localeCode'], $context['localeName'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 143
        yield "                            </select>
\t\t\t\t\t  \t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- //Field -->

\t\t\t\t\t<!--CTA-->
\t\t\t\t\t<input class=\"uv-btn general-btn\" href=\"#\" value=\"";
        // line 149
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save Changes"), "html", null, true);
        yield "\" type=\"button\">
\t\t\t\t\t<!--//CTA-->
\t\t\t\t</form>
\t\t\t\t<!--//Form-->
\t\t\t</div>
\t\t\t<!--//Tab View-->

\t\t\t<!--Tab View-->
            <div class=\"uv-tab-view ";
        // line 157
        if ((($context["type"] ?? null) == "knowledgebase")) {
            yield "uv-tab-view-active";
        }
        yield "\" id=\"knowledgebase\">
                <!--Form-->
\t\t\t\t<form method=\"post\" action=\"";
        // line 159
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_knowledgebase_theme", ["type" => "knowledgebase"]);
        yield "\" id=\"knowledgebaseForm\">
                    <!-- Field -->
\t\t\t\t\t<div class=\"uv-element-block\">
                        <span  id=\"uv-reset-colors\" class=\"uv-icon-history\" data-toggle=\"tooltip\" data-placement=\"right\" title=\"";
        // line 162
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Use Default Colors"), "html", null, true);
        yield "\"></span>
                        ";
        // line 164
        yield "\t\t\t\t\t  \t<label class=\"uv-field-label\">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Page Background Color"), "html", null, true);
        yield "</label>
\t\t\t\t\t  \t<div class=\"uv-field-block\">
\t\t\t\t\t    \t<input name=\"website[pageBackgroundColor]\" class=\"uv-field uv-color-field\" type=\"text\" value=\"";
        // line 166
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "pageBackgroundColor", [], "any", false, false, false, 166), "html", null, true);
        yield "\" style=\"background: ";
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "pageBackgroundColor", [], "any", false, false, false, 166)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "pageBackgroundColor", [], "any", false, false, false, 166), "html", null, true)) : (yield "#FFFFFF"));
        yield "\">
\t\t\t\t\t  \t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- //Field -->

                    <!-- Field -->
\t\t\t\t\t<div class=\"uv-element-block\">
                        ";
        // line 174
        yield "\t\t\t\t\t  \t<label class=\"uv-field-label\">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Header Background Color"), "html", null, true);
        yield "</label>
\t\t\t\t\t  \t<div class=\"uv-field-block\">
\t\t\t\t\t    \t<input name=\"website[headerBackgroundColor]\" class=\"uv-field uv-color-field\" type=\"text\" value=\"";
        // line 176
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "headerBackgroundColor", [], "any", false, false, false, 176)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "headerBackgroundColor", [], "any", false, false, false, 176), "html", null, true)) : (yield "#FFFFFF"));
        yield "\" style=\"background: ";
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "pageBackgroundColor", [], "any", false, false, false, 176)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "headerBackgroundColor", [], "any", false, false, false, 176), "html", null, true)) : (yield "#FFFFFF"));
        yield "\">
\t\t\t\t\t  \t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- //Field -->

                    <!-- Field -->
\t\t\t\t\t<div class=\"uv-element-block\">
                        ";
        // line 184
        yield "\t\t\t\t\t  \t<label class=\"uv-field-label\">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Banner Background Color"), "html", null, true);
        yield "</label>
\t\t\t\t\t  \t<div class=\"uv-field-block\">
\t\t\t\t\t    \t<input name=\"website[bannerBackgroundColor]\" class=\"uv-field uv-color-field\" type=\"text\" value=\"";
        // line 186
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "bannerBackgroundColor", [], "any", false, false, false, 186)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "bannerBackgroundColor", [], "any", false, false, false, 186), "html", null, true)) : (yield "#70B5F4"));
        yield "\" style=\"background: ";
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "bannerBackgroundColor", [], "any", false, false, false, 186)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "bannerBackgroundColor", [], "any", false, false, false, 186), "html", null, true)) : (yield "#70B5F4"));
        yield "\">
\t\t\t\t\t  \t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- //Field -->

                    <!-- Field -->
\t\t\t\t\t<div class=\"uv-element-block\">
                        ";
        // line 194
        yield "\t\t\t\t\t  \t<label class=\"uv-field-label\">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Page Link Color"), "html", null, true);
        yield "</label>
\t\t\t\t\t  \t<div class=\"uv-field-block\">
\t\t\t\t\t    \t<input name=\"website[linkColor]\" class=\"uv-field uv-color-field\" type=\"text\" value=\"";
        // line 196
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "linkColor", [], "any", false, false, false, 196)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "linkColor", [], "any", false, false, false, 196), "html", null, true)) : (yield "#C427A1"));
        yield "\" style=\"background: ";
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "linkColor", [], "any", false, false, false, 196)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "linkColor", [], "any", false, false, false, 196), "html", null, true)) : (yield "#C427A1"));
        yield "\">
\t\t\t\t\t  \t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- //Field -->

                    <!-- Field -->
\t\t\t\t\t<div class=\"uv-element-block\">
                        ";
        // line 204
        yield "\t\t\t\t\t  \t<label class=\"uv-field-label\">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Page Link Hover Color"), "html", null, true);
        yield "</label>
\t\t\t\t\t  \t<div class=\"uv-field-block\">
\t\t\t\t\t    \t<input name=\"website[linkHoverColor]\" class=\"uv-field uv-color-field\" type=\"text\" value=\"";
        // line 206
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "linkHoverColor", [], "any", false, false, false, 206)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "linkHoverColor", [], "any", false, false, false, 206), "html", null, true)) : (yield "#2750C4"));
        yield "\" style=\"background: ";
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "linkColor", [], "any", false, false, false, 206)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "linkHoverColor", [], "any", false, false, false, 206), "html", null, true)) : (yield "#2750C4"));
        yield "\">
\t\t\t\t\t  \t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- //Field -->

                    <!-- Field -->
\t\t\t\t\t<div class=\"uv-element-block\">
                        ";
        // line 214
        yield "\t\t\t\t\t  \t<label class=\"uv-field-label\">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Article Text Color"), "html", null, true);
        yield "</label>
\t\t\t\t\t  \t<div class=\"uv-field-block\">
\t\t\t\t\t    \t<input name=\"website[articleTextColor]\" class=\"uv-field uv-color-field\" type=\"text\" value=\"";
        // line 216
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "articleTextColor", [], "any", false, false, false, 216)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "articleTextColor", [], "any", false, false, false, 216), "html", null, true)) : (yield "#333333"));
        yield "\" style=\"background: ";
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "linkColor", [], "any", false, false, false, 216)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "articleTextColor", [], "any", false, false, false, 216), "html", null, true)) : (yield "#333333"));
        yield "\">
\t\t\t\t\t  \t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- //Field -->

                    <!-- Field -->
\t\t\t\t\t<div class=\"uv-element-block\">
\t\t\t\t\t  \t<label class=\"uv-field-label\">";
        // line 223
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tag Line"), "html", null, true);
        yield "</label>
\t\t\t\t\t  \t<div class=\"uv-field-block\">
\t\t\t\t\t    \t<input name=\"website[siteDescription]\" class=\"uv-field\" type=\"text\" value=\"";
        // line 225
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "siteDescription", [], "any", false, false, false, 225)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "siteDescription", [], "any", false, false, false, 225), "html", null, true)) : (yield ""));
        yield "\" placeholder=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Hi! how can we help?"), "html", null, true);
        yield " \">
\t\t\t\t\t  \t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- //Field -->

                    <div class=\"uv-knowledgebase-layout uv-no-error-success-icon\">
                        <div class=\"uv-element-block\">
                            <label class=\"uv-field-label\">";
        // line 232
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Layout "), "html", null, true);
        yield "</label>
                            <div class=\"uv-layout-icon-wrapper\">
                                <label for=\"homepage-masonry\" class=\"uv-layout-icon uv-layout-grid ";
        // line 234
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 234) && (CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 234) == "masonry"))) {
            yield "uv-layout-icon-active";
        }
        yield "\" data-toggle=\"tooltip\" title=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Masonry"), "html", null, true);
        yield "\"></label>
                                <input name=\"website[homepageContent]\" type=\"radio\" id=\"homepage-masonry\" value=\"masonry\" ";
        // line 235
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 235) && (CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 235) == "masonry"))) {
            yield "checked";
        }
        yield "/>

                                <label for=\"homepage-folder\" class=\"uv-layout-icon uv-layout-folder ";
        // line 237
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 237) && (CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 237) == "folder"))) {
            yield "uv-layout-icon-active";
        }
        yield "\" data-toggle=\"tooltip\" title=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Folder"), "html", null, true);
        yield "\"></label>
                                <input name=\"website[homepageContent]\" type=\"radio\" id=\"homepage-folder\" value=\"folder\" ";
        // line 238
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 238) && (CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 238) == "folder"))) {
            yield "checked";
        }
        yield "/>

                                <label for=\"homepage-category\" class=\"uv-layout-icon uv-layout-category ";
        // line 240
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 240) && (CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 240) == "category"))) {
            yield "uv-layout-icon-active";
        }
        yield "\" data-toggle=\"tooltip\" title=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Category"), "html", null, true);
        yield "\"></label>
                                <input name=\"website[homepageContent]\" type=\"radio\" id=\"homepage-category\" value=\"category\" ";
        // line 241
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 241) && (CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 241) == "category"))) {
            yield "checked";
        }
        yield "/>

                                <label for=\"homepage-article\" class=\"uv-layout-icon uv-layout-article ";
        // line 243
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 243) && (CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 243) == "article"))) {
            yield "uv-layout-icon-active";
        }
        yield "\" data-toggle=\"tooltip\" title=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Popular Article"), "html", null, true);
        yield "\"></label>
                                <input name=\"website[homepageContent]\" type=\"radio\" id=\"homepage-article\" value=\"article\" ";
        // line 244
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 244) && (CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "homepageContent", [], "any", false, false, false, 244) == "article"))) {
            yield "checked";
        }
        yield "/>
                            </div>
                        </div>

                        <!-- Field -->
                        <div class=\"uv-element-block\" style=\"margin: 20px 0\">
                            <label>
                                <div class=\"uv-checkbox\">
                                    <input name=\"website[ticketCreateOption]\" type=\"checkbox\" ";
        // line 252
        yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "ticketCreateOption", [], "any", false, false, false, 252)) ? ("checked=\"checked\"") : (""));
        yield " />
                                    <span class=\"uv-checkbox-view\"></span>
                                </div>
                                <span class=\"uv-checkbox-label\">";
        // line 255
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ticket Create Option"), "html", null, true);
        yield "</span>
                            </label>
                        </div>
\t\t\t\t\t    <!-- //Field -->

                        <!-- Field -->
                        <div class=\"uv-element-block\" style=\"margin: 20px 0\">
                            <label>
                                <div class=\"uv-checkbox\">
                                    <input name=\"website[loginRequiredToCreate]\" type=\"checkbox\" ";
        // line 264
        yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "loginRequiredToCreate", [], "any", false, false, false, 264)) ? ("checked=\"checked\"") : (""));
        yield "/>
                                    <span class=\"uv-checkbox-view\"></span>
                                </div>
                                <span class=\"uv-checkbox-label\">";
        // line 267
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Login Required To Create Tickets"), "html", null, true);
        yield "</span>
                            </label>
                        </div>
\t\t\t\t\t    <!-- //Field -->

                        <!-- Field -->
                        <div class=\"uv-element-block\" style=\"margin: 20px 0\">
                            <label>
                                <div class=\"uv-checkbox\">
                                    <input name=\"website[removeCustomerLoginButton]\" type=\"checkbox\" value=\"1\" ";
        // line 276
        yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "removeCustomerLoginButton", [], "any", false, false, false, 276)) ? ("checked=\"checked\"") : (""));
        yield " />
                                    <span class=\"uv-checkbox-view\"></span>
                                </div>
                                <span class=\"uv-checkbox-label\">";
        // line 279
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Remove Customer Login/Signin Button"), "html", null, true);
        yield "</span>
                            </label>
                        </div>
                        <!-- //Field -->

                        <!-- Field -->
                        <div class=\"uv-element-block\" style=\"margin: 20px 0\">
                            <label>
                                <div class=\"uv-checkbox\">
                                    <input name=\"website[disableCustomerLogin]\" type=\"checkbox\" value=\"1\" ";
        // line 288
        yield ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "disableCustomerLogin", [], "any", false, false, false, 288)) ? ("checked=\"checked\"") : (""));
        yield " />
                                    <span class=\"uv-checkbox-view\"></span>
                                </div>
                                <span class=\"uv-checkbox-label\">";
        // line 291
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Disable Customer Login"), "html", null, true);
        yield "</span>
                            </label>
                        </div>
                        <!-- //Field -->
                    </div>

                    <!-- CSRF token Field -->
                    ";
        // line 299
        yield "                    <!-- //CSRF token Field -->

\t\t\t\t\t<!--CTA-->
\t\t\t\t\t<input class=\"uv-btn knowledgebase-btn\" href=\"#\" value=\"";
        // line 302
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save Changes"), "html", null, true);
        yield "\" type=\"button\">
\t\t\t\t\t<!--//CTA-->
                </form>
\t\t\t</div>
\t\t\t<!--//Tab View-->

            <!--Tab View-->
            <div class=\"uv-tab-view ";
        // line 309
        if ((($context["type"] ?? null) == "seo")) {
            yield "uv-tab-view-active";
        }
        yield "\" id=\"seo\">
                <form method=\"post\" action=\"";
        // line 310
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_knowledgebase_theme", ["type" => "seo"]);
        yield "\" id=\"seoForm\">

\t\t\t\t\t<!-- Field -->
                    <div class=\"uv-element-block\">
                        <label class=\"uv-field-label\">";
        // line 314
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Meta Description (Recommended)"), "html", null, true);
        yield "</label>
                        <div class=\"uv-field-block\">
                            <textarea name=\"metaDescription\" class=\"uv-field\">";
        // line 316
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "metaDescription", [], "any", false, false, false, 316)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "metaDescription", [], "any", false, false, false, 316), "html", null, true)) : (yield ""));
        yield "</textarea>
                        </div>
                    </div>
\t\t\t\t\t<!-- //Field -->

                    <!-- Field -->
                    <div class=\"uv-element-block\">
                        <label class=\"uv-field-label\">";
        // line 323
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Meta Keywords (Recommended)"), "html", null, true);
        yield "</label>
                        <div class=\"uv-field-block\">
                            <textarea name=\"metaKeywords\" class=\"uv-field\">";
        // line 325
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "metaKeywords", [], "any", false, false, false, 325)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "metaKeywords", [], "any", false, false, false, 325), "html", null, true)) : (yield ""));
        yield "</textarea>
                        </div>
                    </div>
\t\t\t\t\t<!-- //Field -->

                    <!-- CSRF token Field -->
                    <input type=\"hidden\" name=\"_token\" value=\"\"/>
                    <!-- //CSRF token Field -->

\t\t\t\t\t<!--CTA-->
\t\t\t\t\t<input class=\"uv-btn seo-btn\" href=\"#\" value=\"";
        // line 335
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save Changes"), "html", null, true);
        yield "\" type=\"button\">
\t\t\t\t\t<!--//CTA-->
                </form>
\t\t\t</div>
\t\t\t<!--//Tab View-->

            <!--Tab View-->
            <div class=\"uv-tab-view ";
        // line 342
        if ((($context["type"] ?? null) == "links")) {
            yield "uv-tab-view-active";
        }
        yield "\" id=\"links\">
                <form method=\"post\" action=\"";
        // line 343
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_knowledgebase_theme", ["type" => "links"]);
        yield "\" id=\"linksForm\" class=\"uv-no-error-success-icon\">

                    <div class=\"uv-header-link-wrapper\">
                        <div class=\"links\">
                            ";
        // line 347
        if (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "headerLinks", [], "any", false, false, false, 347))) {
            // line 348
            yield "                                ";
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "headerLinks", [], "any", false, false, false, 348));
            foreach ($context['_seq'] as $context["key"] => $context["link"]) {
                // line 349
                yield "                                    <!-- Field -->
                                    <div class=\"uv-element-block\">
                                        <label class=\"uv-field-label\">";
                // line 351
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Header Link"), "html", null, true);
                yield " #";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
                yield "</label>
                                        <div class=\"uv-field-block\">
                                            <input type=\"text\" class=\"uv-field\" name=\"headerLinks[";
                // line 353
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
                yield "][label]\" value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["link"], "label", [], "any", false, false, false, 353), "html", null, true);
                yield "\"  placeholder=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Label"), "html", null, true);
                yield "\"/>
                                            <input type=\"text\" class=\"uv-field\" name=\"headerLinks[";
                // line 354
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
                yield "][url]\" value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["link"], "url", [], "any", false, false, false, 354), "html", null, true);
                yield "\"  placeholder=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("URL (with http:// or https://)"), "html", null, true);
                yield "\" />
                                            <a class=\"uv-btn-tag remove-link\" href=\"#\"><span class=\"uv-icon-remove-dark-box\"></span></a>
                                        </div>
                                    </div>
                                    <!-- //Field -->
                                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['key'], $context['link'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 360
            yield "                            ";
        } else {
            // line 361
            yield "                                <!-- Field -->
                                <div class=\"uv-element-block\">
                                    <label class=\"uv-field-label\">";
            // line 363
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Header Link"), "html", null, true);
            yield " #1</label>
                                    <div class=\"uv-field-block\">
                                        <input type=\"text\" class=\"uv-field\" name=\"headerLinks[1][label]\" placeholder=\"";
            // line 365
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Label"), "html", null, true);
            yield "\" />
                                        <input type=\"text\" class=\"uv-field\" name=\"headerLinks[1][url]\" placeholder=\"";
            // line 366
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("URL (with http:// or https://)"), "html", null, true);
            yield "\" />
                                        <a class=\"uv-btn-tag remove-link\" href=\"#\"><span class=\"uv-icon-remove-dark-box\"></span></a>
                                    </div>
                                </div>
                                <!-- //Field -->
                            ";
        }
        // line 372
        yield "                        </div>

                        <a class=\"uv-btn-tag btn-add\" href=\"#\" data-type=\"header\">
                            <span class=\"uv-icon-add-dark\"></span> ";
        // line 375
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add More"), "html", null, true);
        yield "
                        </a>
                    </div>

                    <div class=\"uv-footer-link-wrapper\">
                        <div class=\"links\">
                            ";
        // line 381
        if (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "footerLinks", [], "any", false, false, false, 381))) {
            // line 382
            yield "                                ";
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "footerLinks", [], "any", false, false, false, 382));
            foreach ($context['_seq'] as $context["key"] => $context["link"]) {
                // line 383
                yield "                                    <!-- Field -->
                                    <div class=\"uv-element-block\">
                                        <label class=\"uv-field-label\">";
                // line 385
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Footer Link"), "html", null, true);
                yield " #";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
                yield "</label>
                                        <div class=\"uv-field-block\">
                                            <input type=\"text\" class=\"uv-field\" name=\"footerLinks[";
                // line 387
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
                yield "][label]\" value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["link"], "label", [], "any", false, false, false, 387), "html", null, true);
                yield "\"  placeholder=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Label"), "html", null, true);
                yield "\"/>
                                            <input type=\"text\" class=\"uv-field\" name=\"footerLinks[";
                // line 388
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
                yield "][url]\" value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["link"], "url", [], "any", false, false, false, 388), "html", null, true);
                yield "\"  placeholder=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("URL (with http:// or https://)"), "html", null, true);
                yield "\" />
                                            <a class=\"uv-btn-tag remove-link\" href=\"#\"><span class=\"uv-icon-remove-dark-box\"></span></a>
                                        </div>
                                    </div>
                                    <!-- //Field -->
                                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['key'], $context['link'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 394
            yield "                            ";
        } else {
            // line 395
            yield "                                <!-- Field -->
                                <div class=\"uv-element-block\">
                                    <label class=\"uv-field-label\">";
            // line 397
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Footer Link"), "html", null, true);
            yield " #1</label>
                                    <div class=\"uv-field-block\">
                                        <input type=\"text\" class=\"uv-field\" name=\"footerLinks[1][label]\" placeholder=\"";
            // line 399
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Label"), "html", null, true);
            yield "\" />
                                        <input type=\"text\" class=\"uv-field\" name=\"footerLinks[1][url]\" placeholder=\"";
            // line 400
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("URL (with http:// or https://)"), "html", null, true);
            yield "\" />
                                        <a class=\"uv-btn-tag remove-link\" href=\"#\"><span class=\"uv-icon-remove-dark-box\"></span></a>
                                    </div>
                                </div>
                                <!-- //Field -->
                            ";
        }
        // line 406
        yield "
                        </div>

                        <a class=\"uv-btn-tag btn-add\" href=\"#\" data-type=\"footer\">
                            <span class=\"uv-icon-add-dark\"></span> ";
        // line 410
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Add More"), "html", null, true);
        yield "
                        </a>
                    </div>

                    <!--CTA-->
                    <input class=\"uv-btn links-btn\" style=\"margin-top: 15px;\" href=\"#\" value=\"";
        // line 415
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save Changes"), "html", null, true);
        yield "\" type=\"button\">
                    <!--//CTA-->
                </form>
            </div>
            <!--//Tab View-->


                <!--Tab View-->
                <div class=\"uv-tab-view ";
        // line 423
        if ((($context["type"] ?? null) == "advanced")) {
            yield "uv-tab-view-active";
        }
        yield "\" id=\"advanced\">
                    <form method=\"post\" action=\"";
        // line 424
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_knowledgebase_theme", ["type" => "advanced"]);
        yield "\" id=\"advancedForm\">
                        <!-- Field -->
                        <div class=\"uv-element-block\">
                            <label class=\"uv-field-label\">";
        // line 427
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Custom CSS (Optional)"), "html", null, true);
        yield "</label>
                            <div class=\"uv-field-block\">
                                <textarea name=\"customCSS\" class=\"uv-field\">";
        // line 429
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "customCSS", [], "any", false, false, false, 429), "html", null, true);
        yield "</textarea>
                            </div>
                            <span class=\"uv-field-info\">";
        // line 431
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("It will be add to the frontend knowledgebase only"), "html", null, true);
        yield "</span>
                        </div>
                        <!-- //Field -->

                        <!-- Field -->
                        <div class=\"uv-element-block\">
                            <label class=\"uv-field-label\">";
        // line 437
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Custom Javascript (Optional)"), "html", null, true);
        yield "</label>
                            <div class=\"uv-field-block\">
                                <textarea name=\"script\" class=\"uv-field\">";
        // line 439
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["configuration"] ?? null), "script", [], "any", false, false, false, 439), "html", null, true);
        yield "</textarea>
                            </div>
                            <span class=\"uv-field-info\">";
        // line 441
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("It will be add to the frontend knowledgebase only"), "html", null, true);
        yield "</span>
                        </div>
                        <!-- //Field -->

                        <!-- CSRF token Field -->
                        <input type=\"hidden\" name=\"form[_token]\" value=\"";
        // line 446
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["uvdesk_service"] ?? null), "generateCsrfToken", ["form"], "method", false, false, false, 446), "html", null, true);
        yield "\"/>
                        <!-- //CSRF token Field -->

                        <!--CTA-->
                        <input class=\"uv-btn advanced-btn\" href=\"#\" value=\"";
        // line 450
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save Changes"), "html", null, true);
        yield "\" type=\"button\">
                        <!--//CTA-->
                    </form>
                </div>
                <!--//Tab View-->
        
            <!--Tab View-->
            <div class=\"uv-tab-view ";
        // line 457
        if ((($context["type"] ?? null) == "broadcasting")) {
            yield "uv-tab-view-active";
        }
        yield "\" id=\"broadcasting\">
                ";
        // line 459
        yield "                <form method=\"post\" action=\"";
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_knowledgebase_theme", ["type" => "broadcasting"]);
        yield "\" id=\"broadcastingForm\">
                    <!-- Field -->
                    <div class=\"uv-element-block\">
                        <label class=\"uv-field-label\">";
        // line 462
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Broadcast Message"), "html", null, true);
        yield "</label>
                        <div class=\"uv-field-block\">
                            <textarea name=\"broadcasting[message]\" class=\"uv-field grammarly-fix-broadcast\">";
        // line 464
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["broadcast"] ?? null), "message", [], "any", true, true, false, 464)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["broadcast"] ?? null), "message", [], "any", false, false, false, 464), "html", null, true)) : (yield ""));
        yield "</textarea>
                        </div>
                        <span class=\"uv-field-info\">";
        // line 466
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Broadcast message content to show on helpdesk"), "html", null, true);
        yield "</span>
                    </div>
                    <!-- //Field -->

                    <!-- Field -->
                    <div class=\"uv-element-block\">
                        <label>";
        // line 472
        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\" name=\"broadcasting[from]\" class=\"uv-field datetime date-from uv-cal-icon\" value=\"";
        // line 474
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["broadcast"] ?? null), "from", [], "any", true, true, false, 474)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["broadcast"] ?? null), "from", [], "any", false, false, false, 474), "html", null, true)) : (yield ""));
        yield "\">
                        </div>
                        <label>";
        // line 476
        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\" name=\"broadcasting[to]\" class=\"uv-field datetime date-to uv-cal-icon\" value=\"";
        // line 478
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["broadcast"] ?? null), "to", [], "any", true, true, false, 478)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["broadcast"] ?? null), "to", [], "any", false, false, false, 478), "html", null, true)) : (yield ""));
        yield "\">
                        </div>
                        <span class=\"uv-field-info\">";
        // line 480
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Time duration between which message will be displayed(if applicable)"), "html", null, true);
        yield "</span>
                    </div>
                    <!-- //Field -->
                    <div class=\"uv-element-block\">
                        <label class=\"uv-field-label\">";
        // line 484
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Broadcasting Status"), "html", null, true);
        yield "</label>
                        <div class=\"uv-element-block\">
                            <label>
                                <div class=\"uv-checkbox\">
                                    <input type=\"checkbox\" name=\"broadcasting[isActive]\" value=\"";
        // line 488
        yield ((( !Twig\Extension\CoreExtension::testEmpty(($context["broadcast"] ?? null)) && CoreExtension::getAttribute($this->env, $this->source, ($context["broadcast"] ?? null), "isActive", [], "any", false, false, false, 488))) ? (1) : (0));
        yield "\" ";
        yield ((( !Twig\Extension\CoreExtension::testEmpty(($context["broadcast"] ?? null)) && CoreExtension::getAttribute($this->env, $this->source, ($context["broadcast"] ?? null), "isActive", [], "any", false, false, false, 488))) ? ("checked") : (""));
        yield ">
                                    <span class=\"uv-checkbox-view\"></span>
                                </div>
                                <span class=\"uv-checkbox-label\">";
        // line 491
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Broadcasting is Active"), "html", null, true);
        yield "</span>
                            </label>
                        </div>
                    </div>
                    <!-- CSRF token Field -->
                    <input type=\"hidden\" name=\"form[_token]\" value=\"\"/>
                    <!-- //CSRF token Field -->

                    <!--CTA-->
                    <input class=\"uv-btn broadcasting-btn \" href=\"#\" value=\"";
        // line 500
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save Changes"), "html", null, true);
        yield "\" type=\"button\">
                    <!--//CTA-->
                </form>
            </div>
            <!--//Tab View-->

            <!--Tab View-->
\t\t\t<div class=\"uv-tab-view ";
        // line 507
        if ((($context["type"] ?? null) == "time")) {
            yield "uv-tab-view-active";
        }
        yield "\" id=\"time\">
\t\t\t\t<!--Form-->
                
\t\t\t\t<form method=\"post\" action=\"";
        // line 510
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_member_knowledgebase_theme", ["type" => "time"]);
        yield "\" id=\"timeSettingForm\">
\t\t\t\t\t<!-- Field -->
\t\t\t\t\t<div class=\"uv-element-block\">
\t\t\t\t\t\t<label class=\"uv-field-label\">";
        // line 513
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Timezone"), "html", null, true);
        yield "</label>
\t\t\t\t\t\t<div class=\"uv-field-block\">
\t\t\t\t\t\t    <select name=\"form[timezone]\" class=\"uv-select\">
\t\t\t\t\t\t        ";
        // line 516
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["uvdesk_service"] ?? null), "getTimezones", [], "method", false, false, false, 516));
        foreach ($context['_seq'] as $context["_key"] => $context["timezone"]) {
            // line 517
            yield "\t\t\t\t\t\t        \t<option value=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["timezone"], "html", null, true);
            yield "\" ";
            if ((CoreExtension::getAttribute($this->env, $this->source, ($context["websiteData"] ?? null), "timezone", [], "any", false, false, false, 517) == $context["timezone"])) {
                yield "selected";
            }
            yield ">";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["timezone"], "html", null, true);
            yield "</option>
\t\t\t\t\t\t    \t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['timezone'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 519
        yield "\t\t\t\t\t\t    </select>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<span class=\"uv-field-info\">";
        // line 521
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Choose a default company timezone"), "html", null, true);
        yield "</span>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- //Field -->

\t\t\t\t\t<!-- Field -->
\t\t\t\t\t<div class=\"uv-element-block\">
\t\t\t\t\t\t<label class=\"uv-field-label\">";
        // line 527
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Date Time Format"), "html", null, true);
        yield "</label>
\t\t\t\t\t\t<div class=\"uv-field-block\">
\t\t\t\t\t\t    <select name=\"form[timeFormat]\" class=\"uv-select\">
\t\t\t\t\t\t        ";
        // line 530
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["uvdesk_service"] ?? null), "getTimeFormats", [], "method", false, false, false, 530));
        foreach ($context['_seq'] as $context["key"] => $context["timeFormat"]) {
            // line 531
            yield "\t\t\t\t\t\t        \t<option value=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
            yield "\" ";
            if ((CoreExtension::getAttribute($this->env, $this->source, ($context["websiteData"] ?? null), "timeFormat", [], "any", false, false, false, 531) == $context["key"])) {
                yield "selected";
            }
            yield ">";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["timeFormat"], "html", null, true);
            yield "</option>
\t\t\t\t\t\t    \t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['key'], $context['timeFormat'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 533
        yield "\t\t\t\t\t\t    </select>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<span class=\"uv-field-info\">";
        // line 535
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Choose a format to convert date to specified date time format"), "html", null, true);
        yield "</span>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- //Field -->

\t\t\t\t\t<!--CTA-->
\t\t\t\t\t<input class=\"uv-btn timezone-btn\" href=\"#\" value=\"";
        // line 540
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save Changes"), "html", null, true);
        yield "\" type=\"button\">
\t\t\t\t\t<!--//CTA-->
\t\t\t\t</form>
\t\t\t\t<!--//Form-->
\t\t\t</div>
\t\t\t<!--//Tab View-->

\t\t</div>
\t</div>
";
        yield from [];
    }

    // line 551
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_footer(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 552
        yield "\t";
        yield from $this->yieldParentBlock("footer", $context, $blocks);
        yield "
 <link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-colorpicker/2.3.0/css/bootstrap-colorpicker.min.css\">
    <script type=\"text/javascript\" src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-colorpicker/2.3.0/js/bootstrap-colorpicker.min.js\"></script>

    <script>
  \t\t\$('.datetime').datetimepicker({
\t\t\tformat: 'YYYY-MM-DD H:mm:ss',
            minDate: new Date()
\t\t});
    </script>
    
    <!-- Header Link template -->
\t<script id=\"header_link_tmp\" type=\"text/template\">
        <div class=\"uv-element-block\">
            <label class=\"uv-field-label\">";
        // line 566
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Header Link"), "html", null, true);
        yield " #<%= count %></label>
            <div class=\"uv-field-block\">
                <input type=\"text\" class=\"uv-field\" name=\"headerLinks[<%= count %>][label]\" placeholder=\"";
        // line 568
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Label"), "html", null, true);
        yield "\" />
                <input type=\"text\" class=\"uv-field\" name=\"headerLinks[<%= count %>][url]\" placeholder=\"";
        // line 569
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("URL (with http:// or https://)"), "html", null, true);
        yield "\" />
                <a class=\"uv-btn-tag remove-link\" href=\"#\"><span class=\"uv-icon-remove-dark-box\"></span></a>
            </div>
        </div>
    </script>
    <!-- //Header Link template -->

    <!-- Footer Link template -->
\t<script id=\"footer_link_tmp\" type=\"text/template\">
        <div class=\"uv-element-block\">
            <label class=\"uv-field-label\">";
        // line 579
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Footer Link"), "html", null, true);
        yield " #<%= count %></label>
            <div class=\"uv-field-block\">
                <input type=\"text\" class=\"uv-field\" name=\"footerLinks[<%= count %>][label]\" placeholder=\"";
        // line 581
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Label"), "html", null, true);
        yield "\" />
                <input type=\"text\" class=\"uv-field\" name=\"footerLinks[<%= count %>][url]\" placeholder=\"";
        // line 582
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("URL (with http:// or https://)"), "html", null, true);
        yield "\" />
                <a class=\"uv-btn-tag remove-link\" href=\"#\"><span class=\"uv-icon-remove-dark-box\"></span></a>
            </div>
        </div>
    </script>
    <!-- //Footer Link template -->

\t<script type=\"text/javascript\">
\t\t\$(function () {
            \$('.uv-color-field').colorpicker({format: \"hex\"}).on('changeColor', function(ev) {
                \$(this).css('background', \$(this).val())
                textColor = app.appView.getTextColorBasedBackground(\$(this).val());
                \$(this).css('color', textColor)
            });

\t\t\tvar BrandingModel = Backbone.Model.extend({
\t\t\t    validation: {
\t\t\t    \t'website[name]': {
\t\t\t\t      \trequired: true,
\t\t\t\t       \tmsg: '";
        // line 601
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("This field is mandatory"), "html", null, true);
        yield "'
\t\t\t\t    },
\t\t\t    \t                  
                    'website[favicon]': [{
                            notEmptyFile: true,
                            msg: \"";
        // line 606
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("An empty file is not allowed."), "html", null, true);
        yield "\",
                        }, {
                            sizeLimit: true,
                            msg: \"";
        // line 609
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("File size must not be greater than 200KB !!"), "html", null, true);
        yield "\",
                        }, {
                            imageFile: true,
                            msg: \"";
        // line 612
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Please upload valid Image file (Only JPEG, JPG, PNG allowed)!!"), "html", null, true);
        yield "\",
                        }
                    ],
                    'website[logo]': [{
                            notEmptyFile: true,
                            msg: \"";
        // line 617
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("An empty file is not allowed."), "html", null, true);
        yield "\",
                        }, {
                            sizeLimit: true,
                            msg: \"";
        // line 620
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("File size must not be greater than 200KB !!"), "html", null, true);
        yield "\",
                        }, {
                            imageFile: true,
                            msg: \"";
        // line 623
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Please upload valid Image file (Only JPEG, JPG, PNG allowed)!!"), "html", null, true);
        yield "\",
                        }
                    ],
\t\t\t    }
\t\t\t});

            _.extend(Backbone.Validation.validators, {
                notEmptyFile: function(value, attr) {
                    var field = \$('input[name=\"' + attr + '\"]');
                    if(field.length && field[0].files && field[0].files.length ) {
                        var file = field[0].files[0];
                        if(file && 0 == file.size) {
                            return true; //error
                        }
                    }                    
                },
                sizeLimit: function(value, attr) {
                    var field = \$('input[name=\"' + attr + '\"]');
                    if(field.length && field[0].files && field[0].files.length ) {
                        var file = field[0].files[0];
                        if(file && file.size/1024 > 200) {
                            return true; //error                            
                        }
                    }                    
                },
                imageFile: function(value, attr) { 
                    var field = \$('input[name=\"' + attr + '\"]');
                    if(field.length && field[0].files && field[0].files.length ) {
                        var file = field[0].files[0];
                        if(file && file.type.indexOf('image/') != 0) {
                            return true; //error                            
                        }
                    }
                }
            });

\t\t\tvar BrandingForm = Backbone.View.extend({
\t\t\t    events: {
\t\t\t    \t'click .general-btn': 'generalBrandingFormSubmit',
\t\t\t        'click .pending-response-btn': 'pendingResponseSettingFormSubmit',
\t\t\t\t\t'click .uv-btn': 'disableButton',
                    'change input[type=\"file\"]': 'formChanegd',
                    'change .convertToSlug': 'convertToSlug',
                    'click .uv-btn-tag.btn-add': 'addMoreLink',
                    'click .remove-link': 'removeLink',
                    \"change .uv-knowledgebase-layout input[type='radio']\": 'layoutChanged',
                    'click #uv-reset-colors': 'resetDefaultColors',
\t\t\t    },
                resetDefaultColors: function(e) {
                    var defaultColorArray = {
                        'pageBackgroundColor': '#FFFFFF',
                        'headerBackgroundColor': '#FFFFFF',
                        'bannerBackgroundColor': '#7C70F4',
                        'linkColor': '#2750C4',
                        'linkHoverColor': '#2750C4',
                        'articleTextColor': '#333333',
                        'brandColor': '#7C70F4',
                    };
                    \$(e.target).addClass('uv-icon-history-active');
                    setTimeout(function () { 
                        \$(e.target).removeClass('uv-icon-history-active');
                    }, 500);
                    \$.each(defaultColorArray, function(index, value) {
                        var selectedField = \$('input[name=\"website['+ index +']\"]');
                        selectedField.val(value);
                        selectedField.trigger('changeColor');
                    });
                },
                headerLinkTemplate : _.template(\$(\"#header_link_tmp\").html()),
                footerLinkTemplate : _.template(\$(\"#footer_link_tmp\").html()),
\t\t\t    initialize: function () {
                    \$('.uv-color-field').each(function() {
                        textColor = app.appView.getTextColorBasedBackground(\$(this).val());
                        \$(this).css('color', textColor)
                    });

\t\t\t        Backbone.Validation.bind(this);\t\t      
\t\t\t    },
\t\t\t    formChanegd: function(e) {
                    if(!Backbone.\$(e.currentTarget).parents('.links').length) {
                        this.model.set(Backbone.\$(e.currentTarget).attr('name'), Backbone.\$(e.currentTarget).val())
                        this.model.isValid([Backbone.\$(e.currentTarget).attr('name')])
                    }
\t\t\t    },          
\t\t\t    generalBrandingFormSubmit: function (e) {
\t\t\t        e.preventDefault();
\t\t\t        this.model.set(\$('#generalSettingForm').serializeObject());
                        console.log(\"form_submited fail\");
                    
\t\t\t        if(this.model.isValid(true)) {
\t\t\t           \$(\"#generalSettingForm\").submit();
\t\t\t        }
\t\t\t    },
                generalBrandingLocalesUpdate: function (e) {
\t\t\t        e.preventDefault();
\t\t\t        this.model.set(\$('#generalSettingForm').serializeObject());
                        console.log(\"form_submited fail\");
                    
\t\t\t        if(this.model.isValid(true)) {

                       \t\$.ajax({
\t\t\t\t\t\t\turl: \"";
        // line 724
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("helpdesk_member_knowledgebase_update_locales");
        yield "\",
\t\t\t\t\t\t\tmethod: 'POST',
\t\t\t\t\t\t\tdata: \$('#generalSettingForm').serializeObject(),
\t\t\t\t\t\t\tsuccess: function(response) {
\t\t\t\t\t\t\t\tapp.appView.renderResponseAlert(response);
\t\t\t\t\t\t\t\twindow.location.reload();
\t\t\t\t\t\t\t},
\t\t\t\t\t\t\terror: function(response) {
\t\t\t\t\t\t\t\tapp.appView.renderResponseAlert(response);
\t\t\t\t\t\t\t}
\t\t\t\t\t\t});
\t\t\t        }
\t\t\t    },
\t\t\t    pendingResponseSettingFormSubmit: function (e) {
\t\t\t        e.preventDefault();
\t\t\t        this.model.set(\$('#pendingResponseSettingForm').serializeObject());
\t\t\t        if(this.model.isValid('website[pendingSince]')) {
\t\t\t\t\t\t\$('.pending-response-btn').attr('disabled', 'disabled');
\t\t\t            \$(\"#pendingResponseSettingForm\").submit();
\t\t\t        }
\t\t\t    },
\t\t\t\tdisableButton: function(e) {
\t\t\t\t\tvar form = Backbone.\$(e.currentTarget).parents('form');
\t\t\t\t\tif(form.attr('id') == 'seoForm' || form.attr('id') == 'advancedForm' || form.attr('id') == 'knowledgebaseForm') {
\t\t\t\t\t\tBackbone.\$(e.currentTarget).attr('disabled', 'disabled');
\t\t\t\t\t\tform.submit()
\t\t\t\t\t}
\t\t\t\t},
                convertToSlug: function(e) {
                    Backbone.\$(e.currentTarget).val(app.appView.convertToSlug(Backbone.\$(e.currentTarget).val()));
                },
                addMoreLink: function(e) {
                    e.preventDefault();

                    var currentElement = Backbone.\$(e.currentTarget);
                    if(currentElement.attr('data-type') == 'header') {
                        count = \$('.uv-header-link-wrapper .uv-element-block').length + 1;
                        \$('.uv-header-link-wrapper .links').append(this.headerLinkTemplate({'count' : count}))
                    } else {
                        count = \$('.uv-footer-link-wrapper .uv-element-block').length + 1;
                        \$('.uv-footer-link-wrapper .links').append(this.footerLinkTemplate({'count' : count}))
                    }
                },
                removeLink: function(e) {
                    e.preventDefault()
                    Backbone.\$(e.currentTarget).parents('.uv-element-block').remove()
                },
                layoutChanged: function(e) {
                    var currentElement = Backbone.\$(e.currentTarget);
                    \$('.uv-layout-icon').removeClass('uv-layout-icon-active');

                    \$(\"label[for='\" + currentElement.attr('id') + \"']\").addClass('uv-layout-icon-active');
                }
\t\t\t});
            
            var brandingForm = new BrandingForm({
\t\t        el: 'form',
\t\t        model: new BrandingModel()
\t\t    });
            
            var BroadcastModel = Backbone.Model.extend({
\t\t\t    validation: {
\t\t\t    \t'broadcasting[message]': [{
\t\t\t\t      \trequired: true,
\t\t\t\t       \tmsg: '";
        // line 788
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("This field is mandatory"), "html", null, true);
        yield "'
\t\t\t\t    },
                    {
\t\t\t\t\t\tmaxLength: 300,
\t\t\t\t\t\tmsg: '";
        // line 792
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("This field should contains maximum 300 characters."), "html", null, true);
        yield "'
\t\t\t\t\t}],
\t\t\t    }
\t\t\t});

\t\t\tvar BroadcastForm = Backbone.View.extend({
                el: '#broadcastingForm',
\t\t\t    events: {
\t\t\t    \t'click .broadcasting-btn': 'broadcastingFormSubmit',
                    'change textarea': 'formChanged',
\t\t\t    },
                initialize: function() {
                    Backbone.Validation.bind(this);
                },
\t\t\t    formChanged: function(e) {
                    if(!Backbone.\$(e.currentTarget).parents('.links').length) {
                        this.model.set(Backbone.\$(e.currentTarget).attr('name'), Backbone.\$(e.currentTarget).val())
                        this.model.isValid([Backbone.\$(e.currentTarget).attr('name')])
                    }
\t\t\t    },
                broadcastingFormSubmit: function(e) {
\t\t\t\t\tvar form = Backbone.\$(e.currentTarget).closest('form')
                    if(form.attr('id') == 'broadcastingForm') {
                        data = form.serializeObject();
                        this.model.set(data);
                        if(this.model.isValid(true)) {
                            Backbone.\$(e.currentTarget).attr('disabled', 'disabled');
                            form.submit()
                        }
                    }
                }
\t\t    });

            var LinksModel = Backbone.Model.extend({
\t\t\t    validation: {
\t\t\t    }
\t\t\t});

\t\t\tvar LinksForm = Backbone.View.extend({
                el: '#linksForm',
                initialize: function() {
                    Backbone.Validation.bind(this);
                },                
                events: {
                    'click .links-btn': 'validateLinks',
                },
                validateLinks: function(e) {
                    e.preventDefault();
                    var data = \$('#linksForm').serializeObject();
                    var self = this; var valid = true;
                    \$.each(data, function(key, value) {
                        if(key.indexOf('[url]') != -1 && value && !value.match('^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?\$')) {
    \t\t    \t\t\tBackbone.Validation.callbacks.invalid(self, key, '";
        // line 844
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Provide a valid url(with protocol)"), "html", null, true);
        yield "', 'input');
                            valid = false;
                        } else {
    \t\t    \t\t\tBackbone.Validation.callbacks.valid(self, key, '";
        // line 847
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Provide a valid url(with protocol)"), "html", null, true);
        yield "', 'input');                            
                        }
                    });
                    if(valid) {
\t\t\t\t\t\t\$('.links-btn').attr('disabled', 'disabled');
\t\t\t            \$(\"#linksForm\").submit();
\t\t\t        }
                },                      
            });

            var TimezoneForm = Backbone.View.extend({
                el: '#timeSettingForm',
\t\t\t    events: {
\t\t\t    \t'click .timezone-btn': 'timezoneFormSubmit',
                    
\t\t\t    },
                timezoneFormSubmit: function(e) {
\t\t\t\t\tvar form = Backbone.\$(e.currentTarget).closest('form')
                    
                    if (form.attr('id') == 'timeSettingForm') {
                        data = form.serializeObject();
                        form.submit()
                    }
                }
\t\t    });

            var time = new TimezoneForm();

            var broadcastForm = new BroadcastForm({
                model: new BroadcastModel()
            });

\t\t\tvar linksForm = new LinksForm({
                model: new LinksModel()                
            });
        });
\t</script>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "@UVDeskSupportCenter/Staff/branding.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  1538 => 847,  1532 => 844,  1477 => 792,  1470 => 788,  1403 => 724,  1299 => 623,  1293 => 620,  1287 => 617,  1279 => 612,  1273 => 609,  1267 => 606,  1259 => 601,  1237 => 582,  1233 => 581,  1228 => 579,  1215 => 569,  1211 => 568,  1206 => 566,  1188 => 552,  1181 => 551,  1166 => 540,  1158 => 535,  1154 => 533,  1139 => 531,  1135 => 530,  1129 => 527,  1120 => 521,  1116 => 519,  1101 => 517,  1097 => 516,  1091 => 513,  1085 => 510,  1077 => 507,  1067 => 500,  1055 => 491,  1047 => 488,  1040 => 484,  1033 => 480,  1028 => 478,  1023 => 476,  1018 => 474,  1013 => 472,  1004 => 466,  999 => 464,  994 => 462,  987 => 459,  981 => 457,  971 => 450,  964 => 446,  956 => 441,  951 => 439,  946 => 437,  937 => 431,  932 => 429,  927 => 427,  921 => 424,  915 => 423,  904 => 415,  896 => 410,  890 => 406,  881 => 400,  877 => 399,  872 => 397,  868 => 395,  865 => 394,  849 => 388,  841 => 387,  834 => 385,  830 => 383,  825 => 382,  823 => 381,  814 => 375,  809 => 372,  800 => 366,  796 => 365,  791 => 363,  787 => 361,  784 => 360,  768 => 354,  760 => 353,  753 => 351,  749 => 349,  744 => 348,  742 => 347,  735 => 343,  729 => 342,  719 => 335,  706 => 325,  701 => 323,  691 => 316,  686 => 314,  679 => 310,  673 => 309,  663 => 302,  658 => 299,  648 => 291,  642 => 288,  630 => 279,  624 => 276,  612 => 267,  606 => 264,  594 => 255,  588 => 252,  575 => 244,  567 => 243,  560 => 241,  552 => 240,  545 => 238,  537 => 237,  530 => 235,  522 => 234,  517 => 232,  505 => 225,  500 => 223,  488 => 216,  482 => 214,  470 => 206,  464 => 204,  452 => 196,  446 => 194,  434 => 186,  428 => 184,  416 => 176,  410 => 174,  398 => 166,  392 => 164,  388 => 162,  382 => 159,  375 => 157,  364 => 149,  356 => 143,  343 => 141,  339 => 140,  335 => 139,  329 => 136,  319 => 129,  314 => 127,  302 => 120,  296 => 118,  286 => 110,  280 => 107,  274 => 104,  264 => 97,  258 => 94,  246 => 90,  229 => 83,  227 => 82,  222 => 80,  215 => 76,  208 => 74,  195 => 68,  187 => 67,  179 => 66,  171 => 65,  163 => 64,  155 => 63,  147 => 62,  140 => 58,  134 => 57,  129 => 55,  126 => 54,  123 => 53,  120 => 52,  75 => 8,  68 => 7,  60 => 4,  53 => 3,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "@UVDeskSupportCenter/Staff/branding.html.twig", "/home/bmdranzo/public_html/vendor/uvdesk/support-center-bundle/Resources/views/Staff/branding.html.twig");
    }
}
