// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n){if(!e||!t||!n)return CONTINUE;var a=Scanner.fromMessage(e);a.setLocale(t);var r,o,s,i,p,m,c,g,d,h;return r=a.getSpan().innerCapture(regExpFormatted(/\1 (.+) \2/,n.name,n.and),1),s=a.getSpan().innerCapture(regExpFormatted(/\1 (.+) \2/,n.contact,n.at),1),i=a.getSpan().innerCapture(regExpFormatted(/\1 (\d+)/,n.confirmed),1),m=a.getSpan().nextText(n.date).previousDate(),d=a.getSpan().nextText(n.modify).nextLink(),h=a.getSpan().nextText(n.cancel).nextLink(),ASSERT(i,s,m,r)?[{"@context":"http://schema.org","@type":"http://schema.org/FoodEstablishmentReservation",partySize:i,reservationId:o,reservationStatus:"http://schema.org/ReservationConfirmed",reservationFor:{"@type":"http://schema.org/FoodEstablishment",name:s,url:p,telephone:c,address:g},startTime:m,bookingAgent:{"@type":"http://schema.org/Organization",name:"SeatMe",url:"https://www.seatme.yelp.com/"},underName:{"@type":"http://schema.org/Person",name:r},cancelReservationUrl:h,modifyReservationUrl:d}]:CONTINUE}}).call();