// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,r){var n=Scanner.fromMessage(e);n.setLocale(t);var a,i,o,c,p,s;if(a=n.getSpan(),i=a.innerCapture(r.reservationIdRegExp,1),void 0!==r.underNamePrefix&&(o=a.next(r.underNamePrefix).nextTag("td4").tagContents()),void 0!==r.pricePrefix&&(c=a.next(r.pricePrefix).nextTag("td4").tagContents(),c&&c.exists()&&(p=c.innerCapture(/([\d,.]+)/,1),s=c.innerCapture(/([^\d,.]+)/,1).trim())),ASSERT(i))return[{"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight"},underName:{"@type":"http://schema.org/Person",name:o},reservationId:i,reservationStatus:"http://schema.org/ReservationCancelled",totalPrice:p,priceCurrency:s,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat"}}}]}}).call();