(function(){return function(e){if(e.html){var r=parseMicrodataAndJsonLd(e.html),t=[];if(r.length){for(var a=0;a<r.length;a++)switch(r[a]["@context"]="http://schema.org",r[a]["@type"]){case"http://schema.org/LodgingReservation":t.push({"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:r[a].underName.name},checkinTime:r[a].checkinDate,checkoutTime:r[a].checkoutDate,modifyReservationUrl:r[a].modifyReservationUrl,reservationStatus:r[a].reservationStatus,reservationId:r[a].reservationNumber,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:r[a].reservationFor.name,telephone:r[a].reservationFor.telephone,address:{"@type":"http://schema.org/PostalAddress",streetAddress:r[a].reservationFor.address.streetAddress,addressLocality:r[a].reservationFor.address.addressLocality,addressRegion:r[a].reservationFor.address.addressRegion,postalCode:r[a].reservationFor.address.postalCode,addressCountry:r[a].reservationFor.address.addressCountry}}});break;case"http://schema.org/RentalCarReservation":t.push({"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",reservationId:r[a].reservationNumber,reservationStatus:r[a].reservationStatus,modifyReservationUrl:r[a].modifyReservationUrl,underName:{"@type":"http://schema.org/Person",name:r[a].underName.name},provider:{"@type":"http://schema.org/Organization",name:r[a].reservationFor.rentalCompany.name},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:r[a].reservationFor.brand.name}},pickupTime:r[a].pickupTime,pickupLocation:{"@type":"http://schema.org/Place",name:r[a].pickupLocation.name,telephone:r[a].pickupLocation.telephone,address:{"@type":"http://schema.org/PostalAddress",streetAddress:r[a].pickupLocation.address.streetAddress,addressLocality:r[a].pickupLocation.address.addressLocality,addressRegion:r[a].pickupLocation.address.addressRegion,addressCountry:r[a].pickupLocation.address.addressCountry,postalCode:r[a].pickupLocation.address.postalCode}},dropoffTime:r[a].dropoffTime,dropoffLocation:{"@type":"http://schema.org/Place",name:r[a].dropoffLocation.name,telephone:r[a].dropoffLocation.telephone,address:{"@type":"http://schema.org/PostalAddress",streetAddress:r[a].dropoffLocation.address.streetAddress,addressLocality:r[a].dropoffLocation.address.addressLocality,addressRegion:r[a].dropoffLocation.address.addressRegion,addressCountry:r[a].dropoffLocation.address.addressCountry,postalCode:r[a].dropoffLocation.address.postalCode}}});break;case"http://schema.org/FlightReservation":t.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineCode:r[a].reservationFor.airline.iataCode,airlineName:r[a].reservationFor.airline.name,flightNumber:r[a].reservationFor.flightNumber,departureAirportFuzzy:r[a].reservationFor.departureAirport.name,departureAirportCode:r[a].reservationFor.departureAirport.iataCode,departureTime:r[a].reservationFor.departureTime,arrivalAirportFuzzy:r[a].reservationFor.arrivalAirport.name,arrivalAirportCode:r[a].reservationFor.arrivalAirport.iataCode,arrivalTime:r[a].reservationFor.arrivalTime},underName:{"@type":"http://schema.org/Person",name:r[a].underName.name},reservationId:r[a].reservationNumber,reservationStatus:r[a].reservationStatus,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat"}},programMembershipUsed:{"@type":"http://schema.org/ProgramMembership"}})}return t.length>0?t:CONTINUE}}}}).call();