var/cache/dev/twig/89/896222c50d137bf4d3253918d1eb1c37.php line 190
<?phpuse 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;/* base.html.twig */class __TwigTemplate_7cfec7edbc1d421d2f850a6c4ce5ab95 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 = ['title' => [$this, 'block_title'],'stylesheets' => [$this, 'block_stylesheets'],'javascripts' => [$this, 'block_javascripts'],'body' => [$this, 'block_body'],];}protected function doDisplay(array $context, array $blocks = []): iterable{$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));// line 1yield "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>";// line 6yield from $this->unwrap()->yieldBlock('title', $context, $blocks);yield "</title><meta name=\"title\" content=\"Welcome to ONLD UK : ONLD UK serves as RSP Nepal's official overseas department based in the United Kingdom.\" /><meta name=\"description\" content=\"Overseas Nepalese Liaison Department(ONLD) UK was formed in May 2023 as a conjoined organization of Nepalese residing in the UK who have hope, faith and trust towards the objectives of the National Independent Party (Rastriya Swatantra Party-RSP) of Nepal.\" /><!-- Open Graph / Facebook --><meta property=\"og:type\" content=\"website\" /><meta property=\"og:url\" content=\"https://onld.co.uk/\" /><meta property=\"og:title\" content=\"Welcome to ONLD UK : ONLD UK serves as RSP Nepal's official overseas department based in the United Kingdom.\" /><meta property=\"og:description\" content=\"Overseas Nepalese Liaison Department(ONLD) UK was formed in May 2023 as a conjoined organization of Nepalese residing in the UK who have hope, faith and trust towards the objectives of the National Independent Party (Rastriya Swatantra Party-RSP) of Nepal.\" /><meta property=\"og:image\" content=\"https://onld.co.uk/images/banner_image.jpg\" /><!-- Twitter --><meta property=\"twitter:card\" content=\"summary_large_image\" /><meta property=\"twitter:url\" content=\"https://onld.co.uk/\" /><meta property=\"twitter:title\" content=\"Welcome to ONLD UK : ONLD UK serves as RSP Nepal's official overseas department based in the United Kingdom.\" /><meta property=\"twitter:description\" content=\"Overseas Nepalese Liaison Department(ONLD) UK was formed in May 2023 as a conjoined organization of Nepalese residing in the UK who have hope, faith and trust towards the objectives of the National Independent Party (Rastriya Swatantra Party-RSP) of Nepal.\" /><meta property=\"twitter:image\" content=\"https://onld.co.uk/images/banner_image.jpg\" /><!-- Meta Tags Generated with https://metatags.io --><link rel=\"icon\" href=\"/images/logo.svg\">";// line 26yield " ";yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);// line 29yield "";// line 30yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);// line 33yield " </head><body>";// line 35$macros["toast"] = $this->macros["toast"] = $this->load("macros/toast.html.twig", 35)->unwrap();// line 36yield " <div class=\"backdrop xl:hidden hidden fixed inset-0 bg-neutral-900/80 backdrop-blur z-20\"></div>";// line 37yield from $this->load("header.html.twig", 37)->unwrap()->yield($context);yield " <!-- header -->";// line 39$context['_parent'] = $context;$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 39, $this->source); })()), "flashes", ["success"], "method", false, false, false, 39));foreach ($context['_seq'] as $context["_key"] => $context["success"]) {// line 40yield " ";yield $macros["toast"]->getTemplateForMacro("macro_displayToast", $context, 40, $this->getSourceContext())->macro_displayToast(...["success", $context["success"], 3000]);yield "";}$_parent = $context['_parent'];unset($context['_seq'], $context['_key'], $context['success'], $context['_parent']);$context = array_intersect_key($context, $_parent) + $_parent;// line 42yield " ";$context['_parent'] = $context;$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 42, $this->source); })()), "flashes", ["notice"], "method", false, false, false, 42));foreach ($context['_seq'] as $context["_key"] => $context["notice"]) {// line 43yield " ";yield $macros["toast"]->getTemplateForMacro("macro_displayToast", $context, 43, $this->getSourceContext())->macro_displayToast(...["info", $context["notice"], 3000]);yield "";}$_parent = $context['_parent'];unset($context['_seq'], $context['_key'], $context['notice'], $context['_parent']);$context = array_intersect_key($context, $_parent) + $_parent;// line 45yield " ";$context['_parent'] = $context;$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 45, $this->source); })()), "flashes", ["error"], "method", false, false, false, 45));foreach ($context['_seq'] as $context["_key"] => $context["error"]) {// line 46yield " ";yield $macros["toast"]->getTemplateForMacro("macro_displayToast", $context, 46, $this->getSourceContext())->macro_displayToast(...["warning", $context["error"], 3000]);yield "";}$_parent = $context['_parent'];unset($context['_seq'], $context['_key'], $context['error'], $context['_parent']);$context = array_intersect_key($context, $_parent) + $_parent;// line 48yield " <div class=\"w-full pt-16\">";// line 49if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_IMPERSONATOR")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {// line 50yield " <div class=\"bg-yellow-300 p-4 flex flex-wrap justify-between\"><div>Logged in as: [";// line 51yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 51, $this->source); })()), "user", [], "any", false, false, false, 51), "firstName", [], "any", false, false, false, 51), "html", null, true);yield "] [";yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 51, $this->source); })()), "user", [], "any", false, false, false, 51), "id", [], "any", false, false, false, 51), "html", null, true);yield "] [";yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 51, $this->source); })()), "user", [], "any", false, false, false, 51), "email", [], "any", false, false, false, 51), "html", null, true);yield "]</div><div class=\"pt-2\"><a href=\"";// line 53yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->getImpersonateExitPath("/admin/user"), "html", null, true);yield "\" class=\"lg:inlinehiddenbg-red-500hover:bg-transparentborderborder-red-700transition-allduration-300py-2px-5rounded-fulltext-basefont-semiboldleading-6text-whitehover:text-red-400lg:w-autow-fulltext-centerlg:mr-5\">Exit Impersonation </a></div></div>";}// line 76yield "";// line 77yield from $this->unwrap()->yieldBlock('body', $context, $blocks);// line 78yield " </div>";// line 79yield from $this->load("footer.html.twig", 79)->unwrap()->yield($context);// line 80yield " </body></html>";$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);yield from [];}// line 6/*** @return iterable<null|scalar|\Stringable>*/public function block_title(array $context, array $blocks = []): iterable{$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));yield "Welcome!";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);yield from [];}// line 26/*** @return iterable<null|scalar|\Stringable>*/public function block_stylesheets(array $context, array $blocks = []): iterable{$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));// line 27yield " ";yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");yield "";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);yield from [];}// line 30/*** @return iterable<null|scalar|\Stringable>*/public function block_javascripts(array $context, array $blocks = []): iterable{$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));// line 31yield " ";yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");yield "";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);yield from [];}// line 77/*** @return iterable<null|scalar|\Stringable>*/public function block_body(array $context, array $blocks = []): iterable{$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);yield from [];}/*** @codeCoverageIgnore*/public function getTemplateName(): string{return "base.html.twig";}/*** @codeCoverageIgnore*/public function isTraitable(): bool{return false;}/*** @codeCoverageIgnore*/public function getDebugInfo(): array{return array ( 287 => 77, 273 => 31, 260 => 30, 246 => 27, 233 => 26, 210 => 6, 197 => 80, 195 => 79, 192 => 78, 190 => 77, 187 => 76, 161 => 53, 152 => 51, 149 => 50, 147 => 49, 144 => 48, 135 => 46, 130 => 45, 121 => 43, 116 => 42, 107 => 40, 103 => 39, 98 => 37, 95 => 36, 93 => 35, 89 => 33, 87 => 30, 84 => 29, 81 => 26, 59 => 6, 52 => 1,);}public function getSourceContext(): Source{return new Source("<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>{% block title %}Welcome!{% endblock %}</title><meta name=\"title\" content=\"Welcome to ONLD UK : ONLD UK serves as RSP Nepal's official overseas department based in the United Kingdom.\" /><meta name=\"description\" content=\"Overseas Nepalese Liaison Department(ONLD) UK was formed in May 2023 as a conjoined organization of Nepalese residing in the UK who have hope, faith and trust towards the objectives of the National Independent Party (Rastriya Swatantra Party-RSP) of Nepal.\" /><!-- Open Graph / Facebook --><meta property=\"og:type\" content=\"website\" /><meta property=\"og:url\" content=\"https://onld.co.uk/\" /><meta property=\"og:title\" content=\"Welcome to ONLD UK : ONLD UK serves as RSP Nepal's official overseas department based in the United Kingdom.\" /><meta property=\"og:description\" content=\"Overseas Nepalese Liaison Department(ONLD) UK was formed in May 2023 as a conjoined organization of Nepalese residing in the UK who have hope, faith and trust towards the objectives of the National Independent Party (Rastriya Swatantra Party-RSP) of Nepal.\" /><meta property=\"og:image\" content=\"https://onld.co.uk/images/banner_image.jpg\" /><!-- Twitter --><meta property=\"twitter:card\" content=\"summary_large_image\" /><meta property=\"twitter:url\" content=\"https://onld.co.uk/\" /><meta property=\"twitter:title\" content=\"Welcome to ONLD UK : ONLD UK serves as RSP Nepal's official overseas department based in the United Kingdom.\" /><meta property=\"twitter:description\" content=\"Overseas Nepalese Liaison Department(ONLD) UK was formed in May 2023 as a conjoined organization of Nepalese residing in the UK who have hope, faith and trust towards the objectives of the National Independent Party (Rastriya Swatantra Party-RSP) of Nepal.\" /><meta property=\"twitter:image\" content=\"https://onld.co.uk/images/banner_image.jpg\" /><!-- Meta Tags Generated with https://metatags.io --><link rel=\"icon\" href=\"/images/logo.svg\">{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}{% block stylesheets %}{{ encore_entry_link_tags('app') }}{% endblock %}{% block javascripts %}{{ encore_entry_script_tags('app') }}{% endblock %}</head><body>{% import 'macros/toast.html.twig' as toast %}<div class=\"backdrop xl:hidden hidden fixed inset-0 bg-neutral-900/80 backdrop-blur z-20\"></div>{% include 'header.html.twig' %} <!-- header -->{% for success in app.flashes('success') %}{{ toast.displayToast('success', success, 3000) }}{% endfor %}{% for notice in app.flashes('notice') %}{{ toast.displayToast('info', notice, 3000) }}{% endfor %}{% for error in app.flashes('error') %}{{ toast.displayToast('warning', error, 3000) }}{% endfor %}<div class=\"w-full pt-16\">{% if is_granted('IS_IMPERSONATOR') %}<div class=\"bg-yellow-300 p-4 flex flex-wrap justify-between\"><div>Logged in as: [{{ app.user.firstName }}] [{{ app.user.id }}] [{{ app.user.email }}]</div><div class=\"pt-2\"><a href=\"{{ impersonation_exit_path('/admin/user') }}\" class=\"lg:inlinehiddenbg-red-500hover:bg-transparentborderborder-red-700transition-allduration-300py-2px-5rounded-fulltext-basefont-semiboldleading-6text-whitehover:text-red-400lg:w-autow-fulltext-centerlg:mr-5\">Exit Impersonation </a></div></div>{% endif %}{% block body %}{% endblock %}</div>{% include 'footer.html.twig' %}</body></html>", "base.html.twig", "/home/u642250512/domains/demo.onld.co.uk/public_html/templates/base.html.twig");}}