(function(){return function(e,t,r){var a=Scanner.fromMessage(e);a.setLocale(t);var n,i=a.getSpan(),l="Confirmed",o=[],s=[];n=i.next(r.reservationId_prefix).parentAnyTag("td").innerCapture(regExpFormatted(/\1\s*([^\s\[]+)/,r.reservationId_prefix),1);var p;p=i.nextTag("table4").allInnerTagsFiltered("td5");var g=0;p.length<4&&(p=i.nextTag("table5").nextTag("table5").nextTag("table5").allInnerTagsFiltered("td5"),g=2);var u=p[3-g].innerCapture(regExpFormatted(/($<first>.+)\s.\s($<second>.+)/)),d=u?u.$first:null,m=u?u.$second:null,x=combineDateAndTime(p[4-g].nextDate(),p[5-g].nextDate()),T=combineDateAndTime(p[4-g].nextDate(),p[6-g].nextDate()),v=p[7-g].innerCapture(regExpFormatted(/\1\s($<flight>.+)\s(<$number>.+)/,r.flightNum)),h=v?v.$number:null;if(i.next(r.ari).isNullSpan_)ASSERT(n,d,m,x)&&o.push({airlineName:"volotea",departureTime:x,flightNumber:h,departureAirport:d,arrivalTime:T,arrivalAirport:m});else{ASSERT(n,d,m,x)&&o.push({airlineName:"volotea",departureTime:x,flightNumber:h,departureAirport:d,arrivalTime:T,arrivalAirport:m});var b=!1;i.nextTag("table5").nextTag("table5").nextTag("table5").nextTag("table5").allInnerTagsFiltered("td5").length>5&&(b=!0),p.length<7&&(i.next(r.ari).parentAnyTag("td").allInnerTagsFiltered("td5").length>3||b)?(g=2,p=i.nextTag("table5").nextTag("table5").nextTag("table5").nextTag("table5").allInnerTagsFiltered("td5"),u=p[3-g].innerCapture(regExpFormatted(/($<first>.+)\s.\s($<second>.+)/)),d=u?u.$first:null,m=u?u.$second:null,x=combineDateAndTime(p[4-g].nextDate(),p[5-g].nextDate()),T=combineDateAndTime(p[4-g].nextDate(),p[6-g].nextDate()),v=p[7-g].innerCapture(regExpFormatted(/\1\s($<flight>.+)\s(<$number>.+)/,r.flightNum)),h=v?v.$number:null):i.next(r.ari).parentAnyTag("td").allInnerTagsFiltered("td5").length>2&&(u=p[9].innerCapture(regExpFormatted(/($<first>.+)\s.\s($<second>.+)/)),d=u?u.$first:null,m=u?u.$second:null,x=combineDateAndTime(p[10].nextDate(),p[11].nextDate()),T=combineDateAndTime(p[10].nextDate(),p[12].nextDate()),v=p[13].innerCapture(regExpFormatted(/\1\s($<flight>.+)\s(<$number>.+)/,r.flightNum)),h=v?v.$number:null),ASSERT(n,d,m,x)&&o.push({airlineName:"volotea",departureTime:x,flightNumber:h,departureAirport:d,arrivalTime:T,arrivalAirport:m})}var s=[];if(i.next(r.pass).isNullSpan_)s.push(i.next(/(?:Madame\/Monsieur(?: M\.\/Mme\.)?)|(?:Merci pour votre r\xe9servation Celine)/).parentAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1\s([^,]+),? votre/,/Madame\/Monsieur/),1));else for(var A=i.next(r.pass).nextAnyTag("table"),f=A.next(r.passager).nextAnyTag("td").tagContents();!f.isNullSpan_;)s.push(f),f=f.nextAnyTag("td").next(r.passager).nextAnyTag("td").tagContents();for(var c=[],$=0;$<o.length;$++)for(var F=0;F<s.length;F++){var D=o[$];c.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineName:D.airlineName,flightNumber:D.flightNumber,departureAirportFuzzy:D.departureAirport,departureAirportCode:D.departureCode,departureTime:D.departureTime,arrivalAirportFuzzy:D.arrivalAirport,arrivalAirportCode:D.arrivalCode,arrivalTime:D.arrivalTime},underName:{"@type":"http://schema.org/Person",name:s[F]},reservationId:n,reservationStatus:"http://schema.org/Reservation"+l})}return c}}).call();