(()=>{"use strict";var e={d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>r});const o=window.wp.hooks;function n(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}const r=function(){function e(){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),e.instance)return e.instance;this.hooks=(0,o.createHooks)(),e.instance=this}var t,r;return t=e,r=[{key:"addAction",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;this.hooks.addAction(e,"wcPPCP",t,o)}},{key:"doAction",value:function(e){for(var t,o=arguments.length,n=new Array(o>1?o-1:0),r=1;r<o;r++)n[r-1]=arguments[r];(t=this.hooks).doAction.apply(t,[e].concat(n))}},{key:"addFilter",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;this.hooks.addFilter(e,"wcPPCP",t,o)}},{key:"applyFilters",value:function(e){for(var t,o=arguments.length,n=new Array(o>1?o-1:0),r=1;r<o;r++)n[r-1]=arguments[r];return(t=this.hooks).applyFilters.apply(t,[e].concat(n))}}],r&&n(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();(this.wcPPCP=this.wcPPCP||{}).actions=t})();