Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/joomla4/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/joomla4/72.zip

PKz��[��{IaaD723dc76a464c78fecb2429813dd741771e31a82b8004c0f33002cc4cd0f988ab.phpnu�[���<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;

/* @gantry-admin/pages/configurations/styles/styles.html.twig */
class
__TwigTemplate_4ffd1dc06d91f94804eead50dd24d425bbcc11caaebc694b13c008db2fc1cb16
extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->blocks = [
            'gantry' => [$this, 'block_gantry'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return $this->loadTemplate((((($context["ajax"] ??
null) - ($context["suffix"] ?? null))) ?
("@gantry-admin/partials/ajax.html.twig") :
("@gantry-admin/partials/base.html.twig")),
"@gantry-admin/pages/configurations/styles/styles.html.twig", 1);
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $this->getParent($context)->display($context,
array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_gantry($context, array $blocks = [])
    {
        // line 4
        $context["labels"] = ["collapse" =>
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_COLLAPSE"),
"expand" =>
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_EXPAND")];
        // line 5
        $context["defaultStyles"] =
$this->getAttribute(($context["defaults"] ?? null),
"flatten", [0 => "styles", 1 => "][", 2
=> "styles"], "method");
        // line 6
        echo "
<div id=\"styles\">
    ";
        // line 8
        $context["stored_data"] =
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->jsonDecodeFilter(_twig_default_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->getCookie("g5-collapsed"),
"{}"));
        // line 9
        echo "    <form method=\"post\"
action=\"";
        echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
($context["configuration"] ?? null), 2 => "styles"],
"method"), "html", null, true);
        echo "\">
        <span class=\"float-right\">
            <a href=\"";
        // line 11
        echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
($context["configuration"] ?? null), 2 =>
"styles/compile"], "method"), "html", null,
true);
        echo "\"
               title=\"";
        // line 12
        echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"),
"html", null, true);
        echo "\"
               aria-label=\"";
        // line 13
        echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"),
"html", null, true);
        echo "\"
               class=\"button button-secondary\"
               data-ajax-action=\"\"
            >
                <i class=\"fa fa-fw fa-tasks\"
aria-hidden=\"true\"></i> <span>";
        // line 17
        echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"),
"html", null, true);
        echo "</span>
            </a>
            <button type=\"submit\" class=\"button
button-primary button-save\" data-save=\"Styles\">
                <i class=\"fa fa-fw fa-check\"
aria-hidden=\"true\"></i> <span>";
        // line 20
        echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_SAVE_STYLES"),
"html", null, true);
        echo "</span>
            </button>
        </span>

        ";
        // line 24
        $context["presets"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "theme", []), "presets", []);
        // line 25
        echo "        ";
        if ($this->getAttribute(($context["presets"] ?? null),
"count", [], "method")) {
            // line 26
            echo "        ";
            $context["collapsed"] =
$this->getAttribute(($context["stored_data"] ?? null),
"swatches");
            // line 27
            echo "        <h2 class=\"page-title";
            echo ((($context["collapsed"] ?? null)) ? ("
g-collapsed-main") : (""));
            echo "\"
            data-g-collapse=\"";
            // line 28
            echo twig_escape_filter($this->env,
twig_jsonencode_filter(twig_array_merge(($context["labels"] ??
null), ["collapsed" => ((($context["collapsed"] ??
null)) ? (true) : (false)), "id" => "swatches",
"target" => "~ .swatches-container"])),
"html_attr");
            echo "\"
            data-g-collapse-id=\"swatches\"
        >
            <span class=\"title\">";
            // line 31
            echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_STYLES"),
"html", null, true);
            echo "</span>
            <span class=\"g-collapse\"
data-title=\"";
            // line 32
            echo twig_escape_filter($this->env,
((($context["collapsed"] ?? null)) ?
($this->getAttribute(($context["labels"] ?? null),
"expand", [])) :
($this->getAttribute(($context["labels"] ?? null),
"collapse", []))), "html", null, true);
            echo "\" data-tip=\"";
            echo twig_escape_filter($this->env,
((($context["collapsed"] ?? null)) ?
($this->getAttribute(($context["labels"] ?? null),
"expand", [])) :
($this->getAttribute(($context["labels"] ?? null),
"collapse", []))), "html", null, true);
            echo "\" data-tip-place=\"top-right\"
data-tip-spacing=\"0\">
                <i class=\"fa fa-fw  fa-caret-up\"
aria-hidden=\"true\"></i>
            </span>
        </h2>

        <div class=\"swatches-container";
            // line 37
            echo ((($context["collapsed"] ?? null)) ? ("
g-collapsed") : (""));
            echo "\"";
            if (($context["defaultStyles"] ?? null)) {
                echo " data-g-styles-defaults=\"";
                echo twig_escape_filter($this->env,
twig_jsonencode_filter(($context["defaultStyles"] ?? null)),
"html_attr");
                echo "\"";
            }
            echo ">
            <div class=\"swatches-block\">
                ";
            // line 39
            $context["presetKey"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "config", []), "get", [0 =>
"styles.preset"], "method");
            // line 40
            echo "
                <ul class=\"g-grid\">
                    ";
            // line 42
            $context['_parent'] = $context;
            $context['_seq'] =
twig_ensure_traversable(($context["presets"] ?? null));
            foreach ($context['_seq'] as
$context["key"] => $context["preset"]) {
                // line 43
                echo "                        ";
                $context["presetKey"] = ((
!($context["presetKey"] ?? null)) ? ($context["key"]) :
(($context["presetKey"] ?? null)));
                // line 44
                echo "                        ";
                $context["counter"] = 0;
                // line 45
                echo "                        <li
class=\"g-block";
                echo (((($context["presetKey"] ?? null) ==
$context["key"])) ? (" g-preset-match") :
(""));
                echo "\">
                            <a href=\"#\"
class=\"swatch\" data-g-styles=\"";
                // line 46
                echo twig_escape_filter($this->env,
twig_jsonencode_filter($this->getAttribute($this->getAttribute(($context["presets"]
?? null), "def", [0 => ($context["key"] .
".styles.preset"), 1 => $context["key"]],
"method"), "flatten", [0 =>
($context["key"] . ".styles"), 1 => "][",
2 => "styles"], "method")), "html_attr");
                echo "\">
                                <img src=\"";
                // line 47
                echo twig_escape_filter($this->env,
_twig_default_filter($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc($this->getAttribute($context["preset"],
"image", [])),
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc("gantry-admin://images/placeholder.png")),
"html", null, true);
                echo "\" class=\"swatch-image\"
alt=\"";
                echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_STYLES_APPLY"),
"html", null, true);
                echo " ";
                echo
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter($this->getAttribute($context["preset"],
"description", []));
                echo "\"/>
                                ";
                // line 48
                if (twig_length_filter($this->env,
$this->getAttribute($context["preset"], "colors",
[]))) {
                    // line 49
                    echo "                                    ";
                    $context["stop"] =
twig_number_format_filter($this->env, (100 /
twig_length_filter($this->env,
$this->getAttribute($context["preset"], "colors",
[]))), 3, ".");
                    // line 50
                    echo "                                    <span
class=\"swatch-colors\"
                                            ";
                    // line 52
                    echo "                                         
style=\"background: linear-gradient(to right
                                          ";
                    // line 53
                    $context['_parent'] = $context;
                    $context['_seq'] =
twig_ensure_traversable($this->getAttribute($context["preset"],
"colors", []));
                    foreach ($context['_seq'] as
$context["_key"] => $context["color"]) {
                        // line 54
                        echo ",";
                        echo twig_escape_filter($this->env,
$context["color"], "html", null, true);
                        echo " ";
                        echo twig_escape_filter($this->env,
($context["counter"] ?? null), "html", null, true);
                        echo "%,";
                        echo twig_escape_filter($this->env,
$context["color"], "html", null, true);
                        echo " ";
                        echo twig_escape_filter($this->env,
(($context["counter"] ?? null) + ($context["stop"] ??
null)), "html", null, true);
                        echo "%
                                          ";
                        // line 55
                        $context["counter"] =
(($context["counter"] ?? null) + ($context["stop"] ??
null));
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'],
$context['_iterated'], $context['_key'],
$context['color'], $context['_parent'],
$context['loop']);
                    $context = array_intersect_key($context, $_parent) +
$_parent;
                    // line 56
                    echo ")\">
                    </span>
                                ";
                }
                // line 59
                echo "                                <button
class=\"swatch-preview\" aria-label=\"";
                echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_STYLES_PREVIEW"),
"html", null, true);
                echo " ";
                echo
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter($this->getAttribute($context["preset"],
"description", []));
                echo "\"><i class=\"fa fa-fw
fa-eye\" aria-hidden=\"true\"></i></button>
                                <span
class=\"swatch-matched\"><i class=\"fa fa-fw
fa-star\" aria-hidden=\"true\"></i></span>
                            </a>
                            <span
class=\"swatch-description\"><span
class=\"swatch-title-matched\"><i class=\"fa fa-fw
fa-star\" aria-hidden=\"true\"></i></span>
";
                // line 62
                echo
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter($this->getAttribute($context["preset"],
"description", []));
                echo "</span>
                        </li>
                    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'],
$context['_iterated'], $context['key'],
$context['preset'], $context['_parent'],
$context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 65
            echo "                </ul>
            </div>
        </div>

        <input type=\"hidden\"
name=\"styles[preset]\" value=\"";
            // line 69
            echo twig_escape_filter($this->env,
($context["presetKey"] ?? null), "html", null, true);
            echo "\" />
        ";
        }
        // line 71
        echo "
        ";
        // line 72
        $context['_parent'] = $context;
        $context['_seq'] =
twig_ensure_traversable(($context["blocks"] ?? null));
        $context['loop'] = [
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        ];
        foreach ($context['_seq'] as $context["group"]
=> $context["list"]) {
            if (($context["group"] != "hidden")) {
                // line 73
                echo "        <h2>";
                echo twig_escape_filter($this->env,
twig_capitalize_string_filter($this->env, $context["group"]),
"html", null, true);
                echo " ";
                echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_STYLES"),
"html", null, true);
                echo "</h2>

        <div class=\"g-filter-actions\">
            <div class=\"g-panel-filters\"
data-g-global-filter=\"\">
                <div class=\"search settings-block\">
                    <input type=\"text\"
data-g-collapse-filter placeholder=\"";
                // line 78
                echo twig_escape_filter($this->env,
(($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_FILTER")
. " ") . twig_capitalize_string_filter($this->env,
$context["group"])), "html", null, true);
                echo "...\" aria-label=\"";
                echo twig_escape_filter($this->env,
(($this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_FILTER")
. " ") . twig_capitalize_string_filter($this->env,
$context["group"])), "html", null, true);
                echo "...\" role=\"search\">
                    <i class=\"fa fa-fw fa-search\"
aria-hidden=\"true\"></i>
                </div>
                <button class=\"button\"
type=\"button\" data-g-collapse-all=\"true\"><i
class=\"fa fa-fw fa-toggle-up\"
aria-hidden=\"true\"></i> ";
                // line 81
                echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_COLLAPSE_ALL"),
"html", null, true);
                echo "</button>
                <button class=\"button\"
type=\"button\" data-g-collapse-all=\"false\"><i
class=\"fa fa-fw fa-toggle-down\"
aria-hidden=\"true\"></i> ";
                // line 82
                echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_EXPAND_ALL"),
"html", null, true);
                echo "</button>
            </div>
        </div>

        <div id=\"styles\" class=\"cards-wrapper
