!function(t){"use strict";t(document).ready(function(){!function(){const e=t(".betterdocs-unified-metabox");e.length&&e.on("click",".betterdocs-metabox-tab",function(a){a.preventDefault();const n=t(this),o=n.data("tab");e.find(".betterdocs-metabox-tab").removeClass("active"),n.addClass("active"),e.find(".betterdocs-metabox-panel").removeClass("active"),e.find(`.betterdocs-metabox-panel[data-panel="${o}"]`).addClass("active"),t(document).trigger("betterdocs:metabox:tab-changed",[o])})}()})}(jQuery);