// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,o,p,s,g,i,c,m,d,h,l,u,x,y,f,C,v,R,S,T,k="Sixt";return n.confirmSubject.test(e.subject)&&(p=a.getSpan().nextRegExp(n.reservationId).tagContents().innerCapture(n.reservationId,1),r=a.getSpan().nextRegExp(n.guestName).tagContents().innerCapture(n.guestName,1),0===(""+r).length&&(r=a.getSpan().nextRegExp(n.guestName).tagContents().innerCapture(n.guestName,2)),h=a.getSpan().nextText(n.brand).nextAnyTag("td").nextAnyTag("td").tagContents(),T=a.getSpan().nextRegExp(n.pickup).tagContents().innerCapture(n.pickup,1),T=getFuzzyDate(T),C=a.getSpan().nextRegExp(n.dropoff).tagContents().innerCapture(n.dropoff,1),C=getFuzzyDate(C),R=a.getSpan().nextRegExp(n.dropoff).nextAnyTag("td").tagContents(),R=(""+R).replace(/<.+>/,""),y=a.getSpan().nextRegExp(n.dropoff).nextAnyTag("td").nextAnyTag("td").nextAnyTag("td").tagContents(),y=(""+y).replace(/<.+>/,""),c=a.getSpan().nextRegExp(n.modifyUrl).parentAnyTag("td").tagContents().lastInnerLink(),i=a.getSpan().nextRegExp(n.modifyUrl).parentAnyTag("td").tagContents().lastInnerLink().previousLink(),!ASSERT(r,p,T,C,R,y))?CONTINUE:0===(""+h).length||null===h?[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",totalPrice:m,priceCurrency:d,reservationId:p,reservationStatus:"http://schema.org/Reservation"+(s||"Confirmed"),checkinUrl:g,modifyReservationUrl:i,cancelReservationUrl:c,underName:{"@type":"http://schema.org/Person",name:r,email:o},provider:{"@type":"http://schema.org/Organization",name:k},pickupTime:T,pickupLocation:{"@type":"http://schema.org/Place",name:v,telephone:S,address:R},dropoffTime:C,dropoffLocation:{"@type":"http://schema.org/Place",name:x,telephone:f,address:y}}]:[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",totalPrice:m,priceCurrency:d,reservationId:p,reservationStatus:"http://schema.org/Reservation"+(s||"Confirmed"),checkinUrl:g,modifyReservationUrl:i,cancelReservationUrl:c,underName:{"@type":"http://schema.org/Person",name:r,email:o},provider:{"@type":"http://schema.org/Organization",name:k},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:h},license:l,color:u},pickupTime:T,pickupLocation:{"@type":"http://schema.org/Place",name:v,telephone:S,address:R},dropoffTime:C,dropoffLocation:{"@type":"http://schema.org/Place",name:x,telephone:f,address:y}}]}}).call();