// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,o,i,p,c,s,x,g,d,m,f,y,h,l,T,A,v=a.getSpan(),u="Confirmed";if(T=""+v.nextAnyTag("td").tagContents(),T=/(.*),.*\n/.exec(T)[1],r=v.next(n.reservationId_prefix).nextAnyTag("td").nextAnyTag("td").tagContents(),o=v.next(n.pickupTime_prefix).nextAnyTag("td").nextAnyTag("td").innerDate(),s=v.next(n.dropoffTime_prefix).nextAnyTag("td").nextAnyTag("td").innerDate(),i=v.next(n.pickupName_prefix).nextAnyTag("td").nextAnyTag("td").tagContents(),x=v.next(n.dropoffName_prefix).nextAnyTag("td").nextAnyTag("td").tagContents(),A=v.next(n.brand_prefix).nextAnyTag("td").nextAnyTag("td").tagContents(),h=v.next(n.modifyReservationUrl_prefix).nextLink(),l=v.next(n.cancelReservationUrl_prefix).nextLink(),ASSERT(r,T,o,i))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",reservationId:r,totalPrice:m,priceCurrency:f,reservationStatus:"http://schema.org/"+u,checkinUrl:y,modifyReservationUrl:h,cancelReservationUrl:l,underName:{"@type":"http://schema.org/Person",name:T},provider:{"@type":"http://schema.org/Organization",name:"Enterprise"},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:A},license:"",color:""},pickupTime:o,pickupLocation:{"@type":"http://schema.org/Place",name:i,telephone:p,address:c},dropoffTime:s,dropoffLocation:{"@type":"http://schema.org/Place",name:x,telephone:g,address:d}}]}}).call();