(()=>{"use strict";var a={n:e=>{var d=e&&e.__esModule?()=>e.default:()=>e;return a.d(d,{a:d}),d},d:(e,d)=>{for(var r in d)a.o(d,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:d[r]})},o:(a,e)=>Object.prototype.hasOwnProperty.call(a,e)};const e=window.jQuery;!function(a){const e=a("#toplevel_page_prad-dashboard > a").attr("href");if(e?.indexOf("?page=prad-dashboard")>0&&a("#toplevel_page_prad-dashboard > a").attr("href",e+"#dashboard"),"?page=prad-dashboard"==window.location.search){const e=window.location.hash;e&&e.indexOf("demoid")<0&&(a("#toplevel_page_prad-dashboard ul li").removeClass("current"),e.includes("#lists")?a("#toplevel_page_prad-dashboard ul li a[href$=#lists]").closest("li").addClass("current"):"#dashboard"===e?a("#toplevel_page_prad-dashboard ul li.wp-first-item").addClass("current"):a(`#toplevel_page_prad-dashboard ul li a[href$="${e}"]`).addClass("current"))}a(document).on("click","#toplevel_page_prad-dashboard ul li a",function(){let e=a(this).attr("href");e&&(e=e.split("#"),void 0!==e[1]&&e[1].indexOf("demoid")<0&&e[1]&&(a("#toplevel_page_prad-dashboard ul li a").closest("ul").find("li").removeClass("current"),a(this).closest("li").addClass("current"),a(`#toplevel_page_prad-dashboard ul li a[href$="${e[1]}"]`).addClass("current"),"dashboard"==e[1]&&a("#toplevel_page_prad-dashboard ul li.wp-first-item").addClass("current")))}),a("#toplevel_page_prad-dashboard ul > li > a").each(function(){a(this).attr("href")&&a(this).attr("href").indexOf("?page=prad-dashboard")>0&&!1!==a(this).hasClass("wp-first-item")&&a(this).attr("href",a(this).attr("href")+"#dashboard")}),a(".wp-submenu > li > a").each(function(){a(this).attr("href").indexOf("?post_type=product&page=wowaddons-page")>0&&a(this).attr("href",a(this).attr("href").replace("edit.php?post_type=product&page=wowaddons-page","admin.php?page=prad-dashboard#dashboard"))}),a("#plugin-information-content").length>0&&a('a[href$="https://account.wpxpo.com/downloads/wowaddons-pro/"]').attr("href","https://www.wpxpo.com/product/wowaddons/pricing/?utm_source=db-wowaddons-plugin&utm_medium=plugin-details&utm_campaign=wowaddons-dashboard")}(a.n(e)())})();