Arena Bookings
if (typeof hasAmeliaEntitiesApiCall === 'undefined' && '' === '') {
var hasAmeliaEntitiesApiCall = true;
}
var ameliaShortcodeData = (typeof ameliaShortcodeData === 'undefined') ? [] : ameliaShortcodeData;
ameliaShortcodeData.push(
{
'hasApiCall': (typeof hasAmeliaEntitiesApiCall !== 'undefined') && hasAmeliaEntitiesApiCall,
'trigger': '',
'trigger_type': '',
'triggered_form': 'sbsNew',
'in_dialog': '',
'show': '',
'counter': '1002',
'category': '',
'service': '4',
'employee': '',
'location': '',
'package': ''
}
);
var ameliaShortcodeDataTriggered = (typeof ameliaShortcodeDataTriggered === 'undefined') ? [] : ameliaShortcodeDataTriggered;
if (ameliaShortcodeData[ameliaShortcodeData.length - 1].trigger !== '') {
if (ameliaShortcodeDataTriggered.filter(a => a.counter === ameliaShortcodeData[ameliaShortcodeData.length - 1].counter).length === 0) {
ameliaShortcodeDataTriggered.push(ameliaShortcodeData.pop());
} else {
ameliaShortcodeData.pop()
}
}
if (typeof hasAmeliaEntitiesApiCall !== 'undefined' && hasAmeliaEntitiesApiCall) {
hasAmeliaEntitiesApiCall = false;
}