// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(r){if(r.html){var e=parseMicrodataAndJsonLd(r.html),t=[];if(e.length){for(var a=0;a<e.length;a++)switch(e[a]["@context"]="http://schema.org",e[a]["@type"]){case"http://schema.org/FlightReservation":ASSERT(e[a].reservationFor.departureTime,e[a].underName),t.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineCode:"U2",airlineName:e[a].reservationFor.airline.name,flightNumber:e[a].reservationFor.flightNumber.trim(),departureAirportFuzzy:e[a].reservationFor.departureAirport.name,departureAirportCode:e[a].reservationFor.departureAirport.iataCode,departureTime:e[a].reservationFor.departureTime,arrivalAirportFuzzy:e[a].reservationFor.arrivalAirport.name,arrivalAirportCode:e[a].reservationFor.arrivalAirport.iataCode,arrivalTime:e[a].reservationFor.arrivalTime},underName:{"@type":"http://schema.org/Person",name:e[a].underName.name},checkinUrl:e[a].checkinUrl,reservationId:e[a].reservationNumber,reservationStatus:"http://schema.org/ReservationConfirmed",totalPrice:e[a].totalPrice,priceCurrency:e[a].priceCurrency,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat"}}})}return t.length>0?t:CONTINUE}}}}).call();