document.documentElement.className = 'js';
window.DiviPopupData=window.DiviAreaConfig={"zIndex":1000000,"animateSpeed":400,"triggerClassPrefix":"show-popup-","idAttrib":"data-popup","modalIndicatorClass":"is-modal","blockingIndicatorClass":"is-blocking","defaultShowCloseButton":true,"withCloseClass":"with-close","noCloseClass":"no-close","triggerCloseClass":"close","singletonClass":"single","darkModeClass":"dark","noShadowClass":"no-shadow","altCloseClass":"close-alt","popupSelector":".et_pb_section.popup","initializeOnEvent":"et_pb_after_init_modules","popupWrapperClass":"area-outer-wrap","fullHeightClass":"full-height","openPopupClass":"da-overlay-visible","overlayClass":"da-overlay","exitIndicatorClass":"on-exit","hoverTriggerClass":"on-hover","clickTriggerClass":"on-click","onExitDelay":2000,"notMobileClass":"not-mobile","notTabletClass":"not-tablet","notDesktopClass":"not-desktop","baseContext":"body","activePopupClass":"is-open","closeButtonClass":"da-close","withLoaderClass":"with-loader","debug":false,"ajaxUrl":"https:\/\/gameonsp.ca\/wp-admin\/admin-ajax.php","sys":[]};var divimode_loader=function(){"use strict";!function(t){t.DiviArea=t.DiviPopup={loaded:!1};var n=t.DiviArea,i=n.Hooks={},o={};function r(t,n,i){var r,e,c;if("string"==typeof t)if(o[t]){if(n)if((r=o[t])&&i)for(c=r.length;c--;)(e=r[c]).callback===n&&e.context===i&&(r[c]=!1);else for(c=r.length;c--;)r[c].callback===n&&(r[c]=!1)}else o[t]=[]}function e(t,n,i,r){if("string"==typeof t){var e={callback:n,priority:i,context:r},c=o[t];c?(c.push(e),c=function(t){var n,i,o,r,e=t.length;for(r=1;r<e;r++)for(n=t[r],i=r;i>0;i--)(o=t[i-1]).priority>n.priority&&(t[i]=o,t[i-1]=n);return t}(c)):c=[e],o[t]=c}}function c(t,n,i){"string"==typeof n&&(n=[n]);var r,e,c=[];for(r=0;r<n.length;r++)Array.prototype.push.apply(c,o[n[r]]);for(e=0;e<c.length;e++){var a=void 0;c[e]&&"function"==typeof c[e].callback&&("filter"===t?void 0!==(a=c[e].callback.apply(c[e].context,i))&&(i[0]=a):c[e].callback.apply(c[e].context,i))}if("filter"===t)return i[0]}i.silent=function(){return i},n.removeFilter=i.removeFilter=function(t,n){r(t,n)},n.removeAction=i.removeAction=function(t,n){r(t,n)},n.applyFilters=i.applyFilters=function(t){for(var n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return c("filter",t,n)},n.doAction=i.doAction=function(t){for(var n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];c("action",t,n)},n.addFilter=i.addFilter=function(n,i,o,r){e(n,i,parseInt(o||10,10),r||t)},n.addAction=i.addAction=function(n,i,o,r){e(n,i,parseInt(o||10,10),r||t)},n.addActionOnce=i.addActionOnce=function(n,i,o,c){e(n,i,parseInt(o||10,10),c||t),e(n,(function(){r(n,i)}),1+parseInt(o||10,10),c||t)}}(window);return{}}();
let jqueryParams=[],jQuery=function(r){return jqueryParams=[...jqueryParams,r],jQuery},$=function(r){return jqueryParams=[...jqueryParams,r],$};window.jQuery=jQuery,window.$=jQuery;let customHeadScripts=!1;jQuery.fn=jQuery.prototype={},$.fn=jQuery.prototype={},jQuery.noConflict=function(r){if(window.jQuery)return jQuery=window.jQuery,$=window.jQuery,customHeadScripts=!0,jQuery.noConflict},jQuery.ready=function(r){jqueryParams=[...jqueryParams,r]},$.ready=function(r){jqueryParams=[...jqueryParams,r]},jQuery.load=function(r){jqueryParams=[...jqueryParams,r]},$.load=function(r){jqueryParams=[...jqueryParams,r]},jQuery.fn.ready=function(r){jqueryParams=[...jqueryParams,r]},$.fn.ready=function(r){jqueryParams=[...jqueryParams,r]};
var breeze_prefetch = {"local_url":"https:\/\/gameonsp.ca","ignore_remote_prefetch":"1","ignore_list":["wp-admin","wp-login.php"]};
https://gameonsp.ca/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://gameonsp.ca/wp-includes/js/jquery/jquery.min.js
https://gameonsp.ca/wp-includes/js/jquery/jquery-migrate.min.js
jqueryParams.length&&$.each(jqueryParams,function(e,r){if("function"==typeof r){var n=String(r);n.replace("$","jQuery");var a=new Function("return "+n)();$(document).ready(a)}});
https://gameonsp.ca/wp-content/plugins/popups-for-divi/scripts/ie-compat.min.js
document.documentElement.className = document.documentElement.className.replace( 'no-js', 'js' );
Free Games and beer specials!
Free Games and beer specials!
Free Games and beer specials!
(function() {
var file = ["https:\/\/gameonsp.ca\/wp-content\/et-cache\/87131\/et-divi-dynamic-tb-84113-tb-84104-87131-late.css"];
var handle = document.getElementById('divi-style-inline-inline-css');
var location = handle.parentNode;
if (0===document.querySelectorAll('link[href="' + file + '"]').length) {
var link = document.createElement('link');
link.rel = 'stylesheet';
link.id = 'et-dynamic-late-css';
link.href = file;
location.insertBefore(link, handle.nextSibling);
}
})();
window.addEventListener('load', function () {
// Booking date
flatpickr("#et_pb_contact_date_0", {
dateFormat: "Y-m-d",
minDate: "today",
disableMobile: true
});
// Start time
flatpickr("#et_pb_contact_starttime_0", {
enableTime: true,
noCalendar: true,
dateFormat: "h:i K",
time_24hr: false,
disableMobile: true
});
// End time
flatpickr("#et_pb_contact_endtime_0", {
enableTime: true,
noCalendar: true,
dateFormat: "h:i K",
time_24hr: false,
disableMobile: true
});
// Birthday field
flatpickr("#et_pb_contact_bday_0", {
dateFormat: "Y-m-d",
maxDate: "today", // optional: prevents picking future birthdays
disableMobile: true
});
});
(function ($) {
function refreshCarousels() {
$('.dipl_image_card_carousel .swiper-container').each(function () {
const el = this;
const s = el.swiper; // Swiper instance created by DP module
if (!s) return;
// Make absolutely sure touch is allowed at the phone breakpoint
s.params.allowTouchMove = true;
s.allowTouchMove = true;
// Recalculate sizes after images / fonts / viewport settle
if (typeof s.updateSize === 'function') s.updateSize();
if (typeof s.updateSlides === 'function') s.updateSlides();
if (typeof s.updateProgress === 'function') s.updateProgress();
if (typeof s.updateSlidesClasses === 'function') s.updateSlidesClasses();
// Keep the same slide but ensure transform is correct
if (typeof s.slideTo === 'function') s.slideTo(s.activeIndex || 0, 0, false);
});
}
// Call once after everything has loaded, and again on resize/orientation change
window.addEventListener('load', function () {
setTimeout(refreshCarousels, 300);
});
window.addEventListener('resize', function () {
setTimeout(refreshCarousels, 200);
});
window.addEventListener('orientationchange', function () {
setTimeout(refreshCarousels, 200);
});
// Fallback: manually drive the active Swiper when arrows are tapped
$(document).on('click touchstart', '.dipl_image_card_carousel .swiper-button-next', function (e) {
e.preventDefault();
const s = $(this).closest('.dipl_image_card_carousel').find('.swiper-container')[0]?.swiper;
if (s && typeof s.slideNext === 'function') s.slideNext();
});
$(document).on('click touchstart', '.dipl_image_card_carousel .swiper-button-prev', function (e) {
e.preventDefault();
const s = $(this).closest('.dipl_image_card_carousel').find('.swiper-container')[0]?.swiper;
if (s && typeof s.slidePrev === 'function') s.slidePrev();
});
})(jQuery);
document.addEventListener("DOMContentLoaded", function () {
flatpickr("input[type=date]", {
altInput: true,
altFormat: "F j, Y",
dateFormat: "Y-m-d"
});
});
https://gameonsp.ca/wp-content/plugins/popups-for-divi/scripts/front.min.js
var DIVI = {"item_count":"%d Item","items_count":"%d Items"};
var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"};
var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"};
var et_pb_custom = {"ajaxurl":"https:\/\/gameonsp.ca\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/gameonsp.ca\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/gameonsp.ca\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"a0b4a7d330","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"aea4d52968","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"87131","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/gameonsp.ca\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#ab9a9a","waypoints_options":[]};
var et_pb_box_shadow_elements = [];
https://gameonsp.ca/wp-content/themes/Divi/js/scripts.min.js
var DiviAccordionsFrontendData = {"chiac_empty":""};
https://gameonsp.ca/wp-content/plugins/chi-divi-accordions/scripts/frontend-bundle.min.js
https://gameonsp.ca/wp-includes/js/dist/hooks.min.js
https://gameonsp.ca/wp-includes/js/dist/i18n.min.js
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
var pwh_dcfh_params = {"ajaxURL":"https:\/\/gameonsp.ca\/wp-admin\/admin-ajax.php","ajaxNonce":"0ce96b4f9d","pluginURL":"https:\/\/gameonsp.ca\/wp-content\/plugins\/divi-contact-form-helper","blogURL":"https:\/\/gameonsp.ca","wpLocale":"en","datepickerClass":"et_pb_datetimepicker_input","wpMaxUploadSize":"52428800","wpMaxUploadSizeFormatted":"50 MB","imageMimeTypes":["image\/jpeg","image\/gif","image\/png","image\/bmp","image\/tiff","image\/webp","image\/avif","image\/x-icon","image\/heic","image\/heif","image\/heic-sequence","image\/heif-sequence"],"uploadFileClass":"et_pb_file_input","isSuperAdmin":"","userIPAddress":"0e1ea42f0bc80d945ad02d8e851d8e81","i10n":{"duplicate_form_id_text":"Attention: multiple contact forms currently have the same unique ID. Please open the module settings and open the Admin Label toggle and change the Contact Form Unique ID.","file_upload_btn_text":"Choose Files","accepted_file_text":"Accepted file types:","max_filesize_text":"Max. file size:","chosen_file_text":"No Files Chosen","selected_files_text":"{chosen_files_count} file{_s_} selected","uploading_text":"{percentage} uploaded your files, please wait for the system to continue.","already_attached_text":"File {filename} has already attached. Please choose another file.","allow_filesize_text":"File {filename} not uploaded. Maximum file size {allowed_filesize}.","x_files_allow_text":"Only {allowed_files} files are allowed to upload.","remove_file_text":"Are you sure you want to remove {filename}?","delete_file_icon_hover_text":"Delete","security_reason_text":"File {filename} has failed to upload. Sorry, this file type is not permitted for security reasons.","fill_message_text":"Please fill in the following fields:","fix_message_text":"Please fix the following errors:","siganture_empty_text":"The signature pad is empty. Please sign it and then save.","siganture_before_save_text":"Are you sure you want to save the signature?","siganture_save_text":"The signature has been saved successfully!","siganture_delete_text":"The signature has been deleted successfully!"}};
https://gameonsp.ca/wp-content/plugins/divi-contact-form-helper/assets/public/js/app.min.js
var DiviPlusFrontendData = {"ajaxurl":"https:\/\/gameonsp.ca\/wp-admin\/admin-ajax.php","ajaxnonce":"839b7090de"};
https://gameonsp.ca/wp-content/plugins/divi-plus/scripts/frontend-bundle.min.js
https://gameonsp.ca/wp-content/themes/Divi/core/admin/js/common.js
https://gameonsp.ca/wp-content/plugins/wp-smush-pro/app/assets/js/smush-lazy-load.min.js
function rw() { Waypoint.refreshAll(); } window.addEventListener( 'lazybeforeunveil', rw, false); window.addEventListener( 'lazyloaded', rw, false);
var et_pb_sticky_elements = {"et_pb_section_1_tb_header":{"id":"et_pb_section_1_tb_header","selector":".et_pb_section_1_tb_header","position":"top","topOffset":"0px","bottomOffset":"0px","topLimit":"none","bottomLimit":"none","offsetSurrounding":"on","transition":"on","styles":{"module_alignment":{"desktop":"","tablet":"","phone":""},"positioning":"relative"},"stickyStyles":{"position_origin_r":"top_left","horizontal_offset":"","vertical_offset":""}}};
https://gameonsp.ca/wp-content/themes/Divi/includes/builder/feature/dynamic-assets/assets/js/sticky-elements.js