(function(){return function(e,t,r){var a=Scanner.fromMessage(e);a.setLocale(t);var n,o,i,p,x,c,m,s,f,g,d="Confirmed";if(n=a.getSpan().innerCapture(regExpFormatted(/\1\s(.*),/,r.underPersonNamePrefix),1),i=e.subject.match(RegExp(r.carReservationIdPrefix+"\\s(\\d+)"))[1],p=a.getSpan().nextText(r.carReservationModifyUrlPrefix).nextLink(),x=a.getSpan().innerCapture(regExpFormatted(/\1\s(.*)/,r.carProviderNamePrefix),1),c=a.getSpan().innerCapture(regExpFormatted(/\1\s(.*)\s\2/,r.carBrandPrefix,r.carBrandSuffix),1),m=a.getSpan().innerCapture(regExpFormatted(/\1\s(.*)/,r.locationNamePrefix),1),s=a.getSpan().nextText(r.pickUpBlockPrefix).nextText(r.dateTimePrefix).nextDate(),f=a.getSpan().withStart(a.getSpan().nextText(r.dropOffBlockPrefix)).innerCapture(regExpFormatted(/\1\s(.*)/,r.locationNamePrefix),1),g=a.getSpan().nextText(r.dropOffBlockPrefix).nextText(r.dateTimePrefix).nextDate(),ASSERT(i,m,s))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",reservationStatus:"http://schema.org/Reservation"+d,reservationId:i,modifyReservationUrl:p,underName:{"@type":"http://schema.org/Person",name:n,email:o},provider:{"@type":"http://schema.org/Organization",name:x},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:c}},pickupTime:s,pickupLocation:{"@type":"http://schema.org/Place",name:m},dropoffTime:g,dropoffLocation:{"@type":"http://schema.org/Place",name:f}}]}}).call();