g-grid\">

            ";
                // line 88
                $context['_parent'] = $context;
                $context['_seq'] =
twig_ensure_traversable($context["list"]);
                $context['loop'] = [
                  'parent' => $context['_parent'],
                  'index0' => 0,
                  'index'  => 1,
                  'first'  => true,
                ];
                if (is_array($context['_seq']) ||
(is_object($context['_seq']) &&
$context['_seq'] instanceof \Countable)) {
                    $length = count($context['_seq']);
                    $context['loop']['revindex0'] =
$length - 1;
                    $context['loop']['revindex'] =
$length;
                    $context['loop']['length'] =
$length;
                    $context['loop']['last'] = 1 ===
$length;
                }
                foreach ($context['_seq'] as
$context["id"] => $context["block"]) {
                    // line 89
                    echo "                ";
                    $context["block"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "styles", []), "getBlueprintForm", [0 =>
$context["id"]], "method");
                    // line 90
                    echo "                ";
                    $context["prefix"] = (("styles." .
$context["id"]) . ".");
                    // line 91
                    echo "                ";
                    $context["collapsed"] =
($this->getAttribute($this->getAttribute($context["block"],
"form", []), "collapsed", []) ||
$this->getAttribute(($context["stored_data"] ?? null),
($context["prefix"] ?? null)));
                    // line 92
                    echo "                <div class=\"card
settings-block";
                    echo ((($context["collapsed"] ?? null)) ?
(" g-collapsed") : (""));
                    echo "\">
                    <h4 data-g-collapse=\"";
                    // line 93
                    echo twig_escape_filter($this->env,
twig_jsonencode_filter(twig_array_merge(($context["labels"] ??
null), ["collapsed" => ((($context["collapsed"] ??
null)) ? (true) : (false)), "id" =>
($context["prefix"] ?? null), "target" => "~
.inner-params"])), "html_attr");
                    echo "\" data-g-collapse-id=\"";
                    echo twig_escape_filter($this->env,
($context["prefix"] ?? null), "html", null, true);
                    echo "\">
                        <span class=\"g-collapse\"
data-title=\"";
                    // line 94
                    echo twig_escape_filter($this->env,
((($context["collapsed"] ?? null)) ?
($this->getAttribute(($context["labels"] ?? null),
"expand", [])) :
($this->getAttribute(($context["labels"] ?? null),
"collapse", []))), "html", null, true);
                    echo "\" data-tip=\"";
                    echo twig_escape_filter($this->env,
((($context["collapsed"] ?? null)) ?
($this->getAttribute(($context["labels"] ?? null),
"expand", [])) :
($this->getAttribute(($context["labels"] ?? null),
"collapse", []))), "html", null, true);
                    echo "\"
data-tip-place=\"top-right\">
                            <i class=\"fa fa-fw fa-caret-up\"
aria-hidden=\"true\"></i>
                        </span>
                        <span class=\"g-title\">";
                    // line 97
                    echo twig_escape_filter($this->env,
$this->getAttribute($context["block"], "name", []),
"html", null, true);
                    echo "</span>
                    </h4>
                    <div class=\"inner-params\">
                        ";
                    // line 100
                   
$this->loadTemplate("forms/fields.html.twig",
"@gantry-admin/pages/configurations/styles/styles.html.twig",
100)->display(twig_array_merge($context, ["overrideable" =>
($context["overrideable"] ?? null), "blueprints" =>
$this->getAttribute($context["block"], "form", []),
"data" => ($context["data"] ?? null)]));
                    // line 101
                    echo "                    </div>
                </div>
            ";
                    ++$context['loop']['index0'];
                    ++$context['loop']['index'];
                    $context['loop']['first'] = false;
                    if
(isset($context['loop']['length'])) {
                       
--$context['loop']['revindex0'];
                        --$context['loop']['revindex'];
                        $context['loop']['last'] = 0
=== $context['loop']['revindex0'];
                    }
                }
                $_parent = $context['_parent'];
                unset($context['_seq'],
$context['_iterated'], $context['id'],
$context['block'], $context['_parent'],
$context['loop']);
                $context = array_intersect_key($context, $_parent) +
$_parent;
                // line 104
                echo "        </div>
        ";
                ++$context['loop']['index0'];
                ++$context['loop']['index'];
                $context['loop']['first'] = false;
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'],
$context['group'], $context['list'],
$context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 106
        echo "
        <div class=\"g-footer-actions\">
            <span class=\"float-right\">
                <a href=\"";
        // line 109
        echo twig_escape_filter($this->env,
$this->getAttribute(($context["gantry"] ?? null),
"route", [0 => "configurations", 1 =>
($context["configuration"] ?? null), 2 =>
"styles/compile"], "method"), "html", null,
true);
        echo "\"
                   role=\"button\"
                   title=\"";
        // line 111
        echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"),
"html", null, true);
        echo "\"
                   aria-label=\"";
        // line 112
        echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"),
"html", null, true);
        echo "\"
                   class=\"button button-secondary\"
                   data-ajax-action=\"\"
                >
                    <i class=\"fa fa-fw fa-tasks\"
aria-hidden=\"true\"></i> <span>";
        // line 116
        echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_RECOMPILE_CSS"),
"html", null, true);
        echo "</span>
                </a>
                <button type=\"submit\" class=\"button
button-primary button-save\" data-save=\"";
        // line 118
        echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_STYLES"),
"html", null, true);
        echo "\"><i class=\"fa fa-fw fa-check\"
aria-hidden=\"true\"></i> <span>";
        echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->transFilter("GANTRY5_PLATFORM_SAVE_STYLES"),
"html", null, true);
        echo "</span></button>
            </span>
        </div>
    </form>
