{% extends twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/search_index.html.twig') %}
{% set home_slider = '1' %}
{% set bannerHome = banner_home %}
{% set urlPag = app.request.uri %}
{% block head_meta_label %}
<meta name="robots" content="index, follow">
{% if '?anchor' in urlPag or '?rtitle' or '?rimage' or '/?' in urlPag %}
<link rel="canonical" href="{{app.request.getSchemeAndHttpHost()}}" />
{% endif %}
{% endblock head_meta_label %}
{% block javascripts %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/mainSearch_js.html.twig') %}
<script type="text/javascript">
var promoType = '{{ promoType }}';
{% if promoTypeRecommendations is defined %}
var promoTypeRecommendations = '{{promoTypeRecommendations}}';
{% endif %}
{% if promoTypeBanner is defined %}
var promoTypeBanners = '{{promoTypeBanner}}';
{% endif %}
{% if promoTypeEscapadas is defined %}
var promoTypeEscapadas = '{{promoTypeEscapadas}}';
{% endif %}
{% if promoTypeExperiencias is defined %}
var promoTypeExperiencias = '{{promoTypeExperiencias}}';
{% endif %}
</script>
{#PIXELES INFORMATION#}
{% if pixel_info.partner_datalayer is defined and app.session.has('whitemark') != 1 %}
{% set pixel_info_search = pixel_info.partner_datalayer %}
{% endif %}
{#{% if pixel_info.dataxpand is defined %}
{% set pixel_info_dataxpand = pixel_info.dataxpand %}
{% endif %}#}
{% if pixel_info.facebook is defined %}
{% set pixel_info_facebook = pixel_info.facebook %}
{% endif %}
{# {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/App/pixels/pixels.html.twig') %} #}
{# JS USING TWIG VARIABLES #}
<script>
var availabilityGetFlightResultsPlain = '{{ path('aviatur_flight_availability_get_results_plain') }}';
var asyncScripts = {
price: '{{ script('FlightBundle//_avail-price-async.js') }}',
fare: '{{ script('FlightBundle//_avail-fare-async.js') }}',
horary: '{{ script('FlightBundle//_avail-horary-async.js') }}'
};
</script>
<script>
{# temporal #}
jQuery(document).ready(function () {
let $bannerMexico = document.querySelector('.js-bannerMexico');
if ($bannerMexico != undefined) {
let queryString = window.location.pathname;
if ($bannerMexico && queryString.indexOf('vuelos') != -1) {
$bannerMexico.classList.add('hide');
}
jQuery(".js-searchButton").click(function() {
$bannerMexico.classList.add('hide');
});
}
});
</script>
<script src="{{ script('common-avail.js') }}"></script>
<script src="{{ script('FlightBundle//flight_availability.js') }}"></script>
{% endblock %}
{% block search_content %}
<div>
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Components/newsletterModal.html.twig')%}
</div>
<div class="search__light wrapper">
<div class="search__light--box-flight" style="margin-left: 5%; margin-right:5%;">
{% if app.session.has('notEnableFlightSearch') == 0 %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Flight/flightSearch_engine.html.twig') %}
{% endif %}
</div>
</div>
<div class="wrapper flex-row hide-palm">
<div class="col-grid text-center js-scroll-down">
<h5 href="#" class="type-white sp-stack--small lg:!text-white" style="text-white;">Descubra promociones</h5>
<span class="material-symbols-outlined type-white sp-stack--big lg:!text-white">expand_more</span>
</div>
</div>
{% endblock %}
{% block promo_content %}
<section class="bg-white pb-4">
<div class="wrapper">
{% if agency_folder.twigFlux() != 'aviatur/Flux' and whitemark is not defined %}
{% include twig_exists('@AviaturTwig/'~ 'default/Flux' ~'/Search/General/search_flights_by_budget_and_cheap_destination.html.twig') %}
{% endif %}
<div class="grid grid-cols-auto grid-cols-16 grid-rows-auto justify-items-center px-4 px-lg-1" style="padding-bottom:1em !important;">
<div class="content-promo_index_box col-span-4 m:col-span-6 s:col-span-12 xs:col-span-12" style=" display: flex; flex-direction: column; align-items: center; justify-content: space-between">
<a href="/contenidos/octopus-destinos">
<div class="grid justify-items-center">
<span class="material-symbols-outlined text-[51px] text-[#ef782d]">map</span>
</div>
<h4> <strong class="font-semibold mt-[20px]">Destino Octopus</strong></h4>
<p class="parrafos_content-promo_index_box px-4 mt-[40px]">Como mayorista, una amplia ofertade producto turistico para su clientela</p>
</a>
</div>
<div class="relative content-promo_index_box col-span-4 m:col-span-6 s:col-span-12 xs:col-span-12" style=" display: flex; flex-direction: column; align-items: center; justify-content: space-between">
<a href="/contenidos/octopus-aliados">
<div class="grid justify-items-center">
<span class="material-symbols-outlined text-[51px] text-[#ef782d]">web_traffic</span>
</div>
<h4> <strong class="font-semibold mt-[20px]">Aliados Octopus</strong></h4>
<p class="parrafos_content-promo_index_box px-4 mt-[40px]">Plataforma de autogestión en linea para su agencia de viajes y su cliente corporativo</p>
</a>
</div>
<div class="relative content-promo_index_box col-span-4 m:col-span-6 s:col-span-12 xs:col-span-12" style=" display: flex; flex-direction: column; align-items: center; justify-content: space-between">
<a href="/contenidos/octopus-puntos">
<div class="grid justify-items-center">
<span class="material-symbols-outlined text-[51px] text-[#ef782d]">scatter_plot</span>
</div>
<h4> <strong class="font-semibold mt-[20px]">Puntos Octopus</strong> </h4>
<p class="parrafos_content-promo_index_box px-4 mt-[40px]">Programa de lealtad que premia a las agencias y vendededores aliados</p>
</a>
</div>
<div class="relative content-promo_index_box col-span-4 m:col-span-6 s:col-span-12 xs:col-span-12" style=" display: flex; flex-direction: column; align-items: center; justify-content: space-between">
<a href="/contenidos/octopus-soluciones">
<div class="grid justify-items-center">
<span class="material-symbols-outlined text-[51px] text-[#ef782d]">http</span>
</div>
<h4>
<strong class="font-semibold mt-[20px]">Soluciones en linea</strong>
</h4>
<p class="parrafos_content-promo_index_box px-4 mt-[40px]">Su agencia para vender por internet</p>
</a>
</div>
{# <div class="relative content-promo_index_box col-start-3 m:col-span-5 col-end-7 s:!hidden xs:!hidden" style=" display: flex; flex-direction: column; align-items: center; justify-content: space-between">
<a href="/contenidos/octopus-puntos">
<div class="grid justify-items-center">
<span class="material-symbols-outlined text-[51px] text-[#ef782d]">http</span>
</div>
<h4> <strong class="font-semibold mt-[20px]">Soluciones en linea</strong> </h4>
<p class="parrafos_content-promo_index_box px-4 mt-[40px]">Su agencia para vender por internet</p>
</a>
</div> #}
</div>
{# <div class="form-group search__light-octopus-link">
{% if app.user is not null %}
{% if is_granted('ROLE_AVIATUR_ADMIN_ADMIN_AGENT_OPERATOR')%}
<a href="{{ path('octopus_ally_menu_index') }}" class="search__footer__submit btn btn--full btn--submit js-searchButton">Aliados Octopus <br> Inscríbete aquí</a>
{% else %}
<a href="/registro-agente" class="search__footer__submit btn btn--full btn--submit js-searchButton">Aliados Octopus <br> Inscríbete aquí</a>
{% endif %}
{% else %}
<a href="https://{{app.session.get('domainsecure')}}/login" class="search__footer__submit btn btn--full btn--submit js-searchButton">Aliados Octopus <br> Inscríbete aquí</a>
{% endif %}
</div> #}
{# <div class="grid grid-cols-auto grid-cols-12 grid-rows-auto justify-items-center px-4 px-lg-1" style="padding-bottom:1em !important;">
<div class="content-promo_index_box col-span-4 m:col-span-6 s:col-span-12 xs:col-span-12" style=" display: flex; flex-direction: column; align-items: center; justify-content: space-between">
<a href="/contenidos/octopus-destinos">
<div class="grid justify-items-center">
<span class="material-symbols-outlined text-[51px] text-[#ef782d]">map</span>
</div>
<h4> <strong class="font-semibold mt-[20px]">Destino Octopus</strong></h4>
<p class="parrafos_content-promo_index_box px-4 mt-[40px]">Como mayorista, una amplia ofertade producto turistico para su clientela</p>
</a>
</div>
<div class="relative content-promo_index_box col-span-4 m:col-span-6 s:col-span-12 xs:col-span-12" style=" display: flex; flex-direction: column; align-items: center; justify-content: space-between">
<a href="https://portal.aviatur.com/contenidos/preguntas-frecuentes">
<div class="grid justify-items-center">
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50" fill="none">
<mask id="mask0_1881_10819" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="50" height="50">
<rect width="50" height="50" fill="#D9D9D9"/></mask><g mask="url(#mask0_1881_10819)">
<path d="M14.8915 35.1083L9.96363 32.424C9.66183 32.2691 9.49155 32.032 9.4528 31.7129C9.41409 31.3937 9.50692 31.122 9.73129 30.8976L10.216 30.4329C10.3282 30.3207 10.4598 30.2419 10.6107 30.1965C10.7616 30.1511 10.9038 30.1458 11.0373 30.1805L15.5606 30.8255L23.946 22.4401L9.75931 14.7317C9.35869 14.5207 9.12497 14.1902 9.05816 13.7402C8.99139 13.2901 9.11961 12.9035 9.4428 12.5803L9.84343 12.1797C10.0197 12.0034 10.222 11.8839 10.4504 11.8212C10.6787 11.7584 10.9158 11.755 11.1615 11.8111L29.7673 16.5547L36.9226 9.4434C37.4194 8.94663 38.027 8.69824 38.7455 8.69824C39.464 8.69824 40.0716 8.94663 40.5684 9.4434C41.0652 9.9402 41.3136 10.5512 41.3136 11.2763C41.3136 12.0015 41.0652 12.6124 40.5684 13.1092L33.4651 20.2526L38.1887 38.7742C38.2448 39.0413 38.2394 39.2997 38.1726 39.5494C38.1059 39.7991 37.9777 40.0188 37.788 40.2084L37.5877 40.4088C37.2218 40.7747 36.7911 40.9222 36.2957 40.8515C35.8002 40.7807 35.4296 40.5169 35.1839 40.0602L27.5597 26.0738L19.2144 34.4192L19.8394 38.8983C19.8741 39.088 19.8601 39.267 19.7973 39.4352C19.7345 39.6035 19.6363 39.7544 19.5028 39.8879L19.3025 40.0882C19.0221 40.3687 18.6922 40.4829 18.313 40.4308C17.9337 40.3787 17.6492 40.1804 17.4596 39.8358L14.8915 35.1083Z" fill="#005CB9"/></g>
</svg>
</div>
<h4><strong class="font-semibold">Vuelos</strong></h4>
<p class="parrafos_content-promo_index_box px-4">Compre fácil, múltiples opciones y descuentos disponibles.</p>
</a>
<a class="b-main" style="text-decoration: underline;" href="https://portal.aviatur.com/contenidos/preguntas-frecuentes">Ver todo</a>
</div>
<div class="relative content-promo_index_box col-span-4 m:col-span-6 s:col-span-12 xs:col-span-12" style=" display: flex; flex-direction: column; align-items: center; justify-content: space-between">
<a href="https://portal.aviatur.com/contenidos/preguntas-frecuentes">
<div class="grid justify-items-center">
<svg xmlns="http://www.w3.org/2000/svg" width="41" height="40" viewBox="0 0 41 40" fill="none">
<mask id="mask0_1881_10828" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="41" height="40">
<rect x="0.5" width="40" height="40" fill="#D9D9D9"/>
</mask>
<g mask="url(#mask0_1881_10828)">
<path d="M20.5 37.4999C17.25 37.4999 14.3007 36.6954 11.6522 35.0864C9.00372 33.4774 6.92627 31.3214 5.41988 28.6184V32.3396C5.41988 32.6943 5.30023 32.9913 5.06092 33.2306C4.82159 33.4699 4.52457 33.5896 4.16988 33.5896C3.81521 33.5896 3.51821 33.4699 3.27888 33.2306C3.03957 32.9913 2.91992 32.6943 2.91992 32.3396V25.9294C2.91992 25.4999 3.06362 25.1415 3.35101 24.8541C3.63839 24.5667 3.99684 24.423 4.42634 24.423H10.8366C11.1913 24.423 11.4883 24.5427 11.7276 24.782C11.9669 25.0213 12.0865 25.3183 12.0865 25.673C12.0865 26.0277 11.9669 26.3247 11.7276 26.564C11.4883 26.8033 11.1913 26.9229 10.8366 26.9229H7.35251C8.55764 29.3503 10.3386 31.3033 12.6955 32.782C15.0523 34.2606 17.6538 35 20.5 35C24.3739 35 27.7179 33.7211 30.532 31.1634C33.3462 28.6057 34.969 25.4134 35.4006 21.5865C35.4455 21.2382 35.5919 20.9562 35.8398 20.7404C36.0876 20.5246 36.3857 20.4167 36.734 20.4167C37.0887 20.4167 37.3873 20.5358 37.6298 20.774C37.8723 21.0123 37.9711 21.297 37.9262 21.6282C37.7211 23.8611 37.126 25.9396 36.141 27.8637C35.1559 29.7878 33.884 31.4641 32.3253 32.8925C30.7665 34.321 28.9781 35.446 26.9599 36.2675C24.9418 37.0891 22.7885 37.4999 20.5 37.4999ZM20.5 4.99996C16.6902 4.99996 13.3649 6.26011 10.524 8.78042C7.68324 11.3007 6.04169 14.5064 5.59938 18.3974C5.55449 18.7457 5.40812 19.0304 5.16026 19.2515C4.91242 19.4727 4.61437 19.5833 4.26609 19.5833C3.9007 19.5833 3.59942 19.4641 3.36226 19.2259C3.12506 18.9877 3.02891 18.6976 3.0738 18.3557C3.3003 16.0801 3.91407 13.9775 4.91513 12.048C5.91619 10.1186 7.1961 8.44764 8.75488 7.03525C10.3136 5.62286 12.0967 4.51389 14.1042 3.70833C16.1117 2.90278 18.2436 2.5 20.5 2.5C23.718 2.5 26.6672 3.30717 29.3478 4.9215C32.0284 6.53583 34.1058 8.71054 35.5801 11.4456V7.66029C35.5801 7.3056 35.6998 7.0086 35.9391 6.76929C36.1784 6.52999 36.4754 6.41033 36.8301 6.41033C37.1848 6.41033 37.4818 6.52999 37.7211 6.76929C37.9604 7.0086 38.0801 7.3056 38.0801 7.66029V14.0705C38.0801 14.5 37.9364 14.8584 37.649 15.1458C37.3616 15.4332 37.0032 15.5769 36.5737 15.5769H30.1634C29.8088 15.5769 29.5118 15.4573 29.2724 15.218C29.0331 14.9787 28.9135 14.6817 28.9135 14.327C28.9135 13.9723 29.0331 13.6753 29.2724 13.436C29.5118 13.1967 29.8088 13.077 30.1634 13.077H33.6475C32.4744 10.6923 30.7068 8.75 28.3446 7.25C25.9824 5.74997 23.3675 4.99996 20.5 4.99996ZM20.532 29.2788C21.0085 29.2788 21.4108 29.1148 21.7388 28.7868C22.0668 28.4588 22.2308 28.0565 22.2308 27.58C22.2308 27.1036 22.0668 26.6971 21.7388 26.3605C21.4108 26.024 21.0085 25.8558 20.532 25.8558C20.0556 25.8558 19.6533 26.0197 19.3253 26.3477C18.9974 26.6757 18.8334 27.0779 18.8334 27.5544C18.8334 28.0309 18.9974 28.4374 19.3253 28.774C19.6533 29.1105 20.0556 29.2788 20.532 29.2788ZM23.4487 19.5993C24.3354 18.7126 24.9439 17.9759 25.274 17.3894C25.6041 16.8028 25.7692 16.1143 25.7692 15.3237C25.7692 13.8857 25.2697 12.7377 24.2708 11.8798C23.2719 11.0219 22.0363 10.593 20.5641 10.593C19.5385 10.593 18.6218 10.8114 17.8141 11.2484C17.0064 11.6854 16.3408 12.3162 15.8173 13.141C15.6379 13.4273 15.6031 13.7334 15.7132 14.0593C15.8232 14.3851 16.03 14.61 16.3333 14.7339C16.6368 14.8579 16.9316 14.8467 17.218 14.7003C17.5043 14.5539 17.7543 14.3461 17.9679 14.0769C18.2671 13.6795 18.6378 13.3648 19.0801 13.133C19.5224 12.9011 20.0064 12.7852 20.532 12.7852C21.3462 12.7852 22.0315 13.0245 22.5882 13.5032C23.1448 13.9818 23.4231 14.6143 23.4231 15.4006C23.4231 15.9156 23.296 16.4038 23.0417 16.8654C22.7874 17.3269 22.3419 17.8451 21.7052 18.4198C21 19.0737 20.4765 19.6869 20.1346 20.2596C19.7928 20.8322 19.5631 21.4562 19.4455 22.1314C19.4007 22.4519 19.4851 22.7371 19.6988 22.9871C19.9124 23.2371 20.188 23.3621 20.5256 23.3621C20.8462 23.3621 21.1133 23.2398 21.3269 22.9951C21.5406 22.7505 21.6923 22.4679 21.782 22.1474C21.8825 21.6752 22.062 21.2558 22.3205 20.8894C22.579 20.5229 22.9551 20.0929 23.4487 19.5993Z" fill="#005CB9"/>
</g>
</svg>
</div>
<h4> <strong class="font-semibold">Cambios y devoluciones </strong></h4>
<p class="parrafos_content-promo_index_box px-4" style="margin:0px;">Cambios y cancelaciones sujetos a políticas</p>
</a>
<a class="b-main" style="text-decoration: underline;" href="https://portal.aviatur.com/contenidos/preguntas-frecuentes">Ver todo</a>
</div>
<div class="relative content-promo_index_box col-start-3 m:col-span-5 col-end-7 s:!hidden xs:!hidden" style=" display: flex; flex-direction: column; align-items: center; justify-content: space-between">
<a href="https://portal.aviatur.com/contenidos/preguntas-frecuentes">
<div class="grid justify-items-center">
<svg xmlns="http://www.w3.org/2000/svg" width="49" height="48" viewbox="0 0 49 48" fill="none">
<mask id="mask0_1881_10837" style="mask-type:alpha" maskunits="userSpaceOnUse" x="0" y="0" width="49" height="48">
<rect x="0.5" width="48" height="48" fill="#D9D9D9"/>
</mask>
<g mask="url(#mask0_1881_10837)">
<path d="M8.498 33.5766V37.3842C8.498 37.5381 8.5621 37.6792 8.6903 37.8074C8.81853 37.9356 8.95958 37.9997 9.11345 37.9997H39.8825C40.0364 37.9997 40.1775 37.9356 40.3057 37.8074C40.4339 37.6792 40.498 37.5381 40.498 37.3842V33.5766H8.498ZM15.498 12.9997V9.38439C15.498 8.37416 15.848 7.51904 16.548 6.81904C17.248 6.11904 18.1032 5.76904 19.1134 5.76904H29.8825C30.8928 5.76904 31.7479 6.11904 32.4479 6.81904C33.1479 7.51904 33.4979 8.37416 33.4979 9.38439V12.9997H39.8825C40.8928 12.9997 41.7479 13.3497 42.4479 14.0497C43.1479 14.7497 43.4979 15.6049 43.4979 16.6151V37.3842C43.4979 38.3945 43.1479 39.2496 42.4479 39.9496C41.7479 40.6496 40.8928 40.9996 39.8825 40.9996H9.11345C8.10318 40.9996 7.24805 40.6496 6.54805 39.9496C5.84805 39.2496 5.49805 38.3945 5.49805 37.3842V16.6151C5.49805 15.6049 5.84805 14.7497 6.54805 14.0497C7.24805 13.3497 8.10318 12.9997 9.11345 12.9997H15.498ZM8.498 28.4228H40.498V16.6151C40.498 16.4613 40.4339 16.3202 40.3057 16.192C40.1775 16.0638 40.0364 15.9997 39.8825 15.9997H33.4979V18.1151C33.4979 18.5407 33.3543 18.8971 33.0671 19.1843C32.78 19.4715 32.4236 19.615 31.9979 19.615C31.5723 19.615 31.2159 19.4715 30.9287 19.1843C30.6416 18.8971 30.498 18.5407 30.498 18.1151V15.9997H18.498V18.1151C18.498 18.5407 18.3544 18.8971 18.0672 19.1843C17.7801 19.4715 17.4237 19.615 16.998 19.615C16.5724 19.615 16.216 19.4715 15.9288 19.1843C15.6416 18.8971 15.498 18.5407 15.498 18.1151V15.9997H9.11345C8.95958 15.9997 8.81853 16.0638 8.6903 16.192C8.5621 16.3202 8.498 16.4613 8.498 16.6151V28.4228ZM18.498 12.9997H30.498V9.38439C30.498 9.23056 30.4339 9.08952 30.3057 8.96129C30.1775 8.83309 30.0364 8.76899 29.8825 8.76899H19.1134C18.9596 8.76899 18.8185 8.83309 18.6903 8.96129C18.5621 9.08952 18.498 9.23056 18.498 9.38439V12.9997ZM8.498 37.3842V15.9997H9.11345C8.95958 15.9997 8.81853 16.0638 8.6903 16.192C8.5621 16.3202 8.498 16.4613 8.498 16.6151V37.3842C8.498 37.5381 8.5621 37.6792 8.6903 37.8074C8.81853 37.9356 8.95958 37.9997 9.11345 37.9997H8.498V37.3842Z" fill="#005CB9"/></g>
</svg>
</div>
<h4>
<strong class="font-semibold">Mis viajes</strong>
</h4>
<p class="parrafos_content-promo_index_box px-4">Paga a cuotas, planes a medida y viaja protegido con asistencia integral.</p>
</a>
<a class="b-main" style="text-decoration: underline;" href="https://portal.aviatur.com/contenidos/preguntas-frecuentes">Ver todo</a>
</div> #}
</div>
<div class="wrapper">
</div>
{% if bannerHome is defined and bannerHome == 1%}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoBanner.html.twig') with {'homePromos': homePromos, 'titlePromo':titlePromo, 'subtitlePromo':subtitlePromo, 'promoType':promoType} %}
{% endif %}
</section>
<link href="{{absolute_url(asset('assets/aviatur_assets/css/scss/_objects.sliderNew.scss'))}}" rel="stylesheet"/>
{% if homePromos is defined and homePromos != null %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoVerticalImage.html.twig') with {'homePromos': homePromos, 'titlePromo':titlePromo, 'subtitlePromo':subtitlePromo, 'promoType':promoType} %}
{% endif %}
{# {% if homePromos is defined and homePromos != null and home_slider == '1'%}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoSlider.html.twig') with {'homePromos': homePromos, 'titlePromo':titlePromo, 'subtitlePromo':subtitlePromo, 'promoType': promoType} %}
{% endif %}
{# {% if homePromosBanner is defined and homePromosBanner != null and home_slider == '1' %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoHtmlSlider.html.twig') with {'homePromos': homePromosBanner, 'titlePromo':titlePromoBanner, 'subtitlePromo': subtitlePromoBanner, 'promoType': promoTypeBanner, 'background':'#eee'} %}
{% endif %} #}
{# {% if homePromosEscapadas is defined and homePromosEscapadas != null %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoCards.html.twig') with {'homePromos': homePromosEscapadas, 'titlePromo':titlePromoEscapadas, 'subtitlePromo':subtitlePromoEscapadas, 'promoType':promoTypeEscapadas} %}
{% endif %} #}
{#
{% if homePromosExperiencias is defined and homePromosExperiencias != null %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoHtmlSlider.html.twig') with {'homePromos': homePromosExperiencias, 'titlePromo':titlePromoExperiencias, 'subtitlePromo':subtitlePromoExperiencias, 'promoType':promoTypeExperiencias, 'background':'#eee'} %}
{% endif %} #}
{# {% if homePromosRecommendations is defined and homePromosRecommendations!=null %}
<div>
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/recommended-home.html.twig') with {'homePromos': homePromosRecommendations, 'titlePromo':titlePromoRecommendations, 'subtitlePromo': subtitlePromoRecommendations, 'promoType':promoTypeRecommendations} %}
</div>
{% endif %} #}
{% if app.session.has('operatorId') != 1 and app.session.has('whitemark') != 1%}
{{ parent() }}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/mainSearch_promo.html.twig') %}
{% endif %}
<div class="wrapper">
<section id="resumeSearchFlight" class="resume-search relative clearfix resume-search--flight !mb-0">
<div class="resume-search__engine js-newSearchEngine hidden-all">
<span class="resume-search__engine__close js-closeSearchEngine">
<i class="icon icon_search_close"></i>
</span>
</div>
<div id="resumeSearchFlight1"></div>
</section>
<div class="dispo-shared__topbar js-topbarOptions" style="display:none"></div>
<div class="datap"></div>
<div class="relative dispo-shared__content-full-width" style='display: none'>
<div class="js-flightLoader" style="display:none;">
{% set loading = twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Components/component_loadingWorld.html.twig') %}
{{ include (loading, {'spinText':"Buscando vuelos ..."}) }}
</div>
<div class="dispo-shared__results dispo__flight">
<div class="dispo-shared__results-spinner js-resultsSpinner" style="display:none;">
<svg class="mat-loader--200 center-block" height="200" width="200">
<circle class="mat-loader--200__path" cx="100" cy="100" r="80" fill="none" stroke-width="6" stroke-miterlimit="10"/>
</svg>
</div>
<div id="results">
<div id="flight-results" class="dispo-shared__recommendations" style="display:none;"></div>
<div class="clearfix js-paginatorTarget" style="display:none;"></div>
</div>
</div>
</div>
</div>
<div id="js-panel-detailAvailability" class="slidePanel slidePanel--left">
<div class="slidePanel-header">
<button type="button" class="btn btn--accent close-slidePanel" data-panel="#js-panel-detailAvailability">
<i class="icon icon_chevron_left"></i>
Volver
</button>
</div>
<div class="slidePanel-body is-withHeader">
<div id="js-spinner-detailAvailability" class="overlay overlay--inDiv" style="display: none;">
<div class="overlay-center">
<div id="js-spinOverlay-detailAvailability" class="spinOverlayLoading"></div>
<p class="spin-text js-globalOverlay-text">Cargando...</p>
</div>
</div>
<div id="js-body-detailAvailability"></div>
</div>
</div>
{% endblock %}
{% block javascripts_bottom %}
<script>
var cookieLastSearch
= {{cookieLastSearch|json_encode|raw}};
var dateEndCencosud = '2018-06-30';
var originIATA = ['BOG', 'CLO', 'SMR', 'BGA', 'BAQ', 'CTG', 'CUC', 'LET', 'MDE', 'MTR', 'PEI', 'ADZ', 'VUP', 'EYP'];
var destinationIATA = ['ANF', 'CJC', 'COR', 'PMC', 'SCL', 'AQP', 'CUZ', 'JUL', 'LIM', 'BUE', 'FTE', 'IGR', 'ANF', 'RIO', 'SAO', 'IGU', 'CWB', 'POA', 'SYD', 'MEL', 'BNE', 'AKL', 'LPB', 'ASU', 'MVD', 'VVI', 'USH', 'FOR', 'REC', 'BSB', 'SSA', 'IGR', 'IQQ', 'PUQ', 'MAO', 'RGL', 'PPT', 'FLN', 'UIO', 'GYE', 'LSC', 'TUC', 'CCP', 'PCL', 'ZCO', 'ARI', 'AUA', 'CUN', 'MIA'].concat(originIATA);
var agencyFolder = '{{agency_folder.twigFlux()}}';
var detailUrl = '{{ safeUrl }}{{ path('aviatur_flight_detail_validation_secure') }}';
var availabilityExtendsResults = '{{ path('aviatur_flight_extend_avail') }}';
{% if pixel_info is defined and pixel_info.kayakclickid is defined %}
detailUrl += '?kayakclickid={{ pixel_info.kayakclickid }}';
{% endif %}
{% if pixel_info is defined and pixel_info.webbing is defined %}
detailUrl += '?webbing={{ pixel_info.webbing }}';
{% endif %}
document.addEventListener("DOMContentLoaded", function() {
const scrollElement = document.getElementsByClassName('js-scroll-down')['0'];
scrollElement.addEventListener('click', function () {
//const section2 = document.getElementsByClassName('search_promo')['0'];
const section2 = document.getElementById('Paquetes');
const section2Position = section2.offsetTop;
window.scrollTo({
top: section2Position,
behavior: 'smooth'
});
});
});
</script>
{% if parameters['aviatur_xtreme_search_enabled'] is defined and parameters['aviatur_xtreme_search_enabled'] == 1 %}
<script>
var xtremeSearchUrl = '{{ parameters['aviatur_xtreme_search_url'] }}';
</script>
{% endif %}
{{ parent() }}
{#{% if app.session.get('domain') == 'aviatur.com' %}
<script type="text/javascript" src="//static.clicktripz.com/custom/aviatur/cti_aviatur.js" async defer></script>
{% endif %}#}
{% endblock javascripts_bottom %}