var/cache/dev/twig/04/04d861d34b2b2fc5f87a830c9dfd3046c1248e28552a5b08abf80ad145351c25.php line 348

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @AqarmapListing/CompoundSearch/compoundSearchResult.html.twig */
  14. class __TwigTemplate_9753090f4b426b04c3a1172e0165c8bbb820af935f086e89f8fabd2a3bfef294 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'metatags' => [$this'block_metatags'],
  25.             'meta_description' => [$this'block_meta_description'],
  26.             'categorizedStylesheets' => [$this'block_categorizedStylesheets'],
  27.             'headerTop' => [$this'block_headerTop'],
  28.             'body' => [$this'block_body'],
  29.             'stylesheets' => [$this'block_stylesheets'],
  30.             'getTranslations' => [$this'block_getTranslations'],
  31.             'categorizedJavascripts' => [$this'block_categorizedJavascripts'],
  32.             'javascripts' => [$this'block_javascripts'],
  33.             'htmlhead' => [$this'block_htmlhead'],
  34.         ];
  35.     }
  36.     protected function doGetParent(array $context)
  37.     {
  38.         // line 1
  39.         return "base.html.twig";
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = [])
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"));
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"));
  48.         // line 2
  49.         $context["SHARING_IMAGE"] = twig_constant("Aqarmap\\Bundle\\ListingBundle\\Constant\\SharingConstant::PROJECTS_IMAGE");
  50.         // line 3
  51.         $context["isCtaButtonsEnabled"] = $this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.compound.card.cta");
  52.         // line 4
  53.         $context["totalListingsCount"] = twig_get_attribute($this->env$this->source, (isset($context["listings"]) || array_key_exists("listings"$context) ? $context["listings"] : (function () { throw new RuntimeError('Variable "listings" does not exist.'4$this->source); })()), "getTotalItemCount", [], "method"falsefalsefalse4);
  54.         // line 5
  55.         $context["SHOW_PHONE_CONSTANT"] = twig_constant("Aqarmap\\Bundle\\ListingBundle\\Constant\\LeadTypes::SHOW_PHONE");
  56.         // line 6
  57.         $context["isKSASite"] = ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general""country") == "SA");
  58.         // line 7
  59.         if ((twig_get_attribute($this->env$this->source, ($context["location"] ?? null), "parent", [], "any"truetruefalse7) && twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'7$this->source); })()), "parent", [], "any"falsefalsefalse7))) {
  60.             // line 8
  61.             $context["resortsCustomTitleWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.resorts_custom_title_with_location_with_parent", ["%location%" =>             // line 9
  62. (isset($context["locationTitle"]) || array_key_exists("locationTitle"$context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.'9$this->source); })()), "%parentLocation%" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 10
  63. (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'10$this->source); })()), "parent", [], "any"falsefalsefalse10), "title", [], "any"falsefalsefalse10), "%projects%" =>             // line 11
  64. (isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount"$context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.'11$this->source); })())]);
  65.             // line 13
  66.             if ((isset($context["isKSASite"]) || array_key_exists("isKSASite"$context) ? $context["isKSASite"] : (function () { throw new RuntimeError('Variable "isKSASite" does not exist.'13$this->source); })())) {
  67.                 // line 14
  68.                 $context["projectsCustomTitleWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.projects_ksa_custom_title_with_location_with_parent", ["%location%" =>                 // line 15
  69. (isset($context["locationTitle"]) || array_key_exists("locationTitle"$context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.'15$this->source); })()), "%parentLocation%" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 16
  70. (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'16$this->source); })()), "parent", [], "any"falsefalsefalse16), "title", [], "any"falsefalsefalse16), "%projects%" =>                 // line 17
  71. (isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount"$context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.'17$this->source); })())]);
  72.             } else {
  73.                 // line 20
  74.                 $context["projectsCustomTitleWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.projects_custom_title_with_location_with_parent", ["%location%" =>                 // line 21
  75. (isset($context["locationTitle"]) || array_key_exists("locationTitle"$context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.'21$this->source); })()), "%parentLocation%" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 22
  76. (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'22$this->source); })()), "parent", [], "any"falsefalsefalse22), "title", [], "any"falsefalsefalse22), "%projects%" =>                 // line 23
  77. (isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount"$context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.'23$this->source); })())]);
  78.             }
  79.         } else {
  80.             // line 27
  81.             $context["resortsCustomTitleWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.resorts_custom_title_with_location", ["%location%" =>             // line 28
  82. (isset($context["locationTitle"]) || array_key_exists("locationTitle"$context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.'28$this->source); })()), "%projects%" =>             // line 29
  83. (isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount"$context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.'29$this->source); })())]);
  84.             // line 31
  85.             if ((isset($context["isKSASite"]) || array_key_exists("isKSASite"$context) ? $context["isKSASite"] : (function () { throw new RuntimeError('Variable "isKSASite" does not exist.'31$this->source); })())) {
  86.                 // line 32
  87.                 $context["projectsCustomTitleWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.projects_ksa_custom_title_with_location", ["%location%" =>                 // line 33
  88. (isset($context["locationTitle"]) || array_key_exists("locationTitle"$context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.'33$this->source); })()), "%projects%" =>                 // line 34
  89. (isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount"$context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.'34$this->source); })())]);
  90.             } else {
  91.                 // line 37
  92.                 $context["projectsCustomTitleWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.projects_custom_title_with_location", ["%location%" =>                 // line 38
  93. (isset($context["locationTitle"]) || array_key_exists("locationTitle"$context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.'38$this->source); })()), "%projects%" =>                 // line 39
  94. (isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount"$context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.'39$this->source); })())]);
  95.             }
  96.         }
  97.         // line 43
  98.         $context["projectsCustomDescriptionWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.projects_custom_description_with_location", ["%location%" =>         // line 44
  99. (isset($context["locationTitle"]) || array_key_exists("locationTitle"$context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.'44$this->source); })()), "%projects%" =>         // line 45
  100. (isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount"$context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.'45$this->source); })())]);
  101.         // line 47
  102.         $context["ogDescription"] = (((isset($context["locationTitle"]) || array_key_exists("locationTitle"$context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.'47$this->source); })())) ? ((isset($context["projectsCustomDescriptionWithLocation"]) || array_key_exists("projectsCustomDescriptionWithLocation"$context) ? $context["projectsCustomDescriptionWithLocation"] : (function () { throw new RuntimeError('Variable "projectsCustomDescriptionWithLocation" does not exist.'47$this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.compound_guide.sharing.description")));
  103.         // line 48
  104.         $context["projectsTitleWithoutLocation"] = (((isset($context["isKSASite"]) || array_key_exists("isKSASite"$context) ? $context["isKSASite"] : (function () { throw new RuntimeError('Variable "isKSASite" does not exist.'48$this->source); })())) ? ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.ksa_compounds_title")) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compounds_title_without_location", ["%projects%" => (isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount"$context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.'48$this->source); })())])));
  105.         // line 1
  106.         $this->parent $this->loadTemplate("base.html.twig""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"1);
  107.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  108.         
  109.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  110.         
  111.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  112.     }
  113.     // line 50
  114.     public function block_title($context, array $blocks = [])
  115.     {
  116.         $macros $this->macros;
  117.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  118.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  119.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  120.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  121.         // line 51
  122.         echo "    ";
  123.         if ((isset($context["locationTitle"]) || array_key_exists("locationTitle"$context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.'51$this->source); })())) {
  124.             // line 52
  125.             echo "        ";
  126.             if (((isset($context["locationType"]) || array_key_exists("locationType"$context) ? $context["locationType"] : (function () { throw new RuntimeError('Variable "locationType" does not exist.'52$this->source); })()) == twig_constant("Aqarmap\\Bundle\\ListingBundle\\Constant\\CompoundType::RESORT"))) {
  127.                 // line 53
  128.                 echo "            ";
  129.                 echo twig_escape_filter($this->env, (isset($context["resortsCustomTitleWithLocation"]) || array_key_exists("resortsCustomTitleWithLocation"$context) ? $context["resortsCustomTitleWithLocation"] : (function () { throw new RuntimeError('Variable "resortsCustomTitleWithLocation" does not exist.'53$this->source); })()), "html"nulltrue);
  130.                 echo "
  131.         ";
  132.             } else {
  133.                 // line 55
  134.                 echo "            ";
  135.                 echo twig_escape_filter($this->env, (isset($context["projectsCustomTitleWithLocation"]) || array_key_exists("projectsCustomTitleWithLocation"$context) ? $context["projectsCustomTitleWithLocation"] : (function () { throw new RuntimeError('Variable "projectsCustomTitleWithLocation" does not exist.'55$this->source); })()), "html"nulltrue);
  136.                 echo "
  137.         ";
  138.             }
  139.             // line 57
  140.             echo "    ";
  141.         } else {
  142.             // line 58
  143.             echo "        ";
  144.             echo twig_escape_filter($this->env, (isset($context["projectsTitleWithoutLocation"]) || array_key_exists("projectsTitleWithoutLocation"$context) ? $context["projectsTitleWithoutLocation"] : (function () { throw new RuntimeError('Variable "projectsTitleWithoutLocation" does not exist.'58$this->source); })()), "html"nulltrue);
  145.             echo "
  146.     ";
  147.         }
  148.         // line 60
  149.         echo "    ";
  150.         $this->displayParentBlock("title"$context$blocks);
  151.         echo "
  152. ";
  153.         
  154.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  155.         
  156.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  157.     }
  158.     // line 62
  159.     public function block_metatags($context, array $blocks = [])
  160.     {
  161.         $macros $this->macros;
  162.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  164.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  166.         // line 63
  167.         echo "    ";
  168.         if (((isset($context["isNoIndexMetaTag"]) || array_key_exists("isNoIndexMetaTag"$context) ? $context["isNoIndexMetaTag"] : (function () { throw new RuntimeError('Variable "isNoIndexMetaTag" does not exist.'63$this->source); })()) ||  !(isset($context["listingsCount"]) || array_key_exists("listingsCount"$context) ? $context["listingsCount"] : (function () { throw new RuntimeError('Variable "listingsCount" does not exist.'63$this->source); })()))) {
  169.             // line 64
  170.             echo "        <meta name=\"robots\" content=\"noindex\">
  171.     ";
  172.         }
  173.         
  174.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  175.         
  176.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  177.     }
  178.     // line 67
  179.     public function block_meta_description($context, array $blocks = [])
  180.     {
  181.         $macros $this->macros;
  182.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  183.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  184.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  185.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_description"));
  186.         // line 68
  187.         echo "    ";
  188.         if ((isset($context["locationTitle"]) || array_key_exists("locationTitle"$context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.'68$this->source); })())) {
  189.             // line 69
  190.             echo "        ";
  191.             echo twig_escape_filter($this->env, (isset($context["projectsCustomDescriptionWithLocation"]) || array_key_exists("projectsCustomDescriptionWithLocation"$context) ? $context["projectsCustomDescriptionWithLocation"] : (function () { throw new RuntimeError('Variable "projectsCustomDescriptionWithLocation" does not exist.'69$this->source); })()), "html"nulltrue);
  192.             echo "
  193.     ";
  194.         } elseif (        // line 70
  195. (isset($context["customParagraph"]) || array_key_exists("customParagraph"$context) ? $context["customParagraph"] : (function () { throw new RuntimeError('Variable "customParagraph" does not exist.'70$this->source); })())) {
  196.             // line 71
  197.             echo "        ";
  198.             echo twig_escape_filter($this->envtwig_truncate_filter($this->envtwig_striptags(twig_get_attribute($this->env$this->source, (isset($context["customParagraph"]) || array_key_exists("customParagraph"$context) ? $context["customParagraph"] : (function () { throw new RuntimeError('Variable "customParagraph" does not exist.'71$this->source); })()), "paragraph", [], "any"falsefalsefalse71)), 160), "html"nulltrue);
  199.             echo "
  200.     ";
  201.         }
  202.         
  203.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  204.         
  205.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  206.     }
  207.     // line 74
  208.     public function block_categorizedStylesheets($context, array $blocks = [])
  209.     {
  210.         $macros $this->macros;
  211.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  212.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""categorizedStylesheets"));
  213.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  214.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""categorizedStylesheets"));
  215.         // line 75
  216.         echo "    ";
  217.         if ((isset($context["isMobile"]) || array_key_exists("isMobile"$context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.'75$this->source); })())) {
  218.             // line 76
  219.             echo "        <style type=\"text/css\">
  220.             ";
  221.             // line 77
  222.             echo twig_source($this->env"@AqarmapListing/style/compoundSearchCritical.css"true);
  223.             echo "
  224.         </style>
  225.     ";
  226.         } else {
  227.             // line 80
  228.             echo "        <link rel=\"stylesheet\" href=\"";
  229.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/css/compoundsBuild" . (((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.'80$this->source); })()), "environment", [], "any"falsefalsefalse80) == "dev")) ? ("") : (".min"))) . ".css")), "html"nulltrue);
  230.             echo "\" />
  231.     ";
  232.         }
  233.         // line 82
  234.         echo "
  235.     <meta name=\"twitter:card\" content=\"summary_large_image\" />
  236.     <meta name=\"twitter:site\" content=\"";
  237.         // line 84
  238.         echo twig_escape_filter($this->envtwig_sprintf("%s%s""@"$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name")), "html"nulltrue);
  239.         echo "\" />
  240.     <meta name=\"twitter:creator\" content=\"";
  241.         // line 85
  242.         echo twig_escape_filter($this->envtwig_sprintf("%s%s""@"$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name")), "html"nulltrue);
  243.         echo "\" />
  244.     ";
  245.         // line 87
  246.         if ((isset($context["locationTitle"]) || array_key_exists("locationTitle"$context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.'87$this->source); })())) {
  247.             // line 88
  248.             echo "        ";
  249.             if (((isset($context["locationType"]) || array_key_exists("locationType"$context) ? $context["locationType"] : (function () { throw new RuntimeError('Variable "locationType" does not exist.'88$this->source); })()) == twig_constant("Aqarmap\\Bundle\\ListingBundle\\Constant\\CompoundType::RESORT"))) {
  250.                 // line 89
  251.                 echo "            <meta property=\"og:title\" content=\"";
  252.                 echo twig_escape_filter($this->env, (isset($context["resortsCustomTitleWithLocation"]) || array_key_exists("resortsCustomTitleWithLocation"$context) ? $context["resortsCustomTitleWithLocation"] : (function () { throw new RuntimeError('Variable "resortsCustomTitleWithLocation" does not exist.'89$this->source); })()), "html"nulltrue);
  253.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.brand_suffix"), "html"nulltrue);
  254.                 echo "\"/>
  255.         ";
  256.             } else {
  257.                 // line 91
  258.                 echo "            <meta property=\"og:title\" content=\"";
  259.                 echo twig_escape_filter($this->env, (isset($context["projectsCustomTitleWithLocation"]) || array_key_exists("projectsCustomTitleWithLocation"$context) ? $context["projectsCustomTitleWithLocation"] : (function () { throw new RuntimeError('Variable "projectsCustomTitleWithLocation" does not exist.'91$this->source); })()), "html"nulltrue);
  260.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.brand_suffix"), "html"nulltrue);
  261.                 echo "\"/>
  262.         ";
  263.             }
  264.             // line 93
  265.             echo "    ";
  266.         } else {
  267.             // line 94
  268.             echo "        <meta property=\"og:title\" content=\"";
  269.             echo twig_escape_filter($this->env, (isset($context["projectsTitleWithoutLocation"]) || array_key_exists("projectsTitleWithoutLocation"$context) ? $context["projectsTitleWithoutLocation"] : (function () { throw new RuntimeError('Variable "projectsTitleWithoutLocation" does not exist.'94$this->source); })()), "html"nulltrue);
  270.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.brand_suffix"), "html"nulltrue);
  271.             echo "\"/>
  272.     ";
  273.         }
  274.         // line 96
  275.         echo "    <meta property=\"og:description\" content=\"";
  276.         echo twig_escape_filter($this->env, (isset($context["ogDescription"]) || array_key_exists("ogDescription"$context) ? $context["ogDescription"] : (function () { throw new RuntimeError('Variable "ogDescription" does not exist.'96$this->source); })()), "html"nulltrue);
  277.         echo "\" />
  278.     <meta property=\"og:image\" content=\"";
  279.         // line 97
  280.         echo twig_escape_filter($this->env, (isset($context["SHARING_IMAGE"]) || array_key_exists("SHARING_IMAGE"$context) ? $context["SHARING_IMAGE"] : (function () { throw new RuntimeError('Variable "SHARING_IMAGE" does not exist.'97$this->source); })()), "html"nulltrue);
  281.         echo "\" />
  282.     <meta property=\"og:site_name\" content=\"";
  283.         // line 98
  284.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name"), "html"nulltrue);
  285.         echo "\" />
  286.     <meta property=\"fb:app_id\" content=\"";
  287.         // line 99
  288.         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.'99$this->source); })()), "html"nulltrue);
  289.         echo "\"/>
  290. ";
  291.         
  292.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  293.         
  294.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  295.     }
  296.     // line 102
  297.     public function block_headerTop($context, array $blocks = [])
  298.     {
  299.         $macros $this->macros;
  300.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  301.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerTop"));
  302.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  303.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerTop"));
  304.         
  305.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  306.         
  307.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  308.     }
  309.     // line 105
  310.     public function block_body($context, array $blocks = [])
  311.     {
  312.         $macros $this->macros;
  313.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  314.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  315.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  316.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  317.         // line 106
  318.         echo "    ";
  319.         $context["sharingEvent"] = "compounds-guide";
  320.         // line 107
  321.         echo "    <div class=\"filter-fixed-height\">
  322.         <div class=\"stick-filter-box\">
  323.             <div class=\"compoundSearchContainer filterSearchContainer visible-sm visible-xs\">
  324.                 <div class=\"sectionContainer\">
  325.                     <button class=\"btnTop\" onclick=\"openCompoundsFilter('searchFormContainer')\" alt=\"searchFilters\">
  326.                         <div class=\"bs-custom-caret\">
  327.                             <span class=\"caret\"></span>
  328.                         </div>
  329.                         ";
  330.         // line 115
  331.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.more_filter"), "html"nulltrue);
  332.         echo "
  333.                     </button>
  334.                     <div class=\"btnTop sortContainer\">
  335.                         <div class=\"bs-custom-caret\">
  336.                             <span class=\"caret\"></span>
  337.                         </div>
  338.                         <div class=\"d-flex justify-content-center w-100\">
  339.                             <div class=\"sortSelect\">
  340.                                 ";
  341.         // line 123
  342.         $this->loadTemplate("@AqarmapListing/CompoundSearch/sortSelect.html.twig""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"123)->display(twig_array_merge($context, ["location" => (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'123$this->source); })())]));
  343.         // line 124
  344.         echo "                            </div>
  345.                         </div>
  346.                     </div>
  347.                 </div>
  348.             </div>
  349.         </div>
  350.     </div>
  351.     ";
  352.         // line 131
  353.         $this->loadTemplate("adsHeader.html.twig""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"131)->display($context);
  354.         // line 132
  355.         echo "    <section class=\"container sectionsContainer compoundPlannerContainer\">
  356.         <div class=\"row\">
  357.             <div class=\"col-lg-10 col-md-10 col-sm-10 col-xs-12 hidden-xs\">
  358.                 ";
  359.         // line 135
  360.         $context["compound_search_breadcrumb"] = $this->extensions['Knp\Menu\Twig\MenuExtension']->get("compound_search.breadcrumb", [], []);
  361.         // line 136
  362.         echo "                ";
  363.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render((isset($context["compound_search_breadcrumb"]) || array_key_exists("compound_search_breadcrumb"$context) ? $context["compound_search_breadcrumb"] : (function () { throw new RuntimeError('Variable "compound_search_breadcrumb" does not exist.'136$this->source); })()), ["allow_safe_labels" => true"template" => "knp_breadcrumbs.html.twig""currentAsLink" => true"currentClass" => "active"]);
  364.         // line 141
  365.         echo "
  366.             </div>
  367.             <div class=\"sortBy col-lg-2 col-md-2 col-sm-2 col-xs-12 hidden-sm hidden-xs\">
  368.                 <div class=\"sortContainer\">
  369.                     <div class=\"sortSelect\">
  370.                         ";
  371.         // line 146
  372.         $this->loadTemplate("@AqarmapListing/CompoundSearch/sortSelect.html.twig""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"146)->display(twig_array_merge($context, ["location" => (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'146$this->source); })())]));
  373.         // line 147
  374.         echo "                    </div>
  375.                 </div>
  376.             </div>
  377.             <div class=\"page-header d-flex justify-content-between align-items-md-center flex-md-row flex-column col-12\">
  378.                 <h1>
  379.                     ";
  380.         // line 152
  381.         if ((isset($context["locationTitle"]) || array_key_exists("locationTitle"$context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.'152$this->source); })())) {
  382.             // line 153
  383.             echo "                        ";
  384.             if (((isset($context["locationType"]) || array_key_exists("locationType"$context) ? $context["locationType"] : (function () { throw new RuntimeError('Variable "locationType" does not exist.'153$this->source); })()) == twig_constant("Aqarmap\\Bundle\\ListingBundle\\Constant\\CompoundType::RESORT"))) {
  385.                 // line 154
  386.                 echo "                            ";
  387.                 echo twig_escape_filter($this->env, (isset($context["resortsCustomTitleWithLocation"]) || array_key_exists("resortsCustomTitleWithLocation"$context) ? $context["resortsCustomTitleWithLocation"] : (function () { throw new RuntimeError('Variable "resortsCustomTitleWithLocation" does not exist.'154$this->source); })()), "html"nulltrue);
  388.                 echo "
  389.                         ";
  390.             } else {
  391.                 // line 156
  392.                 echo "                            ";
  393.                 echo twig_escape_filter($this->env, (isset($context["projectsCustomTitleWithLocation"]) || array_key_exists("projectsCustomTitleWithLocation"$context) ? $context["projectsCustomTitleWithLocation"] : (function () { throw new RuntimeError('Variable "projectsCustomTitleWithLocation" does not exist.'156$this->source); })()), "html"nulltrue);
  394.                 echo "
  395.                         ";
  396.             }
  397.             // line 158
  398.             echo "                    ";
  399.         } else {
  400.             // line 159
  401.             echo "                        ";
  402.             echo twig_escape_filter($this->env, (isset($context["projectsTitleWithoutLocation"]) || array_key_exists("projectsTitleWithoutLocation"$context) ? $context["projectsTitleWithoutLocation"] : (function () { throw new RuntimeError('Variable "projectsTitleWithoutLocation" does not exist.'159$this->source); })()), "html"nulltrue);
  403.             echo "
  404.                     ";
  405.         }
  406.         // line 161
  407.         echo "                </h1>
  408.                 ";
  409.         // line 162
  410.         if ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.compound.advisor")) {
  411.             // line 163
  412.             echo "                    <a href=\"";
  413.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("compound_adviser");
  414.             echo "\" class=\"compound-searching-links__btn font-weight-bold mt-md-0 mt-3\" alt=\"compounds\">";
  415.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.compounds_adviser.sub_title"), "html"nulltrue);
  416.             echo "</a>
  417.                 ";
  418.         }
  419.         // line 165
  420.         echo "            </div>
  421.             <div class=\"col-12 hidden-page-header\">
  422.                 ";
  423.         // line 168
  424.         $this->loadTemplate("@AqarmapListing/Section/compoundsSubLinks.html.twig""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"168)->display($context);
  425.         // line 169
  426.         echo "            </div>
  427.             <div class=\"col-lg-3 col-md-3 col-sm-12 col-xs-12\">
  428.                 ";
  429.         // line 171
  430.         $this->loadTemplate("@AqarmapListingBundle/CompoundSearch/compoundSearchForm.html.twig""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"171)->display($context);
  431.         // line 172
  432.         echo "                ";
  433.         if ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.sharing.page")) {
  434.             // line 173
  435.             echo "                    <div class=\"side-sub-links hidden-xs hidden-sm\">
  436.                         <div class=\"listing-share-box\">
  437.                             <label class=\"share-header-mob\">
  438.                                 ";
  439.             // line 176
  440.             echo twig_escape_filter($this->env, (((isset($context["isEgyptSite"]) || array_key_exists("isEgyptSite"$context) ? $context["isEgyptSite"] : (function () { throw new RuntimeError('Variable "isEgyptSite" does not exist.'176$this->source); })())) ? ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("labels.compound.share_title")) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("labels.compound.ksa_share_title"))), "html"nulltrue);
  441.             echo "
  442.                             </label>
  443.                             ";
  444.             // line 178
  445.             $this->loadTemplate("@AqarmapListingBundle/Listing/elementShareContent.html.twig""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"178)->display(twig_array_merge($context, ["url" => twig_get_attribute($this->env$this->sourcetwig_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.'178$this->source); })()), "request", [], "any"falsefalsefalse178), "uri", [], "any"falsefalsefalse178)]));
  446.             // line 179
  447.             echo "                        </div>
  448.                     </div>
  449.                 ";
  450.         }
  451.         // line 182
  452.         echo "            </div>
  453.             ";
  454.         // line 184
  455.         echo "            <div class=\"listingCardContainer p-0 col-lg-9 col-md-9 col-sm-12 col-xs-12\">
  456.                     ";
  457.         // line 185
  458.         $context["neighborhoodLocation"] = null;
  459.         // line 186
  460.         echo "                    ";
  461.         if ((isset($context["firstRootLocation"]) || array_key_exists("firstRootLocation"$context) ? $context["firstRootLocation"] : (function () { throw new RuntimeError('Variable "firstRootLocation" does not exist.'186$this->source); })())) {
  462.             // line 187
  463.             echo "                        ";
  464.             $context["neighborhoodLocation"] = (isset($context["firstRootLocation"]) || array_key_exists("firstRootLocation"$context) ? $context["firstRootLocation"] : (function () { throw new RuntimeError('Variable "firstRootLocation" does not exist.'187$this->source); })());
  465.             // line 188
  466.             echo "                    ";
  467.         } elseif (((isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'188$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'188$this->source); })()), "location", [], "any"falsefalsefalse188))) {
  468.             // line 189
  469.             echo "                        ";
  470.             $context["neighborhoodLocation"] = twig_get_attribute($this->env$this->source, (isset($context["location"]) || array_key_exists("location"$context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.'189$this->source); })()), "location", [], "any"falsefalsefalse189);
  471.             // line 190
  472.             echo "                    ";
  473.         }
  474.         // line 191
  475.         echo "                ";
  476.         $this->loadTemplate("@AqarmapListingBundle/CompoundSearch/compoundResultsContainer.html.twig""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"191)->display($context);
  477.         // line 192
  478.         echo "
  479.                 ";
  480.         // line 193
  481.         if ((isset($context["isKSASite"]) || array_key_exists("isKSASite"$context) ? $context["isKSASite"] : (function () { throw new RuntimeError('Variable "isKSASite" does not exist.'193$this->source); })())) {
  482.             // line 194
  483.             echo "                    ";
  484.             $context["joinNowPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact_us_page");
  485.             // line 195
  486.             echo "                ";
  487.         } else {
  488.             // line 196
  489.             echo "                    ";
  490.             $context["joinNowPath"] = (((twig_get_attribute($this->env$this->sourcetwig_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.'196$this->source); })()), "request", [], "any"falsefalsefalse196), "locale", [], "any"falsefalsefalse196) == (isset($context["locale"]) || array_key_exists("locale"$context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.'196$this->source); })()))) ? ((isset($context["joinUsARURL"]) || array_key_exists("joinUsARURL"$context) ? $context["joinUsARURL"] : (function () { throw new RuntimeError('Variable "joinUsARURL" does not exist.'196$this->source); })())) : ((isset($context["joinUsENURL"]) || array_key_exists("joinUsENURL"$context) ? $context["joinUsENURL"] : (function () { throw new RuntimeError('Variable "joinUsENURL" does not exist.'196$this->source); })())));
  491.             // line 197
  492.             echo "                ";
  493.         }
  494.         // line 198
  495.         echo "                <div class=\"addCompoundContainer col-lg-12 col-md-12 col-sm-12 col-xs-12\">
  496.                     <div class=\"container-fluid\">
  497.                         <div class=\"row\">
  498.                             <div class=\"col-xs-12\">
  499.                                 <div class=\"header\">
  500.                                     <div class=\"questionContainer\">
  501.                                         <h2 class=\"custom-header white\">
  502.                                             <a  href=\"";
  503.         // line 205
  504.         echo twig_escape_filter($this->env, (isset($context["joinNowPath"]) || array_key_exists("joinNowPath"$context) ? $context["joinNowPath"] : (function () { throw new RuntimeError('Variable "joinNowPath" does not exist.'205$this->source); })()), "html"nulltrue);
  505.         echo "\" rel=\"nofollow\" alt=\"Join\">";
  506.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compound_planner.compound_join"), "html"nulltrue);
  507.         echo "</a>
  508.                                         </h2>
  509.                                         <p class=\"responsive_style\">
  510.                                             ";
  511.         // line 208
  512.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compound_planner.compound_git_more"), "html"nulltrue);
  513.         echo " </p>
  514.                                     </div>
  515.                                     <div class=\"ask-question-btn-container\">
  516.                                         <a class=\"btn btn-block btn-warning\" href=\"";
  517.         // line 212
  518.         echo twig_escape_filter($this->env, (isset($context["joinNowPath"]) || array_key_exists("joinNowPath"$context) ? $context["joinNowPath"] : (function () { throw new RuntimeError('Variable "joinNowPath" does not exist.'212$this->source); })()), "html"nulltrue);
  519.         echo "\" rel=\"nofollow\" alt=\"joinNow\">";
  520.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compound_planner.join_now"), "html"nulltrue);
  521.         echo "</a>
  522.                                     </div>
  523.                                 </div>
  524.                             </div>
  525.                         </div>
  526.                     </div>
  527.                 </div>
  528.                 ";
  529.         // line 219
  530.         if ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.sharing.page")) {
  531.             // line 220
  532.             echo "                    <a class=\"listing-share-btn-container fixedBottom borderLight\" data-toggle=\"modal\" data-target=\"#listingShareModal\">
  533.                         <label>";
  534.             // line 221
  535.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compounds_title"), "html"nulltrue);
  536.             echo "</label>
  537.                         <div class=\"btn btn-default btn-share\">
  538.                             <i class=\"fa fa-share-alt\"></i>
  539.                             <label class=\"hidden-lg hidden-xl\">";
  540.             // line 224
  541.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.share"), "html"nulltrue);
  542.             echo "</label>
  543.                         </div>
  544.                     </a>
  545.                 ";
  546.         }
  547.         // line 228
  548.         echo "            </div>
  549.             <!-- /Pagination -->
  550.         </div>
  551.     </section><!-- sectionsContainer -->
  552.     <div class=\"container\">
  553.         <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 mobile-breadcrumb visible-sm visible-xs\">
  554.             ";
  555.         // line 236
  556.         $context["COMPOUND_SEARCH_BREADCRUMB"] = $this->extensions['Knp\Menu\Twig\MenuExtension']->get("compound_search.breadcrumb");
  557.         // line 237
  558.         echo "            ";
  559.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render(        // line 238
  560. (isset($context["COMPOUND_SEARCH_BREADCRUMB"]) || array_key_exists("COMPOUND_SEARCH_BREADCRUMB"$context) ? $context["COMPOUND_SEARCH_BREADCRUMB"] : (function () { throw new RuntimeError('Variable "COMPOUND_SEARCH_BREADCRUMB" does not exist.'238$this->source); })()), ["allow_safe_labels" => true"template" => "knp_breadcrumbs.html.twig""currentAsLink" => true"currentClass" => "active"]);
  561.         // line 244
  562.         echo "
  563.         </div>
  564.     </div>
  565.     <div class=\"container\">
  566.         ";
  567.         // line 249
  568.         if (($this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.seo.compound.locations.sublinks") && (isset($context["neighborhoodLocation"]) || array_key_exists("neighborhoodLocation"$context) ? $context["neighborhoodLocation"] : (function () { throw new RuntimeError('Variable "neighborhoodLocation" does not exist.'249$this->source); })()))) {
  569.             // line 250
  570.             echo "        <div class=\"discussions\">
  571.             <div class=\"tab-content searchResultsContainer interested-listings subsLinks more-locations-container\">
  572.                 ";
  573.             // line 252
  574.             $this->loadTemplate("@AqarmapMainBundle/Default/locationsSubLinks.html.twig""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"252)->display(twig_array_merge($context, ["location" => (isset($context["neighborhoodLocation"]) || array_key_exists("neighborhoodLocation"$context) ? $context["neighborhoodLocation"] : (function () { throw new RuntimeError('Variable "neighborhoodLocation" does not exist.'252$this->source); })())]));
  575.             // line 253
  576.             echo "            </div>
  577.         </div>
  578.         ";
  579.         }
  580.         // line 256
  581.         echo "    </div>
  582.     ";
  583.         // line 258
  584.         if ((($this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.seo.custom.pragraphs") && (isset($context["customParagraph"]) || array_key_exists("customParagraph"$context) ? $context["customParagraph"] : (function () { throw new RuntimeError('Variable "customParagraph" does not exist.'258$this->source); })())) && (twig_get_attribute($this->env$this->source, (isset($context["listings"]) || array_key_exists("listings"$context) ? $context["listings"] : (function () { throw new RuntimeError('Variable "listings" does not exist.'258$this->source); })()), "currentPageNumber", [], "any"falsefalsefalse258) == 1))) {
  585.             // line 259
  586.             echo "        <br>
  587.         ";
  588.             // line 260
  589.             $this->loadTemplate("@AqarmapListingBundle/Listing/custom_paragraph.html.twig""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"260)->display(twig_array_merge($context, ["customParagraph" => (isset($context["customParagraph"]) || array_key_exists("customParagraph"$context) ? $context["customParagraph"] : (function () { throw new RuntimeError('Variable "customParagraph" does not exist.'260$this->source); })())]));
  590.             // line 261
  591.             echo "    ";
  592.         }
  593.         // line 262
  594.         echo "
  595.     ";
  596.         // line 263
  597.         if ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.sharing.page")) {
  598.             // line 264
  599.             echo "        ";
  600.             $this->loadTemplate("@AqarmapListingBundle/Listing/listingShareModal.html.twig""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"264)->display($context);
  601.             // line 265
  602.             echo "    ";
  603.         }
  604.         // line 266
  605.         echo "    ";
  606.         if ((isset($context["isCtaButtonsEnabled"]) || array_key_exists("isCtaButtonsEnabled"$context) ? $context["isCtaButtonsEnabled"] : (function () { throw new RuntimeError('Variable "isCtaButtonsEnabled" does not exist.'266$this->source); })())) {
  607.             // line 267
  608.             echo "        ";
  609.             echo twig_include($this->env$context"@AqarmapListingBundle/Listing/listingPhoneModal.html.twig");
  610.             echo "
  611.         <div ng-controller=\"listingLeadsWizardController\">
  612.             <div ng-content-loaded callback=\"initFormWizard()\">
  613.                 ";
  614.             // line 270
  615.             echo twig_include($this->env$context"@AqarmapUserBundle/User/listingMultiStepLeadModal.html.twig");
  616.             echo "
  617.             </div>
  618.         </div>
  619.         ";
  620.             // line 273
  621.             echo twig_include($this->env$context"@AqarmapUserBundle/User/RegistrationSurvey.html.twig");
  622.             echo "
  623.     ";
  624.         }
  625.         
  626.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  627.         
  628.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  629.     }
  630.     // line 277
  631.     public function block_stylesheets($context, array $blocks = [])
  632.     {
  633.         $macros $this->macros;
  634.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  635.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  636.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  637.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  638.         // line 278
  639.         echo "    ";
  640.         if ((isset($context["isMobile"]) || array_key_exists("isMobile"$context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.'278$this->source); })())) {
  641.             // line 279
  642.             echo "        ";
  643.             $context["compoundsBuild"] = (("builds/css/compoundsBuild" . (((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.'279$this->source); })()), "environment", [], "any"falsefalsefalse279) == "dev")) ? ("") : (".min"))) . ".css");
  644.             // line 280
  645.             echo "        <link rel=\"preload\" href=\"";
  646.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["compoundsBuild"]) || array_key_exists("compoundsBuild"$context) ? $context["compoundsBuild"] : (function () { throw new RuntimeError('Variable "compoundsBuild" does not exist.'280$this->source); })())), "html"nulltrue);
  647.             echo "\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\">
  648.         <noscript><link rel=\"stylesheet\" href=\"";
  649.             // line 281
  650.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["compoundsBuild"]) || array_key_exists("compoundsBuild"$context) ? $context["compoundsBuild"] : (function () { throw new RuntimeError('Variable "compoundsBuild" does not exist.'281$this->source); })())), "html"nulltrue);
  651.             echo "\"></noscript>
  652.     ";
  653.         }
  654.         // line 283
  655.         echo "
  656.     ";
  657.         // line 284
  658.         $this->displayParentBlock("stylesheets"$context$blocks);
  659.         echo "
  660. ";
  661.         
  662.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  663.         
  664.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  665.     }
  666.     // line 287
  667.     public function block_getTranslations($context, array $blocks = [])
  668.     {
  669.         $macros $this->macros;
  670.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  671.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""getTranslations"));
  672.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  673.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""getTranslations"));
  674.         // line 288
  675.         echo "    <script>
  676.         function getAddLocationPlaceHolder() {
  677.             return '";
  678.         // line 290
  679.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compound_planner.add_name_placeholer"), "html"nulltrue);
  680.         echo "';
  681.         }
  682.         function getDefaultPlaceHolder() {
  683.             return '";
  684.         // line 293
  685.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compound_planner.search_for_placeholder"), "html"nulltrue);
  686.         echo "';
  687.         }
  688.     </script>
  689. ";
  690.         
  691.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  692.         
  693.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  694.     }
  695.     // line 297
  696.     public function block_categorizedJavascripts($context, array $blocks = [])
  697.     {
  698.         $macros $this->macros;
  699.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  700.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""categorizedJavascripts"));
  701.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  702.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""categorizedJavascripts"));
  703.         // line 298
  704.         echo "    <script src=\"";
  705.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildCompoundsCritical" . (((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.'298$this->source); })()), "environment", [], "any"falsefalsefalse298) == "dev")) ? ("") : (".min"))) . ".js")), "html"nulltrue);
  706.         echo "\"></script>
  707.     <script defer src=\"";
  708.         // line 299
  709.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildCompoundsVendors" . (((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.'299$this->source); })()), "environment", [], "any"falsefalsefalse299) == "dev")) ? ("") : (".min"))) . ".js")), "html"nulltrue);
  710.         echo "\"></script>
  711.     <script defer src=\"";
  712.         // line 300
  713.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildCompounds" . (((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.'300$this->source); })()), "environment", [], "any"falsefalsefalse300) == "dev")) ? ("") : (".min"))) . ".js")), "html"nulltrue);
  714.         echo "\"></script>
  715.     ";
  716.         // line 301
  717.         if ( !(null === (isset($context["topBar"]) || array_key_exists("topBar"$context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.'301$this->source); })()))) {
  718.             // line 302
  719.             echo "        ";
  720.             echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("countdown");
  721.             echo "
  722.     ";
  723.         }
  724.         
  725.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  726.         
  727.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  728.     }
  729.     // line 305
  730.     public function block_javascripts($context, array $blocks = [])
  731.     {
  732.         $macros $this->macros;
  733.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  734.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  735.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  736.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  737.         // line 306
  738.         echo "    ";
  739.         $this->displayParentBlock("javascripts"$context$blocks);
  740.         echo "
  741.     <script>
  742.         jQuery(document).ready(function(){
  743.             \$('#price_level').addClass('active');
  744.             \$('.showMore').each(function () {
  745.                 var \$this = \$(this);
  746.                 var numberOfULChilds =  getNestedChildrens(this, '.nestedContainer', '.parentUL');
  747.                 var numberOfVisibleItems = getParents(\$this, '.nestedContainer').attr('data-hideStartFrom');
  748.                 if(numberOfULChilds.length >= numberOfVisibleItems){
  749.                     \$this.css('display', 'block');
  750.                 }
  751.             });
  752.         });
  753.     </script>
  754.     <script>
  755.         jQuery(document).ready(function (\$) {
  756.             loadMoreInit('.sectionLoadMore');
  757.         });
  758.     </script>
  759. ";
  760.         
  761.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  762.         
  763.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  764.     }
  765.     // line 327
  766.     public function block_htmlhead($context, array $blocks = [])
  767.     {
  768.         $macros $this->macros;
  769.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  770.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""htmlhead"));
  771.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  772.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""htmlhead"));
  773.         // line 328
  774.         echo "    ";
  775.         if ((twig_get_attribute($this->env$this->sourcetwig_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.'328$this->source); })()), "request", [], "any"falsefalsefalse328), "get", [=> "page"], "method"falsefalsefalse328) && (twig_get_attribute($this->env$this->sourcetwig_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.'328$this->source); })()), "request", [], "any"falsefalsefalse328), "get", [=> "page"], "method"falsefalsefalse328) > 1))) {
  776.             // line 329
  777.             echo "        ";
  778.             $context["canonical_url"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_get_attribute($this->env$this->sourcetwig_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.'329$this->source); })()), "request", [], "any"falsefalsefalse329), "get", [=> "_route"], "method"falsefalsefalse329), twig_array_merge(twig_get_attribute($this->env$this->sourcetwig_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.'329$this->source); })()), "request", [], "any"falsefalsefalse329), "get", [=> "_route_params"], "method"falsefalsefalse329), ["page" => twig_get_attribute($this->env$this->sourcetwig_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.'329$this->source); })()), "request", [], "any"falsefalsefalse329), "get", [=> "page"], "method"falsefalsefalse329)]));
  779.             // line 330
  780.             echo "    ";
  781.         } else {
  782.             // line 331
  783.             echo "        ";
  784.             $context["canonical_url"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_get_attribute($this->env$this->sourcetwig_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.'331$this->source); })()), "request", [], "any"falsefalsefalse331), "get", [=> "_route"], "method"falsefalsefalse331), twig_get_attribute($this->env$this->sourcetwig_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.'331$this->source); })()), "request", [], "any"falsefalsefalse331), "get", [=> "_route_params"], "method"falsefalsefalse331));
  785.             // line 332
  786.             echo "    ";
  787.         }
  788.         // line 333
  789.         echo "    <link rel=\"canonical\" href=\"";
  790.         echo twig_escape_filter($this->env, (isset($context["canonical_url"]) || array_key_exists("canonical_url"$context) ? $context["canonical_url"] : (function () { throw new RuntimeError('Variable "canonical_url" does not exist.'333$this->source); })()), "html"nulltrue);
  791.         echo "\"/>
  792. ";
  793.         
  794.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  795.         
  796.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  797.     }
  798.     public function getTemplateName()
  799.     {
  800.         return "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig";
  801.     }
  802.     public function isTraitable()
  803.     {
  804.         return false;
  805.     }
  806.     public function getDebugInfo()
  807.     {
  808.         return array (  860 => 333,  857 => 332,  854 => 331,  851 => 330,  848 => 329,  845 => 328,  835 => 327,  804 => 306,  794 => 305,  780 => 302,  778 => 301,  774 => 300,  770 => 299,  765 => 298,  755 => 297,  741 => 293,  735 => 290,  731 => 288,  721 => 287,  709 => 284,  706 => 283,  701 => 281,  696 => 280,  693 => 279,  690 => 278,  680 => 277,  667 => 273,  661 => 270,  654 => 267,  651 => 266,  648 => 265,  645 => 264,  643 => 263,  640 => 262,  637 => 261,  635 => 260,  632 => 259,  630 => 258,  626 => 256,  621 => 253,  619 => 252,  615 => 250,  613 => 249,  606 => 244,  604 => 238,  602 => 237,  600 => 236,  590 => 228,  583 => 224,  577 => 221,  574 => 220,  572 => 219,  560 => 212,  553 => 208,  545 => 205,  536 => 198,  533 => 197,  530 => 196,  527 => 195,  524 => 194,  522 => 193,  519 => 192,  516 => 191,  513 => 190,  510 => 189,  507 => 188,  504 => 187,  501 => 186,  499 => 185,  496 => 184,  493 => 182,  488 => 179,  486 => 178,  481 => 176,  476 => 173,  473 => 172,  471 => 171,  467 => 169,  465 => 168,  460 => 165,  452 => 163,  450 => 162,  447 => 161,  441 => 159,  438 => 158,  432 => 156,  426 => 154,  423 => 153,  421 => 152,  414 => 147,  412 => 146,  405 => 141,  402 => 136,  400 => 135,  395 => 132,  393 => 131,  384 => 124,  382 => 123,  371 => 115,  361 => 107,  358 => 106,  348 => 105,  330 => 102,  318 => 99,  314 => 98,  310 => 97,  305 => 96,  298 => 94,  295 => 93,  288 => 91,  281 => 89,  278 => 88,  276 => 87,  271 => 85,  267 => 84,  263 => 82,  257 => 80,  251 => 77,  248 => 76,  245 => 75,  235 => 74,  221 => 71,  219 => 70,  214 => 69,  211 => 68,  201 => 67,  189 => 64,  186 => 63,  176 => 62,  163 => 60,  157 => 58,  154 => 57,  148 => 55,  142 => 53,  139 => 52,  136 => 51,  126 => 50,  115 => 1,  113 => 48,  111 => 47,  109 => 45,  108 => 44,  107 => 43,  103 => 39,  102 => 38,  101 => 37,  98 => 34,  97 => 33,  96 => 32,  94 => 31,  92 => 29,  91 => 28,  90 => 27,  86 => 23,  85 => 22,  84 => 21,  83 => 20,  80 => 17,  79 => 16,  78 => 15,  77 => 14,  75 => 13,  73 => 11,  72 => 10,  71 => 9,  70 => 8,  68 => 7,  66 => 6,  64 => 5,  62 => 4,  60 => 3,  58 => 2,  45 => 1,);
  809.     }
  810.     public function getSourceContext()
  811.     {
  812.         return new Source("{% extends \"base.html.twig\" %}
  813. {% set SHARING_IMAGE = constant('Aqarmap\\\\Bundle\\\\ListingBundle\\\\Constant\\\\SharingConstant::PROJECTS_IMAGE') %}
  814. {% set isCtaButtonsEnabled =  isEnabledFeature('web.compound.card.cta') %}
  815. {% set totalListingsCount = listings.getTotalItemCount() %}
  816. {% set SHOW_PHONE_CONSTANT = constant('Aqarmap\\\\Bundle\\\\ListingBundle\\\\Constant\\\\LeadTypes::SHOW_PHONE') %}
  817. {% set isKSASite = get_setting('general', 'country') == 'SA' %}
  818. {% if location.parent is defined and location.parent %}
  819.     {% set resortsCustomTitleWithLocation = 'layout.resorts_custom_title_with_location_with_parent'|trans({
  820.         '%location%': locationTitle,
  821.         '%parentLocation%': location.parent.title,
  822.         '%projects%': totalListingsCount
  823.     }) %}
  824.     {% if isKSASite %}
  825.         {% set projectsCustomTitleWithLocation = 'layout.projects_ksa_custom_title_with_location_with_parent'|trans({
  826.             '%location%': locationTitle,
  827.             '%parentLocation%': location.parent.title,
  828.             '%projects%': totalListingsCount
  829.         }) %}
  830.     {% else %}
  831.         {% set projectsCustomTitleWithLocation = 'layout.projects_custom_title_with_location_with_parent'|trans({
  832.             '%location%': locationTitle,
  833.             '%parentLocation%': location.parent.title,
  834.             '%projects%': totalListingsCount
  835.         }) %}
  836.     {% endif %}
  837. {% else %}
  838.     {% set resortsCustomTitleWithLocation = 'layout.resorts_custom_title_with_location'|trans({
  839.         '%location%': locationTitle,
  840.         '%projects%': totalListingsCount
  841.     }) %}
  842.     {% if isKSASite %}
  843.         {% set projectsCustomTitleWithLocation = 'layout.projects_ksa_custom_title_with_location'|trans({
  844.             '%location%': locationTitle,
  845.             '%projects%': totalListingsCount
  846.         }) %}
  847.     {% else %}
  848.         {% set projectsCustomTitleWithLocation = 'layout.projects_custom_title_with_location'|trans({
  849.             '%location%': locationTitle,
  850.             '%projects%': totalListingsCount
  851.         }) %}
  852.     {% endif %}
  853. {% endif %}
  854. {% set projectsCustomDescriptionWithLocation = 'layout.projects_custom_description_with_location'|trans({
  855.     '%location%': locationTitle,
  856.     '%projects%': totalListingsCount
  857. }) %}
  858. {% set ogDescription = locationTitle ? projectsCustomDescriptionWithLocation : 'listing.compound_guide.sharing.description'|trans %}
  859. {% set projectsTitleWithoutLocation = isKSASite ? 'layout.ksa_compounds_title' | trans : 'layout.compounds_title_without_location' |trans({'%projects%': totalListingsCount}) %}
  860. {# Page title #}
  861. {% block title %}
  862.     {% if locationTitle %}
  863.         {% if locationType == constant('Aqarmap\\\\Bundle\\\\ListingBundle\\\\Constant\\\\CompoundType::RESORT') %}
  864.             {{ resortsCustomTitleWithLocation }}
  865.         {% else %}
  866.             {{ projectsCustomTitleWithLocation }}
  867.         {% endif %}
  868.     {% else %}
  869.         {{ projectsTitleWithoutLocation }}
  870.     {% endif %}
  871.     {{ parent() }}
  872. {% endblock %}
  873. {% block metatags %}
  874.     {% if isNoIndexMetaTag or not listingsCount %}
  875.         <meta name=\"robots\" content=\"noindex\">
  876.     {% endif %}
  877. {% endblock %}
  878. {% block meta_description %}
  879.     {% if locationTitle %}
  880.         {{ projectsCustomDescriptionWithLocation }}
  881.     {% elseif customParagraph %}
  882.         {{ customParagraph.paragraph|striptags|truncate(160) }}
  883.     {% endif %}
  884. {% endblock %}
  885. {% block categorizedStylesheets %}
  886.     {% if isMobile %}
  887.         <style type=\"text/css\">
  888.             {{ source('@AqarmapListing/style/compoundSearchCritical.css', ignore_missing = true) }}
  889.         </style>
  890.     {% else %}
  891.         <link rel=\"stylesheet\" href=\"{{ asset('builds/css/compoundsBuild'~ (app.environment == 'dev' ? '' : '.min') ~'.css') }}\" />
  892.     {% endif %}
  893.     <meta name=\"twitter:card\" content=\"summary_large_image\" />
  894.     <meta name=\"twitter:site\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
  895.     <meta name=\"twitter:creator\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
  896.     {% if locationTitle %}
  897.         {% if locationType == constant('Aqarmap\\\\Bundle\\\\ListingBundle\\\\Constant\\\\CompoundType::RESORT') %}
  898.             <meta property=\"og:title\" content=\"{{ resortsCustomTitleWithLocation }}{{ 'layout.brand_suffix'|trans }}\"/>
  899.         {% else %}
  900.             <meta property=\"og:title\" content=\"{{ projectsCustomTitleWithLocation }}{{ 'layout.brand_suffix'|trans }}\"/>
  901.         {% endif %}
  902.     {% else %}
  903.         <meta property=\"og:title\" content=\"{{ projectsTitleWithoutLocation }}{{ 'layout.brand_suffix'|trans }}\"/>
  904.     {% endif %}
  905.     <meta property=\"og:description\" content=\"{{ ogDescription }}\" />
  906.     <meta property=\"og:image\" content=\"{{ SHARING_IMAGE }}\" />
  907.     <meta property=\"og:site_name\" content=\"{{ 'layout.app_name'|trans }}\" />
  908.     <meta property=\"fb:app_id\" content=\"{{ facebook_app_id }}\"/>
  909. {% endblock %}
  910. {% block headerTop %}
  911. {% endblock %}
  912. {% block body %}
  913.     {% set sharingEvent = \"compounds-guide\" %}
  914.     <div class=\"filter-fixed-height\">
  915.         <div class=\"stick-filter-box\">
  916.             <div class=\"compoundSearchContainer filterSearchContainer visible-sm visible-xs\">
  917.                 <div class=\"sectionContainer\">
  918.                     <button class=\"btnTop\" onclick=\"openCompoundsFilter('searchFormContainer')\" alt=\"searchFilters\">
  919.                         <div class=\"bs-custom-caret\">
  920.                             <span class=\"caret\"></span>
  921.                         </div>
  922.                         {{ 'layout.more_filter'|trans }}
  923.                     </button>
  924.                     <div class=\"btnTop sortContainer\">
  925.                         <div class=\"bs-custom-caret\">
  926.                             <span class=\"caret\"></span>
  927.                         </div>
  928.                         <div class=\"d-flex justify-content-center w-100\">
  929.                             <div class=\"sortSelect\">
  930.                                 {% include \"@AqarmapListing/CompoundSearch/sortSelect.html.twig\" with {'location': location} %}
  931.                             </div>
  932.                         </div>
  933.                     </div>
  934.                 </div>
  935.             </div>
  936.         </div>
  937.     </div>
  938.     {% include \"adsHeader.html.twig\" %}
  939.     <section class=\"container sectionsContainer compoundPlannerContainer\">
  940.         <div class=\"row\">
  941.             <div class=\"col-lg-10 col-md-10 col-sm-10 col-xs-12 hidden-xs\">
  942.                 {% set compound_search_breadcrumb = knp_menu_get( 'compound_search.breadcrumb' , [], {}) %}
  943.                 {{ knp_menu_render(compound_search_breadcrumb, {
  944.                     'allow_safe_labels': true,
  945.                     'template': 'knp_breadcrumbs.html.twig',
  946.                     'currentAsLink': true,
  947.                     'currentClass': 'active'
  948.                 }) }}
  949.             </div>
  950.             <div class=\"sortBy col-lg-2 col-md-2 col-sm-2 col-xs-12 hidden-sm hidden-xs\">
  951.                 <div class=\"sortContainer\">
  952.                     <div class=\"sortSelect\">
  953.                         {% include \"@AqarmapListing/CompoundSearch/sortSelect.html.twig\" with {'location': location} %}
  954.                     </div>
  955.                 </div>
  956.             </div>
  957.             <div class=\"page-header d-flex justify-content-between align-items-md-center flex-md-row flex-column col-12\">
  958.                 <h1>
  959.                     {% if locationTitle %}
  960.                         {% if locationType == constant('Aqarmap\\\\Bundle\\\\ListingBundle\\\\Constant\\\\CompoundType::RESORT') %}
  961.                             {{ resortsCustomTitleWithLocation }}
  962.                         {% else %}
  963.                             {{ projectsCustomTitleWithLocation }}
  964.                         {% endif %}
  965.                     {% else %}
  966.                         {{ projectsTitleWithoutLocation }}
  967.                     {% endif %}
  968.                 </h1>
  969.                 {% if isEnabledFeature('web.compound.advisor') %}
  970.                     <a href=\"{{ path('compound_adviser') }}\" class=\"compound-searching-links__btn font-weight-bold mt-md-0 mt-3\" alt=\"compounds\">{{ 'listing.compounds_adviser.sub_title'|trans }}</a>
  971.                 {% endif %}
  972.             </div>
  973.             <div class=\"col-12 hidden-page-header\">
  974.                 {% include \"@AqarmapListing/Section/compoundsSubLinks.html.twig\" %}
  975.             </div>
  976.             <div class=\"col-lg-3 col-md-3 col-sm-12 col-xs-12\">
  977.                 {% include '@AqarmapListingBundle/CompoundSearch/compoundSearchForm.html.twig' %}
  978.                 {% if isEnabledFeature('web.sharing.page') %}
  979.                     <div class=\"side-sub-links hidden-xs hidden-sm\">
  980.                         <div class=\"listing-share-box\">
  981.                             <label class=\"share-header-mob\">
  982.                                 {{ isEgyptSite ? 'labels.compound.share_title' | trans : 'labels.compound.ksa_share_title' | trans }}
  983.                             </label>
  984.                             {% include '@AqarmapListingBundle/Listing/elementShareContent.html.twig' with {'url': app.request.uri} %}
  985.                         </div>
  986.                     </div>
  987.                 {% endif %}
  988.             </div>
  989.             {#Listings Cards#}
  990.             <div class=\"listingCardContainer p-0 col-lg-9 col-md-9 col-sm-12 col-xs-12\">
  991.                     {% set neighborhoodLocation = null %}
  992.                     {% if firstRootLocation %}
  993.                         {% set neighborhoodLocation = firstRootLocation %}
  994.                     {% elseif location and location.location %}
  995.                         {% set neighborhoodLocation = location.location %}
  996.                     {% endif %}
  997.                 {% include '@AqarmapListingBundle/CompoundSearch/compoundResultsContainer.html.twig' %}
  998.                 {% if isKSASite %}
  999.                     {% set joinNowPath = path('contact_us_page') %}
  1000.                 {% else %}
  1001.                     {% set joinNowPath = app.request.locale == locale ? joinUsARURL : joinUsENURL %}
  1002.                 {% endif %}
  1003.                 <div class=\"addCompoundContainer col-lg-12 col-md-12 col-sm-12 col-xs-12\">
  1004.                     <div class=\"container-fluid\">
  1005.                         <div class=\"row\">
  1006.                             <div class=\"col-xs-12\">
  1007.                                 <div class=\"header\">
  1008.                                     <div class=\"questionContainer\">
  1009.                                         <h2 class=\"custom-header white\">
  1010.                                             <a  href=\"{{ joinNowPath }}\" rel=\"nofollow\" alt=\"Join\">{{ 'layout.compound_planner.compound_join'|trans }}</a>
  1011.                                         </h2>
  1012.                                         <p class=\"responsive_style\">
  1013.                                             {{ 'layout.compound_planner.compound_git_more'|trans }} </p>
  1014.                                     </div>
  1015.                                     <div class=\"ask-question-btn-container\">
  1016.                                         <a class=\"btn btn-block btn-warning\" href=\"{{ joinNowPath }}\" rel=\"nofollow\" alt=\"joinNow\">{{ 'layout.compound_planner.join_now'|trans }}</a>
  1017.                                     </div>
  1018.                                 </div>
  1019.                             </div>
  1020.                         </div>
  1021.                     </div>
  1022.                 </div>
  1023.                 {% if isEnabledFeature('web.sharing.page') %}
  1024.                     <a class=\"listing-share-btn-container fixedBottom borderLight\" data-toggle=\"modal\" data-target=\"#listingShareModal\">
  1025.                         <label>{{ 'layout.compounds_title'|trans }}</label>
  1026.                         <div class=\"btn btn-default btn-share\">
  1027.                             <i class=\"fa fa-share-alt\"></i>
  1028.                             <label class=\"hidden-lg hidden-xl\">{{ 'layout.share'|trans }}</label>
  1029.                         </div>
  1030.                     </a>
  1031.                 {% endif %}
  1032.             </div>
  1033.             <!-- /Pagination -->
  1034.         </div>
  1035.     </section><!-- sectionsContainer -->
  1036.     <div class=\"container\">
  1037.         <div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 mobile-breadcrumb visible-sm visible-xs\">
  1038.             {% set COMPOUND_SEARCH_BREADCRUMB = knp_menu_get('compound_search.breadcrumb') %}
  1039.             {{
  1040.                 knp_menu_render(COMPOUND_SEARCH_BREADCRUMB , {
  1041.                     'allow_safe_labels': true,
  1042.                     'template': 'knp_breadcrumbs.html.twig',
  1043.                     'currentAsLink': true,
  1044.                     'currentClass': 'active',
  1045.                 })
  1046.             }}
  1047.         </div>
  1048.     </div>
  1049.     <div class=\"container\">
  1050.         {% if isEnabledFeature('web.seo.compound.locations.sublinks') and neighborhoodLocation %}
  1051.         <div class=\"discussions\">
  1052.             <div class=\"tab-content searchResultsContainer interested-listings subsLinks more-locations-container\">
  1053.                 {% include \"@AqarmapMainBundle/Default/locationsSubLinks.html.twig\" with {'location': neighborhoodLocation} %}
  1054.             </div>
  1055.         </div>
  1056.         {% endif %}
  1057.     </div>
  1058.     {% if isEnabledFeature('web.seo.custom.pragraphs') and customParagraph and listings.currentPageNumber == 1 %}
  1059.         <br>
  1060.         {% include '@AqarmapListingBundle/Listing/custom_paragraph.html.twig' with {'customParagraph': customParagraph} %}
  1061.     {% endif %}
  1062.     {% if isEnabledFeature('web.sharing.page') %}
  1063.         {% include '@AqarmapListingBundle/Listing/listingShareModal.html.twig' %}
  1064.     {% endif %}
  1065.     {% if isCtaButtonsEnabled %}
  1066.         {{ include('@AqarmapListingBundle/Listing/listingPhoneModal.html.twig') }}
  1067.         <div ng-controller=\"listingLeadsWizardController\">
  1068.             <div ng-content-loaded callback=\"initFormWizard()\">
  1069.                 {{ include('@AqarmapUserBundle/User/listingMultiStepLeadModal.html.twig') }}
  1070.             </div>
  1071.         </div>
  1072.         {{ include('@AqarmapUserBundle/User/RegistrationSurvey.html.twig') }}
  1073.     {% endif %}
  1074. {% endblock %}
  1075. {% block stylesheets %}
  1076.     {% if isMobile %}
  1077.         {% set compoundsBuild = 'builds/css/compoundsBuild' ~ (app.environment == 'dev' ? '' : '.min') ~'.css' %}
  1078.         <link rel=\"preload\" href=\"{{ asset(compoundsBuild) }}\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\">
  1079.         <noscript><link rel=\"stylesheet\" href=\"{{ asset(compoundsBuild) }}\"></noscript>
  1080.     {% endif %}
  1081.     {{ parent() }}
  1082. {% endblock %}
  1083. {% block getTranslations %}
  1084.     <script>
  1085.         function getAddLocationPlaceHolder() {
  1086.             return '{{ 'layout.compound_planner.add_name_placeholer'|trans }}';
  1087.         }
  1088.         function getDefaultPlaceHolder() {
  1089.             return '{{ 'layout.compound_planner.search_for_placeholder'|trans }}';
  1090.         }
  1091.     </script>
  1092. {% endblock %}
  1093. {% block categorizedJavascripts %}
  1094.     <script src=\"{{ asset('builds/js/buildCompoundsCritical'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
  1095.     <script defer src=\"{{ asset('builds/js/buildCompoundsVendors'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
  1096.     <script defer src=\"{{ asset('builds/js/buildCompounds'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
  1097.     {% if topBar is not null %}
  1098.         {{ encore_entry_script_tags('countdown') }}
  1099.     {% endif %}
  1100. {% endblock %}
  1101. {% block javascripts %}
  1102.     {{ parent() }}
  1103.     <script>
  1104.         jQuery(document).ready(function(){
  1105.             \$('#price_level').addClass('active');
  1106.             \$('.showMore').each(function () {
  1107.                 var \$this = \$(this);
  1108.                 var numberOfULChilds =  getNestedChildrens(this, '.nestedContainer', '.parentUL');
  1109.                 var numberOfVisibleItems = getParents(\$this, '.nestedContainer').attr('data-hideStartFrom');
  1110.                 if(numberOfULChilds.length >= numberOfVisibleItems){
  1111.                     \$this.css('display', 'block');
  1112.                 }
  1113.             });
  1114.         });
  1115.     </script>
  1116.     <script>
  1117.         jQuery(document).ready(function (\$) {
  1118.             loadMoreInit('.sectionLoadMore');
  1119.         });
  1120.     </script>
  1121. {% endblock %}
  1122. {% block htmlhead %}
  1123.     {% if app.request.get('page') and app.request.get('page') > 1 %}
  1124.         {% set canonical_url = url(app.request.get('_route'), app.request.get('_route_params')|merge({'page': app.request.get('page')})) %}
  1125.     {% else %}
  1126.         {% set canonical_url = url(app.request.get('_route'), app.request.get('_route_params')) %}
  1127.     {% endif %}
  1128.     <link rel=\"canonical\" href=\"{{ canonical_url }}\"/>
  1129. {% endblock %}
  1130. ""@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig""/srv/moonshot/src/Aqarmap/Bundle/ListingBundle/Resources/views/CompoundSearch/compoundSearchResult.html.twig");
  1131.     }
  1132. }