// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,o,c,s,i,p,g,x,m,d,T,h,u,l,y,v,C,S;if(s=a.getSpan().firstText(n.name).parentAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1 (.*)\,/,n.name),1),r=a.getSpan().firstText(n.eventDetails).nextAnyTag("table"),g=r.innerCapture(regExpFormatted(/\1: (\d+)/,n.ticketNumber),1),h=r.nextText(n.eventName).nextAnyTag("td").tagContents(),o=r.nextText(n.ticketDetails).nextAnyTag("td").innerCapture(regExpFormatted(/\1 ($<section>.*) , \2 ($<row>.*), /,n.section,n.row)),T=o.$section,d=o.$row,C=r.nextText(n.place).nextAnyTag("td").tagContents(),l=a.getDetachedSpan((""+r.nextText(n.startTime).nextAnyTag("td").tagContents()).replace(",","")).innerDate(),c=a.getSpan().nextText(n.totalPrice).nextAnyTag("td").tagContents(),i=c.innerCapture(/([\d,.]+)/,1),p=c.innerCapture(/([^\d,.]+)/,1),ASSERT(l,h))return[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:s,totalPrice:i,priceCurrency:p,reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:g,ticketToken:x,ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:m,seatRow:d,seatSection:T}},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/EventPending",name:h,url:u,startDate:l,endDate:y,location:{"@type":"http://schema.org/Place",name:C,telephone:v,address:S}}}]}}).call();