File: D:/web/matomo.circ/tmp/templates_c/a0/a028de88a47cbc01efc21fce970699df.php
<?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;
/* @DevicesDetection/detection.twig */
class __TwigTemplate_3fb0139205f66ac6ea7dedea6e84caf2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "admin.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 3
$context["title"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("DevicesDetection_DeviceDetection"), "html", null, true);
return; yield '';
})())) ? '' : new Markup($tmp, $this->env->getCharset());
// line 1
$this->parent = $this->loadTemplate("admin.twig", "@DevicesDetection/detection.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
}
// line 5
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 6
yield "
<div
vue-entry=\"DevicesDetection.DetectionPage\"
user-agent=\"";
// line 9
yield \Piwik\piwik_escape_filter($this->env, json_encode((isset($context["userAgent"]) || array_key_exists("userAgent", $context) ? $context["userAgent"] : (function () { throw new RuntimeError('Variable "userAgent" does not exist.', 9, $this->source); })())), "html_attr");
yield "\"
bot_info=\"";
// line 10
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("bot_info", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["bot_info"]) || array_key_exists("bot_info", $context) ? $context["bot_info"] : (function () { throw new RuntimeError('Variable "bot_info" does not exist.', 10, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
os_logo=\"";
// line 11
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("os_logo", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["os_logo"]) || array_key_exists("os_logo", $context) ? $context["os_logo"] : (function () { throw new RuntimeError('Variable "os_logo" does not exist.', 11, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
os_name=\"";
// line 12
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("os_name", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["os_name"]) || array_key_exists("os_name", $context) ? $context["os_name"] : (function () { throw new RuntimeError('Variable "os_name" does not exist.', 12, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
os_version=\"";
// line 13
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("os_version", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["os_version"]) || array_key_exists("os_version", $context) ? $context["os_version"] : (function () { throw new RuntimeError('Variable "os_version" does not exist.', 13, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
os_family_logo=\"";
// line 14
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("os_family_logo", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["os_family_logo"]) || array_key_exists("os_family_logo", $context) ? $context["os_family_logo"] : (function () { throw new RuntimeError('Variable "os_family_logo" does not exist.', 14, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
os_family=\"";
// line 15
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("os_family", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["os_family"]) || array_key_exists("os_family", $context) ? $context["os_family"] : (function () { throw new RuntimeError('Variable "os_family" does not exist.', 15, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
browser_logo=\"";
// line 16
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("browser_logo", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["browser_logo"]) || array_key_exists("browser_logo", $context) ? $context["browser_logo"] : (function () { throw new RuntimeError('Variable "browser_logo" does not exist.', 16, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
browser_name=\"";
// line 17
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("browser_name", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["browser_name"]) || array_key_exists("browser_name", $context) ? $context["browser_name"] : (function () { throw new RuntimeError('Variable "browser_name" does not exist.', 17, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
browser_version=\"";
// line 18
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("browser_version", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["browser_version"]) || array_key_exists("browser_version", $context) ? $context["browser_version"] : (function () { throw new RuntimeError('Variable "browser_version" does not exist.', 18, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
browser_family=\"";
// line 19
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("browser_family", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["browser_family"]) || array_key_exists("browser_family", $context) ? $context["browser_family"] : (function () { throw new RuntimeError('Variable "browser_family" does not exist.', 19, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
browser_family_logo=\"";
// line 20
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("browser_family_logo", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["browser_family_logo"]) || array_key_exists("browser_family_logo", $context) ? $context["browser_family_logo"] : (function () { throw new RuntimeError('Variable "browser_family_logo" does not exist.', 20, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
device_type_logo=\"";
// line 21
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("device_type_logo", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["device_type_logo"]) || array_key_exists("device_type_logo", $context) ? $context["device_type_logo"] : (function () { throw new RuntimeError('Variable "device_type_logo" does not exist.', 21, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
device_type=\"";
// line 22
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("device_type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["device_type"]) || array_key_exists("device_type", $context) ? $context["device_type"] : (function () { throw new RuntimeError('Variable "device_type" does not exist.', 22, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
device_brand_logo=\"";
// line 23
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("device_brand_logo", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["device_brand_logo"]) || array_key_exists("device_brand_logo", $context) ? $context["device_brand_logo"] : (function () { throw new RuntimeError('Variable "device_brand_logo" does not exist.', 23, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
device_brand=\"";
// line 24
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("device_brand", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["device_brand"]) || array_key_exists("device_brand", $context) ? $context["device_brand"] : (function () { throw new RuntimeError('Variable "device_brand" does not exist.', 24, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
device_model=\"";
// line 25
yield \Piwik\piwik_escape_filter($this->env, json_encode(((array_key_exists("device_model", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["device_model"]) || array_key_exists("device_model", $context) ? $context["device_model"] : (function () { throw new RuntimeError('Variable "device_model" does not exist.', 25, $this->source); })()), null)) : (null))), "html_attr");
yield "\"
client-hints-checked=\"";
// line 26
yield \Piwik\piwik_escape_filter($this->env, json_encode( ! !(isset($context["clientHints"]) || array_key_exists("clientHints", $context) ? $context["clientHints"] : (function () { throw new RuntimeError('Variable "clientHints" does not exist.', 26, $this->source); })())), "html_attr");
yield "\"
></div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@DevicesDetection/detection.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 130 => 26, 126 => 25, 122 => 24, 118 => 23, 114 => 22, 110 => 21, 106 => 20, 102 => 19, 98 => 18, 94 => 17, 90 => 16, 86 => 15, 82 => 14, 78 => 13, 74 => 12, 70 => 11, 66 => 10, 62 => 9, 57 => 6, 53 => 5, 48 => 1, 43 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'admin.twig' %}
{% set title %}{{ 'DevicesDetection_DeviceDetection'|translate }}{% endset %}
{% block content %}
<div
vue-entry=\"DevicesDetection.DetectionPage\"
user-agent=\"{{ userAgent|json_encode|e('html_attr') }}\"
bot_info=\"{{ bot_info|default(null)|json_encode|e('html_attr') }}\"
os_logo=\"{{ os_logo|default(null)|json_encode|e('html_attr') }}\"
os_name=\"{{ os_name|default(null)|json_encode|e('html_attr') }}\"
os_version=\"{{ os_version|default(null)|json_encode|e('html_attr') }}\"
os_family_logo=\"{{ os_family_logo|default(null)|json_encode|e('html_attr') }}\"
os_family=\"{{ os_family|default(null)|json_encode|e('html_attr') }}\"
browser_logo=\"{{ browser_logo|default(null)|json_encode|e('html_attr') }}\"
browser_name=\"{{ browser_name|default(null)|json_encode|e('html_attr') }}\"
browser_version=\"{{ browser_version|default(null)|json_encode|e('html_attr') }}\"
browser_family=\"{{ browser_family|default(null)|json_encode|e('html_attr') }}\"
browser_family_logo=\"{{ browser_family_logo|default(null)|json_encode|e('html_attr') }}\"
device_type_logo=\"{{ device_type_logo|default(null)|json_encode|e('html_attr') }}\"
device_type=\"{{ device_type|default(null)|json_encode|e('html_attr') }}\"
device_brand_logo=\"{{ device_brand_logo|default(null)|json_encode|e('html_attr') }}\"
device_brand=\"{{ device_brand|default(null)|json_encode|e('html_attr') }}\"
device_model=\"{{ device_model|default(null)|json_encode|e('html_attr') }}\"
client-hints-checked=\"{{ (not not clientHints)|json_encode|e('html_attr') }}\"
></div>
{% endblock %}
", "@DevicesDetection/detection.twig", "D:\\web\\matomo.circ\\plugins\\DevicesDetection\\templates\\detection.twig");
}
}