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