(function(){return function(e,t,n){if(!e||!t||!n)return CONTINUE;var a=Scanner.fromMessage(e);a.setLocale(t);var r,o,i,x,g,s,c,T,m,p,d,h,l,u="Confirmed";return m=a.getSpan().nextText(n.reservationIdPrefix).nextTag("td2").tagContents(),r=a.getSpan().nextText(n.underPersonNamePrefix).nextTag("td2").tagContents(),o=a.getSpan().nextText(n.underPersonEmailPrefix).nextTag("td2").tagContents(),p=a.getSpan().nextText(n.reservationHotelNamePrefix).nextTag("td2").tagContents(),g=a.getSpan().nextText(n.checkinTimePrefix).nextDate(),g===a.getNullSpan()&&(g=a.getSpan().nextText(n.checkinTimePrefix).nextTag("td2").tagContents()),s=a.getSpan().nextText(n.checkoutTimePrefix).nextDate(),s===a.getNullSpan()&&(s=a.getSpan().nextText(n.checkoutTimePrefix).nextTag("td2").tagContents()),i=a.getSpan().nextText(n.totalPricePrefix).nextTag("td2").nextTag("td2").tagContents(),ASSERT(g,s,p)?[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:r,email:o},totalPrice:i,priceCurrency:x,checkinTime:g,checkoutTime:s,modifyReservationUrl:c,cancelReservationUrl:T,reservationStatus:"http://schema.org/Reservation"+u,reservationId:m,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:p,url:d,telephone:h,address:l}}]:void 0}}).call();