(function(){return function(t,e,n){var a=Scanner.fromMessage(t);a.setLocale(e);var r,o,i,g,p,s,c,l,m,d,u,x,h,C,y,S,T;i=a.getSpan().next(n.reservarionId,1).nextAnyTag("td"),o=i.tagContents().trim(),p=i.nextLink(),r=a.getSpan().next(n.name).tagContents().innerCapture(n.name,1).trim(),r.exists()&&0!==(""+r).length||(r=a.getSpan().next(n.name_alt).tagContents().innerCapture(n.name_alt,1).trim()),statusString=""+a.getSpan().next(n.reservation).tagContents().innerCapture(n.reservation).$status,"canceled"===statusString?g="Cancelled":m=a.getSpan().next(n.carModel).nextAnyTag("td").nextAnyTag("td").tagContents().trim(),S=a.getSpan().next(n.pickupTime).nextDate(),T=a.getSpan().next(n.pickupLocation);var v=T.nextAnyTag("td").nextAnyTag("td").tagContents().trim();C=v+"\n"+v.nextAnyTag("td").tagContents().trim(),y=T.nextPhoneNumber(),x=a.getSpan().next(n.dropoffTime).nextDate(),h=a.getSpan().next(n.dropoffLocation);var f=h.nextAnyTag("td").nextAnyTag("td").tagContents().trim();if(d=f+"\n"+f.nextAnyTag("td").tagContents().trim(),u=h.nextPhoneNumber(),l=a.getSpan().nextText(n.totalPrice).nextAnyTag("td").tagContents(),s=l.innerCapture(/([\d,.]+)/,1),c=l.innerCapture(/([^\d,.]+)/,1),ASSERT(o,r,C,S))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",totalPrice:s,priceCurrency:c,reservationId:o,reservationStatus:"http://schema.org/Reservation"+(g||"Confirmed"),checkinUrl:null,modifyReservationUrl:p,cancelReservationUrl:null,underName:{"@type":"http://schema.org/Person",name:r,email:null},provider:{"@type":"http://schema.org/Organization",name:"Budget"},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:m||"Budget"},license:null,color:null},pickupTime:S,pickupLocation:{"@type":"http://schema.org/Place",name:null,telephone:y,address:C},dropoffTime:x,dropoffLocation:{"@type":"http://schema.org/Place",name:null,telephone:u,address:d}}]}}).call();