res.cdn.office.net
Open in
urlscan Pro
2a02:26f0:6c00:2ba::753
Public Scan
URL:
https://res.cdn.office.net/midgard/versionless/search_hostapp_owa_vendors~owa-herocardroutercontainer_28561b52065b1a8d6404.js
Submission: On February 16 via manual from DK — Scanned from DE
Submission: On February 16 via manual from DK — Scanned from DE
Form analysis
0 forms found in the DOMText Content
(window.msfast_search_hostapp_owa_jsonp=window.msfast_search_hostapp_owa_jsonp||[]).push([[3],{401: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}},404:function(e,t,n){"use strict";var o,r,i;n.d(t,"c",function(){return o}),n.d(t,"b",function(){return r}),n.d(t,"a",function(){return i}),function(e){e[e.tiny=0]="tiny",e[e.extraExtraSmall=1]="extraExtraSmall",e[e.extraSmall=2]="extraSmall",e[e.small=3]="small",e[e.regular=4]="regular",e[e.large=5]="large",e[e.extraLarge=6]="extraLarge",e[e.size8=17]="size8",e[e.size10=9]="size10",e[e.size16=8]="size16",e[e.size24=10]="size24",e[e.size28=7]="size28",e[e.size32=11]="size32",e[e.size40=12]="size40",e[e.size48=13]="size48",e[e.size56=16]="size56",e[e.size72=14]="size72",e[e.size100=15]="size100",e[e.size120=18]="size120"}(o||(o={})),function(e){e[e.none=0]="none",e[e.offline=1]="offline",e[e.online=2]="online",e[e.away=3]="away",e[e.dnd=4]="dnd",e[e.blocked=5]="blocked",e[e.busy=6]="busy"}(r||(r={})),function(e){e[e.lightBlue=0]="lightBlue",e[e.blue=1]="blue",e[e.darkBlue=2]="darkBlue",e[e.teal=3]="teal",e[e.lightGreen=4]="lightGreen",e[e.green=5]="green",e[e.darkGreen=6]="darkGreen",e[e.lightPink=7]="lightPink",e[e.pink=8]="pink",e[e.magenta=9]="magenta",e[e.purple=10]="purple",e[e.black=11]="black",e[e.orange=12]="orange",e[e.red=13]="red",e[e.darkRed=14]="darkRed",e[e.transparent=15]="transparent",e[e.violet=16]="violet",e[e.lightRed=17]="lightRed",e[e.gold=18]="gold",e[e.burgundy=19]="burgundy",e[e.warmGray=20]="warmGray",e[e.coolGray=21]="coolGray",e[e.gray=22]="gray",e[e.cyan=23]="cyan",e[e.rust=24]="rust"}(i||(i={}))},407:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o=n(339),r=n(342),i={outline:0},a=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},s=Object(o.b)(function(e){var t,n,o=e.semanticColors,s=e.effects,c=e.fonts,u=o.buttonBorder,l=o.disabledBackground,d=o.disabledText,p={left:-2,top:-2,bottom:-2,right:-2,outlineColor:"ButtonText"};return{root:[Object(r.l)(e,{inset:1,highContrastStyle:p,borderColor:"transparent"}),e.fonts.medium,{boxSizing:"border-box",border:"1px solid "+u,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",padding:"0 16px",borderRadius:s.roundedCorner2,selectors:{":active > *":{position:"relative",left:0,top:0}}}],rootDisabled:[Object(r.l)(e,{inset:1,highContrastStyle:p,borderColor:"transparent"}),{backgroundColor:l,borderColor:l,color:d,cursor:"default",selectors:{":hover":i,":focus":i}}],iconDisabled:{color:d,selectors:(t={},t[r.d]={color:"GrayText"},t)},menuIconDisabled:{color:d,selectors:(n={},n[r.d]={color:"GrayText"},n)},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:a(c.mediumPlus.fontSize),menuIcon:a(c.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:r.r}})},409:function(e,t,n){"use strict";n.d(t,"a",function(){return Qe});var o=n(1),r=n(12),i=n(489),a=n(339),s=n(487),c=n(498),u=n(417),l=n(343),d=n(518),p=n(442),m=n(437),h=n(446),f=n(443),b=n(495),v=n(486),g=n(438),_=n(524),y=n(523);function C(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(function(e){return e}).join(" ").trim();return""===n?void 0:n}var O,x=n(517),E=n(435),k=n(423),w=n(414),j=function(e){var t=e.className,n=e.imageProps,i=Object(v.d)(e,v.e,["aria-label","aria-labelledby","title","aria-describedby"]),a=n.alt||e["aria-label"],c=a||e["aria-labelledby"]||e.title||n["aria-label"]||n["aria-labelledby"]||n.title,u={"aria-labelledby":e["aria-labelledby"],"aria-describedby":e["aria-describedby"],title:e.title},l=c?{}:{"aria-hidden":!0};return r.createElement("div",Object(o.__assign)({},l,i,{className:Object(s.a)(w.a,w.b.root,w.b.image,t)}),r.createElement(k.a,Object(o.__assign)({},u,n,{alt:c?a:""})))},I=n(401),M=n(520),S=n(440),T=n(441),D=n(527),P=n(485),z=n(490),B=n(78);function R(e){if(void 0===O||e){var t=Object(B.a)(),n=t&&t.navigator.userAgent;O=!!n&&-1!==n.indexOf("Macintosh")}return!!O}var N=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)},F=n(434),A=n(522),L=n(246);function W(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function H(e){return!(!e.subMenuProps&&!e.items)}function K(e){return!(!e.isDisabled&&!e.disabled)}function U(e){return null!==W(e)?"menuitemcheckbox":"menuitem"}var G=n(509),q=function(e){var t=e.item,n=e.hasIcons,i=e.classNames,a=t.iconProps;return n?t.onRenderIcon?t.onRenderIcon(e):r.createElement(x.a,Object(o.__assign)({},a,{className:i.icon})):null},V=function(e){var t=e.onCheckmarkClick,n=e.item,o=e.classNames,i=W(n);if(t){return r.createElement(x.a,{iconName:!1!==n.canCheck&&i?"CheckMark":"",className:o.checkmarkIcon,onClick:function(e){return t(n,e)}})}return null},Z=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},Y=function(e){var t=e.item,n=e.classNames;return t.secondaryText?r.createElement("span",{className:n.secondaryText},t.secondaryText):null},X=function(e){var t=e.item,n=e.classNames,i=e.theme;return H(t)?r.createElement(x.a,Object(o.__assign)({iconName:Object(F.a)(i)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null},Q=function(e){function t(t){var n=e.call(this,t)||this;return n.openSubMenu=function(){var e=n.props,t=e.item,o=e.openSubMenu,r=e.getSubmenuTarget;if(r){var i=r();H(t)&&o&&i&&o(t,i)}},n.dismissSubMenu=function(){var e=n.props,t=e.item,o=e.dismissSubMenu;H(t)&&o&&o()},n.dismissMenu=function(e){var t=n.props.dismissMenu;t&&t(void 0,e)},Object(d.a)(n),n}return Object(o.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames,o=t.onRenderContent||this._renderLayout;return r.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},o(this.props,{renderCheckMarkIcon:V,renderItemIcon:q,renderItemName:Z,renderSecondaryText:Y,renderSubMenuIcon:X}))},t.prototype._renderLayout=function(e,t){return r.createElement(r.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))},t}(r.Component),$=n(342),J=Object(a.b)(function(e){return Object($.t)({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})}),ee=Object($.p)(0,$.f),te=Object(a.b)(function(){var e;return{selectors:(e={},e[$.d]=Object(o.__assign)({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},Object($.n)()),e)}}),ne=Object(a.b)(function(e){var t,n,r,i,a,s,c,u=e.semanticColors,l=e.fonts,d=e.palette,p=u.menuItemBackgroundHovered,m=u.menuItemTextHovered,h=u.menuItemBackgroundPressed,f=u.bodyDivider,b={item:[l.medium,{color:u.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:f,position:"relative"},root:[Object($.l)(e),l.medium,{color:u.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:36,lineHeight:36,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:u.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[$.d]=Object(o.__assign)({color:"GrayText",opacity:1},Object($.n)()),t)},rootHovered:Object(o.__assign)({backgroundColor:p,color:m,selectors:{".ms-ContextualMenu-icon":{color:d.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:d.neutralPrimary}}},te()),rootFocused:Object(o.__assign)({backgroundColor:d.white},te()),rootChecked:Object(o.__assign)({selectors:{".ms-ContextualMenu-checkmarkIcon":{color:d.neutralPrimary}}},te()),rootPressed:Object(o.__assign)({backgroundColor:h,selectors:{".ms-ContextualMenu-icon":{color:d.themeDark},".ms-ContextualMenu-submenuIcon":{color:d.neutralPrimary}}},te()),rootExpanded:Object(o.__assign)({backgroundColor:h,color:u.bodyTextChecked},te()),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:$.e.medium,width:$.e.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(n={},n[ee]={fontSize:$.e.large,width:$.e.large},n)},iconColor:{color:u.menuIcon,selectors:(r={},r[$.d]={color:"inherit"},r["$root:hover &"]={selectors:(i={},i[$.d]={color:"HighlightText"},i)},r["$root:focus &"]={selectors:(a={},a[$.d]={color:"HighlightText"},a)},r)},iconDisabled:{color:u.disabledBodyText},checkmarkIcon:{color:u.bodySubtext,selectors:(s={},s[$.d]={color:"HighlightText"},s)},subMenuIcon:{height:36,lineHeight:36,color:d.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:$.e.small,selectors:(c={":hover":{color:d.neutralPrimary},":active":{color:d.neutralPrimary}},c[ee]={fontSize:$.e.medium},c[$.d]={color:"HighlightText"},c)},splitButtonFlexContainer:[Object($.l)(e),{display:"flex",height:36,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]};return Object($.h)(b)}),oe=Object($.p)(0,$.f),re=Object(a.b)(function(e){var t;return Object($.t)(J(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[oe]={right:32},t)},divider:{height:16,width:1}})}),ie={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",screenReaderText:"ms-ContextualMenu-screenReaderText"},ae=Object(a.b)(function(e,t,n,o,r,i,a,s,c,u,d,p){var m,h,f,b,v=ne(e),g=Object($.m)(ie,e);return Object($.t)({item:[g.item,v.item,a],divider:[g.divider,v.divider,s],root:[g.root,v.root,o&&[g.isChecked,v.rootChecked],r&&v.anchorLink,n&&[g.isExpanded,v.rootExpanded],t&&[g.isDisabled,v.rootDisabled],!t&&!n&&[{selectors:(m={":hover":v.rootHovered,":active":v.rootPressed},m["."+l.a+" &:focus, ."+l.a+" &:focus:hover"]=v.rootFocused,m["."+l.a+" &:hover"]={background:"inherit;"},m)}],p],splitPrimary:[v.root,{width:"calc(100% - 28px)"},o&&["is-checked",v.rootChecked],(t||d)&&["is-disabled",v.rootDisabled],!(t||d)&&!o&&[{selectors:(h={":hover":v.rootHovered},h[":hover ~ ."+g.splitMenu]=v.rootHovered,h[":active"]=v.rootPressed,h["."+l.a+" &:focus, ."+l.a+" &:focus:hover"]=v.rootFocused,h["."+l.a+" &:hover"]={background:"inherit;"},h)}]],splitMenu:[g.splitMenu,v.root,{flexBasis:"0",padding:"0 8px",minWidth:"28px"},n&&["is-expanded",v.rootExpanded],t&&["is-disabled",v.rootDisabled],!t&&!n&&[{selectors:(f={":hover":v.rootHovered,":active":v.rootPressed},f["."+l.a+" &:focus, ."+l.a+" &:focus:hover"]=v.rootFocused,f["."+l.a+" &:hover"]={background:"inherit;"},f)}]],anchorLink:v.anchorLink,linkContent:[g.linkContent,v.linkContent],linkContentMenu:[g.linkContentMenu,v.linkContent,{justifyContent:"center"}],icon:[g.icon,i&&v.iconColor,v.icon,c,t&&[g.isDisabled,v.iconDisabled]],iconColor:v.iconColor,checkmarkIcon:[g.checkmarkIcon,i&&v.checkmarkIcon,v.icon,c],subMenuIcon:[g.subMenuIcon,v.subMenuIcon,u,n&&{color:e.palette.neutralPrimary},t&&[v.iconDisabled]],label:[g.label,v.label],secondaryText:[g.secondaryText,v.secondaryText],splitContainer:[v.splitButtonFlexContainer,!t&&!o&&[{selectors:(b={},b["."+l.a+" &:focus, ."+l.a+" &:focus:hover"]=v.rootFocused,b)}]],screenReaderText:[g.screenReaderText,v.screenReaderText,$.r,{visibility:"hidden"}]})}),se=function(e){var t=e.theme,n=e.disabled,o=e.expanded,r=e.checked,i=e.isAnchorLink,a=e.knownIcon,s=e.itemClassName,c=e.dividerClassName,u=e.iconClassName,l=e.subMenuClassName,d=e.primaryDisabled,p=e.className;return ae(t,n,o,r,i,a,s,c,u,l,d,p)},ce=Object(M.a)(Q,se,void 0,{scope:"ContextualMenuItem"}),ue=function(e){function t(t){var n=e.call(this,t)||this;return n._onItemMouseEnter=function(e){var t=n.props,o=t.item,r=t.onItemMouseEnter;r&&r(o,e,e.currentTarget)},n._onItemClick=function(e){var t=n.props,o=t.item,r=t.onItemClickBase;r&&r(o,e,e.currentTarget)},n._onItemMouseLeave=function(e){var t=n.props,o=t.item,r=t.onItemMouseLeave;r&&r(o,e)},n._onItemKeyDown=function(e){var t=n.props,o=t.item,r=t.onItemKeyDown;r&&r(o,e)},n._onItemMouseMove=function(e){var t=n.props,o=t.item,r=t.onItemMouseMove;r&&r(o,e,e.currentTarget)},n._getSubmenuTarget=function(){},Object(d.a)(n),n}return Object(o.__extends)(t,e),t.prototype.shouldComponentUpdate=function(e){return!Object(g.b)(e,this.props)},t}(r.Component),le=n(421),de=n(420);function pe(e){var t=Object(r.useRef)();return Object(r.useEffect)(function(){t.current=e}),t.current}var me=n(445),he=n(436);function fe(e){return e.reduce(function(e,t){return e+le.e+t.split("").join(le.e)},le.d)}function be(e){var t=r.useRef(),n=e.keytipProps?Object(o.__assign)({disabled:e.disabled},e.keytipProps):void 0,i=Object(de.a)(me.a.getInstance()),a=pe(e);r.useLayoutEffect(function(){t.current&&n&&((null==a?void 0:a.keytipProps)!==e.keytipProps||(null==a?void 0:a.disabled)!==e.disabled)&&i.update(n,t.current)}),r.useLayoutEffect(function(){return n&&(t.current=i.register(n)),function(){n&&i.unregister(n,t.current)}},[]);var s={ariaDescribedBy:void 0,keytipId:void 0};return n&&(s=function(e,t,n){var r=e.addParentOverflow(t),i=C(n,function(e){var t=" "+le.c;return e.length?t+" "+fe(e):t}(r.keySequences)),a=Object(o.__spreadArrays)(r.keySequences);r.overflowSetSequence&&(a=function(e,t){var n=t.length,r=Object(o.__spreadArrays)(t).pop(),i=Object(o.__spreadArrays)(e);return Object(he.a)(i,n-1,r)}(a,r.overflowSetSequence));var s=fe(a);return{ariaDescribedBy:i,keytipId:s}}(i,n,e.ariaDescribedBy)),s}var ve=function(e){var t,n=e.children,r=be(Object(o.__rest)(e,["children"])),i=r.keytipId,a=r.ariaDescribedBy;return n(((t={})[le.b]=i,t[le.a]=i,t["aria-describedby"]=a,t))},ge=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=r.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(a.b)(function(e){return Object(o.__assign)(Object(o.__assign)({},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,r=n.onItemClick;r&&r(o,e)},t._renderAriaDescription=function(e,n){return e?r.createElement("span",{id:t._ariaDescriptionId,className:n},e):null},t}return Object(o.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,i=t.classNames,a=t.index,s=t.focusableElementIndex,c=t.totalItemCount,u=t.hasCheckmarks,l=t.hasIcons,d=t.contextualMenuItemAs,p=void 0===d?ce:d,m=t.expandedMenuItemKey,h=t.onItemClick,f=t.openSubMenu,g=t.dismissSubMenu,_=t.dismissMenu,y=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(y=y||"nofollow noopener noreferrer");var O=H(n),x=Object(v.d)(n,v.a),E=K(n),k=n.itemProps,w=n.ariaDescription,j=n.keytipProps;j&&O&&(j=this._getMemoizedMenuButtonKeytipProps(j)),w&&(this._ariaDescriptionId=Object(b.a)());var I=C(n.ariaDescribedBy,w?this._ariaDescriptionId:void 0,x["aria-describedby"]),M={"aria-describedby":I};return r.createElement("div",null,r.createElement(ve,{keytipProps:n.keytipProps,ariaDescribedBy:I,disabled:E},function(t){return r.createElement("a",Object(o.__assign)({},M,x,t,{ref:e._anchor,href:n.href,target:n.target,rel:y,className:i.root,role:"menuitem","aria-haspopup":O||void 0,"aria-expanded":O?n.key===m:void 0,"aria-posinset":s+1,"aria-setsize":c,"aria-disabled":K(n),style:n.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:O?e._onItemKeyDown:void 0}),r.createElement(p,Object(o.__assign)({componentRef:n.componentRef,item:n,classNames:i,index:a,onCheckmarkClick:u&&h?h:void 0,hasIcons:l,openSubMenu:f,dismissSubMenu:g,dismissMenu:_,getSubmenuTarget:e._getSubmenuTarget},k)),e._renderAriaDescription(w,i.screenReaderText))}))},t}(ue),_e=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=r.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(a.b)(function(e){return Object(o.__assign)(Object(o.__assign)({},e),{hasMenu:!0})}),t._renderAriaDescription=function(e,n){return e?r.createElement("span",{id:t._ariaDescriptionId,className:n},e):null},t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return Object(o.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,i=t.classNames,a=t.index,s=t.focusableElementIndex,c=t.totalItemCount,u=t.hasCheckmarks,l=t.hasIcons,d=t.contextualMenuItemAs,p=void 0===d?ce:d,m=t.expandedMenuItemKey,h=t.onItemMouseDown,f=t.onItemClick,g=t.openSubMenu,_=t.dismissSubMenu,y=t.dismissMenu,O=W(n),x=null!==O,E=U(n),k=H(n),w=n.itemProps,j=n.ariaLabel,I=n.ariaDescription,M=Object(v.d)(n,v.b);delete M.disabled;var S=n.role||E;I&&(this._ariaDescriptionId=Object(b.a)());var T=C(n.ariaDescribedBy,I?this._ariaDescriptionId:void 0,M["aria-describedby"]),D={className:i.root,onClick:this._onItemClick,onKeyDown:k?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return h?h(n,e):void 0},onMouseMove:this._onItemMouseMove,href:n.href,title:n.title,"aria-label":j,"aria-describedby":T,"aria-haspopup":k||void 0,"aria-expanded":k?n.key===m:void 0,"aria-posinset":s+1,"aria-setsize":c,"aria-disabled":K(n),"aria-checked":"menuitemcheckbox"!==S&&"menuitemradio"!==S||!x?void 0:!!O,"aria-selected":"menuitem"===S&&x?!!O:void 0,role:S,style:n.style},P=n.keytipProps;return P&&k&&(P=this._getMemoizedMenuButtonKeytipProps(P)),r.createElement(ve,{keytipProps:P,ariaDescribedBy:T,disabled:K(n)},function(t){return r.createElement("button",Object(o.__assign)({ref:e._btn},M,D,t),r.createElement(p,Object(o.__assign)({componentRef:n.componentRef,item:n,classNames:i,index:a,onCheckmarkClick:u&&f?f:void 0,hasIcons:l,openSubMenu:g,dismissSubMenu:_,dismissMenu:y,getSubmenuTarget:e._getSubmenuTarget},w)),e._renderAriaDescription(I,i.screenReaderText))})},t}(ue),ye=Object(P.a)(),Ce=r.forwardRef(function(e,t){var n=e.styles,o=e.theme,i=e.getClassNames,a=e.className,s=ye(n,{theme:o,getClassNames:i,className:a});return r.createElement("span",{className:s.wrapper,ref:t},r.createElement("span",{className:s.divider}))});Ce.displayName="VerticalDividerBase";var Oe=Object(M.a)(Ce,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 r=n(t);return{wrapper:[r.wrapper],divider:[r.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},o],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}},void 0,{scope:"VerticalDivider"}),xe=function(e){function t(t){var n=e.call(this,t)||this;return n._getMemoizedMenuButtonKeytipProps=Object(a.b)(function(e){return Object(o.__assign)(Object(o.__assign)({},e),{hasMenu:!0})}),n._onItemKeyDown=function(e){var t=n.props,o=t.item,r=t.onItemKeyDown;e.which===u.a.enter?(n._executeItemClick(e),e.preventDefault(),e.stopPropagation()):r&&r(o,e)},n._getSubmenuTarget=function(){return n._splitButton},n._renderAriaDescription=function(e,t){return e?r.createElement("span",{id:n._ariaDescriptionId,className:t},e):null},n._onItemMouseEnterPrimary=function(e){var t=n.props,r=t.item,i=t.onItemMouseEnter;i&&i(Object(o.__assign)(Object(o.__assign)({},r),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseEnterIcon=function(e){var t=n.props,o=t.item,r=t.onItemMouseEnter;r&&r(o,e,n._splitButton)},n._onItemMouseMovePrimary=function(e){var t=n.props,r=t.item,i=t.onItemMouseMove;i&&i(Object(o.__assign)(Object(o.__assign)({},r),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseMoveIcon=function(e){var t=n.props,o=t.item,r=t.onItemMouseMove;r&&r(o,e,n._splitButton)},n._onIconItemClick=function(e){var t=n.props,o=t.item,r=t.onItemClickBase;r&&r(o,e,n._splitButton?n._splitButton:e.currentTarget)},n._executeItemClick=function(e){var t=n.props,o=t.item,r=t.executeItemClick,i=t.onItemClick;if(!o.disabled&&!o.isDisabled)return n._processingTouch&&i?i(o,e):void(r&&r(o,e))},n._onTouchStart=function(e){!n._splitButton||"onpointerdown"in n._splitButton||n._handleTouchAndPointerEvent(e)},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},n._async=new p.a(n),n._events=new m.a(n),n}return Object(o.__extends)(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this,t=this.props,n=t.item,i=t.classNames,a=t.index,s=t.focusableElementIndex,c=t.totalItemCount,u=t.hasCheckmarks,l=t.hasIcons,d=t.onItemMouseLeave,p=t.expandedMenuItemKey,m=H(n),h=n.keytipProps;h&&(h=this._getMemoizedMenuButtonKeytipProps(h));var f=n.ariaDescription;return f&&(this._ariaDescriptionId=Object(b.a)()),r.createElement(ve,{keytipProps:h,disabled:K(n)},function(t){return r.createElement("div",{"data-ktp-target":t["data-ktp-target"],ref:function(t){return e._splitButton=t},role:U(n),"aria-label":n.ariaLabel,className:i.splitContainer,"aria-disabled":K(n),"aria-expanded":m?n.key===p:void 0,"aria-haspopup":!0,"aria-describedby":C(n.ariaDescribedBy,f?e._ariaDescriptionId:void 0,t["aria-describedby"]),"aria-checked":n.isChecked||n.checked,"aria-posinset":s+1,"aria-setsize":c,onMouseEnter:e._onItemMouseEnterPrimary,onMouseLeave:d?d.bind(e,Object(o.__assign)(Object(o.__assign)({},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,i,a,u,l),e._renderSplitDivider(n),e._renderSplitIconButton(n,i,a,t),e._renderAriaDescription(f,i.screenReaderText))})},t.prototype._renderSplitPrimaryButton=function(e,t,n,i,a){var s=this.props,c=s.contextualMenuItemAs,u=void 0===c?ce:c,l=s.onItemClick,d={key:e.key,disabled:K(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,secondaryText:e.secondaryText,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},p=e.itemProps;return r.createElement("button",Object(o.__assign)({},Object(v.d)(d,v.b)),r.createElement(u,Object(o.__assign)({"data-is-focusable":!1,item:d,classNames:t,index:n,onCheckmarkClick:i&&l?l:void 0,hasIcons:a},p)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||re;return r.createElement(Oe,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,n,i){var a=this.props,s=a.contextualMenuItemAs,c=void 0===s?ce:s,u=a.onItemMouseLeave,l=a.onItemMouseDown,d=a.openSubMenu,p=a.dismissSubMenu,m=a.dismissMenu,h={onClick:this._onIconItemClick,disabled:K(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key},f=Object(o.__assign)(Object(o.__assign)({},Object(v.d)(h,v.b)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:u?u.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":i["data-ktp-execute-target"],"aria-hidden":!0}),b=e.itemProps;return r.createElement("button",Object(o.__assign)({},f),r.createElement(c,Object(o.__assign)({componentRef:e.componentRef,item:h,classNames:t,index:n,hasIcons:!1,openSubMenu:d,dismissSubMenu:p,dismissMenu:m,getSubmenuTarget:this._getSubmenuTarget},b)))},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}(ue),Ee=n(526),ke=n(492),we=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];(function(e){function t(t){var n=e.call(this,t)||this;return n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n}Object(o.__extends)(t,e),t.prototype._updateComposedComponentRef=function(e){var t;this._composedComponentInstance=e,e?this._hoisted=function(e,t,n){void 0===n&&(n=we);var o=[],r=function(r){"function"!=typeof t[r]||void 0!==e[r]||n&&-1!==n.indexOf(r)||(o.push(r),e[r]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t[r].apply(t,e)})};for(var i in t)r(i);return o}(this,e):this._hoisted&&(t=this,this._hoisted.forEach(function(e){return delete t[e]}))}})(r.Component),n(439);var je,Ie=n(491);!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",e[e.unknown=999]="unknown"}(je||(je={}));var Me,Se,Te=[479,639,1023,1365,1919,99999999];function De(){return Me||Se||je.large}function Pe(e){var t=je.small;if(e){try{for(;e.innerWidth>Te[t];)t++}catch(e){t=De()}Se=t}else{if(void 0===Me)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.");t=Me}return t}var ze=r.createContext({}),Be=Object(P.a)(),Re=Object(P.a)(),Ne={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:I.a.bottomAutoEdge,beakWidth:16};function Fe(e){return e.subMenuProps?e.subMenuProps.items:e.items}var Ae=250,Le="ContextualMenu",We=Object(a.b)(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return $.i.apply(void 0,Object(o.__spreadArrays)([t,se],e))}});var He=r.forwardRef(function(e,t){var n=Object(z.a)(Ne,e),i=(n.ref,Object(o.__rest)(n,["ref"])),a=r.useRef(null),s=Object(Ee.a)(i.target,a),c=s[0],u=s[1],l=function(e){var t=e.hidden,n=r.useState(),o=n[0],i=n[1],a=r.useState(),s=a[0],c=a[1],u=r.useState(),l=u[0],d=u[1],p=r.useCallback(function(){d(void 0),i(void 0),c(void 0)},[]),m=r.useCallback(function(e,t,n){var r=e.key;o!==r&&(t.focus(),d(n),i(r),c(t))},[o]);return r.useEffect(function(){t&&p()},[t,p]),[o,s,l,m,p]}(i),d=l[0],p=l[1],m=l[2],h=l[3],f=l[4],b=function(e){var t=e.delayUpdateFocusOnHover,n=e.hidden,o=r.useRef(!t),i=r.useRef(!1);r.useEffect(function(){o.current=!t,i.current=!n&&(!t&&i.current)},[t,n]);var a=r.useCallback(function(){t&&(o.current=!0)},[t]);return[o,i,a]}(i),v=b[0],g=b[1],_=b[2],y=function(e,t){var n=r.useState(De()),o=n[0],i=n[1],a=r.useCallback(function(){var t=Pe(Object(B.a)(e.current));o!==t&&i(t)},[e,o]),s=Object(Ie.c)();return Object(ke.a)(s,"resize",a),r.useEffect(function(){void 0===t&&a()},[t]),null!=t?t:o}(a,i.responsiveMode);return function(e,t){var n=e.hidden,o=void 0!==n&&n,i=e.onMenuDismissed,a=e.onMenuOpened,s=pe(o),c=r.useRef(a),u=r.useRef(i),l=r.useRef(e);c.current=a,u.current=i,l.current=e,r.useEffect(function(){var e,t;o&&!1===s?null===(e=u.current)||void 0===e||e.call(u,l.current):o||!1===s||null===(t=c.current)||void 0===t||t.call(c,l.current)},[o,s]),r.useEffect(function(){return function(){var e;return null===(e=u.current)||void 0===e?void 0:e.call(u,l.current)}},[])}(i),r.createElement(Ke,Object(o.__assign)({},i,{hoisted:{hostElement:a,forwardedRef:t,targetRef:c,targetWindow:u,expandedMenuItemKey:d,submenuTarget:p,expandedByMouseClick:m,openSubMenu:h,closeSubMenu:f,shouldUpdateFocusOnMouseEvent:v,gotMouseMove:g,onMenuFocusCapture:_},responsiveMode:y}))});He.displayName="ContextualMenuBase";var Ke=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._tryFocusPreviousActiveElement=function(e){var t,o;n.props.onRestoreFocus?n.props.onRestoreFocus(e):e&&e.documentContainsFocus&&n._previousActiveElement&&(null===(o=(t=n._previousActiveElement).focus)||void 0===o||o.call(t))},n._onRenderMenuList=function(e,t){var o=0,i=e.items,a=e.totalItemCount,s=e.hasCheckmarks,c=e.hasIcons;return r.createElement("ul",{className:n._classNames.list,onKeyDown:n._onKeyDown,onKeyUp:n._onKeyUp,role:"presentation"},i.map(function(e,t){var r=n._renderMenuItem(e,t,o,a,s,c);if(e.itemType!==S.a.Divider&&e.itemType!==S.a.Header){var i=e.customOnRenderListLength?e.customOnRenderListLength:1;o+=i}return r}))},n._renderMenuItem=function(e,t,o,i,a,s){var c,u,l=[],d=e.iconProps||{iconName:"None"},p=e.getItemClassNames,m=e.itemProps,h=m?m.styles:void 0,f=n.props.hoisted.expandedMenuItemKey,b=e.itemType===S.a.Divider?e.className:void 0,v=e.submenuIconProps?e.submenuIconProps.className:"";if(p)u=p(n.props.theme,K(e),f===e.key,!!W(e),!!e.href,"None"!==d.iconName,e.className,b,d.className,v,e.primaryDisabled);else{var g={theme:n.props.theme,disabled:K(e),expanded:f===e.key,checked:!!W(e),isAnchorLink:!!e.href,knownIcon:"None"!==d.iconName,itemClassName:e.className,dividerClassName:b,iconClassName:d.className,subMenuClassName:v,primaryDisabled:e.primaryDisabled};u=Re(We(null===(c=n._classNames.subComponentStyles)||void 0===c?void 0:c.menuItem,h),g)}switch("-"!==e.text&&"-"!==e.name||(e.itemType=S.a.Divider),e.itemType){case S.a.Divider:l.push(n._renderSeparator(t,u));break;case S.a.Header:l.push(n._renderSeparator(t,u));var _=n._renderHeaderMenuItem(e,u,t,a,s);l.push(n._renderListItem(_,e.key||t,u,e.title));break;case S.a.Section:l.push(n._renderSectionItem(e,u,t,a,s));break;default:var y=n._renderNormalItem(e,u,t,o,i,a,s);l.push(n._renderListItem(y,e.key||t,u,e.title))}return r.createElement(r.Fragment,{key:e.key},l)},n._defaultMenuItemRenderer=function(e){var t=e.index,o=e.focusableElementIndex,r=e.totalItemCount,i=e.hasCheckmarks,a=e.hasIcons;return n._renderMenuItem(e,t,o,r,i,a)},n._onKeyDown=function(e){n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e);var t=e.which===u.a.escape&&(R()||N());return n._keyHandler(e,n._shouldHandleKeyDown,t)},n._shouldHandleKeyDown=function(e){return e.which===u.a.escape||n._shouldCloseSubMenu(e)||e.which===u.a.up&&(e.altKey||e.metaKey)},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&&!(N()||R())},n._keyHandler=function(e,t,o){var r=!1;return t(e)&&(n.dismiss(e,o),e.preventDefault(),e.stopPropagation(),r=!0),r},n._shouldCloseSubMenu=function(e){var t=Object(F.a)(n.props.theme)?u.a.right:u.a.left;return!(e.which!==t||!n.props.isSubMenu)&&(n._adjustedFocusZoneProps.direction===T.a.vertical||!!n._adjustedFocusZoneProps.checkForNoWrap&&!Object(A.l)(e.target,"data-no-horizontal-wrap"))},n._onMenuKeyDown=function(e){var t=n._onKeyDown(e),o=n.props.hoisted.hostElement;if(!t&&o.current){var r=!(!e.altKey&&!e.metaKey),i=e.which===u.a.up,a=e.which===u.a.down;if(!r&&(i||a)){var s=i?Object(A.f)(o.current,o.current.lastChild,!0):Object(A.d)(o.current,o.current.firstChild,!0);s&&(s.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},Ae)},n._onItemMouseEnterBase=function(e,t,o){n._shouldIgnoreMouseEvent()||n._updateFocusOnMouseEvent(e,t,o)},n._onItemMouseMoveBase=function(e,t,o){var r=t.currentTarget,i=n.props.hoisted,a=i.shouldUpdateFocusOnMouseEvent,s=i.gotMouseMove,c=i.targetWindow;a.current&&(s.current=!0,n._isScrollIdle&&void 0===n._enterTimerId&&r!==(null==c?void 0:c.document.activeElement)&&n._updateFocusOnMouseEvent(e,t,o))},n._onMouseItemLeave=function(e,t){var o,r=n.props.hoisted,i=r.expandedMenuItemKey,a=r.hostElement;if(!n._shouldIgnoreMouseEvent()&&(void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0),void 0===i))if(a.current.setActive)try{a.current.setActive()}catch(e){}else null===(o=a.current)||void 0===o||o.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 r=Fe(e),i=n.props.hoisted,a=i.expandedMenuItemKey,s=i.openSubMenu;n._cancelSubMenuTimer(),H(e)||r&&r.length?e.key!==a&&s(e,o,0!==t.nativeEvent.detail||"mouse"===t.nativeEvent.pointerType):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(F.a)(n.props.theme)?u.a.left:u.a.right;e.disabled||t.which!==o&&t.which!==u.a.enter&&(t.which!==u.a.down||!t.altKey&&!t.metaKey)||(n.props.hoisted.openSubMenu(e,t.currentTarget,!1),t.preventDefault())},n._cancelSubMenuTimer=function(){void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0)},n._onSubMenuDismiss=function(e,t){t?n.dismiss(e,t):n._mounted&&n.props.hoisted.closeSubMenu()},n._onPointerAndTouchEvent=function(e){n._cancelSubMenuTimer()},n._async=new p.a(n),n._events=new m.a(n),Object(d.a)(n),Object(f.a)(Le,t,{getMenuClassNames:"styles"}),n.state={contextualMenuItems:void 0,subMenuId:Object(b.a)("ContextualMenu")},n._id=t.id||Object(b.a)("ContextualMenu"),n._isScrollIdle=!0,n}return Object(o.__extends)(t,e),t.prototype.shouldComponentUpdate=function(e,t){return!(!e.shouldUpdateWhenHidden&&this.props.hidden&&e.hidden)&&(!Object(g.b)(this.props,e)||!Object(g.b)(this.state,t))},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this.props.hoisted;return this._isHidden(e)!==this._isHidden(this.props)&&(this._isHidden(this.props)?this._onMenuClosed():this._previousActiveElement=t.targetWindow?t.targetWindow.document.activeElement:void 0),null},t.prototype.componentDidMount=function(){var e=this.props,t=e.hidden,n=e.hoisted;t||(this._previousActiveElement=n.targetWindow?n.targetWindow.document.activeElement:void 0),this._mounted=!0},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._mounted=!1},t.prototype.render=function(){var e=this,t=this.props.isBeakVisible,n=this.props,i=n.items,a=n.labelElementId,c=n.id,u=n.className,l=n.beakWidth,d=n.directionalHint,p=n.directionalHintForRTL,m=n.alignTargetEdge,h=n.gapSpace,f=n.coverTarget,b=n.ariaLabel,v=n.doNotLayer,g=n.target,_=n.bounds,y=n.useTargetWidth,C=n.useTargetAsMinWidth,O=n.directionalHintFixed,x=n.shouldFocusOnMount,E=n.shouldFocusOnContainer,k=n.title,w=n.styles,j=n.theme,I=n.calloutProps,M=n.onRenderSubMenu,D=void 0===M?this._onRenderSubMenu:M,P=n.onRenderMenuList,z=void 0===P?this._onRenderMenuList:P,B=n.focusZoneProps,R=n.getMenuClassNames,N=n.hoisted,F=N.expandedMenuItemKey,A=N.targetRef,L=N.onMenuFocusCapture,W=N.hostElement,H=N.forwardedRef;this._classNames=R?R(j,u):Be(w,{theme:j,className:u});var K=function e(t){for(var n=0,o=t;n<o.length;n++){var r=o[n];if(r.iconProps)return!0;if(r.itemType===S.a.Section&&r.sectionProps&&e(r.sectionProps.items))return!0}return!1}(i);this._adjustedFocusZoneProps=Object(o.__assign)(Object(o.__assign)({},B),{className:this._classNames.root,isCircularNavigation:!0,handleTabKey:T.b.all,direction:this._getFocusZoneDirection()});var U,q=function(e){return e.some(function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some(function(e){return!0===e.canCheck}))})}(i),V=F&&!0!==this.props.hidden?this._getSubmenuProps():null;t=void 0===t?this.props.responsiveMode<=je.medium:t;var Z=A.current;if((y||C)&&Z&&Z.offsetWidth){var Y=Z.getBoundingClientRect().width-2;y?U={width:Y}:C&&(U={minWidth:Y})}if(i&&i.length>0){for(var X=0,Q=0,$=i;Q<$.length;Q++){var J=$[Q];if(J.itemType!==S.a.Divider&&J.itemType!==S.a.Header){var ee=J.customOnRenderListLength?J.customOnRenderListLength:1;X+=ee}}var te=this._classNames.subComponentStyles?this._classNames.subComponentStyles.callout:void 0;return r.createElement(ze.Consumer,null,function(n){return r.createElement(G.a,Object(o.__assign)({styles:te,onRestoreFocus:e._tryFocusPreviousActiveElement},I,{target:g||n.target,isBeakVisible:t,beakWidth:l,directionalHint:d,directionalHintForRTL:p,gapSpace:h,coverTarget:f,doNotLayer:v,className:Object(s.a)("ms-ContextualMenu-Callout",I&&I.className),setInitialFocus:x,onDismiss:e.props.onDismiss||n.onDismiss,onScroll:e._onScroll,bounds:_,directionalHintFixed:O,alignTargetEdge:m,hidden:e.props.hidden||n.hidden,ref:H}),r.createElement("div",{style:U,ref:W,id:c,className:e._classNames.container,tabIndex:E?0:-1,onKeyDown:e._onMenuKeyDown,onKeyUp:e._onKeyUp,onFocusCapture:L,"aria-label":b,"aria-labelledby":a,role:"menu"},k&&r.createElement("div",{className:e._classNames.title}," ",k," "),i&&i.length?e._renderFocusZone(z({ariaLabel:b,items:i,totalItemCount:X,hasCheckmarks:q,hasIcons:K,defaultMenuItemRenderer:e._defaultMenuItemRenderer,labelElementId:a},e._onRenderMenuList)):null,V&&D(V,e._onRenderSubMenu)))})}return null},t.prototype._onMenuClosed=function(){var e,t;null===(e=this._tryFocusPreviousActiveElement)||void 0===e||e.call(this,{originalElement:this._previousActiveElement,containsFocus:!0,documentContainsFocus:(null===(t=Object(L.a)())||void 0===t?void 0:t.hasFocus())||!1})},t.prototype._isHidden=function(e){return!!e.hidden},t.prototype._getFocusZoneDirection=function(){var e=this.props.focusZoneProps;return e&&void 0!==e.direction?e.direction:T.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._renderFocusZone=function(e){var t=this.props.focusZoneAs,n=void 0===t?D.a:t;return r.createElement(n,Object(o.__assign)({},this._adjustedFocusZoneProps),e)},t.prototype._renderSectionItem=function(e,t,n,i,a){var s=this,c=e.sectionProps;if(c){var u,l;if(c.title){var d=void 0,p="";if("string"==typeof c.title){var m=this._id+c.title.replace(/\s/g,"");d={key:"section-"+c.title+"-title",itemType:S.a.Header,text:c.title,id:m},p=m}else{m=c.title.id||this._id+c.title.key.replace(/\s/g,"");d=Object(o.__assign)(Object(o.__assign)({},c.title),{id:m}),p=m}d&&(l={role:"group","aria-labelledby":p},u=this._renderHeaderMenuItem(d,t,n,i,a))}return c.items&&c.items.length>0?r.createElement("li",{role:"presentation",key:c.key||e.key||"section-"+n},r.createElement("div",Object(o.__assign)({},l),r.createElement("ul",{className:this._classNames.list,role:"presentation"},c.topDivider&&this._renderSeparator(n,t,!0,!0),u&&this._renderListItem(u,e.key||n,t,e.title),c.items.map(function(e,t){return s._renderMenuItem(e,t,t,c.items.length,i,a)}),c.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,r,i,a,s){return e.onRender?e.onRender(Object(o.__assign)({"aria-posinset":r+1,"aria-setsize":i},e),this.dismiss):e.href?this._renderAnchorMenuItem(e,t,n,r,i,a,s):e.split&&H(e)?this._renderSplitButton(e,t,n,r,i,a,s):this._renderButtonItem(e,t,n,r,i,a,s)},t.prototype._renderHeaderMenuItem=function(e,t,n,i,a){var s=this.props.contextualMenuItemAs,c=void 0===s?ce:s,u=e.itemProps,l=e.id,d=u&&Object(v.d)(u,v.c);return r.createElement("div",Object(o.__assign)({id:l,className:this._classNames.header},d,{style:e.style}),r.createElement(c,Object(o.__assign)({item:e,classNames:t,index:n,onCheckmarkClick:i?this._onItemClick:void 0,hasIcons:a},u)))},t.prototype._renderAnchorMenuItem=function(e,t,n,o,i,a,s){var c=this.props,u=c.contextualMenuItemAs,l=c.hoisted,d=l.expandedMenuItemKey,p=l.openSubMenu;return r.createElement(ge,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:i,hasCheckmarks:a,hasIcons:s,contextualMenuItemAs:u,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onAnchorClick,onItemKeyDown:this._onItemKeyDown,expandedMenuItemKey:d,openSubMenu:p,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderButtonItem=function(e,t,n,o,i,a,s){var c=this.props,u=c.contextualMenuItemAs,l=c.hoisted,d=l.expandedMenuItemKey,p=l.openSubMenu;return r.createElement(_e,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:i,hasCheckmarks:a,hasIcons:s,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,expandedMenuItemKey:d,openSubMenu:p,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderSplitButton=function(e,t,n,o,i,a,s){var c=this.props,u=c.contextualMenuItemAs,l=c.hoisted,d=l.expandedMenuItemKey,p=l.openSubMenu;return r.createElement(xe,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:i,hasCheckmarks:a,hasIcons:s,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:p,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss,expandedMenuItemKey:d,onTap:this._onPointerAndTouchEvent})},t.prototype._isAltOrMeta=function(e){return e.which===u.a.alt||"Meta"===e.key},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this.props.hoisted.gotMouseMove.current},t.prototype._updateFocusOnMouseEvent=function(e,t,n){var o=this,r=n||t.currentTarget,i=this.props,a=i.subMenuHoverDelay,s=void 0===a?Ae:a,c=i.hoisted,u=c.expandedMenuItemKey,l=c.openSubMenu;e.key!==u&&(void 0!==this._enterTimerId&&(this._async.clearTimeout(this._enterTimerId),this._enterTimerId=void 0),void 0===u&&r.focus(),H(e)?(t.stopPropagation(),this._enterTimerId=this._async.setTimeout(function(){r.focus(),l(e,r,!0),o._enterTimerId=void 0},s)):this._enterTimerId=this._async.setTimeout(function(){o._onSubMenuDismiss(t),r.focus(),o._enterTimerId=void 0},s))},t.prototype._getSubmenuProps=function(){var e=this.props.hoisted,t=e.submenuTarget,n=e.expandedMenuItemKey,o=e.expandedByMouseClick,r=this._findItemByKey(n),i=null;return r&&(i={items:Fe(r),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:o,directionalHint:Object(F.a)(this.props.theme)?I.a.leftTopEdge:I.a.rightTopEdge,className:this.props.className,gapSpace:0,isBeakVisible:!1},r.subMenuProps&&Object(g.a)(i,r.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,o=t;n<o.length;n++){var r=o[n];if(r.itemType===S.a.Section&&r.sectionProps){var i=this._findItemByKeyFromItems(e,r.sectionProps.items);if(i)return i}else if(r.key&&r.key===e)return r}},t}(r.Component),Ue={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function Ge(e){return r.createElement(qe,Object(o.__assign)({},e))}var qe=Object(M.a)(He,function(e){var t=e.className,n=e.theme,o=Object($.m)(Ue,n),r=n.fonts,i=n.semanticColors,a=n.effects;return{root:[n.fonts.medium,o.root,o.isopen,{backgroundColor:i.menuBackground,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:$.c.semibold,color:i.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.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}},function(){return{onRenderSubMenu:Ge}},{scope:"ContextualMenu"}),Ve=qe;Ve.displayName="ContextualMenu";var Ze=n(422),Ye=Object(a.b)(function(e,t,n,o,r){return{root:Object($.u)(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],o&&!t&&[e.splitButtonMenuButtonChecked],r&&!t&&[{selectors:{":focus":e.splitButtonMenuFocused}}]),splitButtonContainer:Object($.u)(e.splitButtonContainer,!t&&o&&[e.splitButtonContainerChecked,{selectors:{":hover":e.splitButtonContainerCheckedHovered}}],!t&&!o&&[{selectors:{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}}],t&&e.splitButtonContainerDisabled),icon:Object($.u)(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&r&&e.splitButtonMenuIcon),flexContainer:Object($.u)(e.splitButtonFlexContainer),divider:Object($.u)(e.splitButtonDivider,(r||t)&&e.splitButtonDividerDisabled)}}),Xe="BaseButton",Qe=function(e){function t(t){var n=e.call(this,t)||this;return n._buttonElement=r.createRef(),n._splitButtonContainer=r.createRef(),n._mergedRef=Object(i.a)(),n._renderedVisibleMenu=!1,n._getMemoizedMenuButtonKeytipProps=Object(a.b)(function(e){return Object(o.__assign)(Object(o.__assign)({},e),{hasMenu:!0})}),n._onRenderIcon=function(e,t){var i=n.props.iconProps;if(i&&(void 0!==i.iconName||i.imageProps)){var a=i.className,c=i.imageProps,u=Object(o.__rest)(i,["className","imageProps"]);if(i.styles)return r.createElement(x.a,Object(o.__assign)({className:Object(s.a)(n._classNames.icon,a),imageProps:c},u));if(i.iconName)return r.createElement(E.a,Object(o.__assign)({className:Object(s.a)(n._classNames.icon,a)},u));if(c)return r.createElement(j,Object(o.__assign)({className:Object(s.a)(n._classNames.icon,a),imageProps:c},u))}return null},n._onRenderTextContents=function(){var e=n.props,t=e.text,o=e.children,i=e.secondaryText,a=void 0===i?n.props.description:i,s=e.onRenderText,c=void 0===s?n._onRenderText:s,u=e.onRenderDescription,l=void 0===u?n._onRenderDescription:u;return t||"string"==typeof o||a?r.createElement("span",{className:n._classNames.textContainer},c(n.props,n._onRenderText),l(n.props,n._onRenderDescription)):[c(n.props,n._onRenderText),l(n.props,n._onRenderDescription)]},n._onRenderText=function(){var e=n.props.text,t=n.props.children;return void 0===e&&"string"==typeof t&&(e=t),n._hasText()?r.createElement("span",{key:n._labelId,className:n._classNames.label,id:n._labelId},e):null},n._onRenderChildren=function(){var e=n.props.children;return"string"==typeof e?null:e},n._onRenderDescription=function(e){var t=e.secondaryText,o=void 0===t?n.props.description:t;return o?r.createElement("span",{key:n._descriptionId,className:n._classNames.description,id:n._descriptionId},o):null},n._onRenderAriaDescription=function(){var e=n.props.ariaDescription;return e?r.createElement("span",{className:n._classNames.screenReaderText,id:n._ariaDescriptionId},e):null},n._onRenderMenuIcon=function(e){var t=n.props.menuIconProps;return r.createElement(E.a,Object(o.__assign)({iconName:"ChevronDown"},t,{className:n._classNames.menuIcon}))},n._onRenderMenu=function(e){var t=n.props.persistMenu,i=n.state.menuHidden,a=n.props.menuAs||Ve;return e.ariaLabel||e.labelElementId||!n._hasText()||(e=Object(o.__assign)(Object(o.__assign)({},e),{labelElementId:n._labelId})),r.createElement(a,Object(o.__assign)({id:n._labelId+"-menu",directionalHint:I.a.bottomLeftEdge},e,{shouldFocusOnContainer:n._menuShouldFocusOnContainer,shouldFocusOnMount:n._menuShouldFocusOnMount,hidden:t?i:void 0,className:Object(s.a)("ms-BaseButton-menuhost",e.className),target:n._isSplitButton?n._splitButtonContainer.current:n._buttonElement.current,onDismiss:n._onDismissMenu}))},n._onDismissMenu=function(e){var t=n.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||n._dismissMenu()},n._dismissMenu=function(){n._menuShouldFocusOnMount=void 0,n._menuShouldFocusOnContainer=void 0,n.setState({menuHidden:!0})},n._openMenu=function(e,t){void 0===t&&(t=!0),n.props.menuProps&&(n._menuShouldFocusOnContainer=e,n._menuShouldFocusOnMount=t,n._renderedVisibleMenu=!0,n.setState({menuHidden:!1}))},n._onToggleMenu=function(e){var t=!0;n.props.menuProps&&!1===n.props.menuProps.shouldFocusOnMount&&(t=!1),n.state.menuHidden?n._openMenu(e,t):n._dismissMenu()},n._onSplitContainerFocusCapture=function(e){var t=n._splitButtonContainer.current;!t||e.target&&Object(c.a)(e.target,t)||t.focus()},n._onSplitButtonPrimaryClick=function(e){n.state.menuHidden||n._dismissMenu(),!n._processingTouch&&n.props.onClick?n.props.onClick(e):n._processingTouch&&n._onMenuClick(e)},n._onKeyDown=function(e){!n.props.disabled||e.which!==u.a.enter&&e.which!==u.a.space?n.props.disabled||(n.props.menuProps?n._onMenuKeyDown(e):void 0!==n.props.onKeyDown&&n.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},n._onKeyUp=function(e){n.props.disabled||void 0===n.props.onKeyUp||n.props.onKeyUp(e)},n._onKeyPress=function(e){n.props.disabled||void 0===n.props.onKeyPress||n.props.onKeyPress(e)},n._onMouseUp=function(e){n.props.disabled||void 0===n.props.onMouseUp||n.props.onMouseUp(e)},n._onMouseDown=function(e){n.props.disabled||void 0===n.props.onMouseDown||n.props.onMouseDown(e)},n._onClick=function(e){n.props.disabled||(n.props.menuProps?n._onMenuClick(e):void 0!==n.props.onClick&&n.props.onClick(e))},n._onSplitButtonContainerKeyDown=function(e){e.which===u.a.enter||e.which===u.a.space?n._buttonElement.current&&(n._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):n._onMenuKeyDown(e)},n._onMenuKeyDown=function(e){if(!n.props.disabled){n.props.onKeyDown&&n.props.onKeyDown(e);var t=e.which===u.a.up,o=e.which===u.a.down;if(!e.defaultPrevented&&n._isValidMenuOpenKey(e)){var r=n.props.onMenuClick;r&&r(e,n.props),n._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}if(e.which!==u.a.enter&&e.which!==u.a.space||Object(l.b)(!0,e.target),!e.altKey&&!e.metaKey&&(t||o))if(!n.state.menuHidden&&n.props.menuProps)(void 0!==n._menuShouldFocusOnMount?n._menuShouldFocusOnMount:n.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),n._menuShouldFocusOnMount=!0,n.forceUpdate())}},n._onTouchStart=function(){!n._isSplitButton||!n._splitButtonContainer.current||"onpointerdown"in n._splitButtonContainer.current||n._handleTouchAndPointerEvent()},n._onMenuClick=function(e){var t=n.props.onMenuClick;if(t&&t(e,n.props),!e.defaultPrevented){var o=0!==e.nativeEvent.detail||"mouse"===e.nativeEvent.pointerType;n._onToggleMenu(o),e.preventDefault(),e.stopPropagation()}},Object(d.a)(n),n._async=new p.a(n),n._events=new m.a(n),Object(h.a)(Xe,t,["menuProps","onClick"],"split",n.props.split),Object(f.a)(Xe,t,{rootProps:void 0,description:"secondaryText",toggled:"checked"}),n._labelId=Object(b.a)(),n._descriptionId=Object(b.a)(),n._ariaDescriptionId=Object(b.a)(),n.state={menuHidden:!0},n}return Object(o.__extends)(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this.props,n=t.ariaDescription,o=t.ariaLabel,r=t.ariaHidden,i=t.className,a=t.disabled,s=t.allowDisabledFocus,c=t.primaryDisabled,u=t.secondaryText,l=void 0===u?this.props.description:u,d=t.href,p=t.iconProps,m=t.menuIconProps,h=t.styles,f=t.checked,b=t.variantClassName,y=t.theme,C=t.toggle,O=t.getClassNames,x=t.role,E=this.state.menuHidden,k=a||c;this._classNames=O?O(y,i,b,p&&p.className,m&&m.className,k,f,!E,!!this.props.menuProps,this.props.split,!!s):Object(Ze.b)(y,h,i,b,p&&p.className,m&&m.className,k,!!this.props.menuProps,f,!E,this.props.split);var w=this._ariaDescriptionId,j=this._labelId,I=this._descriptionId,M=!k&&!!d,S=M?"a":"button",T=Object(v.d)(Object(g.a)(M?{}:{type:"button"},this.props.rootProps,this.props),M?v.a:v.b,["disabled"]),D=o||T["aria-label"],P=void 0;n?P=w:l&&this.props.onRenderDescription!==_.a?P=I:T["aria-describedby"]&&(P=T["aria-describedby"]);var z=void 0;T["aria-labelledby"]?z=T["aria-labelledby"]:P&&!D&&(z=this._hasText()?j:void 0);var B=!(!1===this.props["data-is-focusable"]||a&&!s||this._isSplitButton),R="menuitemcheckbox"===x||"checkbox"===x,N=R?!!f:!0===C?!!f:void 0,F=Object(g.a)(T,((e={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:k&&!s,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":D,"aria-labelledby":z,"aria-describedby":P,"aria-disabled":k,"data-is-focusable":B})[R?"aria-checked":"aria-pressed"]=N,e));if(r&&(F["aria-hidden"]=!0),this._isSplitButton)return this._onRenderSplitButtonContent(S,F);if(this.props.menuProps){var A=this.props.menuProps.id,L=void 0===A?this._labelId+"-menu":A;Object(g.a)(F,{"aria-expanded":!E,"aria-controls":E?null:L,"aria-haspopup":!0})}return this._onRenderContent(S,F)},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.focus=function(){this._isSplitButton&&this._splitButtonContainer.current?(Object(l.b)(!0),this._splitButtonContainer.current.focus()):this._buttonElement.current&&(Object(l.b)(!0),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,i=this.props,a=e,s=i.menuIconProps,c=i.menuProps,u=i.onRenderIcon,l=void 0===u?this._onRenderIcon:u,d=i.onRenderAriaDescription,p=void 0===d?this._onRenderAriaDescription:d,m=i.onRenderChildren,h=void 0===m?this._onRenderChildren:m,f=i.onRenderMenu,b=void 0===f?this._onRenderMenu:f,v=i.onRenderMenuIcon,g=void 0===v?this._onRenderMenuIcon:v,_=i.disabled,C=i.keytipProps;C&&c&&(C=this._getMemoizedMenuButtonKeytipProps(C));var O=function(e){return r.createElement(a,Object(o.__assign)({},t,e),r.createElement("span",{className:n._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},l(i,n._onRenderIcon),n._onRenderTextContents(),p(i,n._onRenderAriaDescription),h(i,n._onRenderChildren),!n._isSplitButton&&(c||s||n.props.onRenderMenuIcon)&&g(n.props,n._onRenderMenuIcon),c&&!c.doNotLayer&&n._shouldRenderMenu()&&b(c,n._onRenderMenu)))},x=C?r.createElement(ve,{keytipProps:this._isSplitButton?void 0:C,ariaDescribedBy:t["aria-describedby"],disabled:_},function(e){return O(e)}):O();return c&&c.doNotLayer?r.createElement(r.Fragment,null,x,this._shouldRenderMenu()&&b(c,this._onRenderMenu)):r.createElement(r.Fragment,null,x,r.createElement(y.a,null))},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,n=t.persistMenu,o=t.renderPersistedMenuHiddenOnMount;return!e||!(!n||!this._renderedVisibleMenu&&!o)},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,i=this.props,a=i.styles,s=void 0===a?{}:a,c=i.disabled,u=i.allowDisabledFocus,l=i.checked,d=i.getSplitButtonClassNames,p=i.primaryDisabled,m=i.menuProps,h=i.toggle,f=i.role,b=i.primaryActionButtonProps,_=this.props.keytipProps,y=this.state.menuHidden,O=d?d(!!c,!y,!!l,!!u):s&&Ye(s,!!c,!y,!!l,!!p);Object(g.a)(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1}),_&&m&&(_=this._getMemoizedMenuButtonKeytipProps(_));var x=Object(v.d)(t,[],["disabled"]);b&&Object(g.a)(t,b);var E=function(i){return r.createElement("div",Object(o.__assign)({},x,{"data-ktp-target":i?i["data-ktp-target"]:void 0,role:f||"button","aria-disabled":c,"aria-haspopup":!0,"aria-expanded":!y,"aria-pressed":h?!!l:void 0,"aria-describedby":C(t["aria-describedby"],i?i["aria-describedby"]:void 0),className:O&&O.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:c||p?void 0:n._onSplitButtonPrimaryClick,tabIndex:!c&&!p||u?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),r.createElement("span",{style:{display:"flex"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(O,i),n._onRenderSplitButtonDivider(O)))};return _?r.createElement(ve,{keytipProps:_,disabled:c},function(e){return E(e)}):E()},t.prototype._onRenderSplitButtonDivider=function(e){if(e&&e.divider){return r.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}})}return null},t.prototype._onRenderSplitButtonMenuButton=function(e,n){var i=this.props,a=i.allowDisabledFocus,s=i.checked,c=i.disabled,u=i.splitButtonMenuProps,l=i.splitButtonAriaLabel,d=i.primaryDisabled,p=this.state.menuHidden,m=this.props.menuIconProps;void 0===m&&(m={iconName:"ChevronDown"});var h=Object(o.__assign)(Object(o.__assign)({},u),{styles:e,checked:s,disabled:c,allowDisabledFocus:a,onClick:this._onMenuClick,menuProps:void 0,iconProps:Object(o.__assign)(Object(o.__assign)({},m),{className:this._classNames.menuIcon}),ariaLabel:l,"aria-haspopup":!0,"aria-expanded":!p,"data-is-focusable":!1});return r.createElement(t,Object(o.__assign)({},h,{"data-ktp-execute-target":n?n["data-ktp-execute-target"]:n,onMouseDown:this._onMouseDown,tabIndex:d&&!a?0:-1}))},t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(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,e.focus()},500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&(e.which===u.a.down&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t}(r.Component)},413:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(12),r=o.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}})},414:function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return i}),n.d(t,"c",function(){return a});var o=n(342),r=Object(o.t)({root:{display:"inline-block"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),i="ms-Icon",a=function(e){var t=e.className,n=e.iconClassName,o=e.isPlaceholder,i=e.isImage,a=e.styles;return{root:[o&&r.placeholder,r.root,i&&r.image,n,t,a&&a.root,a&&a.imageContainer]}}},415:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n(1),r=n(342),i=n(339),a=Object(i.b)(function(e,t){var n,i,a,s,c,u,l,d,p,m,h,f,b,v=e.effects,g=e.palette,_=e.semanticColors,y={left:-2,top:-2,bottom:-2,right:-2,border:"none"},C={position:"absolute",width:1,right:31,top:8,bottom:8},O={splitButtonContainer:[Object(r.l)(e,{highContrastStyle:y,inset:2}),{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[r.d]=Object(o.__assign)({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},Object(r.n)()),n)},".ms-Button--primary + .ms-Button":{border:"none",selectors:(i={},i[r.d]={border:"1px solid WindowText",borderLeftWidth:"0"},i)}}}],splitButtonContainerHovered:{selectors:{".ms-Button--primary":{selectors:(a={},a[r.d]={color:"Window",backgroundColor:"Highlight"},a)},".ms-Button.is-disabled":{color:_.buttonTextDisabled,selectors:(s={},s[r.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},s)}}},splitButtonContainerChecked:{selectors:{".ms-Button--primary":{selectors:(c={},c[r.d]=Object(o.__assign)({color:"Window",backgroundColor:"WindowText"},Object(r.n)()),c)}}},splitButtonContainerCheckedHovered:{selectors:{".ms-Button--primary":{selectors:(u={},u[r.d]=Object(o.__assign)({color:"Window",backgroundColor:"WindowText"},Object(r.n)()),u)}}},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(l={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:v.roundedCorner2,borderBottomRightRadius:v.roundedCorner2,border:"1px solid "+g.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},l[r.d]={".ms-Button-menuIcon":{color:"WindowText"}},l),splitButtonDivider:Object(o.__assign)(Object(o.__assign)({},C),{selectors:(d={},d[r.d]={backgroundColor:"WindowText"},d)}),splitButtonDividerDisabled:Object(o.__assign)(Object(o.__assign)({},C),{selectors:(p={},p[r.d]={backgroundColor:"GrayText"},p)}),splitButtonMenuButtonDisabled:{pointerEvents:"none",border:"none",selectors:(m={":hover":{cursor:"default"},".ms-Button--primary":{selectors:(h={},h[r.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},h)},".ms-Button-menuIcon":{selectors:(f={},f[r.d]={color:"GrayText"},f)}},m[r.d]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},m)},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none",selectors:(b={},b[r.d]=Object(o.__assign)({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},Object(r.n)()),b)},splitButtonMenuFocused:Object(o.__assign)({},Object(r.l)(e,{highContrastStyle:y,inset:2}))};return Object(r.h)(O,t)})},417:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pauseBreak:19,capslock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,del:46,zero:48,one:49,two:50,three:51,four:52,five:53,six:54,seven:55,eight:56,nine:57,colon:58,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindow:91,rightWindow:92,select:93,zero_numpad:96,one_numpad:97,two_numpad:98,three_numpad:99,four_numpad:100,five_numpad:101,six_numpad:102,seven_numpad:103,eight_numpad:104,nine_numpad:105,multiply:106,add:107,subtract:109,decimalPoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrollLock:145,semicolon:186,equalSign:187,comma:188,dash:189,period:190,forwardSlash:191,graveAccent:192,openBracket:219,backSlash:220,closeBracket:221,singleQuote:222}},418:function(e,t,n){"use strict";var o,r,i;n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r}),n.d(t,"c",function(){return i}),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"}(r||(r={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(i||(i={}))},419:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(424);function r(e,t){return e&&e!==document.body?t(e)?e:r(Object(o.a)(e),t):null}},420:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(12);function r(e){var t=o.useRef();return void 0===t.current&&(t.current={value:"function"==typeof e?e():e}),t.current.value}},421:function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"e",function(){return i}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return s}),n.d(t,"c",function(){return c}),n.d(t,"f",function(){return o});var o,r="ktp",i="-",a="data-ktp-target",s="data-ktp-execute-target",c="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={}))},422:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});var o=n(339),r=n(342),i={msButton:"ms-Button",msButtonHasMenu:"ms-Button--hasMenu",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"},a=Object(o.b)(function(e,t,n,o,a,s,c,u,l,d,p){var m,h,f=Object(r.m)(i,e||{}),b=d&&!p;return Object(r.t)({root:[f.msButton,t.root,o,l&&["is-checked",t.rootChecked],b&&["is-expanded",t.rootExpanded,{selectors:(m={},m[":hover ."+f.msButtonIcon]=t.iconExpandedHovered,m[":hover ."+f.msButtonMenuIcon]=t.menuIconExpandedHovered||t.rootExpandedHovered,m[":hover"]=t.rootExpandedHovered,m)}],u&&[i.msButtonHasMenu,t.rootHasMenu],c&&["is-disabled",t.rootDisabled],!c&&!b&&!l&&{selectors:(h={":hover":t.rootHovered},h[":hover ."+f.msButtonLabel]=t.labelHovered,h[":hover ."+f.msButtonIcon]=t.iconHovered,h[":hover ."+f.msButtonDescription]=t.descriptionHovered,h[":hover ."+f.msButtonMenuIcon]=t.menuIconHovered,h[":focus"]=t.rootFocused,h[":active"]=t.rootPressed,h[":active ."+f.msButtonIcon]=t.iconPressed,h[":active ."+f.msButtonDescription]=t.descriptionPressed,h[":active ."+f.msButtonMenuIcon]=t.menuIconPressed,h)},c&&l&&[t.rootCheckedDisabled],!c&&l&&{selectors:{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed}},n],flexContainer:[f.msButtonFlexContainer,t.flexContainer],textContainer:[f.msButtonTextContainer,t.textContainer],icon:[f.msButtonIcon,a,t.icon,b&&t.iconExpanded,l&&t.iconChecked,c&&t.iconDisabled],label:[f.msButtonLabel,t.label,l&&t.labelChecked,c&&t.labelDisabled],menuIcon:[f.msButtonMenuIcon,s,t.menuIcon,l&&t.menuIconChecked,c&&!p&&t.menuIconDisabled,!c&&!b&&!l&&{selectors:{":hover":t.menuIconHovered,":active":t.menuIconPressed}},b&&["is-expanded",t.menuIconExpanded]],description:[f.msButtonDescription,t.description,l&&t.descriptionChecked,c&&t.descriptionDisabled],screenReaderText:[f.msButtonScreenReaderText,t.screenReaderText]})})},423:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var o=n(520),r=n(1),i=n(12),a=n(485),s=n(486),c=n(418),u=n(488),l=Object(a.a)(),d=/\.svg$/i;var p=i.forwardRef(function(e,t){var n=i.useRef(),o=i.useRef(),a=function(e,t){var n=e.onLoadingStateChange,o=e.onLoad,r=e.onError,a=e.src,s=i.useState(c.c.notLoaded),u=s[0],l=s[1];i.useLayoutEffect(function(){l(c.c.notLoaded)},[a]),i.useEffect(function(){u===c.c.notLoaded&&(!!t.current&&(a&&t.current.naturalWidth>0&&t.current.naturalHeight>0||t.current.complete&&d.test(a))&&l(c.c.loaded))}),i.useEffect(function(){null==n||n(u)},[u]);var p=i.useCallback(function(e){null==o||o(e),a&&l(c.c.loaded)},[a,o]),m=i.useCallback(function(e){null==r||r(e),l(c.c.error)},[r]);return[u,p,m]}(e,o),p=a[0],m=a[1],h=a[2],f=Object(s.d)(e,s.f,["width","height"]),b=e.src,v=e.alt,g=e.width,_=e.height,y=e.shouldFadeIn,C=void 0===y||y,O=e.shouldStartVisible,x=e.className,E=e.imageFit,k=e.role,w=e.maximizeFrame,j=e.styles,I=e.theme,M=e.loading,S=function(e,t,n,o){var r=i.useRef(t),a=i.useRef();(void 0===a||r.current===c.c.notLoaded&&t===c.c.loaded)&&(a.current=function(e,t,n,o){var r=e.imageFit,i=e.width,a=e.height;if(void 0!==e.coverStyle)return e.coverStyle;if(t===c.c.loaded&&(r===c.b.cover||r===c.b.contain||r===c.b.centerContain||r===c.b.centerCover)&&n.current&&o.current){var s=void 0;if(s="number"==typeof i&&"number"==typeof a&&r!==c.b.centerContain&&r!==c.b.centerCover?i/a:o.current.clientWidth/o.current.clientHeight,n.current.naturalWidth/n.current.naturalHeight>s)return c.a.landscape}return c.a.portrait}(e,t,n,o));return r.current=t,a.current}(e,p,o,n),T=l(j,{theme:I,className:x,width:g,height:_,maximizeFrame:w,shouldFadeIn:C,shouldStartVisible:O,isLoaded:p===c.c.loaded||p===c.c.notLoaded&&e.shouldStartVisible,isLandscape:S===c.a.landscape,isCenter:E===c.b.center,isCenterContain:E===c.b.centerContain,isCenterCover:E===c.b.centerCover,isContain:E===c.b.contain,isCover:E===c.b.cover,isNone:E===c.b.none,isError:p===c.c.error,isNotImageFit:void 0===E});return i.createElement("div",{className:T.root,style:{width:g,height:_},ref:n},i.createElement("img",Object(r.__assign)({},f,{onLoad:m,onError:h,key:"fabricImage"+e.src||"",className:T.image,ref:Object(u.a)(o,t),src:b,alt:v,role:k,loading:M})))});p.displayName="ImageBase";var m=n(342),h=n(78),f={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"},b=Object(o.a)(p,function(e){var t=e.className,n=e.width,o=e.height,r=e.maximizeFrame,i=e.isLoaded,a=e.shouldFadeIn,s=e.shouldStartVisible,c=e.isLandscape,u=e.isCenter,l=e.isContain,d=e.isCover,p=e.isCenterContain,b=e.isCenterCover,v=e.isNone,g=e.isError,_=e.isNotImageFit,y=e.theme,C=Object(m.m)(f,y),O={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},x=Object(h.a)(),E=void 0!==x&&void 0===x.navigator.msMaxTouchPoints,k=l&&c||d&&!c?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[C.root,y.fonts.medium,{overflow:"hidden"},r&&[C.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&a&&!s&&m.a.fadeIn400,(u||l||d||p||b)&&{position:"relative"},t],image:[C.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],u&&[C.imageCenter,O],l&&[C.imageContain,E&&{width:"100%",height:"100%",objectFit:"contain"},!E&&k,!E&&O],d&&[C.imageCover,E&&{width:"100%",height:"100%",objectFit:"cover"},!E&&k,!E&&O],p&&[C.imageCenterContain,c&&{maxWidth:"100%"},!c&&{maxHeight:"100%"},O],b&&[C.imageCenterCover,c&&{maxHeight:"100%"},!c&&{maxWidth:"100%"},O],v&&[C.imageNone,{width:"auto",height:"auto"}],_&&[!!n&&!o&&{height:"auto",width:"100%"},!n&&!!o&&{height:"100%",width:"auto"},!!n&&!!o&&{height:"100%",width:"100%"}],c&&C.imageLandscape,!c&&C.imagePortrait,!i&&"is-notLoaded",a&&"is-fadeIn",g&&"is-error"]}},void 0,{scope:"Image"},!0);b.displayName="Image"},424: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})},433:function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,o){return e[0]===t&&(n=o,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,r=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},a=2;var s=20,c=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function s(){n&&(n=!1,e()),o&&u()}function c(){i(s)}function u(){var e=Date.now();if(n){if(e-r<a)return;o=!0}else n=!0,o=!1,setTimeout(c,t);r=e}return u}(this.refresh.bind(this),s)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||r},m=_(0,0,0,0);function h(e){return parseFloat(e)||0}function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+h(e["border-"+n+"-width"])},0)}function b(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return m;var o=p(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=h(i)}return t}(o),i=r.left+r.right,a=r.top+r.bottom,s=h(o.width),c=h(o.height);if("border-box"===o.boxSizing&&(Math.round(s+i)!==t&&(s-=f(o,"left","right")+i),Math.round(c+a)!==n&&(c-=f(o,"top","bottom")+a)),!function(e){return e===p(e).document.documentElement}(e)){var u=Math.round(s+i)-t,l=Math.round(c+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(l)&&(c-=l)}return _(r.left,r.top,s,c)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return o?v(e)?function(e){var t=e.getBBox();return _(0,0,t.width,t.height)}(e):b(e):m}function _(e,t,n,o){return{x:e,y:t,width:n,height:o}}var y=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),C=function(e,t){var n,o,r,i,a,s,c,u=(o=(n=t).x,r=n.y,i=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(s.prototype),d(c,{x:o,y:r,width:i,height:a,top:r,right:o+i,bottom:a+r,left:o}),c);d(this,{target:e,contentRect:u})},O=function(){function e(e,t,o){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=o}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new C(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),x="undefined"!=typeof WeakMap?new WeakMap:new n,E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),o=new O(t,n,this);x.set(this,o)};["observe","unobserve","disconnect"].forEach(function(e){E.prototype[e]=function(){var t;return(t=x.get(this))[e].apply(t,arguments)}});var k=void 0!==r.ResizeObserver?r.ResizeObserver:E;t.a=k}).call(this,n(311))},434:function(e,t,n){"use strict";n.d(t,"a",function(){return c});n(417);var o,r=n(246),i=n(253),a=n(19),s="isRTL";function c(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===o){var t=Object(i.a)(s);null!==t&&function(e,t){void 0===t&&(t=!1);var n=Object(r.a)();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr");t&&Object(i.b)(s,e?"1":"0");o=e,Object(a.setRTL)(o)}(o="1"===t);var n=Object(r.a)();void 0===o&&n&&(o="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")),Object(a.setRTL)(o))}return!!o}},435:function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return d});var o=n(1),r=n(12),i=n(414),a=n(339),s=n(486),c=n(487),u=n(342),l=Object(a.b)(function(e){var t=Object(u.o)(e)||{subset:{},code:void 0},n=t.code,o=t.subset;return n?{children:n,iconClassName:o.className,fontFamily:o.fontFace&&o.fontFace.fontFamily,mergeImageProps:o.mergeImageProps}:null},void 0,!0),d=function(e){var t=e.iconName,n=e.className,a=e.style,u=void 0===a?{}:a,d=l(t)||{},p=d.iconClassName,m=d.children,h=d.fontFamily,f=d.mergeImageProps,b=Object(s.d)(e,s.e),v=e["aria-label"]||e.title,g=e["aria-label"]||e["aria-labelledby"]||e.title?{role:f?void 0:"img"}:{"aria-hidden":!0},_=m;return f&&"object"==typeof m&&"object"==typeof m.props&&v&&(_=r.cloneElement(m,{alt:v})),r.createElement("i",Object(o.__assign)({"data-icon-name":t},g,b,f?{title:void 0,"aria-label":void 0}:{},{className:Object(c.a)(i.a,i.b.root,p,!t&&i.b.placeholder,n),style:Object(o.__assign)({fontFamily:h},u)}),_)};Object(a.b)(function(e,t,n){return d({iconName:e,className:t,"aria-label":n})})},436:function(e,t,n){"use strict";function o(e,t,n){var o=e.slice();return o.splice(t,0,n),o}function r(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,"a",function(){return o}),n.d(t,"b",function(){return r})},437:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(438),r=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,n,r,i){var a;if(e._isElement(t)){if("undefined"!=typeof document&&document.createEvent){var s=document.createEvent("HTMLEvents");s.initEvent(n,i||!1,!0),Object(o.a)(s,r),a=t.dispatchEvent(s)}else if("undefined"!=typeof document&&document.createEventObject){var c=document.createEventObject(r);t.fireEvent("on"+n,c)}}else for(;t&&!1!==a;){var u=t.__events__,l=u?u[n]:null;if(l)for(var d in l)if(l.hasOwnProperty(d))for(var p=l[d],m=0;!1!==a&&m<p.length;m++){var h=p[m];h.objectCallback&&(a=h.objectCallback.call(h.parent,r))}t=i?t.parent:null}return a},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,r){var i=this;if(n.indexOf(",")>-1)for(var a=n.split(/[ ,]+/),s=0;s<a.length;s++)this.on(t,a[s],o,r);else{var c=this._parent,u={target:t,eventName:n,parent:c,callback:o,options:r};if((a=t.__events__=t.__events__||{})[n]=a[n]||{count:0},a[n][this._id]=a[n][this._id]||[],a[n][this._id].push(u),a[n].count++,e._isElement(t)){var l=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed){var n;try{if(!1===(n=o.apply(c,e))&&e[0]){var r=e[0];r.preventDefault&&r.preventDefault(),r.stopPropagation&&r.stopPropagation(),r.cancelBubble=!0}}catch(r){}return n}};u.elementCallback=l,t.addEventListener?t.addEventListener(n,l,r):t.attachEvent&&t.attachEvent("on"+n,l)}else{u.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed)return o.apply(c,e)}}this._eventRecords.push(u)}},e.prototype.off=function(e,t,n,o){for(var r=0;r<this._eventRecords.length;r++){var i=this._eventRecords[r];if(!(e&&e!==i.target||t&&t!==i.eventName||n&&n!==i.callback||"boolean"==typeof o&&o!==i.options)){var a=i.target.__events__,s=a[i.eventName],c=s?s[this._id]:null;c&&(1!==c.length&&n?(s.count--,c.splice(c.indexOf(i),1)):(s.count-=c.length,delete a[i.eventName][this._id]),s.count||delete a[i.eventName]),i.elementCallback&&(i.target.removeEventListener?i.target.removeEventListener(i.eventName,i.elementCallback,i.options):i.target.detachEvent&&i.target.detachEvent("on"+i.eventName,i.elementCallback)),this._eventRecords.splice(r--,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}()},438:function(e,t,n){"use strict";function o(e,t){for(var n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||t[n]!==e[n]))return!1;for(var n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];t=t||{};for(var r=0,i=n;r<i.length;r++){var a=i[r];if(a)for(var s in a)!a.hasOwnProperty(s)||e&&!e(s)||(t[s]=a[s])}return t}.apply(this,[null,e].concat(t))}n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r})},439: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})},440:function(e,t,n){"use strict";var o;n.d(t,"a",function(){return o}),function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(o||(o={}))},441:function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return o});var o,r={none:0,all:1,inputOnly:2};!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(o||(o={}))},442:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(78),r=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(e){n._logError(e)}},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,t){var n=this,r=0,i=Object(o.a)(t);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});r=i.setTimeout(function(){try{n._immediateIds&&delete n._immediateIds[r],e.apply(n._parent)}catch(e){n._logError(e)}},0),this._immediateIds[r]=!0}return r},e.prototype.clearImmediate=function(e,t){var n=Object(o.a)(t);this._immediateIds&&this._immediateIds[e]&&(n.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(e){n._logError(e)}},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 r,i,a=t||0,s=!0,c=!0,u=0,l=null;n&&"boolean"==typeof n.leading&&(s=n.leading),n&&"boolean"==typeof n.trailing&&(c=n.trailing);var d=function(t){var n=Date.now(),p=n-u,m=s?a-p:a;return p>=a&&(!t||s)?(u=n,l&&(o.clearTimeout(l),l=null),r=e.apply(o._parent,i)):null===l&&c&&(l=o.setTimeout(d,m)),r};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i=e,d(!0)}},e.prototype.debounce=function(e,t,n){var o=this;if(this._isDisposed){var r=function(){};return r.cancel=function(){},r.flush=function(){return null},r.pending=function(){return!1},r}var i,a,s=t||0,c=!1,u=!0,l=null,d=0,p=Date.now(),m=null;n&&"boolean"==typeof n.leading&&(c=n.leading),n&&"boolean"==typeof n.trailing&&(u=n.trailing),n&&"number"==typeof n.maxWait&&!isNaN(n.maxWait)&&(l=n.maxWait);var h=function(e){m&&(o.clearTimeout(m),m=null),p=e},f=function(t){h(t),i=e.apply(o._parent,a)},b=function(e){var t=Date.now(),n=!1;e&&(c&&t-d>=s&&(n=!0),d=t);var r=t-d,a=s-r,h=t-p,v=!1;return null!==l&&(h>=l&&m?v=!0:a=Math.min(a,l-h)),r>=s||v||n?f(t):null!==m&&e||!u||(m=o.setTimeout(b,a)),i},v=function(){return!!m},g=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,b(!0)};return g.cancel=function(){v()&&h(Date.now())},g.flush=function(){return v()&&f(Date.now()),i},g.pending=v,g},e.prototype.requestAnimationFrame=function(e,t){var n=this,r=0,i=Object(o.a)(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var a=function(){try{n._animationFrameIds&&delete n._animationFrameIds[r],e.apply(n._parent)}catch(e){n._logError(e)}};r=i.requestAnimationFrame?i.requestAnimationFrame(a):i.setTimeout(a,0),this._animationFrameIds[r]=!0}return r},e.prototype.cancelAnimationFrame=function(e,t){var n=Object(o.a)(t);this._animationFrameIds&&this._animationFrameIds[e]&&(n.cancelAnimationFrame?n.cancelAnimationFrame(e):n.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}()},443:function(e,t,n){"use strict";function o(e,t,n){}n.d(t,"a",function(){return o})},444:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r});var o="data-portal-element";function r(e){e.setAttribute(o,"true")}},445:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o=n(1),r=n(437),i=n(495),a=n(421),s=function(){function e(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}return e.getInstance=function(){return this._instance},e.prototype.init=function(e){this.delayUpdatingKeytipChange=e},e.prototype.register=function(e,t){void 0===t&&(t=!1);var n=e;t||(n=this.addParentOverflow(e),this.sequenceMapping[n.keySequences.toString()]=n);var o=this._getUniqueKtp(n);if(t?this.persistedKeytips[o.uniqueID]=o:this.keytips[o.uniqueID]=o,this.inKeytipMode||!this.delayUpdatingKeytipChange){var i=t?a.f.PERSISTED_KEYTIP_ADDED:a.f.KEYTIP_ADDED;r.a.raise(this,i,{keytip:n,uniqueID:o.uniqueID})}return o.uniqueID},e.prototype.update=function(e,t){var n=this.addParentOverflow(e),o=this._getUniqueKtp(n,t),i=this.keytips[t];i&&(o.keytip.visible=i.keytip.visible,this.keytips[t]=o,delete this.sequenceMapping[i.keytip.keySequences.toString()],this.sequenceMapping[o.keytip.keySequences.toString()]=o.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||r.a.raise(this,a.f.KEYTIP_UPDATED,{keytip:o.keytip,uniqueID:o.uniqueID}))},e.prototype.unregister=function(e,t,n){void 0===n&&(n=!1),n?delete this.persistedKeytips[t]:delete this.keytips[t],!n&&delete this.sequenceMapping[e.keySequences.toString()];var o=n?a.f.PERSISTED_KEYTIP_REMOVED:a.f.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||r.a.raise(this,o,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){r.a.raise(this,a.f.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){r.a.raise(this,a.f.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){var e=this;return Object.keys(this.keytips).map(function(t){return e.keytips[t].keytip})},e.prototype.addParentOverflow=function(e){var t=Object(o.__spreadArrays)(e.keySequences);if(t.pop(),0!==t.length){var n=this.sequenceMapping[t.toString()];if(n&&n.overflowSetSequence)return Object(o.__assign)(Object(o.__assign)({},e),{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){r.a.raise(this,a.f.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=Object(i.a)()),{keytip:Object(o.__assign)({},e),uniqueID:t}},e._instance=new e,e}()},446:function(e,t,n){"use strict";n.d(t,"a",function(){return o});n(341);function o(e,t,n,o,r){}},447:function(e,t,n){"use strict";var o;n.d(t,"a",function(){return o}),function(e){e[e.Parent=0]="Parent",e[e.Self=1]="Self"}(o||(o={}))},448:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n(404),r=[o.a.lightBlue,o.a.blue,o.a.darkBlue,o.a.teal,o.a.green,o.a.darkGreen,o.a.lightPink,o.a.pink,o.a.magenta,o.a.purple,o.a.orange,o.a.lightRed,o.a.darkRed,o.a.violet,o.a.gold,o.a.burgundy,o.a.warmGray,o.a.cyan,o.a.rust,o.a.coolGray],i=r.length;function a(e){var t=e.primaryText,n=e.text,a=e.initialsColor;return"string"==typeof a?a:function(e){switch(e){case o.a.lightBlue:return"#4F6BED";case o.a.blue:return"#0078D4";case o.a.darkBlue:return"#004E8C";case o.a.teal:return"#038387";case o.a.lightGreen:case o.a.green:return"#498205";case o.a.darkGreen:return"#0B6A0B";case o.a.lightPink:return"#C239B3";case o.a.pink:return"#E3008C";case o.a.magenta:return"#881798";case o.a.purple:return"#5C2E91";case o.a.orange:return"#CA5010";case o.a.red:return"#EE1111";case o.a.lightRed:return"#D13438";case o.a.darkRed:return"#A4262C";case o.a.transparent:return"transparent";case o.a.violet:return"#8764B8";case o.a.gold:return"#986F0B";case o.a.burgundy:return"#750B1C";case o.a.warmGray:return"#7A7574";case o.a.cyan:return"#005B70";case o.a.rust:return"#8E562E";case o.a.coolGray:return"#69797E";case o.a.black:return"#1D1D1D";case o.a.gray:return"#393939"}}(a=void 0!==a?a:function(e){var t=o.a.blue;if(!e)return t;for(var n=0,a=e.length-1;a>=0;a--){var s=e.charCodeAt(a),c=a%8;n^=(s<<c)+(s>>8-c)}return t=r[n%i]}(n||t))}},449:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var o=n(1),r=n(12),i=n(409),a=n(524),s=n(499),c=n(342),u=n(339),l=n(407),d=n(415),p=n(343),m=function(){return{position:"absolute",width:1,right:31,top:8,bottom:8}};var h=Object(u.b)(function(e,t,n){var r=Object(l.a)(e),i=Object(d.a)(e),a={root:{minWidth:"80px",height:"32px"},label:{fontWeight:c.c.semibold}};return Object(c.h)(r,a,n?function(e){var t,n,r,i,a,s,u,l,d,h=e.palette,f=e.semanticColors;return{root:{backgroundColor:f.primaryButtonBackground,border:"1px solid "+f.primaryButtonBackground,color:f.primaryButtonText,selectors:(t={},t[c.d]=Object(o.__assign)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},Object(c.n)()),t["."+p.a+" &:focus"]={selectors:{":after":{border:"none",outlineColor:h.white}}},t)},rootHovered:{backgroundColor:f.primaryButtonBackgroundHovered,border:"1px solid "+f.primaryButtonBackgroundHovered,color:f.primaryButtonTextHovered,selectors:(n={},n[c.d]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},n)},rootPressed:{backgroundColor:f.primaryButtonBackgroundPressed,border:"1px solid "+f.primaryButtonBackgroundPressed,color:f.primaryButtonTextPressed,selectors:(r={},r[c.d]=Object(o.__assign)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},Object(c.n)()),r)},rootExpanded:{backgroundColor:f.primaryButtonBackgroundPressed,color:f.primaryButtonTextPressed},rootChecked:{backgroundColor:f.primaryButtonBackgroundPressed,color:f.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:f.primaryButtonBackgroundPressed,color:f.primaryButtonTextPressed},rootDisabled:{color:f.primaryButtonTextDisabled,backgroundColor:f.primaryButtonBackgroundDisabled,selectors:(i={},i[c.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},i)},splitButtonContainer:{selectors:(a={},a[c.d]={border:"none"},a)},splitButtonDivider:Object(o.__assign)(Object(o.__assign)({},m()),{backgroundColor:h.white,selectors:(s={},s[c.d]={backgroundColor:"Window"},s)}),splitButtonMenuButton:{backgroundColor:f.primaryButtonBackground,color:f.primaryButtonText,selectors:(u={},u[c.d]={backgroundColor:"WindowText"},u[":hover"]={backgroundColor:f.primaryButtonBackgroundHovered,selectors:(l={},l[c.d]={color:"Highlight"},l)},u)},splitButtonMenuButtonDisabled:{backgroundColor:f.primaryButtonBackgroundDisabled,selectors:{":hover":{backgroundColor:f.primaryButtonBackgroundDisabled}}},splitButtonMenuButtonChecked:{backgroundColor:f.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:f.primaryButtonBackgroundPressed}}},splitButtonMenuButtonExpanded:{backgroundColor:f.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:f.primaryButtonBackgroundPressed}}},splitButtonMenuIcon:{color:f.primaryButtonText},splitButtonMenuIconDisabled:{color:h.neutralTertiary,selectors:(d={},d[c.d]={color:"GrayText"},d)}}}(e):function(e){var t,n,r,i,a,s=e.semanticColors,u=e.palette,l=s.buttonBackground,d=s.buttonBackgroundPressed,p=s.buttonBackgroundHovered,h=s.buttonBackgroundDisabled,f=s.buttonText,b=s.buttonTextHovered,v=s.buttonTextDisabled,g=s.buttonTextChecked,_=s.buttonTextCheckedHovered;return{root:{backgroundColor:l,color:f},rootHovered:{backgroundColor:p,color:b,selectors:(t={},t[c.d]={borderColor:"Highlight",color:"Highlight"},t)},rootPressed:{backgroundColor:d,color:g},rootExpanded:{backgroundColor:d,color:g},rootChecked:{backgroundColor:d,color:g},rootCheckedHovered:{backgroundColor:d,color:_},rootDisabled:{color:v,backgroundColor:h,selectors:(n={},n[c.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},n)},splitButtonContainer:{selectors:(r={},r[c.d]={border:"none"},r)},splitButtonMenuButton:{color:u.white,backgroundColor:"transparent",selectors:{":hover":{backgroundColor:u.neutralLight,selectors:(i={},i[c.d]={color:"Highlight"},i)}}},splitButtonMenuButtonDisabled:{backgroundColor:s.buttonBackgroundDisabled,selectors:{":hover":{backgroundColor:s.buttonBackgroundDisabled}}},splitButtonDivider:Object(o.__assign)(Object(o.__assign)({},m()),{backgroundColor:u.neutralTertiaryAlt,selectors:(a={},a[c.d]={backgroundColor:"WindowText"},a)}),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:u.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:u.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:u.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:u.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:s.buttonText},splitButtonMenuIconDisabled:{color:s.buttonTextDisabled}}}(e),i,t)}),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,s=e.styles,c=e.theme;return r.createElement(i.a,Object(o.__assign)({},this.props,{variantClassName:n?"ms-Button--primary":"ms-Button--default",styles:h(c,s,n),onRenderDescription:a.a}))},t=Object(o.__decorate)([Object(s.a)("DefaultButton",["theme","styles"],!0)],t)}(r.Component)},484:function(e,t,n){"use strict";t.a=function(e){return void 0===e}},485:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var o=n(19),r=n(434),i=n(78),a=50,s=5,c=0,u=o.Stylesheet.getInstance();u&&u.onReset&&u.onReset(function(){return c++});var l="__retval__";function d(e){void 0===e&&(e={});var t=new Map,n=0,u=0,d=c;return function(p,h){var f;if(void 0===h&&(h={}),e.useStaticStyles&&"function"==typeof p&&p.__noStyleOverride__)return p(h);u++;var b=t,v=h.theme,g=v&&void 0!==v.rtl?v.rtl:Object(r.a)(),_=e.disableCaching;if(d!==c&&(d=c,t=new Map,n=0),e.disableCaching||(b=m(t,p),b=m(b,h)),!_&&b[l]||(b[l]=void 0===p?{}:Object(o.mergeCssSets)(["function"==typeof p?p(h):p],{rtl:!!g,specificityMultiplier:e.useStaticStyles?s:void 0}),_||n++),n>(e.cacheSize||a)){var y=Object(i.a)();(null===(f=null==y?void 0:y.FabricConfig)||void 0===f?void 0:f.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is "+n+"/"+u+"."),console.trace()),t.clear(),n=0,e.disableCaching=!0}return b[l]}}function p(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 m(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var n=0,o=t.__cachedInputs__;n<o.length;n++){e=p(e,o[n])}else e=p(e,t);else if("object"==typeof t)for(var r in t)t.hasOwnProperty(r)&&(e=p(e,t[r]));return e}},486:function(e,t,n){"use strict";n.d(t,"e",function(){return a}),n.d(t,"a",function(){return c}),n.d(t,"b",function(){return u}),n.d(t,"f",function(){return l}),n.d(t,"c",function(){return d}),n.d(t,"d",function(){return p});var o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},o=0,r=e;o<r.length;o++)for(var i=r[o],a=Array.isArray(i)?i:Object.keys(i),s=0,c=a;s<c.length;s++){var u=c[s];n[u]=1}return n},r=o(["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"]),i=o(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),a=o(i,r),s=(o(a,["form"]),o(a,["height","loop","muted","preload","src","width"])),c=(o(s,["poster"]),o(a,["start"]),o(a,["value"]),o(a,["download","href","hrefLang","media","rel","target","type"])),u=o(a,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),l=(o(u,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),o(u,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),o(u,["form","multiple","required"]),o(a,["selected","value"]),o(a,["cellPadding","cellSpacing"]),o(a,["rowSpan","scope"]),o(a,["colSpan","headers","rowSpan","scope"]),o(a,["span"]),o(a,["span"]),o(a,["acceptCharset","action","encType","encType","method","noValidate","target"]),o(a,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),o(a,["alt","crossOrigin","height","src","srcSet","useMap","width"])),d=a;function p(e,t,n){for(var o=Array.isArray(t),r={},i=0,a=Object.keys(e);i<a.length;i++){var s=a[i];!(!o&&t[s]||o&&t.indexOf(s)>=0||0===s.indexOf("data-")||0===s.indexOf("aria-"))||n&&-1!==(null==n?void 0:n.indexOf(s))||(r[s]=e[s])}return r}},487: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,r=e;o<r.length;o++){var i=r[o];if(i)if("string"==typeof i)n.push(i);else if(i.hasOwnProperty("toString")&&"function"==typeof i.toString)n.push(i.toString());else for(var a in i)i[a]&&n.push(a)}return n.join(" ")}n.d(t,"a",function(){return o})},488:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1),r=n(12);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=r.useCallback(function(t){n.current=t;for(var o=0,r=e;o<r.length;o++){var i=r[o];"function"==typeof i?i(t):i&&(i.current=t)}},Object(o.__spreadArrays)(e));return n}},489:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(436),r=function(e){return function(t){for(var n=0,o=e.refs;n<o.length;n++){var r=o[n];"function"==typeof r?r(t):r&&(r.current=t)}}},i=function(e){var t={refs:[]};return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.resolver&&Object(o.b)(t.refs,e)||(t.resolver=r(t)),t.refs=e,t.resolver}}},490:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(1);function r(e,t){for(var n=Object(o.__assign)({},t),r=0,i=Object.keys(e);r<i.length;r++){var a=i[r];void 0===n[a]&&(n[a]=e[a])}return n}},491:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"b",function(){return a});var o=n(12),r=o.createContext({window:"object"==typeof window?window:void 0}),i=function(){return o.useContext(r).window},a=function(){var e;return null===(e=o.useContext(r).window)||void 0===e?void 0:e.document}},492:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(493),r=n(12);function i(e,t,n,i){var a=r.useRef(n);a.current=n,r.useEffect(function(){var n=e&&"current"in e?e.current:e;if(n)return Object(o.a)(n,t,function(e){return a.current(e)},i)},[e,t,i])}},493: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})},494:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(424);function r(e,t,n){void 0===n&&(n=!0);var r=!1;if(e&&t)if(n)if(e===t)r=!0;else for(r=!1;t;){var i=Object(o.a)(t);if(i===e){r=!0;break}t=i}else e.contains&&(r=e.contains(t));return r}},495:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var o=n(78),r=n(19),i="__currentId__",a="id__",s=Object(o.a)()||{};void 0===s[i]&&(s[i]=0);var c=!1;function u(e){if(!c){var t=r.Stylesheet.getInstance();t&&t.onReset&&t.onReset(l),c=!0}var n=s[i]++;return(void 0===e?a:e)+n}function l(e){void 0===e&&(e=0),s[i]=e}},496:function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return u});var o,r=n(246),i=n(19),a=n(78),s=(Object(i.mergeStyles)({overflow:"hidden !important"}),"data-is-scrollable");function c(){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 u(e){for(var t=e,n=Object(r.a)(e);t&&t!==n.body;){if("true"===t.getAttribute(s))return t;t=t.parentElement}for(t=e;t&&t!==n.body;){if("false"!==t.getAttribute(s)){var o=getComputedStyle(t),i=o?o.getPropertyValue("overflow-y"):"";if(i&&("scroll"===i||"auto"===i))return t}t=t.parentElement}return t&&t!==n.body||(t=Object(a.a)(e)),t}},497:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n(442),r=n(12),i=n(420);function a(){var e=Object(i.a)(function(){return new o.a});return r.useEffect(function(){return function(){return e.dispose()}},[e]),e}},498:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(419),r=n(444);function i(e,t){var n=Object(o.a)(e,function(e){return t===e||e.hasAttribute(r.a)});return null!==n&&n.hasAttribute(r.a)}},499:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var o=n(1),r=n(12),i=n(340),a=n(439),s=n(413),c=n(19);function u(e,t,n){return function(u){var l,d=((l=function(a){function l(e){var t=a.call(this,e)||this;return t._styleCache={},t._onSettingChanged=t._onSettingChanged.bind(t),t}return Object(o.__extends)(l,a),l.prototype.componentDidMount=function(){i.a.observe(this._onSettingChanged)},l.prototype.componentWillUnmount=function(){i.a.unobserve(this._onSettingChanged)},l.prototype.render=function(){var a=this;return r.createElement(s.a.Consumer,null,function(s){var l=i.a.getSettings(t,e,s.customizations),d=a.props;if(l.styles&&"function"==typeof l.styles&&(l.styles=l.styles(Object(o.__assign)(Object(o.__assign)({},l),d))),n&&l.styles){if(a._styleCache.default!==l.styles||a._styleCache.component!==d.styles){var p=Object(c.concatStyleSets)(l.styles,d.styles);a._styleCache.default=l.styles,a._styleCache.component=d.styles,a._styleCache.merged=p}return r.createElement(u,Object(o.__assign)({},l,d,{styles:a._styleCache.merged}))}return r.createElement(u,Object(o.__assign)({},l,d))})},l.prototype._onSettingChanged=function(){this.forceUpdate()},l}(r.Component)).displayName="Customized"+e,l);return Object(a.a)(u,d)}}},501:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o=n(1),r=n(12),i=n(524),a=n(499),s=n(449),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.render=function(){return r.createElement(s.a,Object(o.__assign)({},this.props,{primary:!0,onRenderDescription:i.a}))},t=Object(o.__decorate)([Object(a.a)("PrimaryButton",["theme","styles"],!0)],t)}(r.Component)},502:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o=/[\(\[\{\<][^\)\]\}\>]*[\)\]\}\>]/g,r=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,i=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,a=/\s+/g,s=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function c(e,t,n){return e?(e=function(e){return e=(e=(e=(e=e.replace(o,"")).replace(r,"")).replace(a," ")).trim()}(e),s.test(e)||!n&&i.test(e)?"":function(e,t){var n="",o=e.split(" ");return 2===o.length?(n+=o[0].charAt(0).toUpperCase(),n+=o[1].charAt(0).toUpperCase()):3===o.length?(n+=o[0].charAt(0).toUpperCase(),n+=o[2].charAt(0).toUpperCase()):0!==o.length&&(n+=o[0].charAt(0).toUpperCase()),t&&n.length>1?n.charAt(1)+n.charAt(0):n}(e,t)):""}},503:function(e,t,n){"use strict";var o=n(41);t.a=function(e){return Object(o.a)(e).toLowerCase()}},504:function(e,t,n){"use strict";var o=n(113),r=n(100),i=n(45);t.a=function(e,t,n){var a=null==e?0:e.length;return a?(n&&"number"!=typeof n&&Object(r.a)(e,t,n)?(t=0,n=a):(t=null==t?0:Object(i.a)(t),n=void 0===n?a:Object(i.a)(n)),Object(o.a)(e,t,n)):[]}},505:function(e,t,n){"use strict";var o=n(273),r=n(274),i=n(45),a=9007199254740991,s=4294967295,c=Math.min;t.a=function(e,t){if((e=Object(i.a)(e))<1||e>a)return[];var n=s,u=c(e,s);t=Object(r.a)(t),e-=s;for(var l=Object(o.a)(u,t);++n<e;)t(n);return l}},506:function(e,t,n){"use strict";var o=Array.prototype.reverse;t.a=function(e){return null==e?e:o.call(e)}},509:function(e,t,n){"use strict";n.d(t,"a",function(){return Qe});var o,r,i=n(1),a=n(12),s=n(520),c=n(401),u=n(522),l=n(494),d=n(493),p=n(490),m=n(486),h=n(487),f=n(438);!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"}(r||(r={}));var b,v=n(434),g=n(496),_=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:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!1,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}();function y(e,t,n){return{targetEdge:e,alignmentEdge:t,isAuto:n}}var C=((b={})[c.a.topLeftEdge]=y(o.top,o.left),b[c.a.topCenter]=y(o.top),b[c.a.topRightEdge]=y(o.top,o.right),b[c.a.topAutoEdge]=y(o.top,void 0,!0),b[c.a.bottomLeftEdge]=y(o.bottom,o.left),b[c.a.bottomCenter]=y(o.bottom),b[c.a.bottomRightEdge]=y(o.bottom,o.right),b[c.a.bottomAutoEdge]=y(o.bottom,void 0,!0),b[c.a.leftTopEdge]=y(o.left,o.top),b[c.a.leftCenter]=y(o.left),b[c.a.leftBottomEdge]=y(o.left,o.bottom),b[c.a.rightTopEdge]=y(o.right,o.top),b[c.a.rightCenter]=y(o.right),b[c.a.rightBottomEdge]=y(o.right,o.bottom),b);function O(e,t){return!(e.top<t.top)&&(!(e.bottom>t.bottom)&&(!(e.left<t.left)&&!(e.right>t.right)))}function x(e,t){var n=[];return e.top<t.top&&n.push(o.top),e.bottom>t.bottom&&n.push(o.bottom),e.left<t.left&&n.push(o.left),e.right>t.right&&n.push(o.right),n}function E(e,t){return e[o[t]]}function k(e,t,n){return e[o[t]]=n,e}function w(e,t){var n=N(t);return(E(e,n.positiveEdge)+E(e,n.negativeEdge))/2}function j(e,t){return e>0?t:-1*t}function I(e,t){return j(e,E(t,e))}function M(e,t,n){return j(n,E(e,n)-E(t,n))}function S(e,t,n){var o=E(e,t)-n;return e=k(e,t,n),e=k(e,-1*t,E(e,-1*t)-o)}function T(e,t,n,o){return void 0===o&&(o=0),S(e,n,E(t,n)+j(n,o))}function D(e,t,n){return I(n,e)>I(n,t)}function P(e,t,n,r,i,a,s){void 0===i&&(i=0);var c=r.alignmentEdge,u=r.alignTargetEdge,l={elementRectangle:e,targetEdge:r.targetEdge,alignmentEdge:c};a||s||(l=function(e,t,n,r,i){void 0===i&&(i=0);var a=[o.left,o.right,o.bottom,o.top];Object(v.a)()&&(a[0]*=-1,a[1]*=-1);for(var s=e,c=r.targetEdge,u=r.alignmentEdge,l=0;l<4;l++){if(D(s,n,c))return{elementRectangle:s,targetEdge:c,alignmentEdge:u};a.splice(a.indexOf(c),1),a.length>0&&(a.indexOf(-1*c)>-1?c*=-1:(u=c,c=a.slice(-1)[0]),s=R(e,t,{targetEdge:c,alignmentEdge:u},i))}return{elementRectangle:e,targetEdge:r.targetEdge,alignmentEdge:r.alignmentEdge}}(e,t,n,r,i));var d=x(e,n);if(u){if(l.alignmentEdge&&d.indexOf(-1*l.alignmentEdge)>-1){var p=function(e,t,n,o){var r=e.alignmentEdge,i=e.targetEdge,a=-1*r;return{elementRectangle:R(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},n,o),targetEdge:i,alignmentEdge:a}}(l,t,i,s);if(O(p.elementRectangle,n))return p;l=z(x(p.elementRectangle,n),l,n)}}else l=z(d,l,n);return l}function z(e,t,n){for(var o=0,r=e;o<r.length;o++){var i=r[o];t.elementRectangle=T(t.elementRectangle,n,i)}return t}function B(e,t,n){var o=N(t).positiveEdge;return S(e,o,n-(w(e,t)-E(e,o)))}function R(e,t,n,o,r){var i;void 0===o&&(o=0);var a=n.alignmentEdge,s=n.targetEdge,c=r?s:-1*s;(i=r?T(e,t,s,o):function(e,t,n,o){void 0===o&&(o=0);var r=j(-1*n,o);return S(e,-1*n,E(t,n)+r)}(e,t,s,o),a)?i=T(i,t,a):i=B(i,c,w(t,s));return i}function N(e){return e===o.top||e===o.bottom?{positiveEdge:o.left,negativeEdge:o.right}:{positiveEdge:o.top,negativeEdge:o.bottom}}function F(e,t,n){return n&&Math.abs(M(e,n,t))>Math.abs(M(e,n,-1*t))?-1*t:t}function A(e){return Math.sqrt(e*e*2)}function L(e,t,n){if(void 0===e&&(e=c.a.bottomAutoEdge),n)return{alignmentEdge:n.alignmentEdge,isAuto:n.isAuto,targetEdge:n.targetEdge};var o=Object(i.__assign)({},C[e]);return Object(v.a)()?(o.alignmentEdge&&o.alignmentEdge%2==0&&(o.alignmentEdge=-1*o.alignmentEdge),void 0!==t?C[t]:o):o}function W(e,t,n){var o=w(t,e),r=w(n,e),i=N(e),a=i.positiveEdge,s=i.negativeEdge;return o<=r?a:s}function H(e,t,n,o,r,i,a){var s=R(e,t,o,r,a);return O(s,n)?{elementRectangle:s,targetEdge:o.targetEdge,alignmentEdge:o.alignmentEdge}:P(e,t,n,o,r,i,a)}function K(e,t,n){var r=-1*e.targetEdge,a=new _(0,e.elementRectangle.width,0,e.elementRectangle.height),s={},c=F(e.elementRectangle,e.alignmentEdge?e.alignmentEdge:N(r).positiveEdge,n);return s[o[r]]=E(t,r),s[o[c]]=M(t,a,c),{elementPosition:Object(i.__assign)({},s),closestEdge:W(e.targetEdge,t,a),targetEdge:r}}function U(e,t){var n=t.targetRectangle,o=N(t.targetEdge),r=o.positiveEdge,i=o.negativeEdge,a=w(n,t.targetEdge),s=new _(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),c=new _(0,e,0,e);return D(c=B(c=S(c,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-I(r,t.elementRectangle)),s,r)?D(c,s,i)||(c=T(c,s,i)):c=T(c,s,r),c}function G(e){var t=e.getBoundingClientRect();return new _(t.left,t.right,t.top,t.bottom)}function q(e){return new _(e.left,e.right,e.top,e.bottom)}function V(e,t,n,r,i){var a=0,s=C[t],c=i?-1*s.targetEdge:s.targetEdge;return(a=c===o.top?E(e,s.targetEdge)-r.top-n:c===o.bottom?r.bottom-E(e,s.targetEdge)-n:r.bottom-e.top-n)>0?a:r.height}function Z(e,t,n,r){var a=e.gapSpace?e.gapSpace:0,s=function(e,t){var n;if(t){if(t.preventDefault){var r=t;n=new _(r.clientX,r.clientX,r.clientY,r.clientY)}else if(t.getBoundingClientRect)n=G(t);else{var i=t,a=i.left||i.x,s=i.top||i.y,c=i.right||a,u=i.bottom||s;n=new _(a,c,s,u)}if(!O(n,e))for(var l=0,d=x(n,e);l<d.length;l++){var p=d[l];n[o[p]]=e[o[p]]}}else n=new _(0,0,0,0);return n}(n,e.target),c=function(e,t,n,o,r){return e.isAuto&&(e.alignmentEdge=W(e.targetEdge,t,n)),e.alignTargetEdge=r,e}(L(e.directionalHint,e.directionalHintForRTL,r),s,n,e.coverTarget,e.alignTargetEdge),u=H(G(t),s,n,c,a,e.directionalHintFixed,e.coverTarget);return Object(i.__assign)(Object(i.__assign)({},u),{targetRectangle:s})}function Y(e,t,n,r,i){return{elementPosition:function(e,t,n,r,i,a,s){var c={},u=G(t),l=a?n:-1*n,d=o[l],p=i||N(n).positiveEdge;return s||(p=F(e,p,r)),c[d]=M(e,u,l),c[o[p]]=M(e,u,p),c}(e.elementRectangle,t,e.targetEdge,n,e.alignmentEdge,r,i),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}function X(e,t,n,o,r){var a=e.isBeakVisible&&e.beakWidth||0,s=A(a)/2+(e.gapSpace?e.gapSpace:0),c=e;c.gapSpace=s;var u=e.bounds?q(e.bounds):new _(0,window.innerWidth-Object(g.b)(),0,window.innerHeight),l=Z(c,n,u,o),d=K(l,U(a,l),u);return Object(i.__assign)(Object(i.__assign)({},Y(l,t,u,e.coverTarget,r)),{beakPosition:d})}function Q(e,t,n,o){return function(e,t,n,o){return X(e,t,n,o,!0)}(e,t,n,o)}var $=n(78),J=n(246),ee=n(417),te=n(497),ne=n(492),oe=n(488),re=n(491);function ie(e){var t=e.originalElement,n=e.containsFocus;t&&n&&t!==Object($.a)()&&setTimeout(function(){var e;null===(e=t.focus)||void 0===e||e.call(t)},0)}var ae,se=a.forwardRef(function(e,t){e=Object(i.__assign)({shouldRestoreFocus:!0},e);var n=a.useRef(),o=Object(oe.a)(n,t);!function(e){var t=e["aria-modal"];a.useEffect(function(){var e=Object(J.a)();if(t&&e){for(var n=e.body.children,o=[],r=0;r<n.length-1;r++)o.push(n[r]);return(o=o.filter(function(e){return"TEMPLATE"!==e.tagName&&"SCRIPT"!==e.tagName&&"STYLE"!==e.tagName&&!e.hasAttribute("aria-hidden")})).forEach(function(e){return e.setAttribute("aria-hidden","true")}),function(){return o.forEach(function(e){return e.removeAttribute("aria-hidden")})}}},[t])}(e),function(e,t){var n=e.onRestoreFocus,o=void 0===n?ie:n,r=a.useRef(),i=a.useRef(!1);a.useEffect(function(){return r.current=Object(J.a)().activeElement,Object(u.a)(t.current)&&(i.current=!0),function(){var e;null==o||o({originalElement:r.current,containsFocus:i.current,documentContainsFocus:(null===(e=Object(J.a)())||void 0===e?void 0:e.hasFocus())||!1}),r.current=void 0}},[]),Object(ne.a)(t,"focus",a.useCallback(function(){i.current=!0},[]),!0),Object(ne.a)(t,"blur",a.useCallback(function(e){t.current&&e.relatedTarget&&!t.current.contains(e.relatedTarget)&&(i.current=!1)},[]),!0)}(e,n);var r=e.role,s=e.className,c=e.ariaLabel,l=e.ariaLabelledBy,d=e.ariaDescribedBy,p=e.style,h=e.children,f=e.onDismiss,b=function(e,t){var n=Object(te.a)(),o=a.useState(!1),r=o[0],i=o[1];return a.useEffect(function(){return n.requestAnimationFrame(function(){var n;if(!e.style||!e.style.overflowY){var o=!1;if(t&&t.current&&(null===(n=t.current)||void 0===n?void 0:n.firstElementChild)){var a=t.current.clientHeight,s=t.current.firstElementChild.clientHeight;a>0&&s>a&&(o=s-a>1)}r!==o&&i(o)}}),function(){return n.dispose()}}),r}(e,n),v=a.useCallback(function(e){switch(e.which){case ee.a.escape:f&&(f(e),e.preventDefault(),e.stopPropagation())}},[f]),g=Object(re.c)();return Object(ne.a)(g,"keydown",v),a.createElement("div",Object(i.__assign)({ref:o},Object(m.d)(e,m.c),{className:s,role:r,"aria-label":c,"aria-labelledby":l,"aria-describedby":d,onKeyDown:v,style:Object(i.__assign)({overflowY:b?"scroll":void 0,outline:"none"},p)}),h)}),ce=n(485),ue=n(342),le=n(420),de=n(526),pe=((ae={})[o.top]=ue.a.slideUpIn10,ae[o.bottom]=ue.a.slideDownIn10,ae[o.left]=ue.a.slideLeftIn10,ae[o.right]=ue.a.slideRightIn10,ae),me={top:0,left:0},he={opacity:0,filter:"opacity(0)",pointerEvents:"none"},fe=["role","aria-roledescription"],be={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:c.a.bottomAutoEdge},ve=Object(ce.a)({disableCaching:!0});function ge(e,t,n){var o=e.beakWidth,r=e.coverTarget,i=e.directionalHint,s=e.directionalHintFixed,c=e.gapSpace,u=e.isBeakVisible,l=e.hidden,d=a.useState(),p=d[0],m=d[1],h=Object(te.a)(),f=t.current;return a.useEffect(function(){var e;if(p||l)l&&m(void 0);else if(s&&f){var a=(null!=c?c:0)+(u&&o?o:0);h.requestAnimationFrame(function(){t.current&&m(function(e,t,n,o,r){void 0===n&&(n=0);var i=e,a=e,s=e,c=o?q(o):new _(0,window.innerWidth-Object(g.b)(),0,window.innerHeight),u=s.left||s.x,l=s.top||s.y,d=s.right||u,p=s.bottom||l;return V(i.stopPropagation?new _(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==u&&void 0!==l?new _(u,d,l,p):G(a),t,n,c,r)}(t.current,i,a,n(),r))})}else m(null===(e=n())||void 0===e?void 0:e.height)},[t,f,c,o,n,l,h,r,i,s,u,p]),p}function _e(e,t,n,o,r){var s=a.useState(),c=s[0],u=s[1],l=a.useRef(0),d=Object(te.a)(),p=e.hidden,m=e.target,h=e.finalHeight,f=e.onPositioned,b=e.directionalHint;return a.useEffect(function(){if(!p){var a=d.requestAnimationFrame(function(){var a,s,d=!!m;if(t.current&&n.current&&(!d||o.current)){var p=Object(i.__assign)(Object(i.__assign)({},e),{target:o.current,bounds:r()}),b=h?Q(p,t.current,n.current,c):function(e,t,n,o){return X(e,t,n,o)}(p,t.current,n.current,c);!c&&b||c&&b&&(s=b,!Oe((a=c).elementPosition,s.elementPosition)||!Oe(a.beakPosition.elementPosition,s.beakPosition.elementPosition))&&l.current<5?(l.current++,u(b)):l.current>0&&(l.current=0,null==f||f(c))}},n.current);return function(){return d.cancelAnimationFrame(a)}}},[p,b,d,n,t,o,h,r,f,c,e,m]),c}var ye=a.memo(a.forwardRef(function(e,t){var n=Object(p.a)(be,e),o=n.styles,r=n.style,s=n.ariaLabel,c=n.ariaDescribedBy,f=n.ariaLabelledBy,b=n.className,v=n.isBeakVisible,g=n.children,_=n.beakWidth,y=n.calloutWidth,C=n.calloutMaxWidth,O=n.calloutMinWidth,x=n.doNotLayer,E=n.finalHeight,k=n.hideOverflow,w=void 0===k?!!E:k,j=n.backgroundColor,I=n.calloutMaxHeight,M=n.onScroll,S=n.shouldRestoreFocus,T=void 0===S||S,D=n.target,P=n.hidden,z=n.onLayerMounted,B=a.useRef(null),R=a.useRef(null),N=Object(oe.a)(B,t),F=Object(de.a)(n.target,R),A=F[0],L=F[1],W=function(e,t,n){var o=e.bounds,r=e.minPagePadding,i=void 0===r?be.minPagePadding:r,s=e.target,c=a.useRef();return a.useCallback(function(){if(!c.current){var e="function"==typeof o?n?o(s,n):void 0:o;!e&&n&&(e={top:(e=function(e,t){return function(e,t){var n=void 0;if(t.getWindowSegments&&(n=t.getWindowSegments()),void 0===n||n.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var o=0,r=0;if(null!==e&&e.getBoundingClientRect){var i=e.getBoundingClientRect();o=(i.left+i.right)/2,r=(i.top+i.bottom)/2}else null!==e&&(o=e.left||e.x,r=e.top||e.y);for(var a={top:0,left:0,right:0,bottom:0,width:0,height:0},s=0,c=n;s<c.length;s++){var u=c[s];o&&u.left<=o&&u.right>=o&&r&&u.top<=r&&u.bottom>=r&&(a={top:u.top,left:u.left,right:u.right,bottom:u.bottom,width:u.width,height:u.height})}return a}(e,t)}(t.current,n)).top+i,left:e.left+i,right:e.right-i,bottom:e.bottom-i,width:e.width-2*i,height:e.height-2*i}),c.current=e}return c.current},[o,i,s,t,n])}(n,A,L),H=ge(n,A,W),K=function(e,t){var n=e.finalHeight,o=e.hidden,r=a.useState(0),i=r[0],s=r[1],c=Object(te.a)(),u=a.useRef(),l=a.useCallback(function(){t.current&&n&&(u.current=c.requestAnimationFrame(function(){var e,o=null===(e=t.current)||void 0===e?void 0:e.lastChild;if(o){var r=o.scrollHeight-o.offsetHeight;s(function(e){return e+r}),o.offsetHeight<n?l():c.cancelAnimationFrame(u.current,t.current)}},t.current))},[c,t,n]);return a.useEffect(function(){o||l()},[n,o,l]),i}(n,R),U=_e(n,B,R,A,W),G=function(e,t,n,o,r){var i=e.hidden,s=e.onDismiss,c=e.preventDismissOnScroll,u=e.preventDismissOnResize,p=e.preventDismissOnLostFocus,m=e.dismissOnTargetClick,h=e.shouldDismissOnWindowFocus,f=e.preventDismissOnEvent,b=a.useRef(!1),v=Object(te.a)(),g=Object(le.a)([function(){b.current=!0},function(){b.current=!1}]),_=!!t;return a.useEffect(function(){var e=function(e){_&&!c&&g(e)},t=function(e){u||null==s||s(e)},a=function(e){p||g(e)},g=function(e){var t=e.target,i=n.current&&!Object(l.a)(n.current,t);i&&b.current?b.current=!1:(!o.current&&i||e.target!==r&&i&&(!o.current||"stopPropagation"in o.current||m||t!==o.current&&!Object(l.a)(o.current,t)))&&(null==s||s(e))},y=function(e){h&&((!f||f(e))&&(f||p)||(null==r?void 0:r.document.hasFocus())||null!==e.relatedTarget||null==s||s(e))},C=new Promise(function(n){v.setTimeout(function(){if(!i&&r){var o=[Object(d.a)(r,"scroll",e,!0),Object(d.a)(r,"resize",t,!0),Object(d.a)(r.document.documentElement,"focus",a,!0),Object(d.a)(r.document.documentElement,"click",a,!0),Object(d.a)(r,"blur",y,!0)];n(function(){o.forEach(function(e){return e()})})}},0)});return function(){C.then(function(e){return e()})}},[i,v,n,o,r,s,h,m,p,u,c,_,f]),g}(n,U,B,A,L),q=G[0],V=G[1];if(function(e,t,n){var o=e.hidden,r=e.setInitialFocus,i=Object(te.a)(),s=!!t;a.useEffect(function(){if(!o&&r&&s&&n.current){var e=i.requestAnimationFrame(function(){return Object(u.b)(n.current)},n.current);return function(){return i.cancelAnimationFrame(e)}}},[o,s,i,n,r])}(n,U,R),a.useEffect(function(){P||null==z||z()},[P]),!L)return null;var Z=I||(H?H+K:void 0),Y=w,X=v&&!!D,Q=ve(o,{theme:n.theme,className:b,overflowYHidden:Y,calloutWidth:y,positions:U,beakWidth:_,backgroundColor:j,calloutMaxWidth:C,calloutMinWidth:O,doNotLayer:x}),$=Object(i.__assign)(Object(i.__assign)({maxHeight:Z},r),Y&&{overflowY:"hidden"}),J=n.hidden?{visibility:"hidden"}:void 0;return a.createElement("div",{ref:N,className:Q.container,style:J},a.createElement("div",Object(i.__assign)({},Object(m.d)(n,m.c,fe),{className:Object(h.a)(Q.root,U&&U.targetEdge&&pe[U.targetEdge]),style:U?U.elementPosition:he,tabIndex:-1,ref:R}),X&&a.createElement("div",{className:Q.beak,style:Ce(U)}),X&&a.createElement("div",{className:Q.beakCurtain}),a.createElement(se,Object(i.__assign)({},Object(m.d)(n,fe),{ariaDescribedBy:c,ariaLabel:s,ariaLabelledBy:f,className:Q.calloutMain,onDismiss:n.onDismiss,onMouseDown:q,onMouseUp:V,onRestoreFocus:n.onRestoreFocus,onScroll:M,shouldRestoreFocus:T,style:$}),g)))}),function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||Object(f.b)(e,t)});function Ce(e){var t,n=Object(i.__assign)({},null===(t=null==e?void 0:e.beakPosition)||void 0===t?void 0:t.elementPosition);return n.top||n.bottom||n.left||n.right||(n.left=me.left,n.top=me.top),n}function Oe(e,t){for(var n in t)if(t.hasOwnProperty(n)){var o=e[n],r=t[n];if(void 0===o||void 0===r)return!1;if(o.toFixed(2)!==r.toFixed(2))return!1}return!0}function xe(e){return{height:e,width:e}}ye.displayName="CalloutContentBase";var Ee={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},ke=Object(s.a)(ye,function(e){var t,n=e.theme,o=e.className,r=e.overflowYHidden,i=e.calloutWidth,a=e.beakWidth,s=e.backgroundColor,c=e.calloutMaxWidth,u=e.calloutMinWidth,l=e.doNotLayer,d=Object(ue.m)(Ee,n),p=n.semanticColors,m=n.effects;return{container:[d.container,{position:"relative"}],root:[d.root,n.fonts.medium,{position:"absolute",zIndex:l?ue.g.Layer:void 0,boxSizing:"border-box",borderRadius:m.roundedCorner2,boxShadow:m.elevation16,selectors:(t={},t[ue.d]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},Object(ue.k)(),o,!!i&&{width:i},!!c&&{maxWidth:c},!!u&&{minWidth:u}],beak:[d.beak,{position:"absolute",backgroundColor:p.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},xe(a),s&&{backgroundColor:s}],beakCurtain:[d.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:p.menuBackground,borderRadius:m.roundedCorner2}],calloutMain:[d.calloutMain,{backgroundColor:p.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",borderRadius:m.roundedCorner2},r&&{overflowY:"hidden"},s&&{backgroundColor:s}]}},void 0,{scope:"CalloutContent"}),we=n(346),je=n(339),Ie=n(523),Me=n(340),Se=n(413);function Te(e,t){return void 0===e&&(e={}),(Pe(t)?t:function(e){return function(t){return e?Object(i.__assign)(Object(i.__assign)({},t),e):t}}(t))(e)}function De(e,t){return void 0===e&&(e={}),(Pe(t)?t:function(e){void 0===e&&(e={});return function(t){var n=Object(i.__assign)({},t);for(var o in e)e.hasOwnProperty(o)&&(n[o]=Object(i.__assign)(Object(i.__assign)({},t[o]),e[o]));return n}}(t))(e)}function Pe(e){return"function"==typeof e}var ze=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return Object(i.__extends)(t,e),t.prototype.componentDidMount=function(){Me.a.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){Me.a.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return a.createElement(Se.a.Consumer,null,function(n){var o=function(e,t){var n=(t||{}).customizations,o=void 0===n?{settings:{},scopedSettings:{}}:n;return{customizations:{settings:Te(o.settings,e.settings),scopedSettings:De(o.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}(e.props,n);return t&&(o=t(o)),a.createElement(Se.a.Provider,{value:o},e.props.children)})},t}(a.Component),Be=Object(ce.a)(),Re=Object(je.b)(function(e,t){return Object(ue.j)(Object(i.__assign)(Object(i.__assign)({},e),{rtl:t}))}),Ne=function(e){var t=e.theme,n=e.dir,o=Object(v.a)(t)?"rtl":"ltr",r=Object(v.a)()?"rtl":"ltr",i=n||o;return{rootDir:i!==o||i!==r?i:n,needsTheme:i!==o}},Fe=a.forwardRef(function(e,t){var n=e.className,o=e.theme,r=e.applyTheme,s=e.applyThemeToBody,c=e.styles,u=Be(c,{theme:o,applyTheme:r,className:n}),l=a.useRef(null);return function(e,t,n){var o=t.bodyThemed;a.useEffect(function(){if(e){var t=Object(J.a)(n.current);if(t)return t.body.classList.add(o),function(){t.body.classList.remove(o)}}},[o,e,n])}(s,u,l),Object(Ie.b)(l),a.createElement(a.Fragment,null,function(e,t,n,o){var r=t.root,s=e.as,c=void 0===s?"div":s,u=e.dir,l=e.theme,d=Object(m.d)(e,m.c,["dir"]),p=Ne(e),h=p.rootDir,f=p.needsTheme,b=a.createElement(c,Object(i.__assign)({dir:h},d,{className:r,ref:Object(oe.a)(n,o)}));f&&(b=a.createElement(ze,{settings:{theme:Re(l,"rtl"===u)}},b));return b}(e,u,l,t))});Fe.displayName="FabricBase";var Ae={fontFamily:"inherit"},Le={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},We=Object(s.a)(Fe,function(e){var t=e.theme,n=e.className,o=e.applyTheme;return{root:[Object(ue.m)(Le,t).root,t.fonts.medium,{color:t.palette.neutralPrimary,selectors:{"& button":Ae,"& input":Ae,"& textarea":Ae}},o&&{color:t.semanticColors.bodyText,backgroundColor:t.semanticColors.bodyBackground},n],bodyThemed:[{backgroundColor:t.semanticColors.bodyBackground}]}},void 0,{scope:"Fabric"}),He=n(444);var Ke,Ue={};var Ge,qe=Object(ce.a)(),Ve=a.forwardRef(function(e,t){var n=a.useState(),o=n[0],r=n[1],s=a.useRef(o);s.current=o;var c=a.useRef(null),u=Object(oe.a)(c,t),l=Object(re.b)(),d=e.eventBubblingEnabled,p=e.styles,m=e.theme,h=e.className,f=e.children,b=e.hostId,v=e.onLayerDidMount,g=void 0===v?function(){}:v,_=e.onLayerMounted,y=void 0===_?function(){}:_,C=e.onLayerWillUnmount,O=e.insertFirst,x=qe(p,{theme:m,className:h,isNotHost:!b}),E=function(){if(l){if(b)return l.getElementById(b);var e=Ke;return e?l.querySelector(e):l.body}},k=function(){null==C||C();var e=s.current;if(e&&e.parentNode){var t=e.parentNode;t&&t.removeChild(e)}},w=function(){var e=E();if(l&&e){k();var t=l.createElement("div");t.className=x.root,Object(He.b)(t),function(e,t){var n=e,o=t;n._virtual||(n._virtual={children:[]});var r=n._virtual.parent;if(r&&r!==t){var i=r._virtual.children.indexOf(n);i>-1&&r._virtual.children.splice(i,1)}n._virtual.parent=o||void 0,o&&(o._virtual||(o._virtual={children:[]}),o._virtual.children.push(n))}(t,c.current),O?e.insertBefore(t,e.firstChild):e.appendChild(t),r(t),null==y||y(),null==g||g()}};return a.useLayoutEffect(function(){return w(),b&&function(e,t){Ue[e]||(Ue[e]=[]),Ue[e].push(t)}(b,w),function(){k(),b&&function(e,t){if(Ue[e]){var n=Ue[e].indexOf(t);n>=0&&(Ue[e].splice(n,1),0===Ue[e].length&&delete Ue[e])}}(b,w)}},[b]),a.createElement("span",{className:"ms-layer",ref:u},o&&we.createPortal(a.createElement(We,Object(i.__assign)({},!d&&function(){Ge||(Ge={},["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","onTouchMove","onTouchStart","onTouchCancel","onTouchEnd","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit"].forEach(function(e){return Ge[e]=Ze}));return Ge}(),{className:x.content}),f),o))});Ve.displayName="LayerBase";var Ze=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()};var Ye={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},Xe=Object(s.a)(Ve,function(e){var t=e.className,n=e.isNotHost,o=e.theme,r=Object(ue.m)(Ye,o);return{root:[r.root,o.fonts.medium,n&&[r.rootNoHost,{position:"fixed",zIndex:ue.g.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[r.content,{visibility:"visible"}]}},void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),Qe=a.forwardRef(function(e,t){var n=e.layerProps,o=e.doNotLayer,r=Object(i.__rest)(e,["layerProps","doNotLayer"]),s=a.createElement(ke,Object(i.__assign)({},r,{doNotLayer:o,ref:t}));return o?s:a.createElement(Xe,Object(i.__assign)({},n),s)});Qe.displayName="Callout"},510:function(e,t,n){"use strict";n.d(t,"a",function(){return B});var o=n(520),r=n(1),i=n(342),a=n(339),s=n(434),c={root:"ms-Shimmer-container",shimmerWrapper:"ms-Shimmer-shimmerWrapper",shimmerGradient:"ms-Shimmer-shimmerGradient",dataWrapper:"ms-Shimmer-dataWrapper"},u="100%",l=Object(a.b)(function(){return Object(i.s)({"0%":{transform:"translateX(-"+u+")"},"100%":{transform:"translateX("+u+")"}})}),d=Object(a.b)(function(){return Object(i.s)({"100%":{transform:"translateX(-"+u+")"},"0%":{transform:"translateX("+u+")"}})});var p,m,h=n(12),f=n(485),b=n(486),v=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isRendered:!1},n}return Object(r.__extends)(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout(function(){e.setState({isRendered:!0})},t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?h.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(h.Component);!function(e){e[e.line=1]="line",e[e.circle=2]="circle",e[e.gap=3]="gap"}(p||(p={})),function(e){e[e.line=16]="line",e[e.gap=16]="gap",e[e.circle=24]="circle"}(m||(m={}));var g=Object(f.a)(),_={root:"ms-ShimmerLine-root",topLeftCorner:"ms-ShimmerLine-topLeftCorner",topRightCorner:"ms-ShimmerLine-topRightCorner",bottomLeftCorner:"ms-ShimmerLine-bottomLeftCorner",bottomRightCorner:"ms-ShimmerLine-bottomRightCorner"};var y=Object(o.a)(function(e){var t=e.height,n=e.styles,o=e.width,r=void 0===o?"100%":o,i=e.borderStyle,a=e.theme,s=g(n,{theme:a,height:t,borderStyle:i});return h.createElement("div",{style:{width:r,minWidth:"number"==typeof r?r+"px":"auto"},className:s.root},h.createElement("svg",{width:"2",height:"2",className:s.topLeftCorner},h.createElement("path",{d:"M0 2 A 2 2, 0, 0, 1, 2 0 L 0 0 Z"})),h.createElement("svg",{width:"2",height:"2",className:s.topRightCorner},h.createElement("path",{d:"M0 0 A 2 2, 0, 0, 1, 2 2 L 2 0 Z"})),h.createElement("svg",{width:"2",height:"2",className:s.bottomRightCorner},h.createElement("path",{d:"M2 0 A 2 2, 0, 0, 1, 0 2 L 2 2 Z"})),h.createElement("svg",{width:"2",height:"2",className:s.bottomLeftCorner},h.createElement("path",{d:"M2 2 A 2 2, 0, 0, 1, 0 0 L 0 2 Z"})))},function(e){var t,n=e.height,o=e.borderStyle,r=e.theme,a=r.semanticColors,s=Object(i.m)(_,r),c=o||{},u={position:"absolute",fill:a.bodyBackground};return{root:[s.root,r.fonts.medium,{height:n+"px",boxSizing:"content-box",position:"relative",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:a.bodyBackground,borderWidth:0,selectors:(t={},t[i.d]={borderColor:"Window",selectors:{"> *":{fill:"Window"}}},t)},c],topLeftCorner:[s.topLeftCorner,{top:"0",left:"0"},u],topRightCorner:[s.topRightCorner,{top:"0",right:"0"},u],bottomRightCorner:[s.bottomRightCorner,{bottom:"0",right:"0"},u],bottomLeftCorner:[s.bottomLeftCorner,{bottom:"0",left:"0"},u]}},void 0,{scope:"ShimmerLine"}),C=Object(f.a)(),O={root:"ms-ShimmerGap-root"};var x=Object(o.a)(function(e){var t=e.height,n=e.styles,o=e.width,r=void 0===o?"10px":o,i=e.borderStyle,a=e.theme,s=C(n,{theme:a,height:t,borderStyle:i});return h.createElement("div",{style:{width:r,minWidth:"number"==typeof r?r+"px":"auto"},className:s.root})},function(e){var t,n=e.height,o=e.borderStyle,r=e.theme,a=r.semanticColors,s=o||{};return{root:[Object(i.m)(O,r).root,r.fonts.medium,{backgroundColor:a.bodyBackground,height:n+"px",boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:a.bodyBackground,selectors:(t={},t[i.d]={backgroundColor:"Window",borderColor:"Window"},t)},s]}},void 0,{scope:"ShimmerGap"}),E={root:"ms-ShimmerCircle-root",svg:"ms-ShimmerCircle-svg"};var k=Object(f.a)(),w=Object(o.a)(function(e){var t=e.height,n=e.styles,o=e.borderStyle,r=e.theme,i=k(n,{theme:r,height:t,borderStyle:o});return h.createElement("div",{className:i.root},h.createElement("svg",{viewBox:"0 0 10 10",width:t,height:t,className:i.svg},h.createElement("path",{d:"M0,0 L10,0 L10,10 L0,10 L0,0 Z M0,5 C0,7.76142375 2.23857625,10 5,10 C7.76142375,10 10,7.76142375 10,5 C10,2.23857625 7.76142375,2.22044605e-16 5,0 C2.23857625,-2.22044605e-16 0,2.23857625 0,5 L0,5 Z"})))},function(e){var t,n,o=e.height,r=e.borderStyle,a=e.theme,s=a.semanticColors,c=Object(i.m)(E,a),u=r||{};return{root:[c.root,a.fonts.medium,{width:o+"px",height:o+"px",minWidth:o+"px",boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:s.bodyBackground,selectors:(t={},t[i.d]={borderColor:"Window"},t)},u],svg:[c.svg,{display:"block",fill:s.bodyBackground,selectors:(n={},n[i.d]={fill:"Window"},n)}]}},void 0,{scope:"ShimmerCircle"}),j=Object(f.a)();var I=Object(a.b)(function(e,t,n,o,i){var a,s=i&&n?i-n:0;if(e&&"center"!==e?e&&"top"===e?a={borderBottomWidth:s+"px",borderTopWidth:"0px"}:e&&"bottom"===e&&(a={borderBottomWidth:"0px",borderTopWidth:s+"px"}):a={borderBottomWidth:(s?Math.floor(s/2):0)+"px",borderTopWidth:(s?Math.ceil(s/2):0)+"px"},o)switch(t){case p.circle:return{root:Object(r.__assign)(Object(r.__assign)({},a),{borderColor:o}),svg:{fill:o}};case p.gap:return{root:Object(r.__assign)(Object(r.__assign)({},a),{borderColor:o,backgroundColor:o})};case p.line:return{root:Object(r.__assign)(Object(r.__assign)({},a),{borderColor:o}),topLeftCorner:{fill:o},topRightCorner:{fill:o},bottomLeftCorner:{fill:o},bottomRightCorner:{fill:o}}}return{root:a}});var M={root:"ms-ShimmerElementsGroup-root"};var S=Object(o.a)(function(e){var t=e.styles,n=e.width,o=void 0===n?"auto":n,i=e.shimmerElements,a=e.rowHeight,s=void 0===a?function(e){return e.map(function(e){switch(e.type){case p.circle:e.height||(e.height=m.circle);break;case p.line:e.height||(e.height=m.line);break;case p.gap:e.height||(e.height=m.gap)}return e}).reduce(function(e,t){return t.height&&t.height>e?t.height:e},0)}(i||[]):a,c=e.flexWrap,u=void 0!==c&&c,l=e.theme,d=e.backgroundColor,f=j(t,{theme:l,flexWrap:u});return h.createElement("div",{style:{width:o},className:f.root},function(e,t,n){return e?e.map(function(e,o){var i=e.type,a=Object(r.__rest)(e,["type"]),s=a.verticalAlign,c=a.height,u=I(s,i,c,t,n);switch(e.type){case p.circle:return h.createElement(w,Object(r.__assign)({key:o},a,{styles:u}));case p.gap:return h.createElement(x,Object(r.__assign)({key:o},a,{styles:u}));case p.line:return h.createElement(y,Object(r.__assign)({key:o},a,{styles:u}))}}):h.createElement(y,{height:m.line})}(i,d,s))},function(e){var t=e.flexWrap,n=e.theme;return{root:[Object(i.m)(M,n).root,n.fonts.medium,{display:"flex",alignItems:"center",flexWrap:t?"wrap":"nowrap",position:"relative"}]}},void 0,{scope:"ShimmerElementsGroup"}),T=n(420),D=function(){var e=Object(T.a)({});return h.useEffect(function(){return function(){for(var t=0,n=Object.keys(e);t<n.length;t++){var o=n[t];clearTimeout(o)}}},[e]),Object(T.a)({setTimeout:function(t,n){var o=setTimeout(t,n);return e[o]=1,o},clearTimeout:function(t){delete e[t],clearTimeout(t)}})},P=Object(f.a)(),z=h.forwardRef(function(e,t){var n=e.styles,o=e.shimmerElements,i=e.children,a=e.width,s=e.className,c=e.customElementsGroup,u=e.theme,l=e.ariaLabel,d=e.shimmerColors,p=e.isDataLoaded,m=void 0!==p&&p,f=Object(b.d)(e,b.c),g=P(n,{theme:u,isDataLoaded:m,className:s,transitionAnimationInterval:200,shimmerColor:d&&d.shimmer,shimmerWaveColor:d&&d.shimmerWave}),_=Object(T.a)({lastTimeoutId:0}),y=D(),C=y.setTimeout,O=y.clearTimeout,x=h.useState(m),E=x[0],k=x[1],w={width:a||"100%"};return h.useEffect(function(){if(m!==E){if(m)return _.lastTimeoutId=C(function(){k(!0)},200),function(){return O(_.lastTimeoutId)};k(!1)}},[m]),h.createElement("div",Object(r.__assign)({},f,{className:g.root,ref:t}),!E&&h.createElement("div",{style:w,className:g.shimmerWrapper},h.createElement("div",{className:g.shimmerGradient}),c||h.createElement(S,{shimmerElements:o,backgroundColor:d&&d.background})),i&&h.createElement("div",{className:g.dataWrapper},i),l&&!m&&h.createElement("div",{role:"status","aria-live":"polite"},h.createElement(v,null,h.createElement("div",{className:g.screenReaderText},l))))});z.displayName="Shimmer";var B=Object(o.a)(z,function(e){var t,n=e.isDataLoaded,o=e.className,a=e.theme,p=e.transitionAnimationInterval,m=e.shimmerColor,h=e.shimmerWaveColor,f=a.semanticColors,b=Object(i.m)(c,a),v=Object(s.a)(a);return{root:[b.root,a.fonts.medium,{position:"relative",height:"auto"},o],shimmerWrapper:[b.shimmerWrapper,{position:"relative",overflow:"hidden",transform:"translateZ(0)",backgroundColor:m||f.disabledBackground,transition:"opacity "+p+"ms",selectors:(t={"> *":{transform:"translateZ(0)"}},t[i.d]=Object(r.__assign)({background:"WindowText\n linear-gradient(\n to right,\n transparent 0%,\n Window 50%,\n transparent 100%)\n 0 0 / 90% 100%\n no-repeat"},Object(i.n)()),t)},n&&{opacity:"0",position:"absolute",top:"0",bottom:"0",left:"0",right:"0"}],shimmerGradient:[b.shimmerGradient,{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:(m||f.disabledBackground)+"\n linear-gradient(\n to right,\n "+(m||f.disabledBackground)+" 0%,\n "+(h||f.bodyDivider)+" 50%,\n "+(m||f.disabledBackground)+" 100%)\n 0 0 / 90% 100%\n no-repeat",transform:"translateX(-"+u+")",animationDuration:"2s",animationTimingFunction:"ease-in-out",animationDirection:"normal",animationIterationCount:"infinite",animationName:v?d():l()}],dataWrapper:[b.dataWrapper,{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",opacity:"0",background:"none",backgroundColor:"transparent",border:"none",transition:"opacity "+p+"ms"},n&&{opacity:"1",position:"static"}],screenReaderText:i.r}},void 0,{scope:"Shimmer"})},511:function(e,t,n){"use strict";n.d(t,"a",function(){return $});var o=n(520),r=n(1),i=n(12),a=n(485),s=n(487),c=n(524),u=n(339);var l=Object(u.a)(function(e){var t=e;return Object(u.a)(function(n){if(e===n)throw new Error("Attempted to compose a component with itself.");var o=n,a=Object(u.a)(function(e){return function(t){return i.createElement(o,Object(r.__assign)({},t,{defaultRender:e}))}});return function(e){var n=e.defaultRender;return i.createElement(t,Object(r.__assign)({},e,{defaultRender:n?a(n):o}))}})});function d(e,t){return l(e)(t)}var p=n(518),m=n(486),h=n(488),f=n(522),b=n(494),v=n(445),g=n(420),_=function(e){var t=v.a.getInstance(),n=e.className,o=e.overflowItems,a=e.keytipSequences,s=e.itemSubMenuProvider,c=e.onRenderOverflowButton,u=Object(g.a)({}),l=i.useCallback(function(e){return s?s(e):e.subMenuProps?e.subMenuProps.items:void 0},[s]),d=i.useMemo(function(){var e=[];return a?null==o||o.forEach(function(n){var o,i=n.keytipProps;if(i){var s={content:i.content,keySequences:i.keySequences,disabled:i.disabled||!(!n.disabled&&!n.isDisabled),hasDynamicChildren:i.hasDynamicChildren,hasMenu:i.hasMenu};i.hasDynamicChildren||l(n)?s.onExecute=t.menuExecute.bind(t,a,null===(o=null==n?void 0:n.keytipProps)||void 0===o?void 0:o.keySequences):s.onExecute=i.onExecute,u[s.content]=s;var c=Object(r.__assign)(Object(r.__assign)({},n),{keytipProps:Object(r.__assign)(Object(r.__assign)({},i),{overflowSetSequence:a})});null==e||e.push(c)}else null==e||e.push(n)}):e=o,e},[o,l,t,a,u]);return function(e,t){i.useEffect(function(){return Object.keys(e).forEach(function(n){var o=e[n],r=t.register(o,!0);e[r]=o,delete e[n]}),function(){Object.keys(e).forEach(function(n){t.unregister(e[n],n,!0),delete e[n]})}},[e,t])}(u,t),i.createElement("div",{className:n},c(d))},y=Object(a.a)(),C=i.forwardRef(function(e,t){var n=i.useRef(null),o=Object(h.a)(n,t);!function(e,t){i.useImperativeHandle(e.componentRef,function(){return{focus:function(){var e=!1;return t.current&&(e=Object(f.b)(t.current)),e},focusElement:function(e){var n=!1;return!!e&&(t.current&&Object(b.a)(t.current,e)&&(e.focus(),n=document.activeElement===e),n)}}},[t])}(e,n);var a=e.items,s=e.overflowItems,c=e.className,u=e.styles,l=e.vertical,d=e.role,p=e.overflowSide,v=void 0===p?"end":p,g=e.onRenderItem,C=y(u,{className:c,vertical:l}),O=!!s&&s.length>0;return i.createElement("div",Object(r.__assign)({},Object(m.d)(e,m.c),{role:d||"group","aria-orientation":"menubar"===d?!0===l?"vertical":"horizontal":void 0,className:C.root,ref:o}),"start"===v&&O&&i.createElement(_,Object(r.__assign)({},e,{className:C.overflowButton})),a&&a.map(function(e,t){return i.createElement("div",{className:C.item,key:e.key},g(e))}),"end"===v&&O&&i.createElement(_,Object(r.__assign)({},e,{className:C.overflowButton})))});C.displayName="OverflowSet";var O,x={flexShrink:0,display:"inherit"},E=Object(o.a)(C,function(e){var t=e.className;return{root:["ms-OverflowSet",{position:"relative",display:"flex",flexWrap:"nowrap"},e.vertical&&{flexDirection:"column"},t],item:["ms-OverflowSet-item",x],overflowButton:["ms-OverflowSet-overflowButton",x]}},void 0,{scope:"OverflowSet"});!function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(O||(O={}));var k=n(497),w=n(492),j=n(491),I=16,M=function(e){var t;void 0===e&&(t={},e={getCachedMeasurement:function(e){if(e&&e.cacheKey&&t.hasOwnProperty(e.cacheKey))return t[e.cacheKey]},addMeasurementToCache:function(e,n){e.cacheKey&&(t[e.cacheKey]=n)}});var n,o=e;function i(e,t){var n=o.getCachedMeasurement(e);if(void 0!==n)return n;var r=t();return o.addMeasurementToCache(e,r),r}function a(e,t,r){for(var a=e,s=i(e,r);s>n;){var c=t(a);if(void 0===c)return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(s=o.getCachedMeasurement(c)))return{dataToMeasure:c,resizeDirection:"shrink"};a=c}return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(e,t,s,c){if(void 0!==c||void 0!==t.dataToMeasure){if(c){if(n&&t.renderedData&&!t.dataToMeasure)return Object(r.__assign)(Object(r.__assign)({},t),function(e,t,o,i){var a;return a=e>n?i?{resizeDirection:"grow",dataToMeasure:i(o)}:{resizeDirection:"shrink",dataToMeasure:t}:{resizeDirection:"shrink",dataToMeasure:o},n=e,Object(r.__assign)(Object(r.__assign)({},a),{measureContainer:!1})}(c,e.data,t.renderedData,e.onGrowData));n=c}var u=Object(r.__assign)(Object(r.__assign)({},t),{measureContainer:!1});return t.dataToMeasure&&(u="grow"===t.resizeDirection&&e.onGrowData?Object(r.__assign)(Object(r.__assign)({},u),function(e,t,s,c){for(var u=e,l=i(e,s);l<n;){var d=t(u);if(void 0===d)return{renderedData:u,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(l=o.getCachedMeasurement(d)))return{dataToMeasure:d};u=d}return Object(r.__assign)({resizeDirection:"shrink"},a(u,c,s))}(t.dataToMeasure,e.onGrowData,s,e.onReduceData)):Object(r.__assign)(Object(r.__assign)({},u),a(t.dataToMeasure,e.onReduceData,s))),u}},shouldRenderDataForMeasurement:function(e){return!(!e||void 0!==o.getCachedMeasurement(e))},getInitialResizeGroupState:function(e){return{dataToMeasure:Object(r.__assign)({},e),resizeDirection:"grow",measureContainer:!0}}}},S=i.createContext({isMeasured:!1}),T={position:"fixed",visibility:"hidden"},D={position:"relative"};function P(e,t){var n;switch(t.type){case"resizeData":return Object(r.__assign)({},t.value);case"dataToMeasure":return Object(r.__assign)(Object(r.__assign)({},e),{dataToMeasure:t.value,resizeDirection:"grow",measureContainer:!0});default:return Object(r.__assign)(Object(r.__assign)({},e),((n={})[t.type]=t.value,n))}}function z(e,t){var n=Object(g.a)(M),o=i.useRef(null),a=i.useRef(null),s=i.useRef(!1),c=Object(k.a)(),u=function(e,t,n){var o=Object(g.a)(function(){return t.getInitialResizeGroupState(e.data)}),a=i.useReducer(P,o),s=a[0],c=a[1];i.useEffect(function(){c({type:"dataToMeasure",value:e.data})},[e.data]);var u=i.useRef(o);return u.current=Object(r.__assign)({},s),[u,i.useCallback(function(e){e&&c({type:"resizeData",value:e})},[]),i.useCallback(function(){n.current&&c({type:"measureContainer",value:!0})},[n])]}(e,n,t),l=u[0],d=u[1],p=u[2];i.useEffect(function(){var t;l.current.renderedData&&(s.current=!0,null===(t=e.dataDidRender)||void 0===t||t.call(e,l.current.renderedData))}),i.useEffect(function(){c.requestAnimationFrame(function(){var r=void 0;if(l.current.measureContainer&&t.current){var i=t.current.getBoundingClientRect();r=e.direction===O.vertical?i.height:i.width}var c=n.getNextState(e,l.current,function(){var t=s.current?a:o;return t.current?e.direction===O.vertical?t.current.scrollHeight:t.current.scrollWidth:0},r);d(c)})});var m=Object(j.c)();Object(w.a)(m,"resize",c.debounce(p,I,{leading:!0}));var h=n.shouldRenderDataForMeasurement(l.current.dataToMeasure),f=!s.current&&h;return[l.current.dataToMeasure,l.current.renderedData,p,o,a,h,f]}var B={isMeasured:!0},R=i.forwardRef(function(e,t){var n=i.useRef(null),o=Object(h.a)(n,t),a=z(e,n),s=a[0],c=a[1],u=a[2],l=a[3],d=a[4],p=a[5],f=a[6];i.useImperativeHandle(e.componentRef,function(){return{remeasure:u}},[u]);var b=e.className,v=e.onRenderData,g=Object(m.d)(e,m.c,["data"]);return i.createElement("div",Object(r.__assign)({},g,{className:b,ref:o}),i.createElement("div",{style:D},p&&!f&&i.createElement("div",{style:T,ref:d},i.createElement(S.Provider,{value:B},v(s))),i.createElement("div",{ref:l,style:f?T:void 0,"data-automation-id":"visibleContent"},f?v(s):c&&v(c))))});R.displayName="ResizeGroupBase";var N=R,F=n(527),A=n(441),L=n(409),W=n(499),H=n(342),K=n(407),U=n(415),G=n(422),q=Object(u.b)(function(e,t,n,o){var i,a,s,c,u,l,d,p,m,h,f,b,v,g,_=Object(K.a)(e),y=Object(U.a)(e),C=e.palette,O=e.semanticColors,x={root:[Object(H.l)(e,{inset:2,highContrastStyle:{left:4,top:4,bottom:4,right:4,border:"none"},borderColor:"transparent"}),e.fonts.medium,{minWidth:"40px",backgroundColor:C.white,color:C.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0,selectors:(i={},i[H.d]={border:"none"},i)}],rootHovered:{backgroundColor:C.neutralLighter,color:C.neutralDark,selectors:(a={},a[H.d]={color:"Highlight"},a["."+G.a.msButtonIcon]={color:C.themeDarkAlt},a["."+G.a.msButtonMenuIcon]={color:C.neutralPrimary},a)},rootPressed:{backgroundColor:C.neutralLight,color:C.neutralDark,selectors:(s={},s["."+G.a.msButtonIcon]={color:C.themeDark},s["."+G.a.msButtonMenuIcon]={color:C.neutralPrimary},s)},rootChecked:{backgroundColor:C.neutralLight,color:C.neutralDark,selectors:(c={},c["."+G.a.msButtonIcon]={color:C.themeDark},c["."+G.a.msButtonMenuIcon]={color:C.neutralPrimary},c)},rootCheckedHovered:{backgroundColor:C.neutralQuaternaryAlt,selectors:(u={},u["."+G.a.msButtonIcon]={color:C.themeDark},u["."+G.a.msButtonMenuIcon]={color:C.neutralPrimary},u)},rootExpanded:{backgroundColor:C.neutralLight,color:C.neutralDark,selectors:(l={},l["."+G.a.msButtonIcon]={color:C.themeDark},l["."+G.a.msButtonMenuIcon]={color:C.neutralPrimary},l)},rootExpandedHovered:{backgroundColor:C.neutralQuaternaryAlt},rootDisabled:{backgroundColor:C.white,selectors:(d={},d["."+G.a.msButtonIcon]={color:O.disabledBodySubtext,selectors:(p={},p[H.d]=Object(r.__assign)({color:"GrayText"},Object(H.n)()),p)},d[H.d]=Object(r.__assign)({color:"GrayText",backgroundColor:"Window"},Object(H.n)()),d)},splitButtonContainer:{height:"100%",selectors:(m={},m[H.d]={border:"none"},m)},splitButtonDividerDisabled:{selectors:(h={},h[H.d]={backgroundColor:"Window"},h)},splitButtonDivider:{backgroundColor:C.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:C.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:C.neutralSecondary,selectors:{":hover":{backgroundColor:C.neutralLighter,color:C.neutralDark,selectors:(f={},f[H.d]={color:"Highlight"},f["."+G.a.msButtonIcon]={color:C.neutralPrimary},f)},":active":{backgroundColor:C.neutralLight,selectors:(b={},b["."+G.a.msButtonIcon]={color:C.neutralPrimary},b)}}},splitButtonMenuButtonDisabled:{backgroundColor:C.white,selectors:(v={},v[H.d]=Object(r.__assign)({color:"GrayText",border:"none",backgroundColor:"Window"},Object(H.n)()),v)},splitButtonMenuButtonChecked:{backgroundColor:C.neutralLight,color:C.neutralDark,selectors:{":hover":{backgroundColor:C.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:C.neutralLight,color:C.black,selectors:{":hover":{backgroundColor:C.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:C.neutralPrimary},splitButtonMenuIconDisabled:{color:C.neutralTertiary},label:{fontWeight:"normal"},icon:{color:C.themePrimary},menuIcon:(g={color:C.neutralSecondary},g[H.d]={color:"GrayText"},g)};return Object(H.h)(_,y,x,t)}),V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return i.createElement(L.a,Object(r.__assign)({},this.props,{variantClassName:"ms-Button--commandBar",styles:q(n,t),onRenderDescription:c.a}))},t=Object(r.__decorate)([Object(W.a)("CommandBarButton",["theme","styles"],!0)],t)}(i.Component),Z=n(513),Y=Object(u.b)(function(e){var t={height:"100%"},n={whiteSpace:"nowrap"},o=e||{},i=o.root,a=o.label,s=Object(r.__rest)(o,["root","label"]);return Object(r.__assign)(Object(r.__assign)({},s),{root:i?[t,i]:t,label:a?[n,a]:n})}),X=Object(a.a)(),Q=function(e){function t(t){var n=e.call(this,t)||this;return n._overflowSet=i.createRef(),n._resizeGroup=i.createRef(),n._onRenderData=function(e){return i.createElement(F.a,{className:Object(s.a)(n._classNames.root),direction:A.a.horizontal,role:"menubar","aria-label":n.props.ariaLabel},i.createElement(E,{role:"none",componentRef:n._overflowSet,className:Object(s.a)(n._classNames.primarySet),items:e.primaryItems,overflowItems:e.overflowItems.length?e.overflowItems:void 0,onRenderItem:n._onRenderItem,onRenderOverflowButton:n._onRenderOverflowButton}),e.farItems&&e.farItems.length>0&&i.createElement(E,{role:"none",className:Object(s.a)(n._classNames.secondarySet),items:e.farItems,onRenderItem:n._onRenderItem,onRenderOverflowButton:c.a}))},n._onRenderItem=function(e){if(e.onRender)return e.onRender(e,function(){});var t=e.text||e.name,o=Object(r.__assign)(Object(r.__assign)({allowDisabledFocus:!0,role:"menuitem"},e),{styles:Y(e.buttonStyles),className:Object(s.a)("ms-CommandBarItem-link",e.className),text:e.iconOnly?void 0:t,menuProps:e.subMenuProps,onClick:n._onButtonClick(e)});return e.iconOnly&&(void 0!==t||e.tooltipHostProps)?i.createElement(Z.a,Object(r.__assign)({content:t},e.tooltipHostProps),n._commandButton(e,o)):n._commandButton(e,o)},n._commandButton=function(e,t){var o=n.props.buttonAs,a=e.commandBarButtonAs,s=V;return a&&(s=d(a,s)),o&&(s=d(o,s)),i.createElement(s,Object(r.__assign)({},t))},n._onRenderOverflowButton=function(e){var t=n.props.overflowButtonProps,o=void 0===t?{}:t,a=Object(r.__spreadArrays)(o.menuProps?o.menuProps.items:[],e),c=Object(r.__assign)(Object(r.__assign)({role:"menuitem"},o),{styles:Object(r.__assign)({menuIcon:{fontSize:"17px"}},o.styles),className:Object(s.a)("ms-CommandBar-overflowButton",o.className),menuProps:Object(r.__assign)(Object(r.__assign)({},o.menuProps),{items:a}),menuIconProps:Object(r.__assign)({iconName:"More"},o.menuIconProps)}),u=n.props.overflowButtonAs?d(n.props.overflowButtonAs,V):V;return i.createElement(u,Object(r.__assign)({},c))},n._onReduceData=function(e){var t=n.props,o=t.shiftOnReduce,i=t.onDataReduced,a=e.primaryItems,s=e.overflowItems,c=e.cacheKey,u=a[o?0:a.length-1];if(void 0!==u){u.renderedInOverflow=!0,s=Object(r.__spreadArrays)([u],s),a=o?a.slice(1):a.slice(0,-1);var l=Object(r.__assign)(Object(r.__assign)({},e),{primaryItems:a,overflowItems:s});return c=n._computeCacheKey({primaryItems:a,overflow:s.length>0}),i&&i(u),l.cacheKey=c,l}},n._onGrowData=function(e){var t=n.props,o=t.shiftOnReduce,i=t.onDataGrown,a=e.minimumOverflowItems,s=e.primaryItems,c=e.overflowItems,u=e.cacheKey,l=c[0];if(void 0!==l&&c.length>a){l.renderedInOverflow=!1,c=c.slice(1),s=o?Object(r.__spreadArrays)([l],s):Object(r.__spreadArrays)(s,[l]);var d=Object(r.__assign)(Object(r.__assign)({},e),{primaryItems:s,overflowItems:c});return u=n._computeCacheKey({primaryItems:s,overflow:c.length>0}),i&&i(l),d.cacheKey=u,d}},Object(p.a)(n),n}return Object(r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.items,n=e.overflowItems,o=e.farItems,a=e.styles,s=e.theme,c=e.dataDidRender,u=e.onReduceData,l=void 0===u?this._onReduceData:u,d=e.onGrowData,p=void 0===d?this._onGrowData:d,h=e.resizeGroupAs,f=void 0===h?N:h,b={primaryItems:Object(r.__spreadArrays)(t),overflowItems:Object(r.__spreadArrays)(n),minimumOverflowItems:Object(r.__spreadArrays)(n).length,farItems:o,cacheKey:this._computeCacheKey({primaryItems:Object(r.__spreadArrays)(t),overflow:n&&n.length>0})};this._classNames=X(a,{theme:s});var v=Object(m.d)(this.props,m.c);return i.createElement(f,Object(r.__assign)({},v,{componentRef:this._resizeGroup,data:b,onReduceData:l,onGrowData:p,onRenderData:this._onRenderData,dataDidRender:c}))},t.prototype.focus=function(){var e=this._overflowSet.current;e&&e.focus()},t.prototype.remeasure=function(){this._resizeGroup.current&&this._resizeGroup.current.remeasure()},t.prototype._onButtonClick=function(e){return function(t){e.inactive||e.onClick&&e.onClick(t,e)}},t.prototype._computeCacheKey=function(e){var t=e.primaryItems,n=e.overflow;return[t&&t.reduce(function(e,t){var n=t.cacheKey;return e+(void 0===n?t.key:n)},""),n?"overflow":""].join("")},t.defaultProps={items:[],overflowItems:[]},t}(i.Component),$=Object(o.a)(Q,function(e){var t=e.className,n=e.theme,o=n.semanticColors;return{root:[n.fonts.medium,"ms-CommandBar",{display:"flex",backgroundColor:o.bodyBackground,padding:"0 14px 0 24px",height:44},t],primarySet:["ms-CommandBar-primaryCommand",{flexGrow:"1",display:"flex",alignItems:"stretch"}],secondarySet:["ms-CommandBar-secondaryCommand",{flexShrink:"0",display:"flex",alignItems:"stretch"}]}},void 0,{scope:"CommandBar"})},512:function(e,t,n){"use strict";n.d(t,"a",function(){return Y});var o,r,i,a=n(520),s=n(1),c=n(12),u=n(485),l=n(490),d=n(486),p=n(513),m=n(447),h=n(339),f=n(434),b=n(502),v=n(342),g=n(517),_=n(404);!function(e){e.size8="20px",e.size10="20px",e.size16="16px",e.size24="24px",e.size28="28px",e.size32="32px",e.size40="40px",e.size48="48px",e.size56="56px",e.size72="72px",e.size100="100px",e.size120="120px"}(r||(r={})),function(e){e.size6="6px",e.size8="8px",e.size12="12px",e.size16="16px",e.size20="20px",e.size28="28px",e.size32="32px",e.border="2px"}(i||(i={}));var y=function(e){return{isSize8:e===_.c.size8,isSize10:e===_.c.size10||e===_.c.tiny,isSize16:e===_.c.size16,isSize24:e===_.c.size24||e===_.c.extraExtraSmall,isSize28:e===_.c.size28||e===_.c.extraSmall,isSize32:e===_.c.size32,isSize40:e===_.c.size40||e===_.c.small,isSize48:e===_.c.size48||e===_.c.regular,isSize56:e===_.c.size56,isSize72:e===_.c.size72||e===_.c.large,isSize100:e===_.c.size100||e===_.c.extraLarge,isSize120:e===_.c.size120}},C=((o={})[_.c.tiny]=10,o[_.c.extraExtraSmall]=24,o[_.c.extraSmall]=28,o[_.c.small]=40,o[_.c.regular]=48,o[_.c.large]=72,o[_.c.extraLarge]=100,o[_.c.size8]=8,o[_.c.size10]=10,o[_.c.size16]=16,o[_.c.size24]=24,o[_.c.size28]=28,o[_.c.size32]=32,o[_.c.size40]=40,o[_.c.size48]=48,o[_.c.size56]=56,o[_.c.size72]=72,o[_.c.size100]=100,o[_.c.size120]=120,o),O=function(e){return{isAvailable:e===_.b.online,isAway:e===_.b.away,isBlocked:e===_.b.blocked,isBusy:e===_.b.busy,isDoNotDisturb:e===_.b.dnd,isOffline:e===_.b.offline}},x=n(488),E=Object(u.a)({cacheSize:100}),k=c.forwardRef(function(e,t){var n=e.coinSize,o=e.isOutOfOffice,r=e.styles,i=e.presence,a=e.theme,s=e.presenceTitle,u=e.presenceColors,l=c.useRef(null),d=Object(x.a)(t,l),p=y(e.size),m=!(p.isSize8||p.isSize10||p.isSize16||p.isSize24||p.isSize28||p.isSize32)&&(!n||n>32),h=n?n/3<40?n/3+"px":"40px":"",f=n?{fontSize:n?n/6<20?n/6+"px":"20px":"",lineHeight:h}:void 0,b=n?{width:h,height:h}:void 0,v=E(r,{theme:a,presence:i,size:e.size,isOutOfOffice:o,presenceColors:u});return i===_.b.none?null:c.createElement("div",{role:"presentation",className:v.presence,style:b,title:s,ref:d},m&&c.createElement(g.a,{className:v.presenceIcon,iconName:w(e.presence,e.isOutOfOffice),style:f}))});function w(e,t){if(e){switch(_.b[e]){case"online":return"SkypeCheck";case"away":return t?"SkypeArrow":"SkypeClock";case"dnd":return"SkypeMinus";case"offline":return t?"SkypeArrow":""}return""}}k.displayName="PersonaPresenceBase";var j={presence:"ms-Persona-presence",presenceIcon:"ms-Persona-presenceIcon"};function I(e){return{color:e,borderColor:e}}function M(e,t){return{selectors:{":before":{border:e+" solid "+t}}}}function S(e){return{height:e,width:e}}function T(e){return{backgroundColor:e}}var D=Object(a.a)(k,function(e){var t,n,o,r,a,c,u=e.theme,l=e.presenceColors,d=u.semanticColors,p=u.fonts,m=Object(v.m)(j,u),h=y(e.size),f=O(e.presence),b=l&&l.available||"#6BB700",g=l&&l.away||"#FFAA44",_=l&&l.busy||"#C43148",C=l&&l.dnd||"#C50F1F",x=l&&l.offline||"#8A8886",E=l&&l.oof||"#B4009E",k=l&&l.background||d.bodyBackground,w=f.isOffline||e.isOutOfOffice&&(f.isAvailable||f.isBusy||f.isAway||f.isDoNotDisturb),D=h.isSize72||h.isSize100?"2px":"1px";return{presence:[m.presence,Object(s.__assign)(Object(s.__assign)({position:"absolute",height:i.size12,width:i.size12,borderRadius:"50%",top:"auto",right:"-2px",bottom:"-2px",border:"2px solid "+k,textAlign:"center",boxSizing:"content-box",backgroundClip:"border-box"},Object(v.n)()),{selectors:(t={},t[v.d]={borderColor:"Window",backgroundColor:"WindowText"},t)}),(h.isSize8||h.isSize10)&&{right:"auto",top:"7px",left:0,border:0,selectors:(n={},n[v.d]={top:"9px",border:"1px solid WindowText"},n)},(h.isSize8||h.isSize10||h.isSize24||h.isSize28||h.isSize32)&&S(i.size8),(h.isSize40||h.isSize48)&&S(i.size12),h.isSize16&&{height:i.size6,width:i.size6,borderWidth:"1.5px"},h.isSize56&&S(i.size16),h.isSize72&&S(i.size20),h.isSize100&&S(i.size28),h.isSize120&&S(i.size32),f.isAvailable&&{backgroundColor:b,selectors:(o={},o[v.d]=T("Highlight"),o)},f.isAway&&T(g),f.isBlocked&&[{selectors:(r={":after":h.isSize40||h.isSize48||h.isSize72||h.isSize100?{content:'""',width:"100%",height:D,backgroundColor:_,transform:"translateY(-50%) rotate(-45deg)",position:"absolute",top:"50%",left:0}:void 0},r[v.d]={selectors:{":after":{width:"calc(100% - 4px)",left:"2px",backgroundColor:"Window"}}},r)}],f.isBusy&&T(_),f.isDoNotDisturb&&T(C),f.isOffline&&T(x),(w||f.isBlocked)&&[{backgroundColor:k,selectors:(a={":before":{content:'""',width:"100%",height:"100%",position:"absolute",top:0,left:0,border:D+" solid "+_,borderRadius:"50%",boxSizing:"border-box"}},a[v.d]={backgroundColor:"WindowText",selectors:{":before":{width:"calc(100% - 2px)",height:"calc(100% - 2px)",top:"1px",left:"1px",borderColor:"Window"}}},a)}],w&&f.isAvailable&&M(D,b),w&&f.isBusy&&M(D,_),w&&f.isAway&&M(D,E),w&&f.isDoNotDisturb&&M(D,C),w&&f.isOffline&&M(D,x),w&&f.isOffline&&e.isOutOfOffice&&M(D,E)],presenceIcon:[m.presenceIcon,{color:k,fontSize:"6px",lineHeight:i.size12,verticalAlign:"top",selectors:(c={},c[v.d]={color:"Window"},c)},h.isSize56&&{fontSize:"8px",lineHeight:i.size16},h.isSize72&&{fontSize:p.small.fontSize,lineHeight:i.size20},h.isSize100&&{fontSize:p.medium.fontSize,lineHeight:i.size28},h.isSize120&&{fontSize:p.medium.fontSize,lineHeight:i.size32},f.isAway&&{position:"relative",left:w?void 0:"1px"},w&&f.isAvailable&&I(b),w&&f.isBusy&&I(_),w&&f.isAway&&I(E),w&&f.isDoNotDisturb&&I(C),w&&f.isOffline&&I(x),w&&f.isOffline&&e.isOutOfOffice&&I(E)]}},void 0,{scope:"PersonaPresence"}),P=n(418),z=n(423),B=n(448),R=Object(u.a)({cacheSize:100}),N=Object(h.b)(function(e,t,n,o,r,i){return Object(v.u)(e,!i&&{backgroundColor:Object(B.a)({text:o,initialsColor:t,primaryText:r}),color:n})}),F={size:_.c.size48,presence:_.b.none,imageAlt:""};var A=c.forwardRef(function(e,t){var n=Object(l.a)(F,e),o=function(e){var t=e.onPhotoLoadingStateChange,n=e.imageUrl,o=c.useState(P.c.notLoaded),r=o[0],i=o[1];return c.useEffect(function(){i(P.c.notLoaded)},[n]),[r,function(e){i(e),null==t||t(e)}]}(n),r=o[0],i=o[1],a=L(i),u=n.className,p=n.coinProps,m=n.showUnknownPersonaCoin,h=n.coinSize,f=n.styles,b=n.imageUrl,v=n.initialsColor,y=n.initialsTextColor,C=n.isOutOfOffice,O=n.onRenderCoin,x=void 0===O?a:O,E=n.onRenderPersonaCoin,k=void 0===E?x:E,w=n.onRenderInitials,j=void 0===w?W:w,I=n.presence,M=n.presenceTitle,S=n.presenceColors,T=n.primaryText,z=n.showInitialsUntilImageLoads,B=n.text,A=n.theme,H=n.size,K=Object(d.d)(n,d.c),U=Object(d.d)(p||{},d.c),G=h?{width:h,height:h}:void 0,q=m,V={coinSize:h,isOutOfOffice:C,presence:I,presenceTitle:M,presenceColors:S,size:H,theme:A},Z=R(f,{theme:A,className:p&&p.className?p.className:u,size:H,coinSize:h,showUnknownPersonaCoin:m}),Y=Boolean(r!==P.c.loaded&&(z&&b||!b||r===P.c.error||q));return c.createElement("div",Object(s.__assign)({role:"presentation"},K,{className:Z.coin,ref:t}),H!==_.c.size8&&H!==_.c.size10&&H!==_.c.tiny?c.createElement("div",Object(s.__assign)({role:"presentation"},U,{className:Z.imageArea,style:G}),Y&&c.createElement("div",{className:N(Z.initials,v,y,B,T,m),style:G,"aria-hidden":"true"},j(n,W)),!q&&k(n,a),c.createElement(D,Object(s.__assign)({},V))):n.presence?c.createElement(D,Object(s.__assign)({},V)):c.createElement(g.a,{iconName:"Contact",className:Z.size10WithoutPresenceIcon}),n.children)});A.displayName="PersonaCoinBase";var L=function(e){return function(t){var n=t.coinSize,o=t.styles,r=t.imageUrl,i=t.imageAlt,a=t.imageShouldFadeIn,s=t.imageShouldStartVisible,u=t.theme,l=t.showUnknownPersonaCoin,d=t.size,p=void 0===d?F.size:d;if(!r)return null;var m=R(o,{theme:u,size:p,showUnknownPersonaCoin:l}),h=n||C[p];return c.createElement(z.a,{className:m.image,imageFit:P.b.cover,src:r,width:h,height:h,alt:i,shouldFadeIn:a,shouldStartVisible:s,onLoadingStateChange:e})}},W=function(e){var t=e.imageInitials,n=e.allowPhoneInitials,o=e.showUnknownPersonaCoin,r=e.text,i=e.primaryText,a=e.theme;if(o)return c.createElement(g.a,{iconName:"Help"});var s=Object(f.a)(a);return""!==(t=t||Object(b.a)(r||i||"",s,n))?c.createElement("span",null,t):c.createElement(g.a,{iconName:"Contact"})},H={coin:"ms-Persona-coin",imageArea:"ms-Persona-imageArea",image:"ms-Persona-image",initials:"ms-Persona-initials",size8:"ms-Persona--size8",size10:"ms-Persona--size10",size16:"ms-Persona--size16",size24:"ms-Persona--size24",size28:"ms-Persona--size28",size32:"ms-Persona--size32",size40:"ms-Persona--size40",size48:"ms-Persona--size48",size56:"ms-Persona--size56",size72:"ms-Persona--size72",size100:"ms-Persona--size100",size120:"ms-Persona--size120"},K=Object(a.a)(A,function(e){var t,n=e.className,o=e.theme,r=e.coinSize,i=o.palette,a=o.fonts,c=y(e.size),u=Object(v.m)(H,o),l=r||e.size&&C[e.size]||48;return{coin:[u.coin,a.medium,c.isSize8&&u.size8,c.isSize10&&u.size10,c.isSize16&&u.size16,c.isSize24&&u.size24,c.isSize28&&u.size28,c.isSize32&&u.size32,c.isSize40&&u.size40,c.isSize48&&u.size48,c.isSize56&&u.size56,c.isSize72&&u.size72,c.isSize100&&u.size100,c.isSize120&&u.size120,n],size10WithoutPresenceIcon:{fontSize:a.xSmall.fontSize,position:"absolute",top:"5px",right:"auto",left:0},imageArea:[u.imageArea,{position:"relative",textAlign:"center",flex:"0 0 auto",height:l,width:l},l<=10&&{overflow:"visible",background:"transparent",height:0,width:0}],image:[u.image,{marginRight:"10px",position:"absolute",top:0,left:0,width:"100%",height:"100%",border:0,borderRadius:"50%",perspective:"1px"},l<=10&&{overflow:"visible",background:"transparent",height:0,width:0},l>10&&{height:l,width:l}],initials:[u.initials,{borderRadius:"50%",color:e.showUnknownPersonaCoin?"rgb(168, 0, 0)":i.white,fontSize:a.large.fontSize,fontWeight:v.c.semibold,lineHeight:48===l?46:l,height:l,selectors:(t={},t[v.d]=Object(s.__assign)(Object(s.__assign)({border:"1px solid WindowText"},Object(v.n)()),{color:"WindowText",boxSizing:"border-box",backgroundColor:"Window !important"}),t.i={fontWeight:v.c.semibold},t)},e.showUnknownPersonaCoin&&{backgroundColor:"rgb(234, 234, 234)"},l<32&&{fontSize:a.xSmall.fontSize},l>=32&&l<40&&{fontSize:a.medium.fontSize},l>=40&&l<56&&{fontSize:a.mediumPlus.fontSize},l>=56&&l<72&&{fontSize:a.xLarge.fontSize},l>=72&&l<100&&{fontSize:a.xxLarge.fontSize},l>=100&&{fontSize:a.superLarge.fontSize}]}},void 0,{scope:"PersonaCoin"}),U=n(401),G=Object(u.a)(),q={size:_.c.size48,presence:_.b.none,imageAlt:"",showOverflowTooltip:!0};var V=c.forwardRef(function(e,t){var n=Object(l.a)(q,e),o=c.useRef(null),r=Object(x.a)(t,o),i=function(){return n.text||n.primaryText||""},a=function(e,t,o){return c.createElement("div",{dir:"auto",className:e},t&&t(n,o))},u=function(e,t){return void 0===t&&(t=!0),e?t?function(){return c.createElement(p.a,{content:e,overflowMode:m.a.Parent,directionalHint:U.a.topLeftEdge},e)}:function(){return c.createElement(c.Fragment,null,e)}:void 0},h=u(i(),n.showOverflowTooltip),f=u(n.secondaryText,n.showOverflowTooltip),b=u(n.tertiaryText,n.showOverflowTooltip),v=u(n.optionalText,n.showOverflowTooltip),g=n.hidePersonaDetails,y=n.onRenderOptionalText,C=void 0===y?v:y,O=n.onRenderPrimaryText,E=void 0===O?h:O,k=n.onRenderSecondaryText,w=void 0===k?f:k,j=n.onRenderTertiaryText,I=void 0===j?b:j,M=n.onRenderPersonaCoin,S=void 0===M?function(e){return c.createElement(K,Object(s.__assign)({},e))}:M,T=n.size,D=n.allowPhoneInitials,P=n.className,z=n.coinProps,B=n.showUnknownPersonaCoin,R=n.coinSize,N=n.styles,F=n.imageAlt,A=n.imageInitials,L=n.imageShouldFadeIn,W=n.imageShouldStartVisible,H=n.imageUrl,V=n.initialsColor,Z=n.initialsTextColor,Y=n.isOutOfOffice,X=n.onPhotoLoadingStateChange,Q=n.onRenderCoin,$=n.onRenderInitials,J=n.presence,ee=n.presenceTitle,te=n.presenceColors,ne=n.showInitialsUntilImageLoads,oe=n.showSecondaryText,re=n.theme,ie=Object(s.__assign)({allowPhoneInitials:D,showUnknownPersonaCoin:B,coinSize:R,imageAlt:F,imageInitials:A,imageShouldFadeIn:L,imageShouldStartVisible:W,imageUrl:H,initialsColor:V,initialsTextColor:Z,onPhotoLoadingStateChange:X,onRenderCoin:Q,onRenderInitials:$,presence:J,presenceTitle:ee,showInitialsUntilImageLoads:ne,size:T,text:i(),isOutOfOffice:Y,presenceColors:te},z),ae=G(N,{theme:re,className:P,showSecondaryText:oe,presence:J,size:T}),se=Object(d.d)(n,d.c),ce=c.createElement("div",{className:ae.details},a(ae.primaryText,E,h),a(ae.secondaryText,w,f),a(ae.tertiaryText,I,b),a(ae.optionalText,C,v),n.children);return c.createElement("div",Object(s.__assign)({},se,{ref:r,className:ae.root,style:R?{height:R,minWidth:R}:void 0}),S(ie,S),(!g||T===_.c.size8||T===_.c.size10||T===_.c.tiny)&&ce)});V.displayName="PersonaBase";var Z={root:"ms-Persona",size8:"ms-Persona--size8",size10:"ms-Persona--size10",size16:"ms-Persona--size16",size24:"ms-Persona--size24",size28:"ms-Persona--size28",size32:"ms-Persona--size32",size40:"ms-Persona--size40",size48:"ms-Persona--size48",size56:"ms-Persona--size56",size72:"ms-Persona--size72",size100:"ms-Persona--size100",size120:"ms-Persona--size120",available:"ms-Persona--online",away:"ms-Persona--away",blocked:"ms-Persona--blocked",busy:"ms-Persona--busy",doNotDisturb:"ms-Persona--donotdisturb",offline:"ms-Persona--offline",details:"ms-Persona-details",primaryText:"ms-Persona-primaryText",secondaryText:"ms-Persona-secondaryText",tertiaryText:"ms-Persona-tertiaryText",optionalText:"ms-Persona-optionalText",textContent:"ms-Persona-textContent"},Y=Object(a.a)(V,function(e){var t=e.className,n=e.showSecondaryText,o=e.theme,i=o.semanticColors,a=o.fonts,s=Object(v.m)(Z,o),c=y(e.size),u=O(e.presence),l={color:i.bodySubtext,fontWeight:v.c.regular,fontSize:a.small.fontSize};return{root:[s.root,o.fonts.medium,v.w,{color:i.bodyText,position:"relative",height:r.size48,minWidth:r.size48,display:"flex",alignItems:"center",selectors:{".contextualHost":{display:"none"}}},c.isSize8&&[s.size8,{height:r.size8,minWidth:r.size8}],c.isSize10&&[s.size10,{height:r.size10,minWidth:r.size10}],c.isSize16&&[s.size16,{height:r.size16,minWidth:r.size16}],c.isSize24&&[s.size24,{height:r.size24,minWidth:r.size24}],c.isSize24&&n&&{height:"36px"},c.isSize28&&[s.size28,{height:r.size28,minWidth:r.size28}],c.isSize28&&n&&{height:"32px"},c.isSize32&&[s.size32,{height:r.size32,minWidth:r.size32}],c.isSize40&&[s.size40,{height:r.size40,minWidth:r.size40}],c.isSize48&&s.size48,c.isSize56&&[s.size56,{height:r.size56,minWidth:r.size56}],c.isSize72&&[s.size72,{height:r.size72,minWidth:r.size72}],c.isSize100&&[s.size100,{height:r.size100,minWidth:r.size100}],c.isSize120&&[s.size120,{height:r.size120,minWidth:r.size120}],u.isAvailable&&s.available,u.isAway&&s.away,u.isBlocked&&s.blocked,u.isBusy&&s.busy,u.isDoNotDisturb&&s.doNotDisturb,u.isOffline&&s.offline,t],details:[s.details,{padding:"0 24px 0 16px",minWidth:0,width:"100%",textAlign:"left",display:"flex",flexDirection:"column",justifyContent:"space-around"},(c.isSize8||c.isSize10)&&{paddingLeft:17},(c.isSize24||c.isSize28||c.isSize32)&&{padding:"0 8px"},(c.isSize40||c.isSize48)&&{padding:"0 12px"}],primaryText:[s.primaryText,v.v,{color:i.bodyText,fontWeight:v.c.regular,fontSize:a.medium.fontSize,selectors:{":hover":{color:i.inputTextHovered}}},n&&{height:"16px",lineHeight:"16px",overflowX:"hidden"},(c.isSize8||c.isSize10)&&{fontSize:a.small.fontSize,lineHeight:r.size8},c.isSize16&&{lineHeight:r.size28},(c.isSize24||c.isSize28||c.isSize32||c.isSize40||c.isSize48)&&n&&{height:18},(c.isSize56||c.isSize72||c.isSize100||c.isSize120)&&{fontSize:a.xLarge.fontSize},(c.isSize56||c.isSize72||c.isSize100||c.isSize120)&&n&&{height:22}],secondaryText:[s.secondaryText,v.v,l,(c.isSize8||c.isSize10||c.isSize16||c.isSize24||c.isSize28||c.isSize32)&&{display:"none"},n&&{display:"block",height:"16px",lineHeight:"16px",overflowX:"hidden"},c.isSize24&&n&&{height:18},(c.isSize56||c.isSize72||c.isSize100||c.isSize120)&&{fontSize:a.medium.fontSize},(c.isSize56||c.isSize72||c.isSize100||c.isSize120)&&n&&{height:18}],tertiaryText:[s.tertiaryText,v.v,l,{display:"none",fontSize:a.medium.fontSize},(c.isSize72||c.isSize100||c.isSize120)&&{display:"block"}],optionalText:[s.optionalText,v.v,l,{display:"none",fontSize:a.medium.fontSize},(c.isSize100||c.isSize120)&&{display:"block"}],textContent:[s.textContent,v.v]}},void 0,{scope:"Persona"})},513:function(e,t,n){"use strict";n.d(t,"a",function(){return k});var o=n(520),r=n(1),i=n(12),a=n(342),s=n(485),c=n(495);var u,l=n(498),d=n(417),p=n(518),m=n(442),h=n(438),f=n(486),b=n(447),v=n(509),g=n(401),_=Object(s.a)(),y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderContent=function(e){return"string"==typeof e.content?i.createElement("p",{className:t._classNames.subText},e.content):i.createElement("div",{className:t._classNames.subText},e.content)},t}return Object(r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.calloutProps,o=e.directionalHint,a=e.directionalHintForRTL,s=e.styles,c=e.id,u=e.maxWidth,l=e.onRenderContent,d=void 0===l?this._onRenderContent:l,p=e.targetElement,m=e.theme;return this._classNames=_(s,{theme:m,className:t||n&&n.className,beakWidth:n&&n.beakWidth,gapSpace:n&&n.gapSpace,maxWidth:u}),i.createElement(v.a,Object(r.__assign)({target:p,directionalHint:o,directionalHintForRTL:a},n,Object(f.d)(this.props,f.c,["id"]),{className:this._classNames.root}),i.createElement("div",{className:this._classNames.content,id:c,role:"tooltip",onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},d(this.props,this._onRenderContent)))},t.defaultProps={directionalHint:g.a.topCenter,maxWidth:"364px",calloutProps:{isBeakVisible:!0,beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1}},t}(i.Component),C=Object(o.a)(y,function(e){var t=e.className,n=e.beakWidth,o=void 0===n?16:n,r=e.gapSpace,i=void 0===r?0:r,s=e.maxWidth,c=e.theme,u=c.semanticColors,l=c.fonts,d=c.effects,p=-(Math.sqrt(o*o/2)+i)+1/window.devicePixelRatio;return{root:["ms-Tooltip",c.fonts.medium,a.a.fadeIn200,{background:u.menuBackground,boxShadow:d.elevation8,padding:"8px",maxWidth:s,selectors:{":after":{content:"''",position:"absolute",bottom:p,left:p,right:p,top:p,zIndex:0}}},t],content:["ms-Tooltip-content",l.small,{position:"relative",zIndex:1,color:u.menuItemText,wordWrap:"break-word",overflowWrap:"break-word",overflow:"hidden"}],subText:["ms-Tooltip-subtext",{fontSize:"inherit",fontWeight:"inherit",color:"inherit",margin:0}]}},void 0,{scope:"Tooltip"});!function(e){e[e.zero=0]="zero",e[e.medium=1]="medium",e[e.long=2]="long"}(u||(u={}));var O=Object(s.a)(),x=function(e){function t(n){var o=e.call(this,n)||this;return o._tooltipHost=i.createRef(),o._defaultTooltipId=Object(c.a)("tooltip"),o.show=function(){o._toggleTooltip(!0)},o.dismiss=function(){o._hideTooltip()},o._getTargetElement=function(){if(o._tooltipHost.current){var e=o.props.overflowMode;if(void 0!==e)switch(e){case b.a.Parent:return o._tooltipHost.current.parentElement;case b.a.Self:return o._tooltipHost.current}return o._tooltipHost.current}},o._onTooltipFocus=function(e){o._ignoreNextFocusEvent?o._ignoreNextFocusEvent=!1:o._onTooltipMouseEnter(e)},o._onTooltipBlur=function(e){o._ignoreNextFocusEvent=(null===document||void 0===document?void 0:document.activeElement)===e.target,o._hideTooltip()},o._onTooltipMouseEnter=function(e){var n,r=o.props,i=r.overflowMode,a=r.delay;if(t._currentVisibleTooltip&&t._currentVisibleTooltip!==o&&t._currentVisibleTooltip.dismiss(),t._currentVisibleTooltip=o,void 0!==i){var s=o._getTargetElement();if(s&&(!function(e){return e.clientWidth<e.scrollWidth}(n=s)&&!function(e){return e.clientHeight<e.scrollHeight}(n)))return}if(!e.target||!Object(l.a)(e.target,o._getTargetElement()))if(o._clearDismissTimer(),o._clearOpenTimer(),a!==u.zero){o.setState({isAriaPlaceholderRendered:!0});var c=o._getDelayTime(a);o._openTimerId=o._async.setTimeout(function(){o._toggleTooltip(!0)},c)}else o._toggleTooltip(!0)},o._onTooltipMouseLeave=function(e){var n=o.props.closeDelay;o._clearDismissTimer(),o._clearOpenTimer(),n?o._dismissTimerId=o._async.setTimeout(function(){o._toggleTooltip(!1)},n):o._toggleTooltip(!1),t._currentVisibleTooltip===o&&(t._currentVisibleTooltip=void 0)},o._onTooltipKeyDown=function(e){(e.which===d.a.escape||e.ctrlKey)&&o.state.isTooltipVisible&&(o._hideTooltip(),e.stopPropagation())},o._clearDismissTimer=function(){o._async.clearTimeout(o._dismissTimerId)},o._clearOpenTimer=function(){o._async.clearTimeout(o._openTimerId)},o._hideTooltip=function(){o._clearOpenTimer(),o._clearDismissTimer(),o._toggleTooltip(!1)},o._toggleTooltip=function(e){o.state.isTooltipVisible!==e&&o.setState({isAriaPlaceholderRendered:!1,isTooltipVisible:e},function(){return o.props.onTooltipToggle&&o.props.onTooltipToggle(e)})},o._getDelayTime=function(e){switch(e){case u.medium:return 300;case u.long:return 500;default:return 0}},Object(p.a)(o),o.state={isAriaPlaceholderRendered:!1,isTooltipVisible:!1},o._async=new m.a(o),o}return Object(r.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.calloutProps,n=e.children,o=e.content,s=e.directionalHint,c=e.directionalHintForRTL,u=e.hostClassName,l=e.id,d=e.setAriaDescribedBy,p=void 0===d||d,m=e.tooltipProps,b=e.styles,v=e.theme;this._classNames=O(b,{theme:v,className:u});var g=this.state,_=g.isAriaPlaceholderRendered,y=g.isTooltipVisible,x=l||this._defaultTooltipId,E=!!(o||m&&m.onRenderContent&&m.onRenderContent()),k=y&&E,w=p&&y&&E?x:void 0;return i.createElement("div",Object(r.__assign)({className:this._classNames.root,ref:this._tooltipHost},{onFocusCapture:this._onTooltipFocus},{onBlurCapture:this._onTooltipBlur},{onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,"aria-describedby":w}),n,k&&i.createElement(C,Object(r.__assign)({id:x,content:o,targetElement:this._getTargetElement(),directionalHint:s,directionalHintForRTL:c,calloutProps:Object(h.a)({},t,{onDismiss:this._hideTooltip,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave}),onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},Object(f.d)(this.props,f.c),m)),_&&i.createElement("div",{id:x,style:a.r},o))},t.prototype.componentWillUnmount=function(){t._currentVisibleTooltip&&t._currentVisibleTooltip===this&&(t._currentVisibleTooltip=void 0),this._async.dispose()},t.defaultProps={delay:u.medium},t}(i.Component),E={root:"ms-TooltipHost",ariaPlaceholder:"ms-TooltipHost-aria-placeholder"},k=Object(o.a)(x,function(e){var t=e.className,n=e.theme;return{root:[Object(a.m)(E,n).root,{display:"inline"},t]}},void 0,{scope:"TooltipHost"})},514:function(e,t,n){"use strict";n.d(t,"a",function(){return I});var o=n(1),r=n(12),i=n(19),a=n(339),s=n(434),c=o.__assign;function u(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a=e;return a.isSlot?0===(n=r.Children.toArray(n)).length?a(t):a(Object(o.__assign)(Object(o.__assign)({},t),{children:n})):r.createElement.apply(r,Object(o.__spreadArrays)([e,t],n))}function l(e,t){void 0===t&&(t={});var n=t.defaultProp,a=void 0===n?"children":n;return function(t,n,u,l,d){if(r.isValidElement(n))return n;var p=function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];for(var r={},a=[],u=0,l=n;u<l.length;u++){var d=l[u];a.push(d&&d.className),c(r,d)}return r.className=Object(i.mergeCss)([e,a],{rtl:Object(s.a)(t)}),r}(l,d,t,function(e,t){var n,o;"string"==typeof t||"number"==typeof t||"boolean"==typeof t?((n={})[e]=t,o=n):o=t;return o}(a,n));if(u){if(u.component){var m=u.component;return r.createElement(m,Object(o.__assign)({},p))}if(u.render)return u.render(p,e)}return r.createElement(e,Object(o.__assign)({},p))}}var d=Object(a.b)(function(e){return l(e)});function p(e,t){var n={},o=e,r=function(e){if(t.hasOwnProperty(e)){var r=function(n){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];if(r.length>0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return m(t[e],n,o[e],o.slots&&o.slots[e],o._defaultStyles&&o._defaultStyles[e],o.theme)};r.isSlot=!0,n[e]=r}};for(var i in t)r(i);return n}function m(e,t,n,o,r,i){return void 0!==e.create?e.create(t,n,o,r):d(e)(t,n,o,r,i)}var h=n(342),f=n(413),b=n(340);function v(e,t){void 0===t&&(t={});var n=t.factoryOptions,i=(void 0===n?{}:n).defaultProp,a=function(n){var i,a,s,u=(i=t.displayName,a=r.useContext(f.a),s=t.fields,b.a.getSettings(s||["theme","styles","tokens"],i,a.customizations)),l=t.state;l&&(n=Object(o.__assign)(Object(o.__assign)({},n),l(n)));var d=n.theme||u.theme,p=function e(t,n){var r=[];for(var i=2;i<arguments.length;i++)r[i-2]=arguments[i];var a={};for(var s=0,u=r;s<u.length;s++){var l=u[s];l&&(l="function"==typeof l?l(t,n):l,Array.isArray(l)&&(l=e.apply(void 0,Object(o.__spreadArrays)([t,n],l))),c(a,l))}return a}(n,d,t.tokens,u.tokens,n.tokens),m=function(e,t,n){for(var o=[],r=3;r<arguments.length;r++)o[r-3]=arguments[r];return h.h.apply(void 0,o.map(function(o){return"function"==typeof o?o(e,t,n):o}))}(n,d,p,t.styles,u.styles,n.styles),v=Object(o.__assign)(Object(o.__assign)({},n),{styles:m,tokens:p,_defaultStyles:m,theme:d});return e(v)};return a.displayName=t.displayName||e.name,i&&(a.create=l(a,{defaultProp:i})),c(a,t.statics),a}var g=n(443),_=n(486),y=function(e,t){return t.spacing.hasOwnProperty(e)?t.spacing[e]:e},C=function(e){var t=parseFloat(e),n=isNaN(t)?0:t,o=isNaN(t)?"":t.toString();return{value:n,unit:e.substring(o.toString().length)||"px"}},O=function(e,t){if(void 0===e||"number"==typeof e||""===e)return e;var n=e.split(" ");return n.length<2?y(e,t):n.reduce(function(e,n){return y(e,t)+" "+y(n,t)})},x={start:"flex-start",end:"flex-end"},E={root:"ms-Stack",inner:"ms-Stack-inner"},k={root:"ms-StackItem"},w={start:"flex-start",end:"flex-end"},j=v(function(e){var t=e.children,n=Object(_.d)(e,_.e);return null==t?null:u(p(e,{root:"div"}).root,Object(o.__assign)({},n),t)},{displayName:"StackItem",styles:function(e,t,n){var o=e.grow,r=e.shrink,i=e.disableShrink,a=e.align,s=e.verticalFill,c=e.order,u=e.className,l=Object(h.m)(k,t);return{root:[t.fonts.medium,l.root,{margin:n.margin,padding:n.padding,height:s?"100%":"auto",width:"auto"},o&&{flexGrow:!0===o?1:o},(i||!o&&!r)&&{flexShrink:0},r&&!i&&{flexShrink:1},a&&{alignSelf:w[a]||a},c&&{order:c},u]}}});var I=v(function(e){var t=e.as,n=void 0===t?"div":t,i=e.disableShrink,a=e.wrap,s=Object(o.__rest)(e,["as","disableShrink","wrap"]);Object(g.a)("Stack",e,{gap:"tokens.childrenGap",maxHeight:"tokens.maxHeight",maxWidth:"tokens.maxWidth",padding:"tokens.padding"});var c=r.Children.map(e.children,function(e,t){if(!e)return null;if((a=e)&&"object"==typeof a&&a.type&&a.type.displayName===j.displayName){var n={shrink:!i};return r.cloneElement(e,Object(o.__assign)(Object(o.__assign)({},n),e.props))}var a;return e}),l=Object(_.d)(s,_.e),d=p(e,{root:n,inner:"div"});return u(d.root,Object(o.__assign)({},l),a?u(d.inner,null,c):c)},{displayName:"Stack",styles:function(e,t,n){var r,i,a,s,c,u,l,d=e.verticalFill,p=e.horizontal,m=e.reversed,f=e.grow,b=e.wrap,v=e.horizontalAlign,g=e.verticalAlign,_=e.disableShrink,k=e.className,w=Object(h.m)(E,t),j=n&&n.childrenGap?n.childrenGap:e.gap,I=n&&n.maxHeight?n.maxHeight:e.maxHeight,M=n&&n.maxWidth?n.maxWidth:e.maxWidth,S=n&&n.padding?n.padding:e.padding,T=function(e,t){if(void 0===e||""===e)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if("number"==typeof e)return{rowGap:{value:e,unit:"px"},columnGap:{value:e,unit:"px"}};var n=e.split(" ");if(n.length>2)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(2===n.length)return{rowGap:C(y(n[0],t)),columnGap:C(y(n[1],t))};var o=C(y(e,t));return{rowGap:o,columnGap:o}}(j,t),D=T.rowGap,P=T.columnGap,z=""+-.5*P.value+P.unit,B=""+-.5*D.value+D.unit,R={textOverflow:"ellipsis"},N={"> *:not(.ms-StackItem)":{flexShrink:_?0:1}};return b?{root:[w.root,{flexWrap:"wrap",maxWidth:M,maxHeight:I,width:"auto",overflow:"visible",height:"100%"},v&&(r={},r[p?"justifyContent":"alignItems"]=x[v]||v,r),g&&(i={},i[p?"alignItems":"justifyContent"]=x[g]||g,i),k,{display:"flex"},p&&{height:d?"100%":"auto"}],inner:[w.inner,{display:"flex",flexWrap:"wrap",marginLeft:z,marginRight:z,marginTop:B,marginBottom:B,overflow:"visible",boxSizing:"border-box",padding:O(S,t),width:0===P.value?"100%":"calc(100% + "+P.value+P.unit+")",maxWidth:"100vw",selectors:Object(o.__assign)({"> *":Object(o.__assign)({margin:""+.5*D.value+D.unit+" "+.5*P.value+P.unit},R)},N)},v&&(a={},a[p?"justifyContent":"alignItems"]=x[v]||v,a),g&&(s={},s[p?"alignItems":"justifyContent"]=x[g]||g,s),p&&{flexDirection:m?"row-reverse":"row",height:0===D.value?"100%":"calc(100% + "+D.value+D.unit+")",selectors:{"> *":{maxWidth:0===P.value?"100%":"calc(100% - "+P.value+P.unit+")"}}},!p&&{flexDirection:m?"column-reverse":"column",height:"calc(100% + "+D.value+D.unit+")",selectors:{"> *":{maxHeight:0===D.value?"100%":"calc(100% - "+D.value+D.unit+")"}}}]}:{root:[w.root,{display:"flex",flexDirection:p?m?"row-reverse":"row":m?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:d?"100%":"auto",maxWidth:M,maxHeight:I,padding:O(S,t),boxSizing:"border-box",selectors:Object(o.__assign)((c={"> *":R},c[m?"> *:not(:last-child)":"> *:not(:first-child)"]=[p&&{marginLeft:""+P.value+P.unit},!p&&{marginTop:""+D.value+D.unit}],c),N)},f&&{flexGrow:!0===f?1:f},v&&(u={},u[p?"justifyContent":"alignItems"]=x[v]||v,u),g&&(l={},l[p?"alignItems":"justifyContent"]=x[g]||g,l),k]}},statics:{Item:j}})},515:function(e,t,n){"use strict";var o=n(109),r=n(197),i=n(150),a=n(100),s=n(51),c=n(38),u="[object RegExp]";var l=function(e){return Object(c.a)(e)&&Object(s.a)(e)==u},d=n(68),p=n(101),m=p.a&&p.a.isRegExp,h=m?Object(d.a)(m):l,f=n(180),b=n(41),v=4294967295;t.a=function(e,t,n){return n&&"number"!=typeof n&&Object(a.a)(e,t,n)&&(t=n=void 0),(n=void 0===n?v:n>>>0)?(e=Object(b.a)(e))&&("string"==typeof t||null!=t&&!h(t))&&!(t=Object(o.a)(t))&&Object(i.a)(e)?Object(r.a)(Object(f.a)(e),0,n):e.split(t,n):[]}},516:function(e,t,n){"use strict";var o=9007199254740991,r=Math.floor;var i=function(e,t){var n="";if(!e||t<1||t>o)return n;do{t%2&&(n+=e),(t=r(t/2))&&(e+=e)}while(t);return n},a=n(109),s=n(197),c=n(150),u=n(268),l=n(180),d=Math.ceil;var p=function(e,t){var n=(t=void 0===t?" ":Object(a.a)(t)).length;if(n<2)return n?i(t,e):t;var o=i(t,d(e/Object(u.a)(t)));return Object(c.a)(t)?Object(s.a)(Object(l.a)(o),0,e).join(""):o.slice(0,e)},m=n(45),h=n(41);t.a=function(e,t,n){e=Object(h.a)(e);var o=(t=Object(m.a)(t))?Object(u.a)(e):0;return t&&o<t?p(t-o,n)+e:e}},517:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var o,r=n(520),i=n(1),a=n(12);!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 s=n(423),c=n(418),u=n(485),l=n(486),d=n(435),p=Object(u.a)({cacheSize:100}),m=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===c.c.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return Object(i.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.styles,c=e.iconName,u=e.imageErrorAs,m=e.theme,h="string"==typeof c&&0===c.length,f=!!this.props.imageProps||this.props.iconType===o.image||this.props.iconType===o.Image,b=Object(d.b)(c)||{},v=b.iconClassName,g=b.children,_=b.mergeImageProps,y=p(r,{theme:m,className:n,iconClassName:v,isImage:f,isPlaceholder:h}),C=f?"span":"i",O=Object(l.d)(this.props,l.e,["aria-label"]),x=this.state.imageLoadError,E=Object(i.__assign)(Object(i.__assign)({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),k=x&&u||s.a,w=this.props["aria-label"]||this.props.ariaLabel,j=E.alt||w||this.props.title,I=!!(j||this.props["aria-labelledby"]||E["aria-label"]||E["aria-labelledby"])?{role:f||_?void 0:"img","aria-label":f||_?void 0:j}:{"aria-hidden":!0},M=g;return _&&g&&"object"==typeof g&&j&&(M=a.cloneElement(g,{alt:j})),a.createElement(C,Object(i.__assign)({"data-icon-name":c},I,O,_?{title:void 0,"aria-label":void 0}:{},{className:y.root}),f?a.createElement(k,Object(i.__assign)({},E)):t||M)},t}(a.Component),h=n(414),f=Object(r.a)(m,h.c,void 0,{scope:"Icon"},!0);f.displayName="Icon"},518: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 r(e){!function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=o(e,e[n],t[n]))}(e,{componentDidMount:i,componentDidUpdate:a,componentWillUnmount:s})}function i(){c(this.props.componentRef,this)}function a(e){e.componentRef!==this.props.componentRef&&(c(e.componentRef,null),c(this.props.componentRef,this))}function s(){c(this.props.componentRef,null)}function c(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}n.d(t,"a",function(){return r})},519:function(e,t,n){"use strict";var o=n(279),r=n(69),i=n(29);var a=function(e,t,n,o,r){return r(e,function(e,r,i){n=o?(o=!1,e):t(n,e,r,i)}),n},s=n(11);t.a=function(e,t,n){var c=Object(s.a)(e)?o.a:a,u=arguments.length<3;return c(e,Object(i.a)(t,4),n,u,r.a)}},520:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o=n(1),r=n(12),i=n(19),a=n(340),s=n(413);function c(e,t){var n,o=(n=r.useState(0)[1],function(){return n(function(e){return++e})}),i=r.useContext(s.a).customizations,c=i.inCustomizerContext;return r.useEffect(function(){return c||a.a.observe(o),function(){c||a.a.unobserve(o)}},[c]),a.a.getSettings(e,t,i)}var u=["theme","styles"];function l(e,t,n,a,s){var l=(a=a||{scope:"",fields:void 0}).scope,d=a.fields,p=void 0===d?u:d,m=r.forwardRef(function(a,s){var u=r.useRef(),d=c(p,l),m=d.styles,h=(d.dir,Object(o.__rest)(d,["styles","dir"])),f=n?n(a):void 0,b=u.current&&u.current.__cachedInputs__||[];if(!u.current||m!==b[1]||a.styles!==b[2]){var v=function(e){return Object(i.concatStyleSetsWithProps)(e,t,m,a.styles)};v.__cachedInputs__=[t,m,a.styles],v.__noStyleOverride__=!m&&!a.styles,u.current=v}return r.createElement(e,Object(o.__assign)({ref:s},h,f,a,{styles:u.current}))});m.displayName="Styled"+(e.displayName||e.name);var h=s?r.memo(m):m;return m.displayName&&(h.displayName=m.displayName),h}},521:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var o=n(1),r=n(12),i=n(409),a=n(524),s=n(499),c=n(342),u=n(339),l=n(407),d=n(415),p=Object(u.b)(function(e,t){var n,o=Object(l.a)(e),r=Object(d.a)(e),i=e.palette,a={root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:{color:i.themeDarkAlt,backgroundColor:i.neutralLighter,selectors:(n={},n[c.d]={borderColor:"Highlight",color:"Highlight"},n)},rootHasMenu:{width:"auto"},rootPressed:{color:i.themeDark,backgroundColor:i.neutralLight},rootExpanded:{color:i.themeDark,backgroundColor:i.neutralLight},rootChecked:{color:i.themeDark,backgroundColor:i.neutralLight},rootCheckedHovered:{color:i.themeDark,backgroundColor:i.neutralQuaternaryAlt},rootDisabled:{color:i.neutralTertiaryAlt}};return Object(c.h)(o,a,r,t)}),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return r.createElement(i.a,Object(o.__assign)({},this.props,{variantClassName:"ms-Button--icon",styles:p(n,t),onRenderText:a.a,onRenderDescription:a.a}))},t=Object(o.__decorate)([Object(s.a)("IconButton",["theme","styles"],!0)],t)}(r.Component)},522:function(e,t,n){"use strict";n.d(t,"d",function(){return p}),n.d(t,"f",function(){return m}),n.d(t,"b",function(){return h}),n.d(t,"h",function(){return f}),n.d(t,"g",function(){return b}),n.d(t,"k",function(){return g}),n.d(t,"j",function(){return _}),n.d(t,"i",function(){return y}),n.d(t,"a",function(){return C}),n.d(t,"l",function(){return O}),n.d(t,"e",function(){return E}),n.d(t,"c",function(){return k});var o=n(419);var r=n(494),i=n(424),a=n(78),s=n(246),c="data-is-focusable",u="data-is-visible",l="data-focuszone-id",d="data-is-sub-focuszone";function p(e,t,n){return b(e,t,!0,!1,!1,n)}function m(e,t,n){return f(e,t,!0,!1,!0,n)}function h(e){var t=b(e,e,!0,!1,!1,!0);return!!t&&(function(e){if(e){if(x)return void(x=e);x=e;var t=Object(a.a)(e);t&&t.requestAnimationFrame(function(){x&&x.focus(),x=void 0})}}(t),!0)}function f(e,t,n,o,r,i,a,s){if(!t||!a&&t===e)return null;var c=v(t);if(r&&c&&(i||!_(t)&&!y(t))){var u=f(e,t.lastElementChild,!0,!0,!0,i,a,s);if(u){if(s&&g(u,!0)||!s)return u;var l=f(e,u.previousElementSibling,!0,!0,!0,i,a,s);if(l)return l;for(var d=u.parentElement;d&&d!==t;){var p=f(e,d.previousElementSibling,!0,!0,!0,i,a,s);if(p)return p;d=d.parentElement}}}if(n&&c&&g(t,s))return t;var m=f(e,t.previousElementSibling,!0,!0,!0,i,a,s);return m||(o?null:f(e,t.parentElement,!0,!1,!1,i,a,s))}function b(e,t,n,o,r,i,a,s){if(!t||t===e&&r&&!a)return null;var c=v(t);if(n&&c&&g(t,s))return t;if(!r&&c&&(i||!_(t)&&!y(t))){var u=b(e,t.firstElementChild,!0,!0,!1,i,a,s);if(u)return u}if(t===e)return null;var l=b(e,t.nextElementSibling,!0,!0,!1,i,a,s);return l||(o?null:b(e,t.parentElement,!1,!1,!0,i,a,s))}function v(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute(u);return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function g(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 r=e.getAttribute?e.getAttribute(c):null,i=null!==o&&n>=0,a=!!e&&"false"!==r&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===r||i);return t?-1!==n&&a:a}function _(e){return!!(e&&e.getAttribute&&e.getAttribute(l))}function y(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute(d))}function C(e){var t=Object(s.a)(e),n=t&&t.activeElement;return!(!n||!Object(r.a)(e,n))}function O(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 x=void 0;function E(e,t){for(var n=e,o=0,r=t;o<r.length;o++){var i=r[o],a=n.children[Math.min(i,n.children.length-1)];if(!a)break;n=a}return n=g(n)&&v(n)?n:b(e,n,!0)||f(e,n)}function k(e,t){for(var n=[];t&&e&&t!==e;){var o=Object(i.a)(t,!0);if(null===o)return[];n.unshift(Array.prototype.indexOf.call(o.children,t)),t=o}return n}},523:function(e,t,n){"use strict";n.d(t,"b",function(){return d}),n.d(t,"a",function(){return p});var o,r=n(12),i=n(78),a=n(417),s=((o={})[a.a.up]=1,o[a.a.down]=1,o[a.a.left]=1,o[a.a.right]=1,o[a.a.home]=1,o[a.a.end]=1,o[a.a.tab]=1,o[a.a.pageUp]=1,o[a.a.pageDown]=1,o);var c=n(343),u=new WeakMap;function l(e,t){var n,o=u.get(e);return n=o?o+t:1,u.set(e,n),n}function d(e){r.useEffect(function(){var t,n=Object(i.a)(null==e?void 0:e.current);if(n&&!0!==(null===(t=n.FabricConfig)||void 0===t?void 0:t.disableFocusRects)){var o=l(n,1);return o<=1&&(n.addEventListener("mousedown",m,!0),n.addEventListener("pointerdown",h,!0),n.addEventListener("keydown",f,!0)),function(){var e;n&&!0!==(null===(e=n.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(o=l(n,-1))&&(n.removeEventListener("mousedown",m,!0),n.removeEventListener("pointerdown",h,!0),n.removeEventListener("keydown",f,!0))}}},[e])}var p=function(e){return d(e.rootRef),null};function m(e){Object(c.b)(!1,e.target)}function h(e){"mouse"!==e.pointerType&&Object(c.b)(!1,e.target)}function f(e){var t;t=e.which,s[t]&&Object(c.b)(!0,e.target)}},524:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o=n(1),r=n(12),i=n(442),a=n(437),s=n(446);var c=n(443);!function(e){function t(n,o){var r=e.call(this,n,o)||this;return function(e,t,n){for(var o=0,r=n.length;o<r;o++)u(e,t,n[o])}(r,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),r}Object(o.__extends)(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:!1,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new i.a(this),this._disposables.push(this.__async)),this.__async},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new a.a(this),this._disposables.push(this.__events)),this.__events},enumerable:!1,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){Object(c.a)(this.className,this.props,e)},t.prototype._warnMutuallyExclusive=function(e){this.className,this.props},t.prototype._warnConditionallyRequiredProps=function(e,t,n){Object(s.a)(this.className,this.props,e,t,n)},t.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))}}(r.Component);function u(e,t,n){var o=e[n],r=t[n];(o||r)&&(e[n]=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r&&(e=r.apply(this,t)),o!==r&&(e=o.apply(this,t)),e})}function l(){return null}},525:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var o=n(1),r=n(12),i=n(409),a=n(524),s=n(499),c=n(342),u=n(339),l=n(407),d=Object(u.b)(function(e,t){var n,o,r,i=Object(l.a)(e),a={root:{padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent",selectors:(n={},n[c.d]={borderColor:"Window"},n)},rootHovered:{color:e.palette.themePrimary,selectors:(o={},o[c.d]={color:"Highlight"},o)},iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:{color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent",selectors:(r={},r[c.d]={color:"GrayText"},r)},rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}};return Object(c.h)(i,a,t)}),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return r.createElement(i.a,Object(o.__assign)({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:d(n,t),onRenderDescription:a.a}))},t=Object(o.__decorate)([Object(s.a)("ActionButton",["theme","styles"],!0)],t)}(r.Component)},526:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o=n(246),r=n(12),i=r.createContext({window:"object"==typeof window?window:void 0}),a=function(){return r.useContext(i).window};function s(e,t){var n=r.useRef(),i=r.useRef(null),s=a();if(!e||e!==n.current||"string"==typeof e){var c=null==t?void 0:t.current;if(e)if("string"==typeof e){var u=Object(o.a)(c);i.current=u?u.querySelector(e):null}else i.current="stopPropagation"in e?e:"getBoundingClientRect"in e?e:"current"in e?e.current:e;n.current=e}return[i,s]}},527:function(e,t,n){"use strict";n.d(t,"a",function(){return P});var o=n(1),r=n(12),i=n(441),a=n(489),s=n(522),c=n(424),u=n(417),l=n(434),d=n(518),p=n(495),m=n(78),h=n(486),f=n(487),b=n(494);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 g,_=n(496),y=n(498),C=n(246),O=n(19),x=n(342),E="data-no-vertical-wrap",k="data-no-horizontal-wrap",w=999999999,j=-999999999,I="ms-FocusZone";var M={},S=new Set,T=["text","number","password","email","tel","url","search"],D=!1,P=function(e){function t(t){var n=e.call(this,t)||this;return n._root=r.createRef(),n._mergedRef=Object(a.a)(),n._onFocus=function(e){if(!n._portalContainsElement(e.target)){var t,o=n.props,r=o.onActiveElementChanged,i=o.doNotAllowFocusEventToPropagate,a=o.stopFocusPropagation,u=o.onFocusNotification,l=o.onFocus,d=o.shouldFocusInnerElementWhenReceivedFocus,p=o.defaultTabbableElement,m=n._isImmediateDescendantOfZone(e.target);if(m)t=e.target;else for(var h=e.target;h&&h!==n._root.current;){if(Object(s.k)(h)&&n._isImmediateDescendantOfZone(h)){t=h;break}h=Object(c.a)(h,D)}if(d&&e.target===n._root.current){var f=p&&"function"==typeof p&&p(n._root.current);f&&Object(s.k)(f)?(t=f,f.focus()):(n.focus(!0),n._activeElement&&(t=null))}var b=!n._activeElement;t&&t!==n._activeElement&&((m||b)&&n._setFocusAlignment(t,!0,!0),n._activeElement=t,b&&n._updateTabIndexes()),r&&r(n._activeElement,e),(a||i)&&e.stopPropagation(),l?l(e):u&&u()}},n._onBlur=function(){n._setParkedFocus(!1)},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(c.a)(t,D);for(;o.length&&((t=o.pop())&&Object(s.k)(t)&&n._setActiveElement(t,!0),!Object(s.j)(t)););}},n._onKeyDown=function(e,t){if(!n._portalContainsElement(e.target)){var o=n.props,r=o.direction,a=o.disabled,c=o.isInnerZoneKeystroke,d=o.pagingSupportDisabled,p=o.shouldEnterInnerZone;if(!(a||(n.props.onKeyDown&&n.props.onKeyDown(e),e.isDefaultPrevented()||n._getDocument().activeElement===n._root.current&&n._isInnerZone))){if((p&&p(e)||c&&c(e))&&n._isImmediateDescendantOfZone(e.target)){var m=n._getFirstInnerZone();if(m){if(!m.focus(!0))return}else{if(!Object(s.i)(e.target))return;if(!n.focusElement(Object(s.g)(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(r!==i.a.vertical&&(n._preventDefaultWhenHandled(e),n._moveFocusLeft(t)))break;return;case u.a.right:if(r!==i.a.vertical&&(n._preventDefaultWhenHandled(e),n._moveFocusRight(t)))break;return;case u.a.up:if(r!==i.a.horizontal&&(n._preventDefaultWhenHandled(e),n._moveFocusUp()))break;return;case u.a.down:if(r!==i.a.horizontal&&(n._preventDefaultWhenHandled(e),n._moveFocusDown()))break;return;case u.a.pageDown:if(!d&&n._moveFocusPaging(!0))break;return;case u.a.pageUp:if(!d&&n._moveFocusPaging(!1))break;return;case u.a.tab:if(n.props.allowTabKey||n.props.handleTabKey===i.b.all||n.props.handleTabKey===i.b.inputOnly&&n._isElementInput(e.target)){var h=!1;if(n._processingTabKey=!0,r!==i.a.vertical&&n._shouldWrapFocus(n._activeElement,k))h=(Object(l.a)(t)?!e.shiftKey:e.shiftKey)?n._moveFocusLeft(t):n._moveFocusRight(t);else h=e.shiftKey?n._moveFocusUp():n._moveFocusDown();if(n._processingTabKey=!1,h)break;n.props.shouldResetActiveElementWhenTabFromZone&&(n._activeElement=null)}return;case u.a.home:if(n._isContentEditableElement(e.target)||n._isElementInput(e.target)&&!n._shouldInputLoseFocus(e.target,!1))return!1;var f=n._root.current&&n._root.current.firstChild;if(n._root.current&&f&&n.focusElement(Object(s.g)(n._root.current,f,!0)))break;return;case u.a.end:if(n._isContentEditableElement(e.target)||n._isElementInput(e.target)&&!n._shouldInputLoseFocus(e.target,!0))return!1;var b=n._root.current&&n._root.current.lastChild;if(n._root.current&&n.focusElement(Object(s.h)(n._root.current,b,!0,!0,!0)))break;return;case u.a.enter:if(n._tryInvokeClickForFocusable(e.target))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},n._getHorizontalDistanceFromCenter=function(e,t,o){var r=n._focusAlignment.left||n._focusAlignment.x||0,i=Math.floor(o.top),a=Math.floor(t.bottom),s=Math.floor(o.bottom),c=Math.floor(t.top);return e&&i>a||!e&&s<c?r>=o.left&&r<=o.left+o.width?0:Math.abs(o.left+o.width/2-r):n._shouldWrapFocus(n._activeElement,E)?w:j},Object(d.a)(n),n._id=Object(p.a)("FocusZone"),n._focusAlignment={left:0,top:0},n._processingTabKey=!1,n}return Object(o.__extends)(t,e),t.getOuterZones=function(){return S.size},t._onKeyDownCapture=function(e){e.which===u.a.tab&&S.forEach(function(e){return e._updateTabIndexes()})},t.prototype.componentDidMount=function(){var e=this._root.current;if(M[this._id]=this,e){this._windowElement=Object(m.a)(e);for(var n=Object(c.a)(e,D);n&&n!==this._getDocument().body&&1===n.nodeType;){if(Object(s.j)(n)){this._isInnerZone=!0;break}n=Object(c.a)(n,D)}this._isInnerZone||(S.add(this),this._windowElement&&1===S.size&&this._windowElement.addEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0),this._updateTabIndexes(),this.props.defaultTabbableElement&&"string"==typeof this.props.defaultTabbableElement?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement)),this.props.shouldFocusOnMount&&this.focus()}},t.prototype.componentDidUpdate=function(){var e=this._root.current,t=this._getDocument();if(t&&this._lastIndexPath&&(t.activeElement===t.body||null===t.activeElement||!this.props.preventFocusRestoration&&t.activeElement===e)){var n=Object(s.e)(e,this._lastIndexPath);n?(this._setActiveElement(n,!0),n.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete M[this._id],this._isInnerZone||(S.delete(this),this._windowElement&&0===S.size&&this._windowElement.removeEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},t.prototype.render=function(){var e=this,t=this.props,n=t.as,i=t.elementType,a=t.rootProps,s=t.ariaDescribedBy,c=t.ariaLabelledBy,u=t.className,l=Object(h.d)(this.props,h.e),d=n||i||"div";this._evaluateFocusBeforeRender();var p=Object(x.q)();return r.createElement(d,Object(o.__assign)({"aria-labelledby":c,"aria-describedby":s},l,a,{className:Object(f.a)((g||(g=Object(O.mergeStyles)({selectors:{":focus":{outline:"none"}}},I)),g),u),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(t){return e._onKeyDown(t,p)},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=M[t.getAttribute("data-focuszone-id")];return!!n&&n.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&Object(b.a)(this._root.current,this._activeElement)&&Object(s.k)(this._activeElement))return this._activeElement.focus(),!0;var o=this._root.current.firstChild;return this.focusElement(Object(s.g)(this._root.current,o,!0))}return!1},t.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement(Object(s.h)(this._root.current,e,!0,!0,!0))}return!1},t.prototype.focusElement=function(e,t){var n=this.props,o=n.onBeforeFocus,r=n.shouldReceiveFocus;return!(r&&!r(e)||o&&!o(e))&&(!!e&&(this._setActiveElement(e,t),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(b.a)(e,n,!1);this._lastIndexPath=o?Object(s.c)(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.j)(n)&&this._updateTabIndexes(n),n.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},t.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()},t.prototype._tryInvokeClickForFocusable=function(e){if(e===this._root.current||!this.props.shouldRaiseClicks)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(c.a)(e,D)}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.j)(e))return M[e.getAttribute("data-focuszone-id")];for(var t=e.firstElementChild;t;){if(Object(s.j)(t))return M[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 r=this._activeElement,a=-1,c=void 0,u=!1,l=this.props.direction===i.a.bidirectional;if(!r||!this._root.current)return!1;if(this._isElementInput(r)&&!this._shouldInputLoseFocus(r,e))return!1;var d=l?r.getBoundingClientRect():null;do{if(r=e?Object(s.g)(this._root.current,r):Object(s.h)(this._root.current,r),!l){c=r;break}if(r){var p=t(d,r.getBoundingClientRect());if(-1===p&&-1===a){c=r;break}if(p>-1&&(-1===a||p<a)&&(a=p,c=r),a>=0&&p<0)break}}while(r);if(c&&c!==this._activeElement)u=!0,this.focusElement(c);else if(this.props.isCircularNavigation&&o)return e?this.focusElement(Object(s.g)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Object(s.h)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return u},t.prototype._moveFocusDown=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,function(o,r){var i=-1,a=Math.floor(r.top),s=Math.floor(o.bottom);return a<s?e._shouldWrapFocus(e._activeElement,E)?w:j:((-1===t&&a>=s||a===t)&&(t=a,i=n>=r.left&&n<=r.left+r.width?0:Math.abs(r.left+r.width/2-n)),i)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,function(o,r){var i=-1,a=Math.floor(r.bottom),s=Math.floor(r.top),c=Math.floor(o.top);return a>c?e._shouldWrapFocus(e._activeElement,E)?w:j:((-1===t&&a<=c||s===t)&&(t=s,i=n>=r.left&&n<=r.left+r.width?0:Math.abs(r.left+r.width/2-n)),i)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusLeft=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,k);return!!this._moveFocus(Object(l.a)(e),function(o,r){var a=-1;return(Object(l.a)(e)?parseFloat(r.top.toFixed(3))<parseFloat(o.bottom.toFixed(3)):parseFloat(r.bottom.toFixed(3))>parseFloat(o.top.toFixed(3)))&&r.right<=o.right&&t.props.direction!==i.a.vertical?a=o.right-r.right:n||(a=j),a},void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,k);return!!this._moveFocus(!Object(l.a)(e),function(o,r){var a=-1;return(Object(l.a)(e)?parseFloat(r.bottom.toFixed(3))>parseFloat(o.top.toFixed(3)):parseFloat(r.top.toFixed(3))<parseFloat(o.bottom.toFixed(3)))&&r.left>=o.left&&t.props.direction!==i.a.vertical?a=r.left-o.left:n||(a=j),a},void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0);var n=this._activeElement;if(!n||!this._root.current)return!1;if(this._isElementInput(n)&&!this._shouldInputLoseFocus(n,e))return!1;var o=Object(_.a)(n);if(!o)return!1;var r=-1,i=void 0,a=-1,c=-1,u=o.clientHeight,l=n.getBoundingClientRect();do{if(n=e?Object(s.g)(this._root.current,n):Object(s.h)(this._root.current,n)){var d=n.getBoundingClientRect(),p=Math.floor(d.top),m=Math.floor(l.bottom),h=Math.floor(d.bottom),f=Math.floor(l.top),b=this._getHorizontalDistanceFromCenter(e,l,d);if(e&&p>m+u||!e&&h<f-u)break;b>-1&&(e&&p>a?(a=p,r=b,i=n):!e&&h<c?(c=h,r=b,i=n):(-1===r||b<=r)&&(r=b,i=n))}}while(n);var v=!1;if(i&&i!==this._activeElement)v=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)return e?this.focusElement(Object(s.g)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Object(s.h)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return v},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===i.a.bidirectional&&(!this._focusAlignment||t||n)){var o=e.getBoundingClientRect(),r=o.left+o.width/2,a=o.top+o.height/2;this._focusAlignment||(this._focusAlignment={left:r,top:a}),t&&(this._focusAlignment.left=r),n&&(this._focusAlignment.top=a)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=Object(c.a)(e,D);t&&t!==this._root.current&&t!==this._getDocument().body;){if(Object(s.j)(t))return t;t=Object(c.a)(t,D)}return t},t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!Object(b.a)(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!Object(s.k)(this._activeElement)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var o=t[n];Object(s.j)(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.k)(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._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},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&&T.indexOf(e.type.toLowerCase())>-1){var n=e.selectionStart,o=n!==e.selectionEnd,r=e.value,i=e.readOnly;if(o||n>0&&!t&&!i||n!==r.length&&t&&!i||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.l)(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&Object(y.a)(e,this._root.current)},t.prototype._getDocument=function(){return Object(C.a)(this._root.current)},t.defaultProps={isCircularNavigation:!1,direction:i.a.bidirectional,shouldRaiseClicks:!0},t}(r.Component)}}]);