// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,r){var a=Scanner.fromMessage(e);a.setLocale(t);var n,c,o,p,i,s,m,u,h,d,g,l,E,v,x,S,C,k=a.getSpan();if(v=regExpFormatted(/\1\s+(.*)/,r.place).exec(e.subject)[1],g=k.next(r.eventName).collapseToEnd().withEnd(k.next(v).getStart()),i=g.innerDate(),s=(""+g.innerCapture(regExpFormatted(/(.*)\1/,""+i),1)).trim(),n=k.innerCapture(regExpFormatted(/\1\s+(.*)/,r.name),1),d=k.innerCapture(regExpFormatted(/\1\s+(.*)/,r.ticketNumber),1),o=k.innerCapture(regExpFormatted(/\1\s+(.*)/,r.price),1),c=o.innerCapture(/([\d,.]+)/,1),p=o.innerCapture(/([^\d,.]+)/,1),ASSERT(i,s))return[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:n,totalPrice:c,priceCurrency:p,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:m,seatRow:C,seatSection:u},ticketToken:h,ticketNumber:d},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/EventConfirmed",name:s,url:E,startDate:i,endDate:S,location:{"@type":"http://schema.org/Place",name:v,telephone:x,address:l}}}]}}).call();