new ReverseTemplateList([new ReverseTemplate("livenation.com-en",function(e){return/Your Live Nation (?:Concerts)?\s*Order/.test(e.subject)},function(e){if(/Your Live Nation (?:Concerts)?\s*Order/.test(e.subject)){var t=Scanner.fromMessage(e);t.setLocale("en_US");var n,r,a,s,o,i,p,c,g,u,d,C,S,m,h,x,T,v;if(int(e.epoch)>=1420070400)v=t.getSpan().next("Order #:").parentAnyTag("td").tagContents().innerCapture(/Order #:\s+(.*)/,1),n=t.getSpan().innerCapture(/Thanks (.*) -/,1),g=(""+t.getDetachedSpan(e.subject).innerCapture(/Your Live Nation Concerts Order for ([\S\s]+)/i,1)).replace(/(\r\n|\n|\r)/gm,""),m=t.getSpan().next(g).nextAnyTag("td").tagContents(),d=m.nextAnyTag("td").innerDate(),i=d.nextTag("td11").tagContents().innerCapture(/Section (.*?)(?:,|$)/,1),p=d.nextTag("td11").tagContents().innerCapture(/Row (.*?)(?:,|$)/,1),c=d.nextTag("td11").tagContents().innerCapture(/Seat (.*?)(?:,|$)/,1),s=t.getSpan().next("Order #:").parentAnyTag("td").tagContents().innerCapture(/Order #:\s+(.*)/,1),o=d.nextText("Print now").firstLink(),T=d.nextText("Total Charges:").nextTag("td5").tagContents(),r=T.innerCapture(/([\d,.]+)/,1),a=T.innerCapture(/([^\d,.]+)/,1);else{s=t.getSpan().innerCapture(/Your order number for this purchase is (.*?)\./,1);var $=["PRINT YOUR TICKETS","Print my tickets"];for(var f in $)if(t.getSpan().nextText($[f]).exists()){o=t.getSpan().innerCapture(RegExp(regExpEscape($[f])+" <(.*)>"),1);break}d=t.getSpan().nextRegExp(/You purchased (.*) to:/).nextDate();var l=concatRegExp(/You purchased ($<numSeats>.*) to:(?:[\s_]+)/,/\b($<eventName>.*)\s/,/\b($<address>.*)\s/,/(?:[\s\S]+)/,/\bOrder for: ($<name>.*)\s/,/\bSeat location: section ($<section>.*?)(, row ($<row>.*?))?(, seats? ($<seat>.*?))?\s/,/\bTotal Charge: ($<priceCurrency>[A-Z]+).*?($<price>[\d,.]+)\s/);x=t.getSpan().innerCapture(l),x&&(x.$numSeats,g=x.$eventName,h=x.$address,n=x.$name,i=x.$section,p=x.$row,c=x.$seat,r=x.$price,a=x.$priceCurrency)}if(ASSERT(d,g))return[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:n,totalPrice:r,priceCurrency:a,reservationId:v,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat",seatSection:i,seatRow:p,seatNumber:c},ticketToken:o,ticketNumber:s},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/EventConfirmed",name:g,url:u,startDate:d,endDate:C,location:{"@type":"http://schema.org/Place",name:m,telephone:S,address:h}}}]}},"0/1/2/3/4/5/6/7/1438/1439","SGfcc34856")]);