webpackJsonp([2],{0:function(){},"2Y5D":function(e,t,i){"use strict";(function(e,t){var a=i("vHEw"),s=function(){ga("send","event","ga-cta","click","submit")},r=function(){!window.dataLayer||setTimeout(function(){window.dataLayer.push({event:"optimize.activate"})},0)};e(document).ready(function(){!1!==a.a.session.hasOperatorId||t.ui._isMobile()||(e.subscribe("/paginator/switch",function(){r()}),e.subscribe("/flux/submit",function(){s()}))})}).call(t,i("86YC"),i("T6cr"))},"4+Tc":function(e,t,i){var a=i("MYit").twig,s=a({id:"cb208c64df1f5a3109ec3fb7ec90f18451cb15fae2614648bfa7c0a2d12b6711c38ef776006cd0d3bbfc8a738734249cfccda265c28c61b4dea43a473e11bd65",data:[{type:"raw",value:"<div class=\"text-center\" style=\"padding:72px 18px;background-color:rgba(0,0,0,.017);\">\n    "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"message",match:["message"]},{type:"Twig.expression.type.test",filter:"defined"},{type:"Twig.expression.type.variable",value:"message",match:["message"]},{type:"Twig.expression.type.string",value:""},{type:"Twig.expression.type.operator.binary",value:"!=",precidence:9,associativity:"leftToRight",operator:"!="},{type:"Twig.expression.type.operator.binary",value:"and",precidence:13,associativity:"leftToRight",operator:"and"}],output:[{type:"raw",value:"        "},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"message",match:["message"]}]},{type:"raw",value:"<br>\n    "}]}},{type:"logic",token:{type:"Twig.logic.type.else",match:["else"],output:[{type:"raw",value:"        Ocurri\xF3 un error inesperado, por favor int\xE9ntalo nuevamente.\n    "}]}},{type:"raw",value:"    "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"errorCode",match:["errorCode"]},{type:"Twig.expression.type.test",filter:"defined"},{type:"Twig.expression.type.variable",value:"errorCode",match:["errorCode"]},{type:"Twig.expression.type.string",value:""},{type:"Twig.expression.type.operator.binary",value:"!=",precidence:9,associativity:"leftToRight",operator:"!="},{type:"Twig.expression.type.operator.binary",value:"and",precidence:13,associativity:"leftToRight",operator:"and"}],output:[{type:"raw",value:"        <small class=\"type-grey\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"errorCode",match:["errorCode"]}]},{type:"raw",value:"</small>\n    "}]}},{type:"raw",value:"    \n</div>"}],allowInlineIncludes:!0,rethrow:!0});e.exports=function(e){return s.render(e)}},"5M89":function(e,t,i){"use strict";(function(e,a){i.d(t,"a",function(){return p}),i.d(t,"c",function(){return o}),i.d(t,"b",function(){return n});var s=i("4+Tc"),r=i.n(s),p=function(t,i){t=t||200,i=i||AVflight.ffType(),AVflight.loaded=!1;var s=window.location.href;e.ajax({url:ajaxUrlFlightAvail,async:!0,cache:!1,data:{maxResults:t,ffType:i,url_product:s},success:function(e){if(a.obj.isEmpty(e))o(i);else if(e.error)y(AVflight.results,e);else{var t=m(e);t?l(e,t):l(e,i)}},error:function(){o(i)},complete:function(){e(".js-flightLoader").hide()}}),e.publish("/flight-avail/request",[i])},o=function t(i,a){return i=i||AVflight.ffType(),a=a||e("input[name='flightTransactionID']").val()||null,null===a?(0<AVflight.availRetries?(AVflight.availRetries--,p()):y(AVflight.results,AVflight.data),!1):void(AVflight.loaded=!1,e.ajax({url:availabilityGetFlightResultsPlain+"/"+a,async:!0,cache:!1,data:{ffType:i},success:function(e){e.retry?setTimeout(function(){t(i)},2500):e.error?0<AVflight.availRetries?(AVflight.availRetries--,p()):y(AVflight.results,AVflight.data):l(e,i)},error:function(){setTimeout(function(){t(i)},2500)},complete:function(){e(".js-flightLoader").hide()}}),e.publish("/flight-avail/request",[i]))},n=function t(i,a){"undefined"!=typeof availabilityGetCalendar&&("loaded"===i.data("state")?i.data("state","reloading"):("error"===i.data("state")&&i.empty(),i.data("state","loading")),e.ajax({type:"POST",url:availabilityGetCalendar,async:!0,cache:!1,data:{ajaxUrlAvail:ajaxUrlFlightAvail},success:function(e){-1<e.indexOf("error")?(i.data("state","error"),y(i.get(0))):(i.data("state","loaded").html(e),g(i),u(i),v(i))},error:function(){setTimeout(function(){t(i,a)},2500)},complete:function(){a?e(".js-flightLoader").hide():_removeSpinner("js-targetCalendar")}}))},l=function(t,i){i=i||AVflight.ffType();var a=e(".js-ffOptions");if(t.attributes){var s="undefined"===t.attributes.AvailabilityType.has_ff?null:t.attributes.AvailabilityType.has_ff;if(a.length&&s){var r=a.find(".js-ffOption.active");if(r.length&&r.data("fftype")!==i)return;a.find(".js-ffOption").removeClass("active").filter("[data-fftype^=\""+i+"\"]").addClass("active"),a.data("state","loaded").show()}AVflight.data=t,AVflight.loaded=!0,AVflight.hasFF=s,AVflight.enableAlerts=t.enableAlerts,AVflight.front=t.front,e.publish("/render/complete",["flight",i])}else{}},y=function(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};e(t).css({display:"none"}).empty().html(r()(i)).css({display:""})},g=function(t){var i,a=t,s=a.find(".js-optionPrice"),r={price:Infinity,e:{}};s.each(function(){i=+e(this).data("price"),i<r.price&&(r={price:i,e:e(this)})}),d(r.e,r.e.closest(".js-calendarOption")),setTimeout(function(){c(a,s,r)},180)},c=function(t,a,s){var r,p,o=parseFloat(t.find(".selected-date .js-optionPrice").data("price")),n=[],l="",y=1;a.each(function(){return r=+e(this).data("price"),p=e(this).closest(".js-calendarOption"),!!(r>o)||void(r===s.price?d(e(this),p):p.hasClass("selected-date")||n.push({price:r,parent:p,e:e(this)}))}),n.sort(function(e,t){return e.price-t.price});for(var g=0;g<n.length&&!("undefined"!=typeof n[g-1]&&(n[g].parent.addClass("color-black bg-white"),n[g].price!==n[g-1].price&&(y++,4==y)));g++)2==y?(l="--2",n[g].parent.addClass("color-00A870 bg-EEFFF9")):3==y?(l="--3",n[g].parent.addClass("color-00A870 bg-EEFFF9")):void 0,n[g].parent.addClass("color-00A870 bg-EEFFF9")},d=function(t,e){t.children(".tooltips-content").remove(),t.addClass("tooltips").append(AVflight.tooltipBestPrice),e.addClass("color-00A870 bg-EEFFF9")},u=function(t){var i={clear:!1,reinit:!1};t.on("mouseenter","td:not(.disabled)",function(){var a=e(this).attr("class").match(/(?:\b|^)col[0-9](?:\b|$)/),s=e(this).attr("id"),r=e(this).nextAll();t.find(".is-active").removeClass("is-active"),t.find("."+a).each(function(){return e(this).attr("id")!==s&&void(r=r.add(e(this)))}),r.each(function(){e(this).addClass("is-active")}),i={clear:!0,reinit:!1}}),t.on("mouseleave","td:not(.disabled)",function(){i.reinit=!0,i.clear&&(t.find(".is-active").removeClass("is-active"),i.clear=!1),setTimeout(function(){i.reinit&&t.find(".selected-day--departure.row-head, .selected-day--return.column-head").addClass("is-active")},50)})},v=function(t){var i=t.find(".calendar-next, .calendar-prev"),a=!1;i.on("click",function(){if(!e(this).hasClass("disabled")&&!a){var s=this;a=!0,i.removeClass("disabled btn--static"),e(this).hasClass("calendar-next")?(t.find(".active-first").css("font-size","0").stop().animate({width:"toggle"},200,function(){e(this).css("font-size","").removeClass("active-first").addClass("inactive")}),t.find(".active-second").removeClass("active-second").addClass("active-first").next().css("font-size","0").stop().animate({width:"toggle"},400,function(){e(this).css("font-size","").removeClass(".inactive").addClass("active-second"),e(this).next().length||e(s).addClass("disabled btn--static"),a=!1})):(t.find(".active-second").css("font-size","0").stop().animate({width:"toggle"},200,function(){e(this).css("font-size","").removeClass("active-second").addClass("inactive")}),t.find(".active-first").removeClass("active-first").addClass("active-second").prev().css("font-size","0").stop().animate({width:"toggle"},400,function(){e(this).css("font-size","").removeClass(".inactive").addClass("active-first"),e(this).prev().not(".column-head").length||e(s).addClass("disabled btn--static"),a=!1}))}})},m=function(t){return!!(0<e(".page__body .search_promo").length)&&void(e(".js-toogleCalendar").hide(),t.urlDescription.providerInfo&&!t.urlDescription.multi?e(".js-toogleCalendar").show():e(".js-toogleCalendar").remove(),("aviatur_flight_round"===t.AvailabilityArray.route||"aviatur_flight_oneway"===t.AvailabilityArray.route)&&"1"===t.enableAlerts?(e("#alertCheckbox").show(),e("body").append(t.modal)):(e("#recomendacion-best-dates").remove(),e("#alertCheckbox").remove()),""===t.urlDescription.short&&""===t.urlDescription.long?e(".toogleInfoDisplay").remove():(e(".toogleInfoDisplay1").html(t.urlDescription.short),e(".toogleInfoDisplay2").html(t.urlDescription.long)),e(".js-ffOption").each(function(){if(!e(this).hasClass("active")&&"price"===e(this).data("fftype"))return"price"}))}}).call(t,i("86YC"),i("T6cr"))},FRZn:function(e,t,i){var a=i("MYit").twig,s=a({id:"b92e8dacc92609e7ffac8656d500bbc45cf2fb05ba9a7aded709d4f9090f90aabc4d8b274390e1bea3c7c034978660b2ccaced296b800ecfbedadd4533cfcc65",data:[{type:"raw",value:"\n"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"app",match:["app"]},{type:"Twig.expression.type.key.period",key:"request"},{type:"Twig.expression.type.key.period",key:"attributes"}]},{type:"raw",value:"\n"},{type:"logic",token:{type:"Twig.logic.type.set",key:"isDetailView",expression:[{type:"Twig.expression.type.bool",value:!1}]}},{type:"raw",value:"\n"},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"showFareInfo",match:["showFareInfo"]},{type:"Twig.expression.type.test",filter:"defined",modifier:"not"}],output:[{type:"raw",value:"    "},{type:"logic",token:{type:"Twig.logic.type.set",key:"showFareInfo",expression:[{type:"Twig.expression.type.bool",value:!0}]}}]}},{type:"raw",value:"\n<script>\nvar partes = ajaxUrlFlightAvail.split('/');\nvar fechas = partes[3];\nvar iataDestiny = partes[2].split('-')[1];\nvar passengers = partes[4].split('-')[0];\nvar fechasSeparadas = fechas.split('+');\nvar fecha1 = fechasSeparadas[0];\nvar fecha2 = fechasSeparadas[1];\n    \nif(fecha2 === undefined || fecha2 === null ){\n    jQuery(\"#copyEndDetail\").hide();\n}\nvar allTextSuggest = `${fecha1.split('-').reverse().join('/')} - ${fecha2.split('-').reverse().join('/')} dando`;\njQuery(\".js-suggestClik\").attr(\"href\", `/hoteles/${iataDestiny}/${fecha1}+${fecha2}/${passengers}+n`);\njQuery(\".js-suggestText\").text(allTextSuggest);\n\n</script>\n\n<section class=\"h-full mt-7\">\n    "},{type:"logic",token:{type:"Twig.logic.type.for",keyVar:null,valueVar:"flight",expression:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]}],output:[{type:"raw",value:"        "},{type:"logic",token:{type:"Twig.logic.type.set",key:"TypeFligth",expression:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"RefNumber"}]}},{type:"raw",value:"        "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"flightStep",match:["flightStep"]},{type:"Twig.expression.type.test",filter:"defined"}],output:[{type:"raw",value:"            <input type=\"hidden\" name=\"CDD[date_"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flightStep",match:["flightStep"]}]},{type:"raw",value:"]\" class=\"CDD_date_"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flightStep",match:["flightStep"]}]},{type:"raw",value:"\" value=\""},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"DepartureDateTime"},{type:"Twig.expression.type.filter",value:"trans",match:["|trans","trans"]},{type:"Twig.expression.type.filter",value:"slice",match:["|slice","slice"],params:[{type:"Twig.expression.type.parameter.start",value:"(",match:["("]},{type:"Twig.expression.type.number",value:0,match:["0",null]},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.number",value:10,match:["10",null]},{type:"Twig.expression.type.parameter.end",value:")",match:[")"],expression:!1}]}]},{type:"raw",value:"\"/>\n            <input type=\"hidden\" name=\"CDD[flight_number_"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flightStep",match:["flightStep"]}]},{type:"raw",value:"]\" class=\"CDD_flight_number_"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flightStep",match:["flightStep"]}]},{type:"raw",value:"\" value=\""},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"MarketingAirline"},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"Code"}]},{type:"raw",value:"-"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"FlightNumber"}]},{type:"raw",value:"\"/>\n            "},{type:"logic",token:{type:"Twig.logic.type.set",key:"flightStep",expression:[{type:"Twig.expression.type.variable",value:"flightStep",match:["flightStep"]},{type:"Twig.expression.type.number",value:1,match:["1",null]},{type:"Twig.expression.type.operator.binary",value:"+",precidence:6,associativity:"leftToRight",operator:"+"}]}},{type:"raw",value:"        "}]}},{type:"raw",value:"\n        "},{type:"raw",value:"\n\n        "},{type:"logic",token:{type:"Twig.logic.type.set",key:"lastFlightSegmentAirline",expression:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"PriceType"},{type:"Twig.expression.type.filter",value:"split",match:["|split","split"],params:[{type:"Twig.expression.type.parameter.start",value:"(",match:["("]},{type:"Twig.expression.type.string",value:"-"},{type:"Twig.expression.type.parameter.end",value:")",match:[")"],expression:!1}]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.number",value:0,match:["0",null]}]}]}},{type:"raw",value:"        "},{type:"raw",value:"\n        "},{type:"logic",token:{type:"Twig.logic.type.set",key:"airlineFareTemp",expression:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"PriceType"}]}},{type:"raw",value:"\n        "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"airlineFareTypes",match:["airlineFareTypes"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.variable",value:"lastFlightSegmentAirline",match:["lastFlightSegmentAirline"]}]},{type:"Twig.expression.type.test",filter:"defined"},{type:"Twig.expression.type.variable",value:"airlineFareTypes",match:["airlineFareTypes"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.variable",value:"lastFlightSegmentAirline",match:["lastFlightSegmentAirline"]}]},{type:"Twig.expression.type.null",value:null},{type:"Twig.expression.type.operator.binary",value:"!=",precidence:9,associativity:"leftToRight",operator:"!="},{type:"Twig.expression.type.operator.binary",value:"and",precidence:13,associativity:"leftToRight",operator:"and"}],output:[{type:"raw",value:"            "},{type:"logic",token:{type:"Twig.logic.type.set",key:"includedBaggageSmall",expression:[{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.variable",value:"airlineFareTypes",match:["airlineFareTypes"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.variable",value:"lastFlightSegmentAirline",match:["lastFlightSegmentAirline"]}]},{type:"Twig.expression.type.key.period",key:"fares"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.variable",value:"airlineFareTemp",match:["airlineFareTemp"]}]},{type:"Twig.expression.type.key.period",key:"conditions"},{type:"Twig.expression.type.key.period",key:"FFC_Luggage_Small"}]},{type:"Twig.expression.type.filter",value:"trans",match:["|trans","trans"]},{type:"Twig.expression.type.string",value:"Incluye"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}]},{type:"Twig.expression.type.bool",value:!0},{type:"Twig.expression.type.bool",value:!1},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"}]}},{type:"raw",value:"            "},{type:"logic",token:{type:"Twig.logic.type.set",key:"includedCarryOnHandBaggage",expression:[{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.variable",value:"airlineFareTypes",match:["airlineFareTypes"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.variable",value:"lastFlightSegmentAirline",match:["lastFlightSegmentAirline"]}]},{type:"Twig.expression.type.key.period",key:"fares"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.variable",value:"airlineFareTemp",match:["airlineFareTemp"]}]},{type:"Twig.expression.type.key.period",key:"conditions"},{type:"Twig.expression.type.key.period",key:"FFC_Luggage_CarryOn"}]},{type:"Twig.expression.type.filter",value:"trans",match:["|trans","trans"]},{type:"Twig.expression.type.string",value:"Incluye"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}]},{type:"Twig.expression.type.bool",value:!0},{type:"Twig.expression.type.bool",value:!1},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"}]}},{type:"raw",value:"            "},{type:"logic",token:{type:"Twig.logic.type.set",key:"includedBaggage",expression:[{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.variable",value:"airlineFareTypes",match:["airlineFareTypes"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.variable",value:"lastFlightSegmentAirline",match:["lastFlightSegmentAirline"]}]},{type:"Twig.expression.type.key.period",key:"fares"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.variable",value:"airlineFareTemp",match:["airlineFareTemp"]}]},{type:"Twig.expression.type.key.period",key:"conditions"},{type:"Twig.expression.type.key.period",key:"FFC_Luggage_Baggage"}]},{type:"Twig.expression.type.filter",value:"trans",match:["|trans","trans"]},{type:"Twig.expression.type.string",value:"Incluye"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}]},{type:"Twig.expression.type.bool",value:!0},{type:"Twig.expression.type.bool",value:!1},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"}]}},{type:"raw",value:"\n            "},{type:"logic",token:{type:"Twig.logic.type.set",key:"titleSmallBag",expression:[{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.variable",value:"includedBaggageSmall",match:["includedBaggageSmall"]},{type:"Twig.expression.type.bool",value:!0},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}]},{type:"Twig.expression.type.string",value:"Incluye equipaje personal"},{type:"Twig.expression.type.string",value:"No incluye equipaje personal"},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"}]}},{type:"raw",value:"            "},{type:"logic",token:{type:"Twig.logic.type.set",key:"titleCarryOnBag",expression:[{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.variable",value:"includedCarryOnHandBaggage",match:["includedCarryOnHandBaggage"]},{type:"Twig.expression.type.bool",value:!0},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}]},{type:"Twig.expression.type.string",value:"Incluye {pieces}equipaje{s} de mano"},{type:"Twig.expression.type.string",value:"No incluye equipaje de mano"},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"}]}},{type:"raw",value:"            "},{type:"logic",token:{type:"Twig.logic.type.set",key:"titleBaggage",expression:[{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.variable",value:"includedBaggage",match:["includedBaggage"]},{type:"Twig.expression.type.bool",value:!0},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}]},{type:"Twig.expression.type.string",value:"Incluye {pieces}equipaje{s} de bodega"},{type:"Twig.expression.type.string",value:"No incluye equipaje de bodega"},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"}]}},{type:"raw",value:"\n            "},{type:"logic",token:{type:"Twig.logic.type.set",key:"baggageSmall",expression:[{type:"Twig.expression.type.string",value:"included-bag"}]}},{type:"raw",value:"            "},{type:"logic",token:{type:"Twig.logic.type.set",key:"baggageCarryOn",expression:[{type:"Twig.expression.type.string",value:"included-bag"}]}},{type:"raw",value:"            "},{type:"logic",token:{type:"Twig.logic.type.set",key:"baggage",expression:[{type:"Twig.expression.type.string",value:"included-bag"}]}},{type:"raw",value:"\n            "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"includedBaggageSmall",match:["includedBaggageSmall"]},{type:"Twig.expression.type.bool",value:!1},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                "},{type:"logic",token:{type:"Twig.logic.type.set",key:"baggageSmall",expression:[{type:"Twig.expression.type.string",value:"not-"},{type:"Twig.expression.type.variable",value:"baggageSmall",match:["baggageSmall"]},{type:"Twig.expression.type.operator.binary",value:"~",precidence:6,associativity:"leftToRight",operator:"~"}]}},{type:"raw",value:"            "}]}},{type:"raw",value:"            "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"includedCarryOnHandBaggage",match:["includedCarryOnHandBaggage"]},{type:"Twig.expression.type.bool",value:!1},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                "},{type:"logic",token:{type:"Twig.logic.type.set",key:"baggageCarryOn",expression:[{type:"Twig.expression.type.string",value:"not-"},{type:"Twig.expression.type.variable",value:"baggageCarryOn",match:["baggageCarryOn"]},{type:"Twig.expression.type.operator.binary",value:"~",precidence:6,associativity:"leftToRight",operator:"~"}]}},{type:"raw",value:"            "}]}},{type:"raw",value:"            "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"includedBaggage",match:["includedBaggage"]},{type:"Twig.expression.type.bool",value:!1},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                "},{type:"logic",token:{type:"Twig.logic.type.set",key:"baggage",expression:[{type:"Twig.expression.type.string",value:"not-"},{type:"Twig.expression.type.variable",value:"baggage",match:["baggage"]},{type:"Twig.expression.type.operator.binary",value:"~",precidence:6,associativity:"leftToRight",operator:"~"}]}},{type:"raw",value:"            "}]}},{type:"raw",value:"\n            "},{type:"logic",token:{type:"Twig.logic.type.set",key:"baggages",expression:[{type:"Twig.expression.type.object.start",value:"{",match:["{"]},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"baggage-small"},{type:"Twig.expression.type.object.start",value:"{",match:["{"]},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"title"},{type:"Twig.expression.type.variable",value:"titleSmallBag",match:["titleSmallBag"]},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"dimensions"},{type:"Twig.expression.type.string",value:""},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"description"},{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.variable",value:"includedBaggageSmall",match:["includedBaggageSmall"]},{type:"Twig.expression.type.bool",value:!0},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}]},{type:"Twig.expression.type.string",value:"(5kg / 45X35X25cm) El morral debe caber bajo la silla de en frente"},{type:"Twig.expression.type.string",value:""},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"icon"},{type:"Twig.expression.type.string",value:"<svg class=\""},{type:"Twig.expression.type.variable",value:"baggageSmall",match:["baggageSmall"]},{type:"Twig.expression.type.operator.binary",value:"~",precidence:6,associativity:"leftToRight",operator:"~"},{type:"Twig.expression.type.string",value:"\" width=\"14\" height=\"20\" viewBox=\"0 0 14 19\" xmlns=\"http://www.w3.org/2000/svg\" >\n                                <path d=\"M2.308 19.292c-.505 0-.933-.175-1.283-.525A1.745 1.745 0 0 1 .5 17.484V9.792c0-1.353.366-2.557 1.098-3.613a6.486 6.486 0 0 1 2.825-2.322v-.565c0-.718.25-1.327.75-1.827S6.282.715 7 .715s1.327.25 1.827.75.75 1.109.75 1.827v.565a6.486 6.486 0 0 1 2.825 2.322c.732 1.056 1.098 2.26 1.098 3.613v7.692c0 .505-.175.933-.525 1.283-.35.35-.778.525-1.283.525H2.308Zm0-1.5h9.384a.294.294 0 0 0 .212-.097.294.294 0 0 0 .096-.211V9.792c0-1.384-.488-2.563-1.463-3.538C9.563 5.28 8.383 4.792 7 4.792s-2.563.487-3.538 1.462C2.487 7.23 2 8.408 2 9.792v7.692c0 .077.032.147.096.211a.294.294 0 0 0 .212.097ZM10 13.542a.726.726 0 0 0 .535-.216.726.726 0 0 0 .215-.534v-.943c0-.498-.177-.924-.53-1.277a1.741 1.741 0 0 0-1.278-.53H4a.726.726 0 0 0-.535.215.726.726 0 0 0-.215.535c0 .213.072.39.215.534a.726.726 0 0 0 .535.216h4.942a.3.3 0 0 1 .221.086.3.3 0 0 1 .087.221v.943c0 .213.072.39.215.534a.726.726 0 0 0 .535.216ZM5.923 3.41c.19-.04.37-.07.538-.09.17-.02.35-.03.539-.03.19 0 .37.01.538.03.17.02.35.05.539.09v-.12a1.04 1.04 0 0 0-.312-.765A1.04 1.04 0 0 0 7 2.215a1.04 1.04 0 0 0-.765.311 1.04 1.04 0 0 0-.312.766v.119Zm-3.615 14.38H2h10-9.692Z\"/>\n                            </svg>"},{type:"Twig.expression.type.operator.binary",value:"~",precidence:6,associativity:"leftToRight",operator:"~"},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"included"},{type:"Twig.expression.type.variable",value:"includedBaggageSmall",match:["includedBaggageSmall"]},{type:"Twig.expression.type.object.end",value:"}",match:["}"]},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"baggage-carry-on"},{type:"Twig.expression.type.object.start",value:"{",match:["{"]},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"title"},{type:"Twig.expression.type.variable",value:"titleCarryOnBag",match:["titleCarryOnBag"]},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"dimensions"},{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.variable",value:"dimensionCarryOn",match:["dimensionCarryOn"]},{type:"Twig.expression.type.bool",value:!1},{type:"Twig.expression.type.operator.binary",value:"!=",precidence:9,associativity:"leftToRight",operator:"!="}]},{type:"Twig.expression.type.variable",value:"dimensionCarryOn",match:["dimensionCarryOn"]},{type:"Twig.expression.type.string",value:""},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"description"},{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.variable",value:"includedCarryOnHandBaggage",match:["includedCarryOnHandBaggage"]},{type:"Twig.expression.type.bool",value:!0},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}]},{type:"Twig.expression.type.variable",value:"weightCarryOn",match:["weightCarryOn"]},{type:"Twig.expression.type.string",value:"(115 cm lineales)(Desde 10 kg / 35X55X25 cm) Debe caber en el compartimiento superior del avi\xF3n"},{type:"Twig.expression.type.operator.binary",value:"~",precidence:6,associativity:"leftToRight",operator:"~"},{type:"Twig.expression.type.string",value:""},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"icon"},{type:"Twig.expression.type.string",value:"<svg class=\""},{type:"Twig.expression.type.variable",value:"baggageCarryOn",match:["baggageCarryOn"]},{type:"Twig.expression.type.operator.binary",value:"~",precidence:6,associativity:"leftToRight",operator:"~"},{type:"Twig.expression.type.string",value:"\" xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"20\" viewBox=\"0 0 14 19\">\n                                <path d=\"M2.308 18.293a1.74 1.74 0 0 1-1.277-.531A1.74 1.74 0 0 1 .5 16.485v-7.73c0-.486.17-.9.51-1.24.341-.34.754-.51 1.24-.51h2v-5.5c0-.337.118-.623.353-.859.236-.235.522-.353.859-.353h3.076c.337 0 .623.118.859.353.235.236.353.522.353.858v5.5h1.942c.497 0 .923.178 1.277.532.354.354.531.78.531 1.276v7.673c0 .497-.177.923-.531 1.277a1.74 1.74 0 0 1-1.277.53v.116a.852.852 0 0 1-.258.626.852.852 0 0 1-.626.259.852.852 0 0 1-.626-.259.853.853 0 0 1-.259-.626v-.115H4.077v.115a.852.852 0 0 1-.259.626.852.852 0 0 1-.626.259.852.852 0 0 1-.626-.259.852.852 0 0 1-.258-.626v-.115Zm0-1.5h9.384a.3.3 0 0 0 .221-.087.3.3 0 0 0 .087-.22V8.811a.3.3 0 0 0-.087-.221.3.3 0 0 0-.22-.087H2.307a.3.3 0 0 0-.221.087.3.3 0 0 0-.087.221v7.673a.3.3 0 0 0 .087.221.3.3 0 0 0 .22.087Zm1.46-1.385a.58.58 0 0 0 .597-.596v-4.327a.58.58 0 0 0-.595-.596.58.58 0 0 0-.597.596v4.327a.58.58 0 0 0 .596.596Zm3.232 0a.58.58 0 0 0 .596-.596v-4.327A.58.58 0 0 0 7 9.89a.58.58 0 0 0-.596.596v4.327a.58.58 0 0 0 .596.596Zm3.23 0a.58.58 0 0 0 .597-.596v-4.327a.58.58 0 0 0-.596-.596.58.58 0 0 0-.596.596v4.327a.58.58 0 0 0 .595.596ZM5.442 7.004h3.116V1.485H5.442v5.52Z\"/>\n                            </svg>"},{type:"Twig.expression.type.operator.binary",value:"~",precidence:6,associativity:"leftToRight",operator:"~"},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"included"},{type:"Twig.expression.type.variable",value:"includedCarryOnHandBaggage",match:["includedCarryOnHandBaggage"]},{type:"Twig.expression.type.object.end",value:"}",match:["}"]},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"baggage"},{type:"Twig.expression.type.object.start",value:"{",match:["{"]},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"title"},{type:"Twig.expression.type.variable",value:"titleBaggage",match:["titleBaggage"]},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"dimensions"},{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.variable",value:"dimensionBaggage",match:["dimensionBaggage"]},{type:"Twig.expression.type.bool",value:!1},{type:"Twig.expression.type.operator.binary",value:"!=",precidence:9,associativity:"leftToRight",operator:"!="}]},{type:"Twig.expression.type.variable",value:"dimensionBaggage",match:["dimensionBaggage"]},{type:"Twig.expression.type.string",value:""},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"description"},{type:"Twig.expression.type.subexpression.end",value:")",match:[")"],expression:!0,params:[{type:"Twig.expression.type.variable",value:"includedBaggage",match:["includedBaggage"]},{type:"Twig.expression.type.bool",value:!0},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}]},{type:"Twig.expression.type.variable",value:"weightBaggage",match:["weightBaggage"]},{type:"Twig.expression.type.string",value:"Equipaje (50X70X30cm) Podr\xE1 documentarlo en el aeropuerto en el Check-in"},{type:"Twig.expression.type.operator.binary",value:"~",precidence:6,associativity:"leftToRight",operator:"~"},{type:"Twig.expression.type.string",value:""},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"icon"},{type:"Twig.expression.type.string",value:"<svg class=\""},{type:"Twig.expression.type.variable",value:"baggage",match:["baggage"]},{type:"Twig.expression.type.operator.binary",value:"~",precidence:6,associativity:"leftToRight",operator:"~"},{type:"Twig.expression.type.string",value:"\" xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"20\">\n                                <path d=\"M2.308 18.293a1.74 1.74 0 0 1-1.277-.531A1.74 1.74 0 0 1 .5 16.485V5.755c0-.486.17-.9.51-1.24.341-.34.754-.51 1.24-.51h2v-2.5c0-.337.118-.623.353-.859.236-.235.522-.353.859-.353h3.076c.337 0 .623.118.859.353.235.236.353.522.353.858v2.5h1.942c.497 0 .923.178 1.277.532.354.354.531.78.531 1.276v10.673c0 .497-.177.923-.531 1.277a1.74 1.74 0 0 1-1.277.53v.116a.852.852 0 0 1-.258.626.852.852 0 0 1-.626.259.852.852 0 0 1-.626-.259.853.853 0 0 1-.259-.626v-.115H4.077v.115a.852.852 0 0 1-.259.626.852.852 0 0 1-.626.259.852.852 0 0 1-.626-.259.852.852 0 0 1-.258-.626v-.115Zm0-1.5h9.384a.3.3 0 0 0 .221-.087.3.3 0 0 0 .087-.22V5.811a.3.3 0 0 0-.087-.221.3.3 0 0 0-.22-.087H2.307a.3.3 0 0 0-.221.087.3.3 0 0 0-.087.221v10.673a.3.3 0 0 0 .087.221.3.3 0 0 0 .22.087Zm1.46-1.385a.58.58 0 0 0 .597-.596V7.485a.58.58 0 0 0-.595-.596.58.58 0 0 0-.597.596v7.327a.58.58 0 0 0 .596.596Zm3.232 0a.58.58 0 0 0 .596-.596V7.485A.58.58 0 0 0 7 6.89a.58.58 0 0 0-.596.596v7.327a.58.58 0 0 0 .596.596Zm3.23 0a.58.58 0 0 0 .597-.596V7.485a.58.58 0 0 0-.596-.596.58.58 0 0 0-.596.596v7.327a.58.58 0 0 0 .595.596ZM5.442 4.004h3.116V1.485H5.442v2.52Z\"/>\n                            </svg>"},{type:"Twig.expression.type.operator.binary",value:"~",precidence:6,associativity:"leftToRight",operator:"~"},{type:"Twig.expression.type.comma"},{type:"Twig.expression.type.operator.binary",value:":",precidence:16,associativity:"rightToLeft",operator:":",key:"included"},{type:"Twig.expression.type.variable",value:"includedBaggage",match:["includedBaggage"]},{type:"Twig.expression.type.object.end",value:"}",match:["}"]},{type:"Twig.expression.type.object.end",value:"}",match:["}"]}]}},{type:"raw",value:"            "},{type:"logic",token:{type:"Twig.logic.type.setcapture",key:"baggagesInfoAll",output:[{type:"raw",value:"                "},{type:"logic",token:{type:"Twig.logic.type.for",keyVar:null,valueVar:"baggage",expression:[{type:"Twig.expression.type.variable",value:"baggages",match:["baggages"]}],output:[{type:"raw",value:"                        "},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"baggage",match:["baggage"]},{type:"Twig.expression.type.key.period",key:"icon"},{type:"Twig.expression.type.filter",value:"raw",match:["|raw","raw"]}]},{type:"raw",value:"\n                "}]}},{type:"raw",value:"            "}]}},{type:"raw",value:"        "}]}},{type:"raw",value:"\n        "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.test",filter:"defined"},{type:"Twig.expression.type.variable",value:"showFareInfo",match:["showFareInfo"]},{type:"Twig.expression.type.bool",value:!0},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="},{type:"Twig.expression.type.operator.binary",value:"and",precidence:13,associativity:"leftToRight",operator:"and"}],output:[{type:"raw",value:"            "},{type:"logic",token:{type:"Twig.logic.type.setcapture",key:"fareConditions",output:[{type:"raw",value:"                "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"Luggage"},{type:"Twig.expression.type.string",value:"0"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                    <div>\n                        <i class=\"icon icon_no-luggage type-negative\"></i><small class=\"sp-hinset\">NO permite maleta en bodega</small>\n                    </div>\n                "}]}},{type:"logic",token:{type:"Twig.logic.type.elseif",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"Luggage"},{type:"Twig.expression.type.string",value:"1"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                    <div>\n                        <i class=\"icon icon_no-luggage type-negative\"></i><small class=\"sp-hinset\">NO incluye maleta en bodega</small>\n                    </div>\n                "}]}},{type:"logic",token:{type:"Twig.logic.type.elseif",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"Luggage"},{type:"Twig.expression.type.string",value:"2"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                    <div>\n                        <i class=\"icon icon_luggage type-positive\"></i><small class=\"sp-hinset\">Incluye maleta en bodega</small>\n                    </div>\n                "}]}},{type:"raw",value:"                "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"Refund"},{type:"Twig.expression.type.string",value:"0"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                    <div>\n                        <i class=\"icon icon_banknote type-negative\"></i><small class=\"sp-hinset\">NO permite reembolso</small>\n                    </div>\n                "}]}},{type:"logic",token:{type:"Twig.logic.type.elseif",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"Refund"},{type:"Twig.expression.type.string",value:"1"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                    <div>\n                        <i class=\"icon icon_banknote type-negative\"></i><small class=\"sp-hinset\">NO incluye reembolso</small>\n                    </div>\n                "}]}},{type:"logic",token:{type:"Twig.logic.type.elseif",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"Refund"},{type:"Twig.expression.type.string",value:"2"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                    <div>\n                        <i class=\"icon icon_banknote type-positive\"></i><small class=\"sp-hinset\">Incluye reembolso</small>\n                    </div>\n                "}]}},{type:"raw",value:"                "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"Reschedule"},{type:"Twig.expression.type.string",value:"0"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                    <div>\n                        <i class=\"icon icon_search_calendar type-negative\"></i><small class=\"sp-hinset\">NO permite cambio</small>\n                    </div>\n                "}]}},{type:"logic",token:{type:"Twig.logic.type.elseif",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"Reschedule"},{type:"Twig.expression.type.string",value:"1"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                    <div>\n                        <i class=\"icon icon_search_calendar type-negative\"></i><small class=\"sp-hinset\">NO incluye cambio</small>\n                    </div>\n                "}]}},{type:"logic",token:{type:"Twig.logic.type.elseif",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"Reschedule"},{type:"Twig.expression.type.string",value:"2"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                    <div>\n                        <i class=\"icon icon_search_calendar type-positive\"></i><small class=\"sp-hinset\">Incluye cambio</small>\n                    </div>\n                "}]}},{type:"raw",value:"                "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"SeatSelection"},{type:"Twig.expression.type.string",value:"0"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                    <div>\n                        <i class=\"icon icon_recliningchairs type-negative\"></i><small class=\"sp-hinset\">NO permite selecci\xF3n de asientos</small>\n                    </div>\n                "}]}},{type:"logic",token:{type:"Twig.logic.type.elseif",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"SeatSelection"},{type:"Twig.expression.type.string",value:"1"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                    <div>\n                        <i class=\"icon icon_recliningchairs type-negative\"></i><small class=\"sp-hinset\">NO incluye selecci\xF3n de asientos</small>\n                    </div>\n                "}]}},{type:"logic",token:{type:"Twig.logic.type.elseif",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"SeatSelection"},{type:"Twig.expression.type.string",value:"2"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                    <div>\n                        <i class=\"icon icon_recliningchairs type-positive\"></i><small class=\"sp-hinset\">Incluye selecci\xF3n de asientos</small>\n                    </div>\n                "}]}},{type:"raw",value:"                "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FareConditions"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"CounterCheckin"},{type:"Twig.expression.type.test",filter:"defined"},{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"CounterCheckin"},{type:"Twig.expression.type.string",value:"1"},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="},{type:"Twig.expression.type.operator.binary",value:"and",precidence:13,associativity:"leftToRight",operator:"and"}],output:[{type:"raw",value:"                    <div>\n                        <i class=\"icon icon_passenger_man type-negative\"></i><small class=\"sp-hinset\">NO incluye Check in en counter</small>\n                    </div>\n                "}]}},{type:"raw",value:"            "}]}},{type:"raw",value:"        "}]}},{type:"logic",token:{type:"Twig.logic.type.else",match:["else"],output:[{type:"raw",value:"            "},{type:"logic",token:{type:"Twig.logic.type.set",key:"fareConditions",expression:[{type:"Twig.expression.type.bool",value:!1}]}},{type:"raw",value:"        "}]}},{type:"raw",value:"        "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"loop",match:["loop"]},{type:"Twig.expression.type.key.period",key:"index"},{type:"Twig.expression.type.number",value:1,match:["1",null]},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"            "},{type:"raw",value:"\n            <div class=\"bg-[#FAFAFA] shadow-[0px_9px_10px_-9px_rgba(0,0,0,0.10)] z-[100] relative flex justify-between py-2 px-3 items-center\">\n                <div class=\"flex gap-1 items-center\">\n                    <span class=\"material-symbols-rounded text-[#005CB9] text-lg\">\n                        flightsmode\n                    </span>\n                    <span class=\"font-bold text-[#005CB9] text-base\">Vuelo de "},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"TypeFligth",match:["TypeFligth"]},{type:"Twig.expression.type.number",value:0,match:["0",null]},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="},{type:"Twig.expression.type.string",value:"ida"},{type:"Twig.expression.type.string",value:"vuelta"},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"}]},{type:"raw",value:"</span>\n                </div>\n                <div class=\"flex flex-col items-end\">\n                    <span class=\"text-sm text-[#5A5A5A]\">Duraci\xF3n total: "},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"totalDuration",match:["totalDuration"]}]},{type:"raw",value:"</span>\n                    "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"diff",match:["diff"]},{type:"Twig.expression.type.test",filter:"defined"}],output:[{type:"raw",value:"                        "},{type:"logic",token:{type:"Twig.logic.type.set",key:"plural",expression:[{type:"Twig.expression.type.string",value:""}]}},{type:"raw",value:"                        "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"diff",match:["diff"]},{type:"Twig.expression.type.key.period",key:"days"},{type:"Twig.expression.type.number",value:1,match:["1",null]},{type:"Twig.expression.type.operator.binary",value:">",precidence:8,associativity:"leftToRight",operator:">"}],output:[{type:"raw",value:"                            "},{type:"logic",token:{type:"Twig.logic.type.set",key:"plural",expression:[{type:"Twig.expression.type.string",value:"s"}]}},{type:"raw",value:"                        "}]}},{type:"raw",value:"                            <div class=\"flex items-center\">\n                                <i style=\"font-variation-settings:  'FILL' 0\" class=\"material-symbols-rounded text-[#E42F3A]\">fmd_bad</i>\n                                <span class=\"text-[#E42F3A] font-[Roboto] text-sm font-medium\">\n                                    Llega <strong>"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"diff",match:["diff"]}]},{type:"raw",value:"</strong> d\xEDa "},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"plural",match:["plural"]}]},{type:"raw",value:" despu\xE9s ("},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"arrivalDate",match:["arrivalDate"]},{type:"Twig.expression.type.filter",value:"date",match:["|date","date"],params:[{type:"Twig.expression.type.parameter.start",value:"(",match:["("]},{type:"Twig.expression.type.string",value:"d/m/y"},{type:"Twig.expression.type.parameter.end",value:")",match:[")"],expression:!1}]}]},{type:"raw",value:")\n                                </span>\n                            </div>\n                    "}]}},{type:"raw",value:"                </div>\n            </div>\n            <div class=\"bg-[#F4F4F4] py-3 px-3 grid-cols-12 grid font-[Roboto]\">\n                <div class=\"col-span-1 text-[#042A44] text-[13px] xs:text-[11px] font-medium l:col-span-2 m:col-span-2 s:col-span-2 xs:col-span-2\">\n                    "},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"DepartureDateTime"},{type:"Twig.expression.type.filter",value:"date",match:["|date","date"],params:[{type:"Twig.expression.type.parameter.start",value:"(",match:["("]},{type:"Twig.expression.type.string",value:"d/m/y"},{type:"Twig.expression.type.parameter.end",value:")",match:[")"],expression:!1}]}]},{type:"raw",value:"\n                </div>\n                <div class=\"col-span-1 justify-center grid\">\n                    <span class=\"material-symbols-rounded text-[#042A44] leading-[1] h-fit\" style=\"font-variation-settings:  'FILL' 0\">\n                        today\n                    </span>\n                    <div class=\"h-32 mx-auto border-dashed border-l-[2px] border-l-[#D1D1D1] border-l\"></div>\n                </div>\n                <div class=\"col-span-10 grid-cols-12 grid items-center l:col-span-9 m:col-span-9 s:col-span-9 xs:col-span-9\">\n                    <div class=\"col-span-4 h-full\">\n                        <div class=\"grid grid-rows-2 grid-cols-1 h-full gap-6\">\n                            <div>\n                                <h3 class=\"text-[#042A44] text-[22px] xs:text-base font-medium\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.number",value:0,match:["0",null]}]},{type:"Twig.expression.type.key.period",key:"DepartureAirport"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"LocationCode"}]},{type:"raw",value:"</h3>\n                                <span class=\"text-base xs:text-sm font-medium\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.number",value:0,match:["0",null]}]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"DepartureCityName"}]},{type:"raw",value:"</span>\n                            </div>\n                            <span class=\"font-[Ubuntu] text-sm xs:text-xs font-normal\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.number",value:0,match:["0",null]}]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"DepartureAirportName"}]},{type:"raw",value:"</span>\n                        </div>\n                    </div>\n                    <div class=\"col-span-4 row-span-2 grid-rows-3 text-center text-sm xs:text-xs font-semibold text-[#5A5A5A]\">\n                        "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.period",key:"length"},{type:"Twig.expression.type.number",value:1,match:["1",null]},{type:"Twig.expression.type.operator.binary",value:">",precidence:8,associativity:"leftToRight",operator:">"}],output:[{type:"raw",value:"                            <span>"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.period",key:"length"},{type:"Twig.expression.type.number",value:2,match:["2",null]},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="},{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.period",key:"length"},{type:"Twig.expression.type.number",value:1,match:["1",null]},{type:"Twig.expression.type.operator.binary",value:"-",precidence:6,associativity:"leftToRight",operator:"-"},{type:"Twig.expression.type.string",value:" Escala"},{type:"Twig.expression.type.operator.binary",value:"~",precidence:6,associativity:"leftToRight",operator:"~"},{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.period",key:"length"},{type:"Twig.expression.type.number",value:1,match:["1",null]},{type:"Twig.expression.type.operator.binary",value:"-",precidence:6,associativity:"leftToRight",operator:"-"},{type:"Twig.expression.type.string",value:" Escalas"},{type:"Twig.expression.type.operator.binary",value:"~",precidence:6,associativity:"leftToRight",operator:"~"},{type:"Twig.expression.type.operator.binary",value:"?",precidence:16,associativity:"rightToLeft",operator:"?"}]},{type:"raw",value:"</span>\n                        "}]}},{type:"logic",token:{type:"Twig.logic.type.else",match:["else"],output:[{type:"raw",value:"                            <span>Directo</span>\n                        "}]}},{type:"raw",value:"                        <div class=\"flex items-center justify-center\">\n                            <hr class=\"w-[60%] bg-[#5A5A5A] h-px\" />\n                            <span class=\"material-symbols-rounded ml-[-1rem]\" style=\"font-variation-settings: 'wght' 400\">\n                                arrow_forward\n                            </span>\n                        </div>\n                    </div>\n                    <div class=\"col-span-4 h-full\">\n                        <div class=\"grid grid-rows-2 grid-cols-1 text-right h-full gap-6\">\n                            <div>\n                                <h3 class=\"text-[#042A44] text-[22px] xs:text-base font-medium\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.period",key:"length"},{type:"Twig.expression.type.number",value:1,match:["1",null]},{type:"Twig.expression.type.operator.binary",value:"-",precidence:6,associativity:"leftToRight",operator:"-"}]},{type:"Twig.expression.type.key.period",key:"ArrivalAirport"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"LocationCode"}]},{type:"raw",value:"</h3>\n                                <span class=\"text-base xs:text-sm font-medium\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.period",key:"length"},{type:"Twig.expression.type.number",value:1,match:["1",null]},{type:"Twig.expression.type.operator.binary",value:"-",precidence:6,associativity:"leftToRight",operator:"-"}]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"ArrivalCityName"}]},{type:"raw",value:"</span>\n                            </div>\n                            <span class=\"font-[Ubuntu] text-sm xs:text-xs font-normal\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.period",key:"length"},{type:"Twig.expression.type.number",value:1,match:["1",null]},{type:"Twig.expression.type.operator.binary",value:"-",precidence:6,associativity:"leftToRight",operator:"-"}]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"ArrivalAirportName"}]},{type:"raw",value:"</span>\n                        </div>\n                    </div>\n                </div>\n            </div>\n\n            <div class=\"grid items-center bg-[#F4F4F4]\" style=\"grid-template-columns: 12px 1fr 12px;\">\n                <div class=\"h-5 w-3 rounded-full bg-white items-left\" style=\"border-radius: 0 100px 100px 0;\"></div>\n                <div class=\"mx-auto border-dashed border-b-[2px] border-b-[#D1D1D1] border-b w-full\"></div>\n                <div class=\"h-5 w-3 rounded-full bg-white items-right\" style=\"border-radius: 100px 0px 0px 100px;\"></div>\n            </div>\n\n            "},{type:"raw",value:"\n\n        "}]}},{type:"logic",token:{type:"Twig.logic.type.else",match:["else"],output:[{type:"raw",value:"        \n            "},{type:"raw",value:"\n\n            <div class=\"py-3 pl-3 h-full relative perforated grid-cols-12 grid font-[Roboto]\">\n                <div class=\"h-full col-start-2 l:col-start-3 m:col-start-3 s:col-start-3 xs:col-start-3 items-center justify-center grid\">\n                    <span class=\"material-symbols-rounded text-[#8B8B8B]\">\n                        connecting_airports\n                    </span>\n                </div>\n                <div style=\"clip-path: polygon(3% 0%, 100% 0%, 100% 100%, 3% 100%, 0% 50%);\" class=\"font-medium text-[#042A44] text-sm xs:text-xs px-5 py-3 grid items-center col-span-10 l:col-span-9 m:col-span-9 s:col-span-9 xs:col-span-9 bg-[#E3ECF5]\">\n                    <span>Escala en "},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"DepartureCityName"}]},{type:"raw",value:", espera de "},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"StopoverLength"}]},{type:"raw",value:".</span>\n                </div>\n            </div>\n            "},{type:"raw",value:"\n        "}]}},{type:"raw",value:"\n        "},{type:"raw",value:"\n        "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"TPA_Extensions"},{type:"Twig.expression.type.key.period",key:"TechnicalStops"},{type:"Twig.expression.type.key.period",key:"TechnicalStop"},{type:"Twig.expression.type.test",filter:"defined"}],output:[{type:"raw",value:"            <div class=\"py-3 pl-3 h-full relative perforated grid-cols-12 grid font-[Roboto] relative\">\n                <div class=\"h-full col-start-2 l:col-start-3 m:col-start-3 s:col-start-3 xs:col-start-3 items-center justify-center grid \">\n                    <svg\n                        xmlns=\"http://www.w3.org/2000/svg\"\n                        class=\"col-span-6\"\n                        width=\"25px\"\n                        height=\"25px\"\n                        fill=\"none\"\n                        {...props}\n                    >\n                        <mask\n                            width=\"25px\"\n                            height=\"25px\"\n                            x={0}\n                            y={0}\n                            maskUnits=\"userSpaceOnUse\"\n                            >\n                        <path fill=\"#D9D9D9\" d=\"M.363.801h24v24h-24z\" />\n                        </mask>\n                            <g mask=\"url(#a)\">\n                            <path\n                                fill=\"#8B8B8B\"\n                                d=\"M13.113 12.497V8.551a.726.726 0 0 0-.215-.535.726.726 0 0 0-.535-.215.725.725 0 0 0-.534.215.726.726 0 0 0-.216.535v4.177a.9.9 0 0 0 .271.648L15.31 16.8c.139.138.313.21.523.212a.708.708 0 0 0 .531-.212.718.718 0 0 0 .218-.527.718.718 0 0 0-.218-.527l-3.25-3.25Zm-.748 9.804a9.256 9.256 0 0 1-3.705-.748 9.595 9.595 0 0 1-3.017-2.03 9.595 9.595 0 0 1-2.031-3.016 9.246 9.246 0 0 1-.749-3.705c0-1.313.25-2.549.748-3.705a9.596 9.596 0 0 1 2.03-3.017A9.594 9.594 0 0 1 8.658 4.05a9.246 9.246 0 0 1 3.704-.748c1.314 0 2.55.25 3.706.748a9.597 9.597 0 0 1 3.017 2.03 9.595 9.595 0 0 1 2.031 3.016 9.245 9.245 0 0 1 .748 3.704c0 1.314-.25 2.55-.748 3.705a9.596 9.596 0 0 1-2.03 3.017 9.596 9.596 0 0 1-3.016 2.031 9.245 9.245 0 0 1-3.704.749Zm-.002-1.5c2.217 0 4.104-.78 5.663-2.338 1.558-1.558 2.337-3.446 2.337-5.662 0-2.217-.779-4.104-2.337-5.663-1.559-1.558-3.446-2.337-5.663-2.337-2.216 0-4.104.779-5.662 2.337-1.559 1.559-2.338 3.446-2.338 5.663 0 2.216.78 4.104 2.338 5.662 1.558 1.559 3.446 2.338 5.662 2.338Z\"\n                            />\n                        </g>\n                    </svg>\n                </div>\n                <div class=\"items-center grid col-start-3 col-span-10 l:col-span-9 m:col-span-9 s:col-span-9 xs:col-span-9 w-full relative\">\n                        <div style=\"clip-path: polygon(3% 0%, 100% 0%, 100% 100%, 3% 100%, 0% 50%);\" class=\"absolute w-full font-medium text-[#042A44] text-sm xs:text-xs py-5 bg-[#E3ECF5]\"></div>\n                        <div class=\"absolute flex items-center w-full justify-evenly\">\n                            <span class=\"pl-10 mr-2 text-[#042A44] text-xs font-medium w-full\">Parada t\xE9cnica en "},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"TPA_Extensions"},{type:"Twig.expression.type.key.period",key:"TechnicalStops"},{type:"Twig.expression.type.key.period",key:"TechnicalStop"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"CityName"}]},{type:"raw",value:"</span>\n                            <div class=\"tooltips flex items-center w-full justify-end\">\n                                <span class=\"material-symbols-rounded icon-tool bagagge-icons mr-5\">\n                                    info\n                                </span>\n                                <div class=\"tooltips-content--left\" style=\"color: black;color: none;opacity: 1;width: 270px;box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);padding: 16px !important;background: white;border: 1px solid #C4C4C4;border-radius: 7px\">\n                                        <span class=\"text-sm\">El viaje incluye una  parada t\xE9cnica en Aeropuerto de <span class=\"font-medium\"> "},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"TPA_Extensions"},{type:"Twig.expression.type.key.period",key:"TechnicalStops"},{type:"Twig.expression.type.key.period",key:"TechnicalStop"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"LocationName"}]},{type:"raw",value:", "},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"TPA_Extensions"},{type:"Twig.expression.type.key.period",key:"TechnicalStops"},{type:"Twig.expression.type.key.period",key:"TechnicalStop"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"CityName"}]},{type:"raw",value:" ("},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"TPA_Extensions"},{type:"Twig.expression.type.key.period",key:"TechnicalStops"},{type:"Twig.expression.type.key.period",key:"TechnicalStop"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"CityCode"}]},{type:"raw",value:") </span>, este viaje podr\xEDa tener cambio de equipo, por favor conectate con uno de nuetros asesores para m\xE1s informaci\xF3n. </span>\n                                </div>\n                            </div>\n                        </div>\n                </div>\n            </div>\n        "}]}},{type:"raw",value:"\n        "},{type:"raw",value:"\n\n            <div class=\"bg-[#F4F4F4] py-3 px-3 grid-cols-12 grid font-[Roboto] gap-y-1 items-center\">\n                <div class=\"col-span-1 text-[#042A44] text-[13px] font-medium l:col-span-2 m:col-span-2 s:col-span-2 xs:col-span-2\">\n                    <img class=\"logo-ticket\" src=\"/assets/common_assets/img/airlines/logo_"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"MarketingAirline"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"Code"}]},{type:"raw",value:".png\" title=\""},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"MarketingAirline"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"Code"}]},{type:"raw",value:"\"/>\n                </div>\n                <div class=\"col-span-1 justify-center gap-1 grid\">\n                    <div class=\"h-12 mx-auto border-dashed border-l-[2px] border-l-[#D1D1D1] border-l\"></div>\n                    <span class=\"material-symbols-rounded text-[#042A44] leading-[1] h-fit rotate-180\" style=\"font-variation-settings:  'FILL' 0\">\n                        flight\n                    </span>\n                </div>\n                <div class=\"col-span-10 grid-cols-12 grid items-center l:col-span-9 m:col-span-9 s:col-span-9 xs:col-span-9\">\n                    <div class=\"col-span-9 l:col-span-8 m:col-span-8 s:col-span-8 xs:col-span-8 grid grid-rows-3 text-[#2F2F2F] font-[Roboto] text-sm xs:text-[10px] font-semibold\">\n                        <div>Aerol\xEDnea:  <span class=\"font-normal\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"MarketingAirline"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"CompanyShortName"}]},{type:"raw",value:"</span> </div>\n                        <div>Vuelo N: <span class=\"font-normal\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"MarketingAirline"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"Code"}]},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"FlightNumber"}]},{type:"raw",value:"</span> </div>\n                        <div> \n                            <span>Clase: <span class=\"font-normal\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"BookingClassAvails"},{type:"Twig.expression.type.key.period",key:"BookingClassAvail"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"ResBookDesigCode"}]},{type:"raw",value:"</span> </span>\n                            <span>Cabina: <span class=\"font-normal\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"BookingClassAvails"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"CabinType"}]},{type:"raw",value:"</span> </span>\n                        </div>\n                    </div>\n                    <div class=\"col-span-3 l:col-span-4 m:col-span-4 s:col-span-4 xs:col-span-4 justify-end grid\">\n                        <span class=\"flex flex-row space-x-2 m-2\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"baggagesInfoAll",match:["baggagesInfoAll"]}]},{type:"raw",value:"</span>\n                        <div class=\"text-[#2F2F2F] text-sm  xs:text-[10px] font-semibold\"> Tarifa: <span class=\"font-normal\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"PriceType"}]},{type:"raw",value:"</span> </div>\n                    </div>\n                </div>\n            </div>\n            <div class=\"bg-[#F4F4F4] pb-3 px-3 grid-cols-12 grid font-[Roboto] gap-y-1\">\n                <div class=\"grid grid-rows-3 col-span-1 text-[#042A44] text-[13px] font-medium items-center l:col-span-2 m:col-span-2 s:col-span-2 xs:col-span-2\">\n                    <div class=\"text-[#005CB9] text-sm xs:text-xs font-[Ubuntu] font-normal grid grid-rows-2\">Sale\n                        <span class=\"text-[#2F2F2F] text-base  xs:text-sm font-medium\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"DepartureHour"}]},{type:"raw",value:"</span>\n                    </div>\n                    <span class=\"font-[Ubuntu] text-[#5A5A5A] text-sm  xs:text-xs font-normal\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"FlightLength"}]},{type:"raw",value:"</span>\n                    <div class=\"text-[#005CB9] text-sm  xs:text-xs font-[Ubuntu] font-normal grid grid-rows-2\">Llega\n                        <span class=\"text-[#2F2F2F] text-base  xs:text-sm font-medium\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"ArrivalHour"}]},{type:"raw",value:"</span>\n                    </div>\n                </div>\n                <div class=\"col-span-1 justify-center grid\">\n                    <div class=\"h-40 mx-auto border-dashed border-l-[2px] border-l-[#D1D1D1] border-l\"></div>\n                </div>\n                <div class=\"col-span-10 grid-cols-12 grid items-start l:col-span-9 m:col-span-9 s:col-span-9 xs:col-span-9\">\n                    <div class=\"col-span-4 h-full\">\n                        <div class=\"grid grid-rows-2 grid-cols-1 h-full gap-6\">\n                            <div>\n                                <h3 class=\"text-[#042A44] text-[22px]  xs:text-lg font-medium\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"DepartureAirport"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"LocationCode"}]},{type:"raw",value:"</h3>\n                                <span class=\"text-base  xs:text-sm font-medium\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"DepartureCityName"}]},{type:"raw",value:"</span>\n                            </div>\n                            <span class=\"font-[Ubuntu] text-sm xs:text-xs font-normal\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"DepartureAirportName"}]},{type:"raw",value:"</span>\n                        </div>\n                    </div>\n                    <div class=\"col-span-4 row-span-2 grid-rows-3 text-center   xs:text-xs font-semibold text-[#5A5A5A]\">\n                        <span class=\"material-symbols-rounded text-[#8B8B8B]\">\n                            flight_takeoff\n                        </span>\n                    </div>\n                    <div class=\"col-span-4 h-full\">\n                        <div class=\"grid grid-rows-2 grid-cols-1 text-right h-full gap-6\">\n                            <div>\n                                <h3 class=\"text-[#042A44] text-[22px]  xs:text-lg font-medium\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"ArrivalAirport"},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"LocationCode"}]},{type:"raw",value:"</h3>\n                                <span class=\"text-base  xs:text-sm font-medium\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"ArrivalCityName"}]},{type:"raw",value:"</span>\n                            </div>\n                            <span class=\"font-[Ubuntu] text-sm xs:text-xs font-normal\">"},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flight",match:["flight"]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"ArrivalAirportName"}]},{type:"raw",value:"</span>\n                        </div>\n                    </div>\n                </div>\n            </div>  \n    \n\n        "},{type:"raw",value:"\n\n        "},{type:"raw",value:"\n\n        "},{type:"raw",value:"\n\n        "},{type:"raw",value:"\n\n        "},{type:"raw",value:"\n    "}]}},{type:"raw",value:"\n    <div class=\"grid items-center bg-[#F4F4F4]\" style=\"grid-template-columns: 15px 1fr 15px;\">\n        <div class=\"h-4 w-4 rounded-full bg-white\" style=\"border-radius: 0 100% 0 0;\"></div>\n        <div></div>\n        <div class=\"h-4 w-4 rounded-full bg-white\" style=\"border-radius: 100% 0 0 0;\"></div>\n    </div>\n\n    <div class=\"text-[#042A44] font-[Roboto] text-sm xs:text-base font-semibold pb-3 px-3 grid-cols-12 grid font-[Roboto] gap-y-1 items-start\">\n        <div class=\"col-start-2 l:col-start-3 m:col-start-3 s:col-start-3 xs:col-start-3 justify-center grid\">\n            <div class=\"h-3 mx-auto border-solid border-l-[2px] border-l-[#D1D1D1] border-l\"></div>\n            <span class=\"material-symbols-rounded\">location_on</span>\n        </div>\n        <div class=\"col-span-10 l:col-span-9 m:col-span-9 s:col-span-9 xs:col-span-9 grid grid-rows-2 py-3\">\n            <span>Llegada a "},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.period",key:"length"},{type:"Twig.expression.type.number",value:1,match:["1",null]},{type:"Twig.expression.type.operator.binary",value:"-",precidence:6,associativity:"leftToRight",operator:"-"}]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"ArrivalCityName"}]},{type:"raw",value:"</span>\n             <div id=\"copyEndDetail\" class=\"text-[#5A5A5A] xs:text-sm font-medium \">\n                "},{type:"logic",token:{type:"Twig.logic.type.if",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.number",value:0,match:["0",null]}]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.string",value:"@attributes"}]},{type:"Twig.expression.type.key.period",key:"RefNumber"},{type:"Twig.expression.type.number",value:0,match:["0",null]},{type:"Twig.expression.type.operator.binary",value:"==",precidence:9,associativity:"leftToRight",operator:"=="}],output:[{type:"raw",value:"                    Consulta hoteles en "},{type:"output",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.brackets",stack:[{type:"Twig.expression.type.variable",value:"flights",match:["flights"]},{type:"Twig.expression.type.key.period",key:"length"},{type:"Twig.expression.type.number",value:1,match:["1",null]},{type:"Twig.expression.type.operator.binary",value:"-",precidence:6,associativity:"leftToRight",operator:"-"}]},{type:"Twig.expression.type.key.period",key:"attributes"},{type:"Twig.expression.type.key.period",key:"ArrivalCityName"}]},{type:"raw",value:" para las fechas\n                    <span class=\"js-suggestText\"></span>\n                    <a href=\"/buscar/hoteles/\" target=\"_blank\" class=\"text-[#005CB9] underline js-suggestClik\">Click aqu\xED</a>\n                "}]}},{type:"raw",value:"            </div>\n        </div>\n    \n    </div>\n</section>"}],allowInlineIncludes:!0,rethrow:!0});e.exports=function(e){return s.render(e)}},Vm3q:function(e,t){"use strict";var i=function(){return new Date().setHours(0,0,0,0)};t.a={courses:2,instances:{flighttype:"r",flights:1,flightsmin:1,flightsmax:6,rooms:0,roomsmin:1,roomsmax:3,room1kids:0,room1kidsmax:3,room2kids:0,room2kidsmax:3,room3kids:0,room3kidsmax:3,insurancepassengers:1},today:i(),multiDate:{1:new Date(i()+86400000),2:!1,3:!1,4:!1,5:!1,6:!1},returnDate:{},hotelDate:!1,sameCity:!0,returnWayDate:new Date(i()+691200000)}},l70S:function(e,t,i){"use strict";(function(e,a){var s,r=i("Vm3q"),p=0,o="r",n=function(){this.WSResp=null,this.state="init",this.shownDates=!1,this.params={dateScope:180}};e.obj.extend(n.prototype,{dataModel:{PriceXplorer_ExtremeSearch:{"@xmlns":"http://xml.amadeus.com/FAESXQ_12_2_1A",itineraryGrp:{itineraryInfo:{}},travelDates:{dateAndTimeDetails:[]},stayDuration:{},attributeInfo:{attributeFunction:"GRP",attributeDetails:[{attributeType:"DES"},{attributeType:"WEEK"},{attributeType:"DAY"}]},departureDays:{daySelection:{dayOfWeek:"1234567"},selectionInfo:{selectionDetails:{option:"O"}}},officeIdInfo:{officeId:{originIdentification:{inHouseIdentification1:"BOGVU28AT"}}}}},refreshParams:function(){if(!a("#origin1").val().length||!a("#destination1").val().length||!a("#date1").val().length||!r.a.instances.flighttype||!r.a.multiDate[1])return!1;var e={origin:a("#origin1").val(),destination:a("#destination1").val(),date:AVflight.data.attributes.AvailabilityType.variable.date1,date1:AVflight.data.attributes.AvailabilityType.variable.date2,flightType:r.a.instances.flighttype,isSameDay:r.a.multiDate[1].setHours(0,0,0,0)===r.a.today,adults:a("#js-adults").val(),children:a("#js-children").val(),infants:a("#js-infants").val()};return a.extend(this.params,e),this.params},hydrateObject:function(t){var i=this.refreshParams(),s=new Date(this.params.date);if(!1===i)return!1;var p,n=JSON.parse(JSON.stringify(this.dataModel));if("return"===t)p=this.params.date;else{var l=s.getTime()+1e3*(3600*(24*this.params.dateScope))-(r.a.today+31104000000);p=0<l?new Date(s.getTime()+1e3*(3600*(24*this.params.dateScope))-l):new Date(s.getTime()+1e3*(3600*(24*this.params.dateScope)))}if(n.PriceXplorer_ExtremeSearch.itineraryGrp.itineraryInfo.origin=this.params.origin,n.PriceXplorer_ExtremeSearch.itineraryGrp.itineraryInfo.destination=this.params.destination,n.PriceXplorer_ExtremeSearch.travelDates.dateAndTimeDetails.push({qualifier:"S",date:a.datepicker.formatDate("ddmmy",new Date)},{qualifier:"E",date:a.datepicker.formatDate("ddmmy",p)}),this.params.date&&this.params.date1?o="r":this.params.date&&null===this.params.date1&&(o="o"),"r"==o){var s=new Date(this.params.date),y=s.getTime(),g=e.getFullDate(a("#date-return1").val()).getTime(),c=Math.floor((g-y)/86400000);30<c&&(c=30),n.PriceXplorer_ExtremeSearch.stayDuration={nbOfUnitsInfo:{quantityDetails:{numberOfUnit:c,unitQualifier:"DAY"}}}}else delete n.PriceXplorer_ExtremeSearch.stayDuration;return this.params.date===p&&n.PriceXplorer_ExtremeSearch.attributeInfo.attributeDetails.push({attributeType:"SD"}),n},sendRequest:function(e){var t=this,i=this.hydrateObject(e);return!1!==i&&(t.state="loading",t.shownDates=!1,a.ajax({type:"POST",url:window.xtremeSearchUrl,dataType:"json",async:!0,data:JSON.stringify(i),success:function(e){if("loading"===t.state||"pending"===t.state)if(!e.PriceXplorer_ExtremeSearchReply)t.WSResp={error:!0,errorMessage:"empty response"},t.state="error";else if(null!=e.PriceXplorer_ExtremeSearchReply.errorOrWarningGroup)t.WSResp={error:!0,errorMessage:e.PriceXplorer_ExtremeSearchReply.errorOrWarningGroup.errorWarningDescription.freeText},t.state="error";else{var i=e.PriceXplorer_ExtremeSearchReply.priceSolution,s=i[0].monetaryInfo.monetaryDetails[0].amount;if(t.WSResp&&t.WSResp.error&&(delete t.WSResp.error,delete t.WSResp.errorMessage),"r"==o){var r=i[0].dateAndTimeInfo.dateAndTimeDetails[0].date,n=r.slice(0,2),l=r.slice(2,4)-1,y="20"+r.slice(4),g=i[0].dateAndTimeInfo.dateAndTimeDetails[1].date,c=g.slice(0,2),d=g.slice(2,4)-1,u="20"+g.slice(4),v=new Date,m=v.getFullYear(),x=new Date(y,l,n),h=new Date(u,d,c);if(y==m)var f={month:"short",day:"numeric"};else var f={year:"numeric",month:"short",day:"numeric"};if(u==m)var w={month:"short",day:"numeric"};else var w={year:"numeric",month:"short",day:"numeric"};var T=x.toLocaleDateString("es-ES",f),b=h.toLocaleDateString("es-ES",w),k=y+"-"+r.slice(2,4)+"-"+n,A=u+"-"+g.slice(2,4)+"-"+c,C=new Date(t.params.date),D=new Date(t.params.date1),O=C.toISOString().substring(0,10),F=D.toISOString().substring(0,10);0==p&&t.searchBestPrice(s).then(function(e){if(!1!=e&&k!=O&&A!=F){var i="/vuelos/"+t.params.origin+"-"+t.params.destination+"/"+k+"+"+A+"/"+t.params.adults+"-"+t.params.children+"-"+t.params.infants;a("#recomendacionLink").append("<strong>\xA1Atenci\xF3n! Viaje a mejor precio en estas fechas: "+T+" - "+b+"</strong>"),a("#recomendacionLink").attr("href",i),a("#recomendacion-best-dates").css("display","block"),a(".dispo-shared__ff-options").css("clear","both"),p=1}t.state="success"}),t.state="success"}else if("o"==o){var r=i[0].dateAndTimeInfo.dateAndTimeDetails.date,n=r.slice(0,2),l=r.slice(2,4)-1,y="20"+r.slice(4),v=new Date,m=v.getFullYear(),x=new Date(y,l,n);if(y==m)var f={month:"short",day:"numeric"};else var f={year:"numeric",month:"short",day:"numeric"};var T=x.toLocaleDateString("es-ES",f),k=y+"-"+r.slice(2,4)+"-"+n,C=new Date(t.params.date),O=C.toISOString().substring(0,10);0==p&&t.searchBestPrice(s).then(function(e){if(!1!=e&&k!=O){var i="/vuelos/"+t.params.origin+"-"+t.params.destination+"/"+k+"/"+t.params.adults+"-"+t.params.children+"-"+t.params.infants;a("#recomendacionLink").append("<strong>!Atenci\xF3n! Viaje a mejor precio en esta fecha: "+T+"</strong>"),a("#recomendacionLink").attr("href",i),a("#recomendacion-best-dates").css("display","block"),a(".dispo-shared__ff-options").css("clear","both"),p=1}t.state="success"}),t.state="success"}}},error:function(e,i,a){"loading"===t.state&&(t.WSResp={error:!0,errorMessage:a},t.state="error")}}),t)},searchBestPrice:function(e){var t={url:window.location.pathname,price:e};return a.ajax({type:"POST",url:"/bestPrices",data:t}).then(function(e){var t=JSON.parse(e);return"success"==t.response?(s="true",!0):"fail"==t.response?(s="false",!1):void 0}).catch(function(){return!1})},recomendacion:function(e){p=e}});var l=new n;t.a=l}).call(t,i("T6cr"),i("86YC"))},ncd9:function(e,t,i){"use strict";var a=Math.floor;(function(r,e,s){var p=i("cq/L"),o=i("FRZn"),n=i.n(o),l=function(){var t=function(e,t,a){var n=[],y=void 0,g=void 0,c=void 0,d=void 0,u=[];if(void 0===e.FlightSegment[0]){var v=e.FlightSegment;e.FlightSegment=[],e.FlightSegment[0]=v}var m=null;y=0,r(e.FlightSegment).each(function(){if(null!==m){var t=new Date(this["@attributes"].DepartureDateTime),a=new Date(m);y+=parseInt((t.getTime()/1e3-a.getTime()/1e3)/60),this.StopoverLength=i(parseInt((t.getTime()/1e3-a.getTime()/1e3)/60))}this.FlightLength=i(parseInt(this.Comment[12].split(": ")[1])),this["@attributes"].DepartureCityName=this.Comment[2].split(": ")[1],this["@attributes"].ArrivalCityName=this.Comment[9].split(": ")[1],this["@attributes"].DepartureAirportName=this.Comment[0].split(": ")[1],this["@attributes"].DepartureLocaleDateTime=o(new Date(this["@attributes"].DepartureDateTime)),this["@attributes"].ArrivalAirportName=this.Comment[7].split(": ")[1],this["@attributes"].DepartureHour=s(this["@attributes"].DepartureDateTime,"DD-MM-YY HH:mm").format("HH:mm"),this["@attributes"].ArrivalHour=s(this["@attributes"].ArrivalDateTime,"DD-MM-YY HH:mm").format("HH:mm"),this["@attributes"].PriceType=e["@attributes"].PriceType,this["@attributes"].RefNumber=e["@attributes"].RefNumber,this.attributes=this["@attributes"],y+=parseInt(this.Comment[12].split(": ")[1]),m=this["@attributes"].ArrivalDateTime,void 0!==this.Equipment["@text"]&&(this.Equipment=this.Equipment["@text"]),n.push(this)});var x=n.length-1;y=void 0!==e["@attributes"].TotalDuration&&null!==e["@attributes"].TotalDuration?e["@attributes"].TotalDuration:void 0!==e["@attributes"].TotalDurationMin&&null!==e["@attributes"].TotalDurationMin?i(e["@attributes"].TotalDurationMin):void 0!==e.FlightSegment[0].TPA_Extensions.OriginDestinationOptionDuration&&null!==e.FlightSegment[0].TPA_Extensions.OriginDestinationOptionDuration?i(e.FlightSegment[0].TPA_Extensions.OriginDestinationOptionDuration):i(y);var h=new Date(n[0]["@attributes"].DepartureDateTime);h=h.setHours(h.getHours()-h.getTimezoneOffset()/60);var f=new Date(h),w=new Date(n[x]["@attributes"].ArrivalDateTime);w=w.setHours(w.getHours()-w.getTimezoneOffset()/60);var l=new Date(w);return g=f.toISOString().slice(0,10),c=l.toISOString().slice(0,10),d=!0,"fare"===a.ffType&&(d=!1),g<c&&(u.diff=p(g,c)),u.flights=n,u.airlineFareTypes=t,u.totalDuration=y,u.departureDate=g,u.arrivalDate=c,u.showFareInfo=d,u},i=function(e){e=parseInt(e);var t=a(e/60),i=a(e%60);return t+"h "+i+"m"},p=function(e,t){var i=e.split("-"),s=t.split("-"),r=Date.UTC(i[0],i[1]-1,i[2]),p=Date.UTC(s[0],s[1]-1,s[2]),o=a((p-r)/86400000);return o},o=function(e){return e.toLocaleDateString("co-co",{weekday:"long",year:"numeric",month:"long",day:"numeric"})};return{results:"#flight-results",options:"#flight-results .js-flight-block",hotelData:{},tooltipBestPrice:"<span class=\"tooltips-content\">Mejores tarifas encontradas para esas fechas!</span>",availRetries:1,availResults:0,loaded:!1,hasFF:0,alert:!1,ffType:function(){return("undefined"==typeof defaultFfType||"undefined"!=typeof ajaxUrlMultiAvail)&&(window.defaultFfType="price"),r(".js-ffOption.active").data("fftype")||e.url._getQueryParam("ffType")||defaultFfType},toggleFilterButtons:function(){var t=r(".js-toggleFilterAvail");return l.loaded?void("price"===l.ffType()?e.ui._isMobile()?t.hide().not(".js-availFilters").show():t.hide().not(".js-toggleFilters").show():t.hide().not(".js-availFilters, .js-toggleFilters").show()):void t.hide()},ajaxDetailHandler:function(i,e){e=e||{};var a=r("#js-body-detailAvailability").empty(),s=r("#js-spinner-detailAvailability").show(),p=r(this).closest(".js-flight-block"),o=p.find("input[name='flightTransactionID']").val(),y=p.find("input[name='flightPricedID']").val().split("*"),g=r(this).data("refnumber"),c=r(this).data("rph"),d=r(this).data("provider");if(_loadSpinner("js-spinOverlay-detailAvailability"),r(".js-ajaxDetailAvailability").data("state",""),r(this).data("state","loading"),a.data("activedetail",""+o+y[0]+g+c+d),a.data("activedetail")===""+o+y[0]+g+c+d){if("fare"===e.ffType){var u=r(this).data("infoflight").split("|"),v=u[0];"VH"==v&&(v="FC");var m=l.data.airlineFares[parseInt(u[3]-1)][v][u[2]],x=void 0;for(var h in m.fares){x=m.fares[h].flightInfo;break}a.empty().html(n()(t(x,e))),s.hide()}else if("price"===e.ffType){var f=JSON.parse(l.data.flights),w=l.data.airlineFareTypes,T=r(this).parents("form").data("index"),b=r(this).parents(".js-flight-option").data("index-flight")-1,k=r(this).parents(".js-flight-option").children("input").val(),A=f.PricedItineraries.PricedItinerary[T],C=!1;if(void 0===A&&(A=f.PricedItineraries.PricedItinerary),void 0===A.AirItinerary.OriginDestinationOptions.OriginDestinationOption[0]){var D=A.AirItinerary.OriginDestinationOptions.OriginDestinationOption;A.AirItinerary.OriginDestinationOptions.OriginDestinationOption=[],A.AirItinerary.OriginDestinationOptions.OriginDestinationOption[0]=D}if(void 0!==A.AirItinerary.OriginDestinationOptions.OriginDestinationOption[b]&&k===A.AirItinerary.OriginDestinationOptions.OriginDestinationOption[b]["@attributes"].FlightInfo&&(k=A.AirItinerary.OriginDestinationOptions.OriginDestinationOption[b],a.empty().html(n()(t(k,w,e))),s.hide(),C=!0),!C){for(var O in A=f.PricedItineraries.PricedItinerary,A){if(void 0!==A[O].AirItinerary.OriginDestinationOptions.OriginDestinationOption.FlightSegment){var F=A[O].AirItinerary.OriginDestinationOptions.OriginDestinationOption;A[O].AirItinerary.OriginDestinationOptions.OriginDestinationOption=[],A[O].AirItinerary.OriginDestinationOptions.OriginDestinationOption[0]=F}if(void 0!==A[O].AirItinerary.OriginDestinationOptions.OriginDestinationOption[b]&&k===A[O].AirItinerary.OriginDestinationOptions.OriginDestinationOption[b]["@attributes"].FlightInfo){k=A[O].AirItinerary.OriginDestinationOptions.OriginDestinationOption[b],a.empty().html(n()(t(k,w,e))),s.hide(),C=!0;break}}if(!C)for(var j in A)for(var S in A[j].AirItinerary.OriginDestinationOptions.OriginDestinationOption)if(k===A[j].AirItinerary.OriginDestinationOptions.OriginDestinationOption[S]["@attributes"].FlightInfo){k=A[j].AirItinerary.OriginDestinationOptions.OriginDestinationOption[S],a.empty().html(n()(t(k,w,e))),s.hide(),C=!0;break}}}r(this).data("state","loaded")}}}}();window.AVflight=l,t.a=l}).call(t,i("86YC"),i("T6cr"),i("ZCrj"))},qjG5:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(t,a,e){function s(i){0<Object.keys(r.a.hotelData).length&&t.each(r.a.hotelData,function(e,a){t("<input />").attr("type","hidden").attr("name",e).attr("value",a).appendTo(i.target)})}var r=i("ncd9"),p=i("5M89"),o=i("l70S"),n=i("vdam"),l=i("2Y5D"),y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.subscribe("/flight-avail/request",function(i,e){0===t("body script[data-fftype=\""+e+"\"]").length&&a.loadScript(asyncScripts[e],!0,!0,{"data-fftype":e})}),t.subscribe("/render/complete",function(){if(t(".js-topbarOptions").show(),r.a.toggleFilterButtons(),t(".js-ffOption").off("click").on("click",function(){"loading"!==t(".js-ffOptions").data("state")&&(Object(p.c)(t(this).data("fftype")),t(".js-ffOptions").data({state:"loading",activefftype:t(this).data("fftype")}),t(".js-ffOption").removeClass("active"),t(".js-flightSelection").hide(),t(this).addClass("active"),r.a.toggleFilterButtons(),t(r.a.results).css({display:"none"}),t(".js-flightLoader").show(),setTimeout(function(){r.a.availPagination&&r.a.availPagination.destroy(),t(r.a.results).empty().css({display:""})},0),ga("send","event","availability","flight_ff-select",t(this).data("fftype")))}),"undefined"!=typeof enableAlerts&&1==enableAlerts||"undefined"!=typeof r.a.enableAlerts&&1==r.a.enableAlerts&&"fare"!=r.a.ffType()){var i=r.a.data.attributes.AvailabilityType.route_type,s=a.url._getQueryParam("class"),l=a.url._getQueryParam("stop"),y=a.url._getQueryParam("airline");"round"==i||"oneway"==i?!1==r.a.alert&&(null==s&&null==l&&null==y&&(o.a.recomendacion(0),o.a.sendRequest("dep")),"undefined"==typeof enableAlerts&&(Object(n.c)(!1),Object(n.a)()),("undefined"!=typeof front&&1!=front||1!=r.a.front)&&Object(n.b)(),r.a.alert=!0):t("#alertCheckbox").css("display","none")}if(r.a.loaded){var g=t("#js-targetCalendar"),c=g.closest(".js-calendarFrame");t(".js-toogleCalendar").off("click").on("click",function(){/init/.test(g.data("state"))&&Object(p.b)(g,!1),"loaded"!==g.data("state")&&("reloading"!==g.data("state")&&_loadSpinner("js-targetCalendar"),!/init|loading/.test(g.data("state"))&&Object(p.b)(g,!1)),0==t(this).data("toogle")?(c.show(),t(this).data("toogle","1")):(c.hide(),t(this).data("toogle","0")),ga("send","event","availability","calendar","click")}),t(".js-toogleCalendar, #CalendarWidget").show()}f(),e(".dropbtn").unbind("click",_buttonCoin)});var g=void 0,c=void 0,d=void 0,u=void 0,v=function(e){var t=document.querySelector(".modalAvailHopper");u=e,t.classList.add("activeModalHopper"),c=t.querySelector(".js-modalFreeze"),"success"===e.status&&(t.querySelector(".js-hopperPriceFreeze").textContent=e.data.currency+" "+new Intl.NumberFormat().format(e.data.price),t.querySelector(".js-hopperDayFreeze").textContent=e.data.time_to_live,t.querySelector(".js-hopperMaxPrice").textContent=e.data.currency+" "+new Intl.NumberFormat().format(e.data.cap),g.querySelector(".js-flightHiddenInput").setAttribute("data-idoffers",e.data.id_Offers),g.querySelector(".js-flightHiddenInput").setAttribute("data-userid",e.data.user_id)),"error"===e.status&&(t.querySelector(".content-modalAvailHopper").classList.add("faildFreezeHopper"),t.querySelector("#modalBodyHopper").innerHTML="Lo sentimos, no se puede congelar esta tarifa.",setTimeout(function(){t.classList.remove("activeModalHopper"),t.querySelector(".content-modalAvailHopper").classList.remove("faildFreezeHopper")},3e3))},m=function(){var t=[],i=0,a=0,s=0,r=0,p=0,o=0,n=void 0,l=void 0,y=void 0,c=void 0,u=void 0,m=void 0,x=void 0;g.querySelectorAll(".js-flight-stack").forEach(function(e){var g=e.querySelectorAll(".js-flight-option");g.forEach(function(e){var g=e.querySelector(".dispo-flight__row__check .list-checked");if(g){n=e.dataset.adtquantity||0,l=e.dataset.chdquantity||0,y=e.dataset.infquantity||0,i=+parseInt(e.dataset.adtpricebase||0)*n,a=+parseInt(e.dataset.chdpricebase||0)*l,s=+parseInt(e.dataset.infpricebase||0)*y,r=+parseInt(e.dataset.adtpricetax||0)*n,p=+parseInt(e.dataset.chdpricetax||0)*l,o=+parseInt(e.dataset.infpricetax||0)*y,c=e.dataset.departuredate||null,u=e.dataset.arrdate||null,m=e.dataset.codeorigin||null,x=e.dataset.codedestination||null;var d={Codigo_Aerolinea:e.querySelector(".js-airlines-info").dataset.airlines.split("|")[0]||null,departure_time:e.dataset.departuredateflight||null,arrival_time:e.dataset.arrivaldateflight||null,origin_airport:e.dataset.depairport.split("|")[0]||null,destination_airport:e.dataset.arrairport.split("|")[0]||null,fare_class:e.dataset.classflight||null,flight_number:e.querySelector(".js-airlines-info").dataset.airlines.split("|")[0]+e.dataset.flightnumber||null,stops:e.dataset.stops||0,duration:e.dataset.duration||null};t.push(d)}})}),d={OffersFreeze:{Request:{Correlationid:g.flightCorrelationID.value,Transactionid:g.flightTransactionID.value,Fecha_Salida:c,Fecha_Regreso:u,Ruta:{Origen:m,Destino:x},Tarifas:{Currency:null==g.typeCoin?"COP":g.typeCoin.value,TotalAdult:n,Tarifa_Adult:i,Tax_Adult:r,TotalChild:l,Tarifa_Child:a,Tax_Child:p,TotalInfant:y,Tarifa_Infant:s,Tax_Infant:o},trip:{trips:t}}}},e.ajax({url:"/hopper/consult",type:"post",dataType:"json",data:d,async:!0,beforeSend:function(){e(".js-globalOverlay-text").text("Consultando tarifa congelable"),e(".js-globalOverlay").show()},success:function(t){e(".js-globalOverlay").hide(),v(t),t=""},error:function(){e(".js-globalOverlay").show(),e(".js-globalOverlay-text").text("Error al consultar tarifa congelable"),setTimeout(function(){e(".js-globalOverlay").hide(),e(".js-globalOverlay-text").empty().hide()},3e3)}})},x=function(e){var t={Codigo_Aerolinea:e.MarketingAirline["@attributes"].Code,departure_time:e["@attributes"].DepartureDateTime,arrival_time:e["@attributes"].ArrivalDateTime,origin_airport:e.DepartureAirport["@attributes"].LocationCode,destination_airport:e.ArrivalAirport["@attributes"].LocationCode,fare_class:e.BookingClassAvails["@attributes"].CabinType,flight_number:e.OperatingAirline["@attributes"].FlightNumber};return t},h=function(){var t=document.createDocumentFragment(),i=JSON.parse(r.a.data.flights),a=i.PricedItineraries.PricedItinerary[g.dataset.index],s={tripsIda:[],tripsRegreso:[]},p={Price_Freeze:{Request:d.OffersFreeze.Request}};if(g.querySelectorAll(".js-flight-stack").forEach(function(e,t){var i=e.querySelectorAll(".js-flight-option");i.forEach(function(e){var i=e.querySelector(".dispo-flight__row__check .list-checked");if(i){var r=a.AirItinerary.OriginDestinationOptions.OriginDestinationOption[e.dataset.indexflight],p=void 0;if(r&&(p=r.FlightSegment),void 0===r){var o=a.AirItinerary.OriginDestinationOptions.OriginDestinationOption;a.AirItinerary.OriginDestinationOptions.OriginDestinationOption=[o],Array.isArray(o.FlightSegment)?o.FlightSegment.forEach(function(e){var t=x(e);s.tripsIda.push(t)}):s.tripsIda.push(d.OffersFreeze.Request.trip.trips[0])}void 0!==r&&(Array.isArray(p)?p.forEach(function(e){if(0===t){var i=x(e);s.tripsIda.push(i)}else if(1===t){var a=x(e);s.tripsRegreso.push(a)}}):0===s.tripsIda.length&&0===t?s.tripsIda.push(d.OffersFreeze.Request.trip.trips[0]):0===s.tripsRegreso.length&&1==t&&s.tripsRegreso.push(d.OffersFreeze.Request.trip.trips[1]))}})}),p.Price_Freeze.Request.Id_Offers=u.data.id_Offers,p.Price_Freeze.Request.user_id=u.data.user_id,p.Price_Freeze.Request.trip.trips=s.tripsIda,p.Price_Freeze.Request.trip.tripsRegreso=s.tripsRegreso,"success"===u.status){for(var o in g.querySelector("[name=\"hopper\"]").value=!0,g.querySelector("[name=\"dataFreezeHopper\"]").value=JSON.stringify(p),u.data){var n=document.createElement("input");n.setAttribute("value",u.data[o]),n.setAttribute("name",o),n.setAttribute("type","hidden"),t.appendChild(n)}g.appendChild(t)}g.setAttribute("action",detailUrl),g.submit(),e(".js-globalOverlay-text").text("Un momento por favor..."),e(".js-flight-showOverlay").on("click",_showOverlay)};document.addEventListener("click",function(t){if((t.target.matches(".btn-close")||t.target.matches(".btn-close *")||t.target.matches(".modalAvailHopper"))&&document.querySelector("#js-modalAvailHopper").classList.remove("activeModalHopper"),t.target.matches(".js-openModalAvailHopper")){t.preventDefault();var e=t.target.getAttribute("data-hopper");g=document.querySelector(e),m()}t.target===c&&h(),t.target.matches(".js-flight-showOverlay")&&"object"==("undefined"==typeof AVmulti?"undefined":y(AVmulti))&&s(t)}),t(document).ready(function(){0===t(".page__body .search_promo").length&&(e(".dropbtn").bind("click",_buttonCoin),e(".coin").click(function(){e(".js-flightLoader").show(),e(".js-tripSegment, .js-flightSelection, .dispo-flight__ff-container, .js-paginatorTarget").empty(),ajaxUrlFlightAvail=_reloadPrices(!0),Object(p.a)(),Object(p.b)(t("#js-targetCalendar"),!1),e(".js-toogleCalendar").data("toogle","0").text("Mostrar Calendario +/- 3 dias"),e("#js-targetCalendar").closest(".js-calendarFrame").hide(),e(".dropbtn").bind("click",_buttonCoin)}),"undefined"!=typeof calendar&&calendar?(Object(p.b)(t("#js-targetCalendar"),!0),ga("send","event","availability","calendar","render")):(Object(p.a)(),ga("send","event","availability","flight_ff-default","loaded")));var i=6;setInterval(function(){i--;var e=window.location.pathname;if("/"!=e&&"/buscar/vuelos/"!=e&&""!=e&&0==i){var a=window.btoa("Su sesi\xF3n ha expirado"),s=window.btoa("Ha permanecido demasiado tiempo en la disponibilidad, por favor vuelva a realizar su consulta."),o=window.btoa("error");return window.location.href="/?rtitle="+a+"&rtext="+s+"&rimage="+o}"undefined"!=typeof calendar&&calendar?Object(p.b)(t("#js-targetCalendar"),!0):0===r.a.hasFF&&Object(p.a)()},54e4)});var f=function(){"undefined"!=typeof capaDatos&&capaDatos.forEach(function(e,a){if("undefined"!=typeof capaDatos[a].ecommerce){var s=t("input[name=\"pixelInfo[partner_datalayer]\"]").each(function(){return this}).get();for(var r in s){if(50<=r)break;s[r]=t(s[r]);var i=s[r].data("name"),p=s[r].data("price"),o=s[r].data("brand"),n=s[r].data("category"),l=s[r].data("variant"),y=s[r].data("list"),g=s[r].data("position");capaDatos[a].ecommerce.impressions.push({name:i,price:p,brand:o,category:n,variant:l,list:y,position:g})}}})}}.call(t,i("86YC"),i("T6cr"),i("86YC"))},vHEw:function(e,t,i){"use strict";(function(e){var i={hasOperatorId:"1"===e("#AVglobal-hasOperatorId").val()};t.a={session:i}}).call(t,i("86YC"))},vdam:function(e,t,i){"use strict";(function(a,e){i.d(t,"a",function(){return T}),i.d(t,"b",function(){return b}),i.d(t,"c",function(){return k});var s=!1,r=!1,p=null,o=null,n=!1,l=5e3,y=!1,g=!1,c=null,d=8e3,u=9e3,v=0,m=function(){!1==g?(c=setTimeout(function(){0===v&&!1==n&&!1===y&&"fare"!=AVflight.ffType()&&!a("#js-panel-detailAvailability").hasClass("active")&&a(".resume-search__engine").is(":hidden")?(a("#js-modalAlert").modal({show:!0}),g=!0,a(window).off("mousemove",h),a(window).off("scroll",f),a("body").off("mouseleave",w),n=!0,clearTimeout(p),d=0):clearTimeout(l)},l),a(window).on("scroll",f)):(a(window).off("mousemove",h),a(window).off("scroll",f),a("body").off("mouseleave",w))},x=function(){v=0,!1==g&&(!1==n&&!1===y&&"fare"!=AVflight.ffType()&&!a("#js-panel-detailAvailability").hasClass("active")&&a(".resume-search__engine").is(":hidden")?(a("#js-modalAlert").modal({show:!0}),g=!0,a(window).off("mousemove",h),a(window).off("scroll",f),a("body").off("mouseleave",w),n=!0,clearTimeout(o),d=0):clearTimeout(u))},h=e.debounce(function(){!1==g?(clearTimeout(p),clearTimeout(l),clearTimeout(o),clearTimeout(u),a(window).off("scroll",f),p=setTimeout(m,d)):a(window).off("mousemove",h)},200),f=e.debounce(function(){!1==g?(v=1,clearTimeout(o),o=setTimeout(x,u)):a(window).off("scroll",f)},200),w=function e(){!1==g?!1===r&&!1==n&&"fare"!=AVflight.ffType()&&!a("#js-panel-detailAvailability").hasClass("active")&&a(".resume-search__engine").is(":hidden")&&(r=!0,n=!0,g=!0,a("#js-modalAlert").modal({show:!0}),clearTimeout(p),clearTimeout(c),clearTimeout(o),clearTimeout(u),a(window).off("mousemove",h),a(window).off("scroll",f),a("body").off("mouseleave",e)):a("body").off("mouseleave",e)},T=function(){a("#form_alert").on("submit",function(t){if(t.preventDefault(),a("#js-modalAlert").data("bs.modal").options.backdrop="static",a(window).off("mousemove",h),a(window).off("scroll",f),a("body").off("mouseleave",w),clearTimeout(p),clearTimeout(o),a("[name^=\"aviatur_generalbundle_alerts[email]\"]").hasClass("text-input valid")){var e=a(this).attr("action"),i=a(this).serialize();a("#alert-body-modal").css("display","none"),_loadSpinner("js-ajaxAlert"),a("#close-alert-modal").css("display","none"),a.ajax({type:"POST",url:e,data:i}).done(function(e){_removeSpinner("js-ajaxAlert"),e.success?(a("#close-alert-modal").css("display","block"),a("#alert-body-modal").css("display","none"),a("#js-ajaxAlert").css("min-height","0px"),a("#title-alert-modal").css("display","none"),a("#result-alert-modal").html("<p>Tu alerta se ha guardado exitosamente.</p>"),a("#result-alert-modal").css("display","block"),a("#toggle-alert").prop("checked",!0),a("#toggle-alert").attr("disabled",!0),setTimeout(function(){a("#js-modalAlert").modal("hide")},4e3),s=!0):e.error?(a("#close-alert-modal").css("display","block"),a("#alert-body-modal").css("display","none"),a("#js-ajaxAlert").css("min-height","0px"),a("#title-alert-modal").css("display","none"),a("#result-alert-modal").html("<p>Ya tienes creada una alerta para esta b\xFAsqueda.</p>"),a("#result-alert-modal").css("display","block"),a("#toggle-alert").prop("checked",!0),a("#toggle-alert").attr("disabled",!0),setTimeout(function(){a("#js-modalAlert").modal("hide")},4e3),s=!0):e.failToken&&(a("#close-alert-modal").css("display","block"),a("#alert-body-modal").css("display","none"),a("#js-ajaxAlert").css("min-height","0px"),a("#alertCheckbox").css("display","none"),a("#title-alert-modal").css("display","none"),a("#result-alert-modal").html("<p>Disculpa las molestias, ocurrio un error. Intentalo de nuevo m\xE1s tarde.</p>"),a("#result-alert-modal").css("display","block"),setTimeout(function(){a("#js-modalAlert").modal("hide")},4e3),s=!1)})}}),a("#js-modalAlert").on("show.bs.modal",function(){y=!0}),a("#js-modalAlert").on("hidden.bs.modal",function(){!0==s?(a("#toggle-alert").prop("checked",!0),a("#toggle-alert").attr("disabled",!0),a(window).off("mousemove",h),a(window).off("scroll",f),a("body").off("leave",w),clearTimeout(p),clearTimeout(o)):(a("#toggle-alert").prop("checked",!1),a("#form_alert")[0].reset(),a("#result-alert-modal").css("display","none"),a("#alert-body-modal").css("display","block"),a("#title-alert-modal").css("display","block"),y=!1,n=!1,!0==r&&a("body").off("mouseleave",w))}),a("#toggle-alert").click(function(){n=!0,clearTimeout(p),clearTimeout(c),clearTimeout(o),clearTimeout(u),g=!0,a(window).off("mousemove",h),a(window).off("scroll",f),a("body").off("mouseleave",w),a(this).is(":checked")&&setTimeout(function(){a("#js-modalAlert").modal({show:!0})},300)});a("#form_alert").validate({errorClass:"error",errorPlacement:function(e,t){e.insertAfter(t.prev().after())}});a("[name^=\"aviatur_generalbundle_alerts[email]\"]").rules("add",{required:!0,trueEmail:!0})},b=function(){document.getElementById("flight-results")&&!1==s?(a(window).on("mousemove",h),a("body").on("mouseleave",w)):a("#alertCheckbox").css("display","none")},k=function(e){g=e};a(document).ready(function(){a.subscribe("/flux/submit",function(){n=!0,clearTimeout(p),clearTimeout(l),clearTimeout(o),clearTimeout(u),a(window).off("mousemove",h),a(window).off("scroll",f),a("body").off("mouseleave",w)}),T()})}).call(t,i("86YC"),i("T6cr"))}},["qjG5"]);