// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,r){var n=Scanner.fromMessage(e);n.setLocale(t);var a,i,o,p,s,c,m,d,h,g,u,x,v,E,f,l=n.getSpan(),S="Confirmed";return a=l.innerCapture(regExpFormatted(/\1\n\n(.*?)\n/,r.personUnderNamePrefix),1),i=l.innerCapture(regExpFormatted(/\n(.*?)\n\1/,r.eventTimePrefix),1),p=n.getDetachedSpan((""+l.innerCapture(regExpFormatted(/\1\s(.*)\n/,r.eventTimePrefix),1)).replace(/\D+,\s(\d{2}\/\d{2}\/\d{2})\s(\d{2})\.(\d{2})/,"$1 $2:$3")).innerDate(),c=l.innerCapture(regExpFormatted(/\1\s(.*?)\n/,r.eventLocationPrefix),1).trim(),[,f,E]=l.nextText(r.pricePrefix).nextRegExp(/\s\D\s[\d\,\.]+/).innerCapture(/\s(\D)\s([\d\,\.]+)/),ASSERT(i,p)?[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:a,totalPrice:E,priceCurrency:f,reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:h,ticketToken:g,ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:u,seatSection:x,seatRow:v}},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/Event"+S,name:i,url:o,startDate:p,endDate:s,location:{"@type":"http://schema.org/Place",name:c,telephone:d,address:m}}}]:CONTINUE}}).call();