(function(){return function(e,t){var a=Scanner.fromMessage(e);a.setLocale(t);var n,r,o,s,c,g,i=a.getSpan(),l="Confirmed",v=i.allInnerTags("tr1"),h=0;v.length<13&&(v=i.allInnerTags("td2"),h=1),n=v[3-h].tagContents();var p=(""+v[4-h].tagContents()).replace(/\n/g,"").trim();c=getFuzzyDate(a.getDetachedSpan(p));var d=a.getDateDD(c);if(d&&d.endIso8601&&(g=d.endIso8601),r=n.nextLink(),ASSERT(n,c)){var m={"@context":"http://schema.org","@type":"http://schema.org/EventReservation",reservationStatus:"http://schema.org/Reservation"+l,reservationFor:{name:n,url:r,"@type":"http://schema.org/SocialEvent",startDate:c,description:s,location:{"@type":"http://schema.org/Place",address:o}}};return valid(g)&&(m.reservationFor.endDate=g),[m]}return CONTINUE}}).call();