<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* PageParts/BeachesPagePart/view.html.twig */
class __TwigTemplate_0cc3d5f68e6a0c40a4e77a2020958bbf5cbdb7e48f2f2b623783e0ce80fe80ff extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "PageParts/BeachesPagePart/view.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "PageParts/BeachesPagePart/view.html.twig"));
// line 1
$context["beaches"] = $this->extensions['App\Twig\GcsExtension']->getBeaches();
// line 2
echo "</div>
";
// line 4
echo "<div class=\"beaches-pp\">
";
// line 5
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["beaches"]) || array_key_exists("beaches", $context) ? $context["beaches"] : (function () { throw new RuntimeError('Variable "beaches" does not exist.', 5, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["beach"]) {
// line 6
echo " <div class=\"beach\" ";
if (twig_get_attribute($this->env, $this->source, $context["beach"], "linkUrl", [], "any", false, false, false, 6)) {
echo "data-src-target=\"";
echo twig_escape_filter($this->env, $this->extensions['Kunstmaan\NodeBundle\Twig\UrlReplaceTwigExtension']->replaceUrl(twig_get_attribute($this->env, $this->source, $context["beach"], "linkUrl", [], "any", false, false, false, 6)), "html", null, true);
echo "\"";
}
echo ">
<div class=\"beach__details\">
<h2 class=\"beach__name\">";
// line 8
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["beach"], "name", [], "any", false, false, false, 8), "html", null, true);
echo "</h2>
";
// line 9
if (twig_get_attribute($this->env, $this->source, $context["beach"], "updateTs", [], "any", false, false, false, 9)) {
// line 10
echo " <div class=\"beach__detail beach__detail--updateTs\">
";
// line 13
echo " ";
// line 14
echo " ";
// line 15
echo " ";
// line 16
echo " ";
// line 17
echo " ";
// line 18
echo " ";
// line 19
echo " ";
// line 20
echo " ";
// line 21
echo " ";
// line 22
echo " </svg>
<span class=\"beach__detail-label\">Data aktualizacji:</span>
<span class=\"beach__detail-value\">";
// line 24
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["beach"], "updateTs", [], "any", false, false, false, 24), "d/m/Y"), "html", null, true);
echo "</span>
</div>
";
}
// line 27
echo " <div class=\"beach__detail beach__detail--temp\">
<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16.65 19.02\">
<path class=\"a\"
d=\"M967.79,536.27,964.67,531a.82.82,0,0,0-.72-.41h0a.74.74,0,0,0-.41.11.79.79,0,0,0-.3.3L960,536.41l-1.64-2.86a1,1,0,0,0-.34-.34.93.93,0,0,0-.71-.09,1,1,0,0,0-.56.43l-4.25,7.38a5.82,5.82,0,0,0,10.12,5.76,6.36,6.36,0,0,0,.74-3.87,4.41,4.41,0,0,0,4.45-6.55Zm-.54,2.18a3.28,3.28,0,0,1-3.29,3.29h0a2.77,2.77,0,0,1-1-.19,19.86,19.86,0,0,0-1.15-2.07l-1.08-1.91L964,532l2.87,4.82A3.37,3.37,0,0,1,967.25,538.45ZM962.08,545l0,.12a4.71,4.71,0,1,1-9.06-2.55,4.2,4.2,0,0,1,.46-1.12l4.08-7.09,4.44,7.83A4.57,4.57,0,0,1,962.08,545Z\"
transform=\"translate(-951.72 -530.62)\"/>
</svg>
<span class=\"beach__detail-label\">Temp. wody:</span>
<span class=\"beach__detail-value beach__detail-value--celcius\">";
// line 34
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["beach"], "seaTemp", [], "any", false, false, false, 34), "html", null, true);
echo "</span>
<span class=\"beach__detail-bars\" data-beach-bars=\"";
// line 35
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["beach"], "getSeaTempBars", [], "any", false, false, false, 35), "bars", [], "any", false, false, false, 35), "html", null, true);
echo "\"
data-beach-bars-color=\"blue\">
<span></span>
<span></span>
<span></span>
<span></span>
</span>
</div>
<div class=\"beach__detail beach__detail--air\">
<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20.33 20.27\">
<path class=\"a\"
d=\"M960.33,534.24a5.89,5.89,0,1,0,5.88,5.89A5.89,5.89,0,0,0,960.33,534.24Zm4.5,5.89h0a4.51,4.51,0,0,1-4.5,4.49h0a4.47,4.47,0,0,1-3.18-1.32,4.38,4.38,0,0,1-1.31-3.17,4.5,4.5,0,0,1,4.49-4.5h0A4.51,4.51,0,0,1,964.83,540.13Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M960.33,533.15a.74.74,0,0,0,.74-.74v-1.68a.74.74,0,0,0-1.48,0v1.68A.74.74,0,0,0,960.33,533.15Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M960.33,547.11a.74.74,0,0,0-.74.74v1.68a.74.74,0,0,0,.74.73h0a.74.74,0,0,0,.74-.73v-1.69A.75.75,0,0,0,960.33,547.11Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M965.73,535.4h.06a.74.74,0,0,0,.52-.22L967.5,534a.72.72,0,0,0,.21-.52.72.72,0,0,0-.73-.73h0a.72.72,0,0,0-.52.21l-1.19,1.19a.73.73,0,0,0,0,1A.72.72,0,0,0,965.73,535.4Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M954.35,545.06l-1.19,1.19a.71.71,0,0,0-.2.53.7.7,0,0,0,.23.52.74.74,0,0,0,1,0l1.19-1.19a.74.74,0,0,0,0-1.05A.77.77,0,0,0,954.35,545.06Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M970.3,539.63a.75.75,0,0,0-.52-.24H968a.74.74,0,0,0,0,1.47h1.74a.75.75,0,0,0,.53-.19.74.74,0,0,0,.23-.52A.72.72,0,0,0,970.3,539.63Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M953.35,540.13a.74.74,0,0,0-.74-.74h-1.68a.78.78,0,0,0-.53.19.74.74,0,0,0-.23.52.73.73,0,0,0,.7.76h1.74A.74.74,0,0,0,953.35,540.13Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M966.31,545.06h0a.74.74,0,1,0-1,1.05l1.19,1.19a.75.75,0,0,0,1,0,.74.74,0,0,0,0-1Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M954.35,535.19a.76.76,0,0,0,.51.2.74.74,0,0,0,.53-.23.74.74,0,0,0,0-1L954.2,533a.73.73,0,0,0-1,0,.74.74,0,0,0-.22.52.71.71,0,0,0,.22.52Z\"
transform=\"translate(-950.17 -529.99)\"/>
</svg>
<span class=\"beach__detail-label\">Temp. powietrza:</span>
<span class=\"beach__detail-value beach__detail-value--celcius\">";
// line 75
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["beach"], "airTemp", [], "any", false, false, false, 75), "html", null, true);
echo "</span>
<span class=\"beach__detail-bars\" data-beach-bars=\"";
// line 76
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["beach"], "getAirTempBars", [], "any", false, false, false, 76), "bars", [], "any", false, false, false, 76), "html", null, true);
echo "\"
data-beach-bars-color=\"blue\">
<span></span>
<span></span>
<span></span>
<span></span>
</span>
</div>
<div class=\"beach__detail beach__detail--sea\">
<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20.03 15.49\">
<path class=\"a\"
d=\"M950.94,533.56h0a1.12,1.12,0,0,1,.86.39l1,1.06a2,2,0,0,0,2.81.16.52.52,0,0,0,.11-.1l1-1a.75.75,0,0,1,.54-.24h0a.73.73,0,0,1,.54.23l1.16,1.16a2,2,0,0,0,1.39.59h0a2,2,0,0,0,1.37-.54l1.34-1.27a.79.79,0,0,1,1.08,0l1,1a2,2,0,0,0,2.83,0l.15-.16.67-.83a1.13,1.13,0,0,1,.89-.43h0a.64.64,0,0,0,.43-.18.6.6,0,0,0,.18-.44.62.62,0,0,0-.6-.61h0a2.36,2.36,0,0,0-1.84.89l-.67.83a.78.78,0,0,1-1.09.11l-.06-.06-1-1a2,2,0,0,0-2.79-.06l-1.35,1.27a.77.77,0,0,1-1.07,0l-1.16-1.17a2,2,0,0,0-2.82,0l-1,1.06a.77.77,0,0,1-1.09,0l0,0-1-1.07a2.37,2.37,0,0,0-1.78-.8h0a.62.62,0,0,0,0,1.23Z\"
transform=\"translate(-950.31 -532.33)\"/>
<path class=\"a\"
d=\"M969.76,538.46h0a2.35,2.35,0,0,0-1.85.88l-.67.83a.77.77,0,0,1-.52.28.79.79,0,0,1-.57-.17l-.06,0-1-1.05a2,2,0,0,0-2.79,0l-1.34,1.26a.77.77,0,0,1-1.07,0l-1.16-1.17a2,2,0,0,0-2.83,0l-1,1.07a.77.77,0,0,1-1.09,0l0,0-1-1.07a2.4,2.4,0,0,0-1.77-.79h0a.61.61,0,0,0-.62.61.64.64,0,0,0,.62.62h0a1.12,1.12,0,0,1,.86.39l.95,1.06a2,2,0,0,0,1.38.66h.12a2,2,0,0,0,1.32-.51l.1-.1,1-1a.78.78,0,0,1,1.09,0l1.17,1.18a2,2,0,0,0,1.39.58h0a2,2,0,0,0,1.37-.54L963.1,540a.78.78,0,0,1,1.07,0l1,1.05a2,2,0,0,0,2.83,0l.15-.16.67-.83a1.14,1.14,0,0,1,.89-.43h0a.62.62,0,0,0,0-1.23Z\"
transform=\"translate(-950.31 -532.33)\"/>
<path class=\"a\"
d=\"M969.72,544.45h0a2.35,2.35,0,0,0-1.84.88l-.67.83a.78.78,0,0,1-1.09.11l-.06,0-1-1.05a2,2,0,0,0-2.79,0l-1.34,1.26a.77.77,0,0,1-1.07,0l-1.16-1.17a2,2,0,0,0-2.83,0l-1,1.06a.82.82,0,0,1-.55.24h0a.75.75,0,0,1-.53-.22l-1-1.1a2.36,2.36,0,0,0-1.77-.79h0a.61.61,0,0,0-.62.61.64.64,0,0,0,.62.62h0a1.14,1.14,0,0,1,.86.39l1,1.06a2,2,0,0,0,1.38.66h.11a2,2,0,0,0,1.33-.51l.1-.1,1-1a.75.75,0,0,1,.55-.23h0a.77.77,0,0,1,.54.22l1.16,1.17a2,2,0,0,0,1.39.59h0a2,2,0,0,0,1.37-.55l1.34-1.26a.76.76,0,0,1,1.07,0l1,1a2,2,0,0,0,2.83,0l.15-.16.67-.83a1.14,1.14,0,0,1,.89-.43h0a.55.55,0,0,0,.43-.2.59.59,0,0,0,.16-.44A.62.62,0,0,0,969.72,544.45Z\"
transform=\"translate(-950.31 -532.33)\"/>
</svg>
<span class=\"beach__detail-label\">Stan morza:</span>
<span class=\"beach__detail-value\">";
// line 98
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["beach"], "seaState", [], "any", false, false, false, 98), "html", null, true);
echo "*</span>
<span class=\"beach__detail-bars\" data-beach-bars=\"";
// line 99
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["beach"], "getSeaStateBars", [], "any", false, false, false, 99), "bars", [], "any", false, false, false, 99), "html", null, true);
echo "\"
data-beach-bars-color=\"blue\">
<span></span>
<span></span>
<span></span>
<span></span>
</span>
</div>
<div class=\"beach__detail beach__detail--flag\">
<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18.16 18.17\">
<path class=\"a\"
d=\"M951.79,549.2a.54.54,0,0,1-.54-.54V531.58a.54.54,0,0,1,.54-.54h8.54a.54.54,0,0,1,.54.54v1.15l8,0a.54.54,0,0,1,.54.54.54.54,0,0,1,0,.22l-2.17,4.9,2.16,4.88a.57.57,0,0,1,.06.25.55.55,0,0,1-.54.55h-8.54a.55.55,0,0,1-.54-.55v-1.15l-7.44,0,0,6.3a.54.54,0,0,1-.54.54Zm9.08-6.22,7.14,0-1.91-4.37a.56.56,0,0,1,0-.44l1.93-4.33-7.16,0Zm-8.54-1.71,7.44,0,0-9.15-7.46,0Z\"
transform=\"translate(-951.25 -531.04)\"/>
</svg>
<span class=\"beach__detail-label\">Flaga:</span>
<span class=\"beach__detail-value\">";
// line 115
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["beach"], "getFlagText", [], "any", false, false, false, 115), "html", null, true);
echo "**</span>
</div>
<div class=\"beach__flag\" data-beach-flag=\"";
// line 118
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["beach"], "flag", [], "any", false, false, false, 118), "html", null, true);
echo "\"></div>
";
// line 120
if ((twig_get_attribute($this->env, $this->source, $context["beach"], "flag", [], "any", false, false, false, 120) == 2)) {
// line 121
echo " <div class=\"beach__motive\">
";
// line 122
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["beach"], "getRedFlagMotiveText", [], "any", false, false, false, 122), "html", null, true);
echo "
";
// line 123
if ((twig_get_attribute($this->env, $this->source, $context["beach"], "comment", [], "any", true, true, false, 123) && !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["beach"], "comment", [], "any", false, false, false, 123)))) {
// line 124
echo " Komentarz: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["beach"], "comment", [], "any", false, false, false, 124), "html", null, true);
echo "
";
}
// line 126
echo " </div>
";
}
// line 128
echo "
</div>
";
// line 131
$context["fullSrc"] = call_user_func_array($this->env->getFunction('croppedImgSrc')->getCallable(), [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["beach"], "image", [], "any", false, false, false, 131), "url", [], "any", false, false, false, 131), twig_get_attribute($this->env, $this->source, $context["beach"], "cropping", [], "any", false, false, false, 131), ["w" => 230, "h" => 310, "q" => 80]]);
// line 132
echo " ";
$context["previewSrc"] = call_user_func_array($this->env->getFunction('croppedImgSrc')->getCallable(), [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["beach"], "image", [], "any", false, false, false, 132), "url", [], "any", false, false, false, 132), twig_get_attribute($this->env, $this->source, $context["beach"], "cropping", [], "any", false, false, false, 132), twig_get_attribute($this->env, $this->source, (isset($context["jml_img_large"]) || array_key_exists("jml_img_large", $context) ? $context["jml_img_large"] : (function () { throw new RuntimeError('Variable "jml_img_large" does not exist.', 132, $this->source); })()), "preview", [], "any", false, false, false, 132)]);
// line 133
echo "
<picture class=\"beach__picture ";
// line 134
if ((twig_get_attribute($this->env, $this->source, $context["beach"], "flag", [], "any", false, false, false, 134) == 2)) {
echo "beach__picture--red";
}
echo "\">
<img class=\"lazy\"
src=\"";
// line 136
echo twig_escape_filter($this->env, (isset($context["previewSrc"]) || array_key_exists("previewSrc", $context) ? $context["previewSrc"] : (function () { throw new RuntimeError('Variable "previewSrc" does not exist.', 136, $this->source); })()), "html", null, true);
echo "\" data-src=\"";
echo twig_escape_filter($this->env, (isset($context["fullSrc"]) || array_key_exists("fullSrc", $context) ? $context["fullSrc"] : (function () { throw new RuntimeError('Variable "fullSrc" does not exist.', 136, $this->source); })()), "html", null, true);
echo "\"
alt=\"";
// line 137
if (twig_get_attribute($this->env, $this->source, $context["beach"], "imageAlt", [], "any", false, false, false, 137)) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["beach"], "imageAlt", [], "any", false, false, false, 137), "html", null, true);
} else {
echo twig_escape_filter($this->env, strip_tags(twig_get_attribute($this->env, $this->source, $context["beach"], "name", [], "any", false, false, false, 137)), "html", null, true);
}
echo "\"/>
</picture>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['beach'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 142
echo "</div>
<div class=\"content\">
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "PageParts/BeachesPagePart/view.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 284 => 142, 269 => 137, 263 => 136, 256 => 134, 253 => 133, 250 => 132, 248 => 131, 243 => 128, 239 => 126, 233 => 124, 231 => 123, 227 => 122, 224 => 121, 222 => 120, 217 => 118, 211 => 115, 192 => 99, 188 => 98, 163 => 76, 159 => 75, 116 => 35, 112 => 34, 103 => 27, 97 => 24, 93 => 22, 91 => 21, 89 => 20, 87 => 19, 85 => 18, 83 => 17, 81 => 16, 79 => 15, 77 => 14, 75 => 13, 71 => 10, 69 => 9, 65 => 8, 55 => 6, 51 => 5, 48 => 4, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% set beaches = get_beaches() %}
</div>
{#close content div for full page view #}
<div class=\"beaches-pp\">
{% for beach in beaches %}
<div class=\"beach\" {% if beach.linkUrl %}data-src-target=\"{{ beach.linkUrl | replace_url }}\"{% endif %}>
<div class=\"beach__details\">
<h2 class=\"beach__name\">{{ beach.name }}</h2>
{% if beach.updateTs %}
<div class=\"beach__detail beach__detail--updateTs\">
{#<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20.03 15.49\">#}
{#<path class=\"a\"#}
{#d=\"M950.94,533.56h0a1.12,1.12,0,0,1,.86.39l1,1.06a2,2,0,0,0,2.81.16.52.52,0,0,0,.11-.1l1-1a.75.75,0,0,1,.54-.24h0a.73.73,0,0,1,.54.23l1.16,1.16a2,2,0,0,0,1.39.59h0a2,2,0,0,0,1.37-.54l1.34-1.27a.79.79,0,0,1,1.08,0l1,1a2,2,0,0,0,2.83,0l.15-.16.67-.83a1.13,1.13,0,0,1,.89-.43h0a.64.64,0,0,0,.43-.18.6.6,0,0,0,.18-.44.62.62,0,0,0-.6-.61h0a2.36,2.36,0,0,0-1.84.89l-.67.83a.78.78,0,0,1-1.09.11l-.06-.06-1-1a2,2,0,0,0-2.79-.06l-1.35,1.27a.77.77,0,0,1-1.07,0l-1.16-1.17a2,2,0,0,0-2.82,0l-1,1.06a.77.77,0,0,1-1.09,0l0,0-1-1.07a2.37,2.37,0,0,0-1.78-.8h0a.62.62,0,0,0,0,1.23Z\"#}
{#transform=\"translate(-950.31 -532.33)\"/>#}
{#<path class=\"a\"#}
{#d=\"M969.76,538.46h0a2.35,2.35,0,0,0-1.85.88l-.67.83a.77.77,0,0,1-.52.28.79.79,0,0,1-.57-.17l-.06,0-1-1.05a2,2,0,0,0-2.79,0l-1.34,1.26a.77.77,0,0,1-1.07,0l-1.16-1.17a2,2,0,0,0-2.83,0l-1,1.07a.77.77,0,0,1-1.09,0l0,0-1-1.07a2.4,2.4,0,0,0-1.77-.79h0a.61.61,0,0,0-.62.61.64.64,0,0,0,.62.62h0a1.12,1.12,0,0,1,.86.39l.95,1.06a2,2,0,0,0,1.38.66h.12a2,2,0,0,0,1.32-.51l.1-.1,1-1a.78.78,0,0,1,1.09,0l1.17,1.18a2,2,0,0,0,1.39.58h0a2,2,0,0,0,1.37-.54L963.1,540a.78.78,0,0,1,1.07,0l1,1.05a2,2,0,0,0,2.83,0l.15-.16.67-.83a1.14,1.14,0,0,1,.89-.43h0a.62.62,0,0,0,0-1.23Z\"#}
{#transform=\"translate(-950.31 -532.33)\"/>#}
{#<path class=\"a\"#}
{#d=\"M969.72,544.45h0a2.35,2.35,0,0,0-1.84.88l-.67.83a.78.78,0,0,1-1.09.11l-.06,0-1-1.05a2,2,0,0,0-2.79,0l-1.34,1.26a.77.77,0,0,1-1.07,0l-1.16-1.17a2,2,0,0,0-2.83,0l-1,1.06a.82.82,0,0,1-.55.24h0a.75.75,0,0,1-.53-.22l-1-1.1a2.36,2.36,0,0,0-1.77-.79h0a.61.61,0,0,0-.62.61.64.64,0,0,0,.62.62h0a1.14,1.14,0,0,1,.86.39l1,1.06a2,2,0,0,0,1.38.66h.11a2,2,0,0,0,1.33-.51l.1-.1,1-1a.75.75,0,0,1,.55-.23h0a.77.77,0,0,1,.54.22l1.16,1.17a2,2,0,0,0,1.39.59h0a2,2,0,0,0,1.37-.55l1.34-1.26a.76.76,0,0,1,1.07,0l1,1a2,2,0,0,0,2.83,0l.15-.16.67-.83a1.14,1.14,0,0,1,.89-.43h0a.55.55,0,0,0,.43-.2.59.59,0,0,0,.16-.44A.62.62,0,0,0,969.72,544.45Z\"#}
{#transform=\"translate(-950.31 -532.33)\"/>#}
</svg>
<span class=\"beach__detail-label\">Data aktualizacji:</span>
<span class=\"beach__detail-value\">{{ beach.updateTs|date(\"d/m/Y\") }}</span>
</div>
{% endif %}
<div class=\"beach__detail beach__detail--temp\">
<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16.65 19.02\">
<path class=\"a\"
d=\"M967.79,536.27,964.67,531a.82.82,0,0,0-.72-.41h0a.74.74,0,0,0-.41.11.79.79,0,0,0-.3.3L960,536.41l-1.64-2.86a1,1,0,0,0-.34-.34.93.93,0,0,0-.71-.09,1,1,0,0,0-.56.43l-4.25,7.38a5.82,5.82,0,0,0,10.12,5.76,6.36,6.36,0,0,0,.74-3.87,4.41,4.41,0,0,0,4.45-6.55Zm-.54,2.18a3.28,3.28,0,0,1-3.29,3.29h0a2.77,2.77,0,0,1-1-.19,19.86,19.86,0,0,0-1.15-2.07l-1.08-1.91L964,532l2.87,4.82A3.37,3.37,0,0,1,967.25,538.45ZM962.08,545l0,.12a4.71,4.71,0,1,1-9.06-2.55,4.2,4.2,0,0,1,.46-1.12l4.08-7.09,4.44,7.83A4.57,4.57,0,0,1,962.08,545Z\"
transform=\"translate(-951.72 -530.62)\"/>
</svg>
<span class=\"beach__detail-label\">Temp. wody:</span>
<span class=\"beach__detail-value beach__detail-value--celcius\">{{ beach.seaTemp }}</span>
<span class=\"beach__detail-bars\" data-beach-bars=\"{{ beach.getSeaTempBars.bars }}\"
data-beach-bars-color=\"blue\">
<span></span>
<span></span>
<span></span>
<span></span>
</span>
</div>
<div class=\"beach__detail beach__detail--air\">
<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20.33 20.27\">
<path class=\"a\"
d=\"M960.33,534.24a5.89,5.89,0,1,0,5.88,5.89A5.89,5.89,0,0,0,960.33,534.24Zm4.5,5.89h0a4.51,4.51,0,0,1-4.5,4.49h0a4.47,4.47,0,0,1-3.18-1.32,4.38,4.38,0,0,1-1.31-3.17,4.5,4.5,0,0,1,4.49-4.5h0A4.51,4.51,0,0,1,964.83,540.13Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M960.33,533.15a.74.74,0,0,0,.74-.74v-1.68a.74.74,0,0,0-1.48,0v1.68A.74.74,0,0,0,960.33,533.15Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M960.33,547.11a.74.74,0,0,0-.74.74v1.68a.74.74,0,0,0,.74.73h0a.74.74,0,0,0,.74-.73v-1.69A.75.75,0,0,0,960.33,547.11Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M965.73,535.4h.06a.74.74,0,0,0,.52-.22L967.5,534a.72.72,0,0,0,.21-.52.72.72,0,0,0-.73-.73h0a.72.72,0,0,0-.52.21l-1.19,1.19a.73.73,0,0,0,0,1A.72.72,0,0,0,965.73,535.4Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M954.35,545.06l-1.19,1.19a.71.71,0,0,0-.2.53.7.7,0,0,0,.23.52.74.74,0,0,0,1,0l1.19-1.19a.74.74,0,0,0,0-1.05A.77.77,0,0,0,954.35,545.06Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M970.3,539.63a.75.75,0,0,0-.52-.24H968a.74.74,0,0,0,0,1.47h1.74a.75.75,0,0,0,.53-.19.74.74,0,0,0,.23-.52A.72.72,0,0,0,970.3,539.63Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M953.35,540.13a.74.74,0,0,0-.74-.74h-1.68a.78.78,0,0,0-.53.19.74.74,0,0,0-.23.52.73.73,0,0,0,.7.76h1.74A.74.74,0,0,0,953.35,540.13Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M966.31,545.06h0a.74.74,0,1,0-1,1.05l1.19,1.19a.75.75,0,0,0,1,0,.74.74,0,0,0,0-1Z\"
transform=\"translate(-950.17 -529.99)\"/>
<path class=\"a\"
d=\"M954.35,535.19a.76.76,0,0,0,.51.2.74.74,0,0,0,.53-.23.74.74,0,0,0,0-1L954.2,533a.73.73,0,0,0-1,0,.74.74,0,0,0-.22.52.71.71,0,0,0,.22.52Z\"
transform=\"translate(-950.17 -529.99)\"/>
</svg>
<span class=\"beach__detail-label\">Temp. powietrza:</span>
<span class=\"beach__detail-value beach__detail-value--celcius\">{{ beach.airTemp }}</span>
<span class=\"beach__detail-bars\" data-beach-bars=\"{{ beach.getAirTempBars.bars }}\"
data-beach-bars-color=\"blue\">
<span></span>
<span></span>
<span></span>
<span></span>
</span>
</div>
<div class=\"beach__detail beach__detail--sea\">
<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20.03 15.49\">
<path class=\"a\"
d=\"M950.94,533.56h0a1.12,1.12,0,0,1,.86.39l1,1.06a2,2,0,0,0,2.81.16.52.52,0,0,0,.11-.1l1-1a.75.75,0,0,1,.54-.24h0a.73.73,0,0,1,.54.23l1.16,1.16a2,2,0,0,0,1.39.59h0a2,2,0,0,0,1.37-.54l1.34-1.27a.79.79,0,0,1,1.08,0l1,1a2,2,0,0,0,2.83,0l.15-.16.67-.83a1.13,1.13,0,0,1,.89-.43h0a.64.64,0,0,0,.43-.18.6.6,0,0,0,.18-.44.62.62,0,0,0-.6-.61h0a2.36,2.36,0,0,0-1.84.89l-.67.83a.78.78,0,0,1-1.09.11l-.06-.06-1-1a2,2,0,0,0-2.79-.06l-1.35,1.27a.77.77,0,0,1-1.07,0l-1.16-1.17a2,2,0,0,0-2.82,0l-1,1.06a.77.77,0,0,1-1.09,0l0,0-1-1.07a2.37,2.37,0,0,0-1.78-.8h0a.62.62,0,0,0,0,1.23Z\"
transform=\"translate(-950.31 -532.33)\"/>
<path class=\"a\"
d=\"M969.76,538.46h0a2.35,2.35,0,0,0-1.85.88l-.67.83a.77.77,0,0,1-.52.28.79.79,0,0,1-.57-.17l-.06,0-1-1.05a2,2,0,0,0-2.79,0l-1.34,1.26a.77.77,0,0,1-1.07,0l-1.16-1.17a2,2,0,0,0-2.83,0l-1,1.07a.77.77,0,0,1-1.09,0l0,0-1-1.07a2.4,2.4,0,0,0-1.77-.79h0a.61.61,0,0,0-.62.61.64.64,0,0,0,.62.62h0a1.12,1.12,0,0,1,.86.39l.95,1.06a2,2,0,0,0,1.38.66h.12a2,2,0,0,0,1.32-.51l.1-.1,1-1a.78.78,0,0,1,1.09,0l1.17,1.18a2,2,0,0,0,1.39.58h0a2,2,0,0,0,1.37-.54L963.1,540a.78.78,0,0,1,1.07,0l1,1.05a2,2,0,0,0,2.83,0l.15-.16.67-.83a1.14,1.14,0,0,1,.89-.43h0a.62.62,0,0,0,0-1.23Z\"
transform=\"translate(-950.31 -532.33)\"/>
<path class=\"a\"
d=\"M969.72,544.45h0a2.35,2.35,0,0,0-1.84.88l-.67.83a.78.78,0,0,1-1.09.11l-.06,0-1-1.05a2,2,0,0,0-2.79,0l-1.34,1.26a.77.77,0,0,1-1.07,0l-1.16-1.17a2,2,0,0,0-2.83,0l-1,1.06a.82.82,0,0,1-.55.24h0a.75.75,0,0,1-.53-.22l-1-1.1a2.36,2.36,0,0,0-1.77-.79h0a.61.61,0,0,0-.62.61.64.64,0,0,0,.62.62h0a1.14,1.14,0,0,1,.86.39l1,1.06a2,2,0,0,0,1.38.66h.11a2,2,0,0,0,1.33-.51l.1-.1,1-1a.75.75,0,0,1,.55-.23h0a.77.77,0,0,1,.54.22l1.16,1.17a2,2,0,0,0,1.39.59h0a2,2,0,0,0,1.37-.55l1.34-1.26a.76.76,0,0,1,1.07,0l1,1a2,2,0,0,0,2.83,0l.15-.16.67-.83a1.14,1.14,0,0,1,.89-.43h0a.55.55,0,0,0,.43-.2.59.59,0,0,0,.16-.44A.62.62,0,0,0,969.72,544.45Z\"
transform=\"translate(-950.31 -532.33)\"/>
</svg>
<span class=\"beach__detail-label\">Stan morza:</span>
<span class=\"beach__detail-value\">{{ beach.seaState }}*</span>
<span class=\"beach__detail-bars\" data-beach-bars=\"{{ beach.getSeaStateBars.bars }}\"
data-beach-bars-color=\"blue\">
<span></span>
<span></span>
<span></span>
<span></span>
</span>
</div>
<div class=\"beach__detail beach__detail--flag\">
<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18.16 18.17\">
<path class=\"a\"
d=\"M951.79,549.2a.54.54,0,0,1-.54-.54V531.58a.54.54,0,0,1,.54-.54h8.54a.54.54,0,0,1,.54.54v1.15l8,0a.54.54,0,0,1,.54.54.54.54,0,0,1,0,.22l-2.17,4.9,2.16,4.88a.57.57,0,0,1,.06.25.55.55,0,0,1-.54.55h-8.54a.55.55,0,0,1-.54-.55v-1.15l-7.44,0,0,6.3a.54.54,0,0,1-.54.54Zm9.08-6.22,7.14,0-1.91-4.37a.56.56,0,0,1,0-.44l1.93-4.33-7.16,0Zm-8.54-1.71,7.44,0,0-9.15-7.46,0Z\"
transform=\"translate(-951.25 -531.04)\"/>
</svg>
<span class=\"beach__detail-label\">Flaga:</span>
<span class=\"beach__detail-value\">{{ beach.getFlagText }}**</span>
</div>
<div class=\"beach__flag\" data-beach-flag=\"{{ beach.flag }}\"></div>
{% if beach.flag == 2 %}
<div class=\"beach__motive\">
{{ beach.getRedFlagMotiveText }}
{% if beach.comment is defined and beach.comment is not empty %}
Komentarz: {{ beach.comment }}
{% endif %}
</div>
{% endif %}
</div>
{% set fullSrc = croppedImgSrc(beach.image.url, beach.cropping, { w: 230, h: 310, q: 80 }) %}
{% set previewSrc = croppedImgSrc(beach.image.url, beach.cropping, jml_img_large.preview) %}
<picture class=\"beach__picture {% if beach.flag == 2 %}beach__picture--red{% endif %}\">
<img class=\"lazy\"
src=\"{{ previewSrc }}\" data-src=\"{{ fullSrc }}\"
alt=\"{% if beach.imageAlt %}{{ beach.imageAlt }}{% else %}{{ beach.name | striptags }}{% endif %}\"/>
</picture>
</div>
{% endfor %}
</div>
<div class=\"content\">
{# open content div again #}
", "PageParts/BeachesPagePart/view.html.twig", "/var/www/gcs/html/dev/templates/PageParts/BeachesPagePart/view.html.twig");
}
}