</div>
";
    }

    public function getTemplateName()
    {
        return
"@gantry-admin/pages/configurations/styles/styles.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  380 => 118,  375 => 116,  368 => 112,  364
=> 111,  359 => 109,  354 => 106,  343 => 104,  327 => 101, 
325 => 100,  319 => 97,  311 => 94,  305 => 93,  300 => 92, 
297 => 91,  294 => 90,  291 => 89,  274 => 88,  265 => 82, 
261 => 81,  253 => 78,  242 => 73,  231 => 72,  228 => 71, 
223 => 69,  217 => 65,  208 => 62,  199 => 59,  194 => 56, 
188 => 55,  177 => 54,  173 => 53,  170 => 52,  167 => 50, 
164 => 49,  162 => 48,  154 => 47,  150 => 46,  145 => 45, 
142 => 44,  139 => 43,  135 => 42,  131 => 40,  129 => 39, 
118 => 37,  108 => 32,  104 => 31,  98 => 28,  93 => 27,  90
=> 26,  87 => 25,  85 => 24,  78 => 20,  72 => 17,  65 =>
13,  61 => 12,  57 => 11,  51 => 9,  49 => 8,  45 => 6,  43
=> 5,  41 => 4,  38 => 3,  29 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use
getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is
deprecated since version 1.27 and will be removed in 2.0. Use
getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("",
"@gantry-admin/pages/configurations/styles/styles.html.twig",
"/home/lmsyaran/public_html/administrator/components/com_gantry5/templates/pages/configurations/styles/styles.html.twig");
    }
}
PKNV�[T�yQ�<�<D72ddd909dab036cf05b1b13f61139464d6811979681f81be3447af0a4537d41b.phpnu�[���<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;

/* @nucleus/page.html.twig */
class
__TwigTemplate_e3d7146aeb401c0eb2e23e900809a3f499ef792f1582d232e415d88303423a0c
extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
            'content' => [$this, 'block_content'],
            'page_offcanvas' => [$this,
'block_page_offcanvas'],
            'page_layout' => [$this,
'block_page_layout'],
            'page_top' => [$this, 'block_page_top'],
            'page_bottom' => [$this,
'block_page_bottom'],
            'body_top' => [$this, 'block_body_top'],
            'body_bottom' => [$this,
'block_body_bottom'],
            'page_head' => [$this,
'block_page_head'],
            'page_footer' => [$this,
'block_page_footer'],
            'page' => [$this, 'block_page'],
            'page_body' => [$this,
'block_page_body'],
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
       
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "debugger", []), "startTimer", [0 =>
"render", 1 => "Rendering page"],
"method");
        // line 2
       
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "theme", []), "setLayout", [],
"method");
        // line 3
       
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "theme", []), "loadAtoms", [],
"method");
        // line 4
        $context["segments"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "theme", []), "segments", [],
"method");
        // line 6
        ob_start(function () { return ''; });
        // line 7
        echo "    ";
        if
($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "theme", []), "hasContent", [],
"method")) {
            // line 8
            echo "        ";
            $this->displayBlock('content', $context, $blocks);
            // line 10
            echo "    ";
        }
        $context["content"] = ('' === $tmp =
ob_get_clean()) ? '' : new Markup($tmp,
$this->env->getCharset());
        // line 13
        $context["offcanvas"] = null;
        // line 14
        $context['_parent'] = $context;
        $context['_seq'] =
twig_ensure_traversable(($context["segments"] ?? null));
        foreach ($context['_seq'] as $context["_key"]
=> $context["segment"]) {
            if (($this->getAttribute($context["segment"],
"type", []) == "offcanvas")) {
                // line 15
                $context["offcanvas"] =
$context["segment"];
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'],
$context['_key'], $context['segment'],
$context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 18
        ob_start(function () { return ''; });
        // line 19
        echo "    ";
        $this->displayBlock('page_offcanvas', $context,
$blocks);
        $context["page_offcanvas"] = ('' === $tmp =
ob_get_clean()) ? '' : new Markup($tmp,
$this->env->getCharset());
        // line 26
        $context["page_offcanvas"] =
((twig_trim_filter(($context["page_offcanvas"] ?? null))) ?
(twig_trim_filter(($context["page_offcanvas"] ?? null))) :
(""));
        // line 27
        $context["offcanvas_position"] =
((($context["page_offcanvas"] ?? null)) ?
((($this->getAttribute($this->getAttribute(($context["offcanvas"]
?? null), "attributes", [], "any", false, true),
"position", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute($this->getAttribute(($context["offcanvas"]
?? null), "attributes", [], "any", false, true),
"position", []), "g-offcanvas-left")) :
("g-offcanvas-left"))) : (""));
        // line 29
        ob_start(function () { return ''; });
        // line 30
        echo "    ";
        $this->displayBlock('page_layout', $context, $blocks);
        $context["page_layout"] = ('' === $tmp =
ob_get_clean()) ? '' : new Markup($tmp,
$this->env->getCharset());
        // line 37
        ob_start(function () { return ''; });
        // line 38
        echo "    ";
        $this->displayBlock('page_top', $context, $blocks);
        // line 40
        echo "    ";
        echo
twig_join_filter($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "document", []), "getHtml", [0 =>
"top"], "method"), "
    ");
        echo "
";
        $context["page_top"] = ('' === $tmp =
ob_get_clean()) ? '' : new Markup($tmp,
$this->env->getCharset());
        // line 43
        ob_start(function () { return ''; });
        // line 44
        echo "    ";
        $this->displayBlock('page_bottom', $context, $blocks);
        // line 46
        echo "    ";
        echo
twig_join_filter($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "document", []), "getHtml", [0 =>
"bottom"], "method"), "
    ");
        echo "
";
        $context["page_bottom"] = ('' === $tmp =
ob_get_clean()) ? '' : new Markup($tmp,
$this->env->getCharset());
        // line 49
        ob_start(function () { return ''; });
        // line 50
        echo "    ";
        $this->displayBlock('body_top', $context, $blocks);
        // line 52
        echo "    ";
        echo
twig_join_filter($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "document", []), "getHtml", [0 =>
"body_top"], "method"), "
    ");
        echo "
";
        $context["body_top"] = ('' === $tmp =
ob_get_clean()) ? '' : new Markup($tmp,
$this->env->getCharset());
        // line 55
        ob_start(function () { return ''; });
        // line 56
        echo "    ";
        $this->displayBlock('body_bottom', $context, $blocks);
        // line 58
        echo "    ";
        echo
twig_join_filter($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "document", []), "getHtml", [0 =>
"body_bottom"], "method"), "
    ");
        echo "
";
        $context["body_bottom"] = ('' === $tmp =
ob_get_clean()) ? '' : new Markup($tmp,
$this->env->getCharset());
        // line 61
       
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "document", []), "addScript", [0 =>
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc("gantry-assets://js/main.js"),
1 => 11, 2 => "footer"], "method");
        // line 65
        ob_start(function () { return ''; });
        // line 66
        echo "    ";
        $this->displayBlock('page_head', $context, $blocks);
        $context["page_head"] = ('' === $tmp =
ob_get_clean()) ? '' : new Markup($tmp,
$this->env->getCharset());
        // line 71
        ob_start(function () { return ''; });
        // line 72
        echo "    ";
        $this->displayBlock('page_footer', $context, $blocks);
        // line 76
        echo "
    ";
        // line 77
        echo
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "debugger", []), "render", [],
"method");
        echo "
";
        $context["page_footer"] = ('' === $tmp =
ob_get_clean()) ? '' : new Markup($tmp,
$this->env->getCharset());
        // line 80
        $this->displayBlock('page', $context, $blocks);
    }

    // line 8
    public function block_content($context, array $blocks = [])
    {
        // line 9
        echo "        ";
    }

    // line 19
    public function block_page_offcanvas($context, array $blocks = [])
    {
        // line 20
        echo "        ";
        if (($context["offcanvas"] ?? null)) {
            // line 21
            echo "            ";
            $this->loadTemplate((("@nucleus/layout/" .
$this->getAttribute(($context["offcanvas"] ?? null),
"type", [])) . ".html.twig"),
"@nucleus/page.html.twig",
21)->display(twig_array_merge($context, ["segment" =>
($context["offcanvas"] ?? null)]));
        }
        // line 23
        echo "    ";
    }

    // line 30
    public function block_page_layout($context, array $blocks = [])
    {
        // line 31
        echo "    ";
        $context['_parent'] = $context;
        $context['_seq'] =
twig_ensure_traversable(($context["segments"] ?? null));
        $context['loop'] = [
          'parent' => $context['_parent'],
          'index0' => 0,
          'index'  => 1,
          'first'  => true,
        ];
        foreach ($context['_seq'] as $context["_key"]
=> $context["segment"]) {
            if (($this->getAttribute($context["segment"],
"type", []) != "offcanvas")) {
                // line 32
                echo "        ";
                $this->loadTemplate((("@nucleus/layout/" .
$this->getAttribute($context["segment"], "type",
[])) . ".html.twig"), "@nucleus/page.html.twig",
32)->display(twig_array_merge($context, ["segments" =>
$this->getAttribute($context["segment"], "children",
[])]));
                // line 33
                echo "    ";
                ++$context['loop']['index0'];
                ++$context['loop']['index'];
                $context['loop']['first'] = false;
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'],
$context['_key'], $context['segment'],
$context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 34
        echo "    ";
    }

    // line 38
    public function block_page_top($context, array $blocks = [])
    {
        // line 39
        echo "    ";
    }

    // line 44
    public function block_page_bottom($context, array $blocks = [])
    {
        // line 45
        echo "    ";
    }

    // line 50
    public function block_body_top($context, array $blocks = [])
    {
        // line 51
        echo "    ";
    }

    // line 56
    public function block_body_bottom($context, array $blocks = [])
    {
        // line 57
        echo "    ";
    }

    // line 66
    public function block_page_head($context, array $blocks = [])
    {
        // line 67
        $this->loadTemplate("partials/page_head.html.twig",
"@nucleus/page.html.twig", 67)->display($context);
    }

    // line 72
    public function block_page_footer($context, array $blocks = [])
    {
        // line 73
        echo "        ";
       
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "platform", []), "finalize", [],
"method");
        // line 74
        echo
twig_join_filter($this->getAttribute(($context["gantry"] ??
null), "scripts", [0 => "footer"],
"method"), "
    ");
    }

    // line 80
    public function block_page($context, array $blocks = [])
    {
        // line 81
        echo "<!DOCTYPE ";
        echo
(($this->getAttribute($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "config", [], "any", false, true),
"page", [], "any", false, true), "doctype",
[], "any", true, true)) ?
(_twig_default_filter($this->getAttribute($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "config", [], "any", false, true),
"page", [], "any", false, true), "doctype",
[]), "html")) : ("html"));
        echo ">
