(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,c,i,s,o,u,p,m,l,v,h,g,S;r=a.getSpan().next(n.custumerDetails).next(n.guestName).innerCapture(n.guestName,1);var x=a.getSpan().next(n.ticketDetails);if(s=x.next(n.eventStart).nextDate(),m=x.next(n.ticketNumber).innerCapture(n.ticketNumber,1),o=x.next(n.eventName).innerCapture(n.eventName,1),l=a.getSpan().next(n.eventVenue).innerCapture(n.eventVenue,1),h=l,i=a.getSpan().next(n.reservationDetails).next(n.totalPrice).innerCapture(n.totalPrice),c=i.$price,S=i.$currency,ASSERT(s,o))return[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:r,totalPrice:c,priceCurrency:S,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:u,seatRow:g,seatSection:p},ticketToken:null,ticketNumber:m},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/EventConfirmed",name:o,url:v,startDate:s,endDate:null,location:{"@type":"http://schema.org/Place",name:h,telephone:null,address:l}}}]}}).call();