(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,i,o,p,g,d,c,s,l,m,u,T,f,h,x;n.cancelled.test(e.subject)&&(o="Cancelled"),i=a.getSpan().next(n.confirmationNumber).previousTag("td5").previousTag("td5").tagContents(),/d{5,}/.test(i.getString())||(i=i.nextTag("td5").tagContents()),r=a.getSpan().next(n.name).nextTag("td5").nextTag("td5").tagContents(),r.next(n.email).nextTag("td5").nextTag("td5").tagContents(),p=a.getSpan().next(n.price).nextTag("td4").nextTag("td4").innerCapture(/([\d,.]{2,})/,1),u=a.getSpan().next(n.pickup).parentAnyTag("table");var S=u.allInnerTagsFiltered("td5").filter(function(e){return!/Serviced By/.test(e.getString())});x=combineDateAndTime(u.innerDate(),S[1].innerCapture(/(\d{1,2}:\d{1,2})/,1)),g=S[2],T=S[3],f=S[4]+", "+S[5],h=S[6].innerCapture(/\+(.*)/,1),d=a.getSpan().next(n.dropoff).parentAnyTag("table"),m=d.innerDate();var v=d.allInnerTagsFiltered("td5").filter(function(e){return!/Serviced By/.test(e.getString())});if(c=v[3],m=combineDateAndTime(m,v[1].innerCapture(/(\d{1,2}:\d{1,2})/,1)),s=v[4]+", "+v[5],l=v[6].innerCapture(/\+(.*)/,1),ASSERT(g,r,f,x))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",totalPrice:p,reservationId:i,reservationStatus:"http://schema.org/Reservation"+(o||"Confirmed"),underName:{"@type":"http://schema.org/Person",name:r},provider:{"@type":"http://schema.org/Organization",name:g},pickupTime:x,pickupLocation:{"@type":"http://schema.org/Place",name:T,telephone:h,address:f},dropoffTime:m,dropoffLocation:{"@type":"http://schema.org/Place",name:c,telephone:l,address:s}}]}}).call();