<html";
        // line 82
        echo
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "page", []), "htmlAttributes", []);
        echo ">
    ";
        // line 83
        echo ($context["page_head"] ?? null);
        echo "
    ";
        // line 84
        $this->displayBlock('page_body', $context, $blocks);
        // line 102
        echo "
</html>
";
    }

    // line 84
    public function block_page_body($context, array $blocks = [])
    {
        // line 85
        echo "<body";
        echo
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "page", []), "bodyAttributes", [0 =>
["class" => [0 => ($context["offcanvas_position"]
?? null), 1 =>
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "page", []), "preset", []), 2 =>
("g-style-" .
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "theme", []), "preset", []))]]],
"method");
        echo ">
        ";
        // line 86
        echo
$this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "config", []), "page", []), "body",
[]), "body_top", []);
        echo "
        ";
        // line 87
        echo ($context["body_top"] ?? null);
        echo "
        ";
        // line 88
        echo ($context["page_offcanvas"] ?? null);
        echo "
        <div id=\"g-page-surround\">
            ";
        // line 90
        if (twig_trim_filter(($context["page_offcanvas"] ??
null))) {
            // line 91
            echo "<div class=\"g-offcanvas-hide
g-offcanvas-toggle\" role=\"navigation\"
data-offcanvas-toggle aria-controls=\"g-offcanvas\"
aria-expanded=\"false\"><i class=\"fa fa-fw
fa-bars\"></i></div>";
        }
        // line 93
        echo "            ";
        echo ($context["page_top"] ?? null);
        echo "
            ";
        // line 94
        echo ($context["page_layout"] ?? null);
        echo "
            ";
        // line 95
        echo ($context["page_bottom"] ?? null);
        echo "
        </div>
        ";
        // line 97
        echo ($context["body_bottom"] ?? null);
        echo "
        ";
        // line 98
        echo ($context["page_footer"] ?? null);
        echo "
        ";
        // line 99
        echo
$this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "config", []), "page", []), "body",
[]), "body_bottom", []);
        echo "
    </body>";
    }

    public function getTemplateName()
    {
        return "@nucleus/page.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  335 => 99,  331 => 98,  327 => 97,  322
=> 95,  318 => 94,  313 => 93,  310 => 91,  308 => 90,  303
=> 88,  299 => 87,  295 => 86,  290 => 85,  287 => 84,  281
=> 102,  279 => 84,  275 => 83,  271 => 82,  266 => 81,  263
=> 80,  258 => 74,  255 => 73,  252 => 72,  248 => 67,  245
=> 66,  241 => 57,  238 => 56,  234 => 51,  231 => 50,  227
=> 45,  224 => 44,  220 => 39,  217 => 38,  213 => 34,  203
=> 33,  200 => 32,  188 => 31,  185 => 30,  181 => 23,  177
=> 21,  174 => 20,  171 => 19,  167 => 9,  164 => 8,  160
=> 80,  155 => 77,  152 => 76,  149 => 72,  147 => 71,  143
=> 66,  141 => 65,  139 => 61,  132 => 58,  129 => 56,  127
=> 55,  120 => 52,  117 => 50,  115 => 49,  108 => 46,  105
=> 44,  103 => 43,  96 => 40,  93 => 38,  91 => 37,  87
=> 30,  85 => 29,  83 => 27,  81 => 26,  77 => 19,  75 =>
18,  68 => 15,  63 => 14,  61 => 13,  57 => 10,  54 => 8, 
51 => 7,  49 => 6,  47 => 4,  45 => 3,  43 => 2,  41 =>
1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use
getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is
deprecated since version 1.27 and will be removed in 2.0. Use
getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("",
"@nucleus/page.html.twig",
"/home/lmsyaran/public_html/media/gantry5/engines/nucleus/templates/page.html.twig");
    }
}
PKNV�[�ɫk[�[�D727242122d506802cf7a5ee7a9007bc413f15fa7b56b6a6f85df9e2ef6438a1e.phpnu�[���<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;

/* @particles/menu-title.html.twig */
class
__TwigTemplate_7a49114172285fc91254e83755d43dada1d2ca3188059cb43be612ba688830b7
extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        echo "
     ";
        // line 2
        if ($this->getAttribute(($context["particle"] ??
null), "title", [])) {
            // line 3
            echo "            <h3 class=\"g-title
title-pack-menu\">";
            echo $this->getAttribute(($context["particle"] ??
null), "title", []);
            echo "</h3>
        ";
        }
        // line 5
        echo "

";
        // line 7
        try {            // line 8
            echo "    ";
            $context["menu"] =
$this->getAttribute($this->getAttribute(($context["gantry"]
?? null), "menu", []), "instance", [0 =>
($context["particle"] ?? null)], "method");
        } catch (\Exception $e) {
            if ($context['gantry']->debug()) throw $e;
            GANTRY_DEBUGGER &&
method_exists('Gantry\Debugger', 'addException')
&& \Gantry\Debugger::addException($e);
            $context['e'] = $e;
            // line 10
            echo "    <div class=\"alert
alert-error\">";
            echo twig_escape_filter($this->env,
$this->getAttribute(($context["e"] ?? null),
"getMessage", []), "html", null, true);
            echo "</div>
";
        }
        // line 12
        echo "
";
        // line 20
        echo "
";
        // line 29
        echo "
";
        // line 38
        echo "
";
        // line 123
        echo "
";
        // line 140
        echo "
";
        // line 148
        echo "
";
        // line 161
        echo "
";
        // line 162
        $context["macro"] = $this;
        // line 163
        echo "
";
        // line 164
        if
($this->getAttribute($this->getAttribute(($context["menu"]
?? null), "root", []), "count", [],
"method")) {
            // line 165
            echo "    <nav class=\"g-main-nav\"";
            echo (($this->getAttribute(($context["particle"]
?? null), "mobileTarget", [])) ? ("
data-g-mobile-target") : (""));
            echo " data-g-hover-expand=\"";
            echo (((($this->getAttribute(($context["particle"]
?? null), "hoverExpand", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute(($context["particle"]
?? null), "hoverExpand", []), "true")) :
("true"))) ? ("true") : ("false"));
            echo "\">
        <ul class=\"g-toplevel\">
            ";
            // line 167
            echo
$context["macro"]->getdisplayItems($this->getAttribute(($context["menu"]
?? null), "root", []), ($context["menu"] ?? null),
$context);
            echo "
        </ul>
    </nav>
";
        }
    }

    // line 13
    public function getgetCustomWidth($__item__ = null, $__menu__ = null,
$__mode__ = null, $__dropdown_type__ = null, ...$__varargs__)
    {
        $context = $this->env->mergeGlobals([
            "item" => $__item__,
            "menu" => $__menu__,
            "mode" => $__mode__,
            "dropdown_type" => $__dropdown_type__,
            "varargs" => $__varargs__,
        ]);

        $blocks = [];

        ob_start();
        try {
            // line 14
            if ((((($this->getAttribute(($context["item"] ??
null), "width", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute(($context["item"] ??
null), "width", []), "auto")) : ("auto")) !=
"auto") &&  !((($context["dropdown_type"] ??
null) == "fullwidth") &&
($this->getAttribute(($context["item"] ?? null),
"level", []) > 1)))) {
                // line 15
                if ((($context["mode"] ?? null) ==
"item")) {
                    echo " style=\"position:
relative;\"";
                } elseif ((                // line 16
($context["mode"] ?? null) == "submenu")) {
                    echo " style=\"width:";
                    echo twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"width", []), "html", null, true);
                    echo ";\" data-g-item-width=\"";
                    echo twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"width", []), "html", null, true);
                    echo "\"";
                }
            }
        } catch (\Exception $e) {
            ob_end_clean();

            throw $e;
        } catch (\Throwable $e) {
            ob_end_clean();

            throw $e;
        }

        return ('' === $tmp = ob_get_clean()) ? '' :
new Markup($tmp, $this->env->getCharset());
    }

    // line 21
    public function getdisplayParticle($__item__ = null, $__context__ =
null, ...$__varargs__)
    {
        $context = $this->env->mergeGlobals([
            "item" => $__item__,
            "context" => $__context__,
            "varargs" => $__varargs__,
        ]);

        $blocks = [];

        ob_start();
        try {
            // line 22
            echo "    ";
            $context["context"] =
twig_array_merge(($context["context"] ?? null),
["particle" =>
$this->getAttribute($this->getAttribute(($context["item"]
?? null), "options", []), "particle", [])]);
            // line 23
            echo "    ";
            $context["classes"] =
$this->getAttribute($this->getAttribute($this->getAttribute(($context["item"]
?? null), "options", []), "block", []),
"class", []);
            // line 24
            echo "    <div class=\"menu-item-particle";
            ((($context["classes"] ?? null)) ? (print
(twig_escape_filter($this->env, (" " .
($context["classes"] ?? null)), "html", null, true))) :
(print ("")));
            echo "\">
        ";
            // line 25
           
$__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4
= null;
            try {
               
$__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4
=                 $this->loadTemplate([0 => (("particles/"
. $this->getAttribute(($context["item"] ?? null),
"particle", [])) . ".html.twig"), 1 =>
(("@particles/" .
$this->getAttribute(($context["item"] ?? null),
"particle", [])) . ".html.twig")],
"@particles/menu-title.html.twig", 25);
            } catch (LoaderError $e) {
                // ignore missing template
            }
            if
($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4)
{
               
$__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4->display(twig_to_array(
               // line 26
($context["context"] ?? null)));
            }
            // line 27
            echo "    </div>
";
        } catch (\Exception $e) {
            ob_end_clean();

            throw $e;
        } catch (\Throwable $e) {
            ob_end_clean();

            throw $e;
        }

        return ('' === $tmp = ob_get_clean()) ? '' :
new Markup($tmp, $this->env->getCharset());
    }

    // line 30
    public function getdisplayTitle($__item__ = null, ...$__varargs__)
    {
        $context = $this->env->mergeGlobals([
            "item" => $__item__,
            "varargs" => $__varargs__,
        ]);

        $blocks = [];

        ob_start();
        try {
            // line 31
            echo "    ";
            if (( !$this->getAttribute(($context["item"] ??
null), "icon_only", []) || 
!($this->getAttribute(($context["item"] ?? null),
"image", []) ||
$this->getAttribute(($context["item"] ?? null),
"icon", [])))) {
                // line 32
                echo "        <span
class=\"g-menu-item-title\">";
                echo twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"title", []), "html", null, true);
                echo "</span>
        ";
                // line 33
                if ($this->getAttribute(($context["item"] ??
null), "subtitle", [])) {
                    // line 34
                    echo "            <span
class=\"g-menu-item-subtitle\">";
                    echo twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"subtitle", []), "html", null, true);
                    echo "</span>
        ";
                }
                // line 36
                echo "    ";
            }
        } catch (\Exception $e) {
            ob_end_clean();

            throw $e;
        } catch (\Throwable $e) {
            ob_end_clean();

            throw $e;
        }

        return ('' === $tmp = ob_get_clean()) ? '' :
