!function(e){"use strict";const t=e(document.getElementById("tribe_events_event_details"));let i=!1;t.on("tribe.ui-datepicker-div-beforeshow",(function(t,n){$dpDiv=e(n.dpDiv),$dpDiv.parent(".acf-ui-datepicker").length&&($dpDiv.parent(".acf-ui-datepicker").remove(),n.input.datepicker("refresh"),i=!0)})),t.on("tribe.ui-datepicker-div-closed",(function(t,n){i&&(e(n.dpDiv).wrap('<div class="acf-ui-datepicker" />'),i=!1)}))}(jQuery),window.tec=window.tec||{},window.tec.events=window.tec.events||{},window.tec.events.tribeAdminAcfCompat={};