var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t,e){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e(require("./PNotify")):"function"==typeof define&&define.amd?define("PNotifyCallbacks",["./PNotify"],e):t.PNotifyCallbacks=e(PNotify)}(this,function(f){"use strict";var o=(f=f&&f.__esModule?f.default:f).prototype.open,r=f.prototype.close,a=function(t,e,n){var o=t?t.get().modules:e.modules,r=o&&o.Callbacks?o.Callbacks:{};return r[n]?r[n]:function(){return!0}};function t(t){var e,n;n=t,(e=this)._handlers=Object.create(null),e._bind=n._bind,e.options=n,e.root=n.root||e,e.store=e.root.store||n.store,this._state=s({},t.data),this._intro=!0,this._fragment=(this._state,{c:i,m:i,p:i,d:i}),t.target&&(this._fragment.c(),this._mount(t.target,t.anchor))}function i(){}function s(t,e){for(var n in e)t[n]=e[n];return t}function e(t){for(;t&&t.length;)t.shift()()}return f.prototype.open=function(){if(!1!==a(this,null,"beforeOpen")(this)){for(var t=arguments.length,e=Array(t),n=0;n