(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var c in n)e.o(n,c)&&!e.o(t,c)&&Object.defineProperty(t,c,{enumerable:!0,get:n[c]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.i18n,n=window.jQuery;var c=e.n(n);!function(){const e={update:0,install:0,activate:0,deactivate:0};c()(".llms-bulk-close").on("click",(function(e){e.preventDefault(),c()("input.llms-bulk-check").filter(":checked").prop("checked",!1).trigger("change")})),c()("input.llms-bulk-check").on("change",(function(){const n=c()(this).attr("data-action");c()(this).is(":checked")?e[n]++:e[n]--,function(){const n=c()("#llms-addons-bulk-actions");e.update||e.install||e.activate||e.deactivate?n.addClass("active"):n.removeClass("active"),c().each(e,(function(e,c){const l=n.find(".llms-bulk-desc."+e);let a="";c?(
// Translators: %d = Number of add-ons to perform the specified action against.
a=(0,t.sprintf)((0,t._n)("%d add-on","%d add-ons",c,"lifterlms"),c),l.show()):l.hide(),l.find("span").text(a)}))}()})),c()("#llms-active-keys-toggle").on("click",(function(){c()("#llms-key-field-form").toggle()}))}()})();