Team:SEU-Nanjing-China/static/js/0-6901097f-chunk-js

(window["webpackJsonpseu-igem2019"]=window["webpackJsonpseu-igem2019"]||[]).push([[0],Array(62).concat([function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={topLeftEdge:0,topCenter:1,topRightEdge:2,topAutoEdge:3,bottomLeftEdge:4,bottomCenter:5,bottomRightEdge:6,bottomAutoEdge:7,leftTopEdge:8,leftCenter:9,leftBottomEdge:10,rightTopEdge:11,rightCenter:12,rightBottomEdge:13}},,,,function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n(59),i=n(1),r={outline:0},s=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",verticalAlign:"middle",flexShrink:0}},a=Object(o.a)(function(e){var t,n=e.semanticColors,o=e.effects,a=e.fonts,u=n.buttonBorder,c=n.disabledBackground,l=n.disabledText,d={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"};return{root:[Object(i.t)(e,{inset:1,highContrastStyle:d,borderColor:"transparent"}),e.fonts.medium,{boxSizing:"border-box",border:"1px solid "+u,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",padding:"0 16px",borderRadius:o.roundedCorner2,selectors:{":active > *":{position:"relative",left:0,top:0}}}],rootDisabled:[Object(i.t)(e,{inset:1,highContrastStyle:d,borderColor:"transparent"}),{backgroundColor:c,borderColor:c,color:l,cursor:"default",pointerEvents:"none",selectors:(t={":hover":r,":focus":r},t[i.d]={color:"grayText",borderColor:"grayText"},t)}],iconDisabled:{color:l},menuIconDisabled:{color:l},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:s(a.mediumPlus.fontSize),menuIcon:s(a.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:i.z}})},function(e,t,n){"use strict";var o,i=n(2),r=n(0),s=n(59),a=n(133),u=n(145),c=n(12),l=n(76),d=n(132),p=n(155),h=n(147),m=n(160),f=n(93),v=n(83),_=n(69),g=function(e){var t=e.className,n=e.imageProps,o=Object(d.d)(e,d.e),s=e["aria-label"]?{}:{role:"presentation","aria-hidden":!n.alt&&!n["aria-labelledby"]};return r.createElement("div",i.a({},s,o,{className:Object(a.a)(_.a,_.b.root,_.b.image,t)}),r.createElement(v.a,i.a({},n)))},b=n(62),y=n(134);!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(o||(o={}));var E=n(95),C=n(168),I=n(135),M=n(139),k=n(140),x=n(166),w=n(165),P=n(25),O=n(13);function D(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"===typeof e.isChecked?e.isChecked:"boolean"===typeof e.checked?e.checked:null}function S(e){return!(!e.subMenuProps&&!e.items)}function T(e){return!(!e.isDisabled&&!e.disabled)}var B=n(84),j=n(153),F=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openSubMenu=function(){var e=t.props,n=e.item,o=e.openSubMenu,i=e.getSubmenuTarget;if(i){var r=i();S(n)&&o&&r&&o(n,r)}},t.dismissSubMenu=function(){var e=t.props,n=e.item,o=e.dismissSubMenu;S(n)&&o&&o()},t.dismissMenu=function(e){var n=t.props.dismissMenu;n&&n(void 0,e)},t}return i.c(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames;return r.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},function(e){var t=e.onCheckmarkClick,n=e.item,o=e.classNames,i=D(n);if(t){return r.createElement(m.a,{iconName:i?"CheckMark":"",className:o.checkmarkIcon,onClick:function(e){return t(n,e)}})}return null}(this.props),function(e){var t=e.item,n=e.hasIcons,o=e.classNames,s=t.iconProps;return n?t.onRenderIcon?t.onRenderIcon(e):r.createElement(m.a,i.a({},s,{className:o.icon})):null}(this.props),function(e){var t=e.item,n=e.classNames;return t.text||t.name?r.createElement("span",{className:n.label},t.text||t.name):null}(this.props),function(e){var t=e.item,n=e.classNames;return t.secondaryText?r.createElement("span",{className:n.secondaryText},t.secondaryText):null}(this.props),function(e){var t=e.item,n=e.classNames;return S(t)?r.createElement(m.a,i.a({iconName:Object(x.a)()?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null}(this.props))},t}(p.a),N=n(1),R=Object(s.a)(function(e){return Object(N.C)({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})}),A=Object(N.x)(0,N.i),L=Object(s.a)(function(){var e;return{selectors:(e={},e[N.d]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"},e)}}),K=Object(s.a)(function(e){var t,n,o,r,s,a,u,c=e.semanticColors,l=e.fonts,d=e.palette,p=c.menuItemBackgroundHovered,h=c.menuItemTextHovered,m=c.menuItemBackgroundPressed,f=c.bodyDivider,v={item:[l.medium,{color:c.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:f,position:"relative"},root:[Object(N.t)(e),l.medium,{color:c.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:36,lineHeight:36,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:c.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[N.d]={color:"GrayText",opacity:1},t)},rootHovered:i.a({backgroundColor:p,color:h,selectors:{".ms-ContextualMenu-icon":{color:d.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:d.neutralPrimary}}},L()),rootFocused:i.a({backgroundColor:d.white},L()),rootChecked:i.a({selectors:{".ms-ContextualMenu-checkmarkIcon":{color:d.neutralPrimary}}},L()),rootPressed:i.a({backgroundColor:m,selectors:{".ms-ContextualMenu-icon":{color:d.themeDark},".ms-ContextualMenu-submenuIcon":{color:d.neutralPrimary}}},L()),rootExpanded:i.a({backgroundColor:m,color:c.bodyTextChecked},L()),linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:36,fontSize:N.g.medium,width:N.g.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(n={},n[A]={fontSize:N.g.large,width:N.g.large},n)},iconColor:{color:c.menuIcon,selectors:(o={},o[N.d]={color:"inherit"},o["$root:hover &"]={selectors:(r={},r[N.d]={color:"HighlightText"},r)},o["$root:focus &"]={selectors:(s={},s[N.d]={color:"HighlightText"},s)},o)},iconDisabled:{color:c.disabledBodyText},checkmarkIcon:{color:c.bodySubtext,selectors:(a={},a[N.d]={color:"HighlightText"},a)},subMenuIcon:{height:36,lineHeight:36,color:d.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:N.g.small,selectors:(u={":hover":{color:d.neutralPrimary},":active":{color:d.neutralPrimary}},u[A]={fontSize:N.g.medium},u)},splitButtonFlexContainer:[Object(N.t)(e),{display:"flex",height:36,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]};return Object(N.q)(v)}),H=n(56),W=Object(N.x)(0,N.i),U=Object(s.a)(function(e){var t;return Object(N.C)(R(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[W]={right:32},t)},divider:{height:16,width:1}})}),z={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText",splitMenu:"ms-ContextualMenu-splitMenu"},q=Object(s.a)(function(e,t,n,o,i,r,s,a,u,c,l,d){var p,h,m,f,v=K(e),_=Object(N.u)(z,e);return Object(N.C)({item:[_.item,v.item,s],divider:[_.divider,v.divider,a],root:[_.root,v.root,o&&[_.isChecked,v.rootChecked],i&&v.anchorLink,n&&[_.isExpanded,v.rootExpanded],t&&[_.isDisabled,v.rootDisabled],!t&&!n&&[{selectors:(p={":hover":v.rootHovered,":active":v.rootPressed},p["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=v.rootFocused,p["."+H.a+" &:hover"]={background:"inherit;"},p)}],d],splitPrimary:[v.root,{width:"calc(100% - 28px)"},o&&["is-checked",v.rootChecked],(t||l)&&["is-disabled",v.rootDisabled],!(t||l)&&!o&&[{selectors:(h={":hover":v.rootHovered},h[":hover ~ ."+_.splitMenu]=v.rootHovered,h[":active"]=v.rootPressed,h["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=v.rootFocused,h["."+H.a+" &:hover"]={background:"inherit;"},h)}]],splitMenu:[_.splitMenu,v.root,{flexBasis:"0",padding:"0 8px",minWidth:"28px"},n&&["is-expanded",v.rootExpanded],t&&["is-disabled",v.rootDisabled],!t&&!n&&[{selectors:(m={":hover":v.rootHovered,":active":v.rootPressed},m["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=v.rootFocused,m["."+H.a+" &:hover"]={background:"inherit;"},m)}]],anchorLink:v.anchorLink,linkContent:[_.linkContent,v.linkContent],linkContentMenu:[_.linkContentMenu,v.linkContent,{justifyContent:"center"}],icon:[_.icon,r&&v.iconColor,v.icon,u,t&&[_.isDisabled,v.iconDisabled]],iconColor:v.iconColor,checkmarkIcon:[_.checkmarkIcon,r&&v.checkmarkIcon,v.icon,u],subMenuIcon:[_.subMenuIcon,v.subMenuIcon,c,n&&{color:e.palette.neutralPrimary},t&&[v.iconDisabled]],label:[_.label,v.label],secondaryText:[_.secondaryText,v.secondaryText],splitContainer:[v.splitButtonFlexContainer,!t&&!o&&[{selectors:(f={},f["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=v.rootFocused,f)}]]})}),V=function(e){var t=e.theme,n=e.disabled,o=e.expanded,i=e.checked,r=e.isAnchorLink,s=e.knownIcon,a=e.itemClassName,u=e.dividerClassName,c=e.iconClassName,l=e.subMenuClassName,d=e.primaryDisabled,p=e.className;return q(t,n,o,i,r,s,a,u,c,l,d,p)},Z=Object(y.a)(F,V,void 0,{scope:"ContextualMenuItem"}),Y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onItemMouseEnter=function(e){var n=t.props,o=n.item,i=n.onItemMouseEnter;i&&i(o,e,e.currentTarget)},t._onItemClick=function(e){var n=t.props,o=n.item,i=n.onItemClickBase;i&&i(o,e,e.currentTarget)},t._onItemMouseLeave=function(e){var n=t.props,o=n.item,i=n.onItemMouseLeave;i&&i(o,e)},t._onItemKeyDown=function(e){var n=t.props,o=n.item,i=n.onItemKeyDown;i&&i(o,e)},t._onItemMouseMove=function(e){var n=t.props,o=n.item,i=n.onItemMouseMove;i&&i(o,e,e.currentTarget)},t._getSubMenuId=function(e){var n=t.props.getSubMenuId;if(n)return n(e)},t._getSubmenuTarget=function(){},t}return i.c(t,e),t.prototype.shouldComponentUpdate=function(e){return!Object(l.d)(e,this.props)},t}(p.a),G=n(157),X=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=r.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(s.a)(function(e){return i.a({},e,{hasMenu:!0})}),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var n=t.props,o=n.item,i=n.onItemClick;i&&i(o,e)},t}return i.c(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,o=t.classNames,s=t.index,a=t.focusableElementIndex,u=t.totalItemCount,c=t.hasCheckmarks,l=t.hasIcons,p=t.contextualMenuItemAs,h=void 0===p?Z:p,m=t.expandedMenuItemKey,f=t.onItemClick,v=t.openSubMenu,_=t.dismissSubMenu,g=t.dismissMenu,b=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(b=b||"nofollow noopener noreferrer");var y=this._getSubMenuId(n),E=S(n),C=Object(d.d)(n,d.a),I=T(n),M=n.itemProps,k=n.keytipProps;return k&&E&&(k=this._getMemoizedMenuButtonKeytipProps(k)),r.createElement("div",null,r.createElement(G.a,{keytipProps:n.keytipProps,ariaDescribedBy:C["aria-describedby"],disabled:I},function(t){return r.createElement("a",i.a({},C,t,{ref:e._anchor,href:n.href,target:n.target,rel:b,className:o.root,role:"menuitem","aria-owns":n.key===m?y:void 0,"aria-haspopup":E||void 0,"aria-expanded":E?n.key===m:void 0,"aria-posinset":a+1,"aria-setsize":u,"aria-disabled":T(n),style:n.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:E?e._onItemKeyDown:void 0}),r.createElement(h,i.a({componentRef:n.componentRef,item:n,classNames:o,index:s,onCheckmarkClick:c&&f?f:void 0,hasIcons:l,openSubMenu:v,dismissSubMenu:_,dismissMenu:g,getSubmenuTarget:e._getSubmenuTarget},M)))}))},t}(Y),Q=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=r.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(s.a)(function(e){return i.a({},e,{hasMenu:!0})}),t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return i.c(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,o=t.classNames,s=t.index,a=t.focusableElementIndex,u=t.totalItemCount,c=t.hasCheckmarks,l=t.hasIcons,p=t.contextualMenuItemAs,h=void 0===p?Z:p,m=t.expandedMenuItemKey,f=t.onItemMouseDown,v=t.onItemClick,_=t.openSubMenu,g=t.dismissSubMenu,b=t.dismissMenu,y=this._getSubMenuId(n),E=D(n),C=null!==E,I=C?"menuitemcheckbox":"menuitem",M=S(n),k=n.itemProps,x=n.ariaLabel,w=Object(d.d)(n,d.b);delete w.disabled;var P={className:o.root,onClick:this._onItemClick,onKeyDown:M?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return f?f(n,e):void 0},onMouseMove:this._onItemMouseMove,href:n.href,title:n.title,"aria-label":x,"aria-haspopup":M||void 0,"aria-owns":n.key===m?y:void 0,"aria-expanded":M?n.key===m:void 0,"aria-checked":C?!!E:void 0,"aria-posinset":a+1,"aria-setsize":u,"aria-disabled":T(n),role:n.role||I,style:n.style},O=n.keytipProps;return O&&M&&(O=this._getMemoizedMenuButtonKeytipProps(O)),r.createElement(G.a,{keytipProps:O,ariaDescribedBy:w["aria-describedby"],disabled:T(n)},function(t){return r.createElement("button",i.a({ref:e._btn},w,P,t),r.createElement(h,i.a({componentRef:n.componentRef,item:n,classNames:o,index:s,onCheckmarkClick:c&&v?v:void 0,hasIcons:l,openSubMenu:_,dismissSubMenu:g,dismissMenu:b,getSubmenuTarget:e._getSubmenuTarget},k)))})},t}(Y),$=Object(I.a)(),J=Object(y.a)(function(e){var t=e.styles,n=e.theme,o=e.getClassNames,i=e.className,s=$(t,{theme:n,getClassNames:o,className:i});return r.createElement("span",{className:s.wrapper},r.createElement("span",{className:s.divider}))},function(e){var t=e.theme,n=e.getClassNames,o=e.className;if(!t)throw new Error("Theme is undefined or null.");if(n){var i=n(t);return{wrapper:[i.wrapper],divider:[i.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},o],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}},void 0,{scope:"VerticalDivider"}),ee=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._getMemoizedMenuButtonKeytipProps=Object(s.a)(function(e){return i.a({},e,{hasMenu:!0})}),t._onItemKeyDown=function(e){var n=t.props,o=n.item,i=n.onItemKeyDown;e.which===c.a.enter?(t._executeItemClick(e),e.preventDefault(),e.stopPropagation()):i&&i(o,e)},t._getSubmenuTarget=function(){return t._splitButton},t._onItemMouseEnterPrimary=function(e){var n=t.props,o=n.item,r=n.onItemMouseEnter;r&&r(i.a({},o,{subMenuProps:void 0,items:void 0}),e,t._splitButton)},t._onItemMouseEnterIcon=function(e){var n=t.props,o=n.item,i=n.onItemMouseEnter;i&&i(o,e,t._splitButton)},t._onItemMouseMovePrimary=function(e){var n=t.props,o=n.item,r=n.onItemMouseMove;r&&r(i.a({},o,{subMenuProps:void 0,items:void 0}),e,t._splitButton)},t._onItemMouseMoveIcon=function(e){var n=t.props,o=n.item,i=n.onItemMouseMove;i&&i(o,e,t._splitButton)},t._onIconItemClick=function(e){var n=t.props,o=n.item,i=n.onItemClickBase;i&&i(o,e,t._splitButton?t._splitButton:e.currentTarget)},t._executeItemClick=function(e){var n=t.props,o=n.item,i=n.executeItemClick,r=n.onItemClick;if(!o.disabled&&!o.isDisabled)return t._processingTouch&&r?r(o,e):void(i&&i(o,e))},t._onTouchStart=function(e){!t._splitButton||"onpointerdown"in t._splitButton||t._handleTouchAndPointerEvent(e)},t._onPointerDown=function(e){"touch"===e.pointerType&&(t._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},t}return i.c(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.render=function(){var e=this,t=this.props,n=t.item,o=t.classNames,s=t.index,a=t.focusableElementIndex,u=t.totalItemCount,c=t.hasCheckmarks,l=t.hasIcons,d=t.onItemMouseLeave,p=t.expandedMenuItemKey,m=S(n),f=n.keytipProps;return f&&(f=this._getMemoizedMenuButtonKeytipProps(f)),r.createElement(G.a,{keytipProps:f,disabled:T(n)},function(t){return r.createElement("div",{"data-ktp-target":t["data-ktp-target"],ref:function(t){return e._splitButton=t},role:"menuitem","aria-label":n.ariaLabel,className:o.splitContainer,"aria-disabled":T(n),"aria-expanded":m?n.key===p:void 0,"aria-haspopup":!0,"aria-describedby":Object(h.a)(n.ariaDescription,t["aria-describedby"]),"aria-checked":n.isChecked||n.checked,"aria-posinset":a+1,"aria-setsize":u,onMouseEnter:e._onItemMouseEnterPrimary,onMouseLeave:d?d.bind(e,i.a({},n,{subMenuProps:null,items:null})):void 0,onMouseMove:e._onItemMouseMovePrimary,onKeyDown:e._onItemKeyDown,onClick:e._executeItemClick,onTouchStart:e._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":n["aria-roledescription"]},e._renderSplitPrimaryButton(n,o,s,c,l),e._renderSplitDivider(n),e._renderSplitIconButton(n,o,s,t))})},t.prototype._renderSplitPrimaryButton=function(e,t,n,o,s){var a=this.props,u=a.contextualMenuItemAs,c=void 0===u?Z:u,l=a.onItemClick,p={key:e.key,disabled:T(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,"data-is-focusable":!1,"aria-hidden":!0},h=e.itemProps;return r.createElement("button",i.a({},Object(d.d)(p,d.b)),r.createElement(c,i.a({"data-is-focusable":!1,item:p,classNames:t,index:n,onCheckmarkClick:o&&l?l:void 0,hasIcons:s},h)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||U;return r.createElement(J,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,n,o){var s=this.props,a=s.contextualMenuItemAs,u=void 0===a?Z:a,c=s.onItemMouseLeave,l=s.onItemMouseDown,p=s.openSubMenu,h=s.dismissSubMenu,m=s.dismissMenu,f={onClick:this._onIconItemClick,disabled:T(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key},v=i.a({},Object(d.d)(f,d.b),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:c?c.bind(this,e):void 0,onMouseDown:function(t){return l?l(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":o["data-ktp-execute-target"],"aria-hidden":!0}),_=e.itemProps;return r.createElement("button",i.a({},v),r.createElement(u,i.a({componentRef:e.componentRef,item:f,classNames:t,index:n,hasIcons:!1,openSubMenu:p,dismissSubMenu:h,dismissMenu:m,getSubmenuTarget:this._getSubmenuTarget},_)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,n=this.props.onTap;n&&n(e),this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){t._processingTouch=!1,t._lastTouchTimeoutId=void 0},500)},t}(Y),te=Object(I.a)({disableCaching:!0}),ne=Object(I.a)({disableCaching:!0});function oe(e){return e.subMenuProps?e.subMenuProps.items:e.items}var ie,re=250,se=function(e){function t(t){var n=e.call(this,t)||this;return n._mounted=!1,n.dismiss=function(e,t){var o=n.props.onDismiss;o&&o(e,t)},n._onRenderMenuList=function(e,t){var i=0;return r.createElement("ul",{className:n._classNames.list,onKeyDown:n._onKeyDown,onKeyUp:n._onKeyUp,role:"menu"},e.items.map(function(t,r){var s=n._renderMenuItem(t,r,i,e.totalItemCount,e.hasCheckmarks,e.hasIcons);if(t.itemType!==o.Divider&&t.itemType!==o.Header){var a=t.customOnRenderListLength?t.customOnRenderListLength:1;i+=a}return s}))},n._onKeyDown=function(e){n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e);var t=e.which===c.a.escape&&(Object(M.a)()||Object(k.a)());return n._keyHandler(e,n._shouldHandleKeyDown,t)},n._shouldHandleKeyDown=function(e){return e.which===c.a.escape||n._shouldCloseSubMenu(e)||e.which===c.a.up&&(e.altKey||e.metaKey)},n._onMenuFocusCapture=function(e){n.props.delayUpdateFocusOnHover&&(n._shouldUpdateFocusOnMouseEvent=!0)},n._onKeyUp=function(e){return n._keyHandler(e,n._shouldHandleKeyUp,!0)},n._shouldHandleKeyUp=function(e){var t=n._lastKeyDownWasAltOrMeta&&n._isAltOrMeta(e);return n._lastKeyDownWasAltOrMeta=!1,!!t&&!(Object(k.a)()||Object(M.a)())},n._keyHandler=function(e,t,o){var i=!1;return t(e)&&(n._isFocusingPreviousElement=!0,e.preventDefault(),e.stopPropagation(),n.dismiss(e,o),i=!0),i},n._shouldCloseSubMenu=function(e){var t=Object(x.a)()?c.a.right:c.a.left;return!(e.which!==t||!n.props.isSubMenu)&&(n._adjustedFocusZoneProps.direction===E.a.vertical||!!n._adjustedFocusZoneProps.checkForNoWrap&&!Object(w.o)(e.target,"data-no-horizontal-wrap"))},n._onMenuKeyDown=function(e){if(!n._onKeyDown(e)&&n._host){var t=!(!e.altKey&&!e.metaKey),o=e.which===c.a.up,i=e.which===c.a.down;if(!t&&(o||i)){var r=o?Object(w.h)(n._host,n._host.lastChild,!0):Object(w.e)(n._host,n._host.firstChild,!0);r&&(r.focus(),e.preventDefault(),e.stopPropagation())}}},n._onScroll=function(){n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(n._async.clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),n._scrollIdleTimeoutId=n._async.setTimeout(function(){n._isScrollIdle=!0},re)},n._onItemMouseEnterBase=function(e,t,o){n._shouldIgnoreMouseEvent()||n._updateFocusOnMouseEvent(e,t,o)},n._onItemMouseMoveBase=function(e,t,o){var i=t.currentTarget;n._shouldUpdateFocusOnMouseEvent&&(n._gotMouseMove=!0,n._isScrollIdle&&void 0===n._enterTimerId&&i!==n._targetWindow.document.activeElement&&n._updateFocusOnMouseEvent(e,t,o))},n._onMouseItemLeave=function(e,t){if(!n._shouldIgnoreMouseEvent()&&(void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0),void 0===n.state.expandedMenuItemKey))if(n._host.setActive)try{n._host.setActive()}catch(o){}else n._host.focus()},n._onItemMouseDown=function(e,t){e.onMouseDown&&e.onMouseDown(e,t)},n._onItemClick=function(e,t){n._onItemClickBase(e,t,t.currentTarget)},n._onItemClickBase=function(e,t,o){var i=oe(e);n._cancelSubMenuTimer(),S(e)||i&&i.length?e.key!==n.state.expandedMenuItemKey&&(n.setState({expandedByMouseClick:0!==t.nativeEvent.detail||"mouse"===t.nativeEvent.pointerType}),n._onItemSubMenuExpand(e,o)):n._executeItemClick(e,t),t.stopPropagation(),t.preventDefault()},n._onAnchorClick=function(e,t){n._executeItemClick(e,t),t.stopPropagation()},n._executeItemClick=function(e,t){if(!e.disabled&&!e.isDisabled){var o=!1;e.onClick?o=!!e.onClick(t,e):n.props.onItemClick&&(o=!!n.props.onItemClick(t,e)),(o||!t.defaultPrevented)&&n.dismiss(t,!0)}},n._onItemKeyDown=function(e,t){var o=Object(x.a)()?c.a.left:c.a.right;e.disabled||t.which!==o&&t.which!==c.a.enter&&(t.which!==c.a.down||!t.altKey&&!t.metaKey)||(n.setState({expandedByMouseClick:!1}),n._onItemSubMenuExpand(e,t.currentTarget),t.preventDefault())},n._cancelSubMenuTimer=function(){void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0)},n._onItemSubMenuExpand=function(e,t){n.state.expandedMenuItemKey!==e.key&&(n.state.expandedMenuItemKey&&n._onSubMenuDismiss(),t.focus(),n.setState({expandedMenuItemKey:e.key,submenuTarget:t}))},n._onSubMenuDismiss=function(e,t){t?n.dismiss(e,t):n._mounted&&n.setState({dismissedMenuItemKey:n.state.expandedMenuItemKey,expandedMenuItemKey:void 0,submenuTarget:void 0})},n._getSubMenuId=function(e){var t=n.state.subMenuId;return e.subMenuProps&&e.subMenuProps.id&&(t=e.subMenuProps.id),t},n._onPointerAndTouchEvent=function(e){n._cancelSubMenuTimer()},n.state={contextualMenuItems:void 0,subMenuId:Object(l.c)("ContextualMenu")},n._warnDeprecations({getMenuClassNames:"styles"}),n._isFocusingPreviousElement=!1,n._isScrollIdle=!0,n._shouldUpdateFocusOnMouseEvent=!n.props.delayUpdateFocusOnHover,n._gotMouseMove=!1,n}return i.c(t,e),t.prototype.shouldComponentUpdate=function(e,t){return(!this.props.hidden||!e.hidden)&&(!Object(l.d)(this.props,e)||!Object(l.d)(this.state,t))},t.prototype.UNSAFE_componentWillUpdate=function(e){if(e.target!==this.props.target){var t=e.target;this._setTargetWindowAndElement(t)}e.hidden!==this.props.hidden&&(e.hidden?this._onMenuClosed():(this._onMenuOpened(),this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:null)),e.delayUpdateFocusOnHover!==this.props.delayUpdateFocusOnHover&&(this._shouldUpdateFocusOnMouseEvent=!e.delayUpdateFocusOnHover,this._gotMouseMove=this._shouldUpdateFocusOnMouseEvent&&this._gotMouseMove)},t.prototype.UNSAFE_componentWillMount=function(){var e=this.props.target;this._setTargetWindowAndElement(e),this.props.hidden||(this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:null)},t.prototype.componentDidMount=function(){this.props.hidden||this._onMenuOpened(),this._mounted=!0},t.prototype.componentWillUnmount=function(){this._tryFocusPreviousActiveElement(),this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props),this._events.dispose(),this._async.dispose(),this._mounted=!1},t.prototype.render=function(){var e=this,t=this.props.isBeakVisible,n=this.props,s=n.items,u=n.labelElementId,c=n.id,l=n.className,d=n.beakWidth,p=n.directionalHint,h=n.directionalHintForRTL,m=n.alignTargetEdge,f=n.gapSpace,v=n.coverTarget,_=n.ariaLabel,g=n.doNotLayer,b=n.target,y=n.bounds,I=n.useTargetWidth,M=n.useTargetAsMinWidth,k=n.directionalHintFixed,x=n.shouldFocusOnMount,w=n.shouldFocusOnContainer,P=n.title,O=n.styles,D=n.theme,S=n.calloutProps,T=n.onRenderSubMenu,F=void 0===T?this._onRenderSubMenu:T,N=n.onRenderMenuList,R=void 0===N?this._onRenderMenuList:N,A=n.focusZoneProps,L=n.getMenuClassNames;this._classNames=L?L(D,l):te(O,{theme:D,className:l});var K=function e(t){for(var n=0,i=t;n<i.length;n++){var r=i[n];if(r.iconProps)return!0;if(r.itemType===o.Section&&r.sectionProps&&e(r.sectionProps.items))return!0}return!1}(s);this._adjustedFocusZoneProps=i.a({},A,{direction:this._getFocusZoneDirection()});var H,W=function(e){return e.some(function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some(function(e){return!0===e.canCheck}))})}(s),U=this.state.expandedMenuItemKey&&!0!==this.props.hidden?this._getSubmenuProps():null;t=void 0===t?this.props.responsiveMode<=B.a.medium:t;var z=this._target;if((I||M)&&z&&z.offsetWidth){var q=z.getBoundingClientRect().width-2;I?H={width:q}:M&&(H={minWidth:q})}if(s&&s.length>0){for(var V=0,Z=0,Y=s;Z<Y.length;Z++){var G=Y[Z];if(G.itemType!==o.Divider&&G.itemType!==o.Header)V+=G.customOnRenderListLength?G.customOnRenderListLength:1}var X=!L&&this._classNames.subComponentStyles?this._classNames.subComponentStyles.callout:void 0;return r.createElement(j.a,i.a({styles:X},S,{target:b,isBeakVisible:t,beakWidth:d,directionalHint:p,directionalHintForRTL:h,gapSpace:f,coverTarget:v,doNotLayer:g,className:Object(a.a)("ms-ContextualMenu-Callout",S&&S.className),setInitialFocus:x,onDismiss:this.props.onDismiss,onScroll:this._onScroll,bounds:y,directionalHintFixed:k,alignTargetEdge:m,hidden:this.props.hidden}),r.createElement("div",{"aria-label":_,"aria-labelledby":u,style:H,ref:function(t){return e._host=t},id:c,className:this._classNames.container,tabIndex:w?0:-1,onKeyDown:this._onMenuKeyDown,onKeyUp:this._onKeyUp,onFocusCapture:this._onMenuFocusCapture},P&&r.createElement("div",{className:this._classNames.title}," ",P," "),s&&s.length?r.createElement(C.a,i.a({},this._adjustedFocusZoneProps,{className:this._classNames.root,isCircularNavigation:!0,handleTabKey:E.b.all}),R({items:s,totalItemCount:V,hasCheckmarks:W,hasIcons:K},this._onRenderMenuList)):null,U&&F(U,this._onRenderSubMenu)))}return null},t.prototype._onMenuOpened=function(){this._events.on(this._targetWindow,"resize",this.dismiss),this._shouldUpdateFocusOnMouseEvent=!this.props.delayUpdateFocusOnHover,this._gotMouseMove=!1,this.props.onMenuOpened&&this.props.onMenuOpened(this.props)},t.prototype._onMenuClosed=function(){this._events.off(this._targetWindow,"resize",this.dismiss),this._tryFocusPreviousActiveElement(),this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props),this._shouldUpdateFocusOnMouseEvent=!this.props.delayUpdateFocusOnHover,this.setState({expandedByMouseClick:void 0,dismissedMenuItemKey:void 0,expandedMenuItemKey:void 0,submenuTarget:void 0})},t.prototype._tryFocusPreviousActiveElement=function(){var e=this;this._isFocusingPreviousElement&&this._previousActiveElement&&setTimeout(function(){e._previousActiveElement&&e._previousActiveElement.focus()},0)},t.prototype._getFocusZoneDirection=function(){var e=this.props.focusZoneProps;return e&&void 0!==e.direction?e.direction:E.a.vertical},t.prototype._onRenderSubMenu=function(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")},t.prototype._renderMenuItem=function(e,t,n,i,r,s){var a,u=[],c=e.iconProps||{iconName:"None"},l=e.getItemClassNames,d=e.itemProps,p=d?d.styles:void 0,h=e.itemType===o.Divider?e.className:void 0,m=e.submenuIconProps?e.submenuIconProps.className:"";if(l)a=l(this.props.theme,T(e),this.state.expandedMenuItemKey===e.key,!!D(e),!!e.href,"None"!==c.iconName,e.className,h,c.className,m,e.primaryDisabled);else{var f={theme:this.props.theme,disabled:T(e),expanded:this.state.expandedMenuItemKey===e.key,checked:!!D(e),isAnchorLink:!!e.href,knownIcon:"None"!==c.iconName,itemClassName:e.className,dividerClassName:h,iconClassName:c.className,subMenuClassName:m,primaryDisabled:e.primaryDisabled},v=this._classNames.subComponentStyles?this._classNames.subComponentStyles.menuItem:void 0;a=Object(N.C)(ne(V,f),ne(v,f),ne(p,f))}switch("-"!==e.text&&"-"!==e.name||(e.itemType=o.Divider),e.itemType){case o.Divider:u.push(this._renderSeparator(t,a));break;case o.Header:u.push(this._renderSeparator(t,a));var _=this._renderHeaderMenuItem(e,a,t,r,s);u.push(this._renderListItem(_,e.key||t,a,e.title));break;case o.Section:u.push(this._renderSectionItem(e,a,t,r,s));break;default:var g=this._renderNormalItem(e,a,t,n,i,r,s);u.push(this._renderListItem(g,e.key||t,a,e.title))}return u},t.prototype._renderSectionItem=function(e,t,n,i,s){var a=this,u=e.sectionProps;if(u){var c;if(u.title){var l={key:"section-"+u.title+"-title",itemType:o.Header,text:u.title};c=this._renderHeaderMenuItem(l,t,n,i,s)}return u.items&&u.items.length>0?r.createElement("li",{role:"presentation",key:u.key||e.key||"section-"+n},r.createElement("div",{role:"group"},r.createElement("ul",{className:this._classNames.list},u.topDivider&&this._renderSeparator(n,t,!0,!0),c&&this._renderListItem(c,e.key||n,t,e.title),u.items.map(function(e,t){return a._renderMenuItem(e,t,t,u.items.length,i,s)}),u.bottomDivider&&this._renderSeparator(n,t,!1,!0)))):void 0}},t.prototype._renderListItem=function(e,t,n,o){return r.createElement("li",{role:"presentation",title:o,key:t,className:n.item},e)},t.prototype._renderSeparator=function(e,t,n,o){return o||e>0?r.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},t.prototype._renderNormalItem=function(e,t,n,o,r,s,a){return e.onRender?e.onRender(i.a({"aria-posinset":o+1,"aria-setsize":r},e),this.dismiss):e.href?this._renderAnchorMenuItem(e,t,n,o,r,s,a):e.split&&S(e)?this._renderSplitButton(e,t,n,o,r,s,a):this._renderButtonItem(e,t,n,o,r,s,a)},t.prototype._renderHeaderMenuItem=function(e,t,n,o,s){var a=this.props.contextualMenuItemAs,u=void 0===a?Z:a,c=e.itemProps,l=c&&Object(d.d)(c,d.c);return r.createElement("div",i.a({className:this._classNames.header},l,{style:e.style}),r.createElement(u,i.a({item:e,classNames:t,index:n,onCheckmarkClick:o?this._onItemClick:void 0,hasIcons:s},c)))},t.prototype._renderAnchorMenuItem=function(e,t,n,o,i,s,a){var u=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return r.createElement(X,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:u,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onAnchorClick,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:c,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderButtonItem=function(e,t,n,o,i,s,a){var u=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return r.createElement(Q,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:u,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:c,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderSplitButton=function(e,t,n,o,i,s,a){var u=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return r.createElement(ee,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:u,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss,expandedMenuItemKey:c,onTap:this._onPointerAndTouchEvent})},t.prototype._isAltOrMeta=function(e){return e.which===c.a.alt||"Meta"===e.key},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._updateFocusOnMouseEvent=function(e,t,n){var o=this,i=n||t.currentTarget,r=this.props.subMenuHoverDelay,s=void 0===r?re:r;e.key!==this.state.expandedMenuItemKey&&(void 0!==this._enterTimerId&&(this._async.clearTimeout(this._enterTimerId),this._enterTimerId=void 0),void 0===this.state.expandedMenuItemKey&&i.focus(),S(e)?(t.stopPropagation(),this._enterTimerId=this._async.setTimeout(function(){i.focus(),o.setState({expandedByMouseClick:!0}),o._onItemSubMenuExpand(e,i),o._enterTimerId=void 0},s)):this._enterTimerId=this._async.setTimeout(function(){o._onSubMenuDismiss(t),i.focus(),o._enterTimerId=void 0},s))},t.prototype._getSubmenuProps=function(){var e=this.state,t=e.submenuTarget,n=e.expandedMenuItemKey,o=this._findItemByKey(n),i=null;return o&&(i={items:oe(o),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:Object(x.a)()?b.a.leftTopEdge:b.a.rightTopEdge,className:this.props.className,gapSpace:0,isBeakVisible:!1},o.subMenuProps&&Object(l.a)(i,o.subMenuProps)),i},t.prototype._findItemByKey=function(e){var t=this.props.items;return this._findItemByKeyFromItems(e,t)},t.prototype._findItemByKeyFromItems=function(e,t){for(var n=0,i=t;n<i.length;n++){var r=i[n];if(r.itemType===o.Section&&r.sectionProps){var s=this._findItemByKeyFromItems(e,r.sectionProps.items);if(s)return s}else if(r.key&&r.key===e)return r}},t.prototype._setTargetWindowAndElement=function(e){if(e)if("string"===typeof e){var t=Object(P.a)();this._target=t?t.querySelector(e):null,this._targetWindow=Object(O.a)()}else if(e.stopPropagation)this._targetWindow=Object(O.a)(e.toElement),this._target=e;else if(void 0!==e.x&&void 0!==e.y)this._targetWindow=Object(O.a)(),this._target=e;else if(void 0!==e.current)this._target=e.current,this._targetWindow=Object(O.a)(this._target);else{var n=e;this._targetWindow=Object(O.a)(n),this._target=e}else this._targetWindow=Object(O.a)()},t.defaultProps={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:b.a.bottomAutoEdge,beakWidth:16},t=i.b([B.b],t)}(p.a),ae={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function ue(e){return r.createElement(ie,i.a({},e))}var ce=ie=Object(y.a)(se,function(e){var t=e.className,n=e.theme,o=Object(N.u)(ae,n),i=n.palette,r=n.fonts,s=n.semanticColors,a=n.effects;return{root:[n.fonts.medium,o.root,o.isopen,{backgroundColor:s.bodyBackground,minWidth:"180px"},t],container:[o.container,{selectors:{":focus":{outline:0}}}],list:[o.list,o.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[o.header,r.small,{fontWeight:N.c.semibold,color:s.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[o.title,{fontSize:r.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:i.neutralLight}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}},function(){return{onRenderSubMenu:ue}},{scope:"ContextualMenu"}),le=n(80),de=Object(s.a)(function(e,t,n,o,i){return{root:Object(N.D)(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],o&&!t&&[e.splitButtonMenuButtonChecked]),splitButtonContainer:Object(N.D)(e.splitButtonContainer,!t&&o&&[e.splitButtonContainerChecked,{selectors:{":hover":e.splitButtonContainerCheckedHovered}}],!t&&!o&&[{selectors:{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}}],t&&e.splitButtonContainerDisabled),icon:Object(N.D)(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&i&&e.splitButtonMenuIcon),flexContainer:Object(N.D)(e.splitButtonFlexContainer),divider:Object(N.D)(e.splitButtonDivider,(i||t)&&e.splitButtonDividerDisabled)}});n.d(t,"a",function(){return pe});var pe=function(e){function t(t,n){var o=e.call(this,t)||this;return o._buttonElement=r.createRef(),o._splitButtonContainer=r.createRef(),o._renderedPersistentMenu=!1,o._getMemoizedMenuButtonKeytipProps=Object(s.a)(function(e){return i.a({},e,{hasMenu:!0})}),o._onRenderIcon=function(e,t){var n=o.props.iconProps;if(n&&(void 0!==n.iconName||n.imageProps)){var s=n.className,u=n.imageProps,c=i.d(n,["className","imageProps"]);if(n.styles)return r.createElement(m.a,i.a({className:Object(a.a)(o._classNames.icon,s),imageProps:u},c));if(n.iconName)return r.createElement(f.a,i.a({className:Object(a.a)(o._classNames.icon,s)},c));if(u)return r.createElement(g,i.a({className:Object(a.a)(o._classNames.icon,s),imageProps:u},c))}return null},o._onRenderTextContents=function(){var e=o.props,t=e.text,n=e.children,i=e.secondaryText,s=void 0===i?o.props.description:i,a=e.onRenderText,u=void 0===a?o._onRenderText:a,c=e.onRenderDescription,l=void 0===c?o._onRenderDescription:c;return t||"string"===typeof n||s?r.createElement("span",{className:o._classNames.textContainer},u(o.props,o._onRenderText),l(o.props,o._onRenderDescription)):[u(o.props,o._onRenderText),l(o.props,o._onRenderDescription)]},o._onRenderText=function(){var e=o.props.text,t=o.props.children;return void 0===e&&"string"===typeof t&&(e=t),o._hasText()?r.createElement("span",{key:o._labelId,className:o._classNames.label,id:o._labelId},e):null},o._onRenderChildren=function(){var e=o.props.children;return"string"===typeof e?null:e},o._onRenderDescription=function(e){var t=e.secondaryText,n=void 0===t?o.props.description:t;return n?r.createElement("span",{key:o._descriptionId,className:o._classNames.description,id:o._descriptionId},n):null},o._onRenderAriaDescription=function(){var e=o.props.ariaDescription;return e?r.createElement("span",{className:o._classNames.screenReaderText,id:o._ariaDescriptionId},e):null},o._onRenderMenuIcon=function(e){var t=o.props.menuIconProps;return r.createElement(f.a,i.a({iconName:"ChevronDown"},t,{className:o._classNames.menuIcon}))},o._onRenderMenu=function(e){var t=e.onDismiss,n=void 0===t?o._dismissMenu:t,s=o.props.menuAs||ce;return e.ariaLabel||e.labelElementId||!o._hasText()||(e=i.a({},e,{labelElementId:o._labelId})),r.createElement(s,i.a({id:o._labelId+"-menu",directionalHint:b.a.bottomLeftEdge},e,{shouldFocusOnContainer:o.state.menuProps?o.state.menuProps.shouldFocusOnContainer:void 0,shouldFocusOnMount:o.state.menuProps?o.state.menuProps.shouldFocusOnMount:void 0,hidden:o.state.menuProps?o.state.menuProps.hidden:void 0,className:Object(a.a)("ms-BaseButton-menuhost",e.className),target:o._isSplitButton?o._splitButtonContainer.current:o._buttonElement.current,onDismiss:n}))},o._dismissMenu=function(){var e=null;o.props.persistMenu&&o.state.menuProps&&(e=i.a({},o.state.menuProps,{hidden:!0})),o.setState({menuProps:e})},o._openMenu=function(e,t){if(void 0===t&&(t=!0),o.props.menuProps){var n=i.a({},o.props.menuProps,{shouldFocusOnContainer:e,shouldFocusOnMount:t});o.props.persistMenu&&(o._renderedPersistentMenu=!0,n.hidden=!1),o.setState({menuProps:n})}},o._onToggleMenu=function(e){var t=o.state.menuProps,n=!0;o.props.menuProps&&!1===o.props.menuProps.shouldFocusOnMount&&(n=!1),o.props.persistMenu?!o._renderedPersistentMenu||t&&t.hidden?o._openMenu(e,n):o._dismissMenu():t?o._dismissMenu():o._openMenu(e,n)},o._onSplitContainerFocusCapture=function(e){var t=o._splitButtonContainer.current;!t||e.target&&Object(u.a)(e.target,t)||t.focus()},o._onSplitButtonPrimaryClick=function(e){o._isExpanded&&o._dismissMenu(),!o._processingTouch&&o.props.onClick?o.props.onClick(e):o._processingTouch&&o._onMenuClick(e)},o._onKeyDown=function(e){!o.props.disabled||e.which!==c.a.enter&&e.which!==c.a.space?o.props.disabled||(o.props.menuProps?o._onMenuKeyDown(e):void 0!==o.props.onKeyDown&&o.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},o._onKeyUp=function(e){o.props.disabled||void 0===o.props.onKeyUp||o.props.onKeyUp(e)},o._onKeyPress=function(e){o.props.disabled||void 0===o.props.onKeyPress||o.props.onKeyPress(e)},o._onMouseUp=function(e){o.props.disabled||void 0===o.props.onMouseUp||o.props.onMouseUp(e)},o._onMouseDown=function(e){o.props.disabled||void 0===o.props.onMouseDown||o.props.onMouseDown(e)},o._onClick=function(e){o.props.disabled||(o.props.menuProps?o._onMenuClick(e):void 0!==o.props.onClick&&o.props.onClick(e))},o._onSplitButtonContainerKeyDown=function(e){e.which===c.a.enter||e.which===c.a.space?o._buttonElement.current&&(o._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):o._onMenuKeyDown(e)},o._onMenuKeyDown=function(e){if(!o.props.disabled){o.props.onKeyDown&&o.props.onKeyDown(e);var t=e.which===c.a.up,n=e.which===c.a.down;if(!e.defaultPrevented&&o._isValidMenuOpenKey(e)){var r=o.props.onMenuClick;r&&r(e,o),o._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}e.altKey||e.metaKey||!t&&!n||(o.setState(function(e){return e.menuProps&&!e.menuProps.shouldFocusOnMount?{menuProps:i.a({},e.menuProps,{shouldFocusOnMount:!0})}:e}),o.state.menuProps&&!o.state.menuProps.shouldFocusOnMount&&(e.preventDefault(),e.stopPropagation()))}},o._onTouchStart=function(){!o._isSplitButton||!o._splitButtonContainer.current||"onpointerdown"in o._splitButtonContainer.current||o._handleTouchAndPointerEvent()},o._onMenuClick=function(e){var t=o.props.onMenuClick;if(t&&t(e,o),!e.defaultPrevented){var n=0!==e.nativeEvent.detail||"mouse"===e.nativeEvent.pointerType;o._onToggleMenu(n),e.preventDefault(),e.stopPropagation()}},o._warnConditionallyRequiredProps(["menuProps","onClick"],"split",o.props.split),o._warnDeprecations({rootProps:void 0,description:"secondaryText",toggled:"checked"}),o._labelId=Object(l.c)(),o._descriptionId=Object(l.c)(),o._ariaDescriptionId=Object(l.c)(),o.state={menuProps:null},o}return i.c(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isExpanded",{get:function(){var e=this.state.menuProps;return this.props.persistMenu?!!e&&!e.hidden:!!e},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.ariaDescription,n=e.ariaLabel,o=e.ariaHidden,i=e.className,r=e.disabled,s=e.allowDisabledFocus,a=e.primaryDisabled,u=e.secondaryText,c=void 0===u?this.props.description:u,h=e.href,m=e.iconProps,f=e.menuIconProps,v=e.styles,_=e.checked,g=e.variantClassName,b=e.theme,y=e.toggle,E=e.getClassNames,C=r||a;this._classNames=E?E(b,i,g,m&&m.className,f&&f.className,C,_,this._isExpanded,this.props.split,!!s):Object(le.b)(b,v,i,g,m&&m.className,f&&f.className,C,_,this._isExpanded,this.props.split);var I=this._ariaDescriptionId,M=this._labelId,k=this._descriptionId,x=!C&&!!h,w=x?"a":"button",P=Object(d.d)(Object(l.a)(x?{}:{type:"button"},this.props.rootProps,this.props),x?d.a:d.b,["disabled"]),O=n||P["aria-label"],D=void 0;t?D=I:c&&this.props.onRenderDescription!==p.b?D=k:P["aria-describedby"]&&(D=P["aria-describedby"]);var S=void 0;O||(P["aria-labelledby"]?S=P["aria-labelledby"]:D&&(S=this._hasText()?M:void 0));var T=!(!1===this.props["data-is-focusable"]||r&&!s||this._isSplitButton),B=Object(l.a)(P,{className:this._classNames.root,ref:this._buttonElement,disabled:C&&!s,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":O,"aria-labelledby":S,"aria-describedby":D,"aria-disabled":C,"data-is-focusable":T,"aria-pressed":y?!!_:void 0});return o&&(B["aria-hidden"]=!0),this._isSplitButton?this._onRenderSplitButtonContent(w,B):(this.props.menuProps&&Object(l.a)(B,{"aria-expanded":this._isExpanded,"aria-owns":this.state.menuProps?this._labelId+"-menu":null,"aria-haspopup":!0}),this._onRenderContent(w,B))},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&"onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0)},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&t.menuProps&&(!this.state.menuProps||this.props.persistMenu&&!t.menuProps.hidden&&this.state.menuProps.hidden)&&this.props.onAfterMenuDismiss()},t.prototype.focus=function(){this._isSplitButton&&this._splitButtonContainer.current?this._splitButtonContainer.current.focus():this._buttonElement.current&&this._buttonElement.current.focus()},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(e,t){this._openMenu(e,t)},t.prototype._onRenderContent=function(e,t){var n=this,o=this.props,s=e,a=o.menuIconProps,u=o.menuProps,c=o.onRenderIcon,l=void 0===c?this._onRenderIcon:c,d=o.onRenderAriaDescription,p=void 0===d?this._onRenderAriaDescription:d,h=o.onRenderChildren,m=void 0===h?this._onRenderChildren:h,f=o.onRenderMenu,v=void 0===f?this._onRenderMenu:f,_=o.onRenderMenuIcon,g=void 0===_?this._onRenderMenuIcon:_,b=o.disabled,y=o.keytipProps;y&&u&&(y=this._getMemoizedMenuButtonKeytipProps(y));var E=function(e){return r.createElement(s,i.a({},t,e),r.createElement("span",{className:n._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},l(o,n._onRenderIcon),n._onRenderTextContents(),p(o,n._onRenderAriaDescription),m(o,n._onRenderChildren),!n._isSplitButton&&(u||a||n.props.onRenderMenuIcon)&&g(n.props,n._onRenderMenuIcon),n.state.menuProps&&!n.state.menuProps.doNotLayer&&v(u,n._onRenderMenu)))},C=y?r.createElement(G.a,{keytipProps:this._isSplitButton?void 0:y,ariaDescribedBy:t["aria-describedby"],disabled:b},function(e){return E(e)}):E();return u&&u.doNotLayer?r.createElement("span",{style:{display:"inline-block"}},C,this.state.menuProps&&v(u,this._onRenderMenu)):C},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"===typeof this.props.children)},t.prototype._onRenderSplitButtonContent=function(e,t){var n=this,o=this.props,s=o.styles,a=void 0===s?{}:s,u=o.disabled,c=o.allowDisabledFocus,p=o.checked,m=o.getSplitButtonClassNames,f=o.primaryDisabled,v=o.menuProps,_=o.toggle,g=o.primaryActionButtonProps,b=this.props.keytipProps,y=m?m(!!u,this._isExpanded,!!p,!!c):a&&de(a,!!u,this._isExpanded,!!p,!!f);Object(l.a)(t,{onClick:void 0,tabIndex:-1,"data-is-focusable":!1});var E=t.ariaDescription;b&&v&&(b=this._getMemoizedMenuButtonKeytipProps(b));var C=Object(d.d)(t,[],["disabled"]);g&&Object(l.a)(t,i.a({},g));var I=function(o){return r.createElement("div",i.a({},C,{"data-ktp-target":o?o["data-ktp-target"]:void 0,role:"button","aria-disabled":u,"aria-haspopup":!0,"aria-expanded":n._isExpanded,"aria-pressed":_?!!p:void 0,"aria-describedby":Object(h.a)(E,o?o["aria-describedby"]:void 0),className:y&&y.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:u||f?void 0:n._onSplitButtonPrimaryClick,tabIndex:!u||c?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),r.createElement("span",{style:{display:"flex"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(y,o),n._onRenderSplitButtonDivider(y)))};return b?r.createElement(G.a,{keytipProps:b,disabled:u},function(e){return I(e)}):I()},t.prototype._onRenderSplitButtonDivider=function(e){return e&&e.divider?r.createElement("span",{className:e.divider,"aria-hidden":!0}):null},t.prototype._onRenderSplitButtonMenuButton=function(e,n){var o=this.props,s=o.allowDisabledFocus,a=o.checked,u=o.disabled,c=o.splitButtonMenuProps,l=this.props.menuIconProps,d=this.props.splitButtonAriaLabel;void 0===l&&(l={iconName:"ChevronDown"});var p=i.a({},c,{styles:e,checked:a,disabled:u,allowDisabledFocus:s,onClick:this._onMenuClick,menuProps:void 0,iconProps:i.a({},l,{className:this._classNames.menuIcon}),ariaLabel:d,"aria-haspopup":!0,"aria-expanded":this._isExpanded,"data-is-focusable":!1});return r.createElement(t,i.a({},p,{"data-ktp-execute-target":n?n["data-ktp-execute-target"]:n,onMouseDown:this._onMouseDown,tabIndex:-1}))},t.prototype._onPointerDown=function(e){"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0},500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&(e.which===c.a.down&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t}(p.a)},,function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return r}),n.d(t,"c",function(){return s});var o=n(1),i=Object(o.C)({root:{display:"inline-block"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),r="ms-Icon",s=function(e){var t=e.className,n=e.iconClassName,o=e.isPlaceholder,r=e.isImage,s=e.styles;return{root:[o&&i.placeholder,i.root,r&&i.image,n,t,s&&s.root,s&&s.imageContainer]}}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(1),i=n(59),r=Object(i.a)(function(e,t){var n,i,r,s,a,u,c,l=e.effects,d=e.palette,p={position:"absolute",width:1,right:31,top:8,bottom:8},h={splitButtonContainer:[Object(o.t)(e,{highContrastStyle:{left:-2,top:-2,bottom:-2,right:-2,border:"none"}}),{display:"inline-flex",selectors:{".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none"},".ms-Button--primary":{borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",selectors:(n={},n[o.d]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},n)},".ms-Button--primary + .ms-Button":{border:"none"}}}],splitButtonContainerHovered:{selectors:{".ms-Button--primary":{selectors:(i={},i[o.d]={color:"Window",backgroundColor:"Highlight"},i)},".ms-Button.is-disabled":{selectors:(r={},r[o.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},r)}}},splitButtonContainerChecked:{selectors:{".ms-Button--primary":{selectors:(s={},s[o.d]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},s)}}},splitButtonContainerCheckedHovered:{selectors:{".ms-Button--primary":{selectors:(a={},a[o.d]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},a)}}},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:{padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:l.roundedCorner2,borderBottomRightRadius:l.roundedCorner2,border:"1px solid "+d.neutralSecondaryAlt,borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0},splitButtonDivider:p,splitButtonDividerDisabled:p,splitButtonMenuButtonDisabled:{pointerEvents:"none",border:"none",selectors:{":hover":{cursor:"default"},".ms-Button--primary":{selectors:(u={},u[o.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},u)}}},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none",selectors:(c={},c[o.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},c)}};return Object(o.q)(h,t)})},function(e,t,n){"use strict";function o(e,t){return void 0===t&&(t=!0),e&&(t&&function(e){var t,n;return e&&((n=e)&&n._virtual)&&(t=e._virtual.parent),t}(e)||e.parentNode&&e.parentNode)}n.d(t,"a",function(){return o})},,,,,function(e,t,n){"use strict";n.d(t,"d",function(){return c}),n.d(t,"a",function(){return l}),n.d(t,"b",function(){return d}),n.d(t,"c",function(){return h});var o=n(7),i=n(13),r="__currentId__",s="id__",a=Object(i.a)()||{};function u(e,t){for(var n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||t[n]!==e[n]))return!1;return!0}function c(e,t){return u(e,t)&&u(t,e)}function l(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return d.apply(this,[null,e].concat(t))}function d(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];t=t||{};for(var i=0,r=n;i<r.length;i++){var s=r[i];if(s)for(var a in s)!s.hasOwnProperty(a)||e&&!e(a)||(t[a]=s[a])}return t}void 0===a[r]&&(a[r]=0);var p=o.a.getInstance();function h(e){var t=a[r]++;return(e||s)+t}p&&p.onReset&&p.onReset(function(e){void 0===e&&(e=0);a[r]=e})},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(0),i=o.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}})},function(e,t,n){"use strict";var o,i,r;n.d(t,"b",function(){return o}),n.d(t,"a",function(){return i}),n.d(t,"c",function(){return r}),function(e){e[e.center=0]="center",e[e.contain=1]="contain",e[e.cover=2]="cover",e[e.none=3]="none",e[e.centerCover=4]="centerCover",e[e.centerContain=5]="centerContain"}(o||(o={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(i||(i={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(71);function i(e,t){return e&&e!==document.body?t(e)?e:i(Object(o.a)(e),t):null}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return s});var o=n(59),i=n(1),r={msButton:"ms-Button",msButtonIcon:"ms-Button-icon",msButtonMenuIcon:"ms-Button-menuIcon",msButtonLabel:"ms-Button-label",msButtonDescription:"ms-Button-description",msButtonScreenReaderText:"ms-Button-screenReaderText",msButtonFlexContainer:"ms-Button-flexContainer",msButtonTextContainer:"ms-Button-textContainer"},s=Object(o.a)(function(e,t,n,o,s,a,u,c,l,d){var p,h,m=Object(i.u)(r,e||{}),f=l&&!d;return Object(i.C)({root:[m.msButton,t.root,o,c&&["is-checked",t.rootChecked],f&&["is-expanded",t.rootExpanded,{selectors:(p={},p[":hover ."+m.msButtonIcon]=t.iconExpandedHovered,p[":hover ."+m.msButtonMenuIcon]=t.menuIconExpandedHovered||t.rootExpandedHovered,p[":hover"]=t.rootExpandedHovered,p)}],u&&["is-disabled",t.rootDisabled],!u&&!f&&!c&&{selectors:(h={":hover":t.rootHovered},h[":hover ."+m.msButtonLabel]=t.labelHovered,h[":hover ."+m.msButtonIcon]=t.iconHovered,h[":hover ."+m.msButtonDescription]=t.descriptionHovered,h[":hover ."+m.msButtonMenuIcon]=t.menuIconHovered,h[":focus"]=t.rootFocused,h[":active"]=t.rootPressed,h[":active ."+m.msButtonIcon]=t.iconPressed,h[":active ."+m.msButtonDescription]=t.descriptionPressed,h[":active ."+m.msButtonMenuIcon]=t.menuIconPressed,h)},u&&c&&[t.rootCheckedDisabled],!u&&c&&{selectors:{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed}},n],flexContainer:[m.msButtonFlexContainer,t.flexContainer],textContainer:[m.msButtonTextContainer,t.textContainer],icon:[m.msButtonIcon,s,t.icon,f&&t.iconExpanded,c&&t.iconChecked,u&&t.iconDisabled],label:[m.msButtonLabel,t.label,c&&t.labelChecked,u&&t.labelDisabled],menuIcon:[m.msButtonMenuIcon,a,t.menuIcon,c&&t.menuIconChecked,u&&!d&&t.menuIconDisabled,!u&&!f&&!c&&{selectors:{":hover":t.menuIconHovered,":active":t.menuIconPressed}},f&&["is-expanded",t.menuIconExpanded]],description:[m.msButtonDescription,t.description,c&&t.descriptionChecked,u&&t.descriptionDisabled],screenReaderText:[m.msButtonScreenReaderText,t.screenReaderText]})})},,,function(e,t,n){"use strict";var o=n(134),i=n(2),r=n(0),s=n(135),a=n(132),u=n(78),c=Object(s.a)(),l=function(e){function t(t){var n=e.call(this,t)||this;return n._coverStyle=u.a.portrait,n._imageElement=r.createRef(),n._frameElement=r.createRef(),n._onImageLoaded=function(e){var t=n.props,o=t.src,i=t.onLoad;i&&i(e),n._computeCoverStyle(n.props),o&&n.setState({loadState:u.c.loaded})},n._onImageError=function(e){n.props.onError&&n.props.onError(e),n.setState({loadState:u.c.error})},n.state={loadState:u.c.notLoaded},n}return i.c(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.src!==this.props.src?this.setState({loadState:u.c.notLoaded}):this.state.loadState===u.c.loaded&&this._computeCoverStyle(e)},t.prototype.componentDidUpdate=function(e,t){this._checkImageLoaded(),this.props.onLoadingStateChange&&t.loadState!==this.state.loadState&&this.props.onLoadingStateChange(this.state.loadState)},t.prototype.render=function(){var e=Object(a.d)(this.props,a.f,["width","height"]),t=this.props,n=t.src,o=t.alt,s=t.width,l=t.height,d=t.shouldFadeIn,p=t.shouldStartVisible,h=t.className,m=t.imageFit,f=t.role,v=t.maximizeFrame,_=t.styles,g=t.theme,b=this.state.loadState,y=void 0!==this.props.coverStyle?this.props.coverStyle:this._coverStyle,E=c(_,{theme:g,className:h,width:s,height:l,maximizeFrame:v,shouldFadeIn:d,shouldStartVisible:p,isLoaded:b===u.c.loaded||b===u.c.notLoaded&&this.props.shouldStartVisible,isLandscape:y===u.a.landscape,isCenter:m===u.b.center,isCenterContain:m===u.b.centerContain,isCenterCover:m===u.b.centerCover,isContain:m===u.b.contain,isCover:m===u.b.cover,isNone:m===u.b.none,isError:b===u.c.error,isNotImageFit:void 0===m});return r.createElement("div",{className:E.root,style:{width:s,height:l},ref:this._frameElement},r.createElement("img",i.a({},e,{onLoad:this._onImageLoaded,onError:this._onImageError,key:"fabricImage"+this.props.src||"",className:E.image,ref:this._imageElement,src:n,alt:o,role:f})))},t.prototype._checkImageLoaded=function(){var e=this.props.src;this.state.loadState===u.c.notLoaded&&(!!this._imageElement.current&&(e&&this._imageElement.current.naturalWidth>0&&this._imageElement.current.naturalHeight>0||this._imageElement.current.complete&&t._svgRegex.test(e))&&(this._computeCoverStyle(this.props),this.setState({loadState:u.c.loaded})))},t.prototype._computeCoverStyle=function(e){var t=e.imageFit,n=e.width,o=e.height;if((t===u.b.cover||t===u.b.contain||t===u.b.centerContain||t===u.b.centerCover)&&void 0===this.props.coverStyle&&this._imageElement.current&&this._frameElement.current){var i=void 0;i=n&&o&&t!==u.b.centerContain&&t!==u.b.centerCover?n/o:this._frameElement.current.clientWidth/this._frameElement.current.clientHeight;var r=this._imageElement.current.naturalWidth/this._imageElement.current.naturalHeight;this._coverStyle=r>i?u.a.landscape:u.a.portrait}},t.defaultProps={shouldFadeIn:!0},t._svgRegex=/\.svg$/i,t}(r.Component),d=n(1),p=n(13),h={root:"ms-Image",rootMaximizeFrame:"ms-Image--maximizeFrame",image:"ms-Image-image",imageCenter:"ms-Image-image--center",imageContain:"ms-Image-image--contain",imageCover:"ms-Image-image--cover",imageCenterContain:"ms-Image-image--centerContain",imageCenterCover:"ms-Image-image--centerCover",imageNone:"ms-Image-image--none",imageLandscape:"ms-Image-image--landscape",imagePortrait:"ms-Image-image--portrait"};n.d(t,"a",function(){return m});var m=Object(o.a)(l,function(e){var t=e.className,n=e.width,o=e.height,i=e.maximizeFrame,r=e.isLoaded,s=e.shouldFadeIn,a=e.shouldStartVisible,u=e.isLandscape,c=e.isCenter,l=e.isContain,m=e.isCover,f=e.isCenterContain,v=e.isCenterCover,_=e.isNone,g=e.isError,b=e.isNotImageFit,y=e.theme,E=Object(d.u)(h,y),C={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},I=Object(p.a)(),M=void 0!==I&&void 0===I.navigator.msMaxTouchPoints,k=l&&u||m&&!u?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[E.root,y.fonts.medium,{overflow:"hidden"},i&&[E.rootMaximizeFrame,{height:"100%",width:"100%"}],r&&s&&!a&&d.a.fadeIn400,(c||l||m||f||v)&&{position:"relative"},t],image:[E.image,{display:"block",opacity:0},r&&["is-loaded",{opacity:1}],c&&[E.imageCenter,C],l&&[E.imageContain,M&&{width:"100%",height:"100%",objectFit:"contain"},!M&&k,C],m&&[E.imageCover,M&&{width:"100%",height:"100%",objectFit:"cover"},!M&&k,C],f&&[E.imageCenterContain,u&&{maxWidth:"100%"},!u&&{maxHeight:"100%"},C],v&&[E.imageCenterCover,u&&{maxHeight:"100%"},!u&&{maxWidth:"100%"},C],_&&[E.imageNone,{width:"auto",height:"auto"}],b&&[!!n&&!o&&{height:"auto",width:"100%"},!n&&!!o&&{height:"100%",width:"auto"},!!n&&!!o&&{height:"100%",width:"100%"}],u&&E.imageLandscape,!u&&E.imagePortrait,!r&&"is-notLoaded",s&&"is-fadeIn",g&&"is-error"]}},void 0,{scope:"Image"},!0)},function(e,t,n){"use strict";var o=n(2),i=n(0),r=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];var s,a=function(e){function t(t){var n=e.call(this,t)||this;return n._skipComponentRefResolution=!0,n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n}return o.c(t,e),t.prototype._updateComposedComponentRef=function(e){var t;this._composedComponentInstance=e,e?this._hoisted=function(e,t,n){void 0===n&&(n=r);var o=[],i=function(i){"function"!==typeof t[i]||void 0!==e[i]||n&&-1!==n.indexOf(i)||(o.push(i),e[i]=function(){t[i].apply(t,arguments)})};for(var s in t)i(s);return o}(this,e):this._hoisted&&(t=this,this._hoisted.forEach(function(e){return delete t[e]}))},t}(n(155).a),u=n(13),c=n(98);n.d(t,"a",function(){return s}),n.d(t,"b",function(){return p}),function(e){e[e.small=0]="small",e[e.medium=1]="medium",e[e.large=2]="large",e[e.xLarge=3]="xLarge",e[e.xxLarge=4]="xxLarge",e[e.xxxLarge=5]="xxxLarge"}(s||(s={}));var l,d=[479,639,1023,1365,1919,99999999];function p(e){var t=function(t){function n(e){var n=t.call(this,e)||this;return n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n.state={responsiveMode:n._getResponsiveMode()},n}return o.c(n,t),n.prototype.componentDidMount=function(){var e=this;this._events.on(window,"resize",function(){var t=e._getResponsiveMode();t!==e.state.responsiveMode&&e.setState({responsiveMode:t})})},n.prototype.componentWillUnmount=function(){this._events.dispose()},n.prototype.render=function(){var t=this.state.responsiveMode;return i.createElement(e,o.a({ref:this._updateComposedComponentRef,responsiveMode:t},this.props))},n.prototype._getResponsiveMode=function(){var e=s.small,t=Object(u.a)();if("undefined"!==typeof t)try{for(;t.innerWidth>d[e];)e++}catch(n){e=s.large}else{if(void 0===l)throw new Error("Content was rendered in a server environment without providing a default responsive mode. Call setResponsiveMode to define what the responsive mode is.");e=l}return e},n}(a);return Object(c.a)(e,t)}},function(e,t,n){"use strict";function o(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.length<2?t[0]:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];t.forEach(function(t){return t&&t.apply(e,n)})}}function i(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=o(e,e[n],t[n]))}n.d(t,"a",function(){return i})},,,,,,,,function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return d});var o=n(2),i=n(0),r=n(69),s=n(59),a=n(132),u=n(133),c=n(1),l=Object(s.a)(function(e){var t=Object(c.v)(e)||{subset:{className:void 0},code:void 0};return{children:t.code,iconClassName:t.subset.className}}),d=function(e){var t=e.iconName,n=e.className,s=l(t),c=s.iconClassName,d=s.children,p=Object(a.d)(e,a.e),h=e["aria-label"]?{}:{role:"presentation","aria-hidden":!0};return i.createElement("i",o.a({"data-icon-name":t},h,p,{className:Object(u.a)(r.a,r.b.root,c,!t&&r.b.placeholder,n)}),d)};Object(s.a)(function(e,t,n){return d({iconName:e,className:t,"aria-label":n})})},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=function(){function e(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}return e.prototype.dispose=function(){var e;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(e,t){var n=this,o=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),o=setTimeout(function(){try{n._timeoutIds&&delete n._timeoutIds[o],e.apply(n._parent)}catch(t){n._onErrorHandler&&n._onErrorHandler(t)}},t),this._timeoutIds[o]=!0),o},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e){var t=this,n=0;if(!this._isDisposed){this._immediateIds||(this._immediateIds={});n=window.setTimeout(function(){try{t._immediateIds&&delete t._immediateIds[n],e.apply(t._parent)}catch(o){t._logError(o)}},0),this._immediateIds[n]=!0}return n},e.prototype.clearImmediate=function(e){this._immediateIds&&this._immediateIds[e]&&(window.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var n=this,o=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),o=setInterval(function(){try{e.apply(n._parent)}catch(t){n._logError(t)}},t),this._intervalIds[o]=!0),o},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,n){var o=this;if(this._isDisposed)return this._noop;var i,r,s=t||0,a=!0,u=!0,c=0,l=null;n&&"boolean"===typeof n.leading&&(a=n.leading),n&&"boolean"===typeof n.trailing&&(u=n.trailing);var d=function t(n){var d=(new Date).getTime(),p=d-c,h=a?s-p:s;return p>=s&&(!n||a)?(c=d,l&&(o.clearTimeout(l),l=null),i=e.apply(o._parent,r)):null===l&&u&&(l=o.setTimeout(t,h)),i};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r=e,d(!0)}},e.prototype.debounce=function(e,t,n){var o=this;if(this._isDisposed){var i=function(){};return i.cancel=function(){},i.flush=function(){return null},i.pending=function(){return!1},i}var r,s,a=t||0,u=!1,c=!0,l=null,d=0,p=(new Date).getTime(),h=null;n&&"boolean"===typeof n.leading&&(u=n.leading),n&&"boolean"===typeof n.trailing&&(c=n.trailing),n&&"number"===typeof n.maxWait&&!isNaN(n.maxWait)&&(l=n.maxWait);var m=function(e){h&&(o.clearTimeout(h),h=null),p=e},f=function(t){m(t),r=e.apply(o._parent,s)},v=function e(t){var n=(new Date).getTime(),i=!1;t&&(u&&n-d>=a&&(i=!0),d=n);var s=n-d,m=a-s,v=n-p,_=!1;return null!==l&&(v>=l&&h?_=!0:m=Math.min(m,l-v)),s>=a||_||i?f(n):null!==h&&t||!c||(h=o.setTimeout(e,m)),r},_=function(){return!!h},g=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s=e,v(!0)};return g.cancel=function(){_()&&m((new Date).getTime())},g.flush=function(){return _()&&f((new Date).getTime()),r},g.pending=_,g},e.prototype.requestAnimationFrame=function(e){var t=this,n=0;if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var o=function(){try{t._animationFrameIds&&delete t._animationFrameIds[n],e.apply(t._parent)}catch(o){t._logError(o)}};n=window.requestAnimationFrame?window.requestAnimationFrame(o):window.setTimeout(o,0),this._animationFrameIds[n]=!0}return n},e.prototype.cancelAnimationFrame=function(e){this._animationFrameIds&&this._animationFrameIds[e]&&(window.cancelAnimationFrame?window.cancelAnimationFrame(e):window.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}()},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return o});var o,i={none:0,all:1,inputOnly:2};!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional"}(o||(o={}))},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(71);function i(e,t,n){void 0===n&&(n=!0);var i=!1;if(e&&t)if(n)for(i=!1;t;){var r=Object(o.a)(t);if(r===e){i=!0;break}t=r}else e.contains&&(i=e.contains(t));return i}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(76),i=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,n,i,r){var s;if(e._isElement(t)){if("undefined"!==typeof document&&document.createEvent){var a=document.createEvent("HTMLEvents");a.initEvent(n,r||!1,!0),Object(o.a)(a,i),s=t.dispatchEvent(a)}else if("undefined"!==typeof document&&document.createEventObject){var u=document.createEventObject(i);t.fireEvent("on"+n,u)}}else for(;t&&!1!==s;){var c=t.__events__,l=c?c[n]:null;if(l)for(var d in l)if(l.hasOwnProperty(d))for(var p=l[d],h=0;!1!==s&&h<p.length;h++){var m=p[h];m.objectCallback&&(s=m.objectCallback.call(m.parent,i))}t=r?t.parent:null}return s},e.isObserved=function(e,t){var n=e&&e.__events__;return!!n&&!!n[t]},e.isDeclared=function(e,t){var n=e&&e.__declaredEvents;return!!n&&!!n[t]},e.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},e._isElement=function(e){return!!e&&(!!e.addEventListener||"undefined"!==typeof HTMLElement&&e instanceof HTMLElement)},e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},e.prototype.onAll=function(e,t,n){for(var o in t)t.hasOwnProperty(o)&&this.on(e,o,t[o],n)},e.prototype.on=function(t,n,o,i){var r=this;if(n.indexOf(",")>-1)for(var s=n.split(/[ ,]+/),a=0;a<s.length;a++)this.on(t,s[a],o,i);else{var u=this._parent,c={target:t,eventName:n,parent:u,callback:o,options:i};if((s=t.__events__=t.__events__||{})[n]=s[n]||{count:0},s[n][this._id]=s[n][this._id]||[],s[n][this._id].push(c),s[n].count++,e._isElement(t)){var l=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!r._isDisposed){var n;try{if(!1===(n=o.apply(u,e))&&e[0]){var i=e[0];i.preventDefault&&i.preventDefault(),i.stopPropagation&&i.stopPropagation(),i.cancelBubble=!0}}catch(i){}return n}};c.elementCallback=l,t.addEventListener?t.addEventListener(n,l,i):t.attachEvent&&t.attachEvent("on"+n,l)}else{c.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!r._isDisposed)return o.apply(u,e)}}this._eventRecords.push(c)}},e.prototype.off=function(e,t,n,o){for(var i=0;i<this._eventRecords.length;i++){var r=this._eventRecords[i];if((!e||e===r.target)&&(!t||t===r.eventName)&&(!n||n===r.callback)&&("boolean"!==typeof o||o===r.options)){var s=r.target.__events__,a=s[r.eventName],u=a?a[this._id]:null;u&&(1!==u.length&&n?(a.count--,u.splice(u.indexOf(r),1)):(a.count-=u.length,delete s[r.eventName][this._id]),a.count||delete s[r.eventName]),r.elementCallback&&(r.target.removeEventListener?r.target.removeEventListener(r.eventName,r.elementCallback,r.options):r.target.detachEvent&&r.target.detachEvent("on"+r.eventName,r.elementCallback)),this._eventRecords.splice(i--,1)}}},e.prototype.raise=function(t,n,o){return e.raise(this._parent,t,n,o)},e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"===typeof e)t[e]=!0;else for(var n=0;n<e.length;n++)t[e[n]]=!0},e._uniqueId=0,e}()},function(e,t,n){"use strict";function o(e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";var o,i;n.d(t,"a",function(){return o}),function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(o||(o={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(i||(i={}))},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i});var o="data-portal-element";function i(e){e.setAttribute(o,"true")}},,,,,,,,function(e,t,n){"use strict";var o=n(2),i=n(0),r=n(67),s=n(155),a=n(144),u=n(1),c=n(59),l=n(66),d=n(70),p=n(56);var h=Object(c.a)(function(e,t,n){var o=Object(l.a)(e),i=Object(d.a)(e),r={root:{minWidth:"80px",height:"32px"},label:{fontWeight:u.c.semibold}};return Object(u.q)(o,r,n?function(e){var t,n,o,i,r,s,a,c,l=e.palette,d=e.semanticColors;return{root:{backgroundColor:d.primaryButtonBackground,color:d.primaryButtonText,border:"none",selectors:(t={},t[u.d]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},t["."+p.a+" &:focus"]={selectors:{":after":{outline:"none",borderColor:l.white}}},t)},rootHovered:{backgroundColor:d.primaryButtonBackgroundHovered,color:d.primaryButtonTextHovered,selectors:(n={},n[u.d]={color:"Window",backgroundColor:"Highlight"},n)},rootPressed:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed,selectors:(o={},o[u.d]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},o)},rootExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootChecked:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootDisabled:{selectors:(i={},i[u.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},i)},splitButtonContainer:{selectors:(r={},r[u.d]={border:"none"},r)},splitButtonDivider:{backgroundColor:l.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:d.primaryButtonBackground,color:d.primaryButtonText,selectors:{":hover":{backgroundColor:d.primaryButtonBackgroundHovered,selectors:(s={},s[u.d]={color:"Highlight"},s)}}},splitButtonMenuButtonDisabled:{backgroundColor:d.primaryButtonBackgroundDisabled,selectors:{":hover":{backgroundColor:d.primaryButtonBackgroundDisabled}}},splitButtonMenuButtonChecked:{backgroundColor:d.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:d.primaryButtonBackgroundPressed}}},splitButtonMenuButtonExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:d.primaryButtonBackgroundPressed}}},splitButtonMenuIcon:{color:d.primaryButtonText,selectors:(a={},a[u.d]={color:"Window"},a)},splitButtonMenuIconDisabled:{color:l.neutralTertiary,selectors:(c={},c[u.d]={color:"GrayText"},c)}}}(e):function(e){var t,n,o,i,r=e.semanticColors,s=e.palette,a=r.buttonBackground,c=r.buttonBackgroundPressed,l=r.buttonBackgroundHovered,d=r.buttonText,p=r.buttonTextHovered,h=r.buttonTextChecked,m=r.buttonTextCheckedHovered;return{root:{backgroundColor:a,color:d},rootHovered:{backgroundColor:l,color:p,selectors:(t={},t[u.d]={borderColor:"Highlight",color:"Highlight"},t)},rootPressed:{backgroundColor:c,color:h},rootExpanded:{backgroundColor:c,color:h},rootChecked:{backgroundColor:c,color:h},rootCheckedHovered:{backgroundColor:c,color:m},rootDisabled:{selectors:(n={},n[u.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},n)},splitButtonContainer:{selectors:(o={},o[u.d]={border:"none"},o)},splitButtonMenuButton:{color:s.white,backgroundColor:"transparent",selectors:{":hover":{backgroundColor:s.neutralLight,selectors:(i={},i[u.d]={color:"Highlight"},i)}}},splitButtonMenuButtonDisabled:{backgroundColor:r.buttonBackgroundDisabled,selectors:{":hover":{backgroundColor:r.buttonBackgroundDisabled}}},splitButtonDivider:{backgroundColor:s.neutralTertiaryAlt},splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:s.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:s.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:s.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:s.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:r.buttonText},splitButtonMenuIconDisabled:{color:r.buttonTextDisabled}}}(e),i,t)});n.d(t,"a",function(){return m});var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return o.c(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,a=e.styles,u=e.theme;return i.createElement(r.a,o.a({},this.props,{variantClassName:n?"ms-Button--primary":"ms-Button--default",styles:h(u,a,n),onRenderDescription:s.b}))},t=o.b([Object(a.a)("DefaultButton",["theme","styles"],!0)],t)}(s.a)},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"e",function(){return i}),n.d(t,"a",function(){return r}),n.d(t,"b",function(){return s}),n.d(t,"g",function(){return a}),n.d(t,"h",function(){return u}),n.d(t,"f",function(){return c}),n.d(t,"c",function(){return l}),n.d(t,"d",function(){return d});var o=n(76),i=["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","role","style","tabIndex","title","translate","spellCheck","name"].concat(["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),r=(i.concat(["form"]),i.concat(["height","loop","muted","preload","src","width"]).concat(["poster"]),i.concat(["start"]),i.concat(["value"]),i.concat(["download","href","hrefLang","media","rel","target","type"])),s=i.concat(["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),a=s.concat(["accept","alt","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),u=s.concat(["cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),c=(s.concat(["form","multiple","required"]),i.concat(["selected","value"]),i.concat(["cellPadding","cellSpacing"]),i.concat(["rowSpan","scope"]),i.concat(["colSpan","headers","rowSpan","scope"]),i.concat(["span"]),i.concat(["span"]),i.concat(["acceptCharset","action","encType","encType","method","noValidate","target"]),i.concat(["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),i.concat(["alt","crossOrigin","height","src","srcSet","useMap","width"])),l=i;function d(e,t,n){return Object(o.b)(function(e){return(!n||n.indexOf(e)<0)&&(0===e.indexOf("data-")||0===e.indexOf("aria-")||t.indexOf(e)>=0)},{},e)}},function(e,t,n){"use strict";function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],o=0,i=e;o<i.length;o++){var r=i[o];if(r)if("string"===typeof r)n.push(r);else if(r.hasOwnProperty("toString")&&"function"===typeof r.toString)n.push(r.toString());else for(var s in r)r[s]&&n.push(s)}return n.join(" ")}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o=n(2),i=n(0),r=n(33),s=n(55),a=n(77),u=["theme","styles"];function c(e,t,n,c,l){var d=(c=c||{scope:"",fields:void 0}).scope,p=c.fields,h=void 0===p?u:p;return function(u){function c(){var t=null!==u&&u.apply(this,arguments)||this;return t._inCustomizerContext=!1,t._renderContent=function(r){t._inCustomizerContext=!!r.customizations.inCustomizerContext;var a=s.a.getSettings(h,d,r.customizations),u=a.styles,c=(a.dir,o.d(a,["styles","dir"])),l=n?n(t.props):void 0;return t._updateStyles(u),i.createElement(e,o.a({},c,l,t.props,{styles:t._styles}))},t._onSettingsChanged=function(){return t.forceUpdate()},t}return o.c(c,u),c.prototype.render=function(){return i.createElement(a.a.Consumer,null,this._renderContent)},c.prototype.componentDidMount=function(){this._inCustomizerContext||s.a.observe(this._onSettingsChanged)},c.prototype.componentWillUnmount=function(){this._inCustomizerContext||s.a.unobserve(this._onSettingsChanged)},c.prototype._updateStyles=function(e){var n=this;this._styles&&e===this._styles.__cachedInputs__[1]&&!this.props.styles||(this._styles=function(o){return function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=[],i=0,s=t;i<s.length;i++){var a=s[i];a&&o.push("function"===typeof a?a(e):a)}if(1===o.length)return o[0];if(o.length)return r.a.apply(void 0,o);return{}}(o,t,e,n.props.styles)},this._styles.__cachedInputs__=[t,e,this.props.styles])},c.displayName="Styled"+(e.displayName||e.name),c}(l?i.PureComponent:i.Component)}},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o=n(7),i=n(57),r=50,s=0,a=o.a.getInstance();a&&a.onReset&&a.onReset(function(){return s++});var u="__retval__";function c(e){void 0===e&&(e={});var t=new Map,n=0,o=s;return function(a,c){void 0===c&&(c={});var l=t,p=e.disableCaching;return o!==s&&(o=s,t=new Map,n=0),e.disableCaching||(l=d(t,a),l=d(l,c)),!p&&l[u]||(l[u]=void 0===a?{}:Object(i.a)("function"===typeof a?a(c):a),p||n++),n>r&&(t.clear(),n=0,e.disableCaching=!0),l[u]}}function l(e,t){return t=function(e){switch(e){case void 0:return"__undefined__";case null:return"__null__";default:return e}}(t),e.has(t)||e.set(t,new Map),e.get(t)}function d(e,t){if("function"===typeof t&&t.__cachedInputs__)for(var n=0,o=t.__cachedInputs__;n<o.length;n++){e=l(e,o[n])}else if("object"===typeof t)for(var i in t)t.hasOwnProperty(i)&&(e=l(e,t[i]));return e}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(85);function i(e){Object(o.a)(e,{componentDidMount:r,componentDidUpdate:s,componentWillUnmount:a})}function r(){u(this.props.componentRef,this)}function s(e){e.componentRef!==this.props.componentRef&&(u(e.componentRef,null),u(this.props.componentRef,this))}function a(){u(this.props.componentRef,null)}function u(e,t){e&&("object"===typeof e?e.current=t:"function"===typeof e&&e(t))}},,function(e,t,n){"use strict";n.d(t,"a",function(){return u});var o=n(2),i=n(0),r=n(155),s=n(144),a=n(108),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return o.c(t,e),t.prototype.render=function(){return i.createElement(a.a,o.a({},this.props,{primary:!0,onRenderDescription:r.b}))},t=o.b([Object(s.a)("PrimaryButton",["theme","styles"],!0)],t)}(r.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o,i=n(13);function r(e){if("undefined"===typeof o||e){var t=Object(i.a)(),n=t&&t.navigator.userAgent;o=!!n&&-1!==n.indexOf("Macintosh")}return!!o}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)}},function(e,t,n){"use strict";n.d(t,"a",function(){return d});var o=n(2),i=n(0),r=n(12),s=n(94),a=n(25),u=n(142),c=n(165),l=n(132),d=function(e){function t(t){var n=e.call(this,t)||this;return n._root=i.createRef(),n._disposables=[],n._onKeyDown=function(e){switch(e.which){case r.a.escape:n.props.onDismiss&&(n.props.onDismiss(e),e.preventDefault(),e.stopPropagation())}},n._onFocus=function(){n._containsFocus=!0},n._onBlur=function(e){n._root.current&&n._root.current.contains(e.relatedTarget)&&(n._containsFocus=!1)},n._async=new s.a(n),n.state={needsVerticalScrollBar:!1},n}return o.c(t,e),t.prototype.UNSAFE_componentWillMount=function(){this._originalFocusedElement=Object(a.a)().activeElement},t.prototype.componentDidMount=function(){this._root.current&&(this._disposables.push(Object(u.a)(this._root.current,"focus",this._onFocus,!0),Object(u.a)(this._root.current,"blur",this._onBlur,!0)),Object(c.a)(this._root.current)&&(this._containsFocus=!0)),this._updateScrollBarAsync()},t.prototype.componentDidUpdate=function(){this._updateScrollBarAsync(),this._async.dispose()},t.prototype.componentWillUnmount=function(){this._disposables.forEach(function(e){return e()}),this.props.shouldRestoreFocus&&this._originalFocusedElement&&this._containsFocus&&this._originalFocusedElement!==window&&this._originalFocusedElement&&this._originalFocusedElement.focus()},t.prototype.render=function(){var e=this.props,t=e.role,n=e.className,r=e.ariaLabel,s=e.ariaLabelledBy,a=e.ariaDescribedBy,u=e.style;return i.createElement("div",o.a({ref:this._root},Object(l.d)(this.props,l.c),{className:n,role:t,"aria-label":r,"aria-labelledby":s,"aria-describedby":a,onKeyDown:this._onKeyDown,style:o.a({overflowY:this.state.needsVerticalScrollBar?"scroll":void 0,outline:"none"},u)}),this.props.children)},t.prototype._updateScrollBarAsync=function(){var e=this;this._async.requestAnimationFrame(function(){e._getScrollBar()})},t.prototype._getScrollBar=function(){if(!this.props.style||!this.props.style.overflowY){var e=!1;if(this._root&&this._root.current&&this._root.current.firstElementChild){var t=this._root.current.clientHeight,n=this._root.current.firstElementChild.clientHeight;t>0&&n>t&&(e=n-t>1)}this.state.needsVerticalScrollBar!==e&&this.setState({needsVerticalScrollBar:e})}},t.defaultProps={shouldRestoreFocus:!0},t}(i.Component)},function(e,t,n){"use strict";function o(e,t,n,o){return e.addEventListener(t,n,o),function(){return e.removeEventListener(t,n,o)}}n.d(t,"a",function(){return o})},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return d}),n.d(t,"c",function(){return p}),n.d(t,"d",function(){return h});var o,i=n(25),r=n(58),s=0,a=Object(r.a)({overflow:"hidden !important"}),u="data-is-scrollable",c=function(){var e=0,t=null,n=function(t){1===t.targetTouches.length&&(e=t.targetTouches[0].clientY)},o=function(n){if(1===n.targetTouches.length&&(n.stopPropagation(),t)){var o=n.targetTouches[0].clientY-e,i=function(e){var t=e;for(;t&&t!==document.body;){if("true"===t.getAttribute(u))return t;t=t.parentElement}t=e;for(;t&&t!==document.body;){if("false"!==t.getAttribute(u)){var n=getComputedStyle(t),o=n?n.getPropertyValue("overflow-y"):"";if(o&&("scroll"===o||"auto"===o))return t}t=t.parentElement}t&&t!==document.body||(t=window);return t}(n.target);i&&(t=i),0===t.scrollTop&&o>0&&n.preventDefault(),t.scrollHeight-t.scrollTop<=t.clientHeight&&o<0&&n.preventDefault()}};return function(e,i){e&&(i.on(e,"touchstart",n,{passive:!1}),i.on(e,"touchmove",o,{passive:!1}),t=e)}}(),l=function(e){e.preventDefault()};function d(){var e=Object(i.a)();e&&e.body&&!s&&(e.body.classList.add(a),e.body.addEventListener("touchmove",l,{passive:!1,capture:!1})),s++}function p(){if(s>0){var e=Object(i.a)();e&&e.body&&1===s&&(e.body.classList.remove(a),e.body.removeEventListener("touchmove",l)),s--}}function h(){if(void 0===o){var e=document.createElement("div");e.style.setProperty("width","100px"),e.style.setProperty("height","100px"),e.style.setProperty("overflow","scroll"),e.style.setProperty("position","absolute"),e.style.setProperty("top","-9999px"),document.body.appendChild(e),o=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return o}},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o=n(2),i=n(0),r=n(55),s=n(98),a=n(77),u=n(33);function c(e,t,n){return function(c){var l,d=((l=function(s){function l(e){var t=s.call(this,e)||this;return t._onSettingChanged=t._onSettingChanged.bind(t),t}return o.c(l,s),l.prototype.componentDidMount=function(){r.a.observe(this._onSettingChanged)},l.prototype.componentWillUnmount=function(){r.a.unobserve(this._onSettingChanged)},l.prototype.render=function(){var s=this;return i.createElement(a.a.Consumer,null,function(a){var l=r.a.getSettings(t,e,a.customizations),d=s.props;if(l.styles&&"function"===typeof l.styles&&(l.styles=l.styles(o.a({},l,d))),n&&(l.styles||d.styles)){var p=Object(u.a)(l.styles,d.styles);return i.createElement(c,o.a({},l,d,{styles:p}))}return i.createElement(c,o.a({},l,d))})},l.prototype._onSettingChanged=function(){this.forceUpdate()},l}(i.Component)).displayName="Customized"+e,l);return Object(s.a)(c,d)}}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(79),i=n(100);function r(e,t){var n=Object(o.a)(e,function(e){return t===e||e.hasAttribute(i.a)});return null!==n&&n.hasAttribute(i.a)}},function(e,t,n){"use strict";function o(e,t){for(var n=-1,o=0;e&&o<e.length;o++)if(t(e[o],o)){n=o;break}return n}function i(e,t){var n=o(e,t);if(!(n<0))return e[n]}function r(e,t,n){var o=e.slice();return o[n]=t,o}function s(e,t,n){var o=e.slice();return o.splice(t,0,n),o}function a(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}n.d(t,"d",function(){return o}),n.d(t,"c",function(){return i}),n.d(t,"e",function(){return r}),n.d(t,"a",function(){return s}),n.d(t,"b",function(){return a})},function(e,t,n){"use strict";function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(function(e){return void 0!==e&&null!==e}).join(" ").trim();return""===n?void 0:n}n.d(t,"a",function(){return o})},,,,,function(e,t,n){"use strict";var o=n(134),i=n(2),r=n(0),s=n(28),a=n(135),u=n(36),c=n(132),l=n(13),d=n(142),p=n(1),h={fontFamily:"inherit"},m={root:"ms-Fabric"},f=function(e){var t=e.theme,n=e.className,o=e.isFocusVisible;return{root:[Object(p.u)(m,t).root,o&&"is-focusVisible",t.fonts.medium,{color:t.palette.neutralPrimary,selectors:{"& button":h,"& input":h,"& textarea":h}},n]}},v=Object(a.a)(),_=function(e){function t(t){var n=e.call(this,t)||this;return n._rootElement=r.createRef(),n._disposables=[],n._onMouseDown=function(e){n.setState({isFocusVisible:!1})},n._onKeyDown=function(e){Object(u.a)(e.which)&&n.setState({isFocusVisible:!0})},n.state={isFocusVisible:!1},n}return i.c(t,e),t.prototype.render=function(){var e=this.props.className,t=v(f,{theme:this.props.theme,className:e,isFocusVisible:this.state.isFocusVisible}),n=Object(c.d)(this.props,c.c);return r.createElement("div",i.a({},n,{className:t.root,ref:this._rootElement}))},t.prototype.componentDidMount=function(){var e=Object(l.a)(this._rootElement.current);e&&this._disposables.push(Object(d.a)(e,"mousedown",this._onMouseDown,!0),Object(d.a)(e,"keydown",this._onKeyDown,!0))},t.prototype.componentWillUnmount=function(){this._disposables.forEach(function(e){return e()})},t}(r.Component),g=Object(o.a)(_,f,void 0,{scope:"Fabric"});var b,y=n(25),E=n(100),C=n(144),I={};var M=Object(a.a)(),k=function(e){function t(t){var n,o,i=e.call(this,t)||this;return i._handleRootElementRef=function(e){i._rootElement=e,e&&i._setVirtualParent()},i._filterEvent=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&e.stopPropagation()},i.state={hasMounted:!1},i.props.hostId&&(n=i.props.hostId,o=i,I[n]||(I[n]=[]),I[n].push(o)),i}return i.c(t,e),t.prototype.UNSAFE_componentWillMount=function(){this._layerElement=this._getLayerElement()},t.prototype.UNSAFE_componentWillUpdate=function(){this._layerElement||(this._layerElement=this._getLayerElement())},t.prototype.componentDidMount=function(){this.setState({hasMounted:!0}),this._setVirtualParent();var e=this.props,t=e.onLayerDidMount,n=e.onLayerMounted;n&&n(),t&&t()},t.prototype.componentWillUnmount=function(){this._removeLayerElement();var e=this.props,t=e.onLayerWillUnmount,n=e.hostId;t&&t(),n&&function(e,t){if(I[e]){var n=I[e].indexOf(t);n>=0&&(I[e].splice(n,1),0===I[e].length&&delete I[e])}}(n,this)},t.prototype.componentDidUpdate=function(){this._setVirtualParent()},t.prototype.render=function(){var e=this._getClassNames(),t=this.props.eventBubblingEnabled,n=this.state.hasMounted;return r.createElement("span",{className:"ms-layer",ref:this._handleRootElementRef},this._layerElement&&n&&s.createPortal(t?r.createElement(g,{className:e.content},this.props.children):r.createElement(g,{className:e.content,onClick:this._filterEvent,onContextMenu:this._filterEvent,onDoubleClick:this._filterEvent,onDrag:this._filterEvent,onDragEnd:this._filterEvent,onDragEnter:this._filterEvent,onDragExit:this._filterEvent,onDragLeave:this._filterEvent,onDragOver:this._filterEvent,onDragStart:this._filterEvent,onDrop:this._filterEvent,onMouseDown:this._filterEvent,onMouseEnter:this._filterEvent,onMouseLeave:this._filterEvent,onMouseMove:this._filterEvent,onMouseOver:this._filterEvent,onMouseOut:this._filterEvent,onMouseUp:this._filterEvent,onKeyDown:this._filterEvent,onKeyPress:this._filterEvent,onKeyUp:this._filterEvent,onFocus:this._filterEvent,onBlur:this._filterEvent,onChange:this._filterEvent,onInput:this._filterEvent,onInvalid:this._filterEvent,onSubmit:this._filterEvent},this.props.children),this._layerElement))},t.prototype._getClassNames=function(){var e=this.props,t=e.className,n=e.styles,o=e.theme;return M(n,{theme:o,className:t,isNotHost:!this.props.hostId})},t.prototype._setVirtualParent=function(){this._rootElement&&this._layerElement&&function(e,t){var n=e,o=t;n._virtual||(n._virtual={children:[]});var i=n._virtual.parent;if(i&&i!==t){var r=i._virtual.children.indexOf(n);r>-1&&i._virtual.children.splice(r,1)}n._virtual.parent=o||void 0,o&&(o._virtual||(o._virtual={children:[]}),o._virtual.children.push(n))}(this._layerElement,this._rootElement)},t.prototype._getLayerElement=function(){var e=this._getHost(),t=this._getClassNames();if(e!==this._host&&this._removeLayerElement(),e&&(this._host=e,!this._layerElement)){var n=Object(y.a)();if(!n)return;this._layerElement=n.createElement("div"),this._layerElement.className=t.root,Object(E.b)(this._layerElement),this.props.insertFirst?e.insertBefore(this._layerElement,e.firstChild):e.appendChild(this._layerElement)}return this._layerElement},t.prototype._removeLayerElement=function(){if(this._layerElement){this.props.onLayerWillUnmount();var e=this._layerElement.parentNode;e&&e.removeChild(this._layerElement),this._layerElement=void 0}},t.prototype._getHost=function(){var e=this.props.hostId,t=Object(y.a)();if(t){if(e)return t.getElementById(e);var n=b;return n?t.querySelector(n):t.body}},t.defaultProps={onLayerDidMount:function(){},onLayerWillUnmount:function(){}},t=i.b([Object(C.a)("Layer",["theme","hostId"])],t)}(r.Component),x={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"};n.d(t,"a",function(){return w});var w=Object(o.a)(k,function(e){var t=e.className,n=e.isNotHost,o=e.theme,i=Object(p.u)(x,o);return{root:[i.root,o.fonts.medium,n&&[i.rootNoHost,{position:"fixed",zIndex:p.p.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[i.content,{visibility:"visible"}]}},void 0,{scope:"Layer",fields:["hostId","theme","styles"]})},function(e,t,n){"use strict";var o,i=n(2),r=n(0),s=n(134),a=n(62),u=n(165),c=n(94),l=n(76),d=n(132),p=n(133),h=n(96),m=n(142),f=n(25),v=n(13),_=n(99),g=function(){function e(e,t,n,o){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===o&&(o=0),this.top=n,this.bottom=o,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!0,configurable:!0}),e.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))},e}(),b=n(166),y=n(143),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.c(t,e),t}(g);function C(e,t,n){return{targetEdge:e,alignmentEdge:t,isAuto:n}}var I=((o={})[a.a.topLeftEdge]=C(_.a.top,_.a.left),o[a.a.topCenter]=C(_.a.top),o[a.a.topRightEdge]=C(_.a.top,_.a.right),o[a.a.topAutoEdge]=C(_.a.top,void 0,!0),o[a.a.bottomLeftEdge]=C(_.a.bottom,_.a.left),o[a.a.bottomCenter]=C(_.a.bottom),o[a.a.bottomRightEdge]=C(_.a.bottom,_.a.right),o[a.a.bottomAutoEdge]=C(_.a.bottom,void 0,!0),o[a.a.leftTopEdge]=C(_.a.left,_.a.top),o[a.a.leftCenter]=C(_.a.left),o[a.a.leftBottomEdge]=C(_.a.left,_.a.bottom),o[a.a.rightTopEdge]=C(_.a.right,_.a.top),o[a.a.rightCenter]=C(_.a.right),o[a.a.rightBottomEdge]=C(_.a.right,_.a.bottom),o);function M(e,t){return!(e.top<t.top)&&(!(e.bottom>t.bottom)&&(!(e.left<t.left)&&!(e.right>t.right)))}function k(e,t){var n=new Array;return e.top<t.top&&n.push(_.a.top),e.bottom>t.bottom&&n.push(_.a.bottom),e.left<t.left&&n.push(_.a.left),e.right>t.right&&n.push(_.a.right),n}function x(e,t){return e[_.a[t]]}function w(e,t,n){return e[_.a[t]]=n,e}function P(e,t){var n=L(t);return(x(e,n.positiveEdge)+x(e,n.negativeEdge))/2}function O(e,t){return e>0?t:-1*t}function D(e,t){return O(e,x(t,e))}function S(e,t,n){return O(n,x(e,n)-x(t,n))}function T(e,t,n){var o=x(e,t)-n;return e=w(e,t,n),e=w(e,-1*t,x(e,-1*t)-o)}function B(e,t,n,o){return void 0===o&&(o=0),T(e,n,x(t,n)+O(n,o))}function j(e,t,n){return D(n,e)>D(n,t)}function F(e,t,n,o,i,r,s){void 0===i&&(i=0);var a=o.alignmentEdge,u=o.alignTargetEdge,c={elementRectangle:e,targetEdge:o.targetEdge,alignmentEdge:a};r||s||(c=function(e,t,n,o,i){void 0===i&&(i=0);var r=[_.a.left,_.a.right,_.a.bottom,_.a.top];Object(b.a)()&&(r[0]*=-1,r[1]*=-1);for(var s=e,a=o.targetEdge,u=o.alignmentEdge,c=0;c<4;c++){if(j(s,n,a))return{elementRectangle:s,targetEdge:a,alignmentEdge:u};r.splice(r.indexOf(a),1),r.length>0&&(r.indexOf(-1*a)>-1?a*=-1:(u=a,a=r.slice(-1)[0]),s=A(e,t,{targetEdge:a,alignmentEdge:u},i))}return{elementRectangle:e,targetEdge:o.targetEdge,alignmentEdge:u}}(e,t,n,o,i));var l=k(e,n);if(u){if(c.alignmentEdge&&l.indexOf(-1*c.alignmentEdge)>-1){var d=function(e,t,n,o){var i=e.alignmentEdge,r=e.targetEdge,s=-1*i;return{elementRectangle:A(e.elementRectangle,t,{targetEdge:r,alignmentEdge:s},n,o),targetEdge:r,alignmentEdge:s}}(c,t,i,s);if(M(d.elementRectangle,n))return d;c=N(k(d.elementRectangle,n),c,n)}}else c=N(l,c,n);return c}function N(e,t,n){for(var o=0,i=e;o<i.length;o++){var r=i[o];t.elementRectangle=B(t.elementRectangle,n,r)}return t}function R(e,t,n){var o=L(t).positiveEdge;return T(e,o,n-(P(e,t)-x(e,o)))}function A(e,t,n,o,i){var r;void 0===o&&(o=0);var s=n.alignmentEdge,a=n.targetEdge,u=i?a:-1*a;(r=i?B(e,t,a,o):function(e,t,n,o){void 0===o&&(o=0);var i=O(-1*n,o);return T(e,-1*n,x(t,n)+i)}(e,t,a,o),s)?r=B(r,t,s):r=R(r,u,P(t,a));return r}function L(e){return e===_.a.top||e===_.a.bottom?{positiveEdge:_.a.left,negativeEdge:_.a.right}:{positiveEdge:_.a.top,negativeEdge:_.a.bottom}}function K(e,t,n){return n&&Math.abs(S(e,n,t))>Math.abs(S(e,n,-1*t))?-1*t:t}function H(e){return Math.sqrt(e*e*2)}function W(e,t,n){if(void 0===e&&(e=a.a.bottomAutoEdge),n)return{alignmentEdge:n.alignmentEdge,isAuto:n.isAuto,targetEdge:n.targetEdge};var o=i.a({},I[e]);return Object(b.a)()?(o.alignmentEdge&&o.alignmentEdge%2===0&&(o.alignmentEdge=-1*o.alignmentEdge),void 0!==t?I[t]:o):o}function U(e,t,n){var o=P(t,e),i=P(n,e),r=L(e),s=r.positiveEdge,a=r.negativeEdge;return o<=i?s:a}function z(e,t,n,o,i,r,s){var a=A(e,t,o,i,s);return M(a,n)?{elementRectangle:a,targetEdge:o.targetEdge,alignmentEdge:o.alignmentEdge}:F(e,t,n,o,i,r,s)}function q(e,t,n){var o=-1*e.targetEdge,r=new E(0,e.elementRectangle.width,0,e.elementRectangle.height),s={},a=K(e.elementRectangle,e.alignmentEdge?e.alignmentEdge:L(o).positiveEdge,n);return s[_.a[o]]=x(t,o),s[_.a[a]]=S(t,r,a),{elementPosition:i.a({},s),closestEdge:U(e.targetEdge,t,r),targetEdge:o}}function V(e,t){var n=t.targetRectangle,o=L(t.targetEdge),i=o.positiveEdge,r=o.negativeEdge,s=P(n,t.targetEdge),a=new E(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),u=new E(0,e,0,e);return j(u=R(u=T(u,-1*t.targetEdge,-e/2),-1*t.targetEdge,s-D(i,t.elementRectangle)),a,i)?j(u,a,r)||(u=B(u,a,r)):u=B(u,a,i),u}function Z(e){var t=e.getBoundingClientRect();return new E(t.left,t.right,t.top,t.bottom)}function Y(e){return new E(e.left,e.right,e.top,e.bottom)}function G(e,t,n,o,i){var r=0,s=I[t],a=i?-1*s.targetEdge:s.targetEdge;return(r=a===_.a.top?x(e,s.targetEdge)-o.top-n:a===_.a.bottom?o.bottom-x(e,s.targetEdge)-n:o.bottom-e.top-n)>0?r:o.height}function X(e,t,n,o){var r=e.gapSpace?e.gapSpace:0,s=function(e,t){var n;if(t){if(t.preventDefault){var o=t;n=new E(o.clientX,o.clientX,o.clientY,o.clientY)}else if(t.getBoundingClientRect)n=Z(t);else{var i=t;n=new E(i.x,i.x,i.y,i.y)}if(!M(n,e))for(var r=0,s=k(n,e);r<s.length;r++){var a=s[r];n[_.a[a]]=e[_.a[a]]}}else n=new E(0,0,0,0);return n}(n,e.target),a=function(e,t,n,o,i){return e.isAuto&&(e.alignmentEdge=U(e.targetEdge,t,n)),e.alignTargetEdge=i,e}(W(e.directionalHint,e.directionalHintForRTL,o),s,n,e.coverTarget,e.alignTargetEdge),u=z(Z(t),s,n,a,r,e.directionalHintFixed,e.coverTarget);return i.a({},u,{targetRectangle:s})}function Q(e,t,n,o){return{elementPosition:function(e,t,n,o,i,r){var s={},a=Z(t),u=r?n:-1*n,c=_.a[u],l=K(e,i||L(n).positiveEdge,o);return s[c]=S(e,a,u),s[_.a[l]]=S(e,a,l),s}(e.elementRectangle,t,e.targetEdge,n,e.alignmentEdge,o),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}function $(e,t,n,o){return function(e,t,n,o){var r=e.isBeakVisible&&e.beakWidth||0,s=H(r)/2+(e.gapSpace?e.gapSpace:0),a=e;a.gapSpace=s;var u=e.bounds?Y(e.bounds):new E(0,window.innerWidth-Object(y.d)(),0,window.innerHeight),c=X(a,n,u,o),l=q(c,V(r,c),u);return i.a({},Q(c,t,u,e.coverTarget),{beakPosition:l})}(e,t,n,o)}var J,ee=n(141),te=n(135),ne=n(1),oe=((J={})[_.a.top]=ne.a.slideUpIn10,J[_.a.bottom]=ne.a.slideDownIn10,J[_.a.left]=ne.a.slideLeftIn10,J[_.a.right]=ne.a.slideRightIn10,J),ie=Object(te.a)({disableCaching:!0}),re=0,se=0,ae={opacity:0,filter:"opacity(0)"},ue=["role","aria-roledescription"],ce=function(e){function t(t){var n=e.call(this,t)||this;return n._hostElement=r.createRef(),n._calloutElement=r.createRef(),n._hasListeners=!1,n._disposables=[],n.dismiss=function(e){var t=n.props.onDismiss;t&&t(e)},n._dismissOnScroll=function(e){var t=n.props.preventDismissOnScroll;n.state.positions&&!t&&n._dismissOnClickOrScroll(e)},n._dismissOnResize=function(e){n.props.preventDismissOnResize||n.dismiss(e)},n._dismissOnLostFocus=function(e){n.props.preventDismissOnLostFocus||n._dismissOnClickOrScroll(e)},n._setInitialFocus=function(){n.props.setInitialFocus&&!n._didSetInitialFocus&&n.state.positions&&n._calloutElement.current&&(n._didSetInitialFocus=!0,n._async.requestAnimationFrame(function(){return Object(u.c)(n._calloutElement.current)}))},n._onComponentDidMount=function(){n._addListeners(),n.props.onLayerMounted&&n.props.onLayerMounted(),n._updateAsyncPosition(),n._setHeightOffsetEveryFrame()},n._mouseDownOnPopup=function(){n._isMouseDownOnPopup=!0},n._mouseUpOnPopup=function(){n._isMouseDownOnPopup=!1},n._async=new c.a(n),n._didSetInitialFocus=!1,n.state={positions:void 0,slideDirectionalClassName:void 0,calloutElementRect:void 0,heightOffset:0},n._positionAttempts=0,n}return i.c(t,e),t.prototype.componentDidUpdate=function(){this.props.hidden?this._hasListeners&&this._removeListeners():(this._setInitialFocus(),this._hasListeners||this._addListeners(),this._updateAsyncPosition())},t.prototype.shouldComponentUpdate=function(e,t){return(!this.props.hidden||!e.hidden)&&(!Object(l.d)(this.props,e)||!Object(l.d)(this.state,t))},t.prototype.UNSAFE_componentWillMount=function(){this._setTargetWindowAndElement(this._getTarget())},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._disposables.forEach(function(e){return e()})},t.prototype.UNSAFE_componentWillUpdate=function(e){var t=this._getTarget(e);(t!==this._getTarget()||"string"===typeof t||t instanceof String)&&!this._blockResetHeight&&(this._maxHeight=void 0,this._setTargetWindowAndElement(t)),e.gapSpace===this.props.gapSpace&&this.props.beakWidth===e.beakWidth||(this._maxHeight=void 0),e.finalHeight!==this.props.finalHeight&&this._setHeightOffsetEveryFrame(),this._didPositionPropsChange(e,this.props)&&(this._maxHeight=void 0,this._setTargetWindowAndElement(t),this.setState({positions:void 0}),this._didSetInitialFocus=!1,this._bounds=void 0),this._blockResetHeight=!1},t.prototype.componentDidMount=function(){this.props.hidden||this._onComponentDidMount()},t.prototype.render=function(){if(!this._targetWindow)return null;var e=this.props.target,t=this.props,n=t.styles,o=t.style,s=t.ariaLabel,a=t.ariaDescribedBy,u=t.ariaLabelledBy,c=t.className,l=t.isBeakVisible,h=t.children,m=t.beakWidth,f=t.calloutWidth,v=t.calloutMaxWidth,_=t.finalHeight,g=t.hideOverflow,b=void 0===g?!!_:g,y=t.backgroundColor,E=t.calloutMaxHeight,C=t.onScroll,I=t.shouldRestoreFocus,M=void 0===I||I;e=this._getTarget();var k=this.state.positions,x=this._getMaxHeight()?this._getMaxHeight()+this.state.heightOffset:void 0,w=E&&x&&E<x?E:x,P=b,O=l&&!!e;this._classNames=ie(n,{theme:this.props.theme,className:c,overflowYHidden:P,calloutWidth:f,positions:k,beakWidth:m,backgroundColor:y,calloutMaxWidth:v});var D=i.a({},o,{maxHeight:w},P&&{overflowY:"hidden"}),S=this.props.hidden?{visibility:"hidden"}:void 0;return r.createElement("div",{ref:this._hostElement,className:this._classNames.container,style:S},r.createElement("div",i.a({},Object(d.d)(this.props,d.c,ue),{className:Object(p.a)(this._classNames.root,k&&k.targetEdge&&oe[k.targetEdge]),style:k?k.elementPosition:ae,tabIndex:-1,ref:this._calloutElement}),O&&r.createElement("div",{className:this._classNames.beak,style:this._getBeakPosition()}),O&&r.createElement("div",{className:this._classNames.beakCurtain}),r.createElement(ee.a,i.a({},Object(d.d)(this.props,ue),{ariaLabel:s,ariaDescribedBy:a,ariaLabelledBy:u,className:this._classNames.calloutMain,onDismiss:this.dismiss,onScroll:C,shouldRestoreFocus:M,style:D,onMouseDown:this._mouseDownOnPopup,onMouseUp:this._mouseUpOnPopup}),h)))},t.prototype._dismissOnClickOrScroll=function(e){var t=e.target,n=this._hostElement.current&&!Object(h.a)(this._hostElement.current,t);n&&this._isMouseDownOnPopup?this._isMouseDownOnPopup=!1:(!this._target&&n||e.target!==this._targetWindow&&n&&(this._target.stopPropagation||!this._target||t!==this._target&&!Object(h.a)(this._target,t)))&&this.dismiss(e)},t.prototype._addListeners=function(){var e=this;this._async.setTimeout(function(){e._disposables.push(Object(m.a)(e._targetWindow,"scroll",e._dismissOnScroll,!0),Object(m.a)(e._targetWindow,"resize",e._dismissOnResize,!0),Object(m.a)(e._targetWindow.document.documentElement,"focus",e._dismissOnLostFocus,!0),Object(m.a)(e._targetWindow.document.documentElement,"click",e._dismissOnLostFocus,!0)),e._hasListeners=!0},0)},t.prototype._removeListeners=function(){this._disposables.forEach(function(e){return e()}),this._disposables=[],this._hasListeners=!1},t.prototype._updateAsyncPosition=function(){var e=this;this._async.requestAnimationFrame(function(){return e._updatePosition()})},t.prototype._getBeakPosition=function(){var e=this.state.positions,t=i.a({},e&&e.beakPosition?e.beakPosition.elementPosition:null);return t.top||t.bottom||t.left||t.right||(t.left=se,t.top=re),t},t.prototype._updatePosition=function(){this._setTargetWindowAndElement(this._getTarget());var e=this.state.positions,t=this._hostElement.current,n=this._calloutElement.current,o=!!this.props.target;if(t&&n&&(!o||this._target)){var i=void 0;(i=Object(l.a)(i,this.props)).bounds=this._getBounds(),i.target=this._target;var r=$(i,t,n,e);!e&&r||e&&r&&!this._arePositionsEqual(e,r)&&this._positionAttempts<5?(this._positionAttempts++,this.setState({positions:r})):this._positionAttempts>0&&(this._positionAttempts=0,this.props.onPositioned&&this.props.onPositioned(this.state.positions))}},t.prototype._getBounds=function(){if(!this._bounds){var e=this.props.bounds;e||(e={top:0+this.props.minPagePadding,left:0+this.props.minPagePadding,right:this._targetWindow.innerWidth-this.props.minPagePadding,bottom:this._targetWindow.innerHeight-this.props.minPagePadding,width:this._targetWindow.innerWidth-2*this.props.minPagePadding,height:this._targetWindow.innerHeight-2*this.props.minPagePadding}),this._bounds=e}return this._bounds},t.prototype._getMaxHeight=function(){var e=this;if(!this._maxHeight)if(this.props.directionalHintFixed&&this._target){var t=this.props.isBeakVisible?this.props.beakWidth:0,n=(this.props.gapSpace?this.props.gapSpace:0)+t;this._async.requestAnimationFrame(function(){e._target&&(e._maxHeight=function(e,t,n,o,i){void 0===n&&(n=0);var r=e,s=e,a=e,u=o?Y(o):new E(0,window.innerWidth-Object(y.d)(),0,window.innerHeight);return G(r.stopPropagation?new E(r.clientX,r.clientX,r.clientY,r.clientY):void 0!==a.x&&void 0!==a.y?new E(a.x,a.x,a.y,a.y):Z(s),t,n,u,i)}(e._target,e.props.directionalHint,n,e._getBounds(),e.props.coverTarget),e._blockResetHeight=!0,e.forceUpdate())})}else this._maxHeight=this._getBounds().height;return this._maxHeight},t.prototype._arePositionsEqual=function(e,t){return this._comparePositions(e.elementPosition,t.elementPosition)&&this._comparePositions(e.beakPosition.elementPosition,t.beakPosition.elementPosition)},t.prototype._comparePositions=function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var o=e[n],i=t[n];if(void 0===o||void 0===i)return!1;if(o.toFixed(2)!==i.toFixed(2))return!1}return!0},t.prototype._setTargetWindowAndElement=function(e){if(e)if("string"===typeof e){var t=Object(f.a)();this._target=t?t.querySelector(e):null,this._targetWindow=Object(v.a)()}else if(e.stopPropagation)this._targetWindow=Object(v.a)(e.toElement),this._target=e;else if(e.getBoundingClientRect){var n=e;this._targetWindow=Object(v.a)(n),this._target=e}else void 0!==e.current?(this._target=e.current,this._targetWindow=Object(v.a)(this._target)):(this._targetWindow=Object(v.a)(),this._target=e);else this._targetWindow=Object(v.a)()},t.prototype._setHeightOffsetEveryFrame=function(){var e=this;this._calloutElement.current&&this.props.finalHeight&&(this._setHeightOffsetTimer=this._async.requestAnimationFrame(function(){var t=e._calloutElement.current&&e._calloutElement.current.lastChild;if(t){var n=t.scrollHeight-t.offsetHeight;e.setState({heightOffset:e.state.heightOffset+n}),t.offsetHeight<e.props.finalHeight?e._setHeightOffsetEveryFrame():e._async.cancelAnimationFrame(e._setHeightOffsetTimer)}}))},t.prototype._didPositionPropsChange=function(e,t){return!e.hidden&&e.hidden!==t.hidden||e.directionalHint!==t.directionalHint},t.prototype._getTarget=function(e){return void 0===e&&(e=this.props),e.target},t.defaultProps={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:a.a.bottomAutoEdge},t}(r.Component);function le(e){return{height:e,width:e}}var de={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},pe=Object(s.a)(ce,function(e){var t,n=e.theme,o=e.className,i=e.overflowYHidden,r=e.calloutWidth,s=e.beakWidth,a=e.backgroundColor,u=e.calloutMaxWidth,c=Object(ne.u)(de,n),l=n.palette,d=n.effects;return{container:[c.container,{position:"relative"}],root:[c.root,n.fonts.medium,{position:"absolute",boxSizing:"border-box",borderRadius:d.roundedCorner2,boxShadow:d.elevation16,selectors:(t={},t[ne.d]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},Object(ne.s)(),o,!!r&&{width:r},!!u&&{maxWidth:u}],beak:[c.beak,{position:"absolute",backgroundColor:l.white,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},le(s),a&&{backgroundColor:a}],beakCurtain:[c.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:l.white,borderRadius:d.roundedCorner2}],calloutMain:[c.calloutMain,{backgroundColor:l.white,overflowX:"hidden",overflowY:"auto",position:"relative",borderRadius:d.roundedCorner2},i&&{overflowY:"hidden"},a&&{backgroundColor:a}]}},void 0,{scope:"CalloutContent"}),he=n(152);n.d(t,"a",function(){return me});var me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.c(t,e),t.prototype.render=function(){var e=this.props,t=e.layerProps,n=i.d(e,["layerProps"]),o=r.createElement(pe,i.a({},n));return this.props.doNotLayer?o:r.createElement(he.a,i.a({},t),o)},t}(r.Component)},,function(e,t,n){"use strict";var o=n(2),i=n(0),r=n(94),s=n(97);n(54);var a=n(56),u=n(13);n.d(t,"a",function(){return c}),n.d(t,"b",function(){return d});var c=function(e){function t(n,o){var i=e.call(this,n,o)||this;return Object(a.b)(),function(e){var t=e||Object(u.a)();if(t&&!t.__hasInitializedDir__){t.__hasInitializedDir__=!0;var n=t.document.documentElement;n.hasAttribute("dir")||n.setAttribute("dir","ltr")}}(),function(e,t,n){for(var o=0,i=n.length;o<i;o++)l(e,t,n[o])}(i,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),i}return o.c(t,e),t.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},t.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},t.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var n=this.__disposables[e];n.dispose&&n.dispose()}this.__disposables=null}},Object.defineProperty(t.prototype,"className",{get:function(){if(!this.__className){var e=/function (.{1,})\(/.exec(this.constructor.toString());this.__className=e&&e.length>1?e[1]:""}return this.__className},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new r.a(this),this._disposables.push(this.__async)),this.__async},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new s.a(this),this._disposables.push(this.__events)),this.__events},enumerable:!0,configurable:!0}),t.prototype._resolveRef=function(e){var t=this;return this.__resolves||(this.__resolves={}),this.__resolves[e]||(this.__resolves[e]=function(n){return t[e]=n}),this.__resolves[e]},t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),e&&t&&e.componentRef!==t.componentRef&&(this._setComponentRef(e.componentRef,null),this._setComponentRef(t.componentRef,this))},t.prototype._warnDeprecations=function(e){this.className,this.props},t.prototype._warnMutuallyExclusive=function(e){this.className,this.props},t.prototype._warnConditionallyRequiredProps=function(e,t,n){this.className,this.props},t.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"===typeof e&&e(t),"object"===typeof e&&(e.current=t))},t}(i.Component);function l(e,t,n){var o=e[n],i=t[n];(o||i)&&(e[n]=function(){var e;return i&&(e=i.apply(this,arguments)),o!==i&&(e=o.apply(this,arguments)),e})}function d(){return null}},,function(e,t,n){"use strict";var o,i=n(2),r=n(0),s=n(147),a=n(97),u=n(146),c=n(76),l="ktp",d="-",p="ktp-layer-id";!function(e){e.KEYTIP_ADDED="keytipAdded",e.KEYTIP_REMOVED="keytipRemoved",e.KEYTIP_UPDATED="keytipUpdated",e.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded",e.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved",e.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute",e.ENTER_KEYTIP_MODE="enterKeytipMode",e.EXIT_KEYTIP_MODE="exitKeytipMode"}(o||(o={}));var h=function(){function e(){this.keytips=[],this.persistedKeytips=[],this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0}return e.getInstance=function(){return this._instance},e.prototype.register=function(e,t){void 0===t&&(t=!1);var n=e;t||(n=this.addParentOverflow(e));var i=this._getUniqueKtp(n);t?this.persistedKeytips.push(i):this.keytips.push(i);var r=t?o.PERSISTED_KEYTIP_ADDED:o.KEYTIP_ADDED;return a.a.raise(this,r,{keytip:n,uniqueID:i.uniqueID}),i.uniqueID},e.prototype.update=function(e,t){var n=this.addParentOverflow(e),i=this._getUniqueKtp(n,t),r=Object(u.d)(this.keytips,function(e){return e.uniqueID===t});r>=0&&(i.keytip.visible=this.keytips[r].keytip.visible,this.keytips=Object(u.e)(this.keytips,i,r),a.a.raise(this,o.KEYTIP_UPDATED,{keytip:i.keytip,uniqueID:i.uniqueID}))},e.prototype.unregister=function(e,t,n){void 0===n&&(n=!1),n?this.persistedKeytips=this.persistedKeytips.filter(function(e){return e.uniqueID!==t}):this.keytips=this.keytips.filter(function(e){return e.uniqueID!==t});var i=n?o.PERSISTED_KEYTIP_REMOVED:o.KEYTIP_REMOVED;a.a.raise(this,i,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){a.a.raise(this,o.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){a.a.raise(this,o.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){return this.keytips.map(function(e){return e.keytip})},e.prototype.addParentOverflow=function(e){var t=e.keySequences.slice();if(t.pop(),0!==t.length){var n=Object(u.c)(this.getKeytips(),function(e){return Object(u.b)(t,e.keySequences)});if(n&&n.overflowSetSequence)return i.a({},e,{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){a.a.raise(this,o.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=Object(c.c)()),{keytip:i.a({},e),uniqueID:t}},e._instance=new e,e}();function m(e){return e.reduce(function(e,t){return e+d+t.split("").join(d)},l)}n.d(t,"a",function(){return f});var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._keytipManager=h.getInstance(),t}return i.c(t,e),t.prototype.componentDidMount=function(){this.props.keytipProps&&(this._uniqueId=this._keytipManager.register(this._getKtpProps()))},t.prototype.componentWillUnmount=function(){this.props.keytipProps&&this._keytipManager.unregister(this._getKtpProps(),this._uniqueId)},t.prototype.componentDidUpdate=function(e){e.keytipProps===this.props.keytipProps&&e.disabled===this.props.disabled||this.props.keytipProps&&this._keytipManager.update(this._getKtpProps(),this._uniqueId)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.keytipProps,o=e.ariaDescribedBy,i={};return n&&(i=this._getKtpAttrs(n,o)),t(i)},t.prototype._getKtpProps=function(){return i.a({disabled:this.props.disabled},this.props.keytipProps)},t.prototype._getKtpAttrs=function(e,t){if(e){var n=this._keytipManager.addParentOverflow(e),o=function(e){var t=" "+p;return e.length?t+" "+m(e):t}(n.keySequences),i=n.keySequences.slice();n.overflowSetSequence&&(i=function(e,t){var n=t.length,o=t.slice().pop(),i=e.slice();return Object(u.a)(i,n-1,o)}(i,n.overflowSetSequence));var r=m(i);return{"aria-describedby":Object(s.a)(t,o),"data-ktp-target":r,"data-ktp-execute-target":r}}},t}(r.Component)},,,function(e,t,n){"use strict";var o,i=n(134),r=n(2),s=n(0);!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(o||(o={}));var a=n(83),u=n(78),c=n(135),l=n(132),d=n(93),p=Object(c.a)({disableCaching:!0}),h=function(e){function t(t){var n=e.call(this,t)||this;return n.onImageLoadingStateChange=function(e){n.props.imageProps&&n.props.imageProps.onLoadingStateChange&&n.props.imageProps.onLoadingStateChange(e),e===u.c.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return r.c(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.styles,i=e.iconName,u=e.imageErrorAs,c=e.theme,h="string"===typeof i&&0===i.length,m=this.props.iconType===o.image||this.props.iconType===o.Image||!!this.props.imageProps,f=Object(d.b)(i),v=f.iconClassName,_=f.children,g=p(n,{theme:c,className:t,iconClassName:v,isImage:m,isPlaceholder:h}),b=m?"div":"i",y=Object(l.d)(this.props,l.e,["aria-label"]),E=this.state.imageLoadError,C=r.a({},this.props.imageProps,{onLoadingStateChange:this.onImageLoadingStateChange}),I=E&&u||a.a,M=this.props.ariaLabel||this.props["aria-label"],k=M?{"aria-label":M}:{role:"presentation","aria-hidden":!C.alt&&!C["aria-labelledby"]};return s.createElement(b,r.a({"data-icon-name":i},k,y,{className:g.root}),m?s.createElement(I,r.a({},C)):_)},t}(s.Component),m=n(69);n.d(t,"a",function(){return f});var f=Object(i.a)(h,m.c,void 0,{scope:"Icon"},!0)},,,,,function(e,t,n){"use strict";var o=n(79);var i=n(96),r=n(71),s=n(13),a=n(25);n.d(t,"e",function(){return p}),n.d(t,"h",function(){return h}),n.d(t,"f",function(){return m}),n.d(t,"i",function(){return f}),n.d(t,"c",function(){return v}),n.d(t,"k",function(){return _}),n.d(t,"j",function(){return g}),n.d(t,"n",function(){return y}),n.d(t,"m",function(){return E}),n.d(t,"l",function(){return C}),n.d(t,"a",function(){return I}),n.d(t,"o",function(){return M}),n.d(t,"b",function(){return x}),n.d(t,"g",function(){return w}),n.d(t,"d",function(){return P});var u="data-is-focusable",c="data-is-visible",l="data-focuszone-id",d="data-is-sub-focuszone";function p(e,t,n){return g(e,t,!0,!1,!1,n)}function h(e,t,n){return _(e,t,!0,!1,!0,n)}function m(e,t,n,o){return void 0===o&&(o=!0),g(e,t,o,!1,!1,n,!1,!0)}function f(e,t,n,o){return void 0===o&&(o=!0),_(e,t,o,!1,!0,n,!1,!0)}function v(e){var t=g(e,e,!0,!1,!1,!0);return!!t&&(x(t),!0)}function _(e,t,n,o,i,r,s,a){if(!t||!s&&t===e)return null;var u=b(t);if(i&&u&&(r||!E(t)&&!C(t))){var c=_(e,t.lastElementChild,!0,!0,!0,r,s,a);if(c){if(a&&y(c,!0)||!a)return c;var l=_(e,c.previousElementSibling,!0,!0,!0,r,s,a);if(l)return l;for(var d=c.parentElement;d&&d!==t;){var p=_(e,d.previousElementSibling,!0,!0,!0,r,s,a);if(p)return p;d=d.parentElement}}}if(n&&u&&y(t,a))return t;var h=_(e,t.previousElementSibling,!0,!0,!0,r,s,a);return h||(o?null:_(e,t.parentElement,!0,!1,!1,r,s,a))}function g(e,t,n,o,i,r,s,a){if(!t||t===e&&i&&!s)return null;var u=b(t);if(n&&u&&y(t,a))return t;if(!i&&u&&(r||!E(t)&&!C(t))){var c=g(e,t.firstElementChild,!0,!0,!1,r,s,a);if(c)return c}if(t===e)return null;var l=g(e,t.nextElementSibling,!0,!0,!1,r,s,a);return l||(o?null:g(e,t.parentElement,!1,!1,!0,r,s,a))}function b(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute(c);return null!==t&&void 0!==t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function y(e,t){if(!e||e.disabled)return!1;var n=0,o=null;e&&e.getAttribute&&(o=e.getAttribute("tabIndex"))&&(n=parseInt(o,10));var i=e.getAttribute?e.getAttribute(u):null,r=null!==o&&n>=0,s=!!e&&"false"!==i&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"true"===i||r);return t?-1!==n&&s:s}function E(e){return!!(e&&e.getAttribute&&e.getAttribute(l))}function C(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute(d))}function I(e){var t=Object(a.a)(e),n=t&&t.activeElement;return!(!n||!Object(i.a)(e,n))}function M(e,t){return"true"!==function(e,t){var n=Object(o.a)(e,function(e){return e.hasAttribute(t)});return n&&n.getAttribute(t)}(e,t)}var k=void 0;function x(e){if(e){if(k)return void(k=e);k=e;var t=Object(s.a)(e);t&&t.requestAnimationFrame(function(){k&&k.focus(),k=void 0})}}function w(e,t){for(var n=e,o=0,i=t;o<i.length;o++){var r=i[o],s=n.children[Math.min(r,n.children.length-1)];if(!s)break;n=s}return n=y(n)&&b(n)?n:g(e,n,!0)||_(e,n)}function P(e,t){for(var n=[];t&&e&&t!==e;){var o=Object(r.a)(t,!0);if(null===o)return[];n.unshift(Array.prototype.indexOf.call(o.children,t)),t=o}return n}},function(e,t,n){"use strict";n(12);var o=n(25);var i=n(34);n.d(t,"a",function(){return a});var r,s="isRTL";function a(){if(void 0===r){var e=function(e){var t=null;try{t=window.sessionStorage.getItem(e)}catch(n){}return t}(s);null!==e&&function(e,t){void 0===t&&(t=!1);var n=Object(o.a)();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr");t&&function(e,t){try{window.sessionStorage.setItem(e,t)}catch(n){}}(s,e?"1":"0");r=e,Object(i.b)(r)}(r="1"===e);var t=Object(o.a)();void 0===r&&t&&(r="rtl"===(t.body&&t.body.getAttribute("dir")||t.documentElement.getAttribute("dir")),Object(i.b)(r))}return!!r}},function(e,t,n){"use strict";var o=n(2),i=n(0),r=n(67),s=n(155),a=n(144),u=n(1),c=n(59),l=n(66),d=n(70),p=Object(c.a)(function(e,t){var n,o=Object(l.a)(e),i=Object(d.a)(e),r=e.palette,s={root:{padding:"0 4px",minWidth:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:{color:r.themeDarkAlt,backgroundColor:r.neutralLighter,selectors:(n={},n[u.d]={borderColor:"Highlight",color:"Highlight"},n)},rootPressed:{color:r.themeDark,backgroundColor:r.neutralLight},rootExpanded:{color:r.themeDark,backgroundColor:r.neutralLight},rootChecked:{color:r.themeDark,backgroundColor:r.neutralLight},rootCheckedHovered:{color:r.themeDark,backgroundColor:r.neutralQuaternaryAlt},rootDisabled:{color:r.neutralTertiaryAlt}};return Object(u.q)(o,s,i,t)});n.d(t,"a",function(){return h});var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return o.c(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return i.createElement(r.a,o.a({},this.props,{variantClassName:"ms-Button--icon",styles:p(n,t),onRenderText:s.b,onRenderDescription:s.b}))},t=o.b([Object(a.a)("IconButton",["theme","styles"],!0)],t)}(s.a)},function(e,t,n){"use strict";var o=n(2),i=n(0),r=n(95),s=n(165),a=n(71),u=n(12),c=n(166),l=n(136),d=n(76),p=n(142),h=n(132),m=n(133),f=n(96);function v(e){var t=function(e){var t;"function"===typeof Event?t=new Event(e):(t=document.createEvent("Event")).initEvent(e,!0,!0);return t}("MouseEvents");t.initEvent("click",!0,!0),e.dispatchEvent(t)}var _=n(145),g=n(25),b=n(58);n.d(t,"a",function(){return w});var y,E="data-no-horizontal-wrap",C="ms-FocusZone";var I={},M=new Set,k=["text","number","password","email","tel","url","search"],x=!1,w=function(e){function t(t){var n=e.call(this,t)||this;return n._disposables=[],n._root=i.createRef(),n._onFocus=function(e){if(!n._portalContainsElement(e.target)){var t,o=n.props,i=o.onActiveElementChanged,r=o.doNotAllowFocusEventToPropagate,u=o.onFocusNotification,c=n._isImmediateDescendantOfZone(e.target);if(u&&u(),c)t=e.target;else for(var l=e.target;l&&l!==n._root.current;){if(Object(s.n)(l)&&n._isImmediateDescendantOfZone(l)){t=l;break}l=Object(a.a)(l,x)}var d=!n._activeElement;t&&t!==n._activeElement&&((c||d)&&n._setFocusAlignment(t,d),n._activeElement=t,d&&n._updateTabIndexes()),i&&i(n._activeElement,e),r&&e.stopPropagation()}},n._onBlur=function(){n._setParkedFocus(!1)},n._onKeyDownCapture=function(e){e.which===u.a.tab&&M.forEach(function(e){return e._updateTabIndexes()})},n._onMouseDown=function(e){if(!n._portalContainsElement(e.target)&&!n.props.disabled){for(var t=e.target,o=[];t&&t!==n._root.current;)o.push(t),t=Object(a.a)(t,x);for(;o.length&&((t=o.pop())&&Object(s.n)(t)&&n._setActiveElement(t,!0),!Object(s.m)(t)););}},n._onKeyDown=function(e){if(!n._portalContainsElement(e.target)){var t=n.props,o=t.direction,i=t.disabled,a=t.isInnerZoneKeystroke;if(!i&&(n.props.onKeyDown&&n.props.onKeyDown(e),!e.isDefaultPrevented()&&(n._getDocument().activeElement!==n._root.current||!n._isInnerZone))){if(a&&a(e)&&n._isImmediateDescendantOfZone(e.target)){var l=n._getFirstInnerZone();if(l){if(!l.focus(!0))return}else{if(!Object(s.l)(e.target))return;if(!n.focusElement(Object(s.j)(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case u.a.space:if(n._tryInvokeClickForFocusable(e.target))break;return;case u.a.left:if(o!==r.a.vertical&&n._moveFocusLeft())break;return;case u.a.right:if(o!==r.a.vertical&&n._moveFocusRight())break;return;case u.a.up:if(o!==r.a.horizontal&&n._moveFocusUp())break;return;case u.a.down:if(o!==r.a.horizontal&&n._moveFocusDown())break;return;case u.a.tab:if(n.props.allowTabKey||n.props.handleTabKey===r.b.all||n.props.handleTabKey===r.b.inputOnly&&n._isElementInput(e.target)){var d=!1;if(n._processingTabKey=!0,o!==r.a.vertical&&n._shouldWrapFocus(n._activeElement,E)){if(o===r.a.horizontal||o===r.a.bidirectional){d=(Object(c.a)()?!e.shiftKey:e.shiftKey)?n._moveFocusLeft():n._moveFocusRight()}}else d=e.shiftKey?n._moveFocusUp():n._moveFocusDown();if(n._processingTabKey=!1,d)break}return;case u.a.home:if(n._isElementInput(e.target)&&!n._shouldInputLoseFocus(e.target,!1))return!1;var p=n._root.current&&n._root.current.firstChild;if(n._root.current&&p&&n.focusElement(Object(s.j)(n._root.current,p,!0)))break;return;case u.a.end:if(n._isElementInput(e.target)&&!n._shouldInputLoseFocus(e.target,!0))return!1;var h=n._root.current&&n._root.current.lastChild;if(n._root.current&&n.focusElement(Object(s.k)(n._root.current,h,!0,!0,!0)))break;return;case u.a.enter:if(n._tryInvokeClickForFocusable(e.target))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},Object(l.a)(n),n._id=Object(d.c)("FocusZone"),n._focusAlignment={x:0,y:0},n._processingTabKey=!1,n}return o.c(t,e),t.getOuterZones=function(){return M.size},t.prototype.componentDidMount=function(){var e=this._root.current;if(I[this._id]=this,e){for(var t=e.ownerDocument.defaultView,n=Object(a.a)(e,x);n&&n!==this._getDocument().body&&1===n.nodeType;){if(Object(s.m)(n)){this._isInnerZone=!0;break}n=Object(a.a)(n,x)}this._isInnerZone||M.add(this),t&&1===M.size&&this._disposables.push(Object(p.a)(t,"keydown",this._onKeyDownCapture,!0)),this._disposables.push(Object(p.a)(e,"blur",this._onBlur,!0)),this._updateTabIndexes(),this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement),this.focus())}},t.prototype.componentDidUpdate=function(){var e=this._root.current,t=this._getDocument();if(t&&this._lastIndexPath&&(t.activeElement===t.body||t.activeElement===e)){var n=Object(s.g)(e,this._lastIndexPath);n?(this._setActiveElement(n,!0),n.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete I[this._id],this._isInnerZone||M.delete(this),this._disposables.forEach(function(e){return e()})},t.prototype.render=function(){var e=this.props,t=e.rootProps,n=e.ariaDescribedBy,r=e.ariaLabelledBy,s=e.className,a=Object(h.d)(this.props,h.e),u=this.props.as||this.props.elementType||"div";return this._evaluateFocusBeforeRender(),i.createElement(u,o.a({"aria-labelledby":r,"aria-describedby":n},a,t,{className:Object(m.a)((y||(y=Object(b.a)({selectors:{":focus":{outline:"none"}}},C)),y),s),ref:this._root,"data-focuszone-id":this._id,onKeyDown:this._onKeyDown,onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},t.prototype.focus=function(e){if(void 0===e&&(e=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute("data-is-focusable")&&this._isInnerZone){var t=this._getOwnerZone(this._root.current);if(t!==this._root.current){var n=I[t.getAttribute("data-focuszone-id")];return!!n&&n.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&Object(f.a)(this._root.current,this._activeElement)&&Object(s.n)(this._activeElement))return this._activeElement.focus(),!0;var o=this._root.current.firstChild;return this.focusElement(Object(s.j)(this._root.current,o,!0))}return!1},t.prototype.focusElement=function(e){var t=this.props.onBeforeFocus;return!(t&&!t(e))&&(!!e&&(this._setActiveElement(e),this._activeElement&&this._activeElement.focus(),!0))},t.prototype.setFocusAlignment=function(e){this._focusAlignment=e},t.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var n=t.activeElement;if(n!==e){var o=Object(f.a)(e,n,!1);this._lastIndexPath=o?Object(s.d)(e,n):void 0}}},t.prototype._setParkedFocus=function(e){var t=this._root.current;t&&this._isParked!==e&&(this._isParked=e,e?(this.props.allowFocusRoot||(this._parkedTabIndex=t.getAttribute("tabindex"),t.setAttribute("tabindex","-1")),t.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(t.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):t.removeAttribute("tabindex")))},t.prototype._setActiveElement=function(e,t){var n=this._activeElement;this._activeElement=e,n&&(Object(s.m)(n)&&this._updateTabIndexes(n),n.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},t.prototype._tryInvokeClickForFocusable=function(e){if(e===this._root.current)return!1;do{if("BUTTON"===e.tagName||"A"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName)return!1;if(this._isImmediateDescendantOfZone(e)&&"true"===e.getAttribute("data-is-focusable")&&"true"!==e.getAttribute("data-disable-click-on-enter"))return v(e),!0;e=Object(a.a)(e,x)}while(e!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(Object(s.m)(e))return I[e.getAttribute("data-focuszone-id")];for(var t=e.firstElementChild;t;){if(Object(s.m)(t))return I[t.getAttribute("data-focuszone-id")];var n=this._getFirstInnerZone(t);if(n)return n;t=t.nextElementSibling}return null},t.prototype._moveFocus=function(e,t,n,o){void 0===o&&(o=!0);var i=this._activeElement,a=-1,u=void 0,c=!1,l=this.props.direction===r.a.bidirectional;if(!i||!this._root.current)return!1;if(this._isElementInput(i)&&!this._shouldInputLoseFocus(i,e))return!1;var d=l?i.getBoundingClientRect():null;do{if(i=e?Object(s.j)(this._root.current,i):Object(s.k)(this._root.current,i),!l){u=i;break}if(i){var p=t(d,i.getBoundingClientRect());if(-1===p&&-1===a){u=i;break}if(p>-1&&(-1===a||p<a)&&(a=p,u=i),a>=0&&p<0)break}}while(i);if(u&&u!==this._activeElement)c=!0,this.focusElement(u);else if(this.props.isCircularNavigation&&o)return e?this.focusElement(Object(s.j)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Object(s.k)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return c},t.prototype._moveFocusDown=function(){var e=this,t=-1,n=this._focusAlignment.x;return!!this._moveFocus(!0,function(o,i){var r=-1,s=Math.floor(i.top),a=Math.floor(o.bottom);return s<a?e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===t&&s>=a||s===t)&&(t=s,r=n>=i.left&&n<=i.left+i.width?0:Math.abs(i.left+i.width/2-n)),r)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,n=this._focusAlignment.x;return!!this._moveFocus(!1,function(o,i){var r=-1,s=Math.floor(i.bottom),a=Math.floor(i.top),u=Math.floor(o.top);return s>u?e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===t&&s<=u||a===t)&&(t=a,r=n>=i.left&&n<=i.left+i.width?0:Math.abs(i.left+i.width/2-n)),r)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusLeft=function(){var e=this,t=this._shouldWrapFocus(this._activeElement,E);return!!this._moveFocus(Object(c.a)(),function(n,o){var i=-1;return(Object(c.a)()?parseFloat(o.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)):parseFloat(o.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)))&&o.right<=n.right&&e.props.direction!==r.a.vertical?i=n.right-o.right:t||(i=-999999999),i},void 0,t)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(){var e=this,t=this._shouldWrapFocus(this._activeElement,E);return!!this._moveFocus(!Object(c.a)(),function(n,o){var i=-1;return(Object(c.a)()?parseFloat(o.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)):parseFloat(o.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)))&&o.left>=n.left&&e.props.direction!==r.a.vertical?i=o.left-n.left:t||(i=-999999999),i},void 0,t)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===r.a.bidirectional&&(!this._focusAlignment||t||n)){var o=e.getBoundingClientRect(),i=o.left+o.width/2,s=o.top+o.height/2;this._focusAlignment||(this._focusAlignment={x:i,y:s}),t&&(this._focusAlignment.x=i),n&&(this._focusAlignment.y=s)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=Object(a.a)(e,x);t&&t!==this._root.current&&t!==this._getDocument().body;){if(Object(s.m)(t))return t;t=Object(a.a)(t,x)}return t},t.prototype._updateTabIndexes=function(e){!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!Object(f.a)(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!Object(s.n)(this._activeElement)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var o=t[n];Object(s.m)(o)?"true"===o.getAttribute("data-is-focusable")&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==o?"-1"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","-1"):(this._defaultFocusElement=o,"0"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","0"))):(o.getAttribute&&"false"===o.getAttribute("data-is-focusable")&&o.setAttribute("tabindex","-1"),Object(s.n)(o)?this.props.disabled?o.setAttribute("tabindex","-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==o?"-1"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","-1"):(this._defaultFocusElement=o,"0"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","0")):"svg"===o.tagName&&"false"!==o.getAttribute("focusable")&&o.setAttribute("focusable","false")),this._updateTabIndexes(o)}},t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&k.indexOf(e.type.toLowerCase())>-1){var n=e.selectionStart,o=n!==e.selectionEnd,i=e.value;if(o||n>0&&!t||n!==i.length&&t||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},t.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||Object(s.o)(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&Object(_.a)(e,this._root.current)},t.prototype._getDocument=function(){return Object(g.a)(this._root.current)},t.defaultProps={isCircularNavigation:!1,direction:r.a.bidirectional},t}(i.Component)}])]); //# sourceMappingURL=../0-6901097f-chunk.js.map?action=raw&ctype=text/javascript