// 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,g,i,p,c,m,h,l,d;return g=r.getDetachedSpan("1"),l=r.getSpan().nextText(n.cancel).nextText(n.restaurant),o=r.getSpan().withInterval(l.getEnd(),l.nextText(n.for).getStart()).trim(),i=r.getSpan().nextText(n.cancel).nextDate(),a=r.getSpan().innerCapture(regExpFormatted(/(\1|\2|\3) (.*),/,n.gender[0],n.gender[1],n.gender[2]),2),d=r.getSpan().innerCapture(regExpFormatted(/\1 (\w+)/,n.number),1),ASSERT(o,i,a)?[{"@context":"http://schema.org","@type":"http://schema.org/FoodEstablishmentReservation",reservationId:d,partySize:g,reservationStatus:"http://schema.org/ReservationCancelled",reservationFor:{"@type":"http://schema.org/FoodEstablishment",name:o,url:s,telephone:p,address:c},startTime:i,bookingAgent:{"@type":"http://schema.org/Organization",name:"RestoBookings",url:"http://www.restobookings.be"},underName:{"@type":"http://schema.org/Person",name:a},cancelReservationUrl:h,modifyReservationUrl:m}]:CONTINUE}}).call();