(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var a in n)t.o(n,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:n[a]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window.wp.domReady;t.n(e)()((()=>{function t(t){window.dispatchEvent(new CustomEvent("installerParamsSet",{detail:t}))}document.body.addEventListener("click",(e=>{const n=e.target;if(n.hasAttribute("data-nfd-installer-plugin-name")){e.preventDefault();const a=n.getAttribute("href")||n.getAttribute("data-nfd-installer-plugin-url");if(n.hasAttribute("data-nfd-installer-download-url"))return t({action:"installFreePlugin",pluginName:n.getAttribute("data-nfd-installer-plugin-name"),pluginDownloadUrl:n.getAttribute("data-nfd-installer-download-url"),pluginProvider:n.getAttribute("data-nfd-installer-pls-provider"),pluginBasename:n.getAttribute("data-nfd-installer-plugin-basename"),pluginDependency:n.getAttribute("data-nfd-installer-plugin-dependency"),redirectUrl:a}),!1;if(n.hasAttribute("data-nfd-installer-pls-slug")&&n.hasAttribute("data-nfd-installer-pls-provider"))return t({action:"installPremiumPlugin",pluginName:n.getAttribute("data-nfd-installer-plugin-name"),pluginSlug:n.getAttribute("data-nfd-installer-pls-slug"),pluginProvider:n.getAttribute("data-nfd-installer-pls-provider"),pluginBasename:n.getAttribute("data-nfd-installer-plugin-basename"),pluginDependency:n.getAttribute("data-nfd-installer-plugin-dependency"),redirectUrl:a}),!1;a&&(window.location.href=a)}}))})),((window.newfold=window.newfold||{}).Installer=window.newfold.Installer||{}).dataAttrListener={}})();