var/cache/dev/twig/0e/0ecbc61c72099cc1fec3e4bf8d882b653d4ac91c930ea89cf0242d798a5eb5eb.php line 58

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. /* base.html.twig */
  14. class __TwigTemplate_f1cea75dd4c9133149f2dc1724518ae65016cf89e7e93b30c726f15f2305ef9d 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->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'metatags' => [$this'block_metatags'],
  26.             'htmlhead' => [$this'block_htmlhead'],
  27.             'categorizedStylesheets' => [$this'block_categorizedStylesheets'],
  28.             'favouriteHead' => [$this'block_favouriteHead'],
  29.             'headScripts' => [$this'block_headScripts'],
  30.             'env' => [$this'block_env'],
  31.             'googleDoubleclick' => [$this'block_googleDoubleclick'],
  32.             'searchFilters' => [$this'block_searchFilters'],
  33.             'firebase' => [$this'block_firebase'],
  34.             'vueBody' => [$this'block_vueBody'],
  35.             'navigation' => [$this'block_navigation'],
  36.             'headerTop' => [$this'block_headerTop'],
  37.             'body' => [$this'block_body'],
  38.             'modals' => [$this'block_modals'],
  39.             'footer' => [$this'block_footer'],
  40.             'stylesheets' => [$this'block_stylesheets'],
  41.             'getTranslations' => [$this'block_getTranslations'],
  42.             'categorizedJavascripts' => [$this'block_categorizedJavascripts'],
  43.             'javascripts' => [$this'block_javascripts'],
  44.             'fos' => [$this'block_fos'],
  45.             'extraScripts' => [$this'block_extraScripts'],
  46.             'wootricScript' => [$this'block_wootricScript'],
  47.             'facebookLogin' => [$this'block_facebookLogin'],
  48.             'googleLogin' => [$this'block_googleLogin'],
  49.         ];
  50.     }
  51.     protected function doDisplay(array $context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  58.         // line 1
  59.         $context["FLUID_CONTAINER"] = false;
  60.         // line 2
  61.         $context["isEgyptSite"] = ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general""country") == "EG");
  62.         // line 3
  63.         $context["isKSASite"] = ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general""country") == "SA");
  64.         // line 4
  65.         $context["isEnabledKSAnewHome"] = ((isset($context["isKSASite"]) || array_key_exists("isKSASite"$context) ? $context["isKSASite"] : (function () { throw new RuntimeError('Variable "isKSASite" does not exist.'4$this->source); })()) && $this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.ksa.newhome"));
  66.         // line 5
  67.         $context["isProduction"] = (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.'5$this->source); })()), "environment", [], "any"falsefalsefalse5) == "prod");
  68.         // line 6
  69.         $context["isGoogleTagManagerDisabledTest"] = $this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.disable.tagmanager");
  70.         // line 7
  71.         echo "
  72. <!DOCTYPE html>
  73. <html lang=\"";
  74.         // line 9
  75.         echo twig_escape_filter($this->envtwig_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.'9$this->source); })()), "request", [], "any"falsefalsefalse9), "locale", [], "any"falsefalsefalse9), "html"nulltrue);
  76.         echo "\" dir=\"";
  77.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.direction_code"), "html"nulltrue);
  78.         echo "\" ng-app=\"moonshot\">
  79. ";
  80.         // line 11
  81.         $context["isSearchResultsPage"] = twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_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.'11$this->source); })()), "request", [], "any"falsefalsefalse11), "attributes", [], "any"falsefalsefalse11), "get", [=> "_route"], "method"falsefalsefalse11), [=> "search"=> "property_type_search"]);
  82.         // line 12
  83.         $context["isComoundResultsPage"] = twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_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.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "attributes", [], "any"falsefalsefalse12), "get", [=> "_route"], "method"falsefalsefalse12), [=> "compound_search"=> "compound_adviser_search_results"]);
  84.         // line 13
  85.         $context["isListingDetailsPage"] = twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_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.'13$this->source); })()), "request", [], "any"falsefalsefalse13), "attributes", [], "any"falsefalsefalse13), "get", [=> "_route"], "method"falsefalsefalse13), [=> "listing_slug"]);
  86.         // line 14
  87.         $macros["seoMacro"] = $this->macros["seoMacro"] = $this->loadTemplate("@AqarmapListing/Default/macros/seoVersion.twig""base.html.twig"14)->unwrap();
  88.         // line 15
  89.         $context["isSeoVersion"] = ((twig_call_macro($macros["seoMacro"], "macro_seoVersion", [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.'15$this->source); })()), "request", [], "any"falsefalsefalse15), "requesturi", [], "any"falsefalsefalse15)], 15$context$this->getSourceContext()) && (isset($context["isSearchResultsPage"]) || array_key_exists("isSearchResultsPage"$context) ? $context["isSearchResultsPage"] : (function () { throw new RuntimeError('Variable "isSearchResultsPage" does not exist.'15$this->source); })())) &&  !twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'15$this->source); })()), "user", [], "any"falsefalsefalse15));
  90.         // line 16
  91.         $context["isLongTailPage"] = 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.'16$this->source); })()), "request", [], "any"falsefalsefalse16), "get", [=> "lt"], "method"falsefalsefalse16);
  92.         // line 17
  93.         $context["isUXVersion"] =  !(isset($context["isSeoVersion"]) || array_key_exists("isSeoVersion"$context) ? $context["isSeoVersion"] : (function () { throw new RuntimeError('Variable "isSeoVersion" does not exist.'17$this->source); })());
  94.         // line 18
  95.         $context["allowTagManagerDelay"] = (((isset($context["isSeoVersion"]) || array_key_exists("isSeoVersion"$context) ? $context["isSeoVersion"] : (function () { throw new RuntimeError('Variable "isSeoVersion" does not exist.'18$this->source); })()) || (isset($context["isComoundResultsPage"]) || array_key_exists("isComoundResultsPage"$context) ? $context["isComoundResultsPage"] : (function () { throw new RuntimeError('Variable "isComoundResultsPage" does not exist.'18$this->source); })())) || (isset($context["isListingDetailsPage"]) || array_key_exists("isListingDetailsPage"$context) ? $context["isListingDetailsPage"] : (function () { throw new RuntimeError('Variable "isListingDetailsPage" does not exist.'18$this->source); })()));
  96.         // line 19
  97.         $context["hiddenParametersLanguageRoutes"] = [=> "search"=> "property_type_search"=> "listing_slug"];
  98.         // line 20
  99.         $context["removeParametersLanguageSwitcher"] = (twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_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.'20$this->source); })()), "request", [], "any"falsefalsefalse20), "attributes", [], "any"falsefalsefalse20), "get", [=> "_route"], "method"falsefalsefalse20), (isset($context["hiddenParametersLanguageRoutes"]) || array_key_exists("hiddenParametersLanguageRoutes"$context) ? $context["hiddenParametersLanguageRoutes"] : (function () { throw new RuntimeError('Variable "hiddenParametersLanguageRoutes" does not exist.'20$this->source); })())) &&  !(isset($context["isLongTailPage"]) || array_key_exists("isLongTailPage"$context) ? $context["isLongTailPage"] : (function () { throw new RuntimeError('Variable "isLongTailPage" does not exist.'20$this->source); })()));
  100.         // line 21
  101.         $context["adminBodyClass"] = (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) ? ("is-admin") : (""));
  102.         // line 22
  103.         $context["searchResultsBodyClass"] = (((isset($context["isSearchResultsPage"]) || array_key_exists("isSearchResultsPage"$context) ? $context["isSearchResultsPage"] : (function () { throw new RuntimeError('Variable "isSearchResultsPage" does not exist.'22$this->source); })())) ? ("initial-font") : (""));
  104.         // line 23
  105.         $context["aqarmap_exhibits_guide_url"] = ((((isset($context["aqarmap_advice_url"]) || array_key_exists("aqarmap_advice_url"$context) ? $context["aqarmap_advice_url"] : (function () { throw new RuntimeError('Variable "aqarmap_advice_url" does not exist.'23$this->source); })()) . "/") . 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.'23$this->source); })()), "request", [], "any"falsefalsefalse23), "locale", [], "any"falsefalsefalse23)) . "/events");
  106.         // line 24
  107.         $context["isUserHasActiveSubscription"] = (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.'24$this->source); })()), "user", [], "any"falsefalsefalse24) && (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.'24$this->source); })()), "user", [], "any"falsefalsefalse24), "getAbsoluteSubscriptionExpiryDays", [], "any"falsefalsefalse24) > 0));
  108.         // line 25
  109.         $context["appLocale"] = 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.'25$this->source); })()), "request", [], "any"falsefalsefalse25), "locale", [], "any"falsefalsefalse25);
  110.         // line 26
  111.         $context["isLocalArabic"] = ((isset($context["appLocale"]) || array_key_exists("appLocale"$context) ? $context["appLocale"] : (function () { throw new RuntimeError('Variable "appLocale" does not exist.'26$this->source); })()) == "ar");
  112.         // line 27
  113.         echo "<head>
  114.     <meta charset=\"";
  115.         // line 28
  116.         echo twig_escape_filter($this->env$this->env->getCharset(), "html"nulltrue);
  117.         echo "\" />
  118.     <title>";
  119.         // line 30
  120.         $this->displayBlock('title'$context$blocks);
  121.         echo "</title>
  122.     ";
  123.         // line 32
  124.         $context["hiddenMetaDescriptionRoutes"] = [=> "compound_search"];
  125.         // line 33
  126.         echo "    ";
  127.         if ((!twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_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.'33$this->source); })()), "request", [], "any"falsefalsefalse33), "attributes", [], "any"falsefalsefalse33), "get", [=> "_route"], "method"falsefalsefalse33), (isset($context["hiddenMetaDescriptionRoutes"]) || array_key_exists("hiddenMetaDescriptionRoutes"$context) ? $context["hiddenMetaDescriptionRoutes"] : (function () { throw new RuntimeError('Variable "hiddenMetaDescriptionRoutes" does not exist.'33$this->source); })())) || ((twig_get_attribute($this->env$this->sourcetwig_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.'33$this->source); })()), "request", [], "any"falsefalsefalse33), "attributes", [], "any"falsefalsefalse33), "get", [=> "_route"], "method"falsefalsefalse33) == "listing_slug") && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["listing"]) || array_key_exists("listing"$context) ? $context["listing"] : (function () { throw new RuntimeError('Variable "listing" does not exist.'33$this->source); })()), "section", [], "any"falsefalsefalse33), "searchable", [], "any"falsefalsefalse33)))) {
  128.             // line 34
  129.             echo "        <meta name=\"description\" content=\"";
  130.             ob_start();
  131.             if (            $this->hasBlock("meta_description"$context$blocks)) {
  132.                 // line 35
  133.                 echo "                ";
  134.                 echo twig_escape_filter($this->envtwig_trim_filter(twig_replace_filter(twig_replace_filter(twig_truncate_filter($this->envtwig_striptags(_twig_default_filter(                $this->renderBlock("meta_description"$context$blocks), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.homepage_description"))), 250truenull), ["
  135. => " ""
  136. => " ""\t" => " ""
  137. => " ""  " => ".."]), ["  " => ". "]), "."), "html"nulltrue);
  138.                 echo "
  139.             ";
  140.             } else {
  141.                 // line 37
  142.                 echo "                ";
  143.                 echo twig_escape_filter($this->envtwig_trim_filter(twig_replace_filter(twig_replace_filter(twig_truncate_filter($this->envtwig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.homepage_description")), 250truenull), ["
  144. => " ""
  145. => " ""\t" => " ""
  146. => " ""  " => ".."]), ["  " => ". "]), "."), "html"nulltrue);
  147.                 echo "
  148.             ";
  149.             }
  150.             // line 39
  151.             echo "        ";
  152.             echo trim(preg_replace('/>\s+</''><'ob_get_clean()));
  153.             echo "\">
  154.     ";
  155.         }
  156.         // line 41
  157.         echo "
  158.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\" >
  159.     <meta http-equiv=\"Accept-CH\" content=\"DPR, Width, Viewport-Width\">
  160.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  161.     <meta name=\"theme-color\" content=\"#007dbe\">
  162.     <meta name=\"author\" content=\"";
  163.         // line 46
  164.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name"), "html"nulltrue);
  165.         echo "\">
  166.     <meta name=\"apple-itunes-app\" content=\"app-id=642633889\">
  167.     <meta name=\"google-play-app\" content=\"app-id=com.aqarmap.android\">
  168.     <meta name=\"robots\" content=\"noindex, follow\">
  169.     ";
  170.         // line 50
  171.         if (((isset($context["app_domain"]) || array_key_exists("app_domain"$context) ? $context["app_domain"] : (function () { throw new RuntimeError('Variable "app_domain" does not exist.'50$this->source); })()) != 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.'50$this->source); })()), "request", [], "any"falsefalsefalse50), "getHost", [], "method"falsefalsefalse50))) {
  172.             echo "<meta name=\"robots\" content=\"noindex, nofollow\">";
  173.         }
  174.         // line 51
  175.         echo "
  176.     ";
  177.         // line 52
  178.         $this->displayBlock('metatags'$context$blocks);
  179.         // line 53
  180.         echo "    <link rel=\"preload\" as=\"image\" href=\"";
  181.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/placeholder.svg"), "html"nulltrue);
  182.         echo "\">
  183.     <link rel=\"preload\" as=\"image\" href=\"";
  184.         // line 54
  185.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/logo-" 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.'54$this->source); })()), "request", [], "any"falsefalsefalse54), "locale", [], "any"falsefalsefalse54)) . "-white.svg")), "html"nulltrue);
  186.         echo "\">
  187.     <link rel=\"icon\" type=\"image/x-icon\" href=\"";
  188.         // line 55
  189.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html"nulltrue);
  190.         echo "\" />
  191.     <link rel=\"manifest\"  href=\"";
  192.         // line 56
  193.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("manifest.json"), "html"nulltrue);
  194.         echo "\" />
  195.     ";
  196.         // line 57
  197.         $this->displayBlock('htmlhead'$context$blocks);
  198.         // line 58
  199.         echo "
  200.     ";
  201.         // line 59
  202.         $this->displayBlock('categorizedStylesheets'$context$blocks);
  203.         // line 62
  204.         echo "
  205.     ";
  206.         // line 63
  207.         $this->displayBlock('favouriteHead'$context$blocks);
  208.         // line 65
  209.         echo "
  210.     ";
  211.         // line 66
  212.         $context["topBar"] = $this->extensions['Aqarmap\Bundle\AnnouncementBundle\Services\Twig\AnnouncementExtension']->getActiveAnnouncement(["topBar" => true]);
  213.         // line 67
  214.         echo "    ";
  215.         $this->displayBlock('headScripts'$context$blocks);
  216.         // line 94
  217.         echo "
  218.     ";
  219.         // line 95
  220.         $this->displayBlock('env'$context$blocks);
  221.         // line 98
  222.         echo "</head>
  223. <body class=\"";
  224.         // line 100
  225.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.direction_code"), "html"nulltrue);
  226.         echo " ";
  227.         echo twig_escape_filter($this->env, (isset($context["adminBodyClass"]) || array_key_exists("adminBodyClass"$context) ? $context["adminBodyClass"] : (function () { throw new RuntimeError('Variable "adminBodyClass" does not exist.'100$this->source); })()), "html"nulltrue);
  228.         echo " ";
  229.         echo twig_escape_filter($this->env, (isset($context["searchResultsBodyClass"]) || array_key_exists("searchResultsBodyClass"$context) ? $context["searchResultsBodyClass"] : (function () { throw new RuntimeError('Variable "searchResultsBodyClass" does not exist.'100$this->source); })()), "html"nulltrue);
  230.         echo "\">
  231. ";
  232.         // line 101
  233.         if (((isset($context["isProduction"]) || array_key_exists("isProduction"$context) ? $context["isProduction"] : (function () { throw new RuntimeError('Variable "isProduction" does not exist.'101$this->source); })()) &&  !(isset($context["isGoogleTagManagerDisabledTest"]) || array_key_exists("isGoogleTagManagerDisabledTest"$context) ? $context["isGoogleTagManagerDisabledTest"] : (function () { throw new RuntimeError('Variable "isGoogleTagManagerDisabledTest" does not exist.'101$this->source); })()))) {
  234.             // line 102
  235.             echo "    <!-- Google Tag Manager -->
  236.     <script>
  237.         var tagManagerSettings = '";
  238.             // line 104
  239.             echo twig_escape_filter($this->env$this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general""tag_manager"), "html"nulltrue);
  240.             echo "';
  241.         var allowTagManagerDelay = '";
  242.             // line 105
  243.             echo twig_escape_filter($this->env, (isset($context["allowTagManagerDelay"]) || array_key_exists("allowTagManagerDelay"$context) ? $context["allowTagManagerDelay"] : (function () { throw new RuntimeError('Variable "allowTagManagerDelay" does not exist.'105$this->source); })()), "html"nulltrue);
  244.             echo "'
  245.     </script>
  246.     <noscript><iframe  src=\"//www.googletagmanager.com/ns.html?id=";
  247.             // line 107
  248.             echo twig_escape_filter($this->env$this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general""tag_manager"), "html"nulltrue);
  249.             echo "\"
  250.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\" loading=\"lazy\"></iframe></noscript>
  251.     <script type=\"application/javascript\" src=\"";
  252.             // line 109
  253.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildTagManager" . (((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.'109$this->source); })()), "environment", [], "any"falsefalsefalse109) == "dev")) ? ("") : (".min"))) . ".js")), "html"nulltrue);
  254.             echo "\"></script>
  255.     <!-- End Google Tag Manager -->
  256. ";
  257.         }
  258.         // line 112
  259.         echo "
  260. ";
  261.         // line 113
  262.         $this->displayBlock('googleDoubleclick'$context$blocks);
  263.         // line 175
  264.         echo "
  265. ";
  266.         // line 176
  267.         $this->displayBlock('searchFilters'$context$blocks);
  268.         // line 178
  269.         echo "
  270. ";
  271.         // line 179
  272.         $this->displayBlock('firebase'$context$blocks);
  273.         // line 183
  274.         echo "
  275. ";
  276.         // line 184
  277.         $this->displayBlock('vueBody'$context$blocks);
  278.         // line 236
  279.         if (!twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_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.'236$this->source); })()), "request", [], "any"falsefalsefalse236), "attributes", [], "any"falsefalsefalse236), "get", [=> "_route"], "method"falsefalsefalse236), [=> "compound_adviser_search_results"=> "compound_adviser"=> "search"=> "property_type_search"=> "compound_search"])) {
  280.             // line 237
  281.             echo "    <section class=\"problem\">
  282.         <a class=\"gtm-btn-report problemButton hidden-xs\"
  283.            href=\"";
  284.             // line 239
  285.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("aqarmap_feedback_get");
  286.             echo "\"
  287.            target=\"_blank\" rel=\"nofollow\">
  288.             <span class=\"fa fa-smile\"></span>
  289.             ";
  290.             // line 242
  291.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("problem.problem_help_btn"), "html"nulltrue);
  292.             echo "
  293.         </a>
  294.     </section><!-- problem Section -->
  295. ";
  296.         }
  297.         // line 246
  298.         echo "
  299. ";
  300.         // line 247
  301.         if (!twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_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.'247$this->source); })()), "request", [], "any"falsefalsefalse247), "attributes", [], "any"falsefalsefalse247), "get", [=> "_route"], "method"falsefalsefalse247), [=> "listing_slug"=> "compound_adviser_search_results"=> "compound_adviser"=> "search"=> "property_type_search"=> "compound_search"])) {
  302.             // line 248
  303.             echo "<div class=\"position-fixed mobile-problem-wrapper visible-xs\">
  304.     <section class=\"problem mobile-problem-section\">
  305.         <a class=\"gtm-btn-report mobile-problem-button position-relative\"
  306.         href=\"";
  307.             // line 251
  308.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("aqarmap_feedback_get");
  309.             echo "\"
  310.         target=\"_blank\" rel=\"nofollow\">
  311.             <span class=\"icon fa fa-question\"></span>
  312.         </a>
  313.     </section><!-- problem Section Mobile-->
  314. </div>
  315. ";
  316.         }
  317.         // line 258
  318.         echo "
  319. ";
  320.         // line 259
  321.         $this->displayBlock('footer'$context$blocks);
  322.         // line 266
  323.         echo "
  324. ";
  325.         // line 269
  326.         $this->displayBlock('stylesheets'$context$blocks);
  327.         // line 274
  328.         echo "
  329. ";
  330.         // line 275
  331.         $this->displayBlock('getTranslations'$context$blocks);
  332.         // line 278
  333.         echo "<!-- Javascript categorized files -->
  334. ";
  335.         // line 279
  336.         $this->displayBlock('categorizedJavascripts'$context$blocks);
  337.         // line 286
  338.         echo "<!-- Javascript files -->
  339. ";
  340.         // line 288
  341.         $this->displayBlock('javascripts'$context$blocks);
  342.         // line 341
  343.         echo "
  344. ";
  345.         // line 342
  346.         $this->displayBlock('fos'$context$blocks);
  347.         // line 352
  348.         echo "
  349. ";
  350.         // line 353
  351.         $this->displayBlock('extraScripts'$context$blocks);
  352.         // line 358
  353.         echo "
  354. ";
  355.         // line 359
  356.         $this->displayBlock('wootricScript'$context$blocks);
  357.         // line 390
  358.         echo "
  359. ";
  360.         // line 391
  361.         $this->displayBlock('facebookLogin'$context$blocks);
  362.         // line 393
  363.         echo "
  364. ";
  365.         // line 394
  366.         $this->displayBlock('googleLogin'$context$blocks);
  367.         // line 397
  368.         echo "</body>
  369. </html>
  370. ";
  371.         
  372.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  373.         
  374.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  375.     }
  376.     // line 30
  377.     public function block_title($context, array $blocks = [])
  378.     {
  379.         $macros $this->macros;
  380.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  381.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  382.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  383.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  384.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.brand_suffix"), "html"nulltrue);
  385.         
  386.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  387.         
  388.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  389.     }
  390.     // line 52
  391.     public function block_metatags($context, array $blocks = [])
  392.     {
  393.         $macros $this->macros;
  394.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  395.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  396.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  397.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  398.         
  399.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  400.         
  401.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  402.     }
  403.     // line 57
  404.     public function block_htmlhead($context, array $blocks = [])
  405.     {
  406.         $macros $this->macros;
  407.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  408.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""htmlhead"));
  409.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  410.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""htmlhead"));
  411.         
  412.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  413.         
  414.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  415.     }
  416.     // line 59
  417.     public function block_categorizedStylesheets($context, array $blocks = [])
  418.     {
  419.         $macros $this->macros;
  420.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  421.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""categorizedStylesheets"));
  422.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  423.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""categorizedStylesheets"));
  424.         // line 60
  425.         echo "<link rel=\"stylesheet\" href=\"";
  426.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/css/build" . (((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.'60$this->source); })()), "environment", [], "any"falsefalsefalse60) == "dev")) ? ("") : (".min"))) . ".css")), "html"nulltrue);
  427.         echo "\" />
  428.     ";
  429.         
  430.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  431.         
  432.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  433.     }
  434.     // line 63
  435.     public function block_favouriteHead($context, array $blocks = [])
  436.     {
  437.         $macros $this->macros;
  438.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  439.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favouriteHead"));
  440.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  441.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favouriteHead"));
  442.         // line 64
  443.         echo "    ";
  444.         
  445.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  446.         
  447.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  448.     }
  449.     // line 67
  450.     public function block_headScripts($context, array $blocks = [])
  451.     {
  452.         $macros $this->macros;
  453.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  454.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headScripts"));
  455.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  456.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headScripts"));
  457.         // line 68
  458.         echo "        <script>
  459.             var app_data = {};
  460.             app_data.locale = '";
  461.         // line 70
  462.         echo twig_escape_filter($this->env, (isset($context["appLocale"]) || array_key_exists("appLocale"$context) ? $context["appLocale"] : (function () { throw new RuntimeError('Variable "appLocale" does not exist.'70$this->source); })()), "html"nulltrue);
  463.         echo "';
  464.             app_data.debug = ";
  465.         // line 71
  466.         echo twig_escape_filter($this->env$this->env->getRuntime('JMS\Serializer\Twig\SerializerRuntimeHelper')->serialize(((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.'71$this->source); })()), "debug", [], "any"falsefalsefalse71)) ? (true) : (false))), "html"nulltrue);
  467.         echo ";
  468.             app_data.base_url = ";
  469.         // line 72
  470.         echo $this->env->getRuntime('JMS\Serializer\Twig\SerializerRuntimeHelper')->serialize($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage"));
  471.         echo ";
  472.             app_data.is_authenticated = ";
  473.         // line 73
  474.         echo $this->env->getRuntime('JMS\Serializer\Twig\SerializerRuntimeHelper')->serialize($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED"));
  475.         echo ";
  476.             app_data.messaging_api_key = \"";
  477.         // line 74
  478.         echo twig_escape_filter($this->env, (isset($context["firebase_api_key"]) || array_key_exists("firebase_api_key"$context) ? $context["firebase_api_key"] : (function () { throw new RuntimeError('Variable "firebase_api_key" does not exist.'74$this->source); })()), "html"nulltrue);
  479.         echo "\";
  480.             app_data.messaging_sender_id = \"";
  481.         // line 75
  482.         echo twig_escape_filter($this->env, (isset($context["firebase_sender_id"]) || array_key_exists("firebase_sender_id"$context) ? $context["firebase_sender_id"] : (function () { throw new RuntimeError('Variable "firebase_sender_id" does not exist.'75$this->source); })()), "html"nulltrue);
  483.         echo "\";
  484.             app_data.country = \"";
  485.         // line 76
  486.         echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general""country")), "html"nulltrue);
  487.         echo "\";
  488.             app_data.topBar = \"";
  489.         // line 77
  490.         echo (( !(null === (isset($context["topBar"]) || array_key_exists("topBar"$context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.'77$this->source); })()))) ? (true) : (false));
  491.         echo "\";
  492.             app_data.topBarStarts = \"";
  493.         // line 78
  494.         (( !(null === (isset($context["topBar"]) || array_key_exists("topBar"$context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.'78$this->source); })()))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["topBar"]) || array_key_exists("topBar"$context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.'78$this->source); })()), "startAt", [], "any"falsefalsefalse78), "html"nulltrue))) : (print (false)));
  495.         echo "\";
  496.             app_data.topBarCounter = \"";
  497.         // line 79
  498.         (( !(null === (isset($context["topBar"]) || array_key_exists("topBar"$context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.'79$this->source); })()))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["topBar"]) || array_key_exists("topBar"$context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.'79$this->source); })()), "counter", [], "any"falsefalsefalse79), "html"nulltrue))) : (print (false)));
  499.         echo "\";
  500.             app_data.environment = \"";
  501.         // line 80
  502.         echo twig_escape_filter($this->envtwig_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), "html"nulltrue);
  503.         echo "\"
  504.             app_data.currency = \"";
  505.         // line 81
  506.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general""currency")), "html"nulltrue);
  507.         echo "\"
  508.             app_data.searchSvcUrl=\"";
  509.         // line 82
  510.         echo twig_escape_filter($this->env, (isset($context["search_service_public_endpoint"]) || array_key_exists("search_service_public_endpoint"$context) ? $context["search_service_public_endpoint"] : (function () { throw new RuntimeError('Variable "search_service_public_endpoint" does not exist.'82$this->source); })()), "html"nulltrue);
  511.         echo "\"
  512.         </script>
  513.         <script type=\"application/ld+json\">
  514.             {
  515.                 \"@context\": \"https://schema.org\",
  516.                 \"@type\": \"Organization\",
  517.                 \"logo\" : \"";
  518.         // line 89
  519.         echo twig_escape_filter($this->env, (((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.'89$this->source); })()), "request", [], "any"falsefalsefalse89), "locale", [], "any"falsefalsefalse89) == "ar")) ? ($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/logo-ar.svg"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/EnglishLogo.png")))), "html"nulltrue);
  520.         echo "\",
  521.                 \"url\": \"";
  522.         // line 90
  523.         echo twig_escape_filter($this->envtwig_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.'90$this->source); })()), "request", [], "any"falsefalsefalse90), "getSchemeAndHttpHost", [], "method"falsefalsefalse90), "html"nulltrue);
  524.         echo "\"
  525.             }
  526.         </script>
  527.     ";
  528.         
  529.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  530.         
  531.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  532.     }
  533.     // line 95
  534.     public function block_env($context, array $blocks = [])
  535.     {
  536.         $macros $this->macros;
  537.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  538.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""env"));
  539.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  540.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""env"));
  541.         // line 96
  542.         echo "        ";
  543.         $this->loadTemplate("env.html.twig""base.html.twig"96)->display($context);
  544.         // line 97
  545.         echo "    ";
  546.         
  547.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  548.         
  549.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  550.     }
  551.     // line 113
  552.     public function block_googleDoubleclick($context, array $blocks = [])
  553.     {
  554.         $macros $this->macros;
  555.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  556.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleDoubleclick"));
  557.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  558.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleDoubleclick"));
  559.         // line 114
  560.         echo "    ";
  561.         if (((isset($context["isProduction"]) || array_key_exists("isProduction"$context) ? $context["isProduction"] : (function () { throw new RuntimeError('Variable "isProduction" does not exist.'114$this->source); })()) && (isset($context["isUXVersion"]) || array_key_exists("isUXVersion"$context) ? $context["isUXVersion"] : (function () { throw new RuntimeError('Variable "isUXVersion" does not exist.'114$this->source); })()))) {
  562.             // line 115
  563.             echo "        <script src=\"https://securepubads.g.doubleclick.net/tag/js/gpt.js\"></script>
  564.         <script>
  565.             window.googletag = window.googletag || {cmd: []};
  566.             googletag.cmd.push(function() {
  567.                 googletag.pubads().enableSingleRequest();
  568.                 googletag.pubads().collapseEmptyDivs();
  569.                 googletag.pubads().setTargeting('lang', \"";
  570.             // line 121
  571.             echo twig_escape_filter($this->envtwig_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.'121$this->source); })()), "request", [], "any"falsefalsefalse121), "locale", [], "any"falsefalsefalse121), "html"nulltrue);
  572.             echo "\").setTargeting('url', \"";
  573.             echo twig_escape_filter($this->envtwig_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.'121$this->source); })()), "request", [], "any"falsefalsefalse121), "pathInfo", [], "any"falsefalsefalse121), "html"nulltrue);
  574.             echo "\");
  575.             });
  576.             ";
  577.             // line 123
  578.             if (($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general""country") == "SA")) {
  579.                 // line 124
  580.                 echo "                googletag.cmd.push(function() {
  581.                     googletag.defineSlot('/34628225/Frontpage-KSA', [[1140, 225], [728, 144]], 'div-gpt-ad-1611048992201-0').addService(googletag.pubads());
  582.                     googletag.enableServices();
  583.                 });
  584.             ";
  585.             } else {
  586.                 // line 129
  587.                 echo "                googletag.cmd.push(function() {
  588.                     googletag.defineSlot('/34628225/half-page', [1140, 225], 'div-gpt-ad-1588539416603-0').addService(googletag.pubads());
  589.                     googletag.enableServices();
  590.                 });
  591.             ";
  592.             }
  593.             // line 134
  594.             echo "        </script>
  595.         <script>
  596.             window.googletag = window.googletag || {cmd: []};
  597.             googletag.cmd.push(function() {
  598.                 googletag.pubads().enableSingleRequest();
  599.                 googletag.pubads().collapseEmptyDivs();
  600.                 googletag.pubads().setTargeting('lang', \"";
  601.             // line 140
  602.             echo twig_escape_filter($this->envtwig_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.'140$this->source); })()), "request", [], "any"falsefalsefalse140), "locale", [], "any"falsefalsefalse140), "html"nulltrue);
  603.             echo "\").setTargeting('url', \"";
  604.             echo twig_escape_filter($this->envtwig_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.'140$this->source); })()), "request", [], "any"falsefalsefalse140), "pathInfo", [], "any"falsefalsefalse140), "html"nulltrue);
  605.             echo "\");
  606.             });
  607.             ";
  608.             // line 142
  609.             if (($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general""country") == "SA")) {
  610.                 // line 143
  611.                 echo "                googletag.cmd.push(function() {
  612.                     googletag.defineSlot('/34628225/sideadksalong', [300, 600], 'div-gpt-ad-1638434718795-0').addService(googletag.pubads());
  613.                     googletag.enableServices();
  614.                 });
  615.             ";
  616.             } else {
  617.                 // line 148
  618.                 echo "                googletag.cmd.push(function() {
  619.                     googletag.defineSlot('/34628225/sideadlong', [300, 600], 'div-gpt-ad-1638434601381-0').addService(googletag.pubads());
  620.                     googletag.enableServices();
  621.                 });
  622.             ";
  623.             }
  624.             // line 153
  625.             echo "        </script>
  626.         <script>
  627.             window.googletag = window.googletag || {cmd: []};
  628.             googletag.cmd.push(function() {
  629.                 googletag.pubads().enableSingleRequest();
  630.                 googletag.pubads().collapseEmptyDivs();
  631.                 googletag.pubads().setTargeting('lang', \"";
  632.             // line 159
  633.             echo twig_escape_filter($this->envtwig_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.'159$this->source); })()), "request", [], "any"falsefalsefalse159), "locale", [], "any"falsefalsefalse159), "html"nulltrue);
  634.             echo "\").setTargeting('url', \"";
  635.             echo twig_escape_filter($this->envtwig_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.'159$this->source); })()), "request", [], "any"falsefalsefalse159), "pathInfo", [], "any"falsefalsefalse159), "html"nulltrue);
  636.             echo "\");
  637.             });
  638.             ";
  639.             // line 161
  640.             if (($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general""country") == "SA")) {
  641.                 // line 162
  642.                 echo "                googletag.cmd.push(function() {
  643.                     googletag.defineSlot('/34628225/feedadksa', [320, 320], 'div-gpt-ad-1611049193067-0').addService(googletag.pubads());
  644.                     googletag.enableServices();
  645.                 });
  646.             ";
  647.             } else {
  648.                 // line 167
  649.                 echo "                googletag.cmd.push(function() {
  650.                     googletag.defineSlot('/34628225/feedad', [320, 320], 'div-gpt-ad-1588541966744-0').addService(googletag.pubads());
  651.                     googletag.enableServices();
  652.                 });
  653.             ";
  654.             }
  655.             // line 172
  656.             echo "        </script>
  657.     ";
  658.         }
  659.         
  660.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  661.         
  662.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  663.     }
  664.     // line 176
  665.     public function block_searchFilters($context, array $blocks = [])
  666.     {
  667.         $macros $this->macros;
  668.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  669.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""searchFilters"));
  670.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  671.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""searchFilters"));
  672.         
  673.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  674.         
  675.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  676.     }
  677.     // line 179
  678.     public function block_firebase($context, array $blocks = [])
  679.     {
  680.         $macros $this->macros;
  681.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  682.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""firebase"));
  683.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  684.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""firebase"));
  685.         // line 180
  686.         echo "    <div id=\"overlay-back\"></div>
  687.     <div id=\"overlay\"><div class=\"overlay-text\">";
  688.         // line 181
  689.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("notification_modal.info_message"), "html"nulltrue);
  690.         echo " </div></div>
  691. ";
  692.         
  693.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  694.         
  695.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  696.     }
  697.     // line 184
  698.     public function block_vueBody($context, array $blocks = [])
  699.     {
  700.         $macros $this->macros;
  701.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  702.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""vueBody"));
  703.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  704.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""vueBody"));
  705.         // line 185
  706.         echo "    ";
  707.         $this->loadTemplate("flashes.html.twig""base.html.twig"185)->display($context);
  708.         // line 186
  709.         echo "    ";
  710.         $context["vueAppName"] = (((isset($context["isListingDetailsPage"]) || array_key_exists("isListingDetailsPage"$context) ? $context["isListingDetailsPage"] : (function () { throw new RuntimeError('Variable "isListingDetailsPage" does not exist.'186$this->source); })())) ? ("activitiesApp") : ("vueApp"));
  711.         // line 187
  712.         echo "    <div id=\"";
  713.         echo twig_escape_filter($this->env, (isset($context["vueAppName"]) || array_key_exists("vueAppName"$context) ? $context["vueAppName"] : (function () { throw new RuntimeError('Variable "vueAppName" does not exist.'187$this->source); })()), "html"nulltrue);
  714.         echo "\"
  715.          data-feature-toggle=\"";
  716.         // line 188
  717.         ((array_key_exists("featureToggle"$context)) ? (print (twig_escape_filter($this->envjson_encode((isset($context["featureToggle"]) || array_key_exists("featureToggle"$context) ? $context["featureToggle"] : (function () { throw new RuntimeError('Variable "featureToggle" does not exist.'188$this->source); })())), "html"nulltrue))) : (print (null)));
  718.         echo "\"
  719.          data-user=\"";
  720.         // line 189
  721.         ((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.'189$this->source); })()), "user", [], "any"falsefalsefalse189)) ? (print (twig_escape_filter($this->envtwig_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.'189$this->source); })()), "user", [], "any"falsefalsefalse189), "id", [], "any"falsefalsefalse189), "html"nulltrue))) : (print (null)));
  722.         echo "\"
  723.          data-user-email=\"";
  724.         // line 190
  725.         ((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.'190$this->source); })()), "user", [], "any"falsefalsefalse190)) ? (print (twig_escape_filter($this->envtwig_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.'190$this->source); })()), "user", [], "any"falsefalsefalse190), "email", [], "any"falsefalsefalse190), "html"nulltrue))) : (print (null)));
  726.         echo "\">
  727.         ";
  728.         // line 191
  729.         $this->displayBlock('navigation'$context$blocks);
  730.         // line 194
  731.         echo "        ";
  732.         if ((twig_get_attribute($this->env$this->sourcetwig_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.'194$this->source); })()), "request", [], "any"falsefalsefalse194), "attributes", [], "any"falsefalsefalse194), "get", [=> "_route"], "method"falsefalsefalse194) == "homepage")) {
  733.             // line 195
  734.             echo "            ";
  735.             $this->loadTemplate("hero-searchbar.html.twig""base.html.twig"195)->display($context);
  736.             // line 196
  737.             echo "            <section class=\"container-fluid\">
  738.                 <div class=\"row justify-content-center\">
  739.                     ";
  740.             // line 198
  741.             if ((isset($context["isProduction"]) || array_key_exists("isProduction"$context) ? $context["isProduction"] : (function () { throw new RuntimeError('Variable "isProduction" does not exist.'198$this->source); })())) {
  742.                 // line 199
  743.                 echo "                        ";
  744.                 if (($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general""country") == "SA")) {
  745.                     // line 200
  746.                     echo "                            <div id='div-gpt-ad-1611048992201-0' style='width: 1140px; height: 225px;'>
  747.                                 <script type=\"application/javascript\" v-pre defer>
  748.                                     if (typeof googletag !== 'undefined') {
  749.                                         googletag.cmd.push(function() { googletag.display('div-gpt-ad-1611048992201-0'); });
  750.                                     }
  751.                                 </script>
  752.                             </div>
  753.                         ";
  754.                 } else {
  755.                     // line 208
  756.                     echo "                            <div id='div-gpt-ad-1588539416603-0' style='width: 1140px; height: 225px;'>
  757.                                 <script type=\"application/javascript\" v-pre defer>
  758.                                     if (typeof googletag !== 'undefined') {
  759.                                         googletag.cmd.push(function() { googletag.display('div-gpt-ad-1588539416603-0'); });
  760.                                     }
  761.                                 </script>
  762.                             </div>
  763.                         ";
  764.                 }
  765.                 // line 216
  766.                 echo "                    ";
  767.             } else {
  768.                 // line 217
  769.                 echo "                        <div class=\"takeover-ad\" style=\"text-align: center; background-color: ";
  770.                 echo twig_escape_filter($this->env$this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("features""takeover_ad_color"), "html"nulltrue);
  771.                 echo ";\">
  772.                             <img src=\"https://placehold.it/1140x225/DFDFDF/B6B6B6&text=AD%20BANNER%20(1140%20X%20225)\" width=\"100%\" alt=\"\" />
  773.                         </div>
  774.                     ";
  775.             }
  776.             // line 221
  777.             echo "                </div>
  778.             </section>
  779.         ";
  780.         }
  781.         // line 224
  782.         echo "
  783.         ";
  784.         // line 225
  785.         $this->displayBlock('headerTop'$context$blocks);
  786.         // line 228
  787.         echo "
  788.         ";
  789.         // line 229
  790.         $this->displayBlock('body'$context$blocks);
  791.         // line 231
  792.         echo "        ";
  793.         $this->displayBlock('modals'$context$blocks);
  794.         // line 234
  795.         echo "    </div>
  796. ";
  797.         
  798.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  799.         
  800.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  801.     }
  802.     // line 191
  803.     public function block_navigation($context, array $blocks = [])
  804.     {
  805.         $macros $this->macros;
  806.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  807.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  808.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  809.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  810.         // line 192
  811.         echo "            ";
  812.         $this->loadTemplate("header.html.twig""base.html.twig"192)->display($context);
  813.         // line 193
  814.         echo "        ";
  815.         
  816.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  817.         
  818.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  819.     }
  820.     // line 225
  821.     public function block_headerTop($context, array $blocks = [])
  822.     {
  823.         $macros $this->macros;
  824.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  825.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerTop"));
  826.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  827.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerTop"));
  828.         // line 226
  829.         echo "            ";
  830.         $this->loadTemplate("adsHeader.html.twig""base.html.twig"226)->display($context);
  831.         // line 227
  832.         echo "        ";
  833.         
  834.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  835.         
  836.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  837.     }
  838.     // line 229
  839.     public function block_body($context, array $blocks = [])
  840.     {
  841.         $macros $this->macros;
  842.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  843.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  844.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  845.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  846.         // line 230
  847.         echo "        ";
  848.         
  849.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  850.         
  851.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  852.     }
  853.     // line 231
  854.     public function block_modals($context, array $blocks = [])
  855.     {
  856.         $macros $this->macros;
  857.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  858.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  859.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  860.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  861.         // line 232
  862.         echo "            ";
  863.         $this->loadTemplate("authModal.html.twig""base.html.twig"232)->display($context);
  864.         // line 233
  865.         echo "        ";
  866.         
  867.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  868.         
  869.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  870.     }
  871.     // line 259
  872.     public function block_footer($context, array $blocks = [])
  873.     {
  874.         $macros $this->macros;
  875.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  876.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  877.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  878.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  879.         // line 260
  880.         echo "    ";
  881.         $context["hiddenFooterRoutes"] = [=> "listing_initialize"=> "listing_edit"=> "listing_upload"=> "listing_confirm_publish_credit"];
  882.         // line 261
  883.         echo "    ";
  884.         if (!twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_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.'261$this->source); })()), "request", [], "any"falsefalsefalse261), "attributes", [], "any"falsefalsefalse261), "get", [=> "_route"], "method"falsefalsefalse261), (isset($context["hiddenFooterRoutes"]) || array_key_exists("hiddenFooterRoutes"$context) ? $context["hiddenFooterRoutes"] : (function () { throw new RuntimeError('Variable "hiddenFooterRoutes" does not exist.'261$this->source); })()))) {
  885.             // line 262
  886.             echo "        ";
  887.             $this->loadTemplate("footer.v2.html.twig""base.html.twig"262)->display($context);
  888.             // line 263
  889.             echo "    ";
  890.         }
  891.         // line 264
  892.         echo "
  893. ";
  894.         
  895.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  896.         
  897.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  898.     }
  899.     // line 269
  900.     public function block_stylesheets($context, array $blocks = [])
  901.     {
  902.         $macros $this->macros;
  903.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  904.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  905.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  906.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  907.         // line 270
  908.         if (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.direction_code") == "rtl")) {
  909.             // line 271
  910.             echo "<link href=\"";
  911.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("builds/css/bootstrap-rtl.min.css"), "html"nulltrue);
  912.             echo "\" rel=\"stylesheet\" media=\"print\" onload=\"this.media='all';this.onload=null;\" />
  913.     ";
  914.         }
  915.         
  916.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  917.         
  918.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  919.     }
  920.     // line 275
  921.     public function block_getTranslations($context, array $blocks = [])
  922.     {
  923.         $macros $this->macros;
  924.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  925.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""getTranslations"));
  926.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  927.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""getTranslations"));
  928.         // line 276
  929.         echo "    ";
  930.         $this->loadTemplate("get-translations.html.twig""base.html.twig"276)->display($context);
  931.         
  932.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  933.         
  934.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  935.     }
  936.     // line 279
  937.     public function block_categorizedJavascripts($context, array $blocks = [])
  938.     {
  939.         $macros $this->macros;
  940.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  941.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""categorizedJavascripts"));
  942.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  943.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""categorizedJavascripts"));
  944.         // line 280
  945.         echo "    <script src=\"";
  946.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/build" . (((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.'280$this->source); })()), "environment", [], "any"falsefalsefalse280) == "dev")) ? ("") : (".min"))) . ".js")), "html"nulltrue);
  947.         echo "\"></script>
  948.     <script defer type=\"application/javascript\" src=\"";
  949.         // line 281
  950.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildTopSellers" . (((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.'281$this->source); })()), "environment", [], "any"falsefalsefalse281) == "dev")) ? ("") : (".min"))) . ".js")), "html"nulltrue);
  951.         echo "\"></script>
  952.     ";
  953.         // line 282
  954.         if ( !(null === (isset($context["topBar"]) || array_key_exists("topBar"$context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.'282$this->source); })()))) {
  955.             // line 283
  956.             echo "        ";
  957.             echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("countdown");
  958.             echo "
  959.     ";
  960.         }
  961.         
  962.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  963.         
  964.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  965.     }
  966.     // line 288
  967.     public function block_javascripts($context, array $blocks = [])
  968.     {
  969.         $macros $this->macros;
  970.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  971.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  972.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  973.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  974.         // line 289
  975.         echo "    <script src=\"";
  976.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("js/translations/jstranslation/" 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.'289$this->source); })()), "request", [], "any"falsefalsefalse289), "locale", [], "any"falsefalsefalse289)) . ".js")), "html"nulltrue);
  977.         echo "\" defer></script>
  978.     <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  979.     <!--[if lt IE 9]>
  980.     <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>
  981.     <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>
  982.     <![endif]-->
  983.     <script type=\"application/javascript\">
  984.         // Google Tag Manager Data Layer initialization
  985.         window.dataLayer = window.dataLayer || [];
  986.         // Translator initialization
  987.         window.Translator = window.Translator || [];
  988.     </script>
  989.     ";
  990.         // line 306
  991.         echo "    ";
  992.         $context["criteo_custom_datalayer"] = ["PageType" => "TransactionPage""email" => " "];
  993.         // line 307
  994.         echo "
  995.     ";
  996.         // line 309
  997.         echo "    ";
  998.         $context["criteo_datalayer"] = ["PageType" => twig_get_attribute($this->env$this->sourcetwig_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.'309$this->source); })()), "request", [], "any"falsefalsefalse309), "attributes", [], "any"falsefalsefalse309), "get", [=> "_route"], "method"falsefalsefalse309)];
  999.         // line 310
  1000.         echo "
  1001.     ";
  1002.         // line 311
  1003.         if (((twig_get_attribute($this->env$this->sourcetwig_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.'311$this->source); })()), "request", [], "any"falsefalsefalse311), "attributes", [], "any"falsefalsefalse311), "get", [=> "_route"], "method"falsefalsefalse311) == "search") || (twig_get_attribute($this->env$this->sourcetwig_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.'311$this->source); })()), "request", [], "any"falsefalsefalse311), "attributes", [], "any"falsefalsefalse311), "get", [=> "_route"], "method"falsefalsefalse311) == "property_type_search"))) {
  1004.             // line 312
  1005.             $context["criteo_datalayer"] = ["PageType" => "search"];
  1006.             // line 313
  1007.             echo "    ";
  1008.         }
  1009.         // line 314
  1010.         echo "
  1011.     ";
  1012.         // line 315
  1013.         $context["criteo_datalayer"] = twig_array_merge((isset($context["criteo_datalayer"]) || array_key_exists("criteo_datalayer"$context) ? $context["criteo_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_datalayer" does not exist.'315$this->source); })()), ["email" => " "]);
  1014.         // line 316
  1015.         echo "
  1016.     ";
  1017.         // line 317
  1018.         if ((twig_get_attribute($this->env$this->sourcetwig_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.'317$this->source); })()), "request", [], "any"falsefalsefalse317), "attributes", [], "any"falsefalsefalse317), "get", [=> "_route"], "method"falsefalsefalse317) == "listing_slug")) {
  1019.             // line 318
  1020.             echo "        ";
  1021.             $context["criteo_datalayer"] = ["PageType" => "ListingPage""email" => " "];
  1022.             // line 319
  1023.             echo "        ";
  1024.             $context["criteo_custom_datalayer"] = twig_array_merge((isset($context["criteo_custom_datalayer"]) || array_key_exists("criteo_custom_datalayer"$context) ? $context["criteo_custom_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_custom_datalayer" does not exist.'319$this->source); })()), ["ProductTransactionProducts" => [=> ["id" => twig_get_attribute($this->env$this->source, (isset($context["listing"]) || array_key_exists("listing"$context) ? $context["listing"] : (function () { throw new RuntimeError('Variable "listing" does not exist.'319$this->source); })()), "id", [], "any"falsefalsefalse319), "price" => "0.01""quantity" => "1"]]]);
  1025.             // line 320
  1026.             echo "
  1027.         ";
  1028.             // line 321
  1029.             $context["criteo_datalayer"] = twig_array_merge((isset($context["criteo_datalayer"]) || array_key_exists("criteo_datalayer"$context) ? $context["criteo_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_datalayer" does not exist.'321$this->source); })()), ["ListingID" => twig_get_attribute($this->env$this->source, (isset($context["listing"]) || array_key_exists("listing"$context) ? $context["listing"] : (function () { throw new RuntimeError('Variable "listing" does not exist.'321$this->source); })()), "id", [], "any"falsefalsefalse321)]);
  1030.             // line 322
  1031.             echo "    <script>
  1032.         \$(document).ready(function () {
  1033.             dataLayer.push(";
  1034.             // line 324
  1035.             echo json_encode((isset($context["criteo_custom_datalayer"]) || array_key_exists("criteo_custom_datalayer"$context) ? $context["criteo_custom_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_custom_datalayer" does not exist.'324$this->source); })()));
  1036.             echo ");
  1037.         });
  1038.     </script>
  1039.     ";
  1040.             // line 327
  1041.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["listing"]) || array_key_exists("listing"$context) ? $context["listing"] : (function () { throw new RuntimeError('Variable "listing" does not exist.'327$this->source); })()), "liveChildren", [], "any"falsefalsefalse327))) {
  1042.                 // line 328
  1043.                 echo "            ";
  1044.                 $context["criteo_datalayer"] = twig_array_merge((isset($context["criteo_datalayer"]) || array_key_exists("criteo_datalayer"$context) ? $context["criteo_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_datalayer" does not exist.'328$this->source); })()), ["unitsIDs" => twig_get_attribute($this->env$this->source, (isset($context["listing"]) || array_key_exists("listing"$context) ? $context["listing"] : (function () { throw new RuntimeError('Variable "listing" does not exist.'328$this->source); })()), "liveChildrenIDs", [], "any"falsefalsefalse328)]);
  1045.                 // line 329
  1046.                 echo "        ";
  1047.             }
  1048.         }
  1049.         // line 331
  1050.         echo "
  1051.     ";
  1052.         // line 332
  1053.         if (((twig_get_attribute($this->env$this->sourcetwig_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.'332$this->source); })()), "request", [], "any"falsefalsefalse332), "attributes", [], "any"falsefalsefalse332), "get", [=> "_route"], "method"falsefalsefalse332) == "search") || (twig_get_attribute($this->env$this->sourcetwig_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.'332$this->source); })()), "request", [], "any"falsefalsefalse332), "attributes", [], "any"falsefalsefalse332), "get", [=> "_route"], "method"falsefalsefalse332) == "property_type_search"))) {
  1054.             // line 333
  1055.             $context["criteo_datalayer"] = twig_array_merge((isset($context["criteo_datalayer"]) || array_key_exists("criteo_datalayer"$context) ? $context["criteo_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_datalayer" does not exist.'333$this->source); })()), ["ListingIDList" => twig_slice($this->env, (isset($context["resultsIDs"]) || array_key_exists("resultsIDs"$context) ? $context["resultsIDs"] : (function () { throw new RuntimeError('Variable "resultsIDs" does not exist.'333$this->source); })()), 13)]);
  1056.             // line 334
  1057.             echo "    ";
  1058.         }
  1059.         // line 335
  1060.         echo "    <script>
  1061.         \$(document).ready(function () {
  1062.             dataLayer.push(";
  1063.         // line 337
  1064.         echo json_encode((isset($context["criteo_datalayer"]) || array_key_exists("criteo_datalayer"$context) ? $context["criteo_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_datalayer" does not exist.'337$this->source); })()));
  1065.         echo ");
  1066.         });
  1067.     </script>
  1068. ";
  1069.         
  1070.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1071.         
  1072.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1073.     }
  1074.     // line 342
  1075.     public function block_fos($context, array $blocks = [])
  1076.     {
  1077.         $macros $this->macros;
  1078.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1079.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""fos"));
  1080.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1081.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""fos"));
  1082.         // line 343
  1083.         echo "    ";
  1084.         if (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.'343$this->source); })()), "debug", [], "any"falsefalsefalse343)) {
  1085.             // line 344
  1086.             echo "        <script src=\"";
  1087.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
  1088.             echo "\"></script>
  1089.     ";
  1090.         } else {
  1091.             // line 346
  1092.             echo "        <script src=\"";
  1093.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/fos_js_routes.js"), "html"nulltrue);
  1094.             echo "\"></script>
  1095.         <script>
  1096.             Routing.setPrefix(\"";
  1097.             // line 348
  1098.             echo twig_escape_filter($this->envtwig_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.'348$this->source); })()), "request", [], "any"falsefalsefalse348), "locale", [], "any"falsefalsefalse348), "html"nulltrue);
  1099.             echo "__RG__\");
  1100.         </script>
  1101.     ";
  1102.         }
  1103.         
  1104.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1105.         
  1106.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1107.     }
  1108.     // line 353
  1109.     public function block_extraScripts($context, array $blocks = [])
  1110.     {
  1111.         $macros $this->macros;
  1112.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1113.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extraScripts"));
  1114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1115.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extraScripts"));
  1116.         // line 354
  1117.         echo "    ";
  1118.         if ((twig_get_attribute($this->env$this->sourcetwig_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.'354$this->source); })()), "request", [], "any"falsefalsefalse354), "attributes", [], "any"falsefalsefalse354), "get", [=> "_route"], "method"falsefalsefalse354) == "homepage")) {
  1119.             // line 355
  1120.             echo "                <script type=\"application/javascript\" src=\"";
  1121.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/priceFilters.js"), "html"nulltrue);
  1122.             echo "\"></script>
  1123.     ";
  1124.         }
  1125.         
  1126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1127.         
  1128.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1129.     }
  1130.     // line 359
  1131.     public function block_wootricScript($context, array $blocks = [])
  1132.     {
  1133.         $macros $this->macros;
  1134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""wootricScript"));
  1136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1137.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""wootricScript"));
  1138.         // line 360
  1139.         echo "    ";
  1140.         if ((isset($context["isUXVersion"]) || array_key_exists("isUXVersion"$context) ? $context["isUXVersion"] : (function () { throw new RuntimeError('Variable "isUXVersion" does not exist.'360$this->source); })())) {
  1141.             // line 361
  1142.             echo "        <!-- begin Wootric code -->
  1143.         <script>
  1144.             window.wootric = function(){};
  1145.         </script>
  1146.         <script type=\"text/javascript\" src=\"https://cdn.wootric.com/wootric-sdk.js\"></script>
  1147.         ";
  1148.             // line 366
  1149.             if (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.'366$this->source); })()), "user", [], "any"falsefalsefalse366)) {
  1150.                 // line 367
  1151.                 echo "            <script id=\"wootricScript\"  type=\"application/javascript\" src=\"";
  1152.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildWootric" . (((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.'367$this->source); })()), "environment", [], "any"falsefalsefalse367) == "dev")) ? ("") : (".min"))) . ".js")), "html"nulltrue);
  1153.                 echo "\"></script>
  1154.         ";
  1155.             } else {
  1156.                 // line 369
  1157.                 echo "            <script type=\"text/javascript\">
  1158.                 //window.wootric_survey_immediately = true; // Shows survey immediately for testing purposes. TODO: Comment out for production.
  1159.                 window.wootricSettings = {
  1160.                     account_token:  'NPS-8fa9e73b'
  1161.                 };
  1162.                  window.wootric(\"run\");
  1163.             </script>
  1164.         ";
  1165.             }
  1166.             // line 377
  1167.             echo "    ";
  1168.         } else {
  1169.             // line 378
  1170.             echo "        <script>
  1171.             \$(document).ready(function () {
  1172.                 ";
  1173.             // line 380
  1174.             if (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.'380$this->source); })()), "user", [], "any"falsefalsefalse380)) {
  1175.                 // line 381
  1176.                 echo "                    dataLayer.push({
  1177.                         'userEmail': '";
  1178.                 // line 382
  1179.                 echo twig_escape_filter($this->envtwig_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.'382$this->source); })()), "user", [], "any"falsefalsefalse382), "email", [], "any"falsefalsefalse382), "html"nulltrue);
  1180.                 echo "',
  1181.                         'userCreatedAt': '";
  1182.                 // line 383
  1183.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_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.'383$this->source); })()), "user", [], "any"falsefalsefalse383), "createdAt", [], "any"falsefalsefalse383), "U"), "html"nulltrue);
  1184.                 echo "',
  1185.                     });
  1186.                 ";
  1187.             }
  1188.             // line 386
  1189.             echo "            });
  1190.         </script>
  1191.     ";
  1192.         }
  1193.         
  1194.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1195.         
  1196.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1197.     }
  1198.     // line 391
  1199.     public function block_facebookLogin($context, array $blocks = [])
  1200.     {
  1201.         $macros $this->macros;
  1202.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1203.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""facebookLogin"));
  1204.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1205.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""facebookLogin"));
  1206.         
  1207.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1208.         
  1209.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1210.     }
  1211.     // line 394
  1212.     public function block_googleLogin($context, array $blocks = [])
  1213.     {
  1214.         $macros $this->macros;
  1215.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1216.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleLogin"));
  1217.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1218.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleLogin"));
  1219.         // line 395
  1220.         echo "    ";
  1221.         $this->loadTemplate("googleLogin.html.twig""base.html.twig"395)->display($context);
  1222.         
  1223.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1224.         
  1225.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1226.     }
  1227.     public function getTemplateName()
  1228.     {
  1229.         return "base.html.twig";
  1230.     }
  1231.     public function isTraitable()
  1232.     {
  1233.         return false;
  1234.     }
  1235.     public function getDebugInfo()
  1236.     {
  1237.         return array (  1366 => 395,  1356 => 394,  1338 => 391,  1325 => 386,  1319 => 383,  1315 => 382,  1312 => 381,  1310 => 380,  1306 => 378,  1303 => 377,  1293 => 369,  1287 => 367,  1285 => 366,  1278 => 361,  1275 => 360,  1265 => 359,  1251 => 355,  1248 => 354,  1238 => 353,  1224 => 348,  1218 => 346,  1212 => 344,  1209 => 343,  1199 => 342,  1185 => 337,  1181 => 335,  1178 => 334,  1176 => 333,  1174 => 332,  1171 => 331,  1167 => 329,  1164 => 328,  1162 => 327,  1156 => 324,  1152 => 322,  1150 => 321,  1147 => 320,  1144 => 319,  1141 => 318,  1139 => 317,  1136 => 316,  1134 => 315,  1131 => 314,  1128 => 313,  1126 => 312,  1124 => 311,  1121 => 310,  1118 => 309,  1115 => 307,  1112 => 306,  1092 => 289,  1082 => 288,  1068 => 283,  1066 => 282,  1062 => 281,  1057 => 280,  1047 => 279,  1036 => 276,  1026 => 275,  1012 => 271,  1010 => 270,  1000 => 269,  989 => 264,  986 => 263,  983 => 262,  980 => 261,  977 => 260,  967 => 259,  957 => 233,  954 => 232,  944 => 231,  934 => 230,  924 => 229,  914 => 227,  911 => 226,  901 => 225,  891 => 193,  888 => 192,  878 => 191,  867 => 234,  864 => 231,  862 => 229,  859 => 228,  857 => 225,  854 => 224,  849 => 221,  841 => 217,  838 => 216,  828 => 208,  818 => 200,  815 => 199,  813 => 198,  809 => 196,  806 => 195,  803 => 194,  801 => 191,  797 => 190,  793 => 189,  789 => 188,  784 => 187,  781 => 186,  778 => 185,  768 => 184,  756 => 181,  753 => 180,  743 => 179,  725 => 176,  713 => 172,  706 => 167,  699 => 162,  697 => 161,  690 => 159,  682 => 153,  675 => 148,  668 => 143,  666 => 142,  659 => 140,  651 => 134,  644 => 129,  637 => 124,  635 => 123,  628 => 121,  620 => 115,  617 => 114,  607 => 113,  597 => 97,  594 => 96,  584 => 95,  570 => 90,  566 => 89,  556 => 82,  552 => 81,  548 => 80,  544 => 79,  540 => 78,  536 => 77,  532 => 76,  528 => 75,  524 => 74,  520 => 73,  516 => 72,  512 => 71,  508 => 70,  504 => 68,  494 => 67,  484 => 64,  474 => 63,  461 => 60,  451 => 59,  433 => 57,  415 => 52,  396 => 30,  384 => 397,  382 => 394,  379 => 393,  377 => 391,  374 => 390,  372 => 359,  369 => 358,  367 => 353,  364 => 352,  362 => 342,  359 => 341,  357 => 288,  353 => 286,  351 => 279,  348 => 278,  346 => 275,  343 => 274,  341 => 269,  336 => 266,  334 => 259,  331 => 258,  321 => 251,  316 => 248,  314 => 247,  311 => 246,  304 => 242,  298 => 239,  294 => 237,  292 => 236,  290 => 184,  287 => 183,  285 => 179,  282 => 178,  280 => 176,  277 => 175,  275 => 113,  272 => 112,  266 => 109,  261 => 107,  256 => 105,  252 => 104,  248 => 102,  246 => 101,  238 => 100,  234 => 98,  232 => 95,  229 => 94,  226 => 67,  224 => 66,  221 => 65,  219 => 63,  216 => 62,  214 => 59,  211 => 58,  209 => 57,  205 => 56,  201 => 55,  197 => 54,  192 => 53,  190 => 52,  187 => 51,  183 => 50,  176 => 46,  169 => 41,  163 => 39,  154 => 37,  145 => 35,  141 => 34,  138 => 33,  136 => 32,  131 => 30,  126 => 28,  123 => 27,  121 => 26,  119 => 25,  117 => 24,  115 => 23,  113 => 22,  111 => 21,  109 => 20,  107 => 19,  105 => 18,  103 => 17,  101 => 16,  99 => 15,  97 => 14,  95 => 13,  93 => 12,  91 => 11,  84 => 9,  80 => 7,  78 => 6,  76 => 5,  74 => 4,  72 => 3,  70 => 2,  68 => 1,);
  1238.     }
  1239.     public function getSourceContext()
  1240.     {
  1241.         return new Source("{% set FLUID_CONTAINER = false %}
  1242. {% set isEgyptSite = get_setting('general', 'country') == 'EG' %}
  1243. {% set isKSASite = get_setting('general', 'country') == 'SA' %}
  1244. {% set isEnabledKSAnewHome = isKSASite and isEnabledFeature('web.ksa.newhome') %}
  1245. {% set isProduction = app.environment == 'prod' %}
  1246. {% set isGoogleTagManagerDisabledTest = isEnabledFeature('web.disable.tagmanager') %}
  1247. <!DOCTYPE html>
  1248. <html lang=\"{{ app.request.locale }}\" dir=\"{{ 'layout.direction_code'|trans }}\" ng-app=\"moonshot\">
  1249. {% set isSearchResultsPage = app.request.attributes.get('_route') in ['search', 'property_type_search'] %}
  1250. {% set isComoundResultsPage = app.request.attributes.get('_route') in ['compound_search', 'compound_adviser_search_results'] %}
  1251. {% set isListingDetailsPage = app.request.attributes.get('_route') in ['listing_slug'] %}
  1252. {% import '@AqarmapListing/Default/macros/seoVersion.twig' as seoMacro %}
  1253. {% set isSeoVersion = seoMacro.seoVersion(app.request.requesturi) and isSearchResultsPage and not app.user %}
  1254. {% set isLongTailPage = app.request.get('lt') %}
  1255. {% set isUXVersion = not isSeoVersion %}
  1256. {% set allowTagManagerDelay = isSeoVersion  or isComoundResultsPage or isListingDetailsPage %}
  1257. {% set hiddenParametersLanguageRoutes = ['search', 'property_type_search', 'listing_slug'] %}
  1258. {% set removeParametersLanguageSwitcher = app.request.attributes.get('_route') in hiddenParametersLanguageRoutes and not isLongTailPage %}
  1259. {% set adminBodyClass = is_granted(\"ROLE_ADMIN\") ? 'is-admin' : '' %}
  1260. {% set searchResultsBodyClass = isSearchResultsPage ? 'initial-font' : '' %}
  1261. {% set aqarmap_exhibits_guide_url = aqarmap_advice_url  ~ '/' ~ app.request.locale ~ '/events' %}
  1262. {% set isUserHasActiveSubscription = app.user and app.user.getAbsoluteSubscriptionExpiryDays > 0 %}
  1263. {% set appLocale = app.request.locale %}
  1264. {% set isLocalArabic = appLocale == 'ar' %}
  1265. <head>
  1266.     <meta charset=\"{{ _charset }}\" />
  1267.     <title>{% block title %}{{ 'layout.brand_suffix'|trans }}{% endblock %}</title>
  1268.     {% set hiddenMetaDescriptionRoutes = ['compound_search'] %}
  1269.     {% if app.request.attributes.get('_route') not in hiddenMetaDescriptionRoutes or (app.request.attributes.get('_route') == 'listing_slug' and listing.section.searchable) %}
  1270.         <meta name=\"description\" content=\"{% spaceless %}{% if block('meta_description') is defined %}
  1271.                 {{ block('meta_description')|default('layout.homepage_description'|trans)|striptags|truncate(250, true, null)|replace({\"\\n\": \" \", \"\\r\\n\": \" \", \"\\t\": \" \", \"\\n\\r\": \" \", \"  \": \"..\"})|replace({\"  \": \". \"})|trim('.') }}
  1272.             {% else %}
  1273.                 {{ 'layout.homepage_description'|trans|striptags|truncate(250, true, null)|replace({\"\\n\": \" \", \"\\r\\n\": \" \", \"\\t\": \" \", \"\\n\\r\": \" \", \"  \": \"..\"})|replace({\"  \": \". \"})|trim('.') }}
  1274.             {% endif %}
  1275.         {% endspaceless %}\">
  1276.     {% endif %}
  1277.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\" >
  1278.     <meta http-equiv=\"Accept-CH\" content=\"DPR, Width, Viewport-Width\">
  1279.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  1280.     <meta name=\"theme-color\" content=\"#007dbe\">
  1281.     <meta name=\"author\" content=\"{{ 'layout.app_name'|trans }}\">
  1282.     <meta name=\"apple-itunes-app\" content=\"app-id=642633889\">
  1283.     <meta name=\"google-play-app\" content=\"app-id=com.aqarmap.android\">
  1284.     <meta name=\"robots\" content=\"noindex, follow\">
  1285.     {% if app_domain != app.request.getHost() %}<meta name=\"robots\" content=\"noindex, nofollow\">{% endif %}
  1286.     {% block metatags %}{% endblock %}
  1287.     <link rel=\"preload\" as=\"image\" href=\"{{ asset('images/placeholder.svg') }}\">
  1288.     <link rel=\"preload\" as=\"image\" href=\"{{ asset('images/logo-' ~ app.request.locale ~ '-white.svg') }}\">
  1289.     <link rel=\"icon\" type=\"image/x-icon\" href=\"{{ asset('favicon.ico') }}\" />
  1290.     <link rel=\"manifest\"  href=\"{{ asset('manifest.json') }}\" />
  1291.     {% block htmlhead %}{% endblock %}
  1292.     {% block categorizedStylesheets -%}
  1293.         <link rel=\"stylesheet\" href=\"{{ asset('builds/css/build'~ (app.environment == 'dev' ? '' : '.min') ~'.css') }}\" />
  1294.     {% endblock %}
  1295.     {% block favouriteHead %}
  1296.     {% endblock %}
  1297.     {% set topBar = active_announcement({topBar : true}) %}
  1298.     {% block headScripts %}
  1299.         <script>
  1300.             var app_data = {};
  1301.             app_data.locale = '{{ appLocale }}';
  1302.             app_data.debug = {{ (app.debug ? true : false)|serialize }};
  1303.             app_data.base_url = {{ url('homepage')|serialize|raw }};
  1304.             app_data.is_authenticated = {{ is_granted(\"IS_AUTHENTICATED_REMEMBERED\")|serialize|raw }};
  1305.             app_data.messaging_api_key = \"{{ firebase_api_key }}\";
  1306.             app_data.messaging_sender_id = \"{{ firebase_sender_id }}\";
  1307.             app_data.country = \"{{ get_setting('general', 'country') | lower }}\";
  1308.             app_data.topBar = \"{{ topBar is not null ? true : false  }}\";
  1309.             app_data.topBarStarts = \"{{ topBar is not null ? topBar.startAt : false  }}\";
  1310.             app_data.topBarCounter = \"{{ topBar is not null ? topBar.counter : false  }}\";
  1311.             app_data.environment = \"{{ app.environment  }}\"
  1312.             app_data.currency = \"{{ get_setting('general', 'currency')|trans }}\"
  1313.             app_data.searchSvcUrl=\"{{search_service_public_endpoint}}\"
  1314.         </script>
  1315.         <script type=\"application/ld+json\">
  1316.             {
  1317.                 \"@context\": \"https://schema.org\",
  1318.                 \"@type\": \"Organization\",
  1319.                 \"logo\" : \"{{ app.request.locale == 'ar' ?  absolute_url(asset('images/logo-ar.svg')) : absolute_url(asset('images/EnglishLogo.png')) }}\",
  1320.                 \"url\": \"{{ app.request.getSchemeAndHttpHost() }}\"
  1321.             }
  1322.         </script>
  1323.     {% endblock %}
  1324.     {% block env %}
  1325.         {% include \"env.html.twig\" %}
  1326.     {% endblock %}
  1327. </head>
  1328. <body class=\"{{ 'layout.direction_code'|trans }} {{ adminBodyClass }} {{ searchResultsBodyClass }}\">
  1329. {% if isProduction and not isGoogleTagManagerDisabledTest %}
  1330.     <!-- Google Tag Manager -->
  1331.     <script>
  1332.         var tagManagerSettings = '{{ get_setting('general', 'tag_manager') }}';
  1333.         var allowTagManagerDelay = '{{allowTagManagerDelay}}'
  1334.     </script>
  1335.     <noscript><iframe  src=\"//www.googletagmanager.com/ns.html?id={{ get_setting('general', 'tag_manager') }}\"
  1336.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\" loading=\"lazy\"></iframe></noscript>
  1337.     <script type=\"application/javascript\" src=\"{{ asset('builds/js/buildTagManager'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
  1338.     <!-- End Google Tag Manager -->
  1339. {% endif %}
  1340. {% block googleDoubleclick %}
  1341.     {% if isProduction and isUXVersion %}
  1342.         <script src=\"https://securepubads.g.doubleclick.net/tag/js/gpt.js\"></script>
  1343.         <script>
  1344.             window.googletag = window.googletag || {cmd: []};
  1345.             googletag.cmd.push(function() {
  1346.                 googletag.pubads().enableSingleRequest();
  1347.                 googletag.pubads().collapseEmptyDivs();
  1348.                 googletag.pubads().setTargeting('lang', \"{{ app.request.locale }}\").setTargeting('url', \"{{ app.request.pathInfo }}\");
  1349.             });
  1350.             {% if get_setting('general', 'country') == 'SA' %}
  1351.                 googletag.cmd.push(function() {
  1352.                     googletag.defineSlot('/34628225/Frontpage-KSA', [[1140, 225], [728, 144]], 'div-gpt-ad-1611048992201-0').addService(googletag.pubads());
  1353.                     googletag.enableServices();
  1354.                 });
  1355.             {% else %}
  1356.                 googletag.cmd.push(function() {
  1357.                     googletag.defineSlot('/34628225/half-page', [1140, 225], 'div-gpt-ad-1588539416603-0').addService(googletag.pubads());
  1358.                     googletag.enableServices();
  1359.                 });
  1360.             {% endif %}
  1361.         </script>
  1362.         <script>
  1363.             window.googletag = window.googletag || {cmd: []};
  1364.             googletag.cmd.push(function() {
  1365.                 googletag.pubads().enableSingleRequest();
  1366.                 googletag.pubads().collapseEmptyDivs();
  1367.                 googletag.pubads().setTargeting('lang', \"{{ app.request.locale }}\").setTargeting('url', \"{{ app.request.pathInfo }}\");
  1368.             });
  1369.             {% if get_setting('general', 'country') == 'SA' %}
  1370.                 googletag.cmd.push(function() {
  1371.                     googletag.defineSlot('/34628225/sideadksalong', [300, 600], 'div-gpt-ad-1638434718795-0').addService(googletag.pubads());
  1372.                     googletag.enableServices();
  1373.                 });
  1374.             {% else %}
  1375.                 googletag.cmd.push(function() {
  1376.                     googletag.defineSlot('/34628225/sideadlong', [300, 600], 'div-gpt-ad-1638434601381-0').addService(googletag.pubads());
  1377.                     googletag.enableServices();
  1378.                 });
  1379.             {% endif %}
  1380.         </script>
  1381.         <script>
  1382.             window.googletag = window.googletag || {cmd: []};
  1383.             googletag.cmd.push(function() {
  1384.                 googletag.pubads().enableSingleRequest();
  1385.                 googletag.pubads().collapseEmptyDivs();
  1386.                 googletag.pubads().setTargeting('lang', \"{{ app.request.locale }}\").setTargeting('url', \"{{ app.request.pathInfo }}\");
  1387.             });
  1388.             {% if get_setting('general', 'country') == 'SA' %}
  1389.                 googletag.cmd.push(function() {
  1390.                     googletag.defineSlot('/34628225/feedadksa', [320, 320], 'div-gpt-ad-1611049193067-0').addService(googletag.pubads());
  1391.                     googletag.enableServices();
  1392.                 });
  1393.             {% else %}
  1394.                 googletag.cmd.push(function() {
  1395.                     googletag.defineSlot('/34628225/feedad', [320, 320], 'div-gpt-ad-1588541966744-0').addService(googletag.pubads());
  1396.                     googletag.enableServices();
  1397.                 });
  1398.             {% endif %}
  1399.         </script>
  1400.     {% endif %}
  1401. {% endblock %}
  1402. {% block searchFilters %}
  1403. {% endblock %}
  1404. {% block firebase %}
  1405.     <div id=\"overlay-back\"></div>
  1406.     <div id=\"overlay\"><div class=\"overlay-text\">{{ 'notification_modal.info_message'|trans }} </div></div>
  1407. {% endblock %}
  1408. {% block vueBody %}
  1409.     {% include \"flashes.html.twig\" %}
  1410.     {% set vueAppName = isListingDetailsPage ? \"activitiesApp\" : \"vueApp\"  %}
  1411.     <div id=\"{{vueAppName}}\"
  1412.          data-feature-toggle=\"{{ featureToggle is defined ? featureToggle|json_encode : null }}\"
  1413.          data-user=\"{{ app.user ? app.user.id : null }}\"
  1414.          data-user-email=\"{{ app.user ? app.user.email : null }}\">
  1415.         {% block navigation %}
  1416.             {% include \"header.html.twig\" %}
  1417.         {% endblock %}
  1418.         {% if app.request.attributes.get('_route') == 'homepage' %}
  1419.             {% include \"hero-searchbar.html.twig\" %}
  1420.             <section class=\"container-fluid\">
  1421.                 <div class=\"row justify-content-center\">
  1422.                     {% if isProduction %}
  1423.                         {% if get_setting('general', 'country') == 'SA' %}
  1424.                             <div id='div-gpt-ad-1611048992201-0' style='width: 1140px; height: 225px;'>
  1425.                                 <script type=\"application/javascript\" v-pre defer>
  1426.                                     if (typeof googletag !== 'undefined') {
  1427.                                         googletag.cmd.push(function() { googletag.display('div-gpt-ad-1611048992201-0'); });
  1428.                                     }
  1429.                                 </script>
  1430.                             </div>
  1431.                         {% else %}
  1432.                             <div id='div-gpt-ad-1588539416603-0' style='width: 1140px; height: 225px;'>
  1433.                                 <script type=\"application/javascript\" v-pre defer>
  1434.                                     if (typeof googletag !== 'undefined') {
  1435.                                         googletag.cmd.push(function() { googletag.display('div-gpt-ad-1588539416603-0'); });
  1436.                                     }
  1437.                                 </script>
  1438.                             </div>
  1439.                         {% endif %}
  1440.                     {% else %}
  1441.                         <div class=\"takeover-ad\" style=\"text-align: center; background-color: {{ get_setting('features', 'takeover_ad_color') }};\">
  1442.                             <img src=\"https://placehold.it/1140x225/DFDFDF/B6B6B6&text=AD%20BANNER%20(1140%20X%20225)\" width=\"100%\" alt=\"\" />
  1443.                         </div>
  1444.                     {% endif %}
  1445.                 </div>
  1446.             </section>
  1447.         {% endif %}
  1448.         {% block headerTop %}
  1449.             {% include \"adsHeader.html.twig\" %}
  1450.         {% endblock %}
  1451.         {% block body %}
  1452.         {% endblock %}
  1453.         {% block modals %}
  1454.             {% include \"authModal.html.twig\" %}
  1455.         {% endblock %}
  1456.     </div>
  1457. {% endblock %}
  1458. {% if app.request.attributes.get('_route') not in ['compound_adviser_search_results', 'compound_adviser', 'search', 'property_type_search', 'compound_search'] %}
  1459.     <section class=\"problem\">
  1460.         <a class=\"gtm-btn-report problemButton hidden-xs\"
  1461.            href=\"{{ path('aqarmap_feedback_get') }}\"
  1462.            target=\"_blank\" rel=\"nofollow\">
  1463.             <span class=\"fa fa-smile\"></span>
  1464.             {{ 'problem.problem_help_btn'|trans }}
  1465.         </a>
  1466.     </section><!-- problem Section -->
  1467. {% endif %}
  1468. {% if app.request.attributes.get('_route') not in ['listing_slug', 'compound_adviser_search_results', 'compound_adviser', 'search', 'property_type_search', 'compound_search'] %}
  1469. <div class=\"position-fixed mobile-problem-wrapper visible-xs\">
  1470.     <section class=\"problem mobile-problem-section\">
  1471.         <a class=\"gtm-btn-report mobile-problem-button position-relative\"
  1472.         href=\"{{ path('aqarmap_feedback_get') }}\"
  1473.         target=\"_blank\" rel=\"nofollow\">
  1474.             <span class=\"icon fa fa-question\"></span>
  1475.         </a>
  1476.     </section><!-- problem Section Mobile-->
  1477. </div>
  1478. {% endif %}
  1479. {% block footer %}
  1480.     {% set hiddenFooterRoutes = ['listing_initialize', 'listing_edit', 'listing_upload', 'listing_confirm_publish_credit'] %}
  1481.     {% if app.request.attributes.get('_route') not in hiddenFooterRoutes %}
  1482.         {% include \"footer.v2.html.twig\" %}
  1483.     {% endif %}
  1484. {% endblock %}
  1485. {% block stylesheets -%}
  1486.     {% if  ('layout.direction_code'|trans) == 'rtl' -%}
  1487.         <link href=\"{{ asset('builds/css/bootstrap-rtl.min.css') }}\" rel=\"stylesheet\" media=\"print\" onload=\"this.media='all';this.onload=null;\" />
  1488.     {% endif -%}
  1489.  {% endblock %}
  1490. {% block getTranslations %}
  1491.     {% include \"get-translations.html.twig\" %}
  1492. {% endblock %}
  1493. <!-- Javascript categorized files -->
  1494. {% block categorizedJavascripts %}
  1495.     <script src=\"{{ asset('builds/js/build'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
  1496.     <script defer type=\"application/javascript\" src=\"{{ asset('builds/js/buildTopSellers'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
  1497.     {% if topBar is not null %}
  1498.         {{ encore_entry_script_tags('countdown') }}
  1499.     {% endif %}
  1500. {% endblock %}
  1501. <!-- Javascript files -->
  1502. {% block javascripts %}
  1503.     <script src=\"{{ asset('js/translations/jstranslation/'~ app.request.locale ~'.js') }}\" defer></script>
  1504.     <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  1505.     <!--[if lt IE 9]>
  1506.     <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>
  1507.     <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>
  1508.     <![endif]-->
  1509.     <script type=\"application/javascript\">
  1510.         // Google Tag Manager Data Layer initialization
  1511.         window.dataLayer = window.dataLayer || [];
  1512.         // Translator initialization
  1513.         window.Translator = window.Translator || [];
  1514.     </script>
  1515.     {# Criteo Custom DataLayer #}
  1516.     {% set criteo_custom_datalayer = {'PageType': 'TransactionPage', 'email': ' '} %}
  1517.     {# Criteo DataLayer #}
  1518.     {% set criteo_datalayer = {'PageType': app.request.attributes.get('_route')} %}
  1519.     {% if app.request.attributes.get('_route') == 'search' or app.request.attributes.get('_route') == 'property_type_search' -%}
  1520.         {% set criteo_datalayer = {'PageType': 'search'} %}
  1521.     {% endif %}
  1522.     {% set criteo_datalayer = criteo_datalayer|merge({'email': ' '}) %}
  1523.     {% if app.request.attributes.get('_route') == 'listing_slug' %}
  1524.         {% set criteo_datalayer = {'PageType': 'ListingPage', 'email': ' '} %}
  1525.         {% set criteo_custom_datalayer = criteo_custom_datalayer|merge({'ProductTransactionProducts': [{ 'id': listing.id , 'price': '0.01' , 'quantity': '1' }]}) %}
  1526.         {% set criteo_datalayer = criteo_datalayer|merge({'ListingID': listing.id}) %}
  1527.     <script>
  1528.         \$(document).ready(function () {
  1529.             dataLayer.push({{ criteo_custom_datalayer|json_encode|raw }});
  1530.         });
  1531.     </script>
  1532.     {% if listing.liveChildren is not empty %}
  1533.             {% set criteo_datalayer = criteo_datalayer|merge({'unitsIDs': listing.liveChildrenIDs}) %}
  1534.         {% endif -%}
  1535.     {% endif %}
  1536.     {% if app.request.attributes.get('_route') == 'search' or app.request.attributes.get('_route') == 'property_type_search' -%}
  1537.         {% set criteo_datalayer = criteo_datalayer|merge({'ListingIDList': resultsIDs|slice(1, 3)}) %}
  1538.     {% endif %}
  1539.     <script>
  1540.         \$(document).ready(function () {
  1541.             dataLayer.push({{ criteo_datalayer|json_encode|raw }});
  1542.         });
  1543.     </script>
  1544. {% endblock %}
  1545. {% block fos %}
  1546.     {% if app.debug %}
  1547.         <script src=\"{{ path('fos_js_routing_js', {\"callback\": \"fos.Router.setData\"}) }}\"></script>
  1548.     {% else %}
  1549.         <script src=\"{{ asset('js/fos_js_routes.js') }}\"></script>
  1550.         <script>
  1551.             Routing.setPrefix(\"{{ app.request.locale }}__RG__\");
  1552.         </script>
  1553.     {% endif %}
  1554. {% endblock %}
  1555. {% block extraScripts %}
  1556.     {% if app.request.attributes.get('_route') == 'homepage' %}
  1557.                 <script type=\"application/javascript\" src=\"{{ asset('js/priceFilters.js') }}\"></script>
  1558.     {% endif %}
  1559. {% endblock extraScripts %}
  1560. {% block wootricScript %}
  1561.     {% if isUXVersion %}
  1562.         <!-- begin Wootric code -->
  1563.         <script>
  1564.             window.wootric = function(){};
  1565.         </script>
  1566.         <script type=\"text/javascript\" src=\"https://cdn.wootric.com/wootric-sdk.js\"></script>
  1567.         {% if app.user %}
  1568.             <script id=\"wootricScript\"  type=\"application/javascript\" src=\"{{ asset('builds/js/buildWootric'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
  1569.         {% else %}
  1570.             <script type=\"text/javascript\">
  1571.                 //window.wootric_survey_immediately = true; // Shows survey immediately for testing purposes. TODO: Comment out for production.
  1572.                 window.wootricSettings = {
  1573.                     account_token:  'NPS-8fa9e73b'
  1574.                 };
  1575.                  window.wootric(\"run\");
  1576.             </script>
  1577.         {% endif %}
  1578.     {% else %}
  1579.         <script>
  1580.             \$(document).ready(function () {
  1581.                 {% if app.user %}
  1582.                     dataLayer.push({
  1583.                         'userEmail': '{{ app.user.email }}',
  1584.                         'userCreatedAt': '{{ app.user.createdAt|date('U') }}',
  1585.                     });
  1586.                 {% endif %}
  1587.             });
  1588.         </script>
  1589.     {% endif %}
  1590. {% endblock %}
  1591. {% block facebookLogin %}
  1592. {% endblock %}
  1593. {% block googleLogin %}
  1594.     {% include \"googleLogin.html.twig\" %}
  1595. {% endblock googleLogin %}
  1596. </body>
  1597. </html>
  1598. ""base.html.twig""/srv/moonshot/templates/base.html.twig");
  1599.     }
  1600. }