(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,o,i,x,s,g,c,p,h,d,T,l="Confirmed";c=a.getSpan().nextText(n.reservationIdPrefix).nextAnyTag("td").tagContents().innerCapture(/(\d+)/,1),p=a.getSpan().nextText(n.hotelReservationModifyUrlPrefix).nextLink(),h=a.getSpan().nextText(n.hotelReservationCancelUrlPrefix).nextLink();var m=a.getSpan().nextText(n.underPersonNamePrefix).nextAnyTag("td").tagContents().innerCapture(/(.*?)\s?\((.*?)\)/);r=m[1],o=m[2],d=a.getSpan().nextText(n.checkInDatePrefix).nextAnyTag("td").innerDate(),T=a.getSpan().nextText(n.checkOutDatePrefix).nextAnyTag("td").innerDate();var f=a.getSpan().nextText(n.hotelNamePrefix).nextRegExp(/(.*?)\s?<(.*?)>/).tagContents().innerCapture(/(.*?)\s?<(.*?)>/);return i=f[1],s=f[2],s=s.innerLink(),x=a.getSpan().nextText(n.hotelPhonePrefix).nextAnyTag("td").tagContents(),g=a.getSpan().nextText(n.hotelAddressPrefix).nextAnyTag("td").tagContents().replace(/\n/g,", "),ASSERT(r,i,d)?[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:r,email:o},checkinTime:d,checkoutTime:T,reservationStatus:"http://schema.org/Reservation"+l,reservationId:c,modifyReservationUrl:p,cancelReservationUrl:h,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:i,url:s,telephone:x,address:g}}]:CONTINUE}}).call();