(function(){return function(e,t,n){var r=Scanner.fromMessage(e);r.setLocale(t);var a,i,p,o,c,g,s,m,u,d,h,l,C,S,v,F,x,E,D;if(!n.emailTitel.test(e.subject))return CONTINUE;a=r.getSpan().innerCapture(regExpFormatted(n.reservationName),1),c=r.getSpan().innerCapture(regExpFormatted(n.reservationId),1),m=r.getSpan().innerCapture(regExpFormatted(n.checkInDate),1).innerDate(),h=r.getSpan().innerCapture(regExpFormatted(n.checkOutDate),1).innerDate(),s=r.getSpan().innerCapture(regExpFormatted(n.checkInTimes),1).innerDate(),d=r.getSpan().innerCapture(regExpFormatted(n.checkInTimes),2).innerDate(),u=r.getDetachedSpan(m+" "+s).innerDate(),l=r.getDetachedSpan(h+" "+d).innerDate();var T=r.getSpan().innerCapture(regExpFormatted(n.rate),1).innerCapture(/([\d,.]+)/,1),f=r.getSpan().innerCapture(regExpFormatted(n.nights),1).innerCapture(/([\d]+)/,1);return p=""+parseFloat(T)*parseFloat(f),o=r.getSpan().innerCapture(regExpFormatted(n.rate),1).innerCapture(/([^\d,.]+)/,1),C=r.getSpan().nextAnyTag("td").tagContents().trim(),v=C.innerCapture(/(.+)/,1),S=C.lastInnerLink(),F=C.innerPhoneNumber().innerCapture(n.phoneCapture,1),C=(""+C).replace(/\n\n/g,"\n"),x=r.getDetachedSpan(C).innerCapture(regExpFormatted(/.+\n([\s\S]+?)\s+?\n/),1),n.confirmation.test(e.plain)&&(g="Confirmed"),n.cancellation.test(e.plain)&&(g="Cancelled"),ASSERT(a,v,x,u,l)?[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:a,email:i},totalPrice:p,priceCurrency:o,checkinTime:u,checkoutTime:l,modifyReservationUrl:E,cancelReservationUrl:D,reservationStatus:"http://schema.org/Reservation"+g,reservationId:c,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:v,url:S,telephone:F,address:x}}]:void 0}}).call();