// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,r){var a=Scanner.fromMessage(e);a.setLocale(t);var n,o,p,i,c,g,h=a.getSpan(),m="Confirmed";o=h.innerCapture(r.reservationIdRegExp,1),n=h.innerCapture(r.underPersonNameRegExp),n=n&&3===n.length?n[2]+" "+n[1]:(""+n[1]).trim();var s=h.innerCapture(r.pickUpBlockRegExp);s&&4===s.length&&(p=s[1],i=a.getDetachedSpan(s[2]+" "+s[3]).innerDate());var u=h.innerCapture(regExpFormatted(r.dropOffBlockRegExp));if(u&&4===u.length&&(c=u[1],g=a.getDetachedSpan(u[2]+" "+u[3])),ASSERT(o,p,i))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",reservationStatus:"http://schema.org/Reservation"+m,reservationId:o,underName:{"@type":"http://schema.org/Person",name:n},provider:{"@type":"http://schema.org/Organization",name:"Auto Europe"},pickupTime:i,pickupLocation:{"@type":"http://schema.org/Place",name:p},dropoffTime:g,dropoffLocation:{"@type":"http://schema.org/Place",name:c}}]}}).call();