<?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/Knowledgebase/websiteSettings.html.twig */
class __TwigTemplate_bd771f4ab191418b1f3b9ad0084ad7ff 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->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 1
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["websiteDetails"] ?? null), "favicon", [], "any", false, false, false, 1)) {
            // line 2
            yield "    <link rel=\"icon\" sizes=\"16x16\" href=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["websiteDetails"] ?? null), "favicon", [], "any", false, false, false, 2), "html", null, true);
            yield "\" />
";
        } else {
            // line 4
            yield "\t<link rel=\"icon\" sizes=\"16x16\" href=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html", null, true);
            yield "\" />
";
        }
        // line 6
        yield "
<style>
\t";
        // line 8
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "pageBackgroundColor", [], "any", false, false, false, 8)) {
            // line 9
            yield "\t\tbody {
\t\t\tbackground: ";
            // line 10
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "pageBackgroundColor", [], "any", false, false, false, 10), "html", null, true);
            yield ";
\t\t}
\t";
        }
        // line 13
        yield "\t";
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "headerBackgroundColor", [], "any", false, false, false, 13)) {
            // line 14
            yield "\t\t.uv-header {
\t\t\tbackground-color: ";
            // line 15
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "headerBackgroundColor", [], "any", false, false, false, 15), "html", null, true);
            yield ";
\t\t}
\t";
        }
        // line 18
        yield "\t";
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "bannerBackgroundColor", [], "any", false, false, false, 18)) {
            // line 19
            yield "\t\t.uv-hero {
\t\t\tbackground-color: ";
            // line 20
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "bannerBackgroundColor", [], "any", false, false, false, 20), "html", null, true);
            yield ";
\t\t}
\t";
        }
        // line 23
        yield "\t";
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "linkColor", [], "any", false, false, false, 23)) {
            // line 24
            yield "\t\ta:not(.uv-btn):not(.uv-btn-small):not(.uv-table td a) {
\t\t\tcolor: ";
            // line 25
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "linkColor", [], "any", false, false, false, 25), "html", null, true);
            yield " !important;
\t\t}
\t";
        }
        // line 28
        yield "\t";
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "linkHoverColor", [], "any", false, false, false, 28)) {
            // line 29
            yield "\t\ta:hover:not(.uv-btn):not(.uv-btn-small):not(.uv-table td a) {
\t\t\tcolor: ";
            // line 30
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "linkHoverColor", [], "any", false, false, false, 30), "html", null, true);
            yield " !important;
\t\t}
\t";
        }
        // line 33
        yield "\t";
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "articleTextColor", [], "any", false, false, false, 33)) {
            // line 34
            yield "\t\t.uv-editor p {
\t\t\tcolor: ";
            // line 35
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "articleTextColor", [], "any", false, false, false, 35), "html", null, true);
            yield ";
\t\t}
\t";
        }
        // line 38
        yield "</style>
";
        // line 39
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "customCSS", [], "any", false, false, false, 39)) {
            // line 40
            yield "\t<style>
\t\t";
            // line 41
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "customCSS", [], "any", false, false, false, 41);
            yield "
\t</style>
";
        }
        // line 44
        yield "
";
        // line 45
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", [], "any", false, false, false, 45)) {
            // line 46
            yield "\t";
            if ((CoreExtension::inFilter("<script", CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", [], "any", false, false, false, 46)) && CoreExtension::inFilter("</script>", CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", [], "any", false, false, false, 46)))) {
                // line 47
                yield "\t\t";
                yield CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", [], "any", false, false, false, 47);
                yield "
\t";
            } else {
                // line 49
                yield "\t\t<script type=\"text/javascript\">
\t\t\t";
                // line 50
                yield CoreExtension::getAttribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", [], "any", false, false, false, 50);
                yield "
\t\t</script>
\t";
            }
            // line 52
            yield "\t\t\t
";
        }
        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  168 => 52,  162 => 50,  159 => 49,  153 => 47,  150 => 46,  148 => 45,  145 => 44,  139 => 41,  136 => 40,  134 => 39,  131 => 38,  125 => 35,  122 => 34,  119 => 33,  113 => 30,  110 => 29,  107 => 28,  101 => 25,  98 => 24,  95 => 23,  89 => 20,  86 => 19,  83 => 18,  77 => 15,  74 => 14,  71 => 13,  65 => 10,  62 => 9,  60 => 8,  56 => 6,  50 => 4,  44 => 2,  42 => 1,);
    }

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