!function(){const e=AUI().use("oop"),o={},t={_getAOP:(e,o)=>e._yuiaop&&e._yuiaop[o],_proxy(e,r,n,i,p,a,y){let d;const s=t._proxyLoaders[p];for(t._replaceMethod(e,r,n,i);d=s.next();)n.apply(i,d);for(let e=a.length-1;e>=0;e--)o[a[e]]=!0},_proxyLoaders:{},_replaceMethod(o,r,n){const i=t._getAOP(o,r);let p=o[r];i?(p=i.method,i.method=n):o[r]=n,e.mix(n,p)},provide(r,n,i,p,a){let y;Array.isArray(p)||(p=[p]);const d=e.guid();if(e.Lang.isObject(i,!0)){const o=i;i=o.fn,y=o.before,e.Lang.isFunction(y)||(y=null)}a&&e.Lang.isFunction(r)&&(r=r.prototype);t._getAOP(r,n)&&delete r._yuiaop[n];const s=function proxy(){const y=arguments;let s=r;if(a&&(s=this),1===p.length&&p[0]in o)return t._replaceMethod(r,n,i,s),void i.apply(s,y);let c=!1,l=t._proxyLoaders[d];l||(c=!0,t._proxyLoaders[d]=new e.Queue,l=t._proxyLoaders[d]),l.add(y),c&&(p.push(e.bind(t._proxy,Liferay,r,n,i,s,d,p)),e.use.apply(e,p))};s.toString=function(){return i.toString()},r[n]=s}};Liferay.Dependency=t,Liferay.provide=t.provide}();
//# sourceMappingURL=dependency.js.map