new Markup($tmp, $this->env->getCharset());
    }

    // line 39
    public function getdisplayItem($__item__ = null, $__menu__ = null,
$__context__ = null, $__dropdown_type__ = null, ...$__varargs__)
    {
        $context = $this->env->mergeGlobals([
            "item" => $__item__,
            "menu" => $__menu__,
            "context" => $__context__,
            "dropdown_type" => $__dropdown_type__,
            "varargs" => $__varargs__,
        ]);

        $blocks = [];

        ob_start();
        try {
            // line 40
            echo "    ";
            $context["self"] = $this;
            // line 41
            echo "    ";
            if ((($this->getAttribute(($context["item"] ??
null), "type", []) == "particle") && 
!$this->getAttribute($this->getAttribute($this->getAttribute(($context["item"]
?? null), "options", []), "particle", []),
"enabled", []))) {
                // line 42
                echo "        ";
                $context["enabled"] = 0;
                // line 43
                echo "    ";
            }
            // line 44
            echo "    ";
            if ((($this->getAttribute(($context["item"] ??
null), "visible", []) &&
$this->getAttribute(($context["item"] ?? null),
"enabled", [])) &&
(((isset($context["enabled"]) ||
array_key_exists("enabled", $context))) ?
(_twig_default_filter(($context["enabled"] ?? null), 1)) : (1))))
{
                // line 45
                echo "        ";
                $context["title"] =
((($this->getAttribute(($context["item"] ?? null),
"icon_only", []) ||
$this->getAttribute(($context["item"] ?? null),
"link_title", []))) ? (((" title=\"" .
twig_escape_filter($this->env,
(($this->getAttribute(($context["item"] ?? null),
"link_title", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute(($context["item"] ??
null), "link_title", []),
$this->getAttribute(($context["item"] ?? null),
"title", []))) :
($this->getAttribute(($context["item"] ?? null),
"title", []))))) . "\"")) : (""));
                // line 46
                echo "        ";
                $context["label"] =
((($this->getAttribute(($context["item"] ?? null),
"icon_only", []) &&
($this->getAttribute(($context["item"] ?? null),
"image", []) ||
$this->getAttribute(($context["item"] ?? null),
"icon", [])))) ? (((" aria-label=\"" .
twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"title", []))) . "\"")) : (""));
                // line 47
                echo "        ";
                $context["active"] =
(($this->getAttribute(($context["menu"] ?? null),
"isActive", [0 => ($context["item"] ?? null)],
"method")) ? (" active") : (""));
                // line 48
                echo "        ";
                $context["dropdown"] =
((($this->getAttribute(($context["item"] ?? null),
"level", []) == 1)) ? ((" g-" .
$this->getAttribute(($context["item"] ?? null),
"getDropdown", [], "method"))) : (""));
                // line 49
                echo "        ";
                $context["parent"] =
(($this->getAttribute(($context["item"] ?? null),
"children", [])) ? (" g-parent") : (""));
                // line 50
                echo "        ";
                $context["target"] =
(((($this->getAttribute(($context["item"] ?? null),
"target", []) != "_self") ||
$this->getAttribute($this->getAttribute(($context["context"]
?? null), "particle", []), "forceTarget", []))) ?
(((" target=\"" . twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"target", []))) . "\"")) : (""));
                // line 51
                echo "        ";
                $context["rel"] =
$this->getAttribute(($context["item"] ?? null),
"rel", []);
                // line 52
                echo "
        ";
                // line 53
                if (($this->getAttribute(($context["item"] ??
null), "target", []) == "_blank")) {
                    // line 54
                    echo "            ";
                    if (!twig_in_filter("noopener",
($context["rel"] ?? null))) {
                        // line 55
                        echo "                ";
                        $context["rel"] =
((($context["rel"] ?? null)) ? ((($context["rel"] ??
null) . " ")) : (($context["rel"] ?? null)));
                        // line 56
                        echo "                ";
                        $context["rel"] =
(($context["rel"] ?? null) . "noopener");
                        // line 57
                        echo "            ";
                    }
                    // line 58
                    echo "            ";
                    if (!twig_in_filter("noreferrer",
($context["rel"] ?? null))) {
                        // line 59
                        echo "                ";
                        $context["rel"] =
((($context["rel"] ?? null)) ? ((($context["rel"] ??
null) . " ")) : (($context["rel"] ?? null)));
                        // line 60
                        echo "                ";
                        $context["rel"] =
(($context["rel"] ?? null) . "noreferrer");
                        // line 61
                        echo "            ";
                    }
                    // line 62
                    echo "        ";
                }
                // line 63
                echo "
        ";
                // line 64
                $context["listAttributes"] =
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->attributeArrayFilter($this->getAttribute(($context["item"]
?? null), "attributes", []));
                // line 65
                echo "        ";
                $context["linkAttributes"] = "";
                // line 66
                echo "        
        ";
                // line 67
                if ($this->getAttribute(($context["item"] ??
null), "link_attributes", [])) {
                    // line 68
                    echo "            ";
                    $context['_parent'] = $context;
                    $context['_seq'] =
twig_ensure_traversable($this->getAttribute(($context["item"]
?? null), "link_attributes", []));
                    foreach ($context['_seq'] as
$context["_key"] => $context["attribute"]) {
                        // line 69
                        echo "                ";
                        $context['_parent'] = $context;
                        $context['_seq'] =
twig_ensure_traversable($context["attribute"]);
                        foreach ($context['_seq'] as
$context["key"] => $context["value"]) {
                            // line 70
                            echo "                    ";
                            if (($context["key"] ==
"rel")) {
                                // line 71
                                echo "                        ";
                                $context['_parent'] = $context;
                                $context['_seq'] =
twig_ensure_traversable(twig_split_filter($this->env,
$context["value"], " "));
                                foreach ($context['_seq'] as
$context["_key"] => $context["hVal"]) {
                                    // line 72
                                    echo "                           
";
                                    if
(!twig_in_filter($context["hVal"], ($context["rel"] ??
null))) {
                                        // line 73
                                        echo "                        
       ";
                                        $context["rel"] =
((($context["rel"] ?? null)) ? ((($context["rel"] ??
null) . " ")) : (($context["rel"] ?? null)));
                                        // line 74
                                        echo "                        
       ";
                                        $context["rel"] =
(($context["rel"] ?? null) . $context["hVal"]);
                                        // line 75
                                        echo "                        
   ";
                                    }
                                    // line 76
                                    echo "                       
";
                                }
                                $_parent = $context['_parent'];
                                unset($context['_seq'],
$context['_iterated'], $context['_key'],
$context['hVal'], $context['_parent'],
$context['loop']);
                                $context = array_intersect_key($context,
$_parent) + $_parent;
                                // line 77
                                echo "                    ";
                            } else {
                                // line 78
                                echo "                        ";
                                $context["linkAttributes"] =
(((((($context["linkAttributes"] ?? null) . " ") .
twig_escape_filter($this->env, $context["key"])) .
"=\"") . twig_escape_filter($this->env,
$context["value"], "html_attr")) .
"\"");
                                // line 79
                                echo "                    ";
                            }
                            // line 80
                            echo "                ";
                        }
                        $_parent = $context['_parent'];
                        unset($context['_seq'],
$context['_iterated'], $context['key'],
$context['value'], $context['_parent'],
$context['loop']);
                        $context = array_intersect_key($context, $_parent)
+ $_parent;
                        // line 81
                        echo "            ";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'],
$context['_iterated'], $context['_key'],
$context['attribute'], $context['_parent'],
$context['loop']);
                    $context = array_intersect_key($context, $_parent) +
$_parent;
                    // line 82
                    echo "        ";
                }
                // line 83
                echo "
        ";
                // line 84
                $context["rel"] = ((($context["rel"] ??
null)) ? (((" rel=\"" . twig_escape_filter($this->env,
($context["rel"] ?? null), "html_attr")) .
"\"")) : (""));
                // line 85
                echo "        
        <li class=\"g-menu-item g-menu-item-type-";
                // line 86
                echo twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"type", []), "html", null, true);
                echo " g-menu-item-";
                echo twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"id", []), "html", null, true);
                if ( !$this->getAttribute(($context["item"] ??
null), "dropdown_hide", [])) {
                    echo twig_escape_filter($this->env,
($context["parent"] ?? null), "html", null, true);
                }
                echo twig_escape_filter($this->env,
($context["active"] ?? null), "html", null, true);
                echo twig_escape_filter($this->env,
($context["dropdown"] ?? null), "html", null, true);
                echo " ";
                if (($this->getAttribute(($context["item"] ??
null), "url", []) &&
$this->getAttribute(($context["item"] ?? null),
"children", []))) {
                    if (
!$this->getAttribute(($context["item"] ?? null),
"dropdown_hide", [])) {
                        echo "g-menu-item-link-parent";
                    }
                }
                echo " ";
                echo twig_escape_filter($this->env,
(($this->getAttribute(($context["item"] ?? null),
"class", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute(($context["item"] ??
null), "class", []), "")) : ("")),
"html", null, true);
                echo "\"";
                // line 87
                echo
