(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,o,x,i,p,d,g,s,c,T,m,h,y,f=a.getSpan(),l="Confirmed";o=f.innerCapture(n.reservationIdRegExp,1),x=f.nextText(n.carBrandPrefix).nextAnyTag("td").nextAnyTag("td").tagContents();var C=f.nextText(n.pickUpBlockHeader);g=C.nextText(n.dateTimePrefix).nextAnyTag("td").nextAnyTag("td").tagContents().innerDate(),d=C.nextText(n.addressPrefix).nextAnyTag("td").nextAnyTag("td").tagContents(),p=C.nextText(n.telephonePrefix).nextAnyTag("td").nextAnyTag("td").tagContents();var A=f.nextText(n.dropOffBlockHeader);m=A.nextText(n.dateTimePrefix).nextAnyTag("td").nextAnyTag("td").tagContents().innerDate(),T=A.nextText(n.addressPrefix).nextAnyTag("td").nextAnyTag("td").tagContents(),c=A.nextText(n.telephonePrefix).nextAnyTag("td").nextAnyTag("td").tagContents(),r=a.getSpan().next(n.underPersonNamePrefix).parentAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1\s+(.+)/,n.underPersonNamePrefix),1);var P=f.nextText(n.pricePrefix).nextAnyTag("td").tagContents().innerCapture(/(\D)([\d\,\.]+)/);if(P&&P!==a.getNullSpan()?[,y,h]=P:(P=f.innerCapture(regExpFormatted(/\1\s(\D)\s?([\d\,\.]+)/,n.pricePrefix)),P&&3===P.length?[,y,h]=P:(P=f.innerCapture(regExpFormatted(/\1\s??([\d\,\.]+)\s(\D)/,n.pricePrefix)))&&3===P.length&&([,y,h]=P)),ASSERT(o,d,g))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",totalPrice:h,priceCurrency:y,reservationStatus:"http://schema.org/Reservation"+l,reservationId:o,underName:{"@type":"http://schema.org/Person",name:r},provider:{"@type":"http://schema.org/Organization",name:"Dollar Rent A Car"},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:x}},pickupTime:g,pickupLocation:{"@type":"http://schema.org/Place",name:i,telephone:p,address:d},dropoffTime:m,dropoffLocation:{"@type":"http://schema.org/Place",name:s,telephone:c,address:T}}]}}).call();