(a=>{"function"==typeof define&&define.amd?define("authorPage",a):a()})(function(){window.revealDetails=function(t){t("body").on("click",".c27-display-button",function(){var a,i=t(this);i.hasClass("loading")||i.hasClass("loaded")||(a={listing_id:t(this).data("listing-id"),field_id:t(this).data("field-id")},i.addClass("loading"),t.post(CASE27.mylisting_ajax_url+"&action=display_contact_info&security="+CASE27.ajax_nonce,a,function(a){i.removeClass("loading").addClass("loaded"),a.value&&i.html(a.value)}))})},window.revealDetails(jQuery);var i=jQuery;i(".profile-tab-toggle").first().data("section-id"),i(".profile-tab-toggle").on("click",function(a){a.preventDefault(),i(".profile-menu li.active").removeClass("active"),i(this).parent().addClass("active");i(".listing-tab.tab-active");a=i(this).data("section-id");document.body.dataset.activeTab=a})});