$context["self"]->getgetCustomWidth(($context["item"]
?? null), ($context["menu"] ?? null), "item",
($context["dropdown"] ?? null));
                // line 88
                if
((($this->getAttribute($this->getAttribute(($context["context"]
?? null), "particle", [], "any", false, true),
"renderTitles", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute($this->getAttribute(($context["context"]
?? null), "particle", [], "any", false, true),
"renderTitles", []), 0)) : (0))) {
                    echo " title=\"";
                    echo twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"title", []), "html", null, true);
                    echo "\"";
                }
                echo ($context["listAttributes"] ?? null);
                echo ">
            ";
                // line 89
                if ($this->getAttribute(($context["item"] ??
null), "url", [])) {
                    echo "<a
class=\"g-menu-item-container";
                    (($this->getAttribute(($context["item"] ??
null), "anchor_class", [])) ? (print
(twig_escape_filter($this->env, (" " .
$this->getAttribute(($context["item"] ?? null),
"anchor_class", [])), "html", null, true))) : (print
("")));
                    echo "\" href=\"";
                    echo twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"url", []), "html", null, true);
                    echo twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"hash", []), "html", null, true);
                    echo "\"";
                    echo ((((($context["title"] ?? null) .
($context["label"] ?? null)) . ($context["target"] ??
null)) . ($context["rel"] ?? null)) .
($context["linkAttributes"] ?? null));
                    echo ">
            ";
                } else {
                    // line 90
                    echo "<div
class=\"g-menu-item-container";
                    (($this->getAttribute(($context["item"] ??
null), "anchor_class", [])) ? (print
(twig_escape_filter($this->env, (" " .
$this->getAttribute(($context["item"] ?? null),
"anchor_class", [])), "html", null, true))) : (print
("")));
                    echo "\"
data-g-menuparent=\"\"";
                    echo ($context["label"] ?? null);
                    echo ">";
                }
                // line 91
                echo "                ";
                if ($this->getAttribute(($context["item"] ??
null), "image", [])) {
                    // line 92
                    echo "                    <img
src=\"";
                    echo twig_escape_filter($this->env,
$this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc($this->getAttribute(($context["item"]
?? null), "image", [])), "html", null, true);
                    echo "\" alt=\"";
                    echo twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"title", []), "html", null, true);
                    echo "\" />
                ";
                } elseif ($this->getAttribute(                // line 93
($context["item"] ?? null), "icon", [])) {
                    // line 94
                    echo "                    <i
class=\"";
                    echo twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"icon", []), "html", null, true);
                    echo "\"
aria-hidden=\"true\"></i>
                ";
                }
                // line 96
                echo "                ";
                if ($this->getAttribute(($context["item"] ??
null), "url", [])) {
                    // line 97
                    echo "                    <span
class=\"g-menu-item-content\">
                        ";
                    // line 98
                    echo
$context["self"]->getdisplayTitle(($context["item"]
?? null));
                    echo "
                    </span>
                    ";
                    // line 100
                    if (($this->getAttribute(($context["item"]
?? null), "children", []) && 
!$this->getAttribute(($context["item"] ?? null),
"dropdown_hide", []))) {
                        // line 101
                        echo "<span
class=\"g-menu-parent-indicator\"
data-g-menuparent=\"\"></span>";
                    }
                    // line 103
                    echo "                ";
                } else {
                    // line 104
                    echo "                    ";
                    if (($this->getAttribute(($context["item"]
?? null), "type", []) == "particle")) {
                        // line 105
                        echo "                        ";
                        echo
$context["self"]->getdisplayParticle(($context["item"]
?? null), ($context["context"] ?? null));
                        echo "
                    ";
                    } elseif (($this->getAttribute(                   
// line 106
($context["item"] ?? null), "type", []) ==
"heading")) {
                        // line 107
                        echo "                        <span
class=\"g-nav-header g-menu-item-content\"";
                        echo ($context["title"] ?? null);
                        echo ">";
                        echo
$context["self"]->getdisplayTitle(($context["item"]
?? null));
                        echo "</span>
                    ";
                    } else {
                        // line 109
                        echo "                        <span
class=\"g-separator g-menu-item-content\"";
                        echo ($context["title"] ?? null);
                        echo ">";
                        echo
$context["self"]->getdisplayTitle(($context["item"]
?? null));
                        echo "</span>
                    ";
                    }
                    // line 111
                    echo "                        ";
                    if (($this->getAttribute(($context["item"]
?? null), "children", []) && 
!$this->getAttribute(($context["item"] ?? null),
"dropdown_hide", []))) {
                        // line 112
                        echo "<span
class=\"g-menu-parent-indicator\"></span>";
                    }
                    // line 114
                    echo "                ";
                }
                // line 115
                echo "            ";
                if ($this->getAttribute(($context["item"] ??
null), "url", [])) {
                    echo "</a>
            ";
                } else {
                    // line 116
                    echo "</div>";
                }
                // line 117
                echo "            ";
                if ($this->getAttribute(($context["item"] ??
null), "children", [])) {
                    // line 118
                    echo
$context["self"]->getdisplaySubmenu(($context["item"]
?? null), ($context["menu"] ?? null),
($context["context"] ?? null),
($context["dropdown_type"] ?? null));
                }
                // line 120
                echo "        </li>
    ";
            }
        } catch (\Exception $e) {
            ob_end_clean();

            throw $e;
        } catch (\Throwable $e) {
            ob_end_clean();

            throw $e;
        }

        return ('' === $tmp = ob_get_clean()) ? '' :
