<?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;
/* @AqarmapUser/User/index.html.twig */
class __TwigTemplate_de36c7288aaa1f7d1905734e7fdd306e43f722edf283cee3956422b914fcf572 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'metatags' => [$this, 'block_metatags'],
'htmlhead' => [$this, 'block_htmlhead'],
'categorizedStylesheets' => [$this, 'block_categorizedStylesheets'],
'body' => [$this, 'block_body'],
'categorizedJavascripts' => [$this, 'block_categorizedJavascripts'],
];
}
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", "@AqarmapUser/User/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", "@AqarmapUser/User/index.html.twig"));
// line 3
$macros["macros"] = $this->macros["macros"] = $this->loadTemplate("@AqarmapListing/Default/macros/paginationMeta.twig", "@AqarmapUser/User/index.html.twig", 3)->unwrap();
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "@AqarmapUser/User/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 6
public function block_title($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", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$this->displayParentBlock("title", $context, $blocks);
echo " • ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["user"] ?? null), "fullName", [], "any", true, true, false, 6)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["user"] ?? null), "fullName", [], "any", false, false, false, 6), twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 6, $this->source); })()), "username", [], "any", false, false, false, 6))) : (twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 6, $this->source); })()), "username", [], "any", false, false, false, 6))), "html", null, true);
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 8
public function block_metatags($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", "metatags"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatags"));
// line 9
echo " <meta name=\"robots\" content=\"noindex\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 12
public function block_htmlhead($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", "htmlhead"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "htmlhead"));
// line 13
echo " ";
$context["firstListingArray"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 13, $this->source); })()), "items", [], "any", false, false, false, 13));
// line 14
echo " ";
$context["firstListing"] = (((isset($context["firstListingArray"]) || array_key_exists("firstListingArray", $context) ? $context["firstListingArray"] : (function () { throw new RuntimeError('Variable "firstListingArray" does not exist.', 14, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["firstListingArray"]) || array_key_exists("firstListingArray", $context) ? $context["firstListingArray"] : (function () { throw new RuntimeError('Variable "firstListingArray" does not exist.', 14, $this->source); })()), "listing", [], "array", false, false, false, 14)) : (null));
// line 15
echo "
<meta name=\"twitter:card\" content=\"summary_large_image\" />
<meta name=\"twitter:site\" content=\"";
// line 17
echo twig_escape_filter($this->env, twig_sprintf("%s%s", "@", $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name")), "html", null, true);
echo "\" />
<meta name=\"twitter:creator\" content=\"";
// line 18
echo twig_escape_filter($this->env, twig_sprintf("%s%s", "@", $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name")), "html", null, true);
echo "\" />
<meta property=\"og:title\" content=\"";
// line 20
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.sharing.title", ["%user%" => twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 20, $this->source); })()), "username", [], "any", false, false, false, 20)]), "html", null, true);
echo "\"/>
<meta property=\"og:description\" content=\"";
// line 21
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.sharing.description"), "html", null, true);
echo "\" />
<meta property=\"og:image\" content=\"";
// line 22
if (((isset($context["firstListing"]) || array_key_exists("firstListing", $context) ? $context["firstListing"] : (function () { throw new RuntimeError('Variable "firstListing" does not exist.', 22, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["firstListing"]) || array_key_exists("firstListing", $context) ? $context["firstListing"] : (function () { throw new RuntimeError('Variable "firstListing" does not exist.', 22, $this->source); })()), "mainPhoto", [], "any", false, false, false, 22))) {
echo twig_escape_filter($this->env, $this->extensions['Aqarmap\Bundle\MainBundle\Twig\ThumbnailExtension']->getThumbnail($this->extensions['Aqarmap\Bundle\ListingBundle\Twig\ListingShareExtension']->customVichUploaderAsset(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["firstListing"]) || array_key_exists("firstListing", $context) ? $context["firstListing"] : (function () { throw new RuntimeError('Variable "firstListing" does not exist.', 22, $this->source); })()), "mainPhoto", [], "any", false, false, false, 22), "file", [], "any", false, false, false, 22), "file"), "large"), "html", null, true);
}
echo "\" />
<meta property=\"og:site_name\" content=\"";
// line 23
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name"), "html", null, true);
echo "\" />
<meta property=\"fb:app_id\" content=\"";
// line 24
echo twig_escape_filter($this->env, (isset($context["facebook_app_id"]) || array_key_exists("facebook_app_id", $context) ? $context["facebook_app_id"] : (function () { throw new RuntimeError('Variable "facebook_app_id" does not exist.', 24, $this->source); })()), "html", null, true);
echo "\"/>
<link rel=\"canonical\" href=\"";
// line 25
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("aqarmap_user_listings", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 25, $this->source); })()), "id", [], "any", false, false, false, 25), "page" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 25, $this->source); })()), "request", [], "any", false, false, false, 25), "get", [0 => "page", 1 => null], "method", false, false, false, 25)]), "html", null, true);
echo "\"/>
";
// line 26
echo twig_call_macro($macros["macros"], "macro_pagination_meta", [(isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 26, $this->source); })())], 26, $context, $this->getSourceContext());
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 29
public function block_categorizedStylesheets($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", "categorizedStylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "categorizedStylesheets"));
// line 30
echo "<link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/css/customerListingsBuild" . (((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 30, $this->source); })()), "environment", [], "any", false, false, false, 30) == "dev")) ? ("") : (".min"))) . ".css")), "html", null, true);
echo "\" />
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 32
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 33
echo " ";
$context["currentUser"] = twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "user", [], "any", false, false, false, 33);
// line 34
echo " ";
$context["isMobile"] = $this->extensions['Aqarmap\Bundle\MainBundle\Twig\MobileDetectionExtension']->isMobileAgent(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 34, $this->source); })()), "request", [], "any", false, false, false, 34), "headers", [], "any", false, false, false, 34), "get", [0 => "User-Agent"], "method", false, false, false, 34));
// line 35
echo " ";
$context["currentUserEmail"] = (((isset($context["currentUser"]) || array_key_exists("currentUser", $context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.', 35, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["currentUser"]) || array_key_exists("currentUser", $context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.', 35, $this->source); })()), "email", [], "any", false, false, false, 35)) : (""));
// line 36
echo " ";
$context["location"] = null;
// line 37
echo "
<section ng-controller=\"quickLeadController\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col\">
<div class=\"page-header\">
<h1>";
// line 43
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user_settings.properties", ["%user_name%" => ((twig_get_attribute($this->env, $this->source, ($context["user"] ?? null), "fullName", [], "any", true, true, false, 43)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["user"] ?? null), "fullName", [], "any", false, false, false, 43), twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 43, $this->source); })()), "username", [], "any", false, false, false, 43))) : (twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 43, $this->source); })()), "username", [], "any", false, false, false, 43)))]), "html", null, true);
echo "</h1>
</div>
</div>
";
// line 46
if ((twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 46, $this->source); })()), "logo", [], "any", false, false, false, 46) && twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 46, $this->source); })()), "isValidLogo", [], "any", false, false, false, 46))) {
// line 47
echo " <div class=\"col\">
<div class=\"page-header img-responsive pull-right flip\">
<img style=\"margin-bottom: 15px;\" src=\"";
// line 49
echo twig_escape_filter($this->env, $this->extensions['Aqarmap\Bundle\MainBundle\Twig\ThumbnailExtension']->getThumbnail($this->extensions['Aqarmap\Bundle\ListingBundle\Twig\ListingShareExtension']->customVichUploaderAsset(twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 49, $this->source); })()), "logo", [], "any", false, false, false, 49), "file"), "logo"), "html", null, true);
echo "\" alt=\"user-logo\">
</div>
</div>
";
}
// line 53
echo " </div>
<div class=\"row\">
";
// line 55
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 55, $this->source); })()), "items", [], "any", false, false, false, 55))) {
// line 56
echo " ";
$this->loadTemplate("@AqarmapListing/ListingSearch/listingCardVertical.html.twig", "@AqarmapUser/User/index.html.twig", 56)->display(twig_array_merge($context, ["listings" => twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 56, $this->source); })()), "items", [], "any", false, false, false, 56), "mainListing" => false, "isRelatedToListing" => false, "defaultResults" => false, "topSellersResults" => false, "isRelatedResults" => false, "cardGridSize" => "col-md-4 col-6", "disablePhotosCount" => true, "leadSourcePage" => "seller_profile"]));
// line 57
echo " ";
} else {
// line 58
echo " <p>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user_settings.no_listings"), "html", null, true);
echo "</p>
";
}
// line 60
echo " </div>
<!-- Pagination -->
";
// line 62
echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 62, $this->source); })()));
echo "
<!-- /Pagination -->
</div>
</section>
";
// line 66
echo twig_include($this->env, $context, "@AqarmapListingBundle/Listing/listingPhoneModal.html.twig");
echo "
<div ng-controller=\"listingLeadsWizardController\" ng-init=\"initFormWizard()\">
";
// line 68
echo twig_include($this->env, $context, "@AqarmapUserBundle/User/listingMultiStepLeadModal.html.twig");
echo "
</div>
<div ng-controller=\"afterLeadController\" >
";
// line 71
$this->loadTemplate("@AqarmapListingBundle/Listing/afterLeadModal.html.twig", "@AqarmapUser/User/index.html.twig", 71)->display($context);
// line 72
echo " ";
$this->loadTemplate("@AqarmapListingBundle/Listing/mortgageModal.html.twig", "@AqarmapUser/User/index.html.twig", 72)->display($context);
// line 73
echo " ";
$this->loadTemplate("@AqarmapListingBundle/Listing/similarListingsModal.html.twig", "@AqarmapUser/User/index.html.twig", 73)->display($context);
// line 74
echo " <div ng-controller=\"RatingController\">
";
// line 75
$this->loadTemplate("@AqarmapListing/Listing/ratingFormModal.html.twig", "@AqarmapUser/User/index.html.twig", 75)->display($context);
// line 76
echo " ";
$this->loadTemplate("@AqarmapListing/Listing/ratingProblemsModal.html.twig", "@AqarmapUser/User/index.html.twig", 76)->display($context);
// line 77
echo " </div>
<div ng-controller=\"FeaturedCompaniesController\"
ng-init=\"setTopCompaniesData();
fetchFeaturedCompanies();\"
>
<div ng-if=\"!isTopCompaniesEmpty()\" ng-cloak>
";
// line 83
$this->loadTemplate("@AqarmapListingBundle/Listing/topSellersLogosModal.html.twig", "@AqarmapUser/User/index.html.twig", 83)->display(twig_array_merge($context, ["trigger" => "", "eventAction" => ""]));
// line 84
echo " </div>
</div>
</div>
";
// line 87
echo twig_include($this->env, $context, "@AqarmapUserBundle/User/RegistrationSurvey.html.twig");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 90
public function block_categorizedJavascripts($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", "categorizedJavascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "categorizedJavascripts"));
// line 91
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildCustomerListings" . (((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 91, $this->source); })()), "environment", [], "any", false, false, false, 91) == "dev")) ? ("") : (".min"))) . ".js")), "html", null, true);
echo "\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@AqarmapUser/User/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 342 => 91, 332 => 90, 319 => 87, 314 => 84, 312 => 83, 304 => 77, 301 => 76, 299 => 75, 296 => 74, 293 => 73, 290 => 72, 288 => 71, 282 => 68, 277 => 66, 270 => 62, 266 => 60, 260 => 58, 257 => 57, 254 => 56, 252 => 55, 248 => 53, 241 => 49, 237 => 47, 235 => 46, 229 => 43, 221 => 37, 218 => 36, 215 => 35, 212 => 34, 209 => 33, 199 => 32, 186 => 30, 176 => 29, 164 => 26, 160 => 25, 156 => 24, 152 => 23, 146 => 22, 142 => 21, 138 => 20, 133 => 18, 129 => 17, 125 => 15, 122 => 14, 119 => 13, 109 => 12, 98 => 9, 88 => 8, 66 => 6, 55 => 1, 53 => 3, 40 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% import '@AqarmapListing/Default/macros/paginationMeta.twig' as macros %}
{# Page title #}
{% block title %}{{ parent() }} • {{ user.fullName|default(user.username) }} {% endblock %}
{% block metatags %}
<meta name=\"robots\" content=\"noindex\">
{% endblock %}
{% block htmlhead %}
{% set firstListingArray = entity.items|first %}
{% set firstListing = firstListingArray ? firstListingArray ['listing']: NULL %}
<meta name=\"twitter:card\" content=\"summary_large_image\" />
<meta name=\"twitter:site\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
<meta name=\"twitter:creator\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
<meta property=\"og:title\" content=\"{{ 'user.sharing.title'|trans({'%user%': user.username}) }}\"/>
<meta property=\"og:description\" content=\"{{ 'user.sharing.description'|trans }}\" />
<meta property=\"og:image\" content=\"{% if firstListing and firstListing.mainPhoto %}{{ custom_vich_uploader_asset(firstListing.mainPhoto.file, 'file') | thumbnail('large')}}{% endif %}\" />
<meta property=\"og:site_name\" content=\"{{ 'layout.app_name'|trans }}\" />
<meta property=\"fb:app_id\" content=\"{{ facebook_app_id }}\"/>
<link rel=\"canonical\" href=\"{{ url('aqarmap_user_listings', {id: user.id, page: app.request.get('page', null)}) }}\"/>
{{ macros.pagination_meta(entity) }}
{% endblock %}
{% block categorizedStylesheets -%}
<link rel=\"stylesheet\" href=\"{{ asset('builds/css/customerListingsBuild'~ (app.environment == 'dev' ? '' : '.min') ~'.css') }}\" />
{% endblock %}
{% block body %}
{% set currentUser = app.user %}
{% set isMobile = isMobileAgent(app.request.headers.get('User-Agent')) %}
{% set currentUserEmail = currentUser ? currentUser.email : '' %}
{% set location = null %}
<section ng-controller=\"quickLeadController\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col\">
<div class=\"page-header\">
<h1>{{ 'user_settings.properties'|trans({'%user_name%': user.fullName|default(user.username)}) }}</h1>
</div>
</div>
{% if user.logo and user.isValidLogo %}
<div class=\"col\">
<div class=\"page-header img-responsive pull-right flip\">
<img style=\"margin-bottom: 15px;\" src=\"{{ custom_vich_uploader_asset(user.logo, 'file') | thumbnail('logo') }}\" alt=\"user-logo\">
</div>
</div>
{% endif %}
</div>
<div class=\"row\">
{% if entity.items is not empty %}
{% include '@AqarmapListing/ListingSearch/listingCardVertical.html.twig' with {'listings': entity.items, 'mainListing': false, 'isRelatedToListing': false, 'defaultResults' : false, 'topSellersResults' : false, 'isRelatedResults' : false , 'cardGridSize': 'col-md-4 col-6', 'disablePhotosCount': true , 'leadSourcePage': 'seller_profile'}%}
{% else %}
<p>{{ 'user_settings.no_listings'|trans }}</p>
{% endif %}
</div>
<!-- Pagination -->
{{ knp_pagination_render(entity) }}
<!-- /Pagination -->
</div>
</section>
{{ include('@AqarmapListingBundle/Listing/listingPhoneModal.html.twig') }}
<div ng-controller=\"listingLeadsWizardController\" ng-init=\"initFormWizard()\">
{{ include('@AqarmapUserBundle/User/listingMultiStepLeadModal.html.twig') }}
</div>
<div ng-controller=\"afterLeadController\" >
{% include '@AqarmapListingBundle/Listing/afterLeadModal.html.twig' %}
{% include \"@AqarmapListingBundle/Listing/mortgageModal.html.twig\" %}
{% include \"@AqarmapListingBundle/Listing/similarListingsModal.html.twig\" %}
<div ng-controller=\"RatingController\">
{% include \"@AqarmapListing/Listing/ratingFormModal.html.twig\" %}
{% include \"@AqarmapListing/Listing/ratingProblemsModal.html.twig\" %}
</div>
<div ng-controller=\"FeaturedCompaniesController\"
ng-init=\"setTopCompaniesData();
fetchFeaturedCompanies();\"
>
<div ng-if=\"!isTopCompaniesEmpty()\" ng-cloak>
{% include \"@AqarmapListingBundle/Listing/topSellersLogosModal.html.twig\" with {trigger: '', eventAction:''}%}
</div>
</div>
</div>
{{ include('@AqarmapUserBundle/User/RegistrationSurvey.html.twig') }}
{% endblock %}
{% block categorizedJavascripts %}
<script src=\"{{ asset('builds/js/buildCustomerListings'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
{% endblock %}
", "@AqarmapUser/User/index.html.twig", "/srv/moonshot/src/Aqarmap/Bundle/UserBundle/Resources/views/User/index.html.twig");
}
}