(()=>{var e,t;e=jQuery,(t={}).selectors={v2DisableDialog:"#tec-recurrence-migration__v2-disable-dialog",v2Enabled:'input[name="views_v2_enabled"]',alertOkButton:".tec-upgrade-recurrence__modal-container--v2-disable-dialog .tribe-alert__continue",alertCloseButton:".tec-upgrade-recurrence__modal-container--v2-disable-dialog .tribe-modal__close-button"},t.init=function(){e(document).on("change",t.selectors.v2Enabled,(function(){e(this).is(":checked")||e(t.selectors.v2DisableDialog).click()})),e(document).on("click",t.selectors.alertOkButton,(function(){e(t.selectors.alertCloseButton).click()}))},e(t.init),window.tec=window.tec||{},window.tec.eventsPro=window.tec.eventsPro||{},window.tec.eventsPro.customTablesV1=window.tec.eventsPro.customTablesV1||{},window.tec.eventsPro.customTablesV1.settings={}})();