(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,c,i,o,s,l,u,p,m,g,h,C,d,v;if(!n.emailTitelCancellation.test(e.subject))return CONTINUE;if(n.emailTitelCancellation.test(e.subject)){if(s=a.getSpan().innerCapture(n.cancelReservationId,1),r=a.getSpan().innerCapture(n.cancelGuestName,1),u=a.getSpan().innerCapture(n.cancelCheckInDate,1).innerDate(),p=a.getSpan().innerCapture(n.cancelCheckOutDate,1).innerDate(),g=a.getSpan().innerCapture(n.cancelHotelName,1),!ASSERT(r,s,u,p,g))return CONTINUE;l="Cancelled"}return[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:r,email:c},totalPrice:i,priceCurrency:o,checkinTime:u,checkoutTime:p,modifyReservationUrl:d,cancelReservationUrl:v,reservationStatus:"http://schema.org/Reservation"+(l||"Confirmed"),reservationId:s,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:g,url:m,telephone:h,address:C}}]}}).call();