(function(){return function(e,t,r){var a=Scanner.fromMessage(e);a.setLocale(t);var n,i,s,p,o,c,u,m=a.getSpan();if(n=m.innerCapture(r.reservationId,1),p=m.innerCapture(r.refundPrice,1),p.exists()&&(c=p.innerCapture(/([\d,.]+)/,1),o=p.innerCapture(/([^\(\d,.]+)/,1).trim(),u=p.innerCapture(/\*(\d+)/,1),u.exists()&&(c=(parseFloat(""+c)*parseFloat(""+u)).toFixed(2))),void 0!==r.ticketNumber&&(s=m.innerCapture(r.ticketNumber,1).trim()),void 0!==r.passenger&&(i=m.innerCapture(r.passenger,1).trim()),ASSERT(n))return[{"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight"},underName:{"@type":"http://schema.org/Person",name:i},reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:s,ticketedSeat:{"@type":"http://schema.org/Seat"}},totalPrice:c,priceCurrency:o,reservationStatus:"http://schema.org/ReservationCancelled",reservationId:n}]}}).call();