// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,a){var n=Scanner.fromMessage(e);n.setLocale(t);var r,o,i,p,s,c,g,m,h=n.getSpan(),d="Confirmed";o=h.nextText(a.reservationIdPrefix).parentAnyTag("td").tagContents().innerCapture(/([A-Z]{2}\d+)/i,1),r=h.innerCapture(a.underPersonNameRegExp,1);var u=h.nextText(a.reservationIdPrefix).nextTag("table6").allInnerTags("td7").map(function(e){return e.tagContents()});c=n.getDetachedSpan(u[0]+" "+u[1]+" "+u[3]).innerDate(),s=u[2];var f=h.nextText(a.reservationIdPrefix).nextTag("table6").nextTag("table6").allInnerTags("td7").map(function(e){return e.tagContents()});if(m=n.getDetachedSpan(f[0]+" "+f[1]+" "+f[3]).innerDate(),g=f[2],ASSERT(o,s,c))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",reservationStatus:"http://schema.org/Reservation"+d,reservationId:o,underName:{"@type":"http://schema.org/Person",name:r},provider:{"@type":"http://schema.org/Organization",name:i},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:p}},pickupTime:c,pickupLocation:{"@type":"http://schema.org/Place",name:s},dropoffTime:m,dropoffLocation:{"@type":"http://schema.org/Place",name:g}}]}}).call();