(function(){return function(e,t,a){var n=Scanner.fromMessage(e);n.setLocale(t);var r,p,o,l,c,i,g,s,d,m,h,x;x=a.cancelled.test(e.subject)||a.cancelled.test(e.plain)?"Cancelled":"Confirmed",h=n.getSpan().next(a.pickUp).parentTag("table4");var T=h.nextAnyTag("table");"en_GB"!==t||/table5/.test(T)||(h=n.getSpan().next(a.car).next(a.car),h=h.next(a.car),T=h.parentAnyTag("table")),h=T.allInnerTagsFiltered("td5"),c=h[0].isNullSpan_?null:h[0];var f=n.getSpan().next(a.pickUp).parentAnyTag("table").allInnerTagsFiltered("td7"),v=n.getSpan().next(a.dropOff).parentAnyTag("table").allInnerTagsFiltered("td7"),y=n.getSpan().next(a.dropOff).nextTag("table6").allInnerTagsFiltered("td6");if(0!==y.length&&(i=y[1]),g=combineDateAndTime(f[2],f[1]),s=combineDateAndTime(v[2],v[1]),d=f[3],m=v[3],r=n.getSpan().next(c).next(a.booking).next(/[A-Z\d]+/),l=n.getSpan().next(a.pickUp).next(a.reserved).nextAnyTag("td").tagContents(),ASSERT(l,g))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",reservationId:r,reservationStatus:"http://schema.org/Reservation"+x,modifyReservationUrl:p,cancelReservationUrl:o,underName:{"@type":"http://schema.org/Person",name:l},provider:{"@type":"http://schema.org/Organization",name:c},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:i}},pickupTime:g,pickupLocation:{"@type":"http://schema.org/Place",name:d},dropoffTime:s,dropoffLocation:{"@type":"http://schema.org/Place",name:m}}]}}).call();