<?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;
/* network/auction/widgets/auction_widget_auctionhouse.html.twig */
class __TwigTemplate_21de2d639ae5fef4216ee1796475b075aa38028ebbe0f88c26ae2375c6ce482f extends 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", "network/auction/widgets/auction_widget_auctionhouse.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "network/auction/widgets/auction_widget_auctionhouse.html.twig"));
// line 2
$context["title"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auctionhouse");
// line 3
$this->loadTemplate("network/auction/widgets/auction_widget_auctionhouse.html.twig", "network/auction/widgets/auction_widget_auctionhouse.html.twig", 3, "1938054104")->display($context);
// line 18
echo "
";
// line 20
echo "
";
// line 21
$context["title"] = null;
// line 22
$this->loadTemplate("network/auction/widgets/auction_widget_auctionhouse.html.twig", "network/auction/widgets/auction_widget_auctionhouse.html.twig", 22, "115235615")->display($context);
// line 83
echo "
";
// line 85
$this->loadTemplate("network/auction/widgets/auction_widget_auctionhouse.html.twig", "network/auction/widgets/auction_widget_auctionhouse.html.twig", 85, "1612102758")->display($context);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "network/auction/widgets/auction_widget_auctionhouse.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 60 => 85, 57 => 83, 55 => 22, 53 => 21, 50 => 20, 47 => 18, 45 => 3, 43 => 2,);
}
public function getSourceContext()
{
return new Source("{# Address #}
{% set title = 'auctionhouse'|trans %}
{% embed 'network/widget/widget.html.twig' %}
{% block content %}
<div class=\"flex\">
<div class=\"w-4 mr-4\">
{% include 'icons/auction-house.svg.twig' with { class: 'w-4 h-4' } %}
</div>
<address class=\"flex flex-col not-italic leading-snug\">
<span class=\"font-medium\">{{ auction.auctionhouse.name }}</span>
<span>{{ auction.auctionhouse.street }}</span>
<span>{{ auction.auctionhouse.postalCode }} {{ auction.auctionhouse.city }}</span>
<span>{{ auction.auctionhouse.country|country_name }}</span>
</address>
</div>
{% endblock %}
{% endembed %}
{# Contact #}
{% set title = null %}
{% embed 'network/widget/widget.html.twig' %}
{% block content %}
{% import 'macros/button.macro.twig' as button %}
<div class=\"grid gap-2\">
{% if auction.auctionhouse.phone %}
<div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
{% include 'icons/phone.svg.twig' with { class: 'w-4 h-4' } %}
</div>
<a data-turbo='false' class=\"font-bold no-underline\" href=\"tel:+{{ auction.auctionhouse.phone }}\">
{{ auction.auctionhouse.phone|trim }}
</a>
</div>
{% endif %}
{% if auction.auctionhouse.fax %}
<div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
{% include 'icons/fax.svg.twig' with { class: 'w-5 h-5 -ml-1px' } %}
</div>
<div class=\"font-bold\">
{{ auction.auctionhouse.fax|trim }}
</div>
</div>
{% endif %}
{% if auction.auctionhouse.email %}
<div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
{% include 'icons/mail.svg.twig' with { class: 'w-4 h-4' } %}
</div>
<a data-turbo='false' class=\"font-bold no-underline\" href=\"mailto:{{ auction.auctionhouse.email }}\">
{{ auction.auctionhouse.email|trim }}
</a>
</div>
{% endif %}
{% if auction.auctionhouse.website %}
<div class=\"flex items-center truncate text-neutral-900\">
<div class=\"w-5 mr-3\">
{% include 'icons/weblink.svg.twig' with { class: 'w-5 h-5' } %}
</div>
<div class=\"font-bold\">
<a data-turbo='false' href=\"{{ auction.auctionhouse.website }}\" target=\"_blank\" rel=\"noopener noreferrer\">
{{ auction.auctionhouse.website|default(auction.auctionhouse.website) }}
</a>
</div>
</div>
{% endif %}
{% set auctionhouseLink = pimcore_url({ object: auction.auctionhouse }) %}
{% if auctionhouseLink %}
{{
button.link(
'auctionhouse-link'|trans,
'primary',
auctionhouseLink,
{ size: 'sm', icon_after: 'arrow-right-tail', attr: { class: 'mt-2', 'data-turbo': 'false' } }
)
}}
{% endif %}
</div>
{% endblock %}
{% endembed %}
{# Map #}
{% embed 'network/widget/widget.html.twig' %}
{% block content %}
{% if auction.auctionhouse.geolocation %}
<div class=\"hidden xl:block aspect-w-16 aspect-h-9 xl:aspect-w-1 xl:aspect-h-1\"
data-controller=\"leaflet\"
data-leaflet-options-value=\"{{ {
center: [
auction.auctionhouse.geolocation.latitude,
auction.auctionhouse.geolocation.longitude
],
zoom: 12
}|json_encode }}\"
data-leaflet-marker-value=\"{{ [
{
geolocation: [
auction.auctionhouse.geolocation.latitude,
auction.auctionhouse.geolocation.longitude
],
color: auction.auctionhouse.color.hex,
title: auction.auctionhouse.name,
text: auction.auctionhouse.street ~ '<br>' ~ auction.auctionhouse.postalCode ~ ' '
~ auction.auctionhouse.city
~ '<br>'
~ (auction.auctionhouse.country|country_name)
}
]|json_encode }}\">
<template data-leaflet-target=\"markerTemplate\">
<b>%title%</b><br />
<span>%text%</span><br />
</template>
<div class=\"w-full h-full map\" data-leaflet-target=\"map\"></div>
</div>
{% endif %}
{% endblock %}
{% endembed %}
", "network/auction/widgets/auction_widget_auctionhouse.html.twig", "/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/auction/widgets/auction_widget_auctionhouse.html.twig");
}
}
/* network/auction/widgets/auction_widget_auctionhouse.html.twig */
class __TwigTemplate_21de2d639ae5fef4216ee1796475b075aa38028ebbe0f88c26ae2375c6ce482f___1938054104 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 3
return "network/widget/widget.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", "network/auction/widgets/auction_widget_auctionhouse.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "network/auction/widgets/auction_widget_auctionhouse.html.twig"));
$this->parent = $this->loadTemplate("network/widget/widget.html.twig", "network/auction/widgets/auction_widget_auctionhouse.html.twig", 3);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
public function block_content($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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 5
echo " <div class=\"flex\">
<div class=\"w-4 mr-4\">
";
// line 7
$this->loadTemplate("icons/auction-house.svg.twig", "network/auction/widgets/auction_widget_auctionhouse.html.twig", 7)->display(twig_array_merge($context, ["class" => "w-4 h-4"]));
// line 8
echo " </div>
<address class=\"flex flex-col not-italic leading-snug\">
<span class=\"font-medium\">";
// line 10
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 10, $this->source); })()), "auctionhouse", [], "any", false, false, false, 10), "name", [], "any", false, false, false, 10), "html", null, true);
echo "</span>
<span>";
// line 11
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 11, $this->source); })()), "auctionhouse", [], "any", false, false, false, 11), "street", [], "any", false, false, false, 11), "html", null, true);
echo "</span>
<span>";
// line 12
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 12, $this->source); })()), "auctionhouse", [], "any", false, false, false, 12), "postalCode", [], "any", false, false, false, 12), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 12, $this->source); })()), "auctionhouse", [], "any", false, false, false, 12), "city", [], "any", false, false, false, 12), "html", null, true);
echo "</span>
<span>";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->getCountryName(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 13, $this->source); })()), "auctionhouse", [], "any", false, false, false, 13), "country", [], "any", false, false, false, 13)), "html", null, true);
echo "</span>
</address>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "network/auction/widgets/auction_widget_auctionhouse.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 287 => 13, 281 => 12, 277 => 11, 273 => 10, 269 => 8, 267 => 7, 263 => 5, 253 => 4, 230 => 3, 60 => 85, 57 => 83, 55 => 22, 53 => 21, 50 => 20, 47 => 18, 45 => 3, 43 => 2,);
}
public function getSourceContext()
{
return new Source("{# Address #}
{% set title = 'auctionhouse'|trans %}
{% embed 'network/widget/widget.html.twig' %}
{% block content %}
<div class=\"flex\">
<div class=\"w-4 mr-4\">
{% include 'icons/auction-house.svg.twig' with { class: 'w-4 h-4' } %}
</div>
<address class=\"flex flex-col not-italic leading-snug\">
<span class=\"font-medium\">{{ auction.auctionhouse.name }}</span>
<span>{{ auction.auctionhouse.street }}</span>
<span>{{ auction.auctionhouse.postalCode }} {{ auction.auctionhouse.city }}</span>
<span>{{ auction.auctionhouse.country|country_name }}</span>
</address>
</div>
{% endblock %}
{% endembed %}
{# Contact #}
{% set title = null %}
{% embed 'network/widget/widget.html.twig' %}
{% block content %}
{% import 'macros/button.macro.twig' as button %}
<div class=\"grid gap-2\">
{% if auction.auctionhouse.phone %}
<div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
{% include 'icons/phone.svg.twig' with { class: 'w-4 h-4' } %}
</div>
<a data-turbo='false' class=\"font-bold no-underline\" href=\"tel:+{{ auction.auctionhouse.phone }}\">
{{ auction.auctionhouse.phone|trim }}
</a>
</div>
{% endif %}
{% if auction.auctionhouse.fax %}
<div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
{% include 'icons/fax.svg.twig' with { class: 'w-5 h-5 -ml-1px' } %}
</div>
<div class=\"font-bold\">
{{ auction.auctionhouse.fax|trim }}
</div>
</div>
{% endif %}
{% if auction.auctionhouse.email %}
<div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
{% include 'icons/mail.svg.twig' with { class: 'w-4 h-4' } %}
</div>
<a data-turbo='false' class=\"font-bold no-underline\" href=\"mailto:{{ auction.auctionhouse.email }}\">
{{ auction.auctionhouse.email|trim }}
</a>
</div>
{% endif %}
{% if auction.auctionhouse.website %}
<div class=\"flex items-center truncate text-neutral-900\">
<div class=\"w-5 mr-3\">
{% include 'icons/weblink.svg.twig' with { class: 'w-5 h-5' } %}
</div>
<div class=\"font-bold\">
<a data-turbo='false' href=\"{{ auction.auctionhouse.website }}\" target=\"_blank\" rel=\"noopener noreferrer\">
{{ auction.auctionhouse.website|default(auction.auctionhouse.website) }}
</a>
</div>
</div>
{% endif %}
{% set auctionhouseLink = pimcore_url({ object: auction.auctionhouse }) %}
{% if auctionhouseLink %}
{{
button.link(
'auctionhouse-link'|trans,
'primary',
auctionhouseLink,
{ size: 'sm', icon_after: 'arrow-right-tail', attr: { class: 'mt-2', 'data-turbo': 'false' } }
)
}}
{% endif %}
</div>
{% endblock %}
{% endembed %}
{# Map #}
{% embed 'network/widget/widget.html.twig' %}
{% block content %}
{% if auction.auctionhouse.geolocation %}
<div class=\"hidden xl:block aspect-w-16 aspect-h-9 xl:aspect-w-1 xl:aspect-h-1\"
data-controller=\"leaflet\"
data-leaflet-options-value=\"{{ {
center: [
auction.auctionhouse.geolocation.latitude,
auction.auctionhouse.geolocation.longitude
],
zoom: 12
}|json_encode }}\"
data-leaflet-marker-value=\"{{ [
{
geolocation: [
auction.auctionhouse.geolocation.latitude,
auction.auctionhouse.geolocation.longitude
],
color: auction.auctionhouse.color.hex,
title: auction.auctionhouse.name,
text: auction.auctionhouse.street ~ '<br>' ~ auction.auctionhouse.postalCode ~ ' '
~ auction.auctionhouse.city
~ '<br>'
~ (auction.auctionhouse.country|country_name)
}
]|json_encode }}\">
<template data-leaflet-target=\"markerTemplate\">
<b>%title%</b><br />
<span>%text%</span><br />
</template>
<div class=\"w-full h-full map\" data-leaflet-target=\"map\"></div>
</div>
{% endif %}
{% endblock %}
{% endembed %}
", "network/auction/widgets/auction_widget_auctionhouse.html.twig", "/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/auction/widgets/auction_widget_auctionhouse.html.twig");
}
}
/* network/auction/widgets/auction_widget_auctionhouse.html.twig */
class __TwigTemplate_21de2d639ae5fef4216ee1796475b075aa38028ebbe0f88c26ae2375c6ce482f___115235615 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 22
return "network/widget/widget.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", "network/auction/widgets/auction_widget_auctionhouse.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "network/auction/widgets/auction_widget_auctionhouse.html.twig"));
$this->parent = $this->loadTemplate("network/widget/widget.html.twig", "network/auction/widgets/auction_widget_auctionhouse.html.twig", 22);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 23
public function block_content($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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 24
echo " ";
$macros["button"] = $this->loadTemplate("macros/button.macro.twig", "network/auction/widgets/auction_widget_auctionhouse.html.twig", 24)->unwrap();
// line 25
echo " <div class=\"grid gap-2\">
";
// line 26
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 26, $this->source); })()), "auctionhouse", [], "any", false, false, false, 26), "phone", [], "any", false, false, false, 26)) {
// line 27
echo " <div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
";
// line 29
$this->loadTemplate("icons/phone.svg.twig", "network/auction/widgets/auction_widget_auctionhouse.html.twig", 29)->display(twig_array_merge($context, ["class" => "w-4 h-4"]));
// line 30
echo " </div>
<a data-turbo='false' class=\"font-bold no-underline\" href=\"tel:+";
// line 31
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 31, $this->source); })()), "auctionhouse", [], "any", false, false, false, 31), "phone", [], "any", false, false, false, 31), "html", null, true);
echo "\">
";
// line 32
echo twig_escape_filter($this->env, twig_trim_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 32, $this->source); })()), "auctionhouse", [], "any", false, false, false, 32), "phone", [], "any", false, false, false, 32)), "html", null, true);
echo "
</a>
</div>
";
}
// line 36
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 36, $this->source); })()), "auctionhouse", [], "any", false, false, false, 36), "fax", [], "any", false, false, false, 36)) {
// line 37
echo " <div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
";
// line 39
$this->loadTemplate("icons/fax.svg.twig", "network/auction/widgets/auction_widget_auctionhouse.html.twig", 39)->display(twig_array_merge($context, ["class" => "w-5 h-5 -ml-1px"]));
// line 40
echo " </div>
<div class=\"font-bold\">
";
// line 42
echo twig_escape_filter($this->env, twig_trim_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 42, $this->source); })()), "auctionhouse", [], "any", false, false, false, 42), "fax", [], "any", false, false, false, 42)), "html", null, true);
echo "
</div>
</div>
";
}
// line 46
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 46, $this->source); })()), "auctionhouse", [], "any", false, false, false, 46), "email", [], "any", false, false, false, 46)) {
// line 47
echo " <div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
";
// line 49
$this->loadTemplate("icons/mail.svg.twig", "network/auction/widgets/auction_widget_auctionhouse.html.twig", 49)->display(twig_array_merge($context, ["class" => "w-4 h-4"]));
// line 50
echo " </div>
<a data-turbo='false' class=\"font-bold no-underline\" href=\"mailto:";
// line 51
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 51, $this->source); })()), "auctionhouse", [], "any", false, false, false, 51), "email", [], "any", false, false, false, 51), "html", null, true);
echo "\">
";
// line 52
echo twig_escape_filter($this->env, twig_trim_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 52, $this->source); })()), "auctionhouse", [], "any", false, false, false, 52), "email", [], "any", false, false, false, 52)), "html", null, true);
echo "
</a>
</div>
";
}
// line 56
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 56, $this->source); })()), "auctionhouse", [], "any", false, false, false, 56), "website", [], "any", false, false, false, 56)) {
// line 57
echo " <div class=\"flex items-center truncate text-neutral-900\">
<div class=\"w-5 mr-3\">
";
// line 59
$this->loadTemplate("icons/weblink.svg.twig", "network/auction/widgets/auction_widget_auctionhouse.html.twig", 59)->display(twig_array_merge($context, ["class" => "w-5 h-5"]));
// line 60
echo " </div>
<div class=\"font-bold\">
<a data-turbo='false' href=\"";
// line 62
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 62, $this->source); })()), "auctionhouse", [], "any", false, false, false, 62), "website", [], "any", false, false, false, 62), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
// line 63
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["auction"] ?? null), "auctionhouse", [], "any", false, true, false, 63), "website", [], "any", true, true, false, 63)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["auction"] ?? null), "auctionhouse", [], "any", false, true, false, 63), "website", [], "any", false, false, false, 63), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 63, $this->source); })()), "auctionhouse", [], "any", false, false, false, 63), "website", [], "any", false, false, false, 63))) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 63, $this->source); })()), "auctionhouse", [], "any", false, false, false, 63), "website", [], "any", false, false, false, 63))), "html", null, true);
echo "
</a>
</div>
</div>
";
}
// line 68
echo "
";
// line 69
$context["auctionhouseLink"] = $this->env->getFunction('pimcore_url')->getCallable()(["object" => twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 69, $this->source); })()), "auctionhouse", [], "any", false, false, false, 69)]);
// line 70
echo " ";
if ((isset($context["auctionhouseLink"]) || array_key_exists("auctionhouseLink", $context) ? $context["auctionhouseLink"] : (function () { throw new RuntimeError('Variable "auctionhouseLink" does not exist.', 70, $this->source); })())) {
// line 71
echo " ";
echo twig_call_macro($macros["button"], "macro_link", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auctionhouse-link"), "primary", // line 75
(isset($context["auctionhouseLink"]) || array_key_exists("auctionhouseLink", $context) ? $context["auctionhouseLink"] : (function () { throw new RuntimeError('Variable "auctionhouseLink" does not exist.', 75, $this->source); })()), ["size" => "sm", "icon_after" => "arrow-right-tail", "attr" => ["class" => "mt-2", "data-turbo" => "false"]]], 72, $context, $this->getSourceContext());
// line 78
echo "
";
}
// line 80
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "network/auction/widgets/auction_widget_auctionhouse.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 606 => 80, 602 => 78, 600 => 75, 598 => 71, 595 => 70, 593 => 69, 590 => 68, 582 => 63, 578 => 62, 574 => 60, 572 => 59, 568 => 57, 565 => 56, 558 => 52, 554 => 51, 551 => 50, 549 => 49, 545 => 47, 542 => 46, 535 => 42, 531 => 40, 529 => 39, 525 => 37, 522 => 36, 515 => 32, 511 => 31, 508 => 30, 506 => 29, 502 => 27, 500 => 26, 497 => 25, 494 => 24, 484 => 23, 461 => 22, 287 => 13, 281 => 12, 277 => 11, 273 => 10, 269 => 8, 267 => 7, 263 => 5, 253 => 4, 230 => 3, 60 => 85, 57 => 83, 55 => 22, 53 => 21, 50 => 20, 47 => 18, 45 => 3, 43 => 2,);
}
public function getSourceContext()
{
return new Source("{# Address #}
{% set title = 'auctionhouse'|trans %}
{% embed 'network/widget/widget.html.twig' %}
{% block content %}
<div class=\"flex\">
<div class=\"w-4 mr-4\">
{% include 'icons/auction-house.svg.twig' with { class: 'w-4 h-4' } %}
</div>
<address class=\"flex flex-col not-italic leading-snug\">
<span class=\"font-medium\">{{ auction.auctionhouse.name }}</span>
<span>{{ auction.auctionhouse.street }}</span>
<span>{{ auction.auctionhouse.postalCode }} {{ auction.auctionhouse.city }}</span>
<span>{{ auction.auctionhouse.country|country_name }}</span>
</address>
</div>
{% endblock %}
{% endembed %}
{# Contact #}
{% set title = null %}
{% embed 'network/widget/widget.html.twig' %}
{% block content %}
{% import 'macros/button.macro.twig' as button %}
<div class=\"grid gap-2\">
{% if auction.auctionhouse.phone %}
<div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
{% include 'icons/phone.svg.twig' with { class: 'w-4 h-4' } %}
</div>
<a data-turbo='false' class=\"font-bold no-underline\" href=\"tel:+{{ auction.auctionhouse.phone }}\">
{{ auction.auctionhouse.phone|trim }}
</a>
</div>
{% endif %}
{% if auction.auctionhouse.fax %}
<div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
{% include 'icons/fax.svg.twig' with { class: 'w-5 h-5 -ml-1px' } %}
</div>
<div class=\"font-bold\">
{{ auction.auctionhouse.fax|trim }}
</div>
</div>
{% endif %}
{% if auction.auctionhouse.email %}
<div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
{% include 'icons/mail.svg.twig' with { class: 'w-4 h-4' } %}
</div>
<a data-turbo='false' class=\"font-bold no-underline\" href=\"mailto:{{ auction.auctionhouse.email }}\">
{{ auction.auctionhouse.email|trim }}
</a>
</div>
{% endif %}
{% if auction.auctionhouse.website %}
<div class=\"flex items-center truncate text-neutral-900\">
<div class=\"w-5 mr-3\">
{% include 'icons/weblink.svg.twig' with { class: 'w-5 h-5' } %}
</div>
<div class=\"font-bold\">
<a data-turbo='false' href=\"{{ auction.auctionhouse.website }}\" target=\"_blank\" rel=\"noopener noreferrer\">
{{ auction.auctionhouse.website|default(auction.auctionhouse.website) }}
</a>
</div>
</div>
{% endif %}
{% set auctionhouseLink = pimcore_url({ object: auction.auctionhouse }) %}
{% if auctionhouseLink %}
{{
button.link(
'auctionhouse-link'|trans,
'primary',
auctionhouseLink,
{ size: 'sm', icon_after: 'arrow-right-tail', attr: { class: 'mt-2', 'data-turbo': 'false' } }
)
}}
{% endif %}
</div>
{% endblock %}
{% endembed %}
{# Map #}
{% embed 'network/widget/widget.html.twig' %}
{% block content %}
{% if auction.auctionhouse.geolocation %}
<div class=\"hidden xl:block aspect-w-16 aspect-h-9 xl:aspect-w-1 xl:aspect-h-1\"
data-controller=\"leaflet\"
data-leaflet-options-value=\"{{ {
center: [
auction.auctionhouse.geolocation.latitude,
auction.auctionhouse.geolocation.longitude
],
zoom: 12
}|json_encode }}\"
data-leaflet-marker-value=\"{{ [
{
geolocation: [
auction.auctionhouse.geolocation.latitude,
auction.auctionhouse.geolocation.longitude
],
color: auction.auctionhouse.color.hex,
title: auction.auctionhouse.name,
text: auction.auctionhouse.street ~ '<br>' ~ auction.auctionhouse.postalCode ~ ' '
~ auction.auctionhouse.city
~ '<br>'
~ (auction.auctionhouse.country|country_name)
}
]|json_encode }}\">
<template data-leaflet-target=\"markerTemplate\">
<b>%title%</b><br />
<span>%text%</span><br />
</template>
<div class=\"w-full h-full map\" data-leaflet-target=\"map\"></div>
</div>
{% endif %}
{% endblock %}
{% endembed %}
", "network/auction/widgets/auction_widget_auctionhouse.html.twig", "/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/auction/widgets/auction_widget_auctionhouse.html.twig");
}
}
/* network/auction/widgets/auction_widget_auctionhouse.html.twig */
class __TwigTemplate_21de2d639ae5fef4216ee1796475b075aa38028ebbe0f88c26ae2375c6ce482f___1612102758 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 85
return "network/widget/widget.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", "network/auction/widgets/auction_widget_auctionhouse.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "network/auction/widgets/auction_widget_auctionhouse.html.twig"));
$this->parent = $this->loadTemplate("network/widget/widget.html.twig", "network/auction/widgets/auction_widget_auctionhouse.html.twig", 85);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 86
public function block_content($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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 87
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 87, $this->source); })()), "auctionhouse", [], "any", false, false, false, 87), "geolocation", [], "any", false, false, false, 87)) {
// line 88
echo " <div class=\"hidden xl:block aspect-w-16 aspect-h-9 xl:aspect-w-1 xl:aspect-h-1\"
data-controller=\"leaflet\"
data-leaflet-options-value=\"";
// line 90
echo twig_escape_filter($this->env, json_encode(["center" => [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 92
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 92, $this->source); })()), "auctionhouse", [], "any", false, false, false, 92), "geolocation", [], "any", false, false, false, 92), "latitude", [], "any", false, false, false, 92), 1 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 93
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 93, $this->source); })()), "auctionhouse", [], "any", false, false, false, 93), "geolocation", [], "any", false, false, false, 93), "longitude", [], "any", false, false, false, 93)], "zoom" => 12]), "html", null, true);
// line 96
echo "\"
data-leaflet-marker-value=\"";
// line 97
echo twig_escape_filter($this->env, json_encode([0 => ["geolocation" => [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 100
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 100, $this->source); })()), "auctionhouse", [], "any", false, false, false, 100), "geolocation", [], "any", false, false, false, 100), "latitude", [], "any", false, false, false, 100), 1 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 101
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 101, $this->source); })()), "auctionhouse", [], "any", false, false, false, 101), "geolocation", [], "any", false, false, false, 101), "longitude", [], "any", false, false, false, 101)], "color" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 103
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 103, $this->source); })()), "auctionhouse", [], "any", false, false, false, 103), "color", [], "any", false, false, false, 103), "hex", [], "any", false, false, false, 103), "title" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 104
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 104, $this->source); })()), "auctionhouse", [], "any", false, false, false, 104), "name", [], "any", false, false, false, 104), "text" => ((((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 105
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 105, $this->source); })()), "auctionhouse", [], "any", false, false, false, 105), "street", [], "any", false, false, false, 105) . "<br>") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 105, $this->source); })()), "auctionhouse", [], "any", false, false, false, 105), "postalCode", [], "any", false, false, false, 105)) . " ") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 106
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 106, $this->source); })()), "auctionhouse", [], "any", false, false, false, 106), "city", [], "any", false, false, false, 106)) . "<br>") . $this->extensions['Twig\Extra\Intl\IntlExtension']->getCountryName(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 108
(isset($context["auction"]) || array_key_exists("auction", $context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.', 108, $this->source); })()), "auctionhouse", [], "any", false, false, false, 108), "country", [], "any", false, false, false, 108)))]]), "html", null, true);
// line 110
echo "\">
<template data-leaflet-target=\"markerTemplate\">
<b>%title%</b><br />
<span>%text%</span><br />
</template>
<div class=\"w-full h-full map\" data-leaflet-target=\"map\"></div>
</div>
";
}
// line 118
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "network/auction/widgets/auction_widget_auctionhouse.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 843 => 118, 833 => 110, 831 => 108, 830 => 106, 829 => 105, 828 => 104, 827 => 103, 826 => 101, 825 => 100, 824 => 97, 821 => 96, 819 => 93, 818 => 92, 817 => 90, 813 => 88, 810 => 87, 800 => 86, 777 => 85, 606 => 80, 602 => 78, 600 => 75, 598 => 71, 595 => 70, 593 => 69, 590 => 68, 582 => 63, 578 => 62, 574 => 60, 572 => 59, 568 => 57, 565 => 56, 558 => 52, 554 => 51, 551 => 50, 549 => 49, 545 => 47, 542 => 46, 535 => 42, 531 => 40, 529 => 39, 525 => 37, 522 => 36, 515 => 32, 511 => 31, 508 => 30, 506 => 29, 502 => 27, 500 => 26, 497 => 25, 494 => 24, 484 => 23, 461 => 22, 287 => 13, 281 => 12, 277 => 11, 273 => 10, 269 => 8, 267 => 7, 263 => 5, 253 => 4, 230 => 3, 60 => 85, 57 => 83, 55 => 22, 53 => 21, 50 => 20, 47 => 18, 45 => 3, 43 => 2,);
}
public function getSourceContext()
{
return new Source("{# Address #}
{% set title = 'auctionhouse'|trans %}
{% embed 'network/widget/widget.html.twig' %}
{% block content %}
<div class=\"flex\">
<div class=\"w-4 mr-4\">
{% include 'icons/auction-house.svg.twig' with { class: 'w-4 h-4' } %}
</div>
<address class=\"flex flex-col not-italic leading-snug\">
<span class=\"font-medium\">{{ auction.auctionhouse.name }}</span>
<span>{{ auction.auctionhouse.street }}</span>
<span>{{ auction.auctionhouse.postalCode }} {{ auction.auctionhouse.city }}</span>
<span>{{ auction.auctionhouse.country|country_name }}</span>
</address>
</div>
{% endblock %}
{% endembed %}
{# Contact #}
{% set title = null %}
{% embed 'network/widget/widget.html.twig' %}
{% block content %}
{% import 'macros/button.macro.twig' as button %}
<div class=\"grid gap-2\">
{% if auction.auctionhouse.phone %}
<div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
{% include 'icons/phone.svg.twig' with { class: 'w-4 h-4' } %}
</div>
<a data-turbo='false' class=\"font-bold no-underline\" href=\"tel:+{{ auction.auctionhouse.phone }}\">
{{ auction.auctionhouse.phone|trim }}
</a>
</div>
{% endif %}
{% if auction.auctionhouse.fax %}
<div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
{% include 'icons/fax.svg.twig' with { class: 'w-5 h-5 -ml-1px' } %}
</div>
<div class=\"font-bold\">
{{ auction.auctionhouse.fax|trim }}
</div>
</div>
{% endif %}
{% if auction.auctionhouse.email %}
<div class=\"flex items-center text-neutral-900\">
<div class=\"w-4 mr-4\">
{% include 'icons/mail.svg.twig' with { class: 'w-4 h-4' } %}
</div>
<a data-turbo='false' class=\"font-bold no-underline\" href=\"mailto:{{ auction.auctionhouse.email }}\">
{{ auction.auctionhouse.email|trim }}
</a>
</div>
{% endif %}
{% if auction.auctionhouse.website %}
<div class=\"flex items-center truncate text-neutral-900\">
<div class=\"w-5 mr-3\">
{% include 'icons/weblink.svg.twig' with { class: 'w-5 h-5' } %}
</div>
<div class=\"font-bold\">
<a data-turbo='false' href=\"{{ auction.auctionhouse.website }}\" target=\"_blank\" rel=\"noopener noreferrer\">
{{ auction.auctionhouse.website|default(auction.auctionhouse.website) }}
</a>
</div>
</div>
{% endif %}
{% set auctionhouseLink = pimcore_url({ object: auction.auctionhouse }) %}
{% if auctionhouseLink %}
{{
button.link(
'auctionhouse-link'|trans,
'primary',
auctionhouseLink,
{ size: 'sm', icon_after: 'arrow-right-tail', attr: { class: 'mt-2', 'data-turbo': 'false' } }
)
}}
{% endif %}
</div>
{% endblock %}
{% endembed %}
{# Map #}
{% embed 'network/widget/widget.html.twig' %}
{% block content %}
{% if auction.auctionhouse.geolocation %}
<div class=\"hidden xl:block aspect-w-16 aspect-h-9 xl:aspect-w-1 xl:aspect-h-1\"
data-controller=\"leaflet\"
data-leaflet-options-value=\"{{ {
center: [
auction.auctionhouse.geolocation.latitude,
auction.auctionhouse.geolocation.longitude
],
zoom: 12
}|json_encode }}\"
data-leaflet-marker-value=\"{{ [
{
geolocation: [
auction.auctionhouse.geolocation.latitude,
auction.auctionhouse.geolocation.longitude
],
color: auction.auctionhouse.color.hex,
title: auction.auctionhouse.name,
text: auction.auctionhouse.street ~ '<br>' ~ auction.auctionhouse.postalCode ~ ' '
~ auction.auctionhouse.city
~ '<br>'
~ (auction.auctionhouse.country|country_name)
}
]|json_encode }}\">
<template data-leaflet-target=\"markerTemplate\">
<b>%title%</b><br />
<span>%text%</span><br />
</template>
<div class=\"w-full h-full map\" data-leaflet-target=\"map\"></div>
</div>
{% endif %}
{% endblock %}
{% endembed %}
", "network/auction/widgets/auction_widget_auctionhouse.html.twig", "/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/auction/widgets/auction_widget_auctionhouse.html.twig");
}
}