// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n){if(!e||!t||!n)return CONTINUE;var r=Scanner.fromMessage(e);r.setLocale(t);var a,o,s,i,p,m,u,c,g,h,l,d;a=r.getSpan().next(n.person).innerCapture(n.person,1),d=r.getSpan().next(n.number).innerCapture(n.number,1);var x=r.getSpan().next(n.restaurant);return o=x.innerCapture(n.restaurant,1),u=x.nextPhoneNumber(),c=x.nextAddress(),l=x.nextLink(),i=r.getSpan().nextDate(),s=r.getSpan().nextDate().nextDate(),p=combineDateAndTime(i,s),m=r.getSpan().next(n.underName).innerCapture(n.underName,1),g=r.getSpan().next(n.cancel).nextLink(),ASSERT(a,o,s,m)?[{"@context":"http://schema.org","@type":"http://schema.org/FoodEstablishmentReservation",partySize:a,reservationId:d,reservationStatus:"http://schema.org/ReservationConfirmed",reservationFor:{"@type":"http://schema.org/FoodEstablishment",name:o,url:l,telephone:u,address:c},startTime:p,bookingAgent:{"@type":"http://schema.org/Organization",name:"Square Meal",url:"http://www.squaremeal.co.uk/"},underName:{"@type":"http://schema.org/Person",name:m},cancelReservationUrl:g,modifyReservationUrl:h}]:CONTINUE}}).call();