Liferay.Loader.define("@data-engine-taglib$babel/runtime@7.21.0/helpers/applyDecs2203R",["module","exports","require","./typeof"],(function(e,t,r){window;{var n=r("./typeof").default;function applyDecs2203R(t,r,a){return(e.exports=applyDecs2203R=function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,s,o){var l;switch(a){case 1:l="accessor";break;case 2:l="method";break;case 3:l="getter";break;case 4:l="setter";break;default:l="field"}var c,u,f={kind:l,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?s?(c=r.get,u=r.set):(c=function get(){return this[t]},u=function set(e){this[t]=e}):2===a?c=function get(){return r.value}:(1!==a&&3!==a||(c=function get(){return r.get.call(this)}),1!==a&&4!==a||(u=function set(e){r.set.call(this,e)})),f.access=c&&u?{get:c,set:u}:c?{get:c}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=n(t);if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,n,a,i,s,o){var l,c,u,f,p,d,h=r[0];if(s?l=0===a||1===a?{get:r[3],set:r[4]}:3===a?{get:r[3]}:4===a?{set:r[3]}:{value:r[3]}:0!==a&&(l=Object.getOwnPropertyDescriptor(t,n)),1===a?u={get:l.get,set:l.set}:2===a?u=l.value:3===a?u=l.get:4===a&&(u=l.set),"function"==typeof h)void 0!==(f=memberDec(h,n,l,o,a,i,s,u))&&(assertValidReturnValue(a,f),0===a?c=f:1===a?(c=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var g=h.length-1;g>=0;g--){var v;void 0!==(f=memberDec(h[g],n,l,o,a,i,s,u))&&(assertValidReturnValue(a,f),0===a?v=f:1===a?(v=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==v&&(void 0===c?c=v:"function"==typeof c?c=[c,v]:c.push(v)))}if(0===a||1===a){if(void 0===c)c=function init(e,t){return t};else if("function"!=typeof c){var y=c;c=function init(e,t){for(var r=t,n=0;n<y.length;n++)r=y[n].call(e,r);return r}}else{var b=c;c=function init(e,t){return b.call(e,t)}}e.push(c)}0!==a&&(1===a?(l.get=u.get,l.set=u.set):2===a?l.value=u:3===a?l.get=u:4===a&&(l.set=u),s?1===a?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===a?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,n,l))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,s=new Map,o=0;o<t.length;o++){var l=t[o];if(Array.isArray(l)){var c,u,f=l[1],p=l[2],d=l.length>3,h=f>=5;if(h?(c=e,0!=(f-=5)&&(u=n=n||[])):(c=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var g=h?s:i,v=g.get(p)||0;if(!0===v||3===v&&4!==f||4===v&&3!==f)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!v&&f>2?g.set(p,f):g.set(p,!0)}applyMemberDec(a,c,l,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){return{e:applyMemberDecs(e,t),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}(),e.exports.__esModule=!0,e.exports.default=e.exports)(t,r,a)}e.exports=applyDecs2203R,e.exports.__esModule=!0,e.exports.default=e.exports}}));
//# sourceMappingURL=applyDecs2203R.js.map