// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,r){var n=Scanner.fromMessage(e);n.setLocale(t);var a,i,s,o,p=[];a=n.getSpan().next(r.reservationIdPrefix).parentTag("td2").tagContents().innerCapture(regExpFormatted(/\1\s*(.+)/,r.reservationIdPrefix),1).trim(),i=n.getSpan().next(r.reservationIdPrefix).next(r.passengerPrefix).parentAnyTag("table"),i.exists()&&(p=i.allInnerTagsFiltered("td2").map(function(e){return(""+e).trim()}).filter(function(e){return!r.passengerPrefix.test(e)&&!/^</.test(e)}));var c=[];if(p.forEach(function(e){if(ASSERT(e,a)){var t={"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight"},underName:{"@type":"http://schema.org/Person",name:e},reservationId:a,reservationStatus:"http://schema.org/ReservationCancelled",totalPrice:s,priceCurrency:o,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat"}}};c.push(t)}}),c.length)return c}}).call();