(()=>{var t={436(t,e,r){window?.sugar_calendar_bookings_admin?.build_url&&(r.p=window.sugar_calendar_bookings_admin.build_url)}},e={};function r(a){var o=e[a];if(void 0!==o)return o.exports;var n=e[a]={exports:{}};return t[a](n,n.exports,r),n.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var a in e)r.o(e,a)&&!r.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t;globalThis.importScripts&&(t=globalThis.location+"");var e=globalThis.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var a=e.getElementsByTagName("script");if(a.length)for(var o=a.length-1;o>-1&&(!t||!/^http(s?):/.test(t));)t=a[o--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t+"../../"})(),(()=>{"use strict";r(436);const t=window.wp.domReady;var e=r.n(t);const a=window.jQuery;var o=r.n(a);e()((()=>{o()(document).on("click","[data-set-status]",(function(t){const e=o()("#sugar-calendar-bookings-setting-status").attr("name"),r=o()(t.target).attr("data-set-status");o()(`<input type="hidden" name="${e}" value="${r}" />"`).appendTo(o()(t.target).parents("form"))})),function(){const t=window.sugar_calendar_bookings_admin?.screen_id;t&&"undefined"!=typeof postboxes&&t&&postboxes.add_postbox_toggles(t)}()}))})()})();