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