// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,r){if(!e||!t||!r)return CONTINUE;var n=Scanner.fromMessage(e);n.setLocale(t);var a,p,o,c,g,i,m,s,x,h,u,S,d,E,v,T,l;return a=n.getSpan().innerCapture(regExpFormatted(/(\w+)\s(.*),/),2),o=n.getSpan().nextText(r.price),o=n.getSpan().withInterval(o.getEnd(),o.nextText("\n").getStart()),p=o.innerCapture(regExpFormatted(/([\d\.,]+)/),1),T=o.innerCapture(regExpFormatted(/(\w{3})/),1),i=n.getSpan().innerCapture(regExpFormatted(/\1 : (.*)/),1),x=n.getSpan().innerCapture(regExpFormatted(/\1 : (.*)/,r.number),1),l=n.getSpan().nextText(r.event).nextText(r.for).nextText(" "),g=n.getSpan().withInterval(l.getEnd(),l.nextText(r.the).getStart()).trim(),c=l.nextDate(),ASSERT(c,g)?[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:a,totalPrice:p,priceCurrency:T,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:i,seatRow:v,seatSection:m},ticketToken:s,ticketNumber:x},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/EventConfirmed",name:g,url:u,startDate:c,endDate:E,location:{"@type":"http://schema.org/Place",name:S,telephone:d,address:h}}}]:CONTINUE}}).call();