(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,o,d,s,p,i,l,c,g,m=a.getSpan(),u=m.next(n.pickUp).nextAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1\s[\n]+($<date>\d?\d?\s?[a-zA-Z\.]{3,5}\s?\d?\d?),?\s($<time>\d?\d:\d{2}(?:am|pm)?)\s[\n]+($<location>[a-zA-Z\s\.\-\d]+),?\s\(?($<code>[a-zA-Z\s\.\-\,]+)\)?/i,n.pickUp));l=u?u.$date:null,d=u?u.$time:null,null!==d&&(d=combineDateAndTime(a.getDetachedSpan(""+l),a.getDetachedSpan(""+d))),s=u?u.$location:null,g=u?u.$code:null,null!==g&&(s=s+", "+g),u=m.next(n.dropOff).nextAnyTag("td").nextAnyTag("td").nextAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1\s[\n]+($<date>\d?\d?\s?[a-zA-Z\.]{3,5}\s?\d?\d?),?\s($<time>\d?\d:\d{2}(?:am|pm)?)\s[\n]+($<location>[a-zA-Z\s\.\-\d]+),?\s\(?($<code>[a-zA-Z\s\.\-\,]+)\)?/i,n.dropOff)),l=u?u.$date:null,p=u?u.$time:null,null!==p&&(p=combineDateAndTime(a.getDetachedSpan(""+l),a.getDetachedSpan(""+p))),g=u?u.$code:null,i=u?u.$location:null,null!==g&&(i=i+", "+g);var h=m.next(n.thanks).nextAnyTag("td").tagContents().innerCapture(/Your\s($<provider>.*)\sreservation/);c=h?h.$provider:null,n.checkForProvider.test(c)&&(c=m.next(n.car).nextTag("table9").allInnerTagsFiltered("td9")[0]),c=a.getDetachedSpan((""+c).split(" ")[0]),o=m.next(n.itinerary).nextAnyTag("td").tagContents();var $=m.next(n.reserved).parentAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1\s[\n]+($<id>.*)/,n.reserved));r=$?$.$id:null;var x=m.next(n.type).parentAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1\s[\n]+[a-zA-Z\-\s\d]+\s[\n]+($<brand>[a-zA-Z\s]+)/,n.type)),A=x?x.$brand:null;if(ASSERT(r,d,s,c,i,o,A))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",reservationId:o,reservationStatus:"http://schema.org/ReservationConfirmed",underName:{"@type":"http://schema.org/Person",name:r},provider:{"@type":"http://schema.org/Organization",name:c},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:A}},pickupTime:d,pickupLocation:{"@type":"http://schema.org/Place",name:s},dropoffTime:p,dropoffLocation:{"@type":"http://schema.org/Place",name:i}}]}}).call();