(function(){return function(e,t,a){var r=Scanner.fromMessage(e);r.setLocale(t);var n,c,s,u,m,o,h,i,p,d,l,v,N,g,S,x,M=r.getSpan();if(n=M.innerCapture(/(Hello|Heads up) (\w+),/,2),u=M.innerCapture(/Order Number: (.*)\s/,1),l=u.nextDate(),S=l.nextAddress(),0!==(""+M.next(a.isStructured)).length?(x=M.next(a.structuredNameMatch).innerCapture(a.structuredNameMatch),x&&(p=x.$eventName,d=x.$eventUrl),(x=M.next(a.structuredNameMatch).next(a.structuredNameMatch).innerCapture(a.structuredNameMatch))&&(g=x.$eventName)):(x=M.next(a.flatNameMatch).innerCapture(a.flatNameMatch))&&(g=x.$eventPlace,p=x.$eventName,d=x.$eventUrl),ASSERT(l,p))return[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:n,totalPrice:c,priceCurrency:s,reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:u,ticketToken:m,ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:o,seatRow:h,seatSection:i}},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/EventConfirmed",name:p,url:d,startDate:l,endDate:v,location:{"@type":"http://schema.org/Place",name:g,telephone:N,address:S}}}]}}).call();