Liferay.Loader.define("@liferay/comment-taglib@4.0.46/discussion/js/components/UserIcon",["module","exports","require","@frontend-taglib-clay$clayui/icon","@frontend-taglib-clay$clayui/sticker","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_interopRequireDefault(a("@frontend-taglib-clay$clayui/icon")),l=_interopRequireDefault(a("@frontend-taglib-clay$clayui/sticker")),i=_interopRequireDefault(a("liferay!frontend-js-react-web$classnames")),n=(_interopRequireDefault(a("liferay!frontend-js-react-web$prop-types")),_interopRequireDefault(a("liferay!frontend-js-react-web$react")));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var _default=({fullName:e="",portraitURL:t="",size:a="lg",userId:c})=>{const s=parseInt(c,10)%10;return n.default.createElement(l.default,{className:(0,i.default)("sticker-use-icon",{["user-icon-color-".concat(s)]:!t}),displayType:"secondary",shape:"circle",size:a},t?n.default.createElement("div",{className:"sticker-overlay"},n.default.createElement("img",{alt:"".concat(e,"."),className:"sticker-img",src:t})):n.default.createElement(r.default,{symbol:"user"}))};t.default=_default}}));
//# sourceMappingURL=UserIcon.js.map