(function(){return function(e,t,n){var r=Scanner.fromMessage(e);r.setLocale(t);var a,i,s,o,x,g,c,d,p,u,h,m=r.getSpan(),f="Confirmed";return a=m.nextText(n.underPersonNamePrefix).nextAnyTag("td").tagContents(),s=m.innerCapture(regExpFormatted(/\1 *(.+?) *\2/,n.hotelNamePrefix,n.hotelNameSuffix),1),g=(""+m.nextText(n.hotelDetailSuffix).previousTag("table5").allInnerTags("td5")[1].tagContents()).split("\n")[0].trim(),c=m.nextText(n.hotelDetailSuffix).nextText(n.reservationIdPrefix).nextAnyTag("td").tagContents(),m.nextRegExp(n.pricePrefixRegExp).exists()&&([,h,u]=m.nextRegExp(n.pricePrefixRegExp).nextAnyTag("td").tagContents().innerCapture(/(\D+)\s([\d\,\.]+)/)),d=r.getDetachedSpan((""+m.nextText(n.checkInDateTimePrefix).nextAnyTag("td").tagContents()).replace(/(\w+\s\d+,\s\d{4}).*?\s\(.*?\s(\d{2}:\d{2}\s.*?)\)/,function(e,t,n){return t+" "+n})).innerDate(),p=r.getDetachedSpan((""+m.nextText(n.checkOutDateTimePrefix).nextAnyTag("td").tagContents()).replace(/(\w+\s\d+,\s\d{4}).*?\s\(.*?\s(\d{2}:\d{2}\s.*?)\)/,function(e,t,n){return t+" "+n})).innerDate(),ASSERT(s,g,d)?[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:a,email:i},totalPrice:u,priceCurrency:h,checkinTime:d,checkoutTime:p,reservationStatus:"http://schema.org/Reservation"+f,reservationId:c,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:s,telephone:o,url:x,address:g}}]:CONTINUE}}).call();