(function(){return function(t,e,r){var n=Scanner.fromMessage(t);n.setLocale(e);var a,s,o=n.getSpan(),i=[];a=o.innerCapture(regExpFormatted(/\1\s*:\s*(\w+)/,r.bookingNumber),1);var g=o.next(r.name).next(/\s*:\s*/i).next(/[\w \/]+/).split("/");if(g instanceof Array&&g.length>=2&&(g[0]=g[0].getString(),g[1]=g[1].getString(),s=g[0].substr(0,1)+g[0].substr(1).toLowerCase()+" ",s+=g[1].substr(0,1)+g[1].substr(1).toLowerCase()+" "),!a.exists()){var p=n.getSpan().next(r.altBookingNumber).nextTag("td2").tagContents().split("\n");s=p[0],a=p[1]}if(ASSERT(a)){i.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight"},underName:{"@type":"http://schema.org/Person",name:s.trim()},reservationId:a.trim(),reservationStatus:"http://schema.org/ReservationCancelled",reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat"}}})}if(i.length>=1)return i}}).call();