(function(){return function(e,t,r){var a=Scanner.fromMessage(e);a.setLocale(t);var n=a.getSpan().nextText(r.flightNumberPrefix).parentTag("table1"),i=n.nextText(r.fromPrefix).parentTag("td1"),o=i.innerDate(),p=i.tagContents().innerCapture(/($<airportName>.+)\(($<airportCode>\w{3})\)/),g=p.$airportName,m=p.$airportCode,s=i.tagContents().innerCapture(regExpFormatted(/\1: ($<airlineCode>\w{2})($<flightNumber>\d+)/,r.flightNumberPrefix)),x=s.$airlineCode,d=s.$flightNumber,c=i.tagContents().innerCapture(regExpFormatted(/\1 (.+)/,r.airlineNamePrefix),1),u=d.nextTag("td1"),l=u.innerDate(),C=u.tagContents().innerCapture(/($<airportName>.+)\(($<airportCode>\w{3})\)/),h=C.$airportName,f=C.$airportCode,T=a.getSpan().nextText(r.pricePrefix).nextTag("td1").tagContents().innerCapture(/($<price>[\d\., ]+)($<currency>[^\d\., ]+)/),$=T.$price.trim(),N=T.$currency.trim(),v=a.getSpan().nextText(r.reservationIdPrefix).nextTag("td1").tagContents().innerCapture(/\w{6}/,0),y=a.getSpan().nextText(r.passengerDetailsHeader).parentTag("table1"),P=y.nextText(r.passengerNamePrefix).nextTag("td1").tagContents().trim(),S=P.nextText(r.passengerEmailPrefix).nextLink();if(ASSERT(x,d,o,m,l,f))return[{"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineName:c,airlineCode:x,flightNumber:d,departureAirportFuzzy:g,departureAirportCode:m,departureTime:o,arrivalAirportFuzzy:h,arrivalAirportCode:f,arrivalTime:l},underName:{"@type":"http://schema.org/Person",name:P,email:S},reservationId:v,reservationStatus:"http://schema.org/ReservationConfirmed",totalPrice:$,priceCurrency:N,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat"}}}]}}).call();