katoikia-app/web-ui/web-react/node_modules/primereact/avatargroup/avatargroup.esm.min.js

2 lines
2.3 KiB
JavaScript

import t,{Component as e}from"react";import{classNames as r}from"primereact/utils";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function c(t,e){return c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},c(t,e)}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e)}function u(t){return u="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},u(t)}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return f(t)}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var s,y,b,m=function(c){i(h,e);var u,f,s,y,b,m=(u=h,f=p(),function(){var t,e=a(u);if(f){var r=a(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return l(this,t)});function h(){return o(this,h),m.apply(this,arguments)}return s=h,(y=[{key:"render",value:function(){var e=r("p-avatar-group p-component",this.props.className);return t.createElement("div",{className:e,style:this.props.style},this.props.children)}}])&&n(s.prototype,y),b&&n(s,b),Object.defineProperty(s,"prototype",{writable:!1}),h}();b={style:null,className:null},(y="defaultProps")in(s=m)?Object.defineProperty(s,y,{value:b,enumerable:!0,configurable:!0,writable:!0}):s[y]=b;export{m as AvatarGroup};