(function(){return function(e,t,r){var n=Scanner.fromMessage(e);n.setLocale(t);var a,i,p,o,m,g,s,c,h,u,x;a=n.getSpan().innerCapture(regExpFormatted(/\1 (.+),/,r.namePrefix),1).trim(),m=n.getSpan().innerCapture(regExpFormatted(/\1: (\w+)/,r.bookingNumberPrefix),1).trim();var d=n.getSpan().nextText(r.travellerDetails);d.nextPhoneNumber(),i=d.nextLink(),c=n.getSpan().innerCapture(regExpFormatted(/(.+) - \1/,r.hotelNamePrefix),1).trim(),x=c.nextLink(),u=c.nextAddress(),h=c.nextPhoneNumber();var l=n.getSpan().innerCapture(regExpFormatted(/\1: (.+)/,r.checkInPrefix),1);l=l.split(r.from),g=n.getDetachedSpan(l[0]+l[1].trim());var S=n.getSpan().innerCapture(regExpFormatted(/\1: (.+)/,r.checkOutPrefix),1);S=S.split(r.by),s=n.getDetachedSpan(S[0]+S[1].trim());var v=n.getSpan().nextText(r.tripTotal).nextTag("td1").tagContents().trim(),f=v.split(" ");return 2==f.length?(o=f[1].innerCapture(/([^\s\d,\.])/,1),o=f[0]+" "+o):o=v.innerCapture(/([^\s\d,\.])/,1),p=n.getDetachedSpan((""+v).replace(o,"").trim()),ASSERT(u,g)?[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:a,email:i},totalPrice:p,priceCurrency:o,checkinTime:g,checkoutTime:s,reservationStatus:"http://schema.org/ReservationConfirmed",reservationId:m,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:c,telephone:h,address:u,url:x}}]:STOP}}).call();