(function(){function e(e,t){var r=Scanner.fromMessage(e);r.setLocale(t);var a,n,a,i,s,o,p=r.getSpan(),g=p.nextTag("table4").nextTag("table4").allInnerTagsFiltered("td4");a=g[19],i=g[21],s=g[23],o=g[25],n=g[31];var u=[];if(ASSERT(n,a)){u.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",departureAirportFuzzy:s.innerCapture(/([^(]+)/,1).trim(),departureAirportCode:s.innerCapture(/[^(]+\((.*)\)/,1).trim(),departureTime:i,arrivalAirportFuzzy:o.innerCapture(/([^(]+)/,1).trim(),arrivalAirportCode:o.innerCapture(/[^(]+\((.*)\)/,1).trim()},underName:{"@type":"http://schema.org/Person",name:n},reservationId:a,reservationStatus:"http://schema.org/ReservationCancelled"})}if(u.length)return u}return function(t,r,a){var n=Scanner.fromMessage(t);n.setLocale(r);var i;if(n.getSpan().nextTag("table2").exists())return e(t,r,a);i=n.getSpan().innerCapture(a.reservationId,1);var s=n.getSpan().innerCapture(/(.*)/,1).split(" "),o=s[1].split("/")[0].getString(),p=s[1].split("/")[1];void 0===p?p=s[2].getString().substr(0,s[2].getString().length-1):(p=p.getString().replace(/mr?s?,/gi,""),p=p.substr(0,1)+p.substr(1).toLowerCase()),o=o.substr(0,1)+o.substr(1).toLowerCase();var g=[];if(ASSERT(o+p,i)){g.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight"},underName:{"@type":"http://schema.org/Person",name:p+" "+o},reservationId:i,reservationStatus:"http://schema.org/ReservationCancelled"})}return g.length?g:void 0}}).call();