(function(){return function(e,t,a){var r=Scanner.fromMessage(e);r.setLocale(t);var n,o,p,i,s,g,c,m,d,x,f,h,l,u,y,v,C,T,_=r.getSpan(),A="Confirmed",D="AJ Rental",F=_.next(a.underPersonName_prefix).nextAnyTag("td").tagContents();F&&F.exists()&&(n=""+F.innerCapture(/(.+?)[\s\[]/,1),p=F.innerCapture(regExpFormatted(/\1(.+?)\)/,a.reservationId_prefix),1));var P=_.next(a.pickupDateTime_prefix).nextAnyTag("td").tagContents();x=getFuzzyDate(r.getDetachedSpan(""+P).firstDate());var R=_.next(a.dropoffDateTime_prefix).nextAnyTag("td").tagContents();u=getFuzzyDate(r.getDetachedSpan(""+R).firstDate());var S=_.next(a.pickupName_prefix).parentAnyTag("td").tagContents();S&&S.exists()&&(S=S.innerCapture(regExpFormatted(/\1(.+?)\((.+?)\)/,a.pickupName_prefix)))&&3===S.length&&(c=S[1],m=S[2]);var z=_.next(a.dropoffName_prefix).parentAnyTag("td").tagContents();z&&z.exists()&&(z=z.innerCapture(regExpFormatted(/\1(.+?)\((.+?)\)/,a.dropoffName_prefix)))&&3===z.length&&(f=z[1],h=z[2]);var i=_.next(a.carBrand_prefix).nextAnyTag("td").tagContents(),N=_.next(a.totalPrice_prefix).parentAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1(.+?) (.+?)/,a.totalPrice_prefix));if(N&&3===N.length&&(C=N[1],T=N[2]),ASSERT(p,x,u,c,f))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",totalPrice:C,priceCurrency:T,reservationStatus:"http://schema.org/Reservation"+A,reservationId:p,modifyReservationUrl:y,cancelReservationUrl:v,underName:{"@type":"http://schema.org/Person",name:n,email:o},provider:{"@type":"http://schema.org/Organization",name:D},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:i},license:s,color:g},pickupTime:x,pickupLocation:{"@type":"http://schema.org/Place",name:c,telephone:m,address:d},dropoffTime:u,dropoffLocation:{"@type":"http://schema.org/Place",name:f,telephone:h,address:l}}]}}).call();