new Markup($tmp, $this->env->getCharset());
    }

    // line 124
    public function getdisplayContainers($__item__ = null, $__menu__ =
null, $__context__ = null, $__dropdown_type__ = null, ...$__varargs__)
    {
        $context = $this->env->mergeGlobals([
            "item" => $__item__,
            "menu" => $__menu__,
            "context" => $__context__,
            "dropdown_type" => $__dropdown_type__,
            "varargs" => $__varargs__,
        ]);

        $blocks = [];

        ob_start();
        try {
            // line 125
            echo "    ";
            $context["self"] = $this;
            // line 126
            echo "    <div class=\"g-grid\">
        ";
            // line 127
            $context["groups"] =
((($this->getAttribute(($context["item"] ?? null),
"getDropdown", [], "method") == "standard"))
? ([0 => ($context["item"] ?? null)]) :
($this->getAttribute(($context["item"] ?? null),
"groups", [])));
            // line 128
            echo "        ";
            $context['_parent'] = $context;
            $context['_seq'] =
twig_ensure_traversable(($context["groups"] ?? null));
            foreach ($context['_seq'] as
$context["column"] => $context["items"]) {
                // line 129
                echo "        <div class=\"g-block ";
                echo twig_escape_filter($this->env,
call_user_func_array($this->env->getFilter('toGrid')->getCallable(),
[$this->getAttribute(($context["item"] ?? null),
"columnWidth", [0 => $context["column"]],
"method")]), "html", null, true);
                echo "\">
            <ul class=\"g-sublevel\">
                <li class=\"g-level-";
                // line 131
                echo twig_escape_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"level", []), "html", null, true);
                echo " g-go-back\">
                    <a class=\"g-menu-item-container\"
href=\"#\"
data-g-menuparent=\"\"><span>Back</span></a>
                </li>
                ";
                // line 134
                echo
$context["self"]->getdisplayItems($context["items"],
($context["menu"] ?? null), ($context["context"] ??
null), ($context["dropdown_type"] ?? null));
                echo "
            </ul>
        </div>
        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'],
$context['_iterated'], $context['column'],
$context['items'], $context['_parent'],
$context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 138
            echo "    </div>
";
        } catch (\Exception $e) {
            ob_end_clean();

            throw $e;
        } catch (\Throwable $e) {
            ob_end_clean();

            throw $e;
        }

        return ('' === $tmp = ob_get_clean()) ? '' :
new Markup($tmp, $this->env->getCharset());
    }

    // line 141
    public function getdisplayItems($__items__ = null, $__menu__ = null,
$__context__ = null, $__dropdown_type__ = null, ...$__varargs__)
    {
        $context = $this->env->mergeGlobals([
            "items" => $__items__,
            "menu" => $__menu__,
            "context" => $__context__,
            "dropdown_type" => $__dropdown_type__,
            "varargs" => $__varargs__,
        ]);

        $blocks = [];

        ob_start();
        try {
            // line 142
            echo "    ";
            $context["self"] = $this;
            // line 143
            echo "    ";
            $context['_parent'] = $context;
            $context['_seq'] =
twig_ensure_traversable(($context["items"] ?? null));
            foreach ($context['_seq'] as
$context["_key"] => $context["item"]) {
                // line 144
                echo "        ";
                if (($this->getAttribute($context["item"],
"level", []) == 1)) {
                    $context["dropdown_type"] =
$this->getAttribute($context["item"], "dropdown",
[]);
                }
                // line 145
                echo "        ";
                echo
$context["self"]->getdisplayItem($context["item"],
($context["menu"] ?? null), ($context["context"] ??
null), ($context["dropdown_type"] ?? null));
                echo "
    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'],
$context['_iterated'], $context['_key'],
$context['item'], $context['_parent'],
$context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
        } catch (\Exception $e) {
            ob_end_clean();

            throw $e;
        } catch (\Throwable $e) {
            ob_end_clean();

            throw $e;
        }

        return ('' === $tmp = ob_get_clean()) ? '' :
new Markup($tmp, $this->env->getCharset());
    }

    // line 149
    public function getdisplaySubmenu($__item__ = null, $__menu__ = null,
$__context__ = null, $__dropdown_type__ = null, ...$__varargs__)
    {
        $context = $this->env->mergeGlobals([
            "item" => $__item__,
            "menu" => $__menu__,
            "context" => $__context__,
            "dropdown_type" => $__dropdown_type__,
            "varargs" => $__varargs__,
        ]);

        $blocks = [];

        ob_start();
        try {
            // line 150
            echo "    ";
            $context["self"] = $this;
            // line 151
            echo "    ";
            if ( !$this->getAttribute(($context["item"] ??
null), "dropdown_hide", [])) {
                // line 152
                echo "        ";
                $context["animation"] =
(($this->getAttribute($this->getAttribute($this->getAttribute(($context["context"]
?? null), "gantry", [], "any", false, true),
"config", [], "any", false, true), "get", [0
=> "styles.menu.animation"], "method", true, true))
?
(_twig_default_filter($this->getAttribute($this->getAttribute($this->getAttribute(($context["context"]
?? null), "gantry", [], "any", false, true),
"config", [], "any", false, true), "get", [0
=> "styles.menu.animation"], "method"),
"g-fade")) : ("g-fade"));
                // line 153
                echo "        ";
                if (((((twig_length_filter($this->env,
$this->getAttribute(($context["item"] ?? null),
"groups", [])) == 1) && (
!($context["dropdown_type"] ?? null) == "fullwidth"))
|| (($context["dropdown_type"] ?? null) == "standard"))
|| (((($this->getAttribute(($context["item"] ?? null),
"width", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute(($context["item"] ??
null), "width", []), "auto")) : ("auto")) !=
"auto") && (($context["dropdown_type"] ?? null)
== "fullwidth")))) {
                    $context["dropdown_dir"] =
("g-dropdown-" .
(($this->getAttribute(($context["item"] ?? null),
"dropdown_dir", [], "any", true, true)) ?
(_twig_default_filter($this->getAttribute(($context["item"] ??
null), "dropdown_dir", []), "right")) :
("right")));
                }
                // line 154
                echo "        <ul class=\"g-dropdown
g-inactive ";
                echo twig_escape_filter($this->env,
($context["animation"] ?? null), "html", null, true);
                echo " ";
                echo twig_escape_filter($this->env,
($context["dropdown_dir"] ?? null), "html", null,
true);
                echo "\"";
                echo
$context["self"]->getgetCustomWidth(($context["item"]
?? null), ($context["menu"] ?? null), "submenu",
($context["dropdown_type"] ?? null));
                echo ">
            <li class=\"g-dropdown-column\">
                ";
                // line 156
                echo
$context["self"]->getdisplayContainers(($context["item"]
?? null), ($context["menu"] ?? null),
($context["context"] ?? null),
($context["dropdown_type"] ?? null));
                echo "
            </li>
        </ul>
    ";
            }
        } catch (\Exception $e) {
            ob_end_clean();

            throw $e;
        } catch (\Throwable $e) {
            ob_end_clean();

            throw $e;
        }

        return ('' === $tmp = ob_get_clean()) ? '' :
new Markup($tmp, $this->env->getCharset());
    }

    public function getTemplateName()
    {
        return "@particles/menu-title.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  715 => 156,  705 => 154,  700 => 153,  697
=> 152,  694 => 151,  691 => 150,  676 => 149,  654 => 145, 
649 => 144,  644 => 143,  641 => 142,  626 => 141,  610 =>
138,  600 => 134,  594 => 131,  588 => 129,  583 => 128,  581
=> 127,  578 => 126,  575 => 125,  560 => 124,  543 => 120, 
540 => 118,  537 => 117,  534 => 116,  528 => 115,  525 =>
114,  522 => 112,  519 => 111,  511 => 109,  503 => 107,  501
=> 106,  496 => 105,  493 => 104,  490 => 103,  487 => 101, 
485 => 100,  480 => 98,  477 => 97,  474 => 96,  468 => 94, 
466 => 93,  459 => 92,  456 => 91,  449 => 90,  437 => 89, 
428 => 88,  426 => 87,  408 => 86,  405 => 85,  403 => 84, 
400 => 83,  397 => 82,  391 => 81,  385 => 80,  382 => 79, 
379 => 78,  376 => 77,  370 => 76,  367 => 75,  364 => 74, 
361 => 73,  358 => 72,  353 => 71,  350 => 70,  345 => 69, 
340 => 68,  338 => 67,  335 => 66,  332 => 65,  330 => 64, 
327 => 63,  324 => 62,  321 => 61,  318 => 60,  315 => 59, 
312 => 58,  309 => 57,  306 => 56,  303 => 55,  300 => 54, 
298 => 53,  295 => 52,  292 => 51,  289 => 50,  286 => 49, 
283 => 48,  280 => 47,  277 => 46,  274 => 45,  271 => 44, 
268 => 43,  265 => 42,  262 => 41,  259 => 40,  244 => 39, 
228 => 36,  222 => 34,  220 => 33,  215 => 32,  212 => 31, 
200 => 30,  184 => 27,  181 => 26,  173 => 25,  168 => 24, 
165 => 23,  162 => 22,  149 => 21,  127 => 16,  124 => 15, 
122 => 14,  107 => 13,  98 => 167,  90 => 165,  88 => 164, 
85 => 163,  83 => 162,  80 => 161,  77 => 148,  74 => 140, 
71 => 123,  68 => 38,  65 => 29,  62 => 20,  59 => 12,  53
=> 10,  46 => 8,  45 => 7,  41 => 5,  35 => 3,  33 => 2, 
30 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use
getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is
deprecated since version 1.27 and will be removed in 2.0. Use
getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("
     {% if particle.title %}
            <h3 class=\"g-title title-pack-menu\">{{
particle.title|raw }}</h3>
        {% endif %}


{% try %}
    {% set menu = gantry.menu.instance(particle) %}
{% catch %}
    <div class=\"alert alert-error\">{{ e.getMessage
}}</div>
{% endtry %}

