<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/index.html.twig */
class __TwigTemplate_cc43fe54d082cf1263df4dbf8262416a97934486d1fc890293ce741c91737c51 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/index.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "default/index.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 3
yield "
";
// line 4
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_content"]) || array_key_exists("global_content", $context) ? $context["global_content"] : (function () { throw new RuntimeError('Variable "global_content" does not exist.', 4, $this->source); })()), "isIe", [CoreExtension::getAttribute($this->env, $this->source, 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.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "headers", [], "any", false, false, false, 4), "get", ["User-Agent"], "method", false, false, false, 4)], "method", false, false, false, 4)) {
// line 5
yield " <div style=\"
background-color: red;
color: white;
padding: 10px;
text-align: center;
width: 500px;
margin: auto;
border: double white;
margin-top: 150px;
\">
<p>
";
// line 16
yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Unfortunately, you'r browser is not support", [], "messages");
// line 17
yield " </p>
<p>
";
// line 19
yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Please, use last versions of", [], "messages");
yield " Firefox, Opera, Chrome, Safari ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("or"), "html", null, true);
yield " Microsoft Edge
</p>
</div>
";
} else {
// line 23
yield " <div id=\"root\">
<style>
html, body {
height: 100%;
}
#cube-loader {
align-items: center;
display: flex;
height: 100%;
width: 100%;
position: fixed;
}
#cube-loader .caption {
margin: 0 auto;
}
#cube-loader .cube-loader {
width: 73px;
height: 73px;
margin: 0 auto;
margin-top: 49px;
position: relative;
transform: rotateZ(45deg);
}
#cube-loader .cube-loader .cube {
position: relative;
transform: rotateZ(45deg);
width: 50%;
height: 50%;
float: left;
transform: scale(1.1);
}
#cube-loader .cube-loader .cube:before {
content: \"\";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #2E3192;
animation: cube-loader 2.76s infinite linear both;
transform-origin: 100% 100%;
}
#cube-loader .cube-loader .loader-2 {
transform: scale(1.1) rotateZ(90deg);
}
#cube-loader .cube-loader .loader-3 {
transform: scale(1.1) rotateZ(180deg);
}
#cube-loader .cube-loader .loader-4 {
transform: scale(1.1) rotateZ(270deg);
}
#cube-loader .cube-loader .loader-2:before {
animation-delay: 0.35s;
}
#cube-loader .cube-loader .loader-3:before {
animation-delay: 0.69s;
}
#cube-loader .cube-loader .loader-4:before {
animation-delay: 1.04s;
}
@keyframes cube-loader {
0%, 10% {
transform: perspective(136px) rotateX(-180deg);
opacity: 0;
}
25%, 75% {
transform: perspective(136px) rotateX(0deg);
opacity: 1;
}
90%, 100% {
transform: perspective(136px) rotateY(180deg);
opacity: 0;
}
}
</style>
<div id=\"cube-loader\">
<div class=\"caption\">
<div class=\"cube-loader\">
<div class=\"cube loader-1\"></div>
<div class=\"cube loader-2\"></div>
<div class=\"cube loader-4\"></div>
<div class=\"cube loader-3\"></div>
</div>
</div>
</div>
</div>
";
}
// line 123
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "default/index.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 204 => 123, 102 => 23, 93 => 19, 89 => 17, 87 => 16, 74 => 5, 72 => 4, 69 => 3, 59 => 2, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block body %}
{% if(global_content.isIe(app.request.headers.get('User-Agent'))) %}
<div style=\"
background-color: red;
color: white;
padding: 10px;
text-align: center;
width: 500px;
margin: auto;
border: double white;
margin-top: 150px;
\">
<p>
{% trans %}Unfortunately, you'r browser is not support{% endtrans %}
</p>
<p>
{% trans %}Please, use last versions of{% endtrans %} Firefox, Opera, Chrome, Safari {{ 'or'|trans }} Microsoft Edge
</p>
</div>
{% else %}
<div id=\"root\">
<style>
html, body {
height: 100%;
}
#cube-loader {
align-items: center;
display: flex;
height: 100%;
width: 100%;
position: fixed;
}
#cube-loader .caption {
margin: 0 auto;
}
#cube-loader .cube-loader {
width: 73px;
height: 73px;
margin: 0 auto;
margin-top: 49px;
position: relative;
transform: rotateZ(45deg);
}
#cube-loader .cube-loader .cube {
position: relative;
transform: rotateZ(45deg);
width: 50%;
height: 50%;
float: left;
transform: scale(1.1);
}
#cube-loader .cube-loader .cube:before {
content: \"\";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #2E3192;
animation: cube-loader 2.76s infinite linear both;
transform-origin: 100% 100%;
}
#cube-loader .cube-loader .loader-2 {
transform: scale(1.1) rotateZ(90deg);
}
#cube-loader .cube-loader .loader-3 {
transform: scale(1.1) rotateZ(180deg);
}
#cube-loader .cube-loader .loader-4 {
transform: scale(1.1) rotateZ(270deg);
}
#cube-loader .cube-loader .loader-2:before {
animation-delay: 0.35s;
}
#cube-loader .cube-loader .loader-3:before {
animation-delay: 0.69s;
}
#cube-loader .cube-loader .loader-4:before {
animation-delay: 1.04s;
}
@keyframes cube-loader {
0%, 10% {
transform: perspective(136px) rotateX(-180deg);
opacity: 0;
}
25%, 75% {
transform: perspective(136px) rotateX(0deg);
opacity: 1;
}
90%, 100% {
transform: perspective(136px) rotateY(180deg);
opacity: 0;
}
}
</style>
<div id=\"cube-loader\">
<div class=\"caption\">
<div class=\"cube-loader\">
<div class=\"cube loader-1\"></div>
<div class=\"cube loader-2\"></div>
<div class=\"cube loader-4\"></div>
<div class=\"cube loader-3\"></div>
</div>
</div>
</div>
</div>
{% endif %}
{% endblock %}
", "default/index.html.twig", "/var/www/b2bstore/sexopt.b2bstore.com.ua/templates/default/index.html.twig");
}
}