@atlaskit/avatar
Advanced tools
Comparing version 8.2.1 to 8.2.2
@@ -1,6 +0,11 @@ | ||
<a name="8.2.1"></a> | ||
## 8.2.1 (2017-11-14) | ||
<a name="8.2.2"></a> | ||
## 8.2.2 (2017-11-15) | ||
<a name="8.2.2"></a> | ||
## 8.2.2 (2017-11-15) | ||
<a name="8.2.1"></a> | ||
@@ -47,2 +52,3 @@ ## 8.2.1 (2017-11-14) | ||
* **component:** improve avatar perf by caching styled components ([0e6fa65](https://bitbucket.org/atlassian/atlaskit/commits/0e6fa65)) | ||
* **package:** added missing dependencies ([4dbc3ef](https://bitbucket.org/atlassian/atlaskit/commits/4dbc3ef)) | ||
@@ -49,0 +55,0 @@ |
@@ -1,2 +0,2 @@ | ||
module.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(o).default}});var a=n(39);Object.defineProperty(t,"AvatarGroup",{enumerable:!0,get:function(){return r(a).default}});var l=n(45);Object.defineProperty(t,"AvatarItem",{enumerable:!0,get:function(){return r(l).default}});var i=n(16);Object.defineProperty(t,"Presence",{enumerable:!0,get:function(){return r(i).default}});var u=n(26);Object.defineProperty(t,"Status",{enumerable:!0,get:function(){return r(u).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AvatarDefaultProps=void 0;var o=n(3),a=r(o),l=n(4),i=r(l),u=n(5),s=r(u),d=n(6),c=r(d),f=n(7),p=r(f),m=n(8),h=r(m),g=n(9),b=r(g);n(10);var v=n(11),x=r(v),y=n(12),C=n(16),_=r(C),k=n(22),S=r(k),O=n(26),E=r(O),M=n(28),I=r(M),w=n(25),A=n(29),z=r(A),T=n(30),L=n(31),D=n(35),P=t.AvatarDefaultProps={appearance:"circle",enableTooltip:!0,size:"medium"},R=function(e){function t(){var n,r,o;(0,c.default)(this,t);for(var a=arguments.length,l=Array(a),u=0;u<a;u++)l[u]=arguments[u];return n=r=(0,p.default)(this,e.call.apply(e,[this].concat(l))),r.cache={},r.blur=function(e){r.node.blur&&r.node.blur(e)},r.focus=function(e){r.node.focus&&r.node.focus(e)},r.guardedClick=function(e){var t=r.props,n=t.isDisabled,o=t.onClick;if(!n&&"function"==typeof o){var a=T.omit.apply(void 0,[r.props].concat((0,s.default)(y.propsOmittedFromClickData)));o({item:a,event:e})}},r.renderIcon=function(){var e=r.props,t=e.appearance,n=e.borderColor,o=e.presence,a=e.size,l=e.status,u=!!o,s=!!l;if(!y.validIconSizes.includes(a)&&(u||s))return console.warn('Avatar size "'+String(a)+'" does NOT support '+(u?"presence":"status")),null;if(u&&s)return console.warn("Avatar supports `presence` OR `status` properties, not both."),null;var d=void 0;if(u){var c="object"===("undefined"==typeof o?"undefined":(0,i.default)(o))?o:null;d=x.default.createElement(M.PresenceWrapper,{appearance:t,size:a},x.default.createElement(_.default,{borderColor:n,presence:!c&&o,size:a},c))}else s&&(d=x.default.createElement(M.StatusWrapper,{appearance:t,size:a},x.default.createElement(E.default,{status:l,borderColor:n,size:a})));return d},o=n,(0,p.default)(r,o)}return(0,h.default)(t,e),t.prototype.getCachedComponent=function(e){return this.cache[e]||(this.cache[e]=L.getStyledComponent[e](w.getInnerStyles)),this.cache[e]},t.prototype.getStyledComponent=function(){var e=this.props,t=e.component,n=e.href,r=e.onClick,o="span";return t?o="custom":n?o="link":r&&(o="button"),this.getCachedComponent(o)},t.prototype.render=function(){var e=this,t=this.props,n=t.appearance,r=t.enableTooltip,o=t.isHover,l=t.onClick,i=t.name,u=t.size,s=t.src,d=t.stackIndex,c=(0,L.getProps)(this),f=this.getStyledComponent();return c.onClick=l&&this.guardedClick,x.default.createElement(I.default,{size:u,stackIndex:d},x.default.createElement(f,(0,a.default)({innerRef:function(t){return e.node=t}},c),x.default.createElement(S.default,{alt:i,appearance:n,size:u,src:s})),r&&o&&i?x.default.createElement(z.default,null,i):null,this.renderIcon())},t}(v.Component);R.propTypes={appearance:b.default.oneOf(["circle","square"]),borderColor:b.default.oneOfType([b.default.string,b.default.func]),component:b.default.any,enableTooltip:b.default.bool,href:b.default.string,isActive:b.default.bool,isDisabled:b.default.bool,isFocus:b.default.bool,isHover:b.default.bool,isSelected:b.default.bool,name:b.default.string,presence:b.default.oneOfType([b.default.oneOf(["online","busy","focus","offline"]),b.default.any]),size:b.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]).isRequired,src:b.default.string,status:b.default.oneOf(["approved","declined","locked"]),stackIndex:b.default.number,tabIndex:b.default.number,target:b.default.oneOf(["_blank","_self","_top","_parent"]),onClick:b.default.func},R.defaultProps=P,t.default=(0,D.mapProps)({appearance:function(e){return e.appearance||R.defaultProps.appearance},isInteractive:function(e){return e.enableTooltip||R.defaultProps.enableTooltip}})((0,D.withPseudoState)(R))},function(e,t){e.exports=require("babel-runtime/helpers/extends")},function(e,t){e.exports=require("babel-runtime/helpers/typeof")},function(e,t){e.exports=require("babel-runtime/helpers/toConsumableArray")},function(e,t){e.exports=require("babel-runtime/helpers/classCallCheck")},function(e,t){e.exports=require("babel-runtime/helpers/possibleConstructorReturn")},function(e,t){e.exports=require("babel-runtime/helpers/inherits")},function(e,t){e.exports=require("prop-types")},function(e,t){e.exports=require("@atlaskit/polyfills/array-prototype-includes")},function(e,t){e.exports=require("react")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.propsOmittedFromClickData=t.validIconSizes=void 0;var o=n(13),a=r(o),l=n(14);t.validIconSizes=(0,a.default)(l.ICON_SIZES),t.propsOmittedFromClickData=["onBlur","onClick","onFocus","onKeyDown","onKeyUp","onMouseDown","onMouseEnter","onMouseLeave","onMouseUp"]},function(e,t){e.exports=require("babel-runtime/core-js/object/keys")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SQUARE_ICON_OFFSET=t.ICON_OFFSET=t.ICON_SIZES=t.EXCESS_INDICATOR_FONT_SIZE=t.BORDER_WIDTH=t.AVATAR_RADIUS=t.AVATAR_SIZES=t.TRANSITION_DURATION=void 0;var r=n(15);t.TRANSITION_DURATION="200ms",t.AVATAR_SIZES={xsmall:2*r.akGridSizeUnitless,small:3*r.akGridSizeUnitless,medium:4*r.akGridSizeUnitless,large:5*r.akGridSizeUnitless,xlarge:12*r.akGridSizeUnitless,xxlarge:16*r.akGridSizeUnitless},t.AVATAR_RADIUS={xsmall:2,small:2,medium:3,large:3,xlarge:6,xxlarge:12},t.BORDER_WIDTH={xsmall:2,small:2,medium:2,large:2,xlarge:2,xxlarge:2},t.EXCESS_INDICATOR_FONT_SIZE={small:10,medium:11,large:12,xlarge:16},t.ICON_SIZES={small:12,medium:14,large:15,xlarge:18},t.ICON_OFFSET={small:0,medium:0,large:1,xlarge:7},t.SQUARE_ICON_OFFSET={small:0,medium:0,large:0,xlarge:1}},function(e,t){e.exports=require("@atlaskit/util-shared-styles")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),l=n(7),i=r(l),u=n(8),s=r(u),d=n(9),c=r(d),f=n(11),p=r(f),m=n(17),h=n(21),g=r(h),b=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.borderColor,n=e.children,r=e.presence,o=e.size;return p.default.createElement(m.Outer,{size:o,bgColor:t},p.default.createElement(m.Inner,null,n||r&&(0,g.default)(r)))},t}(f.PureComponent);b.propTypes={borderColor:c.default.oneOfType([c.default.string,c.default.func]),children:c.default.any,presence:c.default.oneOfType([c.default.oneOf(["online","busy","focus","offline"]),c.default.any]),size:c.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"])},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Inner=t.Outer=void 0;var o=n(18),a=r(o),l=(0,a.default)(["\n align-content: center;\n align-items: center;\n background-color: ",";\n border-radius: 50%;\n box-sizing: border-box;\n display: flex;\n height: 100%;\n overflow: hidden;\n padding: ","px;\n width: 100%;\n"],["\n align-content: center;\n align-items: center;\n background-color: ",";\n border-radius: 50%;\n box-sizing: border-box;\n display: flex;\n height: 100%;\n overflow: hidden;\n padding: ","px;\n width: 100%;\n"]),i=(0,a.default)(["\n align-items: center;\n border-radius: 50%;\n display: flex;\n height: 100%;\n overflow: hidden;\n width: 100%;\n"],["\n align-items: center;\n border-radius: 50%;\n display: flex;\n height: 100%;\n overflow: hidden;\n width: 100%;\n"]),u=n(19),s=r(u),d=n(20),c=n(14);t.Outer=s.default.span(l,function(e){return e.bgColor||d.colors.background},function(e){var t=e.size;return c.BORDER_WIDTH[t]||c.BORDER_WIDTH.medium}),t.Inner=s.default.span(i)},function(e,t){e.exports=require("babel-runtime/helpers/taggedTemplateLiteral")},function(e,t){e.exports=require("styled-components")},function(e,t){e.exports=require("@atlaskit/theme")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){switch(e){case"busy":return c.default.createElement(h,null,c.default.createElement(g,{cx:"4",cy:"4",r:"4"}),c.default.createElement(b,{d:"M3.3,1.9l2.8,2.8c0.2,0.2,0.2,0.5,0,0.7L5.4,6.1c-0.2,0.2-0.5,0.2-0.7,0L1.9,3.3c-0.2-0.2-0.2-0.5,0-0.7l0.7-0.7C2.8,1.7,3.1,1.7,3.3,1.9z"}));case"focus":return c.default.createElement(h,null,c.default.createElement(v,{d:"M4,8 C1.790861,8 0,6.209139 0,4 C0,1.790861 1.790861,0 4,0 C6.209139,0 8,1.790861 8,4 C8,6.209139 6.209139,8 4,8 Z M4,6.66666667 C5.47275933,6.66666667 6.66666667,5.47275933 6.66666667,4 C6.66666667,2.52724067 5.47275933,1.33333333 4,1.33333333 C2.52724067,1.33333333 1.33333333,2.52724067 1.33333333,4 C1.33333333,5.47275933 2.52724067,6.66666667 4,6.66666667 Z M4,5.33333333 C3.26362033,5.33333333 2.66666667,4.73637967 2.66666667,4 C2.66666667,3.26362033 3.26362033,2.66666667 4,2.66666667 C4.73637967,2.66666667 5.33333333,3.26362033 5.33333333,4 C5.33333333,4.73637967 4.73637967,5.33333333 4,5.33333333 Z"}));case"offline":return c.default.createElement(h,null,c.default.createElement(x,{d:"M4,8 C6.209139,8 8,6.209139 8,4 C8,1.790861 6.209139,0 4,0 C1.790861,0 0,1.790861 0,4 C0,6.209139 1.790861,8 4,8 Z M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"}),c.default.createElement(y,{d:"M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"}));case"online":return c.default.createElement(h,null,c.default.createElement(C,{cx:"4",cy:"4",r:"4"}));default:return null}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(18),l=r(a),i=n(3),u=r(i),s=(0,l.default)(["\n fill: ",";\n"],["\n fill: ",";\n"]);t.default=o;var d=n(11),c=r(d),f=n(19),p=r(f),m=n(20),h=function(e){return c.default.createElement("svg",(0,u.default)({height:"100%",version:"1.1",viewBox:"0 0 8 8",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e))},g=p.default.circle(s,(0,m.themed)({light:m.colors.R300,dark:m.colors.R200})),b=p.default.path(s,m.colors.background),v=p.default.path(s,m.colors.purple),x=p.default.path(s,(0,m.themed)({light:m.colors.N200,dark:m.colors.DN100})),y=p.default.path(s,(0,m.themed)({light:m.colors.N40,dark:m.colors.DN500})),C=p.default.circle(s,(0,m.themed)({light:m.colors.G300,dark:m.colors.G200}))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.appearance,n=e.size,r=e.title,o=128;return C.default.createElement(O.Svg,{appearance:t,size:n,viewBox:"0 0 "+o+" "+o,version:"1.1",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":r},!!r&&C.default.createElement("title",null,r),"circle"===t?C.default.createElement(E,null,C.default.createElement("circle",{cx:"64",cy:"64",r:"64"}),C.default.createElement("g",null,C.default.createElement("path",{d:"M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"}),C.default.createElement("path",{d:"M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"}))):C.default.createElement(E,null,C.default.createElement("rect",{x:"0",y:"0",width:o,height:o}),C.default.createElement("g",{transform:"translate(19.000000, 32.000000)"},C.default.createElement("path",{d:"M18.25,32.5 L54.5833333,32.5 L54.5833333,23.4166667 L18.25,23.4166667 L18.25,32.5 Z M9.16666667,18.8331166 C9.16666667,16.3479549 11.236581,14.3333333 13.7195662,14.3333333 L59.1137671,14.3333333 C61.6282641,14.3333333 63.6666667,16.3815123 63.6666667,18.8331166 L63.6666667,41.5833333 L9.16666667,41.5833333 L9.16666667,18.8331166 Z"}),C.default.createElement("path",{d:"M18.25,9.81383682 C18.25,4.7850061 22.3296003,0.708333333 27.3238554,0.708333333 L36.4261446,0.708333333 C41.4374965,0.708333333 45.5,4.76812825 45.5,9.81383682 L45.5,23.4166667 L18.25,23.4166667 L18.25,9.81383682 Z M36.4166667,9.81383682 C36.4166667,9.79803315 36.4184748,9.79303784 36.4207515,9.79166667 L27.3238554,9.79166667 C27.3447224,9.79166667 27.3333333,9.80308059 27.3333333,9.81383682 L27.3333333,14.3333333 L36.4166667,14.3333333 L36.4166667,9.81383682 Z"}),C.default.createElement("path",{d:"M11.4386532,55.2083333 L74.9953562,55.2083333 L79.5452242,41.5833333 L9.80449752,41.5833333 L11.4386532,55.2083333 Z M0.1048547,36.987541 C-0.192399775,34.5091405 1.5865717,32.5 4.09502839,32.5 L87.6264735,32.5 C90.1274401,32.5 91.5225656,34.393506 90.7231047,36.7875656 L82.9702846,60.004101 C82.1795402,62.3720582 79.5279445,64.2916667 76.9985338,64.2916667 L7.91963924,64.2916667 C5.41227673,64.2916667 3.14113571,62.3029555 2.84143097,59.8041257 L0.1048547,36.987541 Z"}))))}Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),l=r(a),i=n(23),u=r(i),s=n(6),d=r(s),c=n(7),f=r(c),p=n(8),m=r(p),h=n(18),g=r(h),b=n(9),v=r(b),x=(0,g.default)(["\n & circle,\n & rect {\n fill: ",";\n }\n & g {\n fill: ","\n }\n"],["\n & circle,\n & rect {\n fill: ",";\n }\n & g {\n fill: ","\n }\n"]);t.DefaultImage=o;var y=n(11),C=r(y),_=n(19),k=r(_),S=n(20),O=n(24),E=k.default.g(x,(0,S.themed)({light:S.colors.N50,dark:S.colors.DN100}),S.colors.background),M=function(e){function t(){var n,r,o;(0,d.default)(this,t);for(var a=arguments.length,l=Array(a),i=0;i<a;i++)l[i]=arguments[i];return n=r=(0,f.default)(this,e.call.apply(e,[this].concat(l))),r.state={hasError:!1,isLoading:!!r.props.src},r.handleLoad=function(e){r._isMounted&&r.setState({hasError:e,isLoading:!1})},r.handleLoadSuccess=function(){return r.handleLoad(!1)},r.handleLoadError=function(){return r.handleLoad(!0)},o=n,(0,f.default)(r,o)}return(0,m.default)(t,e),t.prototype.componentDidMount=function(){this._isMounted=!0},t.prototype.componentWillReceiveProps=function(e){e.src&&this.props.src!==e.src&&this.setState({isLoading:!0})},t.prototype.componentWillUnmount=function(){this._isMounted=!1},t.prototype.render=function(){var e=this.props,t=e.alt,n=e.src,r=(0,u.default)(e,["alt","src"]),a=this.state,i=a.hasError,s=a.isLoading,d=!s&&(!n||i),c=n&&!s?{backgroundImage:"url("+n+")"}:null;return d?C.default.createElement(o,{appearance:r.appearance,size:r.size,title:t}):C.default.createElement(O.Span,(0,l.default)({"aria-label":t,isLoading:s,role:"img",style:c,title:t},r),C.default.createElement(O.HiddenImage,{"aria-hidden":"true",onLoad:this.handleLoadSuccess,onError:this.handleLoadError,src:n}))},t}(y.PureComponent);M.propTypes={alt:v.default.string,appearance:v.default.oneOf(["circle","square"]).isRequired,src:v.default.string,size:v.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]).isRequired},t.default=M},function(e,t){e.exports=require("babel-runtime/helpers/objectWithoutProperties")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.HiddenImage=t.Svg=t.Span=void 0;var o=n(18),a=r(o),l=(0,a.default)(["\n background-color: ",";\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n border-radius: ",";\n display: flex;\n flex: 1;\n height: 100%;\n width: 100%;\n"],["\n background-color: ",";\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n border-radius: ",";\n display: flex;\n flex: 1;\n height: 100%;\n width: 100%;\n"]),i=(0,a.default)(["\n background-color: ",";\n border-radius: ",";\n height: 100%;\n width: 100%;\n"],["\n background-color: ",";\n border-radius: ",";\n height: 100%;\n width: 100%;\n"]),u=(0,a.default)(["\n visibility: hidden;\n"],["\n visibility: hidden;\n"]),s=n(19),d=r(s),c=n(20),f=n(25),p=function(e){var t=e.isLoading;return t?(0,c.themed)({light:c.colors.N40,dark:c.colors.DN50}):"transparent"};t.Span=d.default.span(l,p,f.getBorderRadius),t.Svg=d.default.svg(i,p,f.getBorderRadius),t.HiddenImage=d.default.img(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{includeBorderWidth:!1},n=t.includeBorderWidth?f.BORDER_WIDTH[e.size]:0;return"circle"===e.appearance?"50%":f.AVATAR_RADIUS[e.size]+n+"px"}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{includeBorderWidth:!1},n=t.includeBorderWidth?2*f.BORDER_WIDTH[e.size]:0,r=f.AVATAR_SIZES[e.size]+n;return"\n height: "+r+"px;\n width: "+r+"px;\n "}function l(e){var t="content-box",n=f.BORDER_WIDTH[e.size]+"px",r=Boolean(e.isInteractive||e.href||e.onClick),l=e.borderColor||c.colors.background,i="default",u="none",v=m,x=0,y="auto",C="static",_="translateZ(0)",k="0s";return r&&(e.isActive||e.isHover)&&(v=h,x=1),r&&e.isActive&&(_="scale(0.9)"),r&&e.isFocus&&!e.isActive&&(u="none",l=p,k=f.TRANSITION_DURATION),e.isDisabled&&(i="not-allowed",v=b,x=1,y="none"),r&&(i="pointer"),e.isSelected&&(v=g,x=1),e.stackIndex&&(C="relative"),(0,d.css)(s,a,l,o(e,{includeBorderWidth:!0}),n,t,i,u,y,C,_,k,v,o,n,n,x,n,n,f.TRANSITION_DURATION)}Object.defineProperty(t,"__esModule",{value:!0}),t.getSize=void 0;var i=n(18),u=r(i),s=(0,u.default)(["\n ",";\n align-items: stretch;\n background-color: ",";\n border: 0;\n border-radius: ",";\n padding: ",";\n box-sizing: ",";\n cursor: ",";\n display: flex;\n flex-direction: column;\n justify-content: center;\n outline: ",";\n overflow: hidden;\n pointer-events: ",";\n position: ",";\n transform: ",";\n transition: background-color "," ease-out;\n\n a &, button & {\n cursor: pointer;\n }\n\n &::after {\n background-color: ",";\n border-radius: ",";\n bottom: ",';\n content: " ";\n left: ',";\n opacity: ",";\n pointer-events: none;\n position: absolute;\n right: ",";\n top: ",";\n transition: opacity ",";\n }\n\n &::-moz-focus-inner {\n border: 0;\n margin: 0;\n padding: 0;\n }\n "],["\n ",";\n align-items: stretch;\n background-color: ",";\n border: 0;\n border-radius: ",";\n padding: ",";\n box-sizing: ",";\n cursor: ",";\n display: flex;\n flex-direction: column;\n justify-content: center;\n outline: ",";\n overflow: hidden;\n pointer-events: ",";\n position: ",";\n transform: ",";\n transition: background-color "," ease-out;\n\n a &, button & {\n cursor: pointer;\n }\n\n &::after {\n background-color: ",";\n border-radius: ",";\n bottom: ",';\n content: " ";\n left: ',";\n opacity: ",";\n pointer-events: none;\n position: absolute;\n right: ",";\n top: ",";\n transition: opacity ",";\n }\n\n &::-moz-focus-inner {\n border: 0;\n margin: 0;\n padding: 0;\n }\n "]);t.getBorderRadius=o,t.getAvatarDimensions=a,t.getInnerStyles=l;var d=n(19),c=n(20),f=n(14),p=c.colors.B200,m="transparent",h=c.colors.N70A,g=c.colors.N200A,b=(0,c.themed)({light:"rgba(255, 255, 255, 0.7)",dark:c.colors.DN80A});t.getSize=function(e){return f.AVATAR_SIZES[e.size]}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),l=n(7),i=r(l),u=n(8),s=r(u),d=n(9),c=r(d),f=n(11),p=r(f),m=n(17),h=n(27),g=r(h),b=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.borderColor,n=e.children,r=e.status,o=e.size;return p.default.createElement(m.Outer,{size:o,bgColor:t},n||r&&(0,g.default)(r))},t}(f.PureComponent);b.propTypes={borderColor:c.default.oneOfType([c.default.string,c.default.func]),children:c.default.any,status:c.default.oneOf(["approved","declined","locked"]),size:c.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"])},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){switch(e){case"approved":return c.default.createElement(h,null,c.default.createElement(g,{cx:"4",cy:"4",r:"4"}),c.default.createElement(b,{d:"M2.47140452,3.52859548 C2.21105499,3.26824595 1.78894501,3.26824595 1.52859548,3.52859548 C1.26824595,3.78894501 1.26824595,4.21105499 1.52859548,4.47140452 L2.86192881,5.80473785 C3.12227834,6.06508738 3.54438833,6.06508738 3.80473785,5.80473785 L6.47140452,3.13807119 C6.73175405,2.87772166 6.73175405,2.45561167 6.47140452,2.19526215 C6.21105499,1.93491262 5.78894501,1.93491262 5.52859548,2.19526215 L3.33333333,4.39052429 L2.47140452,3.52859548 Z"}));case"declined":return c.default.createElement(h,null,c.default.createElement(v,{cx:"4",cy:"4",r:"4"}),c.default.createElement(x,{d:"M4.890661,4.0088336 L5.81806461,3.07802178 C6.06167933,2.83351177 6.06048933,2.43826992 5.81540668,2.19522442 C5.57032402,1.95217891 5.17415651,1.95336612 4.93054179,2.19787613 L4.00765946,3.12415007 L3.06906871,2.18377143 C2.82523777,1.93947602 2.42906937,1.93863765 2.18420182,2.18189887 C1.93933427,2.42516008 1.93849394,2.82040282 2.18232488,3.06469822 L3.12544091,4.00961077 L2.20275024,4.93569234 C1.95913552,5.18020236 1.96032551,5.5754442 2.20540817,5.81848971 C2.45049083,6.06153521 2.84665833,6.060348 3.09027306,5.81583799 L4.00844245,4.89429431 L4.9092123,5.79678001 C5.15304324,6.04107541 5.54921164,6.04191379 5.79407919,5.79865257 C6.03894674,5.55539135 6.03978708,5.16014862 5.79595614,4.91585321 L4.890661,4.0088336 Z"}));case"locked":return c.default.createElement(h,null,c.default.createElement(y,{cx:"4",cy:"4",r:"4"}),c.default.createElement(C,{d:"M4.13074827,1.21766493 L4.10368158,1.21766493 C3.36340745,1.21766493 2.76388015,1.80793503 2.76388015,2.5367787 L2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,2.54344089 C3.44054754,2.17901906 3.74031119,1.88388401 4.11044825,1.88388401 L4.1239816,1.88388401 C4.49411866,1.88388401 4.79388232,2.17901906 4.79388232,2.54344089 L4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,2.5367787 C5.47054971,1.80793503 4.8710224,1.21766493 4.13074827,1.21766493 M2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,3.88254123 L2.76388015,3.88254123 L2.76388015,3.21632216 Z M4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,3.88254123 L4.79388232,3.88254123 L4.79388232,3.21632216 Z M4.79401765,3.88254123 L3.44068287,3.88254123 L2.76401548,3.88254123 C2.39049508,3.88254123 2.08734809,4.18100738 2.08734809,4.54876031 L2.08734809,5.54808892 C2.08734809,6.10000287 2.53735205,6.54741753 3.09094491,6.54741753 L5.14375561,6.54741753 C5.69802683,6.54741753 6.14735243,6.10385072 6.14735243,5.54808892 L6.14735243,4.54876031 C6.14735243,4.18100738 5.84420544,3.88254123 5.47068504,3.88254123 L4.79401765,3.88254123 Z"}));default:return null}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(18),l=r(a),i=n(3),u=r(i),s=(0,l.default)(["\n fill: ",";\n"],["\n fill: ",";\n"]);t.default=o;var d=n(11),c=r(d),f=n(19),p=r(f),m=n(20),h=function(e){return c.default.createElement("svg",(0,u.default)({height:"100%",version:"1.1",viewBox:"0 0 8 8",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e))},g=p.default.circle(s,(0,m.themed)({light:m.colors.G400,dark:m.colors.G300})),b=p.default.path(s,m.colors.background),v=p.default.circle(s,(0,m.themed)({light:m.colors.R400,dark:m.colors.R300})),x=p.default.path(s,m.colors.background),y=p.default.circle(s,(0,m.themed)({light:m.colors.N40,dark:m.colors.DN800})),C=p.default.path(s,(0,m.themed)({light:m.colors.N500,dark:m.colors.DN30}))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.StatusWrapper=t.PresenceWrapper=t.Inner=void 0;var o=n(18),a=r(o),l=(0,a.default)(["\n ","\n display: inline-block;\n position: relative;\n outline: 0;\n ","\n"],["\n ","\n display: inline-block;\n position: relative;\n outline: 0;\n ","\n"]),i=(0,a.default)(["\n ","\n"],["\n ","\n"]),u=(0,a.default)(["\n ","\n pointer-events: none;\n position: absolute;\n"],["\n ","\n pointer-events: none;\n position: absolute;\n"]),s=(0,a.default)(["\n ","\n position: absolute;\n"],["\n ","\n position: absolute;\n"]),d=n(19),c=r(d),f=n(14),p=n(25);t.default=c.default.div(l,function(e){return(0,p.getAvatarDimensions)(e,{includeBorderWidth:!0})},function(e){return e.stackIndex&&"z-index: "+e.stackIndex+";"});var m=(t.Inner=c.default.div(i,p.getInnerStyles),function(e){var t=e.appearance,n=e.size,r="square"===t?-(2*f.BORDER_WIDTH[n]):f.ICON_OFFSET[n],o=f.ICON_SIZES[n];return"\n bottom: "+r+"px;\n height: "+o+"px;\n right: "+r+"px;\n width: "+o+"px;\n "}),h=(t.PresenceWrapper=c.default.span(u,m),function(e){var t=e.appearance,n=e.size,r="square"===t?f.SQUARE_ICON_OFFSET[n]:f.ICON_OFFSET[n],o=f.ICON_SIZES[n];return"\n height: "+o+"px;\n right: "+r+"px;\n top: "+r+"px;\n width: "+o+"px;\n "});t.StatusWrapper=c.default.span(s,h)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),a=r(o),l=(0,a.default)(["translateY(","px) translateX(-50%)"],["translateY(","px) translateX(-50%)"]),i=(0,a.default)(["\n animation: "," 0.6s 0.1s backwards;\n background-color: ",";\n border-radius: ",";\n box-sizing: border-box;\n color: ",";\n font-size: ","px;\n left: 50%;\n line-height: ",";\n margin-top: ","px;\n max-width: ","px;\n overflow: hidden;\n padding: ","px ","px;\n pointer-events: none;\n position: absolute;\n text-overflow: ellipsis;\n transform: translateX(-50%);\n white-space: nowrap;\n z-index: 1;\n"],["\n animation: "," 0.6s 0.1s backwards;\n background-color: ",";\n border-radius: ",";\n box-sizing: border-box;\n color: ",";\n font-size: ","px;\n left: 50%;\n line-height: ",";\n margin-top: ","px;\n max-width: ","px;\n overflow: hidden;\n padding: ","px ","px;\n pointer-events: none;\n position: absolute;\n text-overflow: ellipsis;\n transform: translateX(-50%);\n white-space: nowrap;\n z-index: 1;\n"]),u=(0,a.default)(["",""],["",""]),s=n(19),d=r(s),c=n(15),f=n(20),p=c.akAnimationMixins.createBold,m=c.akAnimationMixins.interpolate,h=c.akGridSizeUnitless/2,g=3*h,b=4*h/g,v=105*h,x=2*h,y={property:"transform",value:m(l,function(e){return e}),deltas:[{from:-x,to:0}]},C={property:"opacity",deltas:[{from:0,to:1}]},_=(0,f.themed)({light:f.colors.N800,dark:f.colors.DN0}),k=(0,f.themed)({light:f.colors.N0,dark:f.colors.DN600}),S=d.default.div(i,(0,s.keyframes)(u,p([y,C])),_,c.akBorderRadius,k,g,b,h,v,h/2,2*h);t.default=S},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(0,i.default)(e).reduce(function(t,r){return n.indexOf(r)===-1&&(t[r]=e[r]),t},{})}function a(e,t){var n=t.displayName||t.name;return n?e+"("+n+")":e}Object.defineProperty(t,"__esModule",{value:!0});var l=n(13),i=r(l);t.omit=o,t.getDisplayName=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(32);Object.defineProperty(t,"getStyledComponent",{enumerable:!0,get:function(){return r(o).default}});var a=n(21);Object.defineProperty(t,"getPresenceSVG",{enumerable:!0,get:function(){return r(a).default}});var l=n(34);Object.defineProperty(t,"getProps",{enumerable:!0,get:function(){return r(l).default}});var i=n(27);Object.defineProperty(t,"getStatusSVG",{enumerable:!0,get:function(){return r(i).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),a=r(o),l=(0,a.default)(["&,&:hover,&:active,&:focus{","}"],["&,&:hover,&:active,&:focus{","}"]),i=(0,a.default)(["",""],["",""]),u=(0,a.default)(["a&{ "," }"],["a&{ "," }"]),s=n(19),d=r(s),c=n(33),f=r(c);t.default={custom:function(e){var t=(0,d.default)(f.default)(l,e);return t.displayName="StyledCustomComponent",t},button:function(e){var t=d.default.button(i,e);return t.displayName="StyledButton",t},link:function(e){var t=d.default.a(u,e);return t.displayName="StyledLink",t},span:function(e){var t=d.default.span(i,e);return t.displayName="StyledSpan",t}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(e.appearance,e.avatar,e.borderColor,e.component),n=(e.enableTooltip,e.groupAppearance,e.innerRef,e.isActive,e.isDisabled,e.isFocus,e.isHover,e.isSelected,e.primaryText,e.secondaryText,e.stackIndex,(0,l.default)(e,["appearance","avatar","borderColor","component","enableTooltip","groupAppearance","innerRef","isActive","isDisabled","isFocus","isHover","isSelected","primaryText","secondaryText","stackIndex"]));return u.default.createElement(t,n)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(23),l=r(a);t.default=o;var i=n(11),u=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.props,n=(0,l.default)({},i(t),u(t));return t.component?(0,l.default)({},n,t):t.href?t.isDisabled?n:(0,l.default)({},n,s(t)):t.onClick?(0,l.default)({},n,d(t)):n}Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),l=r(a);t.default=o;var i=function(e){var t=e.appearance,n=e.borderColor,r=e.groupAppearance,o=e.isActive,a=e.isDisabled,l=e.isFocus,i=e.isHover,u=e.isSelected,s=e.size,d=e.stackIndex;return{appearance:t,borderColor:n,groupAppearance:r,isActive:o,isDisabled:a,isFocus:l,isHover:i,isSelected:u,size:s,stackIndex:d}},u=function(e){var t=e.onBlur,n=e.onClick,r=e.onFocus,o=e.onKeyDown,a=e.onKeyUp,l=e.onMouseDown,i=e.onMouseEnter,u=e.onMouseLeave,s=e.onMouseUp,d=e.tabIndex;return{onBlur:t,onClick:n,onFocus:r,onKeyDown:o,onKeyUp:a,onMouseDown:l,onMouseEnter:i,onMouseLeave:u,onMouseUp:s,tabIndex:d}},s=function(e){var t=e.href,n=e.target,r="_blank"===n?"noopener noreferrer":null;return{href:t,rel:r,target:n}},d=function(e){var t=e.id,n=e.isDisabled;return{id:t,type:"button",disabled:n}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(36);Object.defineProperty(t,"mapProps",{enumerable:!0,get:function(){return r(o).default}});var a=n(38);Object.defineProperty(t,"withPseudoState",{enumerable:!0,get:function(){return r(a).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t){var n,r;return r=n=function(n){function r(){var e,t,o;(0,f.default)(this,r);for(var a=arguments.length,l=Array(a),i=0;i<a;i++)l[i]=arguments[i];return e=t=(0,m.default)(this,n.call.apply(n,[this].concat(l))),t.blur=function(e){t.component.blur&&t.component.blur(e)},t.focus=function(e){t.component.focus&&t.component.focus(e)},o=e,(0,m.default)(t,o)}return(0,g.default)(r,n),r.prototype.render=function(){var n=this,r=(0,d.default)({},this.props,(0,u.default)(e).reduce(function(t,r){return(0,d.default)({},t,(0,l.default)({},r,e[r](n.props)))},{}));return v.default.createElement(t,(0,d.default)({ref:function(e){return n.component=e}},r))},r}(b.Component),n.displayName=(0,x.getDisplayName)("mapProps",t),n.DecoratedComponent=t,r}}Object.defineProperty(t,"__esModule",{value:!0 | ||
});var a=n(37),l=r(a),i=n(13),u=r(i),s=n(3),d=r(s),c=n(6),f=r(c),p=n(7),m=r(p),h=n(8),g=r(h);t.default=o;var b=n(11),v=r(b),x=n(30)},function(e,t){e.exports=require("babel-runtime/helpers/defineProperty")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.href,n=e.isActive,r=e.isFocus,o=e.isHover,a=e.isInteractive,l=e.onClick;return{isActive:n,isFocus:r,isHover:o,isInteractive:!!(t||a||l)}}function a(e){var t,n,r;return n=t=function(t){function n(){var e,o,a;(0,s.default)(this,n);for(var l=arguments.length,i=Array(l),u=0;u<l;u++)i[u]=arguments[u];return e=o=(0,c.default)(this,t.call.apply(t,[this].concat(i))),r.call(o),a=e,(0,c.default)(o,a)}return(0,p.default)(n,t),n.prototype.componentWillMount=function(){var e=this.props,t=e.href,n=e.isInteractive,r=e.onClick;(t||n||r)&&(this.actionKeys=r||n?["Enter"," "]:["Enter"])},n.prototype.render=function(){var t=this,n=this.getProps();return h.default.createElement(e,(0,i.default)({ref:function(e){return t.component=e}},this.state,n))},n}(m.Component),t.displayName=(0,g.getDisplayName)("withPseudoState",e),r=function(){var e=this;this.state=o(this.props),this.blur=function(t){e.component.blur&&e.component.blur(t)},this.focus=function(t){e.component.focus&&e.component.focus(t)},this.onBlur=function(){return e.setState({isActive:!1,isFocus:!1})},this.onFocus=function(){return e.setState({isFocus:!0})},this.onMouseLeave=function(){return e.setState({isActive:!1,isHover:!1})},this.onMouseEnter=function(){return e.setState({isHover:!0})},this.onMouseUp=function(){return e.setState({isActive:!1})},this.onMouseDown=function(){return e.setState({isActive:!0})},this.onKeyDown=function(t){e.actionKeys.includes(t.key)&&e.setState({isActive:!0})},this.onKeyUp=function(t){e.actionKeys.includes(t.key)&&e.setState({isActive:!1})},this.getProps=function(){var t=e.state.isInteractive,n=g.omit.apply(void 0,[e.props].concat(b)),r=e;return t&&b.forEach(function(t){e.props[t]?n[t]=function(){var n;r[t].apply(r,arguments),(n=e.props)[t].apply(n,arguments)}:n[t]=r[t]}),n}},n}Object.defineProperty(t,"__esModule",{value:!0});var l=n(3),i=r(l),u=n(6),s=r(u),d=n(7),c=r(d),f=n(8),p=r(f);t.default=a;var m=n(11),h=r(m),g=n(30),b=["onBlur","onFocus","onKeyDown","onKeyUp","onMouseDown","onMouseEnter","onMouseLeave","onMouseUp"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),l=n(6),i=r(l),u=n(7),s=r(u),d=n(8),c=r(d),f=n(40),p=r(f),m=n(9),h=r(m),g=n(11),b=r(g),v=n(41),x=r(v),y=n(2),C=r(y),_=n(42),k=n(43),S=r(k),O={grid:_.Grid,stack:_.Stack},E={grid:11,stack:5},M=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,c.default)(t,e),t.prototype.renderMoreDropdown=function(e,t){var n=this.props,r=n.appearance,o=n.data,l=n.borderColor,i=n.onMoreClick,u=n.onAvatarClick,s=n.size,d=n.boundariesElement;if(t<=e)return null;var c=function(n){return b.default.createElement(S.default,(0,a.default)({borderColor:l,count:t-e,isInteractive:!0,isStack:"stack"===r,size:s},n))};if("function"==typeof i)return b.default.createElement(c,{onClick:i});var f=o.slice(e).map(function(e){return{content:e.name,elemBefore:b.default.createElement(C.default,(0,a.default)({},e,{size:"small",borderColor:"transparent"})),href:e.href,rel:e.target?"noopener noreferrer":null,target:e.target}});return b.default.createElement(x.default,{items:[{items:f}],onItemActivated:u,position:"bottom right",boundariesElement:d,shouldFlip:!0},b.default.createElement(c,null))},t.prototype.render=function(){var e=this.props,t=e.avatar,n=e.appearance,r=e.borderColor,o=e.data,l=e.maxCount,i=e.onAvatarClick,u=e.size,s=0===l?E[n]:l,d=o.length,c=O[n],f=d>s?s-1:s,p=o.slice(0,f).map(function(e,o){return b.default.createElement(t,(0,a.default)({},e,{borderColor:r,groupAppearance:n,index:o,key:o,onClick:e.onClick||i,size:u,stackIndex:s-o}))});return b.default.createElement(c,{size:u},p,this.renderMoreDropdown(+f,d))},t}(g.Component);M.propTypes={appearance:h.default.oneOf(["grid","stack"]).isRequired,avatar:h.default.any.isRequired,borderColor:h.default.string,data:h.default.arrayOf((0,p.default)(h.default.shape({appearance:h.default.oneOf(["circle","square"]),borderColor:h.default.oneOfType([h.default.string,h.default.func]),component:h.default.any,enableTooltip:h.default.bool,href:h.default.string,isActive:h.default.bool,isDisabled:h.default.bool,isFocus:h.default.bool,isHover:h.default.bool,isSelected:h.default.bool,name:h.default.string,presence:h.default.oneOfType([h.default.oneOf(["online","busy","focus","offline"]),h.default.any]),size:h.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]).isRequired,src:h.default.string,status:h.default.oneOf(["approved","declined","locked"]),stackIndex:h.default.number,tabIndex:h.default.number,target:h.default.oneOf(["_blank","_self","_top","_parent"])}),h.default.shape({onClick:h.default.func}))).isRequired,maxCount:h.default.number.isRequired,onAvatarClick:h.default.func,onMoreClick:h.default.func,size:h.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]),boundariesElement:h.default.oneOf(["viewport","window","scrollParent"])},M.defaultProps={appearance:"stack",avatar:C.default,maxCount:0,size:"medium"},t.default=M},function(e,t){e.exports=require("prop-types-extra/lib/all")},function(e,t){e.exports=require("@atlaskit/dropdown-menu")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Stack=t.Grid=void 0;var o=n(18),a=r(o),l=(0,a.default)(["\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n line-height: 1;\n margin-left: -",";\n margin-right: -",";\n\n > * {\n margin-bottom: ",";\n padding-left: ",";\n padding-right: ",";\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n line-height: 1;\n margin-left: -",";\n margin-right: -",";\n\n > * {\n margin-bottom: ",";\n padding-left: ",";\n padding-right: ",";\n }\n"]),i=(0,a.default)(["\n display: flex;\n line-height: 1;\n\n > * {\n margin-right: -","px;\n }\n"],["\n display: flex;\n line-height: 1;\n\n > * {\n margin-right: -","px;\n }\n"]),u=n(19),s=r(u),d=n(15),c=n(14),f=d.akGridSizeUnitless/2,p=f+"px";t.Grid=s.default.div(l,p,p,d.akGridSize,p,p),t.Stack=s.default.div(i,function(e){return 2*c.BORDER_WIDTH[e.size]+f})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),l=n(6),i=r(l),u=n(7),s=r(u),d=n(8),c=r(d),f=n(9),p=r(f),m=n(11),h=r(m),g=n(44),b=n(35),v=n(31),x=99,y=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,c.default)(t,e),t.prototype.render=function(){var e=this.props.count,t=(0,v.getProps)(this),n=this.props,r=n.appearance,o=n.isActive,l=n.isFocus,i=n.isHover,u=n.size,s={appearance:r,isActive:o,isFocus:l,isHover:i,size:u},d=e>x?x:e;return h.default.createElement(g.Outer,(0,a.default)({},t,{isInteractive:!0}),h.default.createElement(g.Inner,s,"+",d))},t}(m.Component);y.propTypes={borderColor:p.default.string,count:p.default.number.isRequired,isStack:p.default.bool,onClick:p.default.func,size:p.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]),appearance:p.default.string,isActive:p.default.bool,isFocus:p.default.bool,isHover:p.default.bool},y.defaultProps={appearance:"circle"},t.default=(0,b.withPseudoState)(y)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Inner=t.Outer=void 0;var o=n(18),a=r(o),l=(0,a.default)(["\n ","\n background: 0;\n"],["\n ","\n background: 0;\n"]),i=(0,a.default)(["\n background-color: ",";\n border-radius: ",";\n align-items: center;\n box-shadow: 0 0 0 "," ",";\n color: ",";\n cursor: pointer;\n display: flex;\n flex-basis: 100%;\n flex-grow: 1;\n font-size: ","px;\n justify-content: center;\n transition: box-shadow 200ms;\n"],["\n background-color: ",";\n border-radius: ",";\n align-items: center;\n box-shadow: 0 0 0 "," ",";\n color: ",";\n cursor: pointer;\n display: flex;\n flex-basis: 100%;\n flex-grow: 1;\n font-size: ","px;\n justify-content: center;\n transition: box-shadow 200ms;\n"]),u=n(19),s=r(u),d=n(20),c=n(25),f=n(14),p=function(e){return e.isFocus&&!e.isActive?f.BORDER_WIDTH[e.size]+"px":0};t.Outer=s.default.button(l,c.getInnerStyles),t.Inner=s.default.span(i,(0,d.themed)({light:d.colors.N40,dark:d.colors.DN70}),c.getBorderRadius,p,d.colors.B200,(0,d.themed)({light:d.colors.N500,dark:d.colors.DN400}),function(e){return f.EXCESS_INDICATOR_FONT_SIZE[e.size]})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),l=n(5),i=r(l),u=n(6),s=r(u),d=n(7),c=r(d),f=n(8),p=r(f),m=n(9),h=r(m),g=n(11),b=r(g),v=n(12),x=n(30),y=n(46),C=n(31),_=n(35),k=function(e){function t(){var n,r,o;(0,s.default)(this,t);for(var a=arguments.length,l=Array(a),u=0;u<a;u++)l[u]=arguments[u];return n=r=(0,c.default)(this,e.call.apply(e,[this].concat(l))),r.cache={},r.blur=function(e){r.node.blur&&r.node.blur(e)},r.focus=function(e){r.node.focus&&r.node.focus(e)},r.guardedClick=function(e){var t=r.props,n=t.isDisabled,o=t.onClick;if(!n&&"function"==typeof o){var a=x.omit.apply(void 0,[r.props].concat((0,i.default)(v.propsOmittedFromClickData)));o({item:a,event:e})}},o=n,(0,c.default)(r,o)}return(0,p.default)(t,e),t.prototype.getCachedComponent=function(e){return this.cache[e]||(this.cache[e]=C.getStyledComponent[e](y.getStyles)),this.cache[e]},t.prototype.getStyledComponent=function(){var e=this.props,t=e.component,n=e.href,r=e.onClick,o="span";return t?o="custom":n?o="link":r&&(o="button"),this.getCachedComponent(o)},t.prototype.render=function(){var e=this,t=this.props,n=t.avatar,r=t.enableTextTruncate,o=t.onClick,l=t.primaryText,i=t.secondaryText,u=(0,y.getBackgroundColor)(this.props),s=(0,C.getProps)(this),d=this.getStyledComponent();return s.onClick=o&&this.guardedClick,b.default.createElement(d,(0,a.default)({innerRef:function(t){return e.node=t}},s),(0,g.cloneElement)(n,{borderColor:u}),b.default.createElement(y.Content,{truncate:r},b.default.createElement(y.PrimaryText,{truncate:r},l),b.default.createElement(y.SecondaryText,{truncate:r},i)))},t}(g.Component);k.propTypes={avatar:h.default.any.isRequired,component:h.default.any,href:h.default.string,isActive:h.default.bool,isDisabled:h.default.bool,isFocus:h.default.bool,isHover:h.default.bool,isSelected:h.default.bool,onClick:h.default.func,primaryText:h.default.string,secondaryText:h.default.string,target:h.default.oneOf(["_blank","_self","_top","_parent"]),enableTextTruncate:h.default.bool},k.defaultProps={enableTextTruncate:!0},t.default=(0,_.withPseudoState)(k)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.href,n=e.isActive,r=e.isHover,o=e.isSelected,a=e.onClick,l=t||a,i=g.colors.background;return l&&(r||o)&&(i=v),l&&n&&(i=b),i}function a(e){var t=e.href,n=e.isActive,r=e.isDisabled,a=e.isFocus,l=e.onClick,i=t||l,s="transparent",d="auto",c=1,f="none",p="auto";return i&&a&&!n&&(f="none",s=x),r&&(d="not-allowed",c=.75,p="none"),i&&(d="pointer"),(0,m.css)(u,o,g.borderRadius,s,d,c,f,g.math.divide(g.gridSize,2),p)}Object.defineProperty(t,"__esModule",{value:!0}),t.SecondaryText=t.PrimaryText=t.Content=void 0;var l=n(18),i=r(l),u=(0,i.default)(["\n align-items: center;\n background-color: ",";\n border-radius: ","px;\n border: 2px solid ",";\n box-sizing: content-box;\n color: inherit;\n cursor: ",";\n display: flex;\n font-size: inherit;\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n opacity: ",";\n outline: ",";\n margin: 0;\n padding: ","px;\n pointer-events: ",";\n text-align: left;\n text-decoration: none;\n width: 100%;\n "],["\n align-items: center;\n background-color: ",";\n border-radius: ","px;\n border: 2px solid ",";\n box-sizing: content-box;\n color: inherit;\n cursor: ",";\n display: flex;\n font-size: inherit;\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n opacity: ",";\n outline: ",";\n margin: 0;\n padding: ","px;\n pointer-events: ",";\n text-align: left;\n text-decoration: none;\n width: 100%;\n "]),s=(0,i.default)(["\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"],["\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"]),d=(0,i.default)(["\n max-width: 100%;\n min-width: 0;\n"],["\n max-width: 100%;\n min-width: 0;\n"]),c=(0,i.default)(["\n ","\n flex: 1;\n line-height: 1.4;\n padding-left: ","px;\n"],["\n ","\n flex: 1;\n line-height: 1.4;\n padding-left: ","px;\n"]),f=(0,i.default)(["\n ","\n color: ",";\n"],["\n ","\n color: ",";\n"]),p=(0,i.default)(["\n ","\n color: ",";\n font-size: 0.85em;\n"],["\n ","\n color: ",";\n font-size: 0.85em;\n"]);t.getBackgroundColor=o,t.getStyles=a;var m=n(19),h=r(m),g=n(20),b=(0,g.themed)({light:g.colors.B50,dark:g.colors.DN40}),v=(0,g.themed)({light:g.colors.N30,dark:g.colors.DN50}),x=(0,g.themed)({light:g.colors.B200,dark:g.colors.B75}),y=function(e){return e.truncate&&(0,m.css)(s)},C=function(e){return e.truncate&&(0,m.css)(d)};t.Content=h.default.div(c,C,g.gridSize),t.PrimaryText=h.default.div(f,y,g.colors.text),t.SecondaryText=h.default.div(p,y,g.colors.subtleText)}]); | ||
module.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(o).default}});var a=n(42);Object.defineProperty(t,"AvatarGroup",{enumerable:!0,get:function(){return r(a).default}});var l=n(48);Object.defineProperty(t,"AvatarItem",{enumerable:!0,get:function(){return r(l).default}});var i=n(16);Object.defineProperty(t,"Presence",{enumerable:!0,get:function(){return r(i).default}});var u=n(26);Object.defineProperty(t,"Status",{enumerable:!0,get:function(){return r(u).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AvatarDefaultProps=void 0;var o=n(3),a=r(o),l=n(4),i=r(l),u=n(5),s=r(u),d=n(6),c=r(d),f=n(7),p=r(f),m=n(8),h=r(m),g=n(9),v=r(g);n(10);var b=n(11),x=r(b),y=n(12),_=n(16),C=r(_),k=n(22),O=r(k),E=n(26),S=r(E),M=n(28),I=r(M),w=n(29),A=r(w),z=n(30),T=n(31),L=n(38),D=t.AvatarDefaultProps={appearance:"circle",enableTooltip:!0,size:"medium"},P=function(e){},R=function(e){function t(){var n,r,o;(0,c.default)(this,t);for(var a=arguments.length,l=Array(a),u=0;u<a;u++)l[u]=arguments[u];return n=r=(0,p.default)(this,e.call.apply(e,[this].concat(l))),r.blur=function(e){r.node.blur&&r.node.blur(e)},r.focus=function(e){r.node.focus&&r.node.focus(e)},r.guardedClick=function(e){var t=r.props,n=t.isDisabled,o=t.onClick;if(!n&&"function"==typeof o){var a=z.omit.apply(void 0,[r.props].concat((0,s.default)(y.propsOmittedFromClickData)));o({item:a,event:e})}},r.renderIcon=function(){var e=r.props,t=e.appearance,n=e.borderColor,o=e.presence,a=e.size,l=e.status,u=!!o,s=!!l;if(!y.validIconSizes.includes(a)&&(u||s))return P('Avatar size "'+String(a)+'" does NOT support '+(u?"presence":"status")),null;if(u&&s)return P("Avatar supports `presence` OR `status` properties, not both."),null;var d=void 0;if(u){var c="object"===("undefined"==typeof o?"undefined":(0,i.default)(o))?o:null;d=x.default.createElement(M.PresenceWrapper,{appearance:t,size:a},x.default.createElement(C.default,{borderColor:n,presence:!c&&o,size:a},c))}else s&&(d=x.default.createElement(M.StatusWrapper,{appearance:t,size:a},x.default.createElement(S.default,{status:l,borderColor:n,size:a})));return d},o=n,(0,p.default)(r,o)}return(0,h.default)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.appearance,r=t.enableTooltip,o=t.isHover,l=t.onClick,i=t.name,u=t.size,s=t.src,d=t.stackIndex,c=(0,T.getProps)(this),f=(0,T.getStyledAvatar)(this.props);return c.onClick=l&&this.guardedClick,x.default.createElement(I.default,{size:u,stackIndex:d},x.default.createElement(f,(0,a.default)({innerRef:function(t){return e.node=t}},c),x.default.createElement(O.default,{alt:i,appearance:n,size:u,src:s})),r&&o&&i?x.default.createElement(A.default,null,i):null,this.renderIcon())},t}(b.Component);R.propTypes={appearance:v.default.oneOf(["circle","square"]),borderColor:v.default.oneOfType([v.default.string,v.default.func]),component:v.default.any,enableTooltip:v.default.bool,href:v.default.string,isActive:v.default.bool,isDisabled:v.default.bool,isFocus:v.default.bool,isHover:v.default.bool,isSelected:v.default.bool,name:v.default.string,presence:v.default.oneOfType([v.default.oneOf(["online","busy","focus","offline"]),v.default.any]),size:v.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]).isRequired,src:v.default.string,status:v.default.oneOf(["approved","declined","locked"]),stackIndex:v.default.number,tabIndex:v.default.number,target:v.default.oneOf(["_blank","_self","_top","_parent"]),onClick:v.default.func},R.defaultProps=D,t.default=(0,L.mapProps)({appearance:function(e){return e.appearance||R.defaultProps.appearance},isInteractive:function(e){return e.enableTooltip||R.defaultProps.enableTooltip}})((0,L.withPseudoState)(R))},function(e,t){e.exports=require("babel-runtime/helpers/extends")},function(e,t){e.exports=require("babel-runtime/helpers/typeof")},function(e,t){e.exports=require("babel-runtime/helpers/toConsumableArray")},function(e,t){e.exports=require("babel-runtime/helpers/classCallCheck")},function(e,t){e.exports=require("babel-runtime/helpers/possibleConstructorReturn")},function(e,t){e.exports=require("babel-runtime/helpers/inherits")},function(e,t){e.exports=require("prop-types")},function(e,t){e.exports=require("@atlaskit/polyfills/array-prototype-includes")},function(e,t){e.exports=require("react")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.propsOmittedFromClickData=t.validIconSizes=void 0;var o=n(13),a=r(o),l=n(14);t.validIconSizes=(0,a.default)(l.ICON_SIZES),t.propsOmittedFromClickData=["onBlur","onClick","onFocus","onKeyDown","onKeyUp","onMouseDown","onMouseEnter","onMouseLeave","onMouseUp"]},function(e,t){e.exports=require("babel-runtime/core-js/object/keys")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SQUARE_ICON_OFFSET=t.ICON_OFFSET=t.ICON_SIZES=t.EXCESS_INDICATOR_FONT_SIZE=t.BORDER_WIDTH=t.AVATAR_RADIUS=t.AVATAR_SIZES=t.TRANSITION_DURATION=void 0;var r=n(15);t.TRANSITION_DURATION="200ms",t.AVATAR_SIZES={xsmall:2*r.akGridSizeUnitless,small:3*r.akGridSizeUnitless,medium:4*r.akGridSizeUnitless,large:5*r.akGridSizeUnitless,xlarge:12*r.akGridSizeUnitless,xxlarge:16*r.akGridSizeUnitless},t.AVATAR_RADIUS={xsmall:2,small:2,medium:3,large:3,xlarge:6,xxlarge:12},t.BORDER_WIDTH={xsmall:2,small:2,medium:2,large:2,xlarge:2,xxlarge:2},t.EXCESS_INDICATOR_FONT_SIZE={small:10,medium:11,large:12,xlarge:16},t.ICON_SIZES={small:12,medium:14,large:15,xlarge:18},t.ICON_OFFSET={small:0,medium:0,large:1,xlarge:7},t.SQUARE_ICON_OFFSET={small:0,medium:0,large:0,xlarge:1}},function(e,t){e.exports=require("@atlaskit/util-shared-styles")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),l=n(7),i=r(l),u=n(8),s=r(u),d=n(9),c=r(d),f=n(11),p=r(f),m=n(17),h=n(21),g=r(h),v=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.borderColor,n=e.children,r=e.presence,o=e.size;return p.default.createElement(m.Outer,{size:o,bgColor:t},p.default.createElement(m.Inner,null,n||r&&(0,g.default)(r)))},t}(f.PureComponent);v.propTypes={borderColor:c.default.oneOfType([c.default.string,c.default.func]),children:c.default.any,presence:c.default.oneOfType([c.default.oneOf(["online","busy","focus","offline"]),c.default.any]),size:c.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"])},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Inner=t.Outer=void 0;var o=n(18),a=r(o),l=(0,a.default)(["\n align-content: center;\n align-items: center;\n background-color: ",";\n border-radius: 50%;\n box-sizing: border-box;\n display: flex;\n height: 100%;\n overflow: hidden;\n padding: ","px;\n width: 100%;\n"],["\n align-content: center;\n align-items: center;\n background-color: ",";\n border-radius: 50%;\n box-sizing: border-box;\n display: flex;\n height: 100%;\n overflow: hidden;\n padding: ","px;\n width: 100%;\n"]),i=(0,a.default)(["\n align-items: center;\n border-radius: 50%;\n display: flex;\n height: 100%;\n overflow: hidden;\n width: 100%;\n"],["\n align-items: center;\n border-radius: 50%;\n display: flex;\n height: 100%;\n overflow: hidden;\n width: 100%;\n"]),u=n(19),s=r(u),d=n(20),c=n(14);t.Outer=s.default.span(l,function(e){return e.bgColor||d.colors.background},function(e){var t=e.size;return c.BORDER_WIDTH[t]||c.BORDER_WIDTH.medium}),t.Inner=s.default.span(i)},function(e,t){e.exports=require("babel-runtime/helpers/taggedTemplateLiteral")},function(e,t){e.exports=require("styled-components")},function(e,t){e.exports=require("@atlaskit/theme")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){switch(e){case"busy":return c.default.createElement(h,null,c.default.createElement(g,{cx:"4",cy:"4",r:"4"}),c.default.createElement(v,{d:"M3.3,1.9l2.8,2.8c0.2,0.2,0.2,0.5,0,0.7L5.4,6.1c-0.2,0.2-0.5,0.2-0.7,0L1.9,3.3c-0.2-0.2-0.2-0.5,0-0.7l0.7-0.7C2.8,1.7,3.1,1.7,3.3,1.9z"}));case"focus":return c.default.createElement(h,null,c.default.createElement(b,{d:"M4,8 C1.790861,8 0,6.209139 0,4 C0,1.790861 1.790861,0 4,0 C6.209139,0 8,1.790861 8,4 C8,6.209139 6.209139,8 4,8 Z M4,6.66666667 C5.47275933,6.66666667 6.66666667,5.47275933 6.66666667,4 C6.66666667,2.52724067 5.47275933,1.33333333 4,1.33333333 C2.52724067,1.33333333 1.33333333,2.52724067 1.33333333,4 C1.33333333,5.47275933 2.52724067,6.66666667 4,6.66666667 Z M4,5.33333333 C3.26362033,5.33333333 2.66666667,4.73637967 2.66666667,4 C2.66666667,3.26362033 3.26362033,2.66666667 4,2.66666667 C4.73637967,2.66666667 5.33333333,3.26362033 5.33333333,4 C5.33333333,4.73637967 4.73637967,5.33333333 4,5.33333333 Z"}));case"offline":return c.default.createElement(h,null,c.default.createElement(x,{d:"M4,8 C6.209139,8 8,6.209139 8,4 C8,1.790861 6.209139,0 4,0 C1.790861,0 0,1.790861 0,4 C0,6.209139 1.790861,8 4,8 Z M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"}),c.default.createElement(y,{d:"M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"}));case"online":return c.default.createElement(h,null,c.default.createElement(_,{cx:"4",cy:"4",r:"4"}));default:return null}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(18),l=r(a),i=n(3),u=r(i),s=(0,l.default)(["\n fill: ",";\n"],["\n fill: ",";\n"]);t.default=o;var d=n(11),c=r(d),f=n(19),p=r(f),m=n(20),h=function(e){return c.default.createElement("svg",(0,u.default)({height:"100%",version:"1.1",viewBox:"0 0 8 8",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e))},g=p.default.circle(s,(0,m.themed)({light:m.colors.R300,dark:m.colors.R200})),v=p.default.path(s,m.colors.background),b=p.default.path(s,m.colors.purple),x=p.default.path(s,(0,m.themed)({light:m.colors.N200,dark:m.colors.DN100})),y=p.default.path(s,(0,m.themed)({light:m.colors.N40,dark:m.colors.DN500})),_=p.default.circle(s,(0,m.themed)({light:m.colors.G300,dark:m.colors.G200}))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.appearance,n=e.size,r=e.title,o=128;return _.default.createElement(E.Svg,{appearance:t,size:n,viewBox:"0 0 "+o+" "+o,version:"1.1",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":r},!!r&&_.default.createElement("title",null,r),"circle"===t?_.default.createElement(S,null,_.default.createElement("circle",{cx:"64",cy:"64",r:"64"}),_.default.createElement("g",null,_.default.createElement("path",{d:"M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"}),_.default.createElement("path",{d:"M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"}))):_.default.createElement(S,null,_.default.createElement("rect",{x:"0",y:"0",width:o,height:o}),_.default.createElement("g",{transform:"translate(19.000000, 32.000000)"},_.default.createElement("path",{d:"M18.25,32.5 L54.5833333,32.5 L54.5833333,23.4166667 L18.25,23.4166667 L18.25,32.5 Z M9.16666667,18.8331166 C9.16666667,16.3479549 11.236581,14.3333333 13.7195662,14.3333333 L59.1137671,14.3333333 C61.6282641,14.3333333 63.6666667,16.3815123 63.6666667,18.8331166 L63.6666667,41.5833333 L9.16666667,41.5833333 L9.16666667,18.8331166 Z"}),_.default.createElement("path",{d:"M18.25,9.81383682 C18.25,4.7850061 22.3296003,0.708333333 27.3238554,0.708333333 L36.4261446,0.708333333 C41.4374965,0.708333333 45.5,4.76812825 45.5,9.81383682 L45.5,23.4166667 L18.25,23.4166667 L18.25,9.81383682 Z M36.4166667,9.81383682 C36.4166667,9.79803315 36.4184748,9.79303784 36.4207515,9.79166667 L27.3238554,9.79166667 C27.3447224,9.79166667 27.3333333,9.80308059 27.3333333,9.81383682 L27.3333333,14.3333333 L36.4166667,14.3333333 L36.4166667,9.81383682 Z"}),_.default.createElement("path",{d:"M11.4386532,55.2083333 L74.9953562,55.2083333 L79.5452242,41.5833333 L9.80449752,41.5833333 L11.4386532,55.2083333 Z M0.1048547,36.987541 C-0.192399775,34.5091405 1.5865717,32.5 4.09502839,32.5 L87.6264735,32.5 C90.1274401,32.5 91.5225656,34.393506 90.7231047,36.7875656 L82.9702846,60.004101 C82.1795402,62.3720582 79.5279445,64.2916667 76.9985338,64.2916667 L7.91963924,64.2916667 C5.41227673,64.2916667 3.14113571,62.3029555 2.84143097,59.8041257 L0.1048547,36.987541 Z"}))))}Object.defineProperty(t,"__esModule",{value:!0}),t.clearCache=void 0;var a=n(3),l=r(a),i=n(23),u=r(i),s=n(6),d=r(s),c=n(7),f=r(c),p=n(8),m=r(p),h=n(18),g=r(h),v=n(9),b=r(v),x=(0,g.default)(["\n & circle,\n & rect {\n fill: ",";\n }\n & g {\n fill: ",";\n }\n"],["\n & circle,\n & rect {\n fill: ",";\n }\n & g {\n fill: ",";\n }\n"]);t.DefaultImage=o;var y=n(11),_=r(y),C=n(19),k=r(C),O=n(20),E=n(24),S=k.default.g(x,(0,O.themed)({light:O.colors.N50,dark:O.colors.DN100}),O.colors.background),M={},I=(t.clearCache=function(){M={}},function(e){function t(){var n,r,o;(0,d.default)(this,t);for(var a=arguments.length,l=Array(a),i=0;i<a;i++)l[i]=arguments[i];return n=r=(0,f.default)(this,e.call.apply(e,[this].concat(l))),r.state={hasError:!1,isLoading:!!r.props.src},r.loadImage=function(){r._img=new Image,r._img.onload=r.handleLoadSuccess,r._img.onerror=r.handleLoadError,r._img.src=r.props.src},r.handleLoad=function(e){r._isMounted&&r.setState({hasError:e,isLoading:!1})},r.handleLoadSuccess=function(){"string"==typeof r.props.src&&(M[r.props.src]=!0),r.handleLoad(!1)},r.handleLoadError=function(){return r.handleLoad(!0)},o=n,(0,f.default)(r,o)}return(0,m.default)(t,e),t.prototype.componentDidMount=function(){this._isMounted=!0,this.loadImage()},t.prototype.componentWillReceiveProps=function(e){e.src&&this.props.src!==e.src&&this.setState({isLoading:!0})},t.prototype.componentDidUpdate=function(e){this.props.src&&this.props.src!==e.src&&this.loadImage()},t.prototype.componentWillUnmount=function(){this._isMounted=!1},t.prototype.render=function(){var e=this.props,t=e.alt,n=e.src,r=(0,u.default)(e,["alt","src"]),a=this.state,i=a.hasError,s=a.isLoading,d=!s&&(!n||i),c=!n||s&&!M[n]?null:{backgroundImage:"url("+n+")"};return d?_.default.createElement(o,{appearance:r.appearance,size:r.size,title:t}):_.default.createElement(E.Span,(0,l.default)({"aria-label":t,isLoading:s,role:"img",style:c,title:t},r))},t}(y.PureComponent));I.propTypes={alt:b.default.string,appearance:b.default.oneOf(["circle","square"]).isRequired,src:b.default.string,size:b.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]).isRequired},t.default=I},function(e,t){e.exports=require("babel-runtime/helpers/objectWithoutProperties")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Svg=t.Span=void 0;var o=n(3),a=r(o),l=n(23),i=r(l),u=n(11),s=r(u),d=n(20),c=n(25),f=function(e){var t=e.isLoading;return t?(0,d.themed)({light:d.colors.N40,dark:d.colors.DN50}):"transparent"},p=function(e){var t=e.children,n=e.style,r=(e.isLoading,e.appearance,(0,i.default)(e,["children","style","isLoading","appearance"]));return s.default.createElement("span",(0,a.default)({style:(0,a.default)({backgroundColor:f(r),backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover",borderRadius:(0,c.getBorderRadius)(r),display:"flex",flex:1,height:"100%",width:"100%"},n)},r),t)};t.Span=p;var m=function(e){var t=e.children,n=(e.appearance,(0,i.default)(e,["children","appearance"]));return s.default.createElement("svg",(0,a.default)({style:{backgroundColor:f(n),borderRadius:(0,c.getBorderRadius)(n),height:"100%",width:"100%"}},n),t)};t.Svg=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{includeBorderWidth:!1},n=t.includeBorderWidth?f.BORDER_WIDTH[e.size]:0;return"circle"===e.appearance?"50%":f.AVATAR_RADIUS[e.size]+n+"px"}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{includeBorderWidth:!1,sizeOnly:!1},n=t.includeBorderWidth?2*f.BORDER_WIDTH[e.size]:0,r=f.AVATAR_SIZES[e.size]+n;return t.sizeOnly?r:"\n height: "+r+"px;\n width: "+r+"px;\n "}function l(e){var t="content-box",n=f.BORDER_WIDTH[e.size]+"px",r=Boolean(e.isInteractive||e.href||e.onClick),l=e.borderColor||c.colors.background,i="default",u="none",b=m,x=0,y="auto",_="static",C="translateZ(0)",k="0s";return r&&(e.isActive||e.isHover)&&(b=h,x=1),r&&e.isActive&&(C="scale(0.9)"),r&&e.isFocus&&!e.isActive&&(u="none",l=p,k=f.TRANSITION_DURATION),e.isDisabled&&(i="not-allowed",b=v,x=1,y="none"),r&&(i="pointer"),e.isSelected&&(b=g,x=1),e.stackIndex&&(_="relative"),(0,d.css)(s,a,l,o(e,{includeBorderWidth:!0}),n,t,i,u,y,_,C,k,b,o,n,n,x,n,n,f.TRANSITION_DURATION)}Object.defineProperty(t,"__esModule",{value:!0}),t.getSize=void 0;var i=n(18),u=r(i),s=(0,u.default)(["\n ",";\n align-items: stretch;\n background-color: ",";\n border: 0;\n border-radius: ",";\n padding: ",";\n box-sizing: ",";\n cursor: ",";\n display: flex;\n flex-direction: column;\n justify-content: center;\n outline: ",";\n overflow: hidden;\n pointer-events: ",";\n position: ",";\n transform: ",";\n transition: background-color "," ease-out;\n\n a &, button & {\n cursor: pointer;\n }\n\n &::after {\n background-color: ",";\n border-radius: ",";\n bottom: ",';\n content: " ";\n left: ',";\n opacity: ",";\n pointer-events: none;\n position: absolute;\n right: ",";\n top: ",";\n transition: opacity ",";\n }\n\n &::-moz-focus-inner {\n border: 0;\n margin: 0;\n padding: 0;\n }\n "],["\n ",";\n align-items: stretch;\n background-color: ",";\n border: 0;\n border-radius: ",";\n padding: ",";\n box-sizing: ",";\n cursor: ",";\n display: flex;\n flex-direction: column;\n justify-content: center;\n outline: ",";\n overflow: hidden;\n pointer-events: ",";\n position: ",";\n transform: ",";\n transition: background-color "," ease-out;\n\n a &, button & {\n cursor: pointer;\n }\n\n &::after {\n background-color: ",";\n border-radius: ",";\n bottom: ",';\n content: " ";\n left: ',";\n opacity: ",";\n pointer-events: none;\n position: absolute;\n right: ",";\n top: ",";\n transition: opacity ",";\n }\n\n &::-moz-focus-inner {\n border: 0;\n margin: 0;\n padding: 0;\n }\n "]);t.getBorderRadius=o,t.getAvatarDimensions=a,t.getInnerStyles=l;var d=n(19),c=n(20),f=n(14),p=c.colors.B200,m="transparent",h=c.colors.N70A,g=c.colors.N200A,v=(0,c.themed)({light:"rgba(255, 255, 255, 0.7)",dark:c.colors.DN80A});t.getSize=function(e){return f.AVATAR_SIZES[e.size]}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),l=n(7),i=r(l),u=n(8),s=r(u),d=n(9),c=r(d),f=n(11),p=r(f),m=n(17),h=n(27),g=r(h),v=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.borderColor,n=e.children,r=e.status,o=e.size;return p.default.createElement(m.Outer,{size:o,bgColor:t},n||r&&(0,g.default)(r))},t}(f.PureComponent);v.propTypes={borderColor:c.default.oneOfType([c.default.string,c.default.func]),children:c.default.any,status:c.default.oneOf(["approved","declined","locked"]),size:c.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"])},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){switch(e){case"approved":return c.default.createElement(h,null,c.default.createElement(g,{cx:"4",cy:"4",r:"4"}),c.default.createElement(v,{d:"M2.47140452,3.52859548 C2.21105499,3.26824595 1.78894501,3.26824595 1.52859548,3.52859548 C1.26824595,3.78894501 1.26824595,4.21105499 1.52859548,4.47140452 L2.86192881,5.80473785 C3.12227834,6.06508738 3.54438833,6.06508738 3.80473785,5.80473785 L6.47140452,3.13807119 C6.73175405,2.87772166 6.73175405,2.45561167 6.47140452,2.19526215 C6.21105499,1.93491262 5.78894501,1.93491262 5.52859548,2.19526215 L3.33333333,4.39052429 L2.47140452,3.52859548 Z"}));case"declined":return c.default.createElement(h,null,c.default.createElement(b,{cx:"4",cy:"4",r:"4"}),c.default.createElement(x,{d:"M4.890661,4.0088336 L5.81806461,3.07802178 C6.06167933,2.83351177 6.06048933,2.43826992 5.81540668,2.19522442 C5.57032402,1.95217891 5.17415651,1.95336612 4.93054179,2.19787613 L4.00765946,3.12415007 L3.06906871,2.18377143 C2.82523777,1.93947602 2.42906937,1.93863765 2.18420182,2.18189887 C1.93933427,2.42516008 1.93849394,2.82040282 2.18232488,3.06469822 L3.12544091,4.00961077 L2.20275024,4.93569234 C1.95913552,5.18020236 1.96032551,5.5754442 2.20540817,5.81848971 C2.45049083,6.06153521 2.84665833,6.060348 3.09027306,5.81583799 L4.00844245,4.89429431 L4.9092123,5.79678001 C5.15304324,6.04107541 5.54921164,6.04191379 5.79407919,5.79865257 C6.03894674,5.55539135 6.03978708,5.16014862 5.79595614,4.91585321 L4.890661,4.0088336 Z"}));case"locked":return c.default.createElement(h,null,c.default.createElement(y,{cx:"4",cy:"4",r:"4"}),c.default.createElement(_,{d:"M4.13074827,1.21766493 L4.10368158,1.21766493 C3.36340745,1.21766493 2.76388015,1.80793503 2.76388015,2.5367787 L2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,2.54344089 C3.44054754,2.17901906 3.74031119,1.88388401 4.11044825,1.88388401 L4.1239816,1.88388401 C4.49411866,1.88388401 4.79388232,2.17901906 4.79388232,2.54344089 L4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,2.5367787 C5.47054971,1.80793503 4.8710224,1.21766493 4.13074827,1.21766493 M2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,3.88254123 L2.76388015,3.88254123 L2.76388015,3.21632216 Z M4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,3.88254123 L4.79388232,3.88254123 L4.79388232,3.21632216 Z M4.79401765,3.88254123 L3.44068287,3.88254123 L2.76401548,3.88254123 C2.39049508,3.88254123 2.08734809,4.18100738 2.08734809,4.54876031 L2.08734809,5.54808892 C2.08734809,6.10000287 2.53735205,6.54741753 3.09094491,6.54741753 L5.14375561,6.54741753 C5.69802683,6.54741753 6.14735243,6.10385072 6.14735243,5.54808892 L6.14735243,4.54876031 C6.14735243,4.18100738 5.84420544,3.88254123 5.47068504,3.88254123 L4.79401765,3.88254123 Z"}));default:return null}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(18),l=r(a),i=n(3),u=r(i),s=(0,l.default)(["\n fill: ",";\n"],["\n fill: ",";\n"]);t.default=o;var d=n(11),c=r(d),f=n(19),p=r(f),m=n(20),h=function(e){return c.default.createElement("svg",(0,u.default)({height:"100%",version:"1.1",viewBox:"0 0 8 8",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e))},g=p.default.circle(s,(0,m.themed)({light:m.colors.G400,dark:m.colors.G300})),v=p.default.path(s,m.colors.background),b=p.default.circle(s,(0,m.themed)({light:m.colors.R400,dark:m.colors.R300})),x=p.default.path(s,m.colors.background),y=p.default.circle(s,(0,m.themed)({light:m.colors.N40,dark:m.colors.DN800})),_=p.default.path(s,(0,m.themed)({light:m.colors.N500,dark:m.colors.DN30}))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.StatusWrapper=t.PresenceWrapper=t.Inner=void 0;var o=n(18),a=r(o),l=n(3),i=r(l),u=n(23),s=r(u),d=(0,a.default)(["\n ","\n"],["\n ","\n"]),c=n(11),f=r(c),p=n(19),m=r(p),h=n(14),g=n(25);t.default=function(e){var t=e.children,n=(0,s.default)(e,["children"]),r=(0,g.getAvatarDimensions)(n,{includeBorderWidth:!0,sizeOnly:!0})+"px";return f.default.createElement("div",{style:(0,i.default)({display:"inline-block",position:"relative",outline:0,width:r,height:r},n.stackIndex?{zIndex:n.stackIndex}:{})},t)};var v=(t.Inner=m.default.div(d,g.getInnerStyles),function(e){var t=e.appearance,n=e.size,r="square"===t?-(2*h.BORDER_WIDTH[n]):h.ICON_OFFSET[n],o=h.ICON_SIZES[n];return{bottom:r+"px",height:o+"px",right:r+"px",width:o+"px"}}),b=function(e){var t=e.children,n=(0,s.default)(e,["children"]);return f.default.createElement("span",{style:(0,i.default)({pointerEvents:"none",position:"absolute"},v(n))},t)};t.PresenceWrapper=b;var x=function(e){var t=e.appearance,n=e.size,r="square"===t?h.SQUARE_ICON_OFFSET[n]:h.ICON_OFFSET[n],o=h.ICON_SIZES[n];return{height:o+"px",right:r+"px",top:r+"px",width:o+"px"}},y=function(e){var t=e.children,n=(0,s.default)(e,["children"]);return f.default.createElement("span",{style:(0,i.default)({position:"absolute"},x(n))},t)};t.StatusWrapper=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),a=r(o),l=(0,a.default)(["translateY(","px) translateX(-50%)"],["translateY(","px) translateX(-50%)"]),i=(0,a.default)(["\n animation: "," 0.6s 0.1s backwards;\n background-color: ",";\n border-radius: ",";\n box-sizing: border-box;\n color: ",";\n font-size: ","px;\n left: 50%;\n line-height: ",";\n margin-top: ","px;\n max-width: ","px;\n overflow: hidden;\n padding: ","px ","px;\n pointer-events: none;\n position: absolute;\n text-overflow: ellipsis;\n transform: translateX(-50%);\n white-space: nowrap;\n z-index: 1;\n"],["\n animation: "," 0.6s 0.1s backwards;\n background-color: ",";\n border-radius: ",";\n box-sizing: border-box;\n color: ",";\n font-size: ","px;\n left: 50%;\n line-height: ",";\n margin-top: ","px;\n max-width: ","px;\n overflow: hidden;\n padding: ","px ","px;\n pointer-events: none;\n position: absolute;\n text-overflow: ellipsis;\n transform: translateX(-50%);\n white-space: nowrap;\n z-index: 1;\n"]),u=(0,a.default)(["",""],["",""]),s=n(19),d=r(s),c=n(15),f=n(20),p=c.akAnimationMixins.createBold,m=c.akAnimationMixins.interpolate,h=c.akGridSizeUnitless/2,g=3*h,v=4*h/g,b=105*h,x=2*h,y={property:"transform",value:m(l,function(e){return e}),deltas:[{from:-x,to:0}]},_={property:"opacity",deltas:[{from:0,to:1}]},C=(0,f.themed)({light:f.colors.N800,dark:f.colors.DN0}),k=(0,f.themed)({light:f.colors.N0,dark:f.colors.DN600}),O=d.default.div(i,(0,s.keyframes)(u,p([y,_])),C,c.akBorderRadius,k,g,v,h,b,h/2,2*h);t.default=O},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(0,i.default)(e).reduce(function(t,r){return n.indexOf(r)===-1&&(t[r]=e[r]),t},{})}function a(e,t){var n=t.displayName||t.name;return n?e+"("+n+")":e}Object.defineProperty(t,"__esModule",{value:!0});var l=n(13),i=r(l);t.omit=o,t.getDisplayName=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(21);Object.defineProperty(t,"getPresenceSVG",{enumerable:!0,get:function(){return r(o).default}});var a=n(32);Object.defineProperty(t,"getProps",{enumerable:!0,get:function(){return r(a).default}});var l=n(27);Object.defineProperty(t,"getStatusSVG",{enumerable:!0,get:function(){return r(l).default}});var i=n(33);Object.defineProperty(t,"getStyledAvatar",{enumerable:!0,get:function(){return r(i).default}});var u=n(36);Object.defineProperty(t,"getStyledAvatarItem",{enumerable:!0,get:function(){return r(u).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.props,n=(0,l.default)({},i(t),u(t));return t.component?(0,l.default)({},n,t):t.href?t.isDisabled?n:(0,l.default)({},n,s(t)):t.onClick?(0,l.default)({},n,d(t)):n}Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),l=r(a);t.default=o;var i=function(e){var t=e.appearance,n=e.borderColor,r=e.groupAppearance,o=e.isActive,a=e.isDisabled,l=e.isFocus,i=e.isHover,u=e.isSelected,s=e.size,d=e.stackIndex;return{appearance:t,borderColor:n,groupAppearance:r,isActive:o,isDisabled:a,isFocus:l,isHover:i,isSelected:u,size:s,stackIndex:d}},u=function(e){var t=e.onBlur,n=e.onClick,r=e.onFocus,o=e.onKeyDown,a=e.onKeyUp,l=e.onMouseDown,i=e.onMouseEnter,u=e.onMouseLeave,s=e.onMouseUp,d=e.tabIndex;return{onBlur:t,onClick:n,onFocus:r,onKeyDown:o,onKeyUp:a,onMouseDown:l,onMouseEnter:i,onMouseLeave:u,onMouseUp:s,tabIndex:d}},s=function(e){var t=e.href,n=e.target,r="_blank"===n?"noopener noreferrer":null;return{href:t,rel:r,target:n}},d=function(e){var t=e.id,n=e.isDisabled;return{id:t,type:"button",disabled:n}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(34),a=r(o),l=n(25);t.default=(0,a.default)(l.getInnerStyles)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),a=r(o),l=(0,a.default)(["&,&:hover,&:active,&:focus{","}"],["&,&:hover,&:active,&:focus{","}"]),i=(0,a.default)(["",""],["",""]),u=(0,a.default)(["a&{ "," }"],["a&{ "," }"]),s=n(19),d=r(s),c=n(35),f=r(c);t.default=function(e){var t=(0,d.default)(f.default)(l,e),n=d.default.button(i,e),r=d.default.a(u,e),o=d.default.span(i,e);return function(e){var a=e.component,l=e.href,i=e.onClick;return a?t:l?r:i?n:o}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(e.appearance,e.avatar,e.borderColor,e.component),n=(e.enableTooltip,e.groupAppearance,e.innerRef,e.isActive,e.isDisabled,e.isFocus,e.isHover,e.isSelected,e.primaryText,e.secondaryText,e.stackIndex,(0,l.default)(e,["appearance","avatar","borderColor","component","enableTooltip","groupAppearance","innerRef","isActive","isDisabled","isFocus","isHover","isSelected","primaryText","secondaryText","stackIndex"]));return u.default.createElement(t,n)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(23),l=r(a);t.default=o;var i=n(11),u=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(34),a=r(o),l=n(37);t.default=(0,a.default)(l.getStyles)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.href,n=e.isActive,r=e.isHover,o=e.isSelected,a=e.onClick,l=t||a,i=g.colors.background;return l&&(r||o)&&(i=b),l&&n&&(i=v),i}function a(e){var t=e.href,n=e.isActive,r=e.isDisabled,a=e.isFocus,l=e.onClick,i=t||l,s="transparent",d="auto",c=1,f="none",p="auto";return i&&a&&!n&&(f="none",s=x),r&&(d="not-allowed",c=.75,p="none"),i&&(d="pointer"),(0,m.css)(u,o,g.borderRadius,s,d,c,f,g.math.divide(g.gridSize,2),p)}Object.defineProperty(t,"__esModule",{value:!0}),t.SecondaryText=t.PrimaryText=t.Content=void 0;var l=n(18),i=r(l),u=(0,i.default)(["\n align-items: center;\n background-color: ",";\n border-radius: ","px;\n border: 2px solid ",";\n box-sizing: content-box;\n color: inherit;\n cursor: ",";\n display: flex;\n font-size: inherit;\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n opacity: ",";\n outline: ",";\n margin: 0;\n padding: ","px;\n pointer-events: ",";\n text-align: left;\n text-decoration: none;\n width: 100%;\n "],["\n align-items: center;\n background-color: ",";\n border-radius: ","px;\n border: 2px solid ",";\n box-sizing: content-box;\n color: inherit;\n cursor: ",";\n display: flex;\n font-size: inherit;\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n opacity: ",";\n outline: ",";\n margin: 0;\n padding: ","px;\n pointer-events: ",";\n text-align: left;\n text-decoration: none;\n width: 100%;\n "]),s=(0, | ||
i.default)(["\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"],["\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"]),d=(0,i.default)(["\n max-width: 100%;\n min-width: 0;\n"],["\n max-width: 100%;\n min-width: 0;\n"]),c=(0,i.default)(["\n ","\n flex: 1;\n line-height: 1.4;\n padding-left: ","px;\n"],["\n ","\n flex: 1;\n line-height: 1.4;\n padding-left: ","px;\n"]),f=(0,i.default)(["\n ","\n color: ",";\n"],["\n ","\n color: ",";\n"]),p=(0,i.default)(["\n ","\n color: ",";\n font-size: 0.85em;\n"],["\n ","\n color: ",";\n font-size: 0.85em;\n"]);t.getBackgroundColor=o,t.getStyles=a;var m=n(19),h=r(m),g=n(20),v=(0,g.themed)({light:g.colors.B50,dark:g.colors.DN40}),b=(0,g.themed)({light:g.colors.N30,dark:g.colors.DN50}),x=(0,g.themed)({light:g.colors.B200,dark:g.colors.B75}),y=function(e){return e.truncate&&(0,m.css)(s)},_=function(e){return e.truncate&&(0,m.css)(d)};t.Content=h.default.div(c,_,g.gridSize),t.PrimaryText=h.default.div(f,y,g.colors.text),t.SecondaryText=h.default.div(p,y,g.colors.subtleText)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(39);Object.defineProperty(t,"mapProps",{enumerable:!0,get:function(){return r(o).default}});var a=n(41);Object.defineProperty(t,"withPseudoState",{enumerable:!0,get:function(){return r(a).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t){var n,r;return r=n=function(n){function r(){var e,t,o;(0,f.default)(this,r);for(var a=arguments.length,l=Array(a),i=0;i<a;i++)l[i]=arguments[i];return e=t=(0,m.default)(this,n.call.apply(n,[this].concat(l))),t.blur=function(e){t.component.blur&&t.component.blur(e)},t.focus=function(e){t.component.focus&&t.component.focus(e)},o=e,(0,m.default)(t,o)}return(0,g.default)(r,n),r.prototype.render=function(){var n=this,r=(0,d.default)({},this.props,(0,u.default)(e).reduce(function(t,r){return(0,d.default)({},t,(0,l.default)({},r,e[r](n.props)))},{}));return b.default.createElement(t,(0,d.default)({ref:function(e){return n.component=e}},r))},r}(v.Component),n.displayName=(0,x.getDisplayName)("mapProps",t),n.DecoratedComponent=t,r}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(40),l=r(a),i=n(13),u=r(i),s=n(3),d=r(s),c=n(6),f=r(c),p=n(7),m=r(p),h=n(8),g=r(h);t.default=o;var v=n(11),b=r(v),x=n(30)},function(e,t){e.exports=require("babel-runtime/helpers/defineProperty")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.href,n=e.isActive,r=e.isFocus,o=e.isHover,a=e.isInteractive,l=e.onClick;return{isActive:n,isFocus:r,isHover:o,isInteractive:!!(t||a||l)}}function a(e){var t,n,r;return n=t=function(t){function n(){var e,o,a;(0,s.default)(this,n);for(var l=arguments.length,i=Array(l),u=0;u<l;u++)i[u]=arguments[u];return e=o=(0,c.default)(this,t.call.apply(t,[this].concat(i))),r.call(o),a=e,(0,c.default)(o,a)}return(0,p.default)(n,t),n.prototype.componentWillMount=function(){var e=this.props,t=e.href,n=e.isInteractive,r=e.onClick;(t||n||r)&&(this.actionKeys=r||n?["Enter"," "]:["Enter"])},n.prototype.render=function(){var t=this,n=this.getProps();return h.default.createElement(e,(0,i.default)({ref:function(e){return t.component=e}},this.state,n))},n}(m.Component),t.displayName=(0,g.getDisplayName)("withPseudoState",e),r=function(){var e=this;this.state=o(this.props),this.blur=function(t){e.component.blur&&e.component.blur(t)},this.focus=function(t){e.component.focus&&e.component.focus(t)},this.onBlur=function(){return e.setState({isActive:!1,isFocus:!1})},this.onFocus=function(){return e.setState({isFocus:!0})},this.onMouseLeave=function(){return e.setState({isActive:!1,isHover:!1})},this.onMouseEnter=function(){return e.setState({isHover:!0})},this.onMouseUp=function(){return e.setState({isActive:!1})},this.onMouseDown=function(){return e.setState({isActive:!0})},this.onKeyDown=function(t){e.actionKeys.includes(t.key)&&e.setState({isActive:!0})},this.onKeyUp=function(t){e.actionKeys.includes(t.key)&&e.setState({isActive:!1})},this.getProps=function(){var t=e.state.isInteractive,n=g.omit.apply(void 0,[e.props].concat(v)),r=e;return t&&v.forEach(function(t){e.props[t]?n[t]=function(){var n;r[t].apply(r,arguments),(n=e.props)[t].apply(n,arguments)}:n[t]=r[t]}),n}},n}Object.defineProperty(t,"__esModule",{value:!0});var l=n(3),i=r(l),u=n(6),s=r(u),d=n(7),c=r(d),f=n(8),p=r(f);t.default=a;var m=n(11),h=r(m),g=n(30),v=["onBlur","onFocus","onKeyDown","onKeyUp","onMouseDown","onMouseEnter","onMouseLeave","onMouseUp"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),l=n(6),i=r(l),u=n(7),s=r(u),d=n(8),c=r(d),f=n(43),p=r(f),m=n(9),h=r(m),g=n(11),v=r(g),b=n(44),x=r(b),y=n(2),_=r(y),C=n(45),k=n(46),O=r(k),E={grid:C.Grid,stack:C.Stack},S={grid:11,stack:5},M=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,c.default)(t,e),t.prototype.renderMoreDropdown=function(e,t){var n=this.props,r=n.appearance,o=n.data,l=n.borderColor,i=n.onMoreClick,u=n.onAvatarClick,s=n.size,d=n.boundariesElement;if(t<=e)return null;var c=function(n){return v.default.createElement(O.default,(0,a.default)({borderColor:l,count:t-e,isInteractive:!0,isStack:"stack"===r,size:s},n))};if("function"==typeof i)return v.default.createElement(c,{onClick:i});var f=o.slice(e).map(function(e){return{content:e.name,elemBefore:v.default.createElement(_.default,(0,a.default)({},e,{size:"small",borderColor:"transparent"})),href:e.href,rel:e.target?"noopener noreferrer":null,target:e.target}});return v.default.createElement(x.default,{items:[{items:f}],onItemActivated:u,position:"bottom right",boundariesElement:d,shouldFlip:!0},v.default.createElement(c,null))},t.prototype.render=function(){var e=this.props,t=e.avatar,n=e.appearance,r=e.borderColor,o=e.data,l=e.maxCount,i=e.onAvatarClick,u=e.size,s=0===l?S[n]:l,d=o.length,c=E[n],f=d>s?s-1:s,p=o.slice(0,f).map(function(e,o){return v.default.createElement(t,(0,a.default)({},e,{borderColor:r,groupAppearance:n,index:o,key:o,onClick:e.onClick||i,size:u,stackIndex:s-o}))});return v.default.createElement(c,{size:u},p,this.renderMoreDropdown(+f,d))},t}(g.Component);M.propTypes={appearance:h.default.oneOf(["grid","stack"]).isRequired,avatar:h.default.any.isRequired,borderColor:h.default.string,data:h.default.arrayOf((0,p.default)(h.default.shape({appearance:h.default.oneOf(["circle","square"]),borderColor:h.default.oneOfType([h.default.string,h.default.func]),component:h.default.any,enableTooltip:h.default.bool,href:h.default.string,isActive:h.default.bool,isDisabled:h.default.bool,isFocus:h.default.bool,isHover:h.default.bool,isSelected:h.default.bool,name:h.default.string,presence:h.default.oneOfType([h.default.oneOf(["online","busy","focus","offline"]),h.default.any]),size:h.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]).isRequired,src:h.default.string,status:h.default.oneOf(["approved","declined","locked"]),stackIndex:h.default.number,tabIndex:h.default.number,target:h.default.oneOf(["_blank","_self","_top","_parent"])}),h.default.shape({onClick:h.default.func}))).isRequired,maxCount:h.default.number.isRequired,onAvatarClick:h.default.func,onMoreClick:h.default.func,size:h.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]),boundariesElement:h.default.oneOf(["viewport","window","scrollParent"])},M.defaultProps={appearance:"stack",avatar:_.default,maxCount:0,size:"medium"},t.default=M},function(e,t){e.exports=require("prop-types-extra/lib/all")},function(e,t){e.exports=require("@atlaskit/dropdown-menu")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Stack=t.Grid=void 0;var o=n(18),a=r(o),l=(0,a.default)(["\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n line-height: 1;\n margin-left: -",";\n margin-right: -",";\n\n > * {\n margin-bottom: ",";\n padding-left: ",";\n padding-right: ",";\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n line-height: 1;\n margin-left: -",";\n margin-right: -",";\n\n > * {\n margin-bottom: ",";\n padding-left: ",";\n padding-right: ",";\n }\n"]),i=(0,a.default)(["\n display: flex;\n line-height: 1;\n\n > * {\n margin-right: -","px;\n }\n"],["\n display: flex;\n line-height: 1;\n\n > * {\n margin-right: -","px;\n }\n"]),u=n(19),s=r(u),d=n(15),c=n(14),f=d.akGridSizeUnitless/2,p=f+"px";t.Grid=s.default.div(l,p,p,d.akGridSize,p,p),t.Stack=s.default.div(i,function(e){return 2*c.BORDER_WIDTH[e.size]+f})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),l=n(6),i=r(l),u=n(7),s=r(u),d=n(8),c=r(d),f=n(9),p=r(f),m=n(11),h=r(m),g=n(47),v=n(38),b=n(31),x=99,y=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,c.default)(t,e),t.prototype.render=function(){var e=this.props.count,t=(0,b.getProps)(this),n=this.props,r=n.appearance,o=n.isActive,l=n.isFocus,i=n.isHover,u=n.size,s={appearance:r,isActive:o,isFocus:l,isHover:i,size:u},d=e>x?x:e;return h.default.createElement(g.Outer,(0,a.default)({},t,{isInteractive:!0}),h.default.createElement(g.Inner,s,"+",d))},t}(m.Component);y.propTypes={borderColor:p.default.string,count:p.default.number.isRequired,isStack:p.default.bool,onClick:p.default.func,size:p.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]),appearance:p.default.string,isActive:p.default.bool,isFocus:p.default.bool,isHover:p.default.bool},y.defaultProps={appearance:"circle"},t.default=(0,v.withPseudoState)(y)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Inner=t.Outer=void 0;var o=n(18),a=r(o),l=(0,a.default)(["\n ","\n background: 0;\n"],["\n ","\n background: 0;\n"]),i=(0,a.default)(["\n background-color: ",";\n border-radius: ",";\n align-items: center;\n box-shadow: 0 0 0 "," ",";\n color: ",";\n cursor: pointer;\n display: flex;\n flex-basis: 100%;\n flex-grow: 1;\n font-size: ","px;\n justify-content: center;\n transition: box-shadow 200ms;\n"],["\n background-color: ",";\n border-radius: ",";\n align-items: center;\n box-shadow: 0 0 0 "," ",";\n color: ",";\n cursor: pointer;\n display: flex;\n flex-basis: 100%;\n flex-grow: 1;\n font-size: ","px;\n justify-content: center;\n transition: box-shadow 200ms;\n"]),u=n(19),s=r(u),d=n(20),c=n(25),f=n(14),p=function(e){return e.isFocus&&!e.isActive?f.BORDER_WIDTH[e.size]+"px":0};t.Outer=s.default.button(l,c.getInnerStyles),t.Inner=s.default.span(i,(0,d.themed)({light:d.colors.N40,dark:d.colors.DN70}),c.getBorderRadius,p,d.colors.B200,(0,d.themed)({light:d.colors.N500,dark:d.colors.DN400}),function(e){return f.EXCESS_INDICATOR_FONT_SIZE[e.size]})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),l=n(5),i=r(l),u=n(6),s=r(u),d=n(7),c=r(d),f=n(8),p=r(f),m=n(9),h=r(m),g=n(11),v=r(g),b=n(12),x=n(30),y=n(37),_=n(31),C=n(38),k=function(e){function t(){var n,r,o;(0,s.default)(this,t);for(var a=arguments.length,l=Array(a),u=0;u<a;u++)l[u]=arguments[u];return n=r=(0,c.default)(this,e.call.apply(e,[this].concat(l))),r.blur=function(e){r.node.blur&&r.node.blur(e)},r.focus=function(e){r.node.focus&&r.node.focus(e)},r.guardedClick=function(e){var t=r.props,n=t.isDisabled,o=t.onClick;if(!n&&"function"==typeof o){var a=x.omit.apply(void 0,[r.props].concat((0,i.default)(b.propsOmittedFromClickData)));o({item:a,event:e})}},o=n,(0,c.default)(r,o)}return(0,p.default)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.avatar,r=t.enableTextTruncate,o=t.onClick,l=t.primaryText,i=t.secondaryText,u=(0,y.getBackgroundColor)(this.props),s=(0,_.getProps)(this),d=(0,_.getStyledAvatarItem)(this.props);return s.onClick=o&&this.guardedClick,v.default.createElement(d,(0,a.default)({innerRef:function(t){return e.node=t}},s),(0,g.cloneElement)(n,{borderColor:u}),v.default.createElement(y.Content,{truncate:r},v.default.createElement(y.PrimaryText,{truncate:r},l),v.default.createElement(y.SecondaryText,{truncate:r},i)))},t}(g.Component);k.propTypes={avatar:h.default.any.isRequired,component:h.default.any,href:h.default.string,isActive:h.default.bool,isDisabled:h.default.bool,isFocus:h.default.bool,isHover:h.default.bool,isSelected:h.default.bool,onClick:h.default.func,primaryText:h.default.string,secondaryText:h.default.string,target:h.default.oneOf(["_blank","_self","_top","_parent"]),enableTextTruncate:h.default.bool},k.defaultProps={enableTextTruncate:!0},t.default=(0,C.withPseudoState)(k)}]); |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-runtime/helpers/extends"),require("babel-runtime/helpers/typeof"),require("babel-runtime/helpers/toConsumableArray"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("prop-types"),require("@atlaskit/polyfills/array-prototype-includes"),require("react"),require("babel-runtime/core-js/object/keys"),require("@atlaskit/util-shared-styles"),require("babel-runtime/helpers/taggedTemplateLiteral"),require("styled-components"),require("@atlaskit/theme"),require("babel-runtime/helpers/objectWithoutProperties"),require("babel-runtime/helpers/defineProperty"),require("prop-types-extra/lib/all"),require("@atlaskit/dropdown-menu")):"function"==typeof define&&define.amd?define(["babel-runtime/helpers/extends","babel-runtime/helpers/typeof","babel-runtime/helpers/toConsumableArray","babel-runtime/helpers/classCallCheck","babel-runtime/helpers/possibleConstructorReturn","babel-runtime/helpers/inherits","prop-types","@atlaskit/polyfills/array-prototype-includes","react","babel-runtime/core-js/object/keys","@atlaskit/util-shared-styles","babel-runtime/helpers/taggedTemplateLiteral","styled-components","@atlaskit/theme","babel-runtime/helpers/objectWithoutProperties","babel-runtime/helpers/defineProperty","prop-types-extra/lib/all","@atlaskit/dropdown-menu"],t):"object"==typeof exports?exports["@atlaskit/avatar"]=t(require("babel-runtime/helpers/extends"),require("babel-runtime/helpers/typeof"),require("babel-runtime/helpers/toConsumableArray"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("prop-types"),require("@atlaskit/polyfills/array-prototype-includes"),require("react"),require("babel-runtime/core-js/object/keys"),require("@atlaskit/util-shared-styles"),require("babel-runtime/helpers/taggedTemplateLiteral"),require("styled-components"),require("@atlaskit/theme"),require("babel-runtime/helpers/objectWithoutProperties"),require("babel-runtime/helpers/defineProperty"),require("prop-types-extra/lib/all"),require("@atlaskit/dropdown-menu")):e["@atlaskit/avatar"]=t(e["babel-runtime/helpers/extends"],e["babel-runtime/helpers/typeof"],e["babel-runtime/helpers/toConsumableArray"],e["babel-runtime/helpers/classCallCheck"],e["babel-runtime/helpers/possibleConstructorReturn"],e["babel-runtime/helpers/inherits"],e["prop-types"],e["@atlaskit/polyfills/array-prototype-includes"],e.react,e["babel-runtime/core-js/object/keys"],e["@atlaskit/util-shared-styles"],e["babel-runtime/helpers/taggedTemplateLiteral"],e["styled-components"],e["@atlaskit/theme"],e["babel-runtime/helpers/objectWithoutProperties"],e["babel-runtime/helpers/defineProperty"],e["prop-types-extra/lib/all"],e["@atlaskit/dropdown-menu"])}(this,function(e,t,n,r,o,a,l,i,u,s,d,c,f,p,m,b,h,g){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(o).default}});var a=n(39);Object.defineProperty(t,"AvatarGroup",{enumerable:!0,get:function(){return r(a).default}});var l=n(45);Object.defineProperty(t,"AvatarItem",{enumerable:!0,get:function(){return r(l).default}});var i=n(16);Object.defineProperty(t,"Presence",{enumerable:!0,get:function(){return r(i).default}});var u=n(26);Object.defineProperty(t,"Status",{enumerable:!0,get:function(){return r(u).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AvatarDefaultProps=void 0;var o=n(3),a=r(o),l=n(4),i=r(l),u=n(5),s=r(u),d=n(6),c=r(d),f=n(7),p=r(f),m=n(8),b=r(m),h=n(9),g=r(h);n(10);var v=n(11),y=r(v),x=n(12),C=n(16),k=r(C),_=n(22),S=r(_),O=n(26),E=r(O),M=n(28),w=r(M),I=n(25),A=n(29),T=r(A),z=n(30),L=n(31),D=n(35),P=t.AvatarDefaultProps={appearance:"circle",enableTooltip:!0,size:"medium"},R=function(e){function t(){var n,r,o;(0,c.default)(this,t);for(var a=arguments.length,l=Array(a),u=0;u<a;u++)l[u]=arguments[u];return n=r=(0,p.default)(this,e.call.apply(e,[this].concat(l))),r.cache={},r.blur=function(e){r.node.blur&&r.node.blur(e)},r.focus=function(e){r.node.focus&&r.node.focus(e)},r.guardedClick=function(e){var t=r.props,n=t.isDisabled,o=t.onClick;if(!n&&"function"==typeof o){var a=z.omit.apply(void 0,[r.props].concat((0,s.default)(x.propsOmittedFromClickData)));o({item:a,event:e})}},r.renderIcon=function(){var e=r.props,t=e.appearance,n=e.borderColor,o=e.presence,a=e.size,l=e.status,u=!!o,s=!!l;if(!x.validIconSizes.includes(a)&&(u||s))return console.warn('Avatar size "'+String(a)+'" does NOT support '+(u?"presence":"status")),null;if(u&&s)return console.warn("Avatar supports `presence` OR `status` properties, not both."),null;var d=void 0;if(u){var c="object"===("undefined"==typeof o?"undefined":(0,i.default)(o))?o:null;d=y.default.createElement(M.PresenceWrapper,{appearance:t,size:a},y.default.createElement(k.default,{borderColor:n,presence:!c&&o,size:a},c))}else s&&(d=y.default.createElement(M.StatusWrapper,{appearance:t,size:a},y.default.createElement(E.default,{status:l,borderColor:n,size:a})));return d},o=n,(0,p.default)(r,o)}return(0,b.default)(t,e),t.prototype.getCachedComponent=function(e){return this.cache[e]||(this.cache[e]=L.getStyledComponent[e](I.getInnerStyles)),this.cache[e]},t.prototype.getStyledComponent=function(){var e=this.props,t=e.component,n=e.href,r=e.onClick,o="span";return t?o="custom":n?o="link":r&&(o="button"),this.getCachedComponent(o)},t.prototype.render=function(){var e=this,t=this.props,n=t.appearance,r=t.enableTooltip,o=t.isHover,l=t.onClick,i=t.name,u=t.size,s=t.src,d=t.stackIndex,c=(0,L.getProps)(this),f=this.getStyledComponent();return c.onClick=l&&this.guardedClick,y.default.createElement(w.default,{size:u,stackIndex:d},y.default.createElement(f,(0,a.default)({innerRef:function(t){return e.node=t}},c),y.default.createElement(S.default,{alt:i,appearance:n,size:u,src:s})),r&&o&&i?y.default.createElement(T.default,null,i):null,this.renderIcon())},t}(v.Component);R.propTypes={appearance:g.default.oneOf(["circle","square"]),borderColor:g.default.oneOfType([g.default.string,g.default.func]),component:g.default.any,enableTooltip:g.default.bool,href:g.default.string,isActive:g.default.bool,isDisabled:g.default.bool,isFocus:g.default.bool,isHover:g.default.bool,isSelected:g.default.bool,name:g.default.string,presence:g.default.oneOfType([g.default.oneOf(["online","busy","focus","offline"]),g.default.any]),size:g.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]).isRequired,src:g.default.string,status:g.default.oneOf(["approved","declined","locked"]),stackIndex:g.default.number,tabIndex:g.default.number,target:g.default.oneOf(["_blank","_self","_top","_parent"]),onClick:g.default.func},R.defaultProps=P,t.default=(0,D.mapProps)({appearance:function(e){return e.appearance||R.defaultProps.appearance},isInteractive:function(e){return e.enableTooltip||R.defaultProps.enableTooltip}})((0,D.withPseudoState)(R))},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t){e.exports=o},function(e,t){e.exports=a},function(e,t){e.exports=l},function(e,t){e.exports=i},function(e,t){e.exports=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.propsOmittedFromClickData=t.validIconSizes=void 0;var o=n(13),a=r(o),l=n(14);t.validIconSizes=(0,a.default)(l.ICON_SIZES),t.propsOmittedFromClickData=["onBlur","onClick","onFocus","onKeyDown","onKeyUp","onMouseDown","onMouseEnter","onMouseLeave","onMouseUp"]},function(e,t){e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SQUARE_ICON_OFFSET=t.ICON_OFFSET=t.ICON_SIZES=t.EXCESS_INDICATOR_FONT_SIZE=t.BORDER_WIDTH=t.AVATAR_RADIUS=t.AVATAR_SIZES=t.TRANSITION_DURATION=void 0;var r=n(15);t.TRANSITION_DURATION="200ms",t.AVATAR_SIZES={xsmall:2*r.akGridSizeUnitless,small:3*r.akGridSizeUnitless,medium:4*r.akGridSizeUnitless,large:5*r.akGridSizeUnitless,xlarge:12*r.akGridSizeUnitless,xxlarge:16*r.akGridSizeUnitless},t.AVATAR_RADIUS={xsmall:2,small:2,medium:3,large:3,xlarge:6,xxlarge:12},t.BORDER_WIDTH={xsmall:2,small:2,medium:2,large:2,xlarge:2,xxlarge:2},t.EXCESS_INDICATOR_FONT_SIZE={small:10,medium:11,large:12,xlarge:16},t.ICON_SIZES={small:12,medium:14,large:15,xlarge:18},t.ICON_OFFSET={small:0,medium:0,large:1,xlarge:7},t.SQUARE_ICON_OFFSET={small:0,medium:0,large:0,xlarge:1}},function(e,t){e.exports=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),l=n(7),i=r(l),u=n(8),s=r(u),d=n(9),c=r(d),f=n(11),p=r(f),m=n(17),b=n(21),h=r(b),g=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.borderColor,n=e.children,r=e.presence,o=e.size;return p.default.createElement(m.Outer,{size:o,bgColor:t},p.default.createElement(m.Inner,null,n||r&&(0,h.default)(r)))},t}(f.PureComponent);g.propTypes={borderColor:c.default.oneOfType([c.default.string,c.default.func]),children:c.default.any,presence:c.default.oneOfType([c.default.oneOf(["online","busy","focus","offline"]),c.default.any]),size:c.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"])},t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Inner=t.Outer=void 0;var o=n(18),a=r(o),l=(0,a.default)(["\n align-content: center;\n align-items: center;\n background-color: ",";\n border-radius: 50%;\n box-sizing: border-box;\n display: flex;\n height: 100%;\n overflow: hidden;\n padding: ","px;\n width: 100%;\n"],["\n align-content: center;\n align-items: center;\n background-color: ",";\n border-radius: 50%;\n box-sizing: border-box;\n display: flex;\n height: 100%;\n overflow: hidden;\n padding: ","px;\n width: 100%;\n"]),i=(0,a.default)(["\n align-items: center;\n border-radius: 50%;\n display: flex;\n height: 100%;\n overflow: hidden;\n width: 100%;\n"],["\n align-items: center;\n border-radius: 50%;\n display: flex;\n height: 100%;\n overflow: hidden;\n width: 100%;\n"]),u=n(19),s=r(u),d=n(20),c=n(14);t.Outer=s.default.span(l,function(e){return e.bgColor||d.colors.background},function(e){var t=e.size;return c.BORDER_WIDTH[t]||c.BORDER_WIDTH.medium}),t.Inner=s.default.span(i)},function(e,t){e.exports=c},function(e,t){e.exports=f},function(e,t){e.exports=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){switch(e){case"busy":return c.default.createElement(b,null,c.default.createElement(h,{cx:"4",cy:"4",r:"4"}),c.default.createElement(g,{d:"M3.3,1.9l2.8,2.8c0.2,0.2,0.2,0.5,0,0.7L5.4,6.1c-0.2,0.2-0.5,0.2-0.7,0L1.9,3.3c-0.2-0.2-0.2-0.5,0-0.7l0.7-0.7C2.8,1.7,3.1,1.7,3.3,1.9z"}));case"focus":return c.default.createElement(b,null,c.default.createElement(v,{d:"M4,8 C1.790861,8 0,6.209139 0,4 C0,1.790861 1.790861,0 4,0 C6.209139,0 8,1.790861 8,4 C8,6.209139 6.209139,8 4,8 Z M4,6.66666667 C5.47275933,6.66666667 6.66666667,5.47275933 6.66666667,4 C6.66666667,2.52724067 5.47275933,1.33333333 4,1.33333333 C2.52724067,1.33333333 1.33333333,2.52724067 1.33333333,4 C1.33333333,5.47275933 2.52724067,6.66666667 4,6.66666667 Z M4,5.33333333 C3.26362033,5.33333333 2.66666667,4.73637967 2.66666667,4 C2.66666667,3.26362033 3.26362033,2.66666667 4,2.66666667 C4.73637967,2.66666667 5.33333333,3.26362033 5.33333333,4 C5.33333333,4.73637967 4.73637967,5.33333333 4,5.33333333 Z"}));case"offline":return c.default.createElement(b,null,c.default.createElement(y,{d:"M4,8 C6.209139,8 8,6.209139 8,4 C8,1.790861 6.209139,0 4,0 C1.790861,0 0,1.790861 0,4 C0,6.209139 1.790861,8 4,8 Z M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"}),c.default.createElement(x,{d:"M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"}));case"online":return c.default.createElement(b,null,c.default.createElement(C,{cx:"4",cy:"4",r:"4"}));default:return null}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(18),l=r(a),i=n(3),u=r(i),s=(0,l.default)(["\n fill: ",";\n"],["\n fill: ",";\n"]);t.default=o;var d=n(11),c=r(d),f=n(19),p=r(f),m=n(20),b=function(e){return c.default.createElement("svg",(0,u.default)({height:"100%",version:"1.1",viewBox:"0 0 8 8",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e))},h=p.default.circle(s,(0,m.themed)({light:m.colors.R300,dark:m.colors.R200})),g=p.default.path(s,m.colors.background),v=p.default.path(s,m.colors.purple),y=p.default.path(s,(0,m.themed)({light:m.colors.N200,dark:m.colors.DN100})),x=p.default.path(s,(0,m.themed)({light:m.colors.N40,dark:m.colors.DN500})),C=p.default.circle(s,(0,m.themed)({light:m.colors.G300,dark:m.colors.G200}))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.appearance,n=e.size,r=e.title,o=128;return C.default.createElement(O.Svg,{appearance:t,size:n,viewBox:"0 0 "+o+" "+o,version:"1.1",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":r},!!r&&C.default.createElement("title",null,r),"circle"===t?C.default.createElement(E,null,C.default.createElement("circle",{cx:"64",cy:"64",r:"64"}),C.default.createElement("g",null,C.default.createElement("path",{d:"M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"}),C.default.createElement("path",{d:"M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"}))):C.default.createElement(E,null,C.default.createElement("rect",{x:"0",y:"0",width:o,height:o}),C.default.createElement("g",{transform:"translate(19.000000, 32.000000)"},C.default.createElement("path",{d:"M18.25,32.5 L54.5833333,32.5 L54.5833333,23.4166667 L18.25,23.4166667 L18.25,32.5 Z M9.16666667,18.8331166 C9.16666667,16.3479549 11.236581,14.3333333 13.7195662,14.3333333 L59.1137671,14.3333333 C61.6282641,14.3333333 63.6666667,16.3815123 63.6666667,18.8331166 L63.6666667,41.5833333 L9.16666667,41.5833333 L9.16666667,18.8331166 Z"}),C.default.createElement("path",{d:"M18.25,9.81383682 C18.25,4.7850061 22.3296003,0.708333333 27.3238554,0.708333333 L36.4261446,0.708333333 C41.4374965,0.708333333 45.5,4.76812825 45.5,9.81383682 L45.5,23.4166667 L18.25,23.4166667 L18.25,9.81383682 Z M36.4166667,9.81383682 C36.4166667,9.79803315 36.4184748,9.79303784 36.4207515,9.79166667 L27.3238554,9.79166667 C27.3447224,9.79166667 27.3333333,9.80308059 27.3333333,9.81383682 L27.3333333,14.3333333 L36.4166667,14.3333333 L36.4166667,9.81383682 Z"}),C.default.createElement("path",{d:"M11.4386532,55.2083333 L74.9953562,55.2083333 L79.5452242,41.5833333 L9.80449752,41.5833333 L11.4386532,55.2083333 Z M0.1048547,36.987541 C-0.192399775,34.5091405 1.5865717,32.5 4.09502839,32.5 L87.6264735,32.5 C90.1274401,32.5 91.5225656,34.393506 90.7231047,36.7875656 L82.9702846,60.004101 C82.1795402,62.3720582 79.5279445,64.2916667 76.9985338,64.2916667 L7.91963924,64.2916667 C5.41227673,64.2916667 3.14113571,62.3029555 2.84143097,59.8041257 L0.1048547,36.987541 Z"}))))}Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),l=r(a),i=n(23),u=r(i),s=n(6),d=r(s),c=n(7),f=r(c),p=n(8),m=r(p),b=n(18),h=r(b),g=n(9),v=r(g),y=(0,h.default)(["\n & circle,\n & rect {\n fill: ",";\n }\n & g {\n fill: ","\n }\n"],["\n & circle,\n & rect {\n fill: ",";\n }\n & g {\n fill: ","\n }\n"]);t.DefaultImage=o;var x=n(11),C=r(x),k=n(19),_=r(k),S=n(20),O=n(24),E=_.default.g(y,(0,S.themed)({light:S.colors.N50,dark:S.colors.DN100}),S.colors.background),M=function(e){function t(){var n,r,o;(0,d.default)(this,t);for(var a=arguments.length,l=Array(a),i=0;i<a;i++)l[i]=arguments[i];return n=r=(0,f.default)(this,e.call.apply(e,[this].concat(l))),r.state={hasError:!1,isLoading:!!r.props.src},r.handleLoad=function(e){r._isMounted&&r.setState({hasError:e,isLoading:!1})},r.handleLoadSuccess=function(){return r.handleLoad(!1)},r.handleLoadError=function(){return r.handleLoad(!0)},o=n,(0,f.default)(r,o)}return(0,m.default)(t,e),t.prototype.componentDidMount=function(){this._isMounted=!0},t.prototype.componentWillReceiveProps=function(e){e.src&&this.props.src!==e.src&&this.setState({isLoading:!0})},t.prototype.componentWillUnmount=function(){this._isMounted=!1},t.prototype.render=function(){var e=this.props,t=e.alt,n=e.src,r=(0,u.default)(e,["alt","src"]),a=this.state,i=a.hasError,s=a.isLoading,d=!s&&(!n||i),c=n&&!s?{backgroundImage:"url("+n+")"}:null;return d?C.default.createElement(o,{appearance:r.appearance,size:r.size,title:t}):C.default.createElement(O.Span,(0,l.default)({"aria-label":t,isLoading:s,role:"img",style:c,title:t},r),C.default.createElement(O.HiddenImage,{"aria-hidden":"true",onLoad:this.handleLoadSuccess,onError:this.handleLoadError,src:n}))},t}(x.PureComponent);M.propTypes={alt:v.default.string,appearance:v.default.oneOf(["circle","square"]).isRequired,src:v.default.string,size:v.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]).isRequired},t.default=M},function(e,t){e.exports=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.HiddenImage=t.Svg=t.Span=void 0;var o=n(18),a=r(o),l=(0,a.default)(["\n background-color: ",";\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n border-radius: ",";\n display: flex;\n flex: 1;\n height: 100%;\n width: 100%;\n"],["\n background-color: ",";\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n border-radius: ",";\n display: flex;\n flex: 1;\n height: 100%;\n width: 100%;\n"]),i=(0,a.default)(["\n background-color: ",";\n border-radius: ",";\n height: 100%;\n width: 100%;\n"],["\n background-color: ",";\n border-radius: ",";\n height: 100%;\n width: 100%;\n"]),u=(0,a.default)(["\n visibility: hidden;\n"],["\n visibility: hidden;\n"]),s=n(19),d=r(s),c=n(20),f=n(25),p=function(e){var t=e.isLoading;return t?(0,c.themed)({light:c.colors.N40,dark:c.colors.DN50}):"transparent"};t.Span=d.default.span(l,p,f.getBorderRadius),t.Svg=d.default.svg(i,p,f.getBorderRadius),t.HiddenImage=d.default.img(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{includeBorderWidth:!1},n=t.includeBorderWidth?f.BORDER_WIDTH[e.size]:0;return"circle"===e.appearance?"50%":f.AVATAR_RADIUS[e.size]+n+"px"}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{includeBorderWidth:!1},n=t.includeBorderWidth?2*f.BORDER_WIDTH[e.size]:0,r=f.AVATAR_SIZES[e.size]+n;return"\n height: "+r+"px;\n width: "+r+"px;\n "}function l(e){var t="content-box",n=f.BORDER_WIDTH[e.size]+"px",r=Boolean(e.isInteractive||e.href||e.onClick),l=e.borderColor||c.colors.background,i="default",u="none",v=m,y=0,x="auto",C="static",k="translateZ(0)",_="0s";return r&&(e.isActive||e.isHover)&&(v=b,y=1),r&&e.isActive&&(k="scale(0.9)"),r&&e.isFocus&&!e.isActive&&(u="none",l=p,_=f.TRANSITION_DURATION),e.isDisabled&&(i="not-allowed",v=g,y=1,x="none"),r&&(i="pointer"),e.isSelected&&(v=h,y=1),e.stackIndex&&(C="relative"),(0,d.css)(s,a,l,o(e,{includeBorderWidth:!0}),n,t,i,u,x,C,k,_,v,o,n,n,y,n,n,f.TRANSITION_DURATION)}Object.defineProperty(t,"__esModule",{value:!0}),t.getSize=void 0;var i=n(18),u=r(i),s=(0,u.default)(["\n ",";\n align-items: stretch;\n background-color: ",";\n border: 0;\n border-radius: ",";\n padding: ",";\n box-sizing: ",";\n cursor: ",";\n display: flex;\n flex-direction: column;\n justify-content: center;\n outline: ",";\n overflow: hidden;\n pointer-events: ",";\n position: ",";\n transform: ",";\n transition: background-color "," ease-out;\n\n a &, button & {\n cursor: pointer;\n }\n\n &::after {\n background-color: ",";\n border-radius: ",";\n bottom: ",';\n content: " ";\n left: ',";\n opacity: ",";\n pointer-events: none;\n position: absolute;\n right: ",";\n top: ",";\n transition: opacity ",";\n }\n\n &::-moz-focus-inner {\n border: 0;\n margin: 0;\n padding: 0;\n }\n "],["\n ",";\n align-items: stretch;\n background-color: ",";\n border: 0;\n border-radius: ",";\n padding: ",";\n box-sizing: ",";\n cursor: ",";\n display: flex;\n flex-direction: column;\n justify-content: center;\n outline: ",";\n overflow: hidden;\n pointer-events: ",";\n position: ",";\n transform: ",";\n transition: background-color "," ease-out;\n\n a &, button & {\n cursor: pointer;\n }\n\n &::after {\n background-color: ",";\n border-radius: ",";\n bottom: ",';\n content: " ";\n left: ',";\n opacity: ",";\n pointer-events: none;\n position: absolute;\n right: ",";\n top: ",";\n transition: opacity ",";\n }\n\n &::-moz-focus-inner {\n border: 0;\n margin: 0;\n padding: 0;\n }\n "]);t.getBorderRadius=o,t.getAvatarDimensions=a,t.getInnerStyles=l;var d=n(19),c=n(20),f=n(14),p=c.colors.B200,m="transparent",b=c.colors.N70A,h=c.colors.N200A,g=(0,c.themed)({light:"rgba(255, 255, 255, 0.7)",dark:c.colors.DN80A});t.getSize=function(e){return f.AVATAR_SIZES[e.size]}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),l=n(7),i=r(l),u=n(8),s=r(u),d=n(9),c=r(d),f=n(11),p=r(f),m=n(17),b=n(27),h=r(b),g=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.borderColor,n=e.children,r=e.status,o=e.size;return p.default.createElement(m.Outer,{size:o,bgColor:t},n||r&&(0,h.default)(r))},t}(f.PureComponent);g.propTypes={borderColor:c.default.oneOfType([c.default.string,c.default.func]),children:c.default.any,status:c.default.oneOf(["approved","declined","locked"]),size:c.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"])},t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){switch(e){case"approved":return c.default.createElement(b,null,c.default.createElement(h,{cx:"4",cy:"4",r:"4"}),c.default.createElement(g,{d:"M2.47140452,3.52859548 C2.21105499,3.26824595 1.78894501,3.26824595 1.52859548,3.52859548 C1.26824595,3.78894501 1.26824595,4.21105499 1.52859548,4.47140452 L2.86192881,5.80473785 C3.12227834,6.06508738 3.54438833,6.06508738 3.80473785,5.80473785 L6.47140452,3.13807119 C6.73175405,2.87772166 6.73175405,2.45561167 6.47140452,2.19526215 C6.21105499,1.93491262 5.78894501,1.93491262 5.52859548,2.19526215 L3.33333333,4.39052429 L2.47140452,3.52859548 Z"}));case"declined":return c.default.createElement(b,null,c.default.createElement(v,{cx:"4",cy:"4",r:"4"}),c.default.createElement(y,{d:"M4.890661,4.0088336 L5.81806461,3.07802178 C6.06167933,2.83351177 6.06048933,2.43826992 5.81540668,2.19522442 C5.57032402,1.95217891 5.17415651,1.95336612 4.93054179,2.19787613 L4.00765946,3.12415007 L3.06906871,2.18377143 C2.82523777,1.93947602 2.42906937,1.93863765 2.18420182,2.18189887 C1.93933427,2.42516008 1.93849394,2.82040282 2.18232488,3.06469822 L3.12544091,4.00961077 L2.20275024,4.93569234 C1.95913552,5.18020236 1.96032551,5.5754442 2.20540817,5.81848971 C2.45049083,6.06153521 2.84665833,6.060348 3.09027306,5.81583799 L4.00844245,4.89429431 L4.9092123,5.79678001 C5.15304324,6.04107541 5.54921164,6.04191379 5.79407919,5.79865257 C6.03894674,5.55539135 6.03978708,5.16014862 5.79595614,4.91585321 L4.890661,4.0088336 Z"}));case"locked":return c.default.createElement(b,null,c.default.createElement(x,{cx:"4",cy:"4",r:"4"}),c.default.createElement(C,{d:"M4.13074827,1.21766493 L4.10368158,1.21766493 C3.36340745,1.21766493 2.76388015,1.80793503 2.76388015,2.5367787 L2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,2.54344089 C3.44054754,2.17901906 3.74031119,1.88388401 4.11044825,1.88388401 L4.1239816,1.88388401 C4.49411866,1.88388401 4.79388232,2.17901906 4.79388232,2.54344089 L4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,2.5367787 C5.47054971,1.80793503 4.8710224,1.21766493 4.13074827,1.21766493 M2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,3.88254123 L2.76388015,3.88254123 L2.76388015,3.21632216 Z M4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,3.88254123 L4.79388232,3.88254123 L4.79388232,3.21632216 Z M4.79401765,3.88254123 L3.44068287,3.88254123 L2.76401548,3.88254123 C2.39049508,3.88254123 2.08734809,4.18100738 2.08734809,4.54876031 L2.08734809,5.54808892 C2.08734809,6.10000287 2.53735205,6.54741753 3.09094491,6.54741753 L5.14375561,6.54741753 C5.69802683,6.54741753 6.14735243,6.10385072 6.14735243,5.54808892 L6.14735243,4.54876031 C6.14735243,4.18100738 5.84420544,3.88254123 5.47068504,3.88254123 L4.79401765,3.88254123 Z"}));default:return null}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(18),l=r(a),i=n(3),u=r(i),s=(0,l.default)(["\n fill: ",";\n"],["\n fill: ",";\n"]);t.default=o;var d=n(11),c=r(d),f=n(19),p=r(f),m=n(20),b=function(e){return c.default.createElement("svg",(0,u.default)({height:"100%",version:"1.1",viewBox:"0 0 8 8",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e))},h=p.default.circle(s,(0,m.themed)({light:m.colors.G400,dark:m.colors.G300})),g=p.default.path(s,m.colors.background),v=p.default.circle(s,(0,m.themed)({light:m.colors.R400,dark:m.colors.R300})),y=p.default.path(s,m.colors.background),x=p.default.circle(s,(0,m.themed)({light:m.colors.N40,dark:m.colors.DN800})),C=p.default.path(s,(0,m.themed)({light:m.colors.N500,dark:m.colors.DN30}))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.StatusWrapper=t.PresenceWrapper=t.Inner=void 0;var o=n(18),a=r(o),l=(0,a.default)(["\n ","\n display: inline-block;\n position: relative;\n outline: 0;\n ","\n"],["\n ","\n display: inline-block;\n position: relative;\n outline: 0;\n ","\n"]),i=(0,a.default)(["\n ","\n"],["\n ","\n"]),u=(0,a.default)(["\n ","\n pointer-events: none;\n position: absolute;\n"],["\n ","\n pointer-events: none;\n position: absolute;\n"]),s=(0,a.default)(["\n ","\n position: absolute;\n"],["\n ","\n position: absolute;\n"]),d=n(19),c=r(d),f=n(14),p=n(25);t.default=c.default.div(l,function(e){return(0,p.getAvatarDimensions)(e,{includeBorderWidth:!0})},function(e){return e.stackIndex&&"z-index: "+e.stackIndex+";"});var m=(t.Inner=c.default.div(i,p.getInnerStyles),function(e){var t=e.appearance,n=e.size,r="square"===t?-(2*f.BORDER_WIDTH[n]):f.ICON_OFFSET[n],o=f.ICON_SIZES[n];return"\n bottom: "+r+"px;\n height: "+o+"px;\n right: "+r+"px;\n width: "+o+"px;\n "}),b=(t.PresenceWrapper=c.default.span(u,m),function(e){var t=e.appearance,n=e.size,r="square"===t?f.SQUARE_ICON_OFFSET[n]:f.ICON_OFFSET[n],o=f.ICON_SIZES[n];return"\n height: "+o+"px;\n right: "+r+"px;\n top: "+r+"px;\n width: "+o+"px;\n "});t.StatusWrapper=c.default.span(s,b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),a=r(o),l=(0,a.default)(["translateY(","px) translateX(-50%)"],["translateY(","px) translateX(-50%)"]),i=(0,a.default)(["\n animation: "," 0.6s 0.1s backwards;\n background-color: ",";\n border-radius: ",";\n box-sizing: border-box;\n color: ",";\n font-size: ","px;\n left: 50%;\n line-height: ",";\n margin-top: ","px;\n max-width: ","px;\n overflow: hidden;\n padding: ","px ","px;\n pointer-events: none;\n position: absolute;\n text-overflow: ellipsis;\n transform: translateX(-50%);\n white-space: nowrap;\n z-index: 1;\n"],["\n animation: "," 0.6s 0.1s backwards;\n background-color: ",";\n border-radius: ",";\n box-sizing: border-box;\n color: ",";\n font-size: ","px;\n left: 50%;\n line-height: ",";\n margin-top: ","px;\n max-width: ","px;\n overflow: hidden;\n padding: ","px ","px;\n pointer-events: none;\n position: absolute;\n text-overflow: ellipsis;\n transform: translateX(-50%);\n white-space: nowrap;\n z-index: 1;\n"]),u=(0,a.default)(["",""],["",""]),s=n(19),d=r(s),c=n(15),f=n(20),p=c.akAnimationMixins.createBold,m=c.akAnimationMixins.interpolate,b=c.akGridSizeUnitless/2,h=3*b,g=4*b/h,v=105*b,y=2*b,x={property:"transform",value:m(l,function(e){return e}),deltas:[{from:-y,to:0}]},C={property:"opacity",deltas:[{from:0,to:1}]},k=(0,f.themed)({light:f.colors.N800,dark:f.colors.DN0}),_=(0,f.themed)({light:f.colors.N0,dark:f.colors.DN600}),S=d.default.div(i,(0,s.keyframes)(u,p([x,C])),k,c.akBorderRadius,_,h,g,b,v,b/2,2*b);t.default=S},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(0,i.default)(e).reduce(function(t,r){return n.indexOf(r)===-1&&(t[r]=e[r]),t},{})}function a(e,t){var n=t.displayName||t.name;return n?e+"("+n+")":e}Object.defineProperty(t,"__esModule",{value:!0});var l=n(13),i=r(l);t.omit=o,t.getDisplayName=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(32);Object.defineProperty(t,"getStyledComponent",{enumerable:!0,get:function(){return r(o).default}});var a=n(21);Object.defineProperty(t,"getPresenceSVG",{enumerable:!0,get:function(){return r(a).default}});var l=n(34);Object.defineProperty(t,"getProps",{enumerable:!0,get:function(){return r(l).default}});var i=n(27);Object.defineProperty(t,"getStatusSVG",{enumerable:!0,get:function(){return r(i).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),a=r(o),l=(0,a.default)(["&,&:hover,&:active,&:focus{","}"],["&,&:hover,&:active,&:focus{","}"]),i=(0,a.default)(["",""],["",""]),u=(0,a.default)(["a&{ "," }"],["a&{ "," }"]),s=n(19),d=r(s),c=n(33),f=r(c);t.default={custom:function(e){var t=(0,d.default)(f.default)(l,e);return t.displayName="StyledCustomComponent",t},button:function(e){var t=d.default.button(i,e);return t.displayName="StyledButton",t},link:function(e){var t=d.default.a(u,e);return t.displayName="StyledLink",t},span:function(e){var t=d.default.span(i,e);return t.displayName="StyledSpan",t}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(e.appearance,e.avatar,e.borderColor,e.component),n=(e.enableTooltip,e.groupAppearance,e.innerRef,e.isActive,e.isDisabled,e.isFocus,e.isHover,e.isSelected,e.primaryText,e.secondaryText,e.stackIndex,(0,l.default)(e,["appearance","avatar","borderColor","component","enableTooltip","groupAppearance","innerRef","isActive","isDisabled","isFocus","isHover","isSelected","primaryText","secondaryText","stackIndex"]));return u.default.createElement(t,n)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(23),l=r(a); | ||
t.default=o;var i=n(11),u=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.props,n=(0,l.default)({},i(t),u(t));return t.component?(0,l.default)({},n,t):t.href?t.isDisabled?n:(0,l.default)({},n,s(t)):t.onClick?(0,l.default)({},n,d(t)):n}Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),l=r(a);t.default=o;var i=function(e){var t=e.appearance,n=e.borderColor,r=e.groupAppearance,o=e.isActive,a=e.isDisabled,l=e.isFocus,i=e.isHover,u=e.isSelected,s=e.size,d=e.stackIndex;return{appearance:t,borderColor:n,groupAppearance:r,isActive:o,isDisabled:a,isFocus:l,isHover:i,isSelected:u,size:s,stackIndex:d}},u=function(e){var t=e.onBlur,n=e.onClick,r=e.onFocus,o=e.onKeyDown,a=e.onKeyUp,l=e.onMouseDown,i=e.onMouseEnter,u=e.onMouseLeave,s=e.onMouseUp,d=e.tabIndex;return{onBlur:t,onClick:n,onFocus:r,onKeyDown:o,onKeyUp:a,onMouseDown:l,onMouseEnter:i,onMouseLeave:u,onMouseUp:s,tabIndex:d}},s=function(e){var t=e.href,n=e.target,r="_blank"===n?"noopener noreferrer":null;return{href:t,rel:r,target:n}},d=function(e){var t=e.id,n=e.isDisabled;return{id:t,type:"button",disabled:n}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(36);Object.defineProperty(t,"mapProps",{enumerable:!0,get:function(){return r(o).default}});var a=n(38);Object.defineProperty(t,"withPseudoState",{enumerable:!0,get:function(){return r(a).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t){var n,r;return r=n=function(n){function r(){var e,t,o;(0,f.default)(this,r);for(var a=arguments.length,l=Array(a),i=0;i<a;i++)l[i]=arguments[i];return e=t=(0,m.default)(this,n.call.apply(n,[this].concat(l))),t.blur=function(e){t.component.blur&&t.component.blur(e)},t.focus=function(e){t.component.focus&&t.component.focus(e)},o=e,(0,m.default)(t,o)}return(0,h.default)(r,n),r.prototype.render=function(){var n=this,r=(0,d.default)({},this.props,(0,u.default)(e).reduce(function(t,r){return(0,d.default)({},t,(0,l.default)({},r,e[r](n.props)))},{}));return v.default.createElement(t,(0,d.default)({ref:function(e){return n.component=e}},r))},r}(g.Component),n.displayName=(0,y.getDisplayName)("mapProps",t),n.DecoratedComponent=t,r}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(37),l=r(a),i=n(13),u=r(i),s=n(3),d=r(s),c=n(6),f=r(c),p=n(7),m=r(p),b=n(8),h=r(b);t.default=o;var g=n(11),v=r(g),y=n(30)},function(e,t){e.exports=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.href,n=e.isActive,r=e.isFocus,o=e.isHover,a=e.isInteractive,l=e.onClick;return{isActive:n,isFocus:r,isHover:o,isInteractive:!!(t||a||l)}}function a(e){var t,n,r;return n=t=function(t){function n(){var e,o,a;(0,s.default)(this,n);for(var l=arguments.length,i=Array(l),u=0;u<l;u++)i[u]=arguments[u];return e=o=(0,c.default)(this,t.call.apply(t,[this].concat(i))),r.call(o),a=e,(0,c.default)(o,a)}return(0,p.default)(n,t),n.prototype.componentWillMount=function(){var e=this.props,t=e.href,n=e.isInteractive,r=e.onClick;(t||n||r)&&(this.actionKeys=r||n?["Enter"," "]:["Enter"])},n.prototype.render=function(){var t=this,n=this.getProps();return b.default.createElement(e,(0,i.default)({ref:function(e){return t.component=e}},this.state,n))},n}(m.Component),t.displayName=(0,h.getDisplayName)("withPseudoState",e),r=function(){var e=this;this.state=o(this.props),this.blur=function(t){e.component.blur&&e.component.blur(t)},this.focus=function(t){e.component.focus&&e.component.focus(t)},this.onBlur=function(){return e.setState({isActive:!1,isFocus:!1})},this.onFocus=function(){return e.setState({isFocus:!0})},this.onMouseLeave=function(){return e.setState({isActive:!1,isHover:!1})},this.onMouseEnter=function(){return e.setState({isHover:!0})},this.onMouseUp=function(){return e.setState({isActive:!1})},this.onMouseDown=function(){return e.setState({isActive:!0})},this.onKeyDown=function(t){e.actionKeys.includes(t.key)&&e.setState({isActive:!0})},this.onKeyUp=function(t){e.actionKeys.includes(t.key)&&e.setState({isActive:!1})},this.getProps=function(){var t=e.state.isInteractive,n=h.omit.apply(void 0,[e.props].concat(g)),r=e;return t&&g.forEach(function(t){e.props[t]?n[t]=function(){var n;r[t].apply(r,arguments),(n=e.props)[t].apply(n,arguments)}:n[t]=r[t]}),n}},n}Object.defineProperty(t,"__esModule",{value:!0});var l=n(3),i=r(l),u=n(6),s=r(u),d=n(7),c=r(d),f=n(8),p=r(f);t.default=a;var m=n(11),b=r(m),h=n(30),g=["onBlur","onFocus","onKeyDown","onKeyUp","onMouseDown","onMouseEnter","onMouseLeave","onMouseUp"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),l=n(6),i=r(l),u=n(7),s=r(u),d=n(8),c=r(d),f=n(40),p=r(f),m=n(9),b=r(m),h=n(11),g=r(h),v=n(41),y=r(v),x=n(2),C=r(x),k=n(42),_=n(43),S=r(_),O={grid:k.Grid,stack:k.Stack},E={grid:11,stack:5},M=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,c.default)(t,e),t.prototype.renderMoreDropdown=function(e,t){var n=this.props,r=n.appearance,o=n.data,l=n.borderColor,i=n.onMoreClick,u=n.onAvatarClick,s=n.size,d=n.boundariesElement;if(t<=e)return null;var c=function(n){return g.default.createElement(S.default,(0,a.default)({borderColor:l,count:t-e,isInteractive:!0,isStack:"stack"===r,size:s},n))};if("function"==typeof i)return g.default.createElement(c,{onClick:i});var f=o.slice(e).map(function(e){return{content:e.name,elemBefore:g.default.createElement(C.default,(0,a.default)({},e,{size:"small",borderColor:"transparent"})),href:e.href,rel:e.target?"noopener noreferrer":null,target:e.target}});return g.default.createElement(y.default,{items:[{items:f}],onItemActivated:u,position:"bottom right",boundariesElement:d,shouldFlip:!0},g.default.createElement(c,null))},t.prototype.render=function(){var e=this.props,t=e.avatar,n=e.appearance,r=e.borderColor,o=e.data,l=e.maxCount,i=e.onAvatarClick,u=e.size,s=0===l?E[n]:l,d=o.length,c=O[n],f=d>s?s-1:s,p=o.slice(0,f).map(function(e,o){return g.default.createElement(t,(0,a.default)({},e,{borderColor:r,groupAppearance:n,index:o,key:o,onClick:e.onClick||i,size:u,stackIndex:s-o}))});return g.default.createElement(c,{size:u},p,this.renderMoreDropdown(+f,d))},t}(h.Component);M.propTypes={appearance:b.default.oneOf(["grid","stack"]).isRequired,avatar:b.default.any.isRequired,borderColor:b.default.string,data:b.default.arrayOf((0,p.default)(b.default.shape({appearance:b.default.oneOf(["circle","square"]),borderColor:b.default.oneOfType([b.default.string,b.default.func]),component:b.default.any,enableTooltip:b.default.bool,href:b.default.string,isActive:b.default.bool,isDisabled:b.default.bool,isFocus:b.default.bool,isHover:b.default.bool,isSelected:b.default.bool,name:b.default.string,presence:b.default.oneOfType([b.default.oneOf(["online","busy","focus","offline"]),b.default.any]),size:b.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]).isRequired,src:b.default.string,status:b.default.oneOf(["approved","declined","locked"]),stackIndex:b.default.number,tabIndex:b.default.number,target:b.default.oneOf(["_blank","_self","_top","_parent"])}),b.default.shape({onClick:b.default.func}))).isRequired,maxCount:b.default.number.isRequired,onAvatarClick:b.default.func,onMoreClick:b.default.func,size:b.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]),boundariesElement:b.default.oneOf(["viewport","window","scrollParent"])},M.defaultProps={appearance:"stack",avatar:C.default,maxCount:0,size:"medium"},t.default=M},function(e,t){e.exports=h},function(e,t){e.exports=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Stack=t.Grid=void 0;var o=n(18),a=r(o),l=(0,a.default)(["\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n line-height: 1;\n margin-left: -",";\n margin-right: -",";\n\n > * {\n margin-bottom: ",";\n padding-left: ",";\n padding-right: ",";\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n line-height: 1;\n margin-left: -",";\n margin-right: -",";\n\n > * {\n margin-bottom: ",";\n padding-left: ",";\n padding-right: ",";\n }\n"]),i=(0,a.default)(["\n display: flex;\n line-height: 1;\n\n > * {\n margin-right: -","px;\n }\n"],["\n display: flex;\n line-height: 1;\n\n > * {\n margin-right: -","px;\n }\n"]),u=n(19),s=r(u),d=n(15),c=n(14),f=d.akGridSizeUnitless/2,p=f+"px";t.Grid=s.default.div(l,p,p,d.akGridSize,p,p),t.Stack=s.default.div(i,function(e){return 2*c.BORDER_WIDTH[e.size]+f})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),l=n(6),i=r(l),u=n(7),s=r(u),d=n(8),c=r(d),f=n(9),p=r(f),m=n(11),b=r(m),h=n(44),g=n(35),v=n(31),y=99,x=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,c.default)(t,e),t.prototype.render=function(){var e=this.props.count,t=(0,v.getProps)(this),n=this.props,r=n.appearance,o=n.isActive,l=n.isFocus,i=n.isHover,u=n.size,s={appearance:r,isActive:o,isFocus:l,isHover:i,size:u},d=e>y?y:e;return b.default.createElement(h.Outer,(0,a.default)({},t,{isInteractive:!0}),b.default.createElement(h.Inner,s,"+",d))},t}(m.Component);x.propTypes={borderColor:p.default.string,count:p.default.number.isRequired,isStack:p.default.bool,onClick:p.default.func,size:p.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]),appearance:p.default.string,isActive:p.default.bool,isFocus:p.default.bool,isHover:p.default.bool},x.defaultProps={appearance:"circle"},t.default=(0,g.withPseudoState)(x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Inner=t.Outer=void 0;var o=n(18),a=r(o),l=(0,a.default)(["\n ","\n background: 0;\n"],["\n ","\n background: 0;\n"]),i=(0,a.default)(["\n background-color: ",";\n border-radius: ",";\n align-items: center;\n box-shadow: 0 0 0 "," ",";\n color: ",";\n cursor: pointer;\n display: flex;\n flex-basis: 100%;\n flex-grow: 1;\n font-size: ","px;\n justify-content: center;\n transition: box-shadow 200ms;\n"],["\n background-color: ",";\n border-radius: ",";\n align-items: center;\n box-shadow: 0 0 0 "," ",";\n color: ",";\n cursor: pointer;\n display: flex;\n flex-basis: 100%;\n flex-grow: 1;\n font-size: ","px;\n justify-content: center;\n transition: box-shadow 200ms;\n"]),u=n(19),s=r(u),d=n(20),c=n(25),f=n(14),p=function(e){return e.isFocus&&!e.isActive?f.BORDER_WIDTH[e.size]+"px":0};t.Outer=s.default.button(l,c.getInnerStyles),t.Inner=s.default.span(i,(0,d.themed)({light:d.colors.N40,dark:d.colors.DN70}),c.getBorderRadius,p,d.colors.B200,(0,d.themed)({light:d.colors.N500,dark:d.colors.DN400}),function(e){return f.EXCESS_INDICATOR_FONT_SIZE[e.size]})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=r(o),l=n(5),i=r(l),u=n(6),s=r(u),d=n(7),c=r(d),f=n(8),p=r(f),m=n(9),b=r(m),h=n(11),g=r(h),v=n(12),y=n(30),x=n(46),C=n(31),k=n(35),_=function(e){function t(){var n,r,o;(0,s.default)(this,t);for(var a=arguments.length,l=Array(a),u=0;u<a;u++)l[u]=arguments[u];return n=r=(0,c.default)(this,e.call.apply(e,[this].concat(l))),r.cache={},r.blur=function(e){r.node.blur&&r.node.blur(e)},r.focus=function(e){r.node.focus&&r.node.focus(e)},r.guardedClick=function(e){var t=r.props,n=t.isDisabled,o=t.onClick;if(!n&&"function"==typeof o){var a=y.omit.apply(void 0,[r.props].concat((0,i.default)(v.propsOmittedFromClickData)));o({item:a,event:e})}},o=n,(0,c.default)(r,o)}return(0,p.default)(t,e),t.prototype.getCachedComponent=function(e){return this.cache[e]||(this.cache[e]=C.getStyledComponent[e](x.getStyles)),this.cache[e]},t.prototype.getStyledComponent=function(){var e=this.props,t=e.component,n=e.href,r=e.onClick,o="span";return t?o="custom":n?o="link":r&&(o="button"),this.getCachedComponent(o)},t.prototype.render=function(){var e=this,t=this.props,n=t.avatar,r=t.enableTextTruncate,o=t.onClick,l=t.primaryText,i=t.secondaryText,u=(0,x.getBackgroundColor)(this.props),s=(0,C.getProps)(this),d=this.getStyledComponent();return s.onClick=o&&this.guardedClick,g.default.createElement(d,(0,a.default)({innerRef:function(t){return e.node=t}},s),(0,h.cloneElement)(n,{borderColor:u}),g.default.createElement(x.Content,{truncate:r},g.default.createElement(x.PrimaryText,{truncate:r},l),g.default.createElement(x.SecondaryText,{truncate:r},i)))},t}(h.Component);_.propTypes={avatar:b.default.any.isRequired,component:b.default.any,href:b.default.string,isActive:b.default.bool,isDisabled:b.default.bool,isFocus:b.default.bool,isHover:b.default.bool,isSelected:b.default.bool,onClick:b.default.func,primaryText:b.default.string,secondaryText:b.default.string,target:b.default.oneOf(["_blank","_self","_top","_parent"]),enableTextTruncate:b.default.bool},_.defaultProps={enableTextTruncate:!0},t.default=(0,k.withPseudoState)(_)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.href,n=e.isActive,r=e.isHover,o=e.isSelected,a=e.onClick,l=t||a,i=h.colors.background;return l&&(r||o)&&(i=v),l&&n&&(i=g),i}function a(e){var t=e.href,n=e.isActive,r=e.isDisabled,a=e.isFocus,l=e.onClick,i=t||l,s="transparent",d="auto",c=1,f="none",p="auto";return i&&a&&!n&&(f="none",s=y),r&&(d="not-allowed",c=.75,p="none"),i&&(d="pointer"),(0,m.css)(u,o,h.borderRadius,s,d,c,f,h.math.divide(h.gridSize,2),p)}Object.defineProperty(t,"__esModule",{value:!0}),t.SecondaryText=t.PrimaryText=t.Content=void 0;var l=n(18),i=r(l),u=(0,i.default)(["\n align-items: center;\n background-color: ",";\n border-radius: ","px;\n border: 2px solid ",";\n box-sizing: content-box;\n color: inherit;\n cursor: ",";\n display: flex;\n font-size: inherit;\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n opacity: ",";\n outline: ",";\n margin: 0;\n padding: ","px;\n pointer-events: ",";\n text-align: left;\n text-decoration: none;\n width: 100%;\n "],["\n align-items: center;\n background-color: ",";\n border-radius: ","px;\n border: 2px solid ",";\n box-sizing: content-box;\n color: inherit;\n cursor: ",";\n display: flex;\n font-size: inherit;\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n opacity: ",";\n outline: ",";\n margin: 0;\n padding: ","px;\n pointer-events: ",";\n text-align: left;\n text-decoration: none;\n width: 100%;\n "]),s=(0,i.default)(["\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"],["\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"]),d=(0,i.default)(["\n max-width: 100%;\n min-width: 0;\n"],["\n max-width: 100%;\n min-width: 0;\n"]),c=(0,i.default)(["\n ","\n flex: 1;\n line-height: 1.4;\n padding-left: ","px;\n"],["\n ","\n flex: 1;\n line-height: 1.4;\n padding-left: ","px;\n"]),f=(0,i.default)(["\n ","\n color: ",";\n"],["\n ","\n color: ",";\n"]),p=(0,i.default)(["\n ","\n color: ",";\n font-size: 0.85em;\n"],["\n ","\n color: ",";\n font-size: 0.85em;\n"]);t.getBackgroundColor=o,t.getStyles=a;var m=n(19),b=r(m),h=n(20),g=(0,h.themed)({light:h.colors.B50,dark:h.colors.DN40}),v=(0,h.themed)({light:h.colors.N30,dark:h.colors.DN50}),y=(0,h.themed)({light:h.colors.B200,dark:h.colors.B75}),x=function(e){return e.truncate&&(0,m.css)(s)},C=function(e){return e.truncate&&(0,m.css)(d)};t.Content=b.default.div(c,C,h.gridSize),t.PrimaryText=b.default.div(f,x,h.colors.text),t.SecondaryText=b.default.div(p,x,h.colors.subtleText)}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-runtime/helpers/extends"),require("babel-runtime/helpers/typeof"),require("babel-runtime/helpers/toConsumableArray"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("prop-types"),require("@atlaskit/polyfills/array-prototype-includes"),require("react"),require("babel-runtime/core-js/object/keys"),require("@atlaskit/util-shared-styles"),require("babel-runtime/helpers/taggedTemplateLiteral"),require("styled-components"),require("@atlaskit/theme"),require("babel-runtime/helpers/objectWithoutProperties"),require("babel-runtime/helpers/defineProperty"),require("prop-types-extra/lib/all"),require("@atlaskit/dropdown-menu")):"function"==typeof define&&define.amd?define(["babel-runtime/helpers/extends","babel-runtime/helpers/typeof","babel-runtime/helpers/toConsumableArray","babel-runtime/helpers/classCallCheck","babel-runtime/helpers/possibleConstructorReturn","babel-runtime/helpers/inherits","prop-types","@atlaskit/polyfills/array-prototype-includes","react","babel-runtime/core-js/object/keys","@atlaskit/util-shared-styles","babel-runtime/helpers/taggedTemplateLiteral","styled-components","@atlaskit/theme","babel-runtime/helpers/objectWithoutProperties","babel-runtime/helpers/defineProperty","prop-types-extra/lib/all","@atlaskit/dropdown-menu"],t):"object"==typeof exports?exports["@atlaskit/avatar"]=t(require("babel-runtime/helpers/extends"),require("babel-runtime/helpers/typeof"),require("babel-runtime/helpers/toConsumableArray"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("prop-types"),require("@atlaskit/polyfills/array-prototype-includes"),require("react"),require("babel-runtime/core-js/object/keys"),require("@atlaskit/util-shared-styles"),require("babel-runtime/helpers/taggedTemplateLiteral"),require("styled-components"),require("@atlaskit/theme"),require("babel-runtime/helpers/objectWithoutProperties"),require("babel-runtime/helpers/defineProperty"),require("prop-types-extra/lib/all"),require("@atlaskit/dropdown-menu")):e["@atlaskit/avatar"]=t(e["babel-runtime/helpers/extends"],e["babel-runtime/helpers/typeof"],e["babel-runtime/helpers/toConsumableArray"],e["babel-runtime/helpers/classCallCheck"],e["babel-runtime/helpers/possibleConstructorReturn"],e["babel-runtime/helpers/inherits"],e["prop-types"],e["@atlaskit/polyfills/array-prototype-includes"],e.react,e["babel-runtime/core-js/object/keys"],e["@atlaskit/util-shared-styles"],e["babel-runtime/helpers/taggedTemplateLiteral"],e["styled-components"],e["@atlaskit/theme"],e["babel-runtime/helpers/objectWithoutProperties"],e["babel-runtime/helpers/defineProperty"],e["prop-types-extra/lib/all"],e["@atlaskit/dropdown-menu"])}(this,function(e,t,n,r,a,o,l,i,u,s,d,c,f,p,m,b,h,g){return function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(2);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(a).default}});var o=n(42);Object.defineProperty(t,"AvatarGroup",{enumerable:!0,get:function(){return r(o).default}});var l=n(48);Object.defineProperty(t,"AvatarItem",{enumerable:!0,get:function(){return r(l).default}});var i=n(16);Object.defineProperty(t,"Presence",{enumerable:!0,get:function(){return r(i).default}});var u=n(26);Object.defineProperty(t,"Status",{enumerable:!0,get:function(){return r(u).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AvatarDefaultProps=void 0;var a=n(3),o=r(a),l=n(4),i=r(l),u=n(5),s=r(u),d=n(6),c=r(d),f=n(7),p=r(f),m=n(8),b=r(m),h=n(9),g=r(h);n(10);var v=n(11),y=r(v),x=n(12),_=n(16),C=r(_),k=n(22),O=r(k),E=n(26),S=r(E),M=n(28),I=r(M),w=n(29),A=r(w),z=n(30),T=n(31),L=n(38),P=t.AvatarDefaultProps={appearance:"circle",enableTooltip:!0,size:"medium"},D=function(e){},R=function(e){function t(){var n,r,a;(0,c.default)(this,t);for(var o=arguments.length,l=Array(o),u=0;u<o;u++)l[u]=arguments[u];return n=r=(0,p.default)(this,e.call.apply(e,[this].concat(l))),r.blur=function(e){r.node.blur&&r.node.blur(e)},r.focus=function(e){r.node.focus&&r.node.focus(e)},r.guardedClick=function(e){var t=r.props,n=t.isDisabled,a=t.onClick;if(!n&&"function"==typeof a){var o=z.omit.apply(void 0,[r.props].concat((0,s.default)(x.propsOmittedFromClickData)));a({item:o,event:e})}},r.renderIcon=function(){var e=r.props,t=e.appearance,n=e.borderColor,a=e.presence,o=e.size,l=e.status,u=!!a,s=!!l;if(!x.validIconSizes.includes(o)&&(u||s))return D('Avatar size "'+String(o)+'" does NOT support '+(u?"presence":"status")),null;if(u&&s)return D("Avatar supports `presence` OR `status` properties, not both."),null;var d=void 0;if(u){var c="object"===("undefined"==typeof a?"undefined":(0,i.default)(a))?a:null;d=y.default.createElement(M.PresenceWrapper,{appearance:t,size:o},y.default.createElement(C.default,{borderColor:n,presence:!c&&a,size:o},c))}else s&&(d=y.default.createElement(M.StatusWrapper,{appearance:t,size:o},y.default.createElement(S.default,{status:l,borderColor:n,size:o})));return d},a=n,(0,p.default)(r,a)}return(0,b.default)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.appearance,r=t.enableTooltip,a=t.isHover,l=t.onClick,i=t.name,u=t.size,s=t.src,d=t.stackIndex,c=(0,T.getProps)(this),f=(0,T.getStyledAvatar)(this.props);return c.onClick=l&&this.guardedClick,y.default.createElement(I.default,{size:u,stackIndex:d},y.default.createElement(f,(0,o.default)({innerRef:function(t){return e.node=t}},c),y.default.createElement(O.default,{alt:i,appearance:n,size:u,src:s})),r&&a&&i?y.default.createElement(A.default,null,i):null,this.renderIcon())},t}(v.Component);R.propTypes={appearance:g.default.oneOf(["circle","square"]),borderColor:g.default.oneOfType([g.default.string,g.default.func]),component:g.default.any,enableTooltip:g.default.bool,href:g.default.string,isActive:g.default.bool,isDisabled:g.default.bool,isFocus:g.default.bool,isHover:g.default.bool,isSelected:g.default.bool,name:g.default.string,presence:g.default.oneOfType([g.default.oneOf(["online","busy","focus","offline"]),g.default.any]),size:g.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]).isRequired,src:g.default.string,status:g.default.oneOf(["approved","declined","locked"]),stackIndex:g.default.number,tabIndex:g.default.number,target:g.default.oneOf(["_blank","_self","_top","_parent"]),onClick:g.default.func},R.defaultProps=P,t.default=(0,L.mapProps)({appearance:function(e){return e.appearance||R.defaultProps.appearance},isInteractive:function(e){return e.enableTooltip||R.defaultProps.enableTooltip}})((0,L.withPseudoState)(R))},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t){e.exports=a},function(e,t){e.exports=o},function(e,t){e.exports=l},function(e,t){e.exports=i},function(e,t){e.exports=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.propsOmittedFromClickData=t.validIconSizes=void 0;var a=n(13),o=r(a),l=n(14);t.validIconSizes=(0,o.default)(l.ICON_SIZES),t.propsOmittedFromClickData=["onBlur","onClick","onFocus","onKeyDown","onKeyUp","onMouseDown","onMouseEnter","onMouseLeave","onMouseUp"]},function(e,t){e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SQUARE_ICON_OFFSET=t.ICON_OFFSET=t.ICON_SIZES=t.EXCESS_INDICATOR_FONT_SIZE=t.BORDER_WIDTH=t.AVATAR_RADIUS=t.AVATAR_SIZES=t.TRANSITION_DURATION=void 0;var r=n(15);t.TRANSITION_DURATION="200ms",t.AVATAR_SIZES={xsmall:2*r.akGridSizeUnitless,small:3*r.akGridSizeUnitless,medium:4*r.akGridSizeUnitless,large:5*r.akGridSizeUnitless,xlarge:12*r.akGridSizeUnitless,xxlarge:16*r.akGridSizeUnitless},t.AVATAR_RADIUS={xsmall:2,small:2,medium:3,large:3,xlarge:6,xxlarge:12},t.BORDER_WIDTH={xsmall:2,small:2,medium:2,large:2,xlarge:2,xxlarge:2},t.EXCESS_INDICATOR_FONT_SIZE={small:10,medium:11,large:12,xlarge:16},t.ICON_SIZES={small:12,medium:14,large:15,xlarge:18},t.ICON_OFFSET={small:0,medium:0,large:1,xlarge:7},t.SQUARE_ICON_OFFSET={small:0,medium:0,large:0,xlarge:1}},function(e,t){e.exports=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(6),o=r(a),l=n(7),i=r(l),u=n(8),s=r(u),d=n(9),c=r(d),f=n(11),p=r(f),m=n(17),b=n(21),h=r(b),g=function(e){function t(){return(0,o.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.borderColor,n=e.children,r=e.presence,a=e.size;return p.default.createElement(m.Outer,{size:a,bgColor:t},p.default.createElement(m.Inner,null,n||r&&(0,h.default)(r)))},t}(f.PureComponent);g.propTypes={borderColor:c.default.oneOfType([c.default.string,c.default.func]),children:c.default.any,presence:c.default.oneOfType([c.default.oneOf(["online","busy","focus","offline"]),c.default.any]),size:c.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"])},t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Inner=t.Outer=void 0;var a=n(18),o=r(a),l=(0,o.default)(["\n align-content: center;\n align-items: center;\n background-color: ",";\n border-radius: 50%;\n box-sizing: border-box;\n display: flex;\n height: 100%;\n overflow: hidden;\n padding: ","px;\n width: 100%;\n"],["\n align-content: center;\n align-items: center;\n background-color: ",";\n border-radius: 50%;\n box-sizing: border-box;\n display: flex;\n height: 100%;\n overflow: hidden;\n padding: ","px;\n width: 100%;\n"]),i=(0,o.default)(["\n align-items: center;\n border-radius: 50%;\n display: flex;\n height: 100%;\n overflow: hidden;\n width: 100%;\n"],["\n align-items: center;\n border-radius: 50%;\n display: flex;\n height: 100%;\n overflow: hidden;\n width: 100%;\n"]),u=n(19),s=r(u),d=n(20),c=n(14);t.Outer=s.default.span(l,function(e){return e.bgColor||d.colors.background},function(e){var t=e.size;return c.BORDER_WIDTH[t]||c.BORDER_WIDTH.medium}),t.Inner=s.default.span(i)},function(e,t){e.exports=c},function(e,t){e.exports=f},function(e,t){e.exports=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){switch(e){case"busy":return c.default.createElement(b,null,c.default.createElement(h,{cx:"4",cy:"4",r:"4"}),c.default.createElement(g,{d:"M3.3,1.9l2.8,2.8c0.2,0.2,0.2,0.5,0,0.7L5.4,6.1c-0.2,0.2-0.5,0.2-0.7,0L1.9,3.3c-0.2-0.2-0.2-0.5,0-0.7l0.7-0.7C2.8,1.7,3.1,1.7,3.3,1.9z"}));case"focus":return c.default.createElement(b,null,c.default.createElement(v,{d:"M4,8 C1.790861,8 0,6.209139 0,4 C0,1.790861 1.790861,0 4,0 C6.209139,0 8,1.790861 8,4 C8,6.209139 6.209139,8 4,8 Z M4,6.66666667 C5.47275933,6.66666667 6.66666667,5.47275933 6.66666667,4 C6.66666667,2.52724067 5.47275933,1.33333333 4,1.33333333 C2.52724067,1.33333333 1.33333333,2.52724067 1.33333333,4 C1.33333333,5.47275933 2.52724067,6.66666667 4,6.66666667 Z M4,5.33333333 C3.26362033,5.33333333 2.66666667,4.73637967 2.66666667,4 C2.66666667,3.26362033 3.26362033,2.66666667 4,2.66666667 C4.73637967,2.66666667 5.33333333,3.26362033 5.33333333,4 C5.33333333,4.73637967 4.73637967,5.33333333 4,5.33333333 Z"}));case"offline":return c.default.createElement(b,null,c.default.createElement(y,{d:"M4,8 C6.209139,8 8,6.209139 8,4 C8,1.790861 6.209139,0 4,0 C1.790861,0 0,1.790861 0,4 C0,6.209139 1.790861,8 4,8 Z M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"}),c.default.createElement(x,{d:"M4,6 C5.1045695,6 6,5.1045695 6,4 C6,2.8954305 5.1045695,2 4,2 C2.8954305,2 2,2.8954305 2,4 C2,5.1045695 2.8954305,6 4,6 Z"}));case"online":return c.default.createElement(b,null,c.default.createElement(_,{cx:"4",cy:"4",r:"4"}));default:return null}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),l=r(o),i=n(3),u=r(i),s=(0,l.default)(["\n fill: ",";\n"],["\n fill: ",";\n"]);t.default=a;var d=n(11),c=r(d),f=n(19),p=r(f),m=n(20),b=function(e){return c.default.createElement("svg",(0,u.default)({height:"100%",version:"1.1",viewBox:"0 0 8 8",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e))},h=p.default.circle(s,(0,m.themed)({light:m.colors.R300,dark:m.colors.R200})),g=p.default.path(s,m.colors.background),v=p.default.path(s,m.colors.purple),y=p.default.path(s,(0,m.themed)({light:m.colors.N200,dark:m.colors.DN100})),x=p.default.path(s,(0,m.themed)({light:m.colors.N40,dark:m.colors.DN500})),_=p.default.circle(s,(0,m.themed)({light:m.colors.G300,dark:m.colors.G200}))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.appearance,n=e.size,r=e.title,a=128;return _.default.createElement(E.Svg,{appearance:t,size:n,viewBox:"0 0 "+a+" "+a,version:"1.1",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":r},!!r&&_.default.createElement("title",null,r),"circle"===t?_.default.createElement(S,null,_.default.createElement("circle",{cx:"64",cy:"64",r:"64"}),_.default.createElement("g",null,_.default.createElement("path",{d:"M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"}),_.default.createElement("path",{d:"M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"}))):_.default.createElement(S,null,_.default.createElement("rect",{x:"0",y:"0",width:a,height:a}),_.default.createElement("g",{transform:"translate(19.000000, 32.000000)"},_.default.createElement("path",{d:"M18.25,32.5 L54.5833333,32.5 L54.5833333,23.4166667 L18.25,23.4166667 L18.25,32.5 Z M9.16666667,18.8331166 C9.16666667,16.3479549 11.236581,14.3333333 13.7195662,14.3333333 L59.1137671,14.3333333 C61.6282641,14.3333333 63.6666667,16.3815123 63.6666667,18.8331166 L63.6666667,41.5833333 L9.16666667,41.5833333 L9.16666667,18.8331166 Z"}),_.default.createElement("path",{d:"M18.25,9.81383682 C18.25,4.7850061 22.3296003,0.708333333 27.3238554,0.708333333 L36.4261446,0.708333333 C41.4374965,0.708333333 45.5,4.76812825 45.5,9.81383682 L45.5,23.4166667 L18.25,23.4166667 L18.25,9.81383682 Z M36.4166667,9.81383682 C36.4166667,9.79803315 36.4184748,9.79303784 36.4207515,9.79166667 L27.3238554,9.79166667 C27.3447224,9.79166667 27.3333333,9.80308059 27.3333333,9.81383682 L27.3333333,14.3333333 L36.4166667,14.3333333 L36.4166667,9.81383682 Z"}),_.default.createElement("path",{d:"M11.4386532,55.2083333 L74.9953562,55.2083333 L79.5452242,41.5833333 L9.80449752,41.5833333 L11.4386532,55.2083333 Z M0.1048547,36.987541 C-0.192399775,34.5091405 1.5865717,32.5 4.09502839,32.5 L87.6264735,32.5 C90.1274401,32.5 91.5225656,34.393506 90.7231047,36.7875656 L82.9702846,60.004101 C82.1795402,62.3720582 79.5279445,64.2916667 76.9985338,64.2916667 L7.91963924,64.2916667 C5.41227673,64.2916667 3.14113571,62.3029555 2.84143097,59.8041257 L0.1048547,36.987541 Z"}))))}Object.defineProperty(t,"__esModule",{value:!0}),t.clearCache=void 0;var o=n(3),l=r(o),i=n(23),u=r(i),s=n(6),d=r(s),c=n(7),f=r(c),p=n(8),m=r(p),b=n(18),h=r(b),g=n(9),v=r(g),y=(0,h.default)(["\n & circle,\n & rect {\n fill: ",";\n }\n & g {\n fill: ",";\n }\n"],["\n & circle,\n & rect {\n fill: ",";\n }\n & g {\n fill: ",";\n }\n"]);t.DefaultImage=a;var x=n(11),_=r(x),C=n(19),k=r(C),O=n(20),E=n(24),S=k.default.g(y,(0,O.themed)({light:O.colors.N50,dark:O.colors.DN100}),O.colors.background),M={},I=(t.clearCache=function(){M={}},function(e){function t(){var n,r,a;(0,d.default)(this,t);for(var o=arguments.length,l=Array(o),i=0;i<o;i++)l[i]=arguments[i];return n=r=(0,f.default)(this,e.call.apply(e,[this].concat(l))),r.state={hasError:!1,isLoading:!!r.props.src},r.loadImage=function(){r._img=new Image,r._img.onload=r.handleLoadSuccess,r._img.onerror=r.handleLoadError,r._img.src=r.props.src},r.handleLoad=function(e){r._isMounted&&r.setState({hasError:e,isLoading:!1})},r.handleLoadSuccess=function(){"string"==typeof r.props.src&&(M[r.props.src]=!0),r.handleLoad(!1)},r.handleLoadError=function(){return r.handleLoad(!0)},a=n,(0,f.default)(r,a)}return(0,m.default)(t,e),t.prototype.componentDidMount=function(){this._isMounted=!0,this.loadImage()},t.prototype.componentWillReceiveProps=function(e){e.src&&this.props.src!==e.src&&this.setState({isLoading:!0})},t.prototype.componentDidUpdate=function(e){this.props.src&&this.props.src!==e.src&&this.loadImage()},t.prototype.componentWillUnmount=function(){this._isMounted=!1},t.prototype.render=function(){var e=this.props,t=e.alt,n=e.src,r=(0,u.default)(e,["alt","src"]),o=this.state,i=o.hasError,s=o.isLoading,d=!s&&(!n||i),c=!n||s&&!M[n]?null:{backgroundImage:"url("+n+")"};return d?_.default.createElement(a,{appearance:r.appearance,size:r.size,title:t}):_.default.createElement(E.Span,(0,l.default)({"aria-label":t,isLoading:s,role:"img",style:c,title:t},r))},t}(x.PureComponent));I.propTypes={alt:v.default.string,appearance:v.default.oneOf(["circle","square"]).isRequired,src:v.default.string,size:v.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]).isRequired},t.default=I},function(e,t){e.exports=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Svg=t.Span=void 0;var a=n(3),o=r(a),l=n(23),i=r(l),u=n(11),s=r(u),d=n(20),c=n(25),f=function(e){var t=e.isLoading;return t?(0,d.themed)({light:d.colors.N40,dark:d.colors.DN50}):"transparent"},p=function(e){var t=e.children,n=e.style,r=(e.isLoading,e.appearance,(0,i.default)(e,["children","style","isLoading","appearance"]));return s.default.createElement("span",(0,o.default)({style:(0,o.default)({backgroundColor:f(r),backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover",borderRadius:(0,c.getBorderRadius)(r),display:"flex",flex:1,height:"100%",width:"100%"},n)},r),t)};t.Span=p;var m=function(e){var t=e.children,n=(e.appearance,(0,i.default)(e,["children","appearance"]));return s.default.createElement("svg",(0,o.default)({style:{backgroundColor:f(n),borderRadius:(0,c.getBorderRadius)(n),height:"100%",width:"100%"}},n),t)};t.Svg=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{includeBorderWidth:!1},n=t.includeBorderWidth?f.BORDER_WIDTH[e.size]:0;return"circle"===e.appearance?"50%":f.AVATAR_RADIUS[e.size]+n+"px"}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{includeBorderWidth:!1,sizeOnly:!1},n=t.includeBorderWidth?2*f.BORDER_WIDTH[e.size]:0,r=f.AVATAR_SIZES[e.size]+n;return t.sizeOnly?r:"\n height: "+r+"px;\n width: "+r+"px;\n "}function l(e){var t="content-box",n=f.BORDER_WIDTH[e.size]+"px",r=Boolean(e.isInteractive||e.href||e.onClick),l=e.borderColor||c.colors.background,i="default",u="none",v=m,y=0,x="auto",_="static",C="translateZ(0)",k="0s";return r&&(e.isActive||e.isHover)&&(v=b,y=1),r&&e.isActive&&(C="scale(0.9)"),r&&e.isFocus&&!e.isActive&&(u="none",l=p,k=f.TRANSITION_DURATION),e.isDisabled&&(i="not-allowed",v=g,y=1,x="none"),r&&(i="pointer"),e.isSelected&&(v=h,y=1),e.stackIndex&&(_="relative"),(0,d.css)(s,o,l,a(e,{includeBorderWidth:!0}),n,t,i,u,x,_,C,k,v,a,n,n,y,n,n,f.TRANSITION_DURATION)}Object.defineProperty(t,"__esModule",{value:!0}),t.getSize=void 0;var i=n(18),u=r(i),s=(0,u.default)(["\n ",";\n align-items: stretch;\n background-color: ",";\n border: 0;\n border-radius: ",";\n padding: ",";\n box-sizing: ",";\n cursor: ",";\n display: flex;\n flex-direction: column;\n justify-content: center;\n outline: ",";\n overflow: hidden;\n pointer-events: ",";\n position: ",";\n transform: ",";\n transition: background-color "," ease-out;\n\n a &, button & {\n cursor: pointer;\n }\n\n &::after {\n background-color: ",";\n border-radius: ",";\n bottom: ",';\n content: " ";\n left: ',";\n opacity: ",";\n pointer-events: none;\n position: absolute;\n right: ",";\n top: ",";\n transition: opacity ",";\n }\n\n &::-moz-focus-inner {\n border: 0;\n margin: 0;\n padding: 0;\n }\n "],["\n ",";\n align-items: stretch;\n background-color: ",";\n border: 0;\n border-radius: ",";\n padding: ",";\n box-sizing: ",";\n cursor: ",";\n display: flex;\n flex-direction: column;\n justify-content: center;\n outline: ",";\n overflow: hidden;\n pointer-events: ",";\n position: ",";\n transform: ",";\n transition: background-color "," ease-out;\n\n a &, button & {\n cursor: pointer;\n }\n\n &::after {\n background-color: ",";\n border-radius: ",";\n bottom: ",';\n content: " ";\n left: ',";\n opacity: ",";\n pointer-events: none;\n position: absolute;\n right: ",";\n top: ",";\n transition: opacity ",";\n }\n\n &::-moz-focus-inner {\n border: 0;\n margin: 0;\n padding: 0;\n }\n "]);t.getBorderRadius=a,t.getAvatarDimensions=o,t.getInnerStyles=l;var d=n(19),c=n(20),f=n(14),p=c.colors.B200,m="transparent",b=c.colors.N70A,h=c.colors.N200A,g=(0,c.themed)({light:"rgba(255, 255, 255, 0.7)",dark:c.colors.DN80A});t.getSize=function(e){return f.AVATAR_SIZES[e.size]}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(6),o=r(a),l=n(7),i=r(l),u=n(8),s=r(u),d=n(9),c=r(d),f=n(11),p=r(f),m=n(17),b=n(27),h=r(b),g=function(e){function t(){return(0,o.default)(this,t),(0,i.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.borderColor,n=e.children,r=e.status,a=e.size;return p.default.createElement(m.Outer,{size:a,bgColor:t},n||r&&(0,h.default)(r))},t}(f.PureComponent);g.propTypes={borderColor:c.default.oneOfType([c.default.string,c.default.func]),children:c.default.any,status:c.default.oneOf(["approved","declined","locked"]),size:c.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"])},t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){switch(e){case"approved":return c.default.createElement(b,null,c.default.createElement(h,{cx:"4",cy:"4",r:"4"}),c.default.createElement(g,{d:"M2.47140452,3.52859548 C2.21105499,3.26824595 1.78894501,3.26824595 1.52859548,3.52859548 C1.26824595,3.78894501 1.26824595,4.21105499 1.52859548,4.47140452 L2.86192881,5.80473785 C3.12227834,6.06508738 3.54438833,6.06508738 3.80473785,5.80473785 L6.47140452,3.13807119 C6.73175405,2.87772166 6.73175405,2.45561167 6.47140452,2.19526215 C6.21105499,1.93491262 5.78894501,1.93491262 5.52859548,2.19526215 L3.33333333,4.39052429 L2.47140452,3.52859548 Z"}));case"declined":return c.default.createElement(b,null,c.default.createElement(v,{cx:"4",cy:"4",r:"4"}),c.default.createElement(y,{d:"M4.890661,4.0088336 L5.81806461,3.07802178 C6.06167933,2.83351177 6.06048933,2.43826992 5.81540668,2.19522442 C5.57032402,1.95217891 5.17415651,1.95336612 4.93054179,2.19787613 L4.00765946,3.12415007 L3.06906871,2.18377143 C2.82523777,1.93947602 2.42906937,1.93863765 2.18420182,2.18189887 C1.93933427,2.42516008 1.93849394,2.82040282 2.18232488,3.06469822 L3.12544091,4.00961077 L2.20275024,4.93569234 C1.95913552,5.18020236 1.96032551,5.5754442 2.20540817,5.81848971 C2.45049083,6.06153521 2.84665833,6.060348 3.09027306,5.81583799 L4.00844245,4.89429431 L4.9092123,5.79678001 C5.15304324,6.04107541 5.54921164,6.04191379 5.79407919,5.79865257 C6.03894674,5.55539135 6.03978708,5.16014862 5.79595614,4.91585321 L4.890661,4.0088336 Z"}));case"locked":return c.default.createElement(b,null,c.default.createElement(x,{cx:"4",cy:"4",r:"4"}),c.default.createElement(_,{d:"M4.13074827,1.21766493 L4.10368158,1.21766493 C3.36340745,1.21766493 2.76388015,1.80793503 2.76388015,2.5367787 L2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,2.54344089 C3.44054754,2.17901906 3.74031119,1.88388401 4.11044825,1.88388401 L4.1239816,1.88388401 C4.49411866,1.88388401 4.79388232,2.17901906 4.79388232,2.54344089 L4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,2.5367787 C5.47054971,1.80793503 4.8710224,1.21766493 4.13074827,1.21766493 M2.76388015,3.21632216 L3.44054754,3.21632216 L3.44054754,3.88254123 L2.76388015,3.88254123 L2.76388015,3.21632216 Z M4.79388232,3.21632216 L5.47054971,3.21632216 L5.47054971,3.88254123 L4.79388232,3.88254123 L4.79388232,3.21632216 Z M4.79401765,3.88254123 L3.44068287,3.88254123 L2.76401548,3.88254123 C2.39049508,3.88254123 2.08734809,4.18100738 2.08734809,4.54876031 L2.08734809,5.54808892 C2.08734809,6.10000287 2.53735205,6.54741753 3.09094491,6.54741753 L5.14375561,6.54741753 C5.69802683,6.54741753 6.14735243,6.10385072 6.14735243,5.54808892 L6.14735243,4.54876031 C6.14735243,4.18100738 5.84420544,3.88254123 5.47068504,3.88254123 L4.79401765,3.88254123 Z"}));default:return null}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),l=r(o),i=n(3),u=r(i),s=(0,l.default)(["\n fill: ",";\n"],["\n fill: ",";\n"]);t.default=a;var d=n(11),c=r(d),f=n(19),p=r(f),m=n(20),b=function(e){return c.default.createElement("svg",(0,u.default)({height:"100%",version:"1.1",viewBox:"0 0 8 8",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e))},h=p.default.circle(s,(0,m.themed)({light:m.colors.G400,dark:m.colors.G300})),g=p.default.path(s,m.colors.background),v=p.default.circle(s,(0,m.themed)({light:m.colors.R400,dark:m.colors.R300})),y=p.default.path(s,m.colors.background),x=p.default.circle(s,(0,m.themed)({light:m.colors.N40,dark:m.colors.DN800})),_=p.default.path(s,(0,m.themed)({light:m.colors.N500,dark:m.colors.DN30}))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.StatusWrapper=t.PresenceWrapper=t.Inner=void 0;var a=n(18),o=r(a),l=n(3),i=r(l),u=n(23),s=r(u),d=(0,o.default)(["\n ","\n"],["\n ","\n"]),c=n(11),f=r(c),p=n(19),m=r(p),b=n(14),h=n(25);t.default=function(e){var t=e.children,n=(0,s.default)(e,["children"]),r=(0,h.getAvatarDimensions)(n,{includeBorderWidth:!0,sizeOnly:!0})+"px";return f.default.createElement("div",{style:(0,i.default)({display:"inline-block",position:"relative",outline:0,width:r,height:r},n.stackIndex?{zIndex:n.stackIndex}:{})},t)};var g=(t.Inner=m.default.div(d,h.getInnerStyles),function(e){var t=e.appearance,n=e.size,r="square"===t?-(2*b.BORDER_WIDTH[n]):b.ICON_OFFSET[n],a=b.ICON_SIZES[n];return{bottom:r+"px",height:a+"px",right:r+"px",width:a+"px"}}),v=function(e){var t=e.children,n=(0,s.default)(e,["children"]);return f.default.createElement("span",{style:(0,i.default)({pointerEvents:"none",position:"absolute"},g(n))},t)};t.PresenceWrapper=v;var y=function(e){var t=e.appearance,n=e.size,r="square"===t?b.SQUARE_ICON_OFFSET[n]:b.ICON_OFFSET[n],a=b.ICON_SIZES[n];return{height:a+"px",right:r+"px",top:r+"px",width:a+"px"}},x=function(e){var t=e.children,n=(0,s.default)(e,["children"]);return f.default.createElement("span",{style:(0,i.default)({position:"absolute"},y(n))},t)};t.StatusWrapper=x},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(18),o=r(a),l=(0,o.default)(["translateY(","px) translateX(-50%)"],["translateY(","px) translateX(-50%)"]),i=(0,o.default)(["\n animation: "," 0.6s 0.1s backwards;\n background-color: ",";\n border-radius: ",";\n box-sizing: border-box;\n color: ",";\n font-size: ","px;\n left: 50%;\n line-height: ",";\n margin-top: ","px;\n max-width: ","px;\n overflow: hidden;\n padding: ","px ","px;\n pointer-events: none;\n position: absolute;\n text-overflow: ellipsis;\n transform: translateX(-50%);\n white-space: nowrap;\n z-index: 1;\n"],["\n animation: "," 0.6s 0.1s backwards;\n background-color: ",";\n border-radius: ",";\n box-sizing: border-box;\n color: ",";\n font-size: ","px;\n left: 50%;\n line-height: ",";\n margin-top: ","px;\n max-width: ","px;\n overflow: hidden;\n padding: ","px ","px;\n pointer-events: none;\n position: absolute;\n text-overflow: ellipsis;\n transform: translateX(-50%);\n white-space: nowrap;\n z-index: 1;\n"]),u=(0,o.default)(["",""],["",""]),s=n(19),d=r(s),c=n(15),f=n(20),p=c.akAnimationMixins.createBold,m=c.akAnimationMixins.interpolate,b=c.akGridSizeUnitless/2,h=3*b,g=4*b/h,v=105*b,y=2*b,x={property:"transform",value:m(l,function(e){return e}),deltas:[{from:-y,to:0}]},_={property:"opacity",deltas:[{from:0,to:1}]},C=(0,f.themed)({light:f.colors.N800,dark:f.colors.DN0}),k=(0,f.themed)({light:f.colors.N0,dark:f.colors.DN600}),O=d.default.div(i,(0,s.keyframes)(u,p([x,_])),C,c.akBorderRadius,k,h,g,b,v,b/2,2*b);t.default=O},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(0,i.default)(e).reduce(function(t,r){return n.indexOf(r)===-1&&(t[r]=e[r]),t},{})}function o(e,t){var n=t.displayName||t.name;return n?e+"("+n+")":e}Object.defineProperty(t,"__esModule",{value:!0});var l=n(13),i=r(l);t.omit=a,t.getDisplayName=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(21);Object.defineProperty(t,"getPresenceSVG",{enumerable:!0,get:function(){return r(a).default}});var o=n(32);Object.defineProperty(t,"getProps",{enumerable:!0,get:function(){return r(o).default}});var l=n(27);Object.defineProperty(t,"getStatusSVG",{enumerable:!0,get:function(){return r(l).default}});var i=n(33);Object.defineProperty(t,"getStyledAvatar",{enumerable:!0,get:function(){return r(i).default}});var u=n(36);Object.defineProperty(t,"getStyledAvatarItem",{enumerable:!0,get:function(){return r(u).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.props,n=(0,l.default)({},i(t),u(t));return t.component?(0,l.default)({},n,t):t.href?t.isDisabled?n:(0,l.default)({},n,s(t)):t.onClick?(0,l.default)({},n,d(t)):n}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),l=r(o);t.default=a;var i=function(e){var t=e.appearance,n=e.borderColor,r=e.groupAppearance,a=e.isActive,o=e.isDisabled,l=e.isFocus,i=e.isHover,u=e.isSelected,s=e.size,d=e.stackIndex;return{appearance:t,borderColor:n,groupAppearance:r,isActive:a,isDisabled:o,isFocus:l,isHover:i,isSelected:u,size:s,stackIndex:d}},u=function(e){var t=e.onBlur,n=e.onClick,r=e.onFocus,a=e.onKeyDown,o=e.onKeyUp,l=e.onMouseDown,i=e.onMouseEnter,u=e.onMouseLeave,s=e.onMouseUp,d=e.tabIndex;return{onBlur:t,onClick:n,onFocus:r,onKeyDown:a,onKeyUp:o,onMouseDown:l,onMouseEnter:i,onMouseLeave:u,onMouseUp:s,tabIndex:d}},s=function(e){var t=e.href,n=e.target,r="_blank"===n?"noopener noreferrer":null;return{href:t,rel:r,target:n}},d=function(e){var t=e.id,n=e.isDisabled;return{id:t,type:"button",disabled:n}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(34),o=r(a),l=n(25);t.default=(0,o.default)(l.getInnerStyles)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0 | ||
});var a=n(18),o=r(a),l=(0,o.default)(["&,&:hover,&:active,&:focus{","}"],["&,&:hover,&:active,&:focus{","}"]),i=(0,o.default)(["",""],["",""]),u=(0,o.default)(["a&{ "," }"],["a&{ "," }"]),s=n(19),d=r(s),c=n(35),f=r(c);t.default=function(e){var t=(0,d.default)(f.default)(l,e),n=d.default.button(i,e),r=d.default.a(u,e),a=d.default.span(i,e);return function(e){var o=e.component,l=e.href,i=e.onClick;return o?t:l?r:i?n:a}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=(e.appearance,e.avatar,e.borderColor,e.component),n=(e.enableTooltip,e.groupAppearance,e.innerRef,e.isActive,e.isDisabled,e.isFocus,e.isHover,e.isSelected,e.primaryText,e.secondaryText,e.stackIndex,(0,l.default)(e,["appearance","avatar","borderColor","component","enableTooltip","groupAppearance","innerRef","isActive","isDisabled","isFocus","isHover","isSelected","primaryText","secondaryText","stackIndex"]));return u.default.createElement(t,n)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(23),l=r(o);t.default=a;var i=n(11),u=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(34),o=r(a),l=n(37);t.default=(0,o.default)(l.getStyles)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.href,n=e.isActive,r=e.isHover,a=e.isSelected,o=e.onClick,l=t||o,i=h.colors.background;return l&&(r||a)&&(i=v),l&&n&&(i=g),i}function o(e){var t=e.href,n=e.isActive,r=e.isDisabled,o=e.isFocus,l=e.onClick,i=t||l,s="transparent",d="auto",c=1,f="none",p="auto";return i&&o&&!n&&(f="none",s=y),r&&(d="not-allowed",c=.75,p="none"),i&&(d="pointer"),(0,m.css)(u,a,h.borderRadius,s,d,c,f,h.math.divide(h.gridSize,2),p)}Object.defineProperty(t,"__esModule",{value:!0}),t.SecondaryText=t.PrimaryText=t.Content=void 0;var l=n(18),i=r(l),u=(0,i.default)(["\n align-items: center;\n background-color: ",";\n border-radius: ","px;\n border: 2px solid ",";\n box-sizing: content-box;\n color: inherit;\n cursor: ",";\n display: flex;\n font-size: inherit;\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n opacity: ",";\n outline: ",";\n margin: 0;\n padding: ","px;\n pointer-events: ",";\n text-align: left;\n text-decoration: none;\n width: 100%;\n "],["\n align-items: center;\n background-color: ",";\n border-radius: ","px;\n border: 2px solid ",";\n box-sizing: content-box;\n color: inherit;\n cursor: ",";\n display: flex;\n font-size: inherit;\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n opacity: ",";\n outline: ",";\n margin: 0;\n padding: ","px;\n pointer-events: ",";\n text-align: left;\n text-decoration: none;\n width: 100%;\n "]),s=(0,i.default)(["\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"],["\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"]),d=(0,i.default)(["\n max-width: 100%;\n min-width: 0;\n"],["\n max-width: 100%;\n min-width: 0;\n"]),c=(0,i.default)(["\n ","\n flex: 1;\n line-height: 1.4;\n padding-left: ","px;\n"],["\n ","\n flex: 1;\n line-height: 1.4;\n padding-left: ","px;\n"]),f=(0,i.default)(["\n ","\n color: ",";\n"],["\n ","\n color: ",";\n"]),p=(0,i.default)(["\n ","\n color: ",";\n font-size: 0.85em;\n"],["\n ","\n color: ",";\n font-size: 0.85em;\n"]);t.getBackgroundColor=a,t.getStyles=o;var m=n(19),b=r(m),h=n(20),g=(0,h.themed)({light:h.colors.B50,dark:h.colors.DN40}),v=(0,h.themed)({light:h.colors.N30,dark:h.colors.DN50}),y=(0,h.themed)({light:h.colors.B200,dark:h.colors.B75}),x=function(e){return e.truncate&&(0,m.css)(s)},_=function(e){return e.truncate&&(0,m.css)(d)};t.Content=b.default.div(c,_,h.gridSize),t.PrimaryText=b.default.div(f,x,h.colors.text),t.SecondaryText=b.default.div(p,x,h.colors.subtleText)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(39);Object.defineProperty(t,"mapProps",{enumerable:!0,get:function(){return r(a).default}});var o=n(41);Object.defineProperty(t,"withPseudoState",{enumerable:!0,get:function(){return r(o).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return function(t){var n,r;return r=n=function(n){function r(){var e,t,a;(0,f.default)(this,r);for(var o=arguments.length,l=Array(o),i=0;i<o;i++)l[i]=arguments[i];return e=t=(0,m.default)(this,n.call.apply(n,[this].concat(l))),t.blur=function(e){t.component.blur&&t.component.blur(e)},t.focus=function(e){t.component.focus&&t.component.focus(e)},a=e,(0,m.default)(t,a)}return(0,h.default)(r,n),r.prototype.render=function(){var n=this,r=(0,d.default)({},this.props,(0,u.default)(e).reduce(function(t,r){return(0,d.default)({},t,(0,l.default)({},r,e[r](n.props)))},{}));return v.default.createElement(t,(0,d.default)({ref:function(e){return n.component=e}},r))},r}(g.Component),n.displayName=(0,y.getDisplayName)("mapProps",t),n.DecoratedComponent=t,r}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(40),l=r(o),i=n(13),u=r(i),s=n(3),d=r(s),c=n(6),f=r(c),p=n(7),m=r(p),b=n(8),h=r(b);t.default=a;var g=n(11),v=r(g),y=n(30)},function(e,t){e.exports=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.href,n=e.isActive,r=e.isFocus,a=e.isHover,o=e.isInteractive,l=e.onClick;return{isActive:n,isFocus:r,isHover:a,isInteractive:!!(t||o||l)}}function o(e){var t,n,r;return n=t=function(t){function n(){var e,a,o;(0,s.default)(this,n);for(var l=arguments.length,i=Array(l),u=0;u<l;u++)i[u]=arguments[u];return e=a=(0,c.default)(this,t.call.apply(t,[this].concat(i))),r.call(a),o=e,(0,c.default)(a,o)}return(0,p.default)(n,t),n.prototype.componentWillMount=function(){var e=this.props,t=e.href,n=e.isInteractive,r=e.onClick;(t||n||r)&&(this.actionKeys=r||n?["Enter"," "]:["Enter"])},n.prototype.render=function(){var t=this,n=this.getProps();return b.default.createElement(e,(0,i.default)({ref:function(e){return t.component=e}},this.state,n))},n}(m.Component),t.displayName=(0,h.getDisplayName)("withPseudoState",e),r=function(){var e=this;this.state=a(this.props),this.blur=function(t){e.component.blur&&e.component.blur(t)},this.focus=function(t){e.component.focus&&e.component.focus(t)},this.onBlur=function(){return e.setState({isActive:!1,isFocus:!1})},this.onFocus=function(){return e.setState({isFocus:!0})},this.onMouseLeave=function(){return e.setState({isActive:!1,isHover:!1})},this.onMouseEnter=function(){return e.setState({isHover:!0})},this.onMouseUp=function(){return e.setState({isActive:!1})},this.onMouseDown=function(){return e.setState({isActive:!0})},this.onKeyDown=function(t){e.actionKeys.includes(t.key)&&e.setState({isActive:!0})},this.onKeyUp=function(t){e.actionKeys.includes(t.key)&&e.setState({isActive:!1})},this.getProps=function(){var t=e.state.isInteractive,n=h.omit.apply(void 0,[e.props].concat(g)),r=e;return t&&g.forEach(function(t){e.props[t]?n[t]=function(){var n;r[t].apply(r,arguments),(n=e.props)[t].apply(n,arguments)}:n[t]=r[t]}),n}},n}Object.defineProperty(t,"__esModule",{value:!0});var l=n(3),i=r(l),u=n(6),s=r(u),d=n(7),c=r(d),f=n(8),p=r(f);t.default=o;var m=n(11),b=r(m),h=n(30),g=["onBlur","onFocus","onKeyDown","onKeyUp","onMouseDown","onMouseEnter","onMouseLeave","onMouseUp"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),o=r(a),l=n(6),i=r(l),u=n(7),s=r(u),d=n(8),c=r(d),f=n(43),p=r(f),m=n(9),b=r(m),h=n(11),g=r(h),v=n(44),y=r(v),x=n(2),_=r(x),C=n(45),k=n(46),O=r(k),E={grid:C.Grid,stack:C.Stack},S={grid:11,stack:5},M=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,c.default)(t,e),t.prototype.renderMoreDropdown=function(e,t){var n=this.props,r=n.appearance,a=n.data,l=n.borderColor,i=n.onMoreClick,u=n.onAvatarClick,s=n.size,d=n.boundariesElement;if(t<=e)return null;var c=function(n){return g.default.createElement(O.default,(0,o.default)({borderColor:l,count:t-e,isInteractive:!0,isStack:"stack"===r,size:s},n))};if("function"==typeof i)return g.default.createElement(c,{onClick:i});var f=a.slice(e).map(function(e){return{content:e.name,elemBefore:g.default.createElement(_.default,(0,o.default)({},e,{size:"small",borderColor:"transparent"})),href:e.href,rel:e.target?"noopener noreferrer":null,target:e.target}});return g.default.createElement(y.default,{items:[{items:f}],onItemActivated:u,position:"bottom right",boundariesElement:d,shouldFlip:!0},g.default.createElement(c,null))},t.prototype.render=function(){var e=this.props,t=e.avatar,n=e.appearance,r=e.borderColor,a=e.data,l=e.maxCount,i=e.onAvatarClick,u=e.size,s=0===l?S[n]:l,d=a.length,c=E[n],f=d>s?s-1:s,p=a.slice(0,f).map(function(e,a){return g.default.createElement(t,(0,o.default)({},e,{borderColor:r,groupAppearance:n,index:a,key:a,onClick:e.onClick||i,size:u,stackIndex:s-a}))});return g.default.createElement(c,{size:u},p,this.renderMoreDropdown(+f,d))},t}(h.Component);M.propTypes={appearance:b.default.oneOf(["grid","stack"]).isRequired,avatar:b.default.any.isRequired,borderColor:b.default.string,data:b.default.arrayOf((0,p.default)(b.default.shape({appearance:b.default.oneOf(["circle","square"]),borderColor:b.default.oneOfType([b.default.string,b.default.func]),component:b.default.any,enableTooltip:b.default.bool,href:b.default.string,isActive:b.default.bool,isDisabled:b.default.bool,isFocus:b.default.bool,isHover:b.default.bool,isSelected:b.default.bool,name:b.default.string,presence:b.default.oneOfType([b.default.oneOf(["online","busy","focus","offline"]),b.default.any]),size:b.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]).isRequired,src:b.default.string,status:b.default.oneOf(["approved","declined","locked"]),stackIndex:b.default.number,tabIndex:b.default.number,target:b.default.oneOf(["_blank","_self","_top","_parent"])}),b.default.shape({onClick:b.default.func}))).isRequired,maxCount:b.default.number.isRequired,onAvatarClick:b.default.func,onMoreClick:b.default.func,size:b.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]),boundariesElement:b.default.oneOf(["viewport","window","scrollParent"])},M.defaultProps={appearance:"stack",avatar:_.default,maxCount:0,size:"medium"},t.default=M},function(e,t){e.exports=h},function(e,t){e.exports=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Stack=t.Grid=void 0;var a=n(18),o=r(a),l=(0,o.default)(["\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n line-height: 1;\n margin-left: -",";\n margin-right: -",";\n\n > * {\n margin-bottom: ",";\n padding-left: ",";\n padding-right: ",";\n }\n"],["\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n line-height: 1;\n margin-left: -",";\n margin-right: -",";\n\n > * {\n margin-bottom: ",";\n padding-left: ",";\n padding-right: ",";\n }\n"]),i=(0,o.default)(["\n display: flex;\n line-height: 1;\n\n > * {\n margin-right: -","px;\n }\n"],["\n display: flex;\n line-height: 1;\n\n > * {\n margin-right: -","px;\n }\n"]),u=n(19),s=r(u),d=n(15),c=n(14),f=d.akGridSizeUnitless/2,p=f+"px";t.Grid=s.default.div(l,p,p,d.akGridSize,p,p),t.Stack=s.default.div(i,function(e){return 2*c.BORDER_WIDTH[e.size]+f})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),o=r(a),l=n(6),i=r(l),u=n(7),s=r(u),d=n(8),c=r(d),f=n(9),p=r(f),m=n(11),b=r(m),h=n(47),g=n(38),v=n(31),y=99,x=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,c.default)(t,e),t.prototype.render=function(){var e=this.props.count,t=(0,v.getProps)(this),n=this.props,r=n.appearance,a=n.isActive,l=n.isFocus,i=n.isHover,u=n.size,s={appearance:r,isActive:a,isFocus:l,isHover:i,size:u},d=e>y?y:e;return b.default.createElement(h.Outer,(0,o.default)({},t,{isInteractive:!0}),b.default.createElement(h.Inner,s,"+",d))},t}(m.Component);x.propTypes={borderColor:p.default.string,count:p.default.number.isRequired,isStack:p.default.bool,onClick:p.default.func,size:p.default.oneOf(["xsmall","small","medium","large","xlarge","xxlarge"]),appearance:p.default.string,isActive:p.default.bool,isFocus:p.default.bool,isHover:p.default.bool},x.defaultProps={appearance:"circle"},t.default=(0,g.withPseudoState)(x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Inner=t.Outer=void 0;var a=n(18),o=r(a),l=(0,o.default)(["\n ","\n background: 0;\n"],["\n ","\n background: 0;\n"]),i=(0,o.default)(["\n background-color: ",";\n border-radius: ",";\n align-items: center;\n box-shadow: 0 0 0 "," ",";\n color: ",";\n cursor: pointer;\n display: flex;\n flex-basis: 100%;\n flex-grow: 1;\n font-size: ","px;\n justify-content: center;\n transition: box-shadow 200ms;\n"],["\n background-color: ",";\n border-radius: ",";\n align-items: center;\n box-shadow: 0 0 0 "," ",";\n color: ",";\n cursor: pointer;\n display: flex;\n flex-basis: 100%;\n flex-grow: 1;\n font-size: ","px;\n justify-content: center;\n transition: box-shadow 200ms;\n"]),u=n(19),s=r(u),d=n(20),c=n(25),f=n(14),p=function(e){return e.isFocus&&!e.isActive?f.BORDER_WIDTH[e.size]+"px":0};t.Outer=s.default.button(l,c.getInnerStyles),t.Inner=s.default.span(i,(0,d.themed)({light:d.colors.N40,dark:d.colors.DN70}),c.getBorderRadius,p,d.colors.B200,(0,d.themed)({light:d.colors.N500,dark:d.colors.DN400}),function(e){return f.EXCESS_INDICATOR_FONT_SIZE[e.size]})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),o=r(a),l=n(5),i=r(l),u=n(6),s=r(u),d=n(7),c=r(d),f=n(8),p=r(f),m=n(9),b=r(m),h=n(11),g=r(h),v=n(12),y=n(30),x=n(37),_=n(31),C=n(38),k=function(e){function t(){var n,r,a;(0,s.default)(this,t);for(var o=arguments.length,l=Array(o),u=0;u<o;u++)l[u]=arguments[u];return n=r=(0,c.default)(this,e.call.apply(e,[this].concat(l))),r.blur=function(e){r.node.blur&&r.node.blur(e)},r.focus=function(e){r.node.focus&&r.node.focus(e)},r.guardedClick=function(e){var t=r.props,n=t.isDisabled,a=t.onClick;if(!n&&"function"==typeof a){var o=y.omit.apply(void 0,[r.props].concat((0,i.default)(v.propsOmittedFromClickData)));a({item:o,event:e})}},a=n,(0,c.default)(r,a)}return(0,p.default)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.avatar,r=t.enableTextTruncate,a=t.onClick,l=t.primaryText,i=t.secondaryText,u=(0,x.getBackgroundColor)(this.props),s=(0,_.getProps)(this),d=(0,_.getStyledAvatarItem)(this.props);return s.onClick=a&&this.guardedClick,g.default.createElement(d,(0,o.default)({innerRef:function(t){return e.node=t}},s),(0,h.cloneElement)(n,{borderColor:u}),g.default.createElement(x.Content,{truncate:r},g.default.createElement(x.PrimaryText,{truncate:r},l),g.default.createElement(x.SecondaryText,{truncate:r},i)))},t}(h.Component);k.propTypes={avatar:b.default.any.isRequired,component:b.default.any,href:b.default.string,isActive:b.default.bool,isDisabled:b.default.bool,isFocus:b.default.bool,isHover:b.default.bool,isSelected:b.default.bool,onClick:b.default.func,primaryText:b.default.string,secondaryText:b.default.string,target:b.default.oneOf(["_blank","_self","_top","_parent"]),enableTextTruncate:b.default.bool},k.defaultProps={enableTextTruncate:!0},t.default=(0,C.withPseudoState)(k)}])}); |
@@ -17,7 +17,6 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
import Outer, { PresenceWrapper, StatusWrapper } from '../styled/Avatar'; | ||
import { getInnerStyles } from '../styled/utils'; | ||
import Tooltip from '../styled/Tooltip'; | ||
import { omit } from '../utils'; | ||
import { getProps, getStyledComponent } from '../helpers'; | ||
import { getProps, getStyledAvatar } from '../helpers'; | ||
import { mapProps, withPseudoState } from '../hoc'; | ||
@@ -31,2 +30,8 @@ | ||
var warn = function warn(message) { | ||
if (process.env.NODE_ENV !== 'production') { | ||
console.warn(message); // eslint-disable-line no-console | ||
} | ||
}; | ||
var Avatar = function (_Component) { | ||
@@ -44,3 +49,3 @@ _inherits(Avatar, _Component); | ||
return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.cache = {}, _this.blur = function (e) { | ||
return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.blur = function (e) { | ||
if (_this.node.blur) _this.node.blur(e); | ||
@@ -73,7 +78,7 @@ }, _this.focus = function (e) { | ||
if (!validIconSizes.includes(size) && (showPresence || showStatus)) { | ||
console.warn('Avatar size "' + String(size) + '" does NOT support ' + (showPresence ? 'presence' : 'status')); | ||
warn('Avatar size "' + String(size) + '" does NOT support ' + (showPresence ? 'presence' : 'status')); | ||
return null; | ||
} | ||
if (showPresence && showStatus) { | ||
console.warn('Avatar supports `presence` OR `status` properties, not both.'); | ||
warn('Avatar supports `presence` OR `status` properties, not both.'); | ||
return null; | ||
@@ -117,22 +122,2 @@ } | ||
Avatar.prototype.getCachedComponent = function getCachedComponent(type) { | ||
if (!this.cache[type]) { | ||
this.cache[type] = getStyledComponent[type](getInnerStyles); | ||
} | ||
return this.cache[type]; | ||
}; | ||
Avatar.prototype.getStyledComponent = function getStyledComponent() { | ||
var _props = this.props, | ||
component = _props.component, | ||
href = _props.href, | ||
onClick = _props.onClick; | ||
var node = 'span'; | ||
if (component) node = 'custom';else if (href) node = 'link';else if (onClick) node = 'button'; | ||
return this.getCachedComponent(node); | ||
}; | ||
// expose blur/focus to consumers via ref | ||
@@ -154,11 +139,11 @@ | ||
var _props2 = this.props, | ||
appearance = _props2.appearance, | ||
enableTooltip = _props2.enableTooltip, | ||
isHover = _props2.isHover, | ||
onClick = _props2.onClick, | ||
name = _props2.name, | ||
size = _props2.size, | ||
src = _props2.src, | ||
stackIndex = _props2.stackIndex; | ||
var _props = this.props, | ||
appearance = _props.appearance, | ||
enableTooltip = _props.enableTooltip, | ||
isHover = _props.isHover, | ||
onClick = _props.onClick, | ||
name = _props.name, | ||
size = _props.size, | ||
src = _props.src, | ||
stackIndex = _props.stackIndex; | ||
@@ -172,3 +157,3 @@ // Since we augment the onClick handler below we can't use the | ||
// provide element type based on props | ||
var Inner = this.getStyledComponent(); | ||
var Inner = getStyledAvatar(this.props); | ||
@@ -175,0 +160,0 @@ // augment the onClick handler |
@@ -9,3 +9,3 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
var _templateObject = _taggedTemplateLiteral(['\n & circle,\n & rect {\n fill: ', ';\n }\n & g {\n fill: ', '\n }\n'], ['\n & circle,\n & rect {\n fill: ', ';\n }\n & g {\n fill: ', '\n }\n']); | ||
var _templateObject = _taggedTemplateLiteral(['\n & circle,\n & rect {\n fill: ', ';\n }\n & g {\n fill: ', ';\n }\n'], ['\n & circle,\n & rect {\n fill: ', ';\n }\n & g {\n fill: ', ';\n }\n']); | ||
@@ -15,3 +15,3 @@ import React, { PureComponent } from 'react'; | ||
import { colors, themed } from '@atlaskit/theme'; | ||
import { HiddenImage, Span, Svg } from '../styled/AvatarImage'; | ||
import { Span, Svg } from '../styled/AvatarImage'; | ||
@@ -61,2 +61,8 @@ | ||
var cache = {}; | ||
export var clearCache = function clearCache() { | ||
cache = {}; | ||
}; | ||
var AvatarImage = function (_PureComponent) { | ||
@@ -77,2 +83,7 @@ _inherits(AvatarImage, _PureComponent); | ||
isLoading: !!_this.props.src | ||
}, _this.loadImage = function () { | ||
_this._img = new Image(); | ||
_this._img.onload = _this.handleLoadSuccess; | ||
_this._img.onerror = _this.handleLoadError; | ||
_this._img.src = _this.props.src; | ||
}, _this.handleLoad = function (hasError) { | ||
@@ -83,3 +94,6 @@ if (_this._isMounted) { | ||
}, _this.handleLoadSuccess = function () { | ||
return _this.handleLoad(false); | ||
if (typeof _this.props.src === 'string') { | ||
cache[_this.props.src] = true; | ||
} | ||
_this.handleLoad(false); | ||
}, _this.handleLoadError = function () { | ||
@@ -93,2 +107,3 @@ return _this.handleLoad(true); | ||
this._isMounted = true; | ||
this.loadImage(); | ||
}; | ||
@@ -104,2 +119,8 @@ // handle case where `src` is modified after mount | ||
AvatarImage.prototype.componentDidUpdate = function componentDidUpdate(prevProps) { | ||
if (this.props.src && this.props.src !== prevProps.src) { | ||
this.loadImage(); | ||
} | ||
}; | ||
AvatarImage.prototype.componentWillUnmount = function componentWillUnmount() { | ||
@@ -120,4 +141,3 @@ this._isMounted = false; | ||
var showDefault = !isLoading && (!src || hasError); | ||
var spanStyle = src && !isLoading ? { backgroundImage: 'url(' + src + ')' } : null; | ||
var spanStyle = src && (!isLoading || cache[src]) ? { backgroundImage: 'url(' + src + ')' } : null; | ||
return showDefault ? React.createElement(DefaultImage, { | ||
@@ -127,18 +147,9 @@ appearance: props.appearance, | ||
title: alt | ||
}) : React.createElement( | ||
Span, | ||
_extends({ | ||
'aria-label': alt, | ||
isLoading: isLoading, | ||
role: 'img', | ||
style: spanStyle, | ||
title: alt | ||
}, props), | ||
React.createElement(HiddenImage, { | ||
'aria-hidden': 'true', | ||
onLoad: this.handleLoadSuccess, | ||
onError: this.handleLoadError, | ||
src: src | ||
}) | ||
); | ||
}) : React.createElement(Span, _extends({ | ||
'aria-label': alt, | ||
isLoading: isLoading, | ||
role: 'img', | ||
style: spanStyle, | ||
title: alt | ||
}, props)); | ||
}; | ||
@@ -145,0 +156,0 @@ |
@@ -11,4 +11,4 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
import { omit } from '../utils'; | ||
import { getBackgroundColor, getStyles, Content, PrimaryText, SecondaryText } from '../styled/AvatarItem'; | ||
import { getProps, getStyledComponent } from '../helpers'; | ||
import { getBackgroundColor, Content, PrimaryText, SecondaryText } from '../styled/AvatarItem'; | ||
import { getProps, getStyledAvatarItem } from '../helpers'; | ||
import { withPseudoState } from '../hoc'; | ||
@@ -30,3 +30,3 @@ | ||
return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.cache = {}, _this.blur = function (e) { | ||
return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.blur = function (e) { | ||
if (_this.node.blur) _this.node.blur(e); | ||
@@ -50,22 +50,2 @@ }, _this.focus = function (e) { | ||
AvatarItem.prototype.getCachedComponent = function getCachedComponent(type) { | ||
if (!this.cache[type]) { | ||
this.cache[type] = getStyledComponent[type](getStyles); | ||
} | ||
return this.cache[type]; | ||
}; | ||
AvatarItem.prototype.getStyledComponent = function getStyledComponent() { | ||
var _props = this.props, | ||
component = _props.component, | ||
href = _props.href, | ||
onClick = _props.onClick; | ||
var node = 'span'; | ||
if (component) node = 'custom';else if (href) node = 'link';else if (onClick) node = 'button'; | ||
return this.getCachedComponent(node); | ||
}; | ||
// expose blur/focus to consumers via ref | ||
@@ -80,8 +60,8 @@ | ||
var _props2 = this.props, | ||
avatar = _props2.avatar, | ||
enableTextTruncate = _props2.enableTextTruncate, | ||
onClick = _props2.onClick, | ||
primaryText = _props2.primaryText, | ||
secondaryText = _props2.secondaryText; | ||
var _props = this.props, | ||
avatar = _props.avatar, | ||
enableTextTruncate = _props.enableTextTruncate, | ||
onClick = _props.onClick, | ||
primaryText = _props.primaryText, | ||
secondaryText = _props.secondaryText; | ||
@@ -96,3 +76,3 @@ // maintain the illusion of a mask around presence/status | ||
// provide element type based on props | ||
var Item = this.getStyledComponent(); | ||
var StyledComponent = getStyledAvatarItem(this.props); | ||
@@ -103,3 +83,3 @@ // augment the onClick handler | ||
return React.createElement( | ||
Item, | ||
StyledComponent, | ||
_extends({ innerRef: function innerRef(r) { | ||
@@ -106,0 +86,0 @@ return _this2.node = r; |
@@ -1,4 +0,5 @@ | ||
export { default as getStyledComponent } from './getStyledComponent'; | ||
export { default as getPresenceSVG } from './getPresenceSVG'; | ||
export { default as getProps } from './getProps'; | ||
export { default as getStatusSVG } from './getStatusSVG'; | ||
export { default as getStatusSVG } from './getStatusSVG'; | ||
export { default as getStyledAvatar } from './getStyledAvatar'; | ||
export { default as getStyledAvatarItem } from './getStyledAvatarItem'; |
import _taggedTemplateLiteral from 'babel-runtime/helpers/taggedTemplateLiteral'; | ||
import _extends from 'babel-runtime/helpers/extends'; | ||
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; | ||
var _templateObject = _taggedTemplateLiteral(['\n ', '\n display: inline-block;\n position: relative;\n outline: 0;\n ', '\n'], ['\n ', '\n display: inline-block;\n position: relative;\n outline: 0;\n ', '\n']), | ||
_templateObject2 = _taggedTemplateLiteral(['\n ', '\n'], ['\n ', '\n']), | ||
_templateObject3 = _taggedTemplateLiteral(['\n ', '\n pointer-events: none;\n position: absolute;\n'], ['\n ', '\n pointer-events: none;\n position: absolute;\n']), | ||
_templateObject4 = _taggedTemplateLiteral(['\n ', '\n position: absolute;\n'], ['\n ', '\n position: absolute;\n']); | ||
var _templateObject = _taggedTemplateLiteral(['\n ', '\n'], ['\n ', '\n']); | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
@@ -12,18 +12,31 @@ import { BORDER_WIDTH, ICON_OFFSET, SQUARE_ICON_OFFSET, ICON_SIZES } from './constants'; | ||
// ================================= | ||
// OUTER WRAPPER | ||
// eslint-disable-next-line react/prop-types | ||
export default (function (_ref) { | ||
var children = _ref.children, | ||
otherProps = _objectWithoutProperties(_ref, ['children']); | ||
// OUTER WRAPPER | ||
export default styled.div(_templateObject, function (props) { | ||
return getAvatarDimensions(props, { includeBorderWidth: true }); | ||
}, function (p) { | ||
return p.stackIndex && 'z-index: ' + p.stackIndex + ';'; | ||
var size = getAvatarDimensions(otherProps, { includeBorderWidth: true, sizeOnly: true }) + 'px'; | ||
return React.createElement( | ||
'div', | ||
{ | ||
style: _extends({ | ||
display: 'inline-block', | ||
position: 'relative', | ||
outline: 0, | ||
width: size, | ||
height: size | ||
}, otherProps.stackIndex ? { zIndex: otherProps.stackIndex } : {}) | ||
}, | ||
children | ||
); | ||
}); | ||
// INNER WRAPPER | ||
export var Inner = styled.div(_templateObject2, getInnerStyles); | ||
export var Inner = styled.div(_templateObject, getInnerStyles); | ||
// PRESENCE WRAPPER | ||
var getPresenceLayout = function getPresenceLayout(_ref) { | ||
var appearance = _ref.appearance, | ||
size = _ref.size; | ||
var getPresenceLayout = function getPresenceLayout(_ref2) { | ||
var appearance = _ref2.appearance, | ||
size = _ref2.size; | ||
@@ -33,10 +46,32 @@ var presencePosition = appearance === 'square' ? -(BORDER_WIDTH[size] * 2) : ICON_OFFSET[size]; | ||
return '\n bottom: ' + presencePosition + 'px;\n height: ' + presenceSize + 'px;\n right: ' + presencePosition + 'px;\n width: ' + presenceSize + 'px;\n '; | ||
return { | ||
bottom: presencePosition + 'px', | ||
height: presenceSize + 'px', | ||
right: presencePosition + 'px', | ||
width: presenceSize + 'px' | ||
}; | ||
}; | ||
export var PresenceWrapper = styled.span(_templateObject3, getPresenceLayout); | ||
// eslint-disable-next-line react/prop-types | ||
var PresenceWrapper = function PresenceWrapper(_ref3) { | ||
var children = _ref3.children, | ||
otherProps = _objectWithoutProperties(_ref3, ['children']); | ||
return React.createElement( | ||
'span', | ||
{ | ||
style: _extends({ | ||
pointerEvents: 'none', | ||
position: 'absolute' | ||
}, getPresenceLayout(otherProps)) | ||
}, | ||
children | ||
); | ||
}; | ||
// STATUS WRAPPER | ||
var getStatusLayout = function getStatusLayout(_ref2) { | ||
var appearance = _ref2.appearance, | ||
size = _ref2.size; | ||
export { PresenceWrapper }; | ||
var getStatusLayout = function getStatusLayout(_ref4) { | ||
var appearance = _ref4.appearance, | ||
size = _ref4.size; | ||
@@ -46,4 +81,25 @@ var statusPosition = appearance === 'square' ? SQUARE_ICON_OFFSET[size] : ICON_OFFSET[size]; | ||
return '\n height: ' + statusSize + 'px;\n right: ' + statusPosition + 'px;\n top: ' + statusPosition + 'px;\n width: ' + statusSize + 'px;\n '; | ||
return { | ||
height: statusSize + 'px', | ||
right: statusPosition + 'px', | ||
top: statusPosition + 'px', | ||
width: statusSize + 'px' | ||
}; | ||
}; | ||
export var StatusWrapper = styled.span(_templateObject4, getStatusLayout); | ||
// eslint-disable-next-line react/prop-types | ||
var StatusWrapper = function StatusWrapper(_ref5) { | ||
var children = _ref5.children, | ||
otherProps = _objectWithoutProperties(_ref5, ['children']); | ||
return React.createElement( | ||
'span', | ||
{ | ||
style: _extends({ | ||
position: 'absolute' | ||
}, getStatusLayout(otherProps)) | ||
}, | ||
children | ||
); | ||
}; | ||
export { StatusWrapper }; |
@@ -1,8 +0,4 @@ | ||
import _taggedTemplateLiteral from 'babel-runtime/helpers/taggedTemplateLiteral'; | ||
var _templateObject = _taggedTemplateLiteral(['\n background-color: ', ';\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n border-radius: ', ';\n display: flex;\n flex: 1;\n height: 100%;\n width: 100%;\n'], ['\n background-color: ', ';\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n border-radius: ', ';\n display: flex;\n flex: 1;\n height: 100%;\n width: 100%;\n']), | ||
_templateObject2 = _taggedTemplateLiteral(['\n background-color: ', ';\n border-radius: ', ';\n height: 100%;\n width: 100%;\n'], ['\n background-color: ', ';\n border-radius: ', ';\n height: 100%;\n width: 100%;\n']), | ||
_templateObject3 = _taggedTemplateLiteral(['\n visibility: hidden;\n'], ['\n visibility: hidden;\n']); | ||
import styled from 'styled-components'; | ||
import _extends from 'babel-runtime/helpers/extends'; | ||
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; | ||
import React from 'react'; | ||
import { colors, themed } from '@atlaskit/theme'; | ||
@@ -18,6 +14,49 @@ import { getBorderRadius } from './utils'; | ||
export var Span = styled.span(_templateObject, getBackgroundColor, getBorderRadius); | ||
// eslint-disable-next-line react/prop-types, no-unused-vars | ||
var Span = function Span(_ref2) { | ||
var children = _ref2.children, | ||
style = _ref2.style, | ||
isLoading = _ref2.isLoading, | ||
appearance = _ref2.appearance, | ||
otherProps = _objectWithoutProperties(_ref2, ['children', 'style', 'isLoading', 'appearance']); | ||
export var Svg = styled.svg(_templateObject2, getBackgroundColor, getBorderRadius); | ||
return React.createElement( | ||
'span', | ||
_extends({ | ||
style: _extends({ | ||
backgroundColor: getBackgroundColor(otherProps), | ||
backgroundPosition: 'center', | ||
backgroundRepeat: 'no-repeat', | ||
backgroundSize: 'cover', | ||
borderRadius: getBorderRadius(otherProps), | ||
display: 'flex', | ||
flex: 1, | ||
height: '100%', | ||
width: '100%' | ||
}, style) | ||
}, otherProps), | ||
children | ||
); | ||
}; | ||
export var HiddenImage = styled.img(_templateObject3); | ||
// eslint-disable-next-line react/prop-types, no-unused-vars | ||
export { Span }; | ||
var Svg = function Svg(_ref3) { | ||
var children = _ref3.children, | ||
appearance = _ref3.appearance, | ||
otherProps = _objectWithoutProperties(_ref3, ['children', 'appearance']); | ||
return React.createElement( | ||
'svg', | ||
_extends({ | ||
style: { | ||
backgroundColor: getBackgroundColor(otherProps), | ||
borderRadius: getBorderRadius(otherProps), | ||
height: '100%', | ||
width: '100%' | ||
} | ||
}, otherProps), | ||
children | ||
); | ||
}; | ||
export { Svg }; |
@@ -28,7 +28,11 @@ import _taggedTemplateLiteral from 'babel-runtime/helpers/taggedTemplateLiteral'; | ||
export function getAvatarDimensions(props) { | ||
var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { includeBorderWidth: false }; | ||
var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { | ||
includeBorderWidth: false, | ||
sizeOnly: false | ||
}; | ||
var borderWidth = config.includeBorderWidth ? BORDER_WIDTH[props.size] * 2 : 0; | ||
var size = AVATAR_SIZES[props.size] + borderWidth; | ||
return '\n height: ' + size + 'px;\n width: ' + size + 'px;\n '; | ||
return config.sizeOnly ? size : '\n height: ' + size + 'px;\n width: ' + size + 'px;\n '; | ||
} | ||
@@ -35,0 +39,0 @@ |
{ | ||
"name": "@atlaskit/avatar", | ||
"version": "8.2.1", | ||
"version": "8.2.2", | ||
"config": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
@@ -14,3 +14,3 @@ [![AtlasKit component registry](https://img.shields.io/badge/AtlasKit-components-FF5230.svg)](http://atlaskit.atlassian.com) | ||
Detailed docs and example usage can be found [here](https://aui-cdn.atlassian.com/atlaskit/stories/@atlaskit/avatar/8.2.1/). | ||
Detailed docs and example usage can be found [here](https://aui-cdn.atlassian.com/atlaskit/stories/@atlaskit/avatar/8.2.2/). | ||
@@ -17,0 +17,0 @@ ## Installation |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
392381
39
5298
6