{% macro getCustomWidth(item, menu, mode, dropdown_type) -%}
    {%- if (item.width|default('auto') != 'auto') and
not (dropdown_type == 'fullwidth' and item.level > 1) -%}
        {%- if mode == 'item' %} style=\"position:
relative;\"
        {%- elseif mode == 'submenu' %} style=\"width:{{
item.width }};\" data-g-item-width=\"{{ item.width }}\"
        {%- endif %}
    {%- endif %}
{%- endmacro %}

{% macro displayParticle(item, context) %}
    {% set context = context|merge({ particle: item.options.particle }) %}
    {% set classes = item.options.block.class %}
    <div class=\"menu-item-particle{{ classes ? ' ' ~
classes }}\">
        {% include ['particles/' ~ item.particle ~
'.html.twig', '@particles/' ~ item.particle ~
'.html.twig']
        ignore missing with context only %}
    </div>
{% endmacro %}

{% macro displayTitle(item) %}
    {% if not item.icon_only or not (item.image or item.icon) %}
        <span class=\"g-menu-item-title\">{{ item.title
}}</span>
        {% if item.subtitle %}
            <span class=\"g-menu-item-subtitle\">{{
item.subtitle }}</span>
        {% endif %}
    {% endif %}
{% endmacro %}

{% macro displayItem(item, menu, context, dropdown_type) %}
    {% import _self as self %}
    {% if item.type == 'particle' and not
item.options.particle.enabled %}
        {% set enabled = 0 %}
    {% endif %}
    {% if item.visible and item.enabled and enabled|default(1) %}
        {% set title = item.icon_only or item.link_title ? '
title=\"' ~ item.link_title|default(item.title)|e ~
'\"' %}
        {% set label = item.icon_only and (item.image or item.icon) ?
' aria-label=\"' ~ item.title|e ~'\"' %}
        {% set active = menu.isActive(item) ? ' active' %}
        {% set dropdown = item.level == 1 ? ' g-' ~
item.getDropdown() %}
        {% set parent = item.children ? ' g-parent' %}
        {% set target = (item.target != '_self' or
context.particle.forceTarget) ? ' target=\"' ~ item.target|e
~ '\"' %}
        {% set rel = item.rel %}

        {% if item.target == '_blank' %}
            {% if 'noopener' not in rel %}
                {% set rel = rel ? rel ~ ' ' : rel %}
                {% set rel = rel ~ 'noopener' %}
            {% endif %}
            {% if 'noreferrer' not in rel %}
                {% set rel = rel ? rel ~ ' ' : rel %}
                {% set rel = rel ~ 'noreferrer' %}
            {% endif %}
        {% endif %}

        {% set listAttributes = item.attributes|attribute_array %}
        {% set linkAttributes = '' %}
        
        {% if item.link_attributes %}
            {% for attribute in item.link_attributes %}
                {% for key, value in attribute %}
                    {% if key == 'rel' %}
                        {% for hVal in value|split(' ') %}
                            {% if hVal not in rel %}
                                {% set rel = rel ? rel ~ ' ' :
rel %}
                                {% set rel = rel ~ hVal %}
                            {% endif %}
                        {% endfor %}
                    {% else %}
                        {% set linkAttributes = linkAttributes ~ '
' ~ key|e ~ '=\"' ~ value|e('html_attr') ~
'\"' %}
                    {% endif %}
                {% endfor %}
            {% endfor %}
        {% endif %}

        {% set rel = rel ? ' rel=\"' ~
rel|e('html_attr') ~ '\"' %}
        
        <li class=\"g-menu-item g-menu-item-type-{{ item.type }}
g-menu-item-{{ item.id }}{% if not item.dropdown_hide %}{{ parent }}{%
endif %}{{ active }}{{ dropdown }} {% if item.url and item.children %}{% if
not item.dropdown_hide %}g-menu-item-link-parent{% endif %}{% endif %} {{
item.class|default('') }}\"
                {{- self.getCustomWidth(item, menu, 'item',
dropdown) }}
                {%- if context.particle.renderTitles|default(0) %}
title=\"{{ item.title }}\"{% endif %}{{listAttributes|raw}}>
            {% if item.url %}<a class=\"g-menu-item-container{{
item.anchor_class ? ' ' ~ item.anchor_class }}\"
href=\"{{ item.url }}{{ item.hash }}\"{{ (title ~ label ~ target
~ rel ~ linkAttributes)|raw }}>
            {% else %}<div class=\"g-menu-item-container{{
item.anchor_class ? ' ' ~ item.anchor_class }}\"
data-g-menuparent=\"\"{{ label|raw }}>{% endif %}
                {% if item.image %}
                    <img src=\"{{ url(item.image) }}\"
alt=\"{{ item.title }}\" />
                {% elseif item.icon %}
                    <i class=\"{{ item.icon }}\"
aria-hidden=\"true\"></i>
                {% endif %}
                {% if item.url %}
                    <span class=\"g-menu-item-content\">
                        {{ self.displayTitle(item) }}
                    </span>
                    {% if (item.children) and not item.dropdown_hide -%}
                        <span
class=\"g-menu-parent-indicator\"
data-g-menuparent=\"\"></span>
                    {%- endif %}
                {% else %}
                    {% if item.type == 'particle' %}
                        {{ self.displayParticle(item, context) }}
                    {% elseif item.type == 'heading' %}
                        <span class=\"g-nav-header
g-menu-item-content\"{{ title|raw }}>{{ self.displayTitle(item)
}}</span>
                    {% else %}
                        <span class=\"g-separator
g-menu-item-content\"{{ title|raw }}>{{ self.displayTitle(item)
}}</span>
                    {% endif %}
                        {% if (item.children) and not item.dropdown_hide
-%}
                            <span
class=\"g-menu-parent-indicator\"></span>
                        {%- endif %}
                {% endif %}
            {% if item.url %}</a>
            {% else %}</div>{% endif %}
            {% if (item.children) -%}
                {{ self.displaySubmenu(item, menu, context, dropdown_type)
}}
            {%- endif %}
        </li>
    {% endif %}
{% endmacro %}

{% macro displayContainers(item, menu, context, dropdown_type) %}
    {% import _self as self %}
    <div class=\"g-grid\">
        {% set groups = item.getDropdown() == 'standard' ? [item]
: item.groups %}
        {% for column, items in groups %}
        <div class=\"g-block {{ item.columnWidth(column)|toGrid
}}\">
            <ul class=\"g-sublevel\">
                <li class=\"g-level-{{ item.level }}
g-go-back\">
                    <a class=\"g-menu-item-container\"
href=\"#\"
data-g-menuparent=\"\"><span>Back</span></a>
                </li>
                {{ self.displayItems(items, menu, context, dropdown_type)
}}
            </ul>
        </div>
        {% endfor %}
    </div>
{% endmacro %}

{% macro displayItems(items, menu, context, dropdown_type) %}
    {% import _self as self %}
    {% for item in items %}
        {% if item.level == 1 %}{% set dropdown_type = item.dropdown %}{%
endif %}
        {{ self.displayItem(item, menu, context, dropdown_type) }}
    {% endfor %}
{% endmacro %}

{% macro displaySubmenu(item, menu, context, dropdown_type) %}
    {% import _self as self %}
    {% if not item.dropdown_hide %}
        {% set animation =
context.gantry.config.get('styles.menu.animation')|default('g-fade')
%}
        {% if ((item.groups|length == 1 and not dropdown_type ==
'fullwidth') or dropdown_type == 'standard') or
(item.width|default('auto') != 'auto' and dropdown_type
== 'fullwidth')%}{% set dropdown_dir = 'g-dropdown-' ~
item.dropdown_dir|default('right') %}{% endif %}
        <ul class=\"g-dropdown g-inactive {{ animation }} {{
dropdown_dir }}\"{{ self.getCustomWidth(item, menu,
'submenu', dropdown_type) }}>
            <li class=\"g-dropdown-column\">
                {{ self.displayContainers(item, menu, context,
dropdown_type) }}
            </li>
        </ul>
    {% endif %}
{% endmacro %}

{% import _self as macro %}

{% if menu.root.count() %}
    <nav class=\"g-main-nav\"{{ particle.mobileTarget ? '
data-g-mobile-target' : '' }} data-g-hover-expand=\"{{
particle.hoverExpand|default('true') ? 'true':
'false' }}\">
        <ul class=\"g-toplevel\">
            {{ macro.displayItems(menu.root, menu, _context) }}
        </ul>
    </nav>
{% endif %}
", "@particles/menu-title.html.twig",
"/home/lmsyaran/public_html/templates/g5_hydrogen/custom/particles/menu-title.html.twig");
    }
}
PKz��[��{IaaD723dc76a464c78fecb2429813dd741771e31a82b8004c0f33002cc4cd0f988ab.phpnu�[���PKNV�[T�yQ�<�<D�a72ddd909dab036cf05b1b13f61139464d6811979681f81be3447af0a4537d41b.phpnu�[���PKNV�[�ɫk[�[�D�727242122d506802cf7a5ee7a9007bc413f15fa7b56b6a6f85df9e2ef6438a1e.phpnu�[���PK��V