var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,o=1,n=arguments.length;o at the app root?");var t=y?function(e,t){var o=[];if("undefined"==typeof Proxy)return o;var n=new Proxy({theme:1i(t,o)});return-1!==n?function(e,t,o){return[].concat($(e.slice(0,o)),[t],$(e.slice(o,e.length)))}(e,o,n):[].concat(function(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);tc){d=p;break}var m,f=Y(n,r);0=0;s--)(r=e[s])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}function z(e,t,o){if(o||2===arguments.length)for(var n,r=0,i=t.length;r=0)e(r.split(" "));else{var i=l.argsFromClassName(r);i?e(i):-1===a.indexOf(r)&&a.push(r)}else Array.isArray(r)?e(r):"object"==typeof r&&s.push(r)}}(t),{classes:a,objects:s}}function f(e){d!==e&&(d=e)}function y(){return void 0===d&&(d="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),d}function _(){return{rtl:y(),shadowConfig:h}}d=y();var S,x={none:0,insertNode:1,appendChild:2},k="__stylesheet__",w="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),I={};try{I=window||{}}catch(M){}var D,E=function(){function n(e,t){var o,n,r,i,a,s;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=pt({injectionMode:"undefined"==typeof document?x.none:x.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(o=null==t?void 0:t.classNameToArgs)&&void 0!==o?o:this._classNameToArgs,this._counter=null!==(n=null==t?void 0:t.counter)&&void 0!==n?n:this._counter,this._keyToClassName=null!==(i=null!==(r=this._config.classNameCache)&&void 0!==r?r:null==t?void 0:t.keyToClassName)&&void 0!==i?i:this._keyToClassName,this._preservedRules=null!==(a=null==t?void 0:t.preservedRules)&&void 0!==a?a:this._preservedRules,this._rules=null!==(s=null==t?void 0:t.rules)&&void 0!==s?s:this._rules}return n.getInstance=function(e){if(S=I[k],I[p])return I[p].getInstance(e);if(!S||S._lastStyleElement&&S._lastStyleElement.ownerDocument!==document){var t=(null==I?void 0:I.FabricConfig)||{},o=new n(t.mergeStyles,t.serializedStylesheet);S=o,I[k]=o}return S},n.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},n.prototype.setConfig=function(e){this._config=pt(pt({},this._config),e)},n.prototype.onReset=function(t){var e=this;return this._onResetCallbacks.push(t),function(){e._onResetCallbacks=e._onResetCallbacks.filter(function(e){return e!==t})}},n.prototype.onInsertRule=function(t){var e=this;return this._onInsertRuleCallbacks.push(t),function(){e._onInsertRuleCallbacks=e._onInsertRuleCallbacks.filter(function(e){return e!==t})}},n.prototype.getClassName=function(e){var t=this._config.namespace,o=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(o,"-").concat(this._counter++)},n.prototype.cacheClassName=function(e,t,o,n){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:o,rules:n}},n.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},n.prototype.getClassNameCache=function(){return this._keyToClassName},n.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},n.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},n.prototype.insertRule=function(t,e,o){void 0===o&&(o=b);var n=this._config.injectionMode,r=n!==x.none?this._getStyleElement():void 0;if(e&&this._preservedRules.push(t),r)switch(n){case x.insertNode:this._insertRuleIntoSheet(r.sheet,t);break;case x.appendChild:r.appendChild(document.createTextNode(t))}else this._rules.push(t);this._config.onInsertRule&&this._config.onInsertRule(t),this._onInsertRuleCallbacks.forEach(function(e){return e({key:o,sheet:r?r.sheet:void 0,rule:t})})},n.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},n.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach(function(e){return e()})},n.prototype.resetKeys=function(){this._keyToClassName={}},n.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,o=t.head,n=t.createElement("style"),r=null;n.setAttribute("data-merge-styles","true");var i=this._config.cspSettings;if(i&&i.nonce&&n.setAttribute("nonce",i.nonce),this._lastStyleElement)r=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();r=a?a.nextElementSibling:o.childNodes[0]}return o.insertBefore(n,o.contains(r)?r:null),this._lastStyleElement=n,n},n.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},n.prototype._getCacheKey=function(e){return e},n.prototype._getStyleElement=function(){var e=this;return this._styleElement||(this._styleElement=this._createStyleElement(),w||(this._config.window||window).requestAnimationFrame(function(){e._styleElement=void 0})),this._styleElement},n.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},n}(),T={},P={"user-select":1};function R(e,t){var o=function(){var e;if(!D){var t="undefined"!=typeof document?document:void 0,o="undefined"!=typeof navigator?navigator:void 0,n=null===(e=null==o?void 0:o.userAgent)||void 0===e?void 0:e.toLowerCase();D=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(n&&n.indexOf("firefox")>-1),isOpera:!!(n&&n.indexOf("opera")>-1),isMs:!(!o||!/rv:11.0/i.test(o.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return D}(),n=e[t];if(P[n]){var r=e[t+1];P[n]&&(o.isWebkit&&e.push("-webkit-"+n,r),o.isMoz&&e.push("-moz-"+n,r),o.isMs&&e.push("-ms-"+n,r),o.isOpera&&e.push("-o-"+n,r))}}var M,N=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function B(e,t){var o=e[t],n=e[t+1];if("number"==typeof n){var r=N.indexOf(o)>-1,i=o.indexOf("--")>-1,a=r||i?"":"px";e[t+1]="".concat(n).concat(a)}}var A="left",F="right",L="@noflip",O=((M={})[A]=F,M[F]=A,M),H={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function W(e,t,o){if(e.rtl){var n=t[o];if(!n)return;var r=t[o+1];if("string"==typeof r&&r.indexOf(L)>=0)t[o+1]=r.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(n.indexOf(A)>=0)t[o]=n.replace(A,F);else if(n.indexOf(F)>=0)t[o]=n.replace(F,A);else if(String(r).indexOf(A)>=0)t[o+1]=r.replace(A,F);else if(String(r).indexOf(F)>=0)t[o+1]=r.replace(F,A);else if(O[n])t[o]=O[n];else if(H[r])t[o+1]=H[r];else switch(n){case"margin":case"padding":t[o+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(r);break;case"box-shadow":t[o+1]=function(e,t){var o=e.split(" "),n=parseInt(o[0],10);return o[0]=o[0].replace(String(n),String(-1*n)),o.join(" ")}(r)}}}var V="displayName",K=/\:global\((.+?)\)/g;function G(e,t){return e.indexOf(":global(")>=0?e.replace(K,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function U(t,o,e,n,r){void 0===o&&(o={__order:[]}),0===e.indexOf("@")?j([n],o,e=e+"{"+t,r):e.indexOf(",")>-1?function(e){if(!K.test(e))return e;for(var t=[],o=/\:global\((.+?)\)/g,n=null;n=o.exec(e);)n[1].indexOf(",")>-1&&t.push([n.index,n.index+n[0].length,n[1].split(",").map(function(e){return":global(".concat(e.trim(),")")}).join(", ")]);return t.reverse().reduce(function(e,t){var o=t[0],n=t[1],r=t[2];return e.slice(0,o)+r+e.slice(n)},e)}(e).split(",").map(function(e){return e.trim()}).forEach(function(e){return j([n],o,G(e,t),r)}):j([n],o,G(e,t),r)}function j(e,t,o,n){void 0===t&&(t={__order:[]}),void 0===o&&(o="&");var r,i=t[o];i||(i={},t[o]=i,t.__order.push(o));for(var a=0,s=e;a=0||0===r.indexOf(":")?null!=d&&U(o,t,u,d,n):void 0!==d&&("margin"===u||"padding"===u?q(i,u,d):i[u]=d)}}return t}function q(e,t,o){var n="string"==typeof o?function(e){for(var t=[],o=0,n=0,r=0;ro&&t.push(e.substring(o,r)),o=r+1)}return oo&&t.push({rawString:e.substring(o,r)}),t.push({theme:n[1],defaultValue:n[2]}),o=zt.lastIndex}t.push({rawString:e.substring(o)})}return t}(i),t=Ht.runState,o=t.mode,n=t.buffer,r=t.flushTimer;a||1===o?(n.push(e),r||(Ht.runState.flushTimer=setTimeout(function(){Ht.runState.flushTimer=0,Vt(function(){var e=Ht.runState.buffer.slice();Ht.runState.buffer=[];var t=[].concat.apply([],e);t.length>0&&Gt(t)})},0))):Gt(e)})}function Gt(e,t){Ht.loadStyles?Ht.loadStyles(jt(e).styleString,e):function(e){if("undefined"!=typeof document){var t=document.getElementsByTagName("head")[0],o=document.createElement("style"),n=jt(e),r=n.styleString,i=n.themable;o.setAttribute("data-load-themed-styles","true"),o.type="text/css",Ot&&o.setAttribute("nonce",Ot),o.appendChild(document.createTextNode(r)),Ht.perf.count++,t.appendChild(o);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1),a.args={newStyle:o},document.dispatchEvent(a);var s={styleElement:o,themableStyle:e};i?Ht.registeredThemableStyles.push(s):Ht.registeredStyles.push(s)}}(e)}function Ut(e){e.forEach(function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)})}function jt(e){var r=Ht.theme,i=!1;return{styleString:(e||[]).map(function(e){var t=e.theme;if(t){i=!0;var o=r?r[t]:void 0,n=e.defaultValue||"inherit";return r&&!o&&console&&!(t in r)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'+t+'". Falling back to "'+n+'".'),o||n}return e.rawString}).join(""),themable:i}}!function(e){e.depth0="0 0 0 0 transparent",e.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",e.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",e.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",e.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)"}(Pt||(Pt={}));var qt={elevation4:Pt.depth4,elevation8:Pt.depth8,elevation16:Pt.depth16,elevation64:Pt.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"};function Yt(e){for(var t=[],o=1;o-1;e[n]=i?r:Zt(e[n]||{},r,o)}}return o.pop(),e}function Xt(e,t,o,n,r){return void 0===r&&(r=!1),function(e,t){var o="";return!0===t&&(o=" /* @deprecated */"),e.listTextColor=e.listText+o,e.menuItemBackgroundChecked+=o,e.warningHighlight+=o,e.warningText=e.messageText+o,e.successText+=o,e}(Qt(e,t,pt({primaryButtonBorder:"transparent",errorText:n?"#F1707B":"#a4262c",messageText:n?"#F3F2F1":"#323130",messageLink:n?"#6CB8F6":"#005A9E",messageLinkHovered:n?"#82C7FF":"#004578",infoIcon:n?"#C8C6C4":"#605e5c",errorIcon:n?"#F1707B":"#A80000",blockingIcon:n?"#442726":"#FDE7E9",warningIcon:n?"#C8C6C4":"#797775",severeWarningIcon:n?"#FCE100":"#D83B01",successIcon:n?"#92C353":"#107C10",infoBackground:n?"#323130":"#f3f2f1",errorBackground:n?"#442726":"#FDE7E9",blockingBackground:n?"#442726":"#FDE7E9",warningBackground:n?"#433519":"#FFF4CE",severeWarningBackground:n?"#4F2A0F":"#FED9CC",successBackground:n?"#393D1B":"#DFF6DD",warningHighlight:n?"#fff100":"#ffb900",successText:n?"#92c353":"#107C10"},o),n),r)}function Qt(e,t,o,n,r){void 0===r&&(r=!1);var i={},a=e||{},s=a.white,l=a.black,c=a.themePrimary,u=a.themeDark,d=a.themeDarker,p=a.themeDarkAlt,h=a.themeLighter,m=a.neutralLight,f=a.neutralLighter,g=a.neutralDark,v=a.neutralQuaternary,b=a.neutralQuaternaryAlt,y=a.neutralPrimary,C=a.neutralSecondary,_=a.neutralSecondaryAlt,S=a.neutralTertiary,x=a.neutralTertiaryAlt,k=a.neutralLighterAlt,w=a.accent;return s&&(i.bodyBackground=s,i.bodyFrameBackground=s,i.accentButtonText=s,i.buttonBackground=s,i.primaryButtonText=s,i.primaryButtonTextHovered=s,i.primaryButtonTextPressed=s,i.inputBackground=s,i.inputForegroundChecked=s,i.listBackground=s,i.menuBackground=s,i.cardStandoutBackground=s),l&&(i.bodyTextChecked=l,i.buttonTextCheckedHovered=l),c&&(i.link=c,i.primaryButtonBackground=c,i.inputBackgroundChecked=c,i.inputIcon=c,i.inputFocusBorderAlt=c,i.menuIcon=c,i.menuHeader=c,i.accentButtonBackground=c),u&&(i.primaryButtonBackgroundPressed=u,i.inputBackgroundCheckedHovered=u,i.inputIconHovered=u),d&&(i.linkHovered=d),p&&(i.primaryButtonBackgroundHovered=p),h&&(i.inputPlaceholderBackgroundChecked=h),m&&(i.bodyBackgroundChecked=m,i.bodyFrameDivider=m,i.bodyDivider=m,i.variantBorder=m,i.buttonBackgroundCheckedHovered=m,i.buttonBackgroundPressed=m,i.listItemBackgroundChecked=m,i.listHeaderBackgroundPressed=m,i.menuItemBackgroundPressed=m,i.menuItemBackgroundChecked=m),f&&(i.bodyBackgroundHovered=f,i.buttonBackgroundHovered=f,i.buttonBackgroundDisabled=f,i.buttonBorderDisabled=f,i.primaryButtonBackgroundDisabled=f,i.disabledBackground=f,i.listItemBackgroundHovered=f,i.listHeaderBackgroundHovered=f,i.menuItemBackgroundHovered=f),v&&(i.primaryButtonTextDisabled=v,i.disabledSubtext=v),b&&(i.listItemBackgroundCheckedHovered=b),S&&(i.disabledBodyText=S,i.variantBorderHovered=(null==o?void 0:o.variantBorderHovered)||S,i.buttonTextDisabled=S,i.inputIconDisabled=S,i.disabledText=S),y&&(i.bodyText=y,i.actionLink=y,i.buttonText=y,i.inputBorderHovered=y,i.inputText=y,i.listText=y,i.menuItemText=y),k&&(i.bodyStandoutBackground=k,i.defaultStateBackground=k),g&&(i.actionLinkHovered=g,i.buttonTextHovered=g,i.buttonTextChecked=g,i.buttonTextPressed=g,i.inputTextHovered=g,i.menuItemTextHovered=g),C&&(i.bodySubtext=C,i.focusBorder=C,i.inputBorder=C,i.smallInputBorder=C,i.inputPlaceholderText=C),_&&(i.buttonBorder=_),x&&(i.disabledBodySubtext=x,i.disabledBorder=x,i.buttonBackgroundChecked=x,i.menuDivider=x),w&&(i.accentButtonBackground=w),(null==t?void 0:t.elevation4)&&(i.cardShadow=t.elevation4),!n&&(null==t?void 0:t.elevation8)?i.cardShadowHovered=t.elevation8:i.variantBorderHovered&&(i.cardShadowHovered="0 0 1px "+i.variantBorderHovered),pt(pt({},i),o)}function Jt(e,t){var o,n,r;void 0===t&&(t={});var i=Yt({},e,t,{semanticColors:Qt(t.palette,t.effects,t.semanticColors,void 0===t.isInverted?e.isInverted:t.isInverted)});if((null===(o=t.palette)||void 0===o?void 0:o.themePrimary)&&!(null===(n=t.palette)||void 0===n?void 0:n.accent)&&(i.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var a=0,s=Object.keys(i.fonts);a0&&(void 0===(r=1)&&(r=3),3!==r&&2!==r||(Ut(Ht.registeredStyles),Ht.registeredStyles=[]),3!==r&&1!==r||(Ut(Ht.registeredThemableStyles),Ht.registeredThemableStyles=[]),Gt([].concat.apply([],e)))}var r}()}(pt(pt(pt(pt({},to.palette),to.semanticColors),to.effects),function(e){for(var t={},o=0,n=Object.keys(e.fonts);o0&&u>s)&&(c=To(),u=0,d=Co),n=c;for(var r=0;r10?" (+ ".concat(Tn.length-10," more)"):"")),Pn=void 0,Tn=[]},2e3)))}var Mn={display:"inline-block"};function Nn(e){var t="",o=Dn(e);return o&&(t=de(o.subset.className,Mn,{selectors:{"::before":{content:'"'.concat(o.code,'"')}}})),t}function Bn(){for(var e=[],t=0;t0){o.subComponentStyles={};var p=o.subComponentStyles,h=function(e){if(n.hasOwnProperty(e)){var o=n[e];p[e]=function(t){return Bn.apply(void 0,o.map(function(e){return"function"==typeof e?e(t):e}))}}};for(var c in n)h(c)}return o}function An(e){for(var t=[],o=1;o(u.cacheSize||pr)){var c=ut();(null===(o=null==c?void 0:c.FabricConfig)||void 0===o?void 0:o.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is ".concat(p,"/").concat(h,".")),console.trace()),d.get(r).clear(),p=0,u.disableCaching=!0}return i[gr]}}function br(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 yr(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var o=0,n=t.__cachedInputs__;o=0||0===s.indexOf("data-")||0===s.indexOf("aria-"))||o&&-1!==(null==o?void 0:o.indexOf(s))||(r[s]=e[s])}return r}var Yr,Zr,Xr,Qr,Jr=/[\(\[\{\<][^\)\]\}\>]*[\)\]\}\>]/g,$r=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,ei=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,ti=/\s+/g,oi=/[\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 ni(e,t,o){return e?(e=function(e){return(e=(e=(e=e.replace(Jr,"")).replace($r,"")).replace(ti," ")).trim()}(e),oi.test(e)||!o&&ei.test(e)?"":function(e,t){var o="",n=e.split(" ");return 2===n.length?(o+=n[0].charAt(0).toUpperCase(),o+=n[1].charAt(0).toUpperCase()):3===n.length?(o+=n[0].charAt(0).toUpperCase(),o+=n[2].charAt(0).toUpperCase()):0!==n.length&&(o+=n[0].charAt(0).toUpperCase()),t&&o.length>1?o.charAt(1)+o.charAt(0):o}(e,t)):""}!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(Yr||(Yr={})),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"}(Zr||(Zr={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(Xr||(Xr={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(Qr||(Qr={}));var ri=at()?ht.useLayoutEffect:ht.useEffect;function ii(){for(var r=[],e=0;e0&&t.current.naturalHeight>0||t.current.complete&&si.test(i))&&l(Qr.loaded)}),ht.useEffect(function(){null==o||o(s)},[s]);var c=ht.useCallback(function(e){null==n||n(e),i&&l(Qr.loaded)},[i,n]),u=ht.useCallback(function(e){null==r||r(e),l(Qr.error)},[r]);return[s,c,u]}(e,n),i=r[0],a=r[1],s=r[2],l=qr(e,Gr,["width","height"]),c=e.src,u=e.alt,d=e.width,p=e.height,h=e.shouldFadeIn,m=void 0===h||h,f=e.shouldStartVisible,g=e.className,v=e.imageFit,b=e.role,y=e.maximizeFrame,C=e.styles,_=e.theme,S=e.loading,x=function(e,t,o,n){var r=ht.useRef(t),i=ht.useRef();return(void 0===i||r.current===Qr.notLoaded&&t===Qr.loaded)&&(i.current=function(e,t,o,n){var r=e.imageFit,i=e.width,a=e.height;if(void 0!==e.coverStyle)return e.coverStyle;if(t===Qr.loaded&&(r===Zr.cover||r===Zr.contain||r===Zr.centerContain||r===Zr.centerCover)&&o.current&&n.current){var s;if(s="number"==typeof i&&"number"==typeof a&&r!==Zr.centerContain&&r!==Zr.centerCover?i/a:n.current.clientWidth/n.current.clientHeight,o.current.naturalWidth/o.current.naturalHeight>s)return Xr.landscape}return Xr.portrait}(e,t,o,n)),r.current=t,i.current}(e,i,n,o),k=ai(C,{theme:_,className:g,width:d,height:p,maximizeFrame:y,shouldFadeIn:m,shouldStartVisible:f,isLoaded:i===Qr.loaded||i===Qr.notLoaded&&e.shouldStartVisible,isLandscape:x===Xr.landscape,isCenter:v===Zr.center,isCenterContain:v===Zr.centerContain,isCenterCover:v===Zr.centerCover,isContain:v===Zr.contain,isCover:v===Zr.cover,isNone:v===Zr.none,isError:i===Qr.error,isNotImageFit:void 0===v});return ht.createElement("div",{className:k.root,style:{width:d,height:p},ref:o},ht.createElement("img",pt({},l,{onLoad:a,onError:s,key:"fabricImage"+e.src||"",className:k.image,ref:ii(n,t),src:c,alt:u,role:b,loading:S})))});li.displayName="ImageBase";var ci={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"},ui=ir(li,function(e){var t=e.className,o=e.width,n=e.height,r=e.maximizeFrame,i=e.isLoaded,a=e.shouldFadeIn,s=e.shouldStartVisible,l=e.isLandscape,c=e.isCenter,u=e.isContain,d=e.isCover,p=e.isCenterContain,h=e.isCenterCover,m=e.isNone,f=e.isError,g=e.isNotImageFit,v=e.theme,b=Ro(ci,v),y={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},C=ut(),_=void 0!==C&&void 0===C.navigator.msMaxTouchPoints,S=u&&l||d&&!l?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[b.root,v.fonts.medium,{overflow:"hidden"},r&&[b.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&a&&!s&&$e.fadeIn400,(c||u||d||p||h)&&{position:"relative"},t],image:[b.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],c&&[b.imageCenter,y],u&&[b.imageContain,_&&{width:"100%",height:"100%",objectFit:"contain"},!_&&S,!_&&y],d&&[b.imageCover,_&&{width:"100%",height:"100%",objectFit:"cover"},!_&&S,!_&&y],p&&[b.imageCenterContain,l&&{maxWidth:"100%"},!l&&{maxHeight:"100%"},y],h&&[b.imageCenterCover,l&&{maxHeight:"100%"},!l&&{maxWidth:"100%"},y],m&&[b.imageNone,{width:"auto",height:"auto"}],g&&[!!o&&!n&&{height:"auto",width:"100%"},!o&&!!n&&{height:"100%",width:"auto"},!!o&&!!n&&{height:"100%",width:"100%"}],l&&b.imageLandscape,!l&&b.imagePortrait,!i&&"is-notLoaded",a&&"is-fadeIn",f&&"is-error"]}},void 0,{scope:"Image"},!0);ui.displayName="Image";var di=Fn({root:{display:"inline-block",textDecoration:"inherit"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),pi="ms-Icon";function hi(){for(var e=[],t=0;t32),p=o?o/3<40?o/3+"px":"40px":"",h=o?{fontSize:o?o/6<20?o/6+"px":"20px":"",lineHeight:p}:void 0,m=o?{width:p,height:p}:void 0,f=Ti(r,{theme:a,presence:i,size:e.size,isOutOfOffice:n,presenceColors:l});return i===fi.none?null:ht.createElement("div",{role:"presentation",className:f.presence,style:m,title:s,ref:c},d&&ht.createElement(wi,{className:f.presenceIcon,iconName:Ri(e.presence,e.isOutOfOffice),style:h}))});function Ri(e,t){if(e){var o="SkypeArrow";switch(fi[e]){case"online":return"SkypeCheck";case"away":return t?o:"SkypeClock";case"dnd":return"SkypeMinus";case"offline":return t?o:""}return""}}Pi.displayName="PersonaPresenceBase";var Mi={presence:"ms-Persona-presence",presenceIcon:"ms-Persona-presenceIcon"};function Ni(e){return{color:e,borderColor:e}}function Bi(e,t){return{selectors:{":before":{border:"".concat(e," solid ").concat(t)}}}}function Ai(e){return{height:e,width:e}}function Fi(e){return{backgroundColor:e}}var Li,Oi=ir(Pi,function(e){var t,o,n,r,i,a,s=e.theme,l=e.presenceColors,c=s.semanticColors,u=s.fonts,d=Ro(Mi,s),p=Ii(e.size),h=Ei(e.presence),m=l&&l.available||"#6BB700",f=l&&l.away||"#FFAA44",g=l&&l.busy||"#C43148",v=l&&l.dnd||"#C50F1F",b=l&&l.offline||"#8A8886",y=l&&l.oof||"#B4009E",C=l&&l.background||c.bodyBackground,_=h.isOffline||e.isOutOfOffice&&(h.isAvailable||h.isBusy||h.isAway||h.isDoNotDisturb),S=p.isSize72||p.isSize100?"2px":"1px";return{presence:[d.presence,pt(pt({position:"absolute",height:yi.size12,width:yi.size12,borderRadius:"50%",top:"auto",right:"-2px",bottom:"-2px",border:"2px solid ".concat(C),textAlign:"center",boxSizing:"content-box",backgroundClip:"border-box"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:(t={},t[Mo]={borderColor:"Window",backgroundColor:"WindowText"},t)}),(p.isSize8||p.isSize10)&&{right:"auto",top:"7px",left:0,border:0,selectors:(o={},o[Mo]={top:"9px",border:"1px solid WindowText"},o)},(p.isSize8||p.isSize10||p.isSize24||p.isSize28||p.isSize32)&&Ai(yi.size8),(p.isSize40||p.isSize48)&&Ai(yi.size12),p.isSize16&&{height:yi.size6,width:yi.size6,borderWidth:"1.5px"},p.isSize56&&Ai(yi.size16),p.isSize72&&Ai(yi.size20),p.isSize100&&Ai(yi.size28),p.isSize120&&Ai(yi.size32),h.isAvailable&&{backgroundColor:m,selectors:(n={},n[Mo]=Fi("Highlight"),n)},h.isAway&&Fi(f),h.isBlocked&&[{selectors:(r={":after":p.isSize40||p.isSize48||p.isSize72||p.isSize100?{content:'""',width:"100%",height:S,backgroundColor:g,transform:"translateY(-50%) rotate(-45deg)",position:"absolute",top:"50%",left:0}:void 0},r[Mo]={selectors:{":after":{width:"calc(100% - 4px)",left:"2px",backgroundColor:"Window"}}},r)}],h.isBusy&&Fi(g),h.isDoNotDisturb&&Fi(v),h.isOffline&&Fi(b),(_||h.isBlocked)&&[{backgroundColor:C,selectors:(i={":before":{content:'""',width:"100%",height:"100%",position:"absolute",top:0,left:0,border:"".concat(S," solid ").concat(g),borderRadius:"50%",boxSizing:"border-box"}},i[Mo]={backgroundColor:"WindowText",selectors:{":before":{width:"calc(100% - 2px)",height:"calc(100% - 2px)",top:"1px",left:"1px",borderColor:"Window"}}},i)}],_&&h.isAvailable&&Bi(S,m),_&&h.isBusy&&Bi(S,g),_&&h.isAway&&Bi(S,y),_&&h.isDoNotDisturb&&Bi(S,v),_&&h.isOffline&&Bi(S,b),_&&h.isOffline&&e.isOutOfOffice&&Bi(S,y)],presenceIcon:[d.presenceIcon,{color:C,fontSize:"6px",lineHeight:yi.size12,verticalAlign:"top",selectors:(a={},a[Mo]={color:"Window"},a)},p.isSize56&&{fontSize:"8px",lineHeight:yi.size16},p.isSize72&&{fontSize:u.small.fontSize,lineHeight:yi.size20},p.isSize100&&{fontSize:u.medium.fontSize,lineHeight:yi.size28},p.isSize120&&{fontSize:u.medium.fontSize,lineHeight:yi.size32},h.isAway&&{position:"relative",left:_?void 0:"1px"},_&&h.isAvailable&&Ni(m),_&&h.isBusy&&Ni(g),_&&h.isAway&&Ni(y),_&&h.isDoNotDisturb&&Ni(v),_&&h.isOffline&&Ni(b),_&&h.isOffline&&e.isOutOfOffice&&Ni(y)]}},void 0,{scope:"PersonaPresence"}),Hi=[gi.lightBlue,gi.blue,gi.darkBlue,gi.teal,gi.green,gi.darkGreen,gi.lightPink,gi.pink,gi.magenta,gi.purple,gi.orange,gi.lightRed,gi.darkRed,gi.violet,gi.gold,gi.burgundy,gi.warmGray,gi.cyan,gi.rust,gi.coolGray],zi=Hi.length;function Wi(e){var t=e.primaryText,o=e.text,n=e.initialsColor;return"string"==typeof n?n:function(e){switch(e){case gi.lightBlue:return"#4F6BED";case gi.blue:return"#0078D4";case gi.darkBlue:return"#004E8C";case gi.teal:return"#038387";case gi.lightGreen:case gi.green:return"#498205";case gi.darkGreen:return"#0B6A0B";case gi.lightPink:return"#C239B3";case gi.pink:return"#E3008C";case gi.magenta:return"#881798";case gi.purple:return"#5C2E91";case gi.orange:return"#CA5010";case gi.red:return"#EE1111";case gi.lightRed:return"#D13438";case gi.darkRed:return"#A4262C";case gi.transparent:return"transparent";case gi.violet:return"#8764B8";case gi.gold:return"#986F0B";case gi.burgundy:return"#750B1C";case gi.warmGray:return"#7A7574";case gi.cyan:return"#005B70";case gi.rust:return"#8E562E";case gi.coolGray:return"#69797E";case gi.black:return"#1D1D1D";case gi.gray:return"#393939"}}(n=void 0!==n?n:function(e){var t=gi.blue;if(!e)return t;for(var o=0,n=e.length-1;n>=0;n--){var r=e.charCodeAt(n),i=n%8;o^=(r<>8-i)}return Hi[o%zi]}(o||t))}function Vi(e,t,o,n,r){if(!0===r)for(var i=0,a=o;i10&&{height:c,width:c}],initials:[l.initials,{borderRadius:"50%",color:e.showUnknownPersonaCoin?"rgb(168, 0, 0)":i.white,fontSize:a.large.fontSize,fontWeight:Qe.semibold,lineHeight:48===c?46:c,height:c,selectors:(t={},t[Mo]=pt(pt({border:"1px solid WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"WindowText",boxSizing:"border-box",backgroundColor:"Window !important"}),t.i={fontWeight:Qe.semibold},t)},e.showUnknownPersonaCoin&&{backgroundColor:"rgb(234, 234, 234)"},c<32&&{fontSize:a.xSmall.fontSize},c>=32&&c<40&&{fontSize:a.medium.fontSize},c>=40&&c<56&&{fontSize:a.mediumPlus.fontSize},c>=56&&c<72&&{fontSize:a.xLarge.fontSize},c>=72&&c<100&&{fontSize:a.xxLarge.fontSize},c>=100&&{fontSize:a.superLarge.fontSize}]}},void 0,{scope:"PersonaCoin"}),aa=function(t){function e(e){var l=t.call(this,e)||this;return l._onRenderIcon=function(e){return e.activityPersonas?l._onRenderPersonaArray(e):l.props.activityIcon},l._onRenderActivityDescription=function(e){var t=l._getClassNames(e),o=e.activityDescription||e.activityDescriptionText;return o?ht.createElement("span",{className:t.activityText},o):null},l._onRenderComments=function(e){var t=l._getClassNames(e),o=e.comments||e.commentText;return!e.isCompact&&o?ht.createElement("div",{className:t.commentText},o):null},l._onRenderTimeStamp=function(e){var t=l._getClassNames(e);return!e.isCompact&&e.timeStamp?ht.createElement("div",{className:t.timeStamp},e.timeStamp):null},l._onRenderPersonaArray=function(e){var o=l._getClassNames(e),t=null,n=e.activityPersonas;if(n[0].imageUrl||n[0].imageInitials){var r=[],i=n.length>1||e.isCompact,a=e.isCompact?3:4,s=void 0;e.isCompact&&(s={display:"inline-block",width:"10px",minWidth:"10px",overflow:"visible"}),n.filter(function(e,t){return t-1};function la(o){for(var n=[],e=1;e=l&&(!e||c)?(d=t,p&&(i.clearTimeout(p),p=null),a=r.apply(i._parent,s)):null===p&&u&&(p=i.setTimeout(h,n)),a};return function(){for(var e=[],t=0;t=c&&(o=!0),h=t);var n=t-h,r=c-n,i=t-m,a=!1;return null!==p&&(i>=p&&f?a=!0:r=Math.min(r,p-i)),n>=c||a||o?g(t):null!==f&&e||!d||(f=s.setTimeout(v,r)),l},a=function(){return!!f},b=function(){for(var e=[],t=0;t0&&this._inputElement.current.setSelectionRange(s,i.length,Ca)}}else this._inputElement.current&&(null===o||this._autoFillEnabled||this.state.isComposing||this._inputElement.current.setSelectionRange(o.start,o.end,o.dir))}},e.prototype.componentWillUnmount=function(){this._async.dispose()},e.prototype.render=function(){var e=qr(this.props,Mr),t=pt(pt({},this.props.style),{fontFamily:"inherit"});return ht.createElement("input",pt({autoCapitalize:"off",autoComplete:"off","aria-autocomplete":"both"},e,{style:t,ref:this._inputElement,value:this._getDisplayValue(),onCompositionStart:this._onCompositionStart,onCompositionUpdate:this._onCompositionUpdate,onCompositionEnd:this._onCompositionEnd,onChange:this._onChanged,onInput:this._onInputChanged,onKeyDown:this._onKeyDown,onClick:this.props.onClick?this.props.onClick:this._onClick,"data-lpignore":!0}))},e.prototype.focus=function(){this._inputElement.current&&this._inputElement.current.focus()},e.prototype.clear=function(){this._autoFillEnabled=!0,this._updateValue("",!1),this._inputElement.current&&this._inputElement.current.setSelectionRange(0,0)},e.prototype.getSnapshotBeforeUpdate=function(){var e,t,o=this._inputElement.current;return o&&o.selectionStart!==this.value.length?{start:null!==(e=o.selectionStart)&&void 0!==e?e:o.value.length,end:null!==(t=o.selectionEnd)&&void 0!==t?t:o.value.length,dir:o.selectionDirection||"backward"}:null},e.prototype._getCurrentInputValue=function(e){return e&&e.target&&e.target.value?e.target.value:this.inputElement&&this.inputElement.value?this.inputElement.value:""},e.prototype._tryEnableAutofill=function(e,t,o,n){!o&&e&&this._inputElement.current&&this._inputElement.current.selectionStart===e.length&&!this._autoFillEnabled&&(e.length>t.length||n)&&(this._autoFillEnabled=!0)},e.prototype._getDisplayValue=function(){return this._autoFillEnabled?(e=this.value,t=this.props.suggestedDisplayValue,o=e,t&&e&&Sa(t,o)&&(o=t),o):this.value;var e,t,o},e.prototype._getControlledValue=function(){var e=this.props.value;return void 0===e||"string"==typeof e?e:(console.warn("props.value of Autofill should be a string, but it is ".concat(e," with type of ").concat(typeof e)),e.toString())},e.defaultProps={enableAutofillOnKeyPress:[sr.down,sr.up]},e.contextType=ga,e}(ht.Component);function Sa(e,t){if(!e||!t)return!1;for(var o=0,n=[e,t];o=0,s=!(!o||!e.shadowRoot||!e.shadowRoot.delegatesFocus),l=!!e&&"false"!==i&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===i||a||s);return t?-1!==n&&l:l}function is(e){return!!(e&&e.getAttribute&&e.getAttribute(qa))}function as(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute(Ya))}function ss(e){var t=st(e),o=t&&t.activeElement;return!(!o||!Ga(e,o))}function ls(e,t,o){return"true"!==Ka(e,t,null!=o?o:st())}var cs=void 0;function us(e){if(e){var t=ut(e);t&&(void 0!==cs&&t.cancelAnimationFrame(cs),cs=t.requestAnimationFrame(function(){e&&e.focus(),cs=void 0}))}}function ds(e,t){for(var o=e,n=0,r=t;n0)&&e.preventDefault(),s.scrollHeight-Math.abs(Math.ceil(n))<=s.clientHeight&&(r?t>0:t<0)&&e.preventDefault()}},{passive:!1}),s=e}},ks=function(e,t){e&&t.on(e,"touchmove",function(e){e.stopPropagation()},{passive:!1})},ws=function(e){e.preventDefault()};function Is(){var e=st();e&&e.body&&!Cs&&(e.body.classList.add(_s),e.body.addEventListener("touchmove",ws,{passive:!1,capture:!1})),Cs++}function Ds(){if(Cs>0){var e=st();e&&e.body&&1===Cs&&(e.body.classList.remove(_s),e.body.removeEventListener("touchmove",ws)),Cs--}}function Es(e){if(void 0===gs){var t=null!=e?e:st(),o=t.createElement("div");o.style.setProperty("width","100px"),o.style.setProperty("height","100px"),o.style.setProperty("overflow","scroll"),o.style.setProperty("position","absolute"),o.style.setProperty("top","-9999px"),t.body.appendChild(o),gs=o.offsetWidth-o.clientWidth,t.body.removeChild(o)}return gs}function Ts(e){for(var t=e,o=st(e);t&&t!==o.body;){if("true"===t.getAttribute(Ss))return t;t=t.parentElement}for(t=e;t&&t!==o.body;){if("false"!==t.getAttribute(Ss)){var n=getComputedStyle(t),r=n?n.getPropertyValue("overflow-y"):"";if(r&&("scroll"===r||"auto"===r))return t}t=t.parentElement}return t&&t!==o.body||(t=ut(e)),t}var Ps="data-portal-element";function Rs(e){e.setAttribute(Ps,"true")}function Ms(e,o,t){var n,r=Va(e,function(e){var t;return o===e||!!(null===(t=e.hasAttribute)||void 0===t?void 0:t.call(e,Ps))},t);return null!==r&&!!(null===(n=r.hasAttribute)||void 0===n?void 0:n.call(r,Ps))}var Ns,Bs=ht.createContext(void 0),As=function(e){var t=e.shadowRoot,o=Fe(e,["shadowRoot"]),n=ht.useMemo(function(){return{stylesheets:new Map,shadowRoot:t}},[t]);return ht.createElement(Bs.Provider,pt({value:n},o),ht.createElement(Fs,null),o.children)},Fs=function(e){return(0,tr().useAdoptedStylesheet)(b),null},Ls="data-is-focusable",Os="data-focuszone-id",Hs="tabindex",zs="data-no-vertical-wrap",Ws="data-no-horizontal-wrap",Vs=999999999,Ks=-999999999;function Gs(e,t){var o;"function"==typeof MouseEvent?o=new MouseEvent("click",{ctrlKey:null==t?void 0:t.ctrlKey,metaKey:null==t?void 0:t.metaKey,shiftKey:null==t?void 0:t.shiftKey,altKey:null==t?void 0:t.altKey,bubbles:null==t?void 0:t.bubbles,cancelable:null==t?void 0:t.cancelable}):(o=document.createEvent("MouseEvents")).initMouseEvent("click",!!t&&t.bubbles,!!t&&t.cancelable,window,0,0,0,0,0,!!t&&t.ctrlKey,!!t&&t.altKey,!!t&&t.shiftKey,!!t&&t.metaKey,0,null),e.dispatchEvent(o)}var Us,js={},qs=new Set,Ys=["text","number","password","email","tel","url","search","textarea"],Zs=!1,Xs=function(a){function s(e){var t,o,n,r,m=a.call(this,e)||this;m._root=ht.createRef(),m._mergedRef=Oa(),m._onFocus=function(e){if(!m._portalContainsElement(e.target)){var t,o=m.props,n=o.onActiveElementChanged,r=o.doNotAllowFocusEventToPropagate,i=o.stopFocusPropagation,a=o.onFocusNotification,s=o.onFocus,l=o.shouldFocusInnerElementWhenReceivedFocus,c=o.defaultTabbableElement,u=m._isImmediateDescendantOfZone(e.target);if(u)t=e.target;else for(var d=e.target;d&&d!==m._root.current;){if(rs(d,void 0,m._inShadowRoot)&&m._isImmediateDescendantOfZone(d)){t=d;break}d=Wa(d,Zs)}if(l&&e.target===m._root.current){var p=c&&"function"==typeof c&&m._root.current&&c(m._root.current);p&&rs(p,void 0,m._inShadowRoot)?(t=p,p.focus()):(m.focus(!0),m._activeElement&&(t=null))}var h=!m._activeElement;t&&t!==m._activeElement&&((u||h)&&m._setFocusAlignment(t,!0,!0),m._activeElement=t,h&&m._updateTabIndexes()),n&&n(m._activeElement,e),(i||r)&&e.stopPropagation(),s?s(e):a&&a()}},m._onBlur=function(){m._setParkedFocus(!1)},m._onMouseDown=function(e){if(!m._portalContainsElement(e.target)&&!m.props.disabled){for(var t=e.target,o=[];t&&t!==m._root.current;)o.push(t),t=Wa(t,Zs);for(;o.length&&((t=o.pop())&&rs(t,void 0,m._inShadowRoot)&&m._setActiveElement(t,!0),!is(t)););}},m._onKeyDown=function(e,t){if(!m._portalContainsElement(e.target)){var o=m.props,n=o.direction,r=o.disabled,i=o.isInnerZoneKeystroke,a=o.pagingSupportDisabled,s=o.shouldEnterInnerZone;if(!(r||(m.props.onKeyDown&&m.props.onKeyDown(e),e.isDefaultPrevented()||m._getDocument().activeElement===m._root.current&&m._isInnerZone))){if((s&&s(e)||i&&i(e))&&m._isImmediateDescendantOfZone(e.target)){var l=m._getFirstInnerZone();if(l){if(!l.focus(!0))return}else{if(!as(e.target))return;if(!m.focusElement(ts(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case sr.space:if(m._shouldRaiseClicksOnSpace&&m._tryInvokeClickForFocusable(e.target,e))break;return;case sr.left:if(n!==xa.vertical&&(m._preventDefaultWhenHandled(e),m._moveFocusLeft(t)))break;return;case sr.right:if(n!==xa.vertical&&(m._preventDefaultWhenHandled(e),m._moveFocusRight(t)))break;return;case sr.up:if(n!==xa.horizontal&&(m._preventDefaultWhenHandled(e),m._moveFocusUp()))break;return;case sr.down:if(n!==xa.horizontal&&(m._preventDefaultWhenHandled(e),m._moveFocusDown()))break;return;case sr.pageDown:if(!a&&m._moveFocusPaging(!0))break;return;case sr.pageUp:if(!a&&m._moveFocusPaging(!1))break;return;case sr.tab:if(m.props.allowTabKey||m.props.handleTabKey===Ea.all||m.props.handleTabKey===Ea.inputOnly&&m._isElementInput(e.target)){var c=!1;if(m._processingTabKey=!0,c=n!==xa.vertical&&m._shouldWrapFocus(m._activeElement,Ws)?(cr(t)?!e.shiftKey:e.shiftKey)?m._moveFocusLeft(t):m._moveFocusRight(t):e.shiftKey?m._moveFocusUp():m._moveFocusDown(),m._processingTabKey=!1,c)break;m.props.shouldResetActiveElementWhenTabFromZone&&(m._activeElement=null)}return;case sr.home:if(m._isContentEditableElement(e.target)||m._isElementInput(e.target)&&!m._shouldInputLoseFocus(e.target,!1))return!1;var u=m._root.current&&m._root.current.firstChild;if(m._root.current&&u&&m.focusElement(ts(m._root.current,u,!0)))break;return;case sr.end:if(m._isContentEditableElement(e.target)||m._isElementInput(e.target)&&!m._shouldInputLoseFocus(e.target,!0))return!1;var d=m._root.current&&m._root.current.lastChild;if(m._root.current&&m.focusElement(es(m._root.current,d,!0,!0,!0)))break;return;case sr.enter:if(m._shouldRaiseClicksOnEnter&&m._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},m._getHorizontalDistanceFromCenter=function(e,t,o){var n=m._focusAlignment.left||m._focusAlignment.x||0,r=Math.floor(o.top),i=Math.floor(t.bottom),a=Math.floor(o.bottom),s=Math.floor(t.top);return e&&r>i||!e&&a=o.left&&n<=o.left+o.width?0:Math.abs(o.left+o.width/2-n):m._shouldWrapFocus(m._activeElement,zs)?Vs:Ks},ua(m),Ki("FocusZone",e,{rootProps:void 0,allowTabKey:"handleTabKey",elementType:"as",ariaDescribedBy:"aria-describedby",ariaLabelledBy:"aria-labelledby"}),m._id=bs("FocusZone"),m._focusAlignment={left:0,top:0},m._processingTabKey=!1;var i=null===(o=null!==(t=e.shouldRaiseClicks)&&void 0!==t?t:s.defaultProps.shouldRaiseClicks)||void 0===o||o;return m._shouldRaiseClicksOnEnter=null!==(n=e.shouldRaiseClicksOnEnter)&&void 0!==n?n:i,m._shouldRaiseClicksOnSpace=null!==(r=e.shouldRaiseClicksOnSpace)&&void 0!==r?r:i,m}return m(s,a),s.getOuterZones=function(){return qs.size},s._onKeyDownCapture=function(e){e.which===sr.tab&&qs.forEach(function(e){return e._updateTabIndexes()})},s.prototype.componentDidMount=function(){var e,t=this._root.current;if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),js[this._id]=this,t){for(var o=Wa(t,Zs);o&&o!==this._getDocument().body&&1===o.nodeType;){if(is(o)){this._isInnerZone=!0;break}o=Wa(o,Zs)}this._isInnerZone||(qs.add(this),this._root.current&&this._root.current.addEventListener("keydown",s._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()}},s.prototype.componentDidUpdate=function(){var e,t=this._root.current,o=this._getDocument();if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),(this._activeElement&&!Ga(this._root.current,this._activeElement,Zs)||this._defaultFocusElement&&!Ga(this._root.current,this._defaultFocusElement,Zs))&&(this._activeElement=null,this._defaultFocusElement=null,this._updateTabIndexes()),!this.props.preventFocusRestoration&&o&&this._lastIndexPath&&(o.activeElement===o.body||null===o.activeElement||o.activeElement===t)){var n=ds(t,this._lastIndexPath);n?(this._setActiveElement(n,!0),n.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},s.prototype.componentWillUnmount=function(){delete js[this._id],this._isInnerZone||(qs.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",s._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},s.prototype.render=function(){var t=this,e=this.props,o=e.as,n=e.elementType,r=e.rootProps,i=e.ariaDescribedBy,a=e.ariaLabelledBy,s=e.className,l=qr(this.props,kr),c=o||n||"div";this._evaluateFocusBeforeRender();var u=io();return ht.createElement(c,pt({"aria-labelledby":a,"aria-describedby":i},l,r,{className:hi((Ns||(Ns=de({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),Ns),s),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(e){return t._onKeyDown(e,u)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},s.prototype.focus=function(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute(Ls)&&this._isInnerZone){var o=this._getOwnerZone(this._root.current);if(o!==this._root.current){var n=js[o.getAttribute(Os)];return!!n&&n.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&Ga(this._root.current,this._activeElement)&&rs(this._activeElement,void 0,this._inShadowRoot)&&(!t||ns(this._activeElement)))return this._activeElement.focus(),!0;var r=this._root.current.firstChild;return this.focusElement(ts(this._root.current,r,!0,void 0,void 0,void 0,void 0,void 0,t))}return!1},s.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement(es(this._root.current,e,!0,!0,!0))}return!1},s.prototype.focusElement=function(e,t){var o=this.props,n=o.onBeforeFocus,r=o.shouldReceiveFocus;return!(r&&!r(e)||n&&!n(e)||!e||(this._setActiveElement(e,t),this._activeElement&&this._activeElement.focus(),0))},s.prototype.setFocusAlignment=function(e){this._focusAlignment=e},Object.defineProperty(s.prototype,"defaultFocusElement",{get:function(){return this._defaultFocusElement},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"activeElement",{get:function(){return this._activeElement},enumerable:!1,configurable:!0}),s.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var o=t.activeElement;if(o!==e){var n=Ga(e,o,!1);this._lastIndexPath=n?ps(e,o):void 0}}},s.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")))},s.prototype._setActiveElement=function(e,t){var o=this._activeElement;this._activeElement=e,o&&(is(o)&&this._updateTabIndexes(o),o.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},s.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()},s.prototype._tryInvokeClickForFocusable=function(e,t){var o=e;if(o===this._root.current)return!1;do{if("BUTTON"===o.tagName||"A"===o.tagName||"INPUT"===o.tagName||"TEXTAREA"===o.tagName||"SUMMARY"===o.tagName)return!1;if(this._isImmediateDescendantOfZone(o)&&"true"===o.getAttribute(Ls)&&"true"!==o.getAttribute("data-disable-click-on-enter"))return Gs(o,t),!0;o=Wa(o,Zs)}while(o!==this._root.current);return!1},s.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(is(e))return js[e.getAttribute(Os)];for(var t=e.firstElementChild;t;){if(is(t))return js[t.getAttribute(Os)];var o=this._getFirstInnerZone(t);if(o)return o;t=t.nextElementSibling}return null},s.prototype._moveFocus=function(e,t,o,n){void 0===n&&(n=!0);var r=this._activeElement,i=-1,a=void 0,s=!1,l=this.props.direction===xa.bidirectional;if(!r||!this._root.current)return!1;if(this._isElementInput(r)&&!this._shouldInputLoseFocus(r,e))return!1;var c=l?r.getBoundingClientRect():null;do{if(r=e?ts(this._root.current,r):es(this._root.current,r),!l){a=r;break}if(r){var u=t(c,r.getBoundingClientRect());if(-1===u&&-1===i){a=r;break}if(u>-1&&(-1===i||u=0&&u<0)break}}while(r);if(a&&a!==this._activeElement)s=!0,this.focusElement(a);else if(this.props.isCircularNavigation&&n)return e?this.focusElement(ts(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(es(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return s},s.prototype._moveFocusDown=function(){var i=this,a=-1,s=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,function(e,t){var o=-1,n=Math.floor(t.top),r=Math.floor(e.bottom);return n=r||n===a)&&(a=n,o=s>=t.left&&s<=t.left+t.width?0:Math.abs(t.left+t.width/2-s)),o)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},s.prototype._moveFocusUp=function(){var a=this,s=-1,l=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,function(e,t){var o=-1,n=Math.floor(t.bottom),r=Math.floor(t.top),i=Math.floor(e.top);return n>i?a._shouldWrapFocus(a._activeElement,zs)?Vs:Ks:((-1===s&&n<=i||r===s)&&(s=r,o=l>=t.left&&l<=t.left+t.width?0:Math.abs(t.left+t.width/2-l)),o)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},s.prototype._moveFocusLeft=function(n){var r=this,i=this._shouldWrapFocus(this._activeElement,Ws);return!!this._moveFocus(cr(n),function(e,t){var o=-1;return(cr(n)?parseFloat(t.top.toFixed(3))parseFloat(e.top.toFixed(3)))&&t.right<=e.right&&r.props.direction!==xa.vertical?o=e.right-t.right:i||(o=Ks),o},void 0,i)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},s.prototype._moveFocusRight=function(n){var r=this,i=this._shouldWrapFocus(this._activeElement,Ws);return!!this._moveFocus(!cr(n),function(e,t){var o=-1;return(cr(n)?parseFloat(t.bottom.toFixed(3))>parseFloat(e.top.toFixed(3)):parseFloat(t.top.toFixed(3))=e.left&&r.props.direction!==xa.vertical?o=t.left-e.left:i||(o=Ks),o},void 0,i)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},s.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0);var o=this._activeElement;if(!o||!this._root.current)return!1;if(this._isElementInput(o)&&!this._shouldInputLoseFocus(o,e))return!1;var n=Ts(o);if(!n)return!1;var r=-1,i=void 0,a=-1,s=-1,l=n.clientHeight,c=o.getBoundingClientRect();do{if(o=e?ts(this._root.current,o):es(this._root.current,o)){var u=o.getBoundingClientRect(),d=Math.floor(u.top),p=Math.floor(c.bottom),h=Math.floor(u.bottom),m=Math.floor(c.top),f=this._getHorizontalDistanceFromCenter(e,c,u);if(e&&d>p+l||!e&&h-1&&(e&&d>a?(a=d,r=f,i=o):!e&&h-1){var o=e.selectionStart,n=o!==e.selectionEnd,r=e.value,i=e.readOnly;if(n||o>0&&!t&&!i||o!==r.length&&t&&!i||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},s.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||ls(e,t)},s.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&Ms(e,this._root.current)},s.prototype._getDocument=function(){return st(this._root.current)},s.contextType=Bs,s.defaultProps={isCircularNavigation:!1,direction:xa.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},s}(ht.Component),Qs=((Us={})[sr.up]=1,Us[sr.down]=1,Us[sr.left]=1,Us[sr.right]=1,Us[sr.home]=1,Us[sr.end]=1,Us[sr.tab]=1,Us[sr.pageUp]=1,Us[sr.pageDown]=1,Us);function Js(e){return!!Qs[e]}function $s(e){Qs[e]=1}function el(e){delete Qs[e]}var tl=new WeakMap,ol=new WeakMap;function nl(e,t){var o,n=tl.get(e);return o=n?n+t:1,tl.set(e,o),o}function rl(t){var e=ol.get(t);return e||(e={onMouseDown:function(e){return ll(e,t.registeredProviders)},onPointerDown:function(e){return cl(e,t.registeredProviders)},onKeyDown:function(e){return ul(e,t.registeredProviders)},onKeyUp:function(e){return dl(e,t.registeredProviders)}},ol.set(t,e),e)}var il=ht.createContext(void 0);function al(p){var h=ht.useContext(il);ht.useEffect(function(){var e,t,o,n,r=ut(null==p?void 0:p.current);if(r&&!0!==(null===(e=r.FabricConfig)||void 0===e?void 0:e.disableFocusRects)){var i,a,s,l,c=r;if((null===(t=null==h?void 0:h.providerRef)||void 0===t?void 0:t.current)&&(null===(n=null===(o=null==h?void 0:h.providerRef)||void 0===o?void 0:o.current)||void 0===n?void 0:n.addEventListener)){c=h.providerRef.current;var u=rl(h);i=u.onMouseDown,a=u.onPointerDown,s=u.onKeyDown,l=u.onKeyUp}else i=ll,a=cl,s=ul,l=dl;var d=nl(c,1);return d<=1&&(c.addEventListener("mousedown",i,!0),c.addEventListener("pointerdown",a,!0),c.addEventListener("keydown",s,!0),c.addEventListener("keyup",l,!0)),function(){var e;r&&!0!==(null===(e=r.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(d=nl(c,-1))&&(c.removeEventListener("mousedown",i,!0),c.removeEventListener("pointerdown",a,!0),c.removeEventListener("keydown",s,!0),c.removeEventListener("keyup",l,!0))}}},[h,p])}var sl=function(e){return al(e.rootRef),null};function ll(e,t){tn(!1,e.target,t)}function cl(e,t){"mouse"!==e.pointerType&&tn(!1,e.target,t)}function ul(e,t){Js(e.which)&&tn(!0,e.target,t)}function dl(e,t){Js(e.which)&&tn(!0,e.target,t)}var pl=vr(),hl=function(e,t){t.as;var o=t.disabled,n=t.target,r=t.href,i=(t.theme,t.getStyles,t.styles,t.componentRef,t.underline,Fe(t,["as","disabled","target","href","theme","getStyles","styles","componentRef","underline"]));return"string"==typeof e?"a"===e?pt({target:n,href:o?void 0:r},i):"button"===e?pt({type:"button",disabled:o},i):pt(pt({},i),{disabled:o}):pt({target:n,href:r,disabled:o},i)},ml=ht.forwardRef(function(e,t){var o=function(e,t){var o=e.as,n=e.className,r=e.disabled,i=e.href,a=e.onClick,s=e.styles,l=e.theme,c=e.underline,u=ht.useRef(null),d=ii(u,t);(function(e,t){ht.useImperativeHandle(e.componentRef,function(){return{focus:function(){t.current&&t.current.focus()}}},[t])})(e,u),al(u);var p=pl(s,{className:n,isButton:!i,isDisabled:r,isUnderlined:c,theme:l}),h=o||(i?"a":"button");return{state:{},slots:{root:h},slotProps:{root:pt(pt({},hl(h,e)),{"aria-disabled":r,className:p.root,onClick:function(e){r?e.preventDefault():a&&a(e)},ref:d})}}}(e,t),n=o.slots,r=o.slotProps;return ht.createElement(n.root,pt({},r.root))});ml.displayName="LinkBase";var fl={root:"ms-Link"},gl=ir(ml,function(e){var t,o,n,r,i,a,s,l=e.className,c=e.isButton,u=e.isDisabled,d=e.isUnderlined,p=e.theme,h=p.semanticColors,m=h.link,f=h.linkHovered,g=h.disabledText,v=h.focusBorder,b=Ro(fl,p);return{root:[b.root,p.fonts.medium,{color:m,outline:"none",fontSize:"inherit",fontWeight:"inherit",textDecoration:d?"underline":"none",selectors:(t={},t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={boxShadow:"0 0 0 1px ".concat(v," inset"),outline:"1px auto ".concat(v),selectors:(o={},o[Mo]={outline:"1px solid WindowText"},o)},t[Mo]={borderBottom:"none"},t)},c&&{background:"none",backgroundColor:"transparent",border:"none",cursor:"pointer",display:"inline",margin:0,overflow:"inherit",padding:0,textAlign:"left",textOverflow:"inherit",userSelect:"text",borderBottom:"1px solid transparent",selectors:(n={},n[Mo]={color:"LinkText",forcedColorAdjust:"none"},n)},!c&&{selectors:(r={},r[Mo]={MsHighContrastAdjust:"auto",forcedColorAdjust:"auto"},r)},u&&["is-disabled",{color:g,cursor:"default"},{selectors:(i={"&:link, &:visited":{pointerEvents:"none"}},i[Mo]={color:"GrayText"},i)}],!u&&{selectors:{"&:active, &:hover, &:active:hover":{color:f,textDecoration:"underline",selectors:(a={},a[Mo]={color:"LinkText"},a)},"&:focus":{color:m,selectors:(s={},s[Mo]={color:"LinkText"},s)}}},b.root,l]}},void 0,{scope:"Link"});function vl(e,t){if(!e||!t)return!e&&!t;for(var o in e)if(e.hasOwnProperty(o)&&(!t.hasOwnProperty(o)||t[o]!==e[o]))return!1;for(var o in t)if(t.hasOwnProperty(o)&&!e.hasOwnProperty(o))return!1;return!0}function bl(e){for(var t=[],o=1;o-1)for(var n=t.split(/[ ,]+/),a=0;a1?e[1]:""}return this.__className},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"_async",{get:function(){return this.__async||(this.__async=new fa(this),this._disposables.push(this.__async)),this.__async},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"_events",{get:function(){return this.__events||(this.__events=new xl(this),this._disposables.push(this.__events)),this.__events},enumerable:!1,configurable:!0}),r.prototype._resolveRef=function(t){var o=this;return this.__resolves||(this.__resolves={}),this.__resolves[t]||(this.__resolves[t]=function(e){return o[t]=e}),this.__resolves[t]},r.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))},r.prototype._warnDeprecations=function(e){Ki(this.className,this.props,e)},r.prototype._warnMutuallyExclusive=function(e){Gi(this.className,this.props,e)},r.prototype._warnConditionallyRequiredProps=function(e,t,o){Vi(this.className,this.props,e,t,o)},r.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))},r}(ht.Component);function wl(e,t,o){var n=e[o],r=t[o];(n||r)&&(e[o]=function(){for(var e,t=[],o=0;ot.bottom||e.leftt.right)}function Xl(e,t){var o=[];return e.topt.bottom&&o.push(Al.bottom),e.leftt.right&&o.push(Al.right),o}function Ql(e,t){return e[Al[t]]}function Jl(e,t,o){return e[Al[t]]=o,e}function $l(e,t){var o=dc(t);return(Ql(e,o.positiveEdge)+Ql(e,o.negativeEdge))/2}function ec(e,t){return e>0?t:-1*t}function tc(e,t){return ec(e,Ql(t,e))}function oc(e,t,o){return ec(o,Ql(e,o)-Ql(t,o))}function nc(e,t,o,n){void 0===n&&(n=!0);var r=Ql(e,t)-o,i=Jl(e,t,o);return n&&(i=Jl(e,-1*t,Ql(e,-1*t)-r)),i}function rc(e,t,o,n){return void 0===n&&(n=0),nc(e,o,Ql(t,o)+ec(o,n))}function ic(e,t,o){return tc(o,e)>tc(o,t)}function ac(e,t){for(var o=0,n=0,r=Xl(e,t);n=n}function lc(e,t,o,n){for(var r=0,i=e;rMath.abs(oc(e,o,-1*t))?-1*t:t}function hc(e,t,o,n,r,i,a,s){var l={},c=gc(t),u=i?o:-1*o,d=r||dc(o).positiveEdge;return a&&!function(e,t,o){return void 0!==o&&Ql(e,t)===Ql(o,t)}(e,Dc(d),n)||(d=pc(e,d,n)),l[Al[u]]=oc(e,c,u),l[Al[d]]=oc(e,c,d),s&&(l[Al[-1*u]]=oc(e,c,-1*u),l[Al[-1*d]]=oc(e,c,-1*d)),l}function mc(e,t,o){var n=$l(t,e),r=$l(o,e),i=dc(e),a=i.positiveEdge,s=i.negativeEdge;return n<=r?a:s}function fc(e,t,o,n,r,i,a,s,l){void 0===i&&(i=!1);var c=uc(e,t,n,r,l);return Zl(c,o)?{elementRectangle:c,targetEdge:n.targetEdge,alignmentEdge:n.alignmentEdge}:function(e,t,o,n,r,i,a,s,l){void 0===r&&(r=!1),void 0===a&&(a=0);var c=n.alignmentEdge,u=n.alignTargetEdge,d={elementRectangle:e,targetEdge:n.targetEdge,alignmentEdge:c};s||l||(d=function(e,t,o,n,r,i,a){void 0===r&&(r=!1),void 0===a&&(a=0);var s=[Al.left,Al.right,Al.bottom,Al.top];cr()&&(s[0]*=-1,s[1]*=-1);for(var l,c=e,u=n.targetEdge,d=n.alignmentEdge,p=u,h=d,m=0;m<4;m++){if(ic(c,o,u))return{elementRectangle:c,targetEdge:u,alignmentEdge:d};if(r&&sc(t,o,u,i)){switch(u){case Al.bottom:c.bottom=o.bottom;break;case Al.top:c.top=o.top}return{elementRectangle:c,targetEdge:u,alignmentEdge:d,forcedInBounds:!0}}var f=ac(c,o);(!l||f0&&(s.indexOf(-1*u)>-1?u*=-1:(d=u,u=s.slice(-1)[0]),c=uc(e,t,{targetEdge:u,alignmentEdge:d},a))}return{elementRectangle:c=uc(e,t,{targetEdge:p,alignmentEdge:h},a),targetEdge:p,alignmentEdge:h}}(e,t,o,n,r,i,a));var p=Xl(d.elementRectangle,o),h=s?-d.targetEdge:void 0;if(p.length>0)if(u)if(d.alignmentEdge&&p.indexOf(-1*d.alignmentEdge)>-1){var m=function(e,t,o,n){var r=e.alignmentEdge,i=e.targetEdge,a=-1*r;return{elementRectangle:uc(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},o,n),targetEdge:i,alignmentEdge:a}}(d,t,a,l);if(Zl(m.elementRectangle,o))return m;d=lc(Xl(m.elementRectangle,o),d,o,h)}else d=lc(p,d,o,h);else d=lc(p,d,o,h);return d}(c,t,o,n,i,a,r,s,l)}function gc(e){var t=e.getBoundingClientRect();return new jl(t.left,t.right,t.top,t.bottom)}function vc(e){return new jl(e.left,e.right,e.top,e.bottom)}function bc(e,t,o,n,r,i){void 0===r&&(r=!1);var a=e.gapSpace?e.gapSpace:0,s=function(e,t){var o;if(t){if(t.preventDefault){var n=t;o=new jl(n.clientX,n.clientX,n.clientY,n.clientY)}else if(t.getBoundingClientRect)o=gc(t);else{var r=t,i=r.left||r.x,a=r.top||r.y,s=r.right||i,l=r.bottom||a;o=new jl(i,s,a,l)}if(!Zl(o,e))for(var c=0,u=Xl(o,e);cMath.abs(Ql(h,f)),v[Al[f]]=Ql(h,f),v[Al[b]]=oc(h,g,b),{elementPosition:pt({},v),closestEdge:mc(p.targetEdge,h,g),targetEdge:f,hideBeak:!y});return pt(pt({},yc(_,t,C,e.coverTarget,a)),{beakPosition:S})}function Sc(e){var t,o,n,r,i=e,a=e,s=e,l=null!==(t=s.left)&&void 0!==t?t:s.x,c=null!==(o=s.top)&&void 0!==o?o:s.y,u=null!==(n=s.right)&&void 0!==n?n:l,d=null!==(r=s.bottom)&&void 0!==r?r:c;return i.stopPropagation?new jl(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==l&&void 0!==c?new jl(l,u,c,d):gc(a)}function xc(e,t,o,n,r){return function(e,t,o,n,r){var i=null!=r?r:ut(),a=e.bounds?vc(e.bounds):new jl(0,i.innerWidth-Es(),0,i.innerHeight);return yc(bc(e,o,a,n),t,a,e.coverTarget)}(e,t,o,n,r)}function kc(e,t,o,n,r,i,a){return _c(e,t,o,n,r,i,void 0,a)}function wc(e,t,o,n,r){return function(e,t,o,n,r){return _c(e,t,o,n,!1,void 0,!0,null!=r?r:ut())}(e,t,o,n,r)}function Ic(e,t,o,n,r,i){void 0===o&&(o=0);var a=null!=i?i:ut();return function(e,t,o,n,r){var i,a=Yl[t],s=r?-1*a.targetEdge:a.targetEdge;return(i=s===Al.top?Ql(e,a.targetEdge)-n.top-o:s===Al.bottom?n.bottom-Ql(e,a.targetEdge)-o:n.bottom-e.top-o)>0?i:n.height}(Sc(e),t,o,n?vc(n):new jl(0,a.innerWidth-Es(),0,a.innerHeight),r)}function Dc(e){return-1*e}function Ec(e,t){return function(e,t){var o=void 0;if(t.getWindowSegments&&(o=t.getWindowSegments()),void 0===o||o.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var n=0,r=0;if(null!==e&&e.getBoundingClientRect){var i=e.getBoundingClientRect();n=(i.left+i.right)/2,r=(i.top+i.bottom)/2}else null!==e&&(n=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,l=o;s=n&&r&&c.top<=r&&c.bottom>=r&&(a={top:c.top,left:c.left,right:c.right,bottom:c.bottom,width:c.width,height:c.height})}return a}(e,t)}var Tc=["TEMPLATE","STYLE","SCRIPT"];function Pc(e){var t=st(e);if(!t)return function(){};for(var o=[];e!==t.body&&e.parentElement;){for(var n=0,r=e.parentElement.children;n0&&n>o&&(t=n-o>1)}a!==t&&s(t)}}),function(){return e.dispose()}}),a}(o,n),m=ht.useCallback(function(e){e.which===sr.escape&&p&&(p(e),e.preventDefault(),e.stopPropagation())},[p]);return Mc(va(),"keydown",m),ht.createElement("div",pt({ref:r},qr(o,jr),{className:a,role:i,"aria-label":s,"aria-labelledby":l,"aria-describedby":c,onKeyDown:m,style:pt({overflowY:h?"scroll":void 0,outline:"none"},u)}),d)});function Ac(e,t){var o,n,r,i=ht.useRef(),a=ht.useRef(null),s=va();if(!e||e!==i.current||"string"==typeof e){var l=null==t?void 0:t.current;if(e)if("string"==typeof e)if(null===(o=null==l?void 0:l.getRootNode())||void 0===o?void 0:o.host)a.current=null!==(r=null===(n=null==l?void 0:l.getRootNode())||void 0===n?void 0:n.querySelector(e))&&void 0!==r?r:null;else{var c=st(l);a.current=c?c.querySelector(e):null}else a.current="stopPropagation"in e||"getBoundingClientRect"in e?e:"current"in e?e.current:e;i.current=e}return[a,s]}Bc.displayName="Popup";var Fc,Lc=function(){var e;return null!==(e=ba())&&void 0!==e?e:"undefined"!=typeof document?document:void 0},Oc=function(){var e;return null!==(e=va())&&void 0!==e?e:"undefined"!=typeof window?window:void 0},Hc=function(e){var t,o;return null!==(o=null===(t=null==e?void 0:e.window)||void 0===t?void 0:t.document)&&void 0!==o?o:"undefined"!=typeof document?document:void 0},zc=function(e){var t;return null!==(t=null==e?void 0:e.window)&&void 0!==t?t:"undefined"!=typeof window?window:void 0},Wc=((Fc={})[Al.top]=$e.slideUpIn10,Fc[Al.bottom]=$e.slideDownIn10,Fc[Al.left]=$e.slideLeftIn10,Fc[Al.right]=$e.slideRightIn10,Fc),Vc={opacity:0,filter:"opacity(0)",pointerEvents:"none"},Kc=["role","aria-roledescription"],Gc={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:Rl.bottomAutoEdge},Uc=vr({disableCaching:!0});var jc=ht.memo(ht.forwardRef(function(e,t){var o=Cr(Gc,e),n=o.styles,r=o.style,i=o.ariaLabel,a=o.ariaDescribedBy,s=o.ariaLabelledBy,l=o.className,c=o.isBeakVisible,u=o.children,d=o.beakWidth,p=o.calloutWidth,h=o.calloutMaxWidth,m=o.calloutMinWidth,f=o.doNotLayer,g=o.finalHeight,v=o.hideOverflow,b=void 0===v?!!g:v,y=o.backgroundColor,C=o.calloutMaxHeight,_=o.onScroll,S=o.shouldRestoreFocus,x=void 0===S||S,k=o.target,w=o.hidden,I=o.onLayerMounted,D=o.popupProps,E=ht.useRef(null),T=ii(ht.useRef(null),null==D?void 0:D.ref),P=ht.useState(null),R=P[0],M=P[1],N=ht.useCallback(function(e){M(e)},[]),B=ii(E,t),A=Ac(o.target,{current:R}),F=A[0],L=A[1],O=function(e,t,o){var n=e.bounds,r=e.minPagePadding,i=void 0===r?Gc.minPagePadding:r,a=e.target,s=ht.useState(!1),l=s[0],c=s[1],u=ht.useRef(),d=ht.useCallback(function(){if(!u.current||l){var e="function"==typeof n?o?n(a,o):void 0:n;!e&&o&&(e={top:(e=Ec(t.current,o)).top+i,left:e.left+i,right:e.right-i,bottom:e.bottom-i,width:e.width-2*i,height:e.height-2*i}),u.current=e,l&&c(!1)}return u.current},[n,i,a,t,o,l]),p=Rc();return Mc(o,"resize",p.debounce(function(){c(!0)},500,{leading:!0})),d}(o,F,L),H=function(c,u,d,p,h,e){var t,o=ht.useState(),m=o[0],f=o[1],g=ht.useRef(0),v=ht.useRef(),n=Rc(),r=c.hidden,b=c.target,y=c.finalHeight,C=c.calloutMaxHeight,_=c.onPositioned,i=c.directionalHint,S=c.hideOverflow,x=c.preferScrollResizePositioning,k=Oc(),a=ht.useRef();a.current!==e.current&&(a.current=e.current,t=e.current?null==k?void 0:k.getComputedStyle(e.current):void 0);var w=null==t?void 0:t.overflowY;return ht.useEffect(function(){if(!r){var e=n.requestAnimationFrame(function(){var e,t,o,n;if(u.current&&d){var r=pt(pt({},c),{target:p.current,bounds:h()}),i=d.cloneNode(!0);i.style.maxHeight=C?"".concat(C):"",i.style.visibility="hidden",null===(e=d.parentElement)||void 0===e||e.appendChild(i);var a=v.current===b?m:void 0,s=x&&!(S||"clip"===w||"hidden"===w),l=y?wc(r,u.current,i,a,k):kc(r,u.current,i,a,s,void 0,k);null===(t=d.parentElement)||void 0===t||t.removeChild(i),!m&&l||m&&l&&(n=l,!Yc((o=m).elementPosition,n.elementPosition)||!Yc(o.beakPosition.elementPosition,n.beakPosition.elementPosition))&&g.current<5?(g.current++,f(l)):g.current>0&&(g.current=0,null==_||_(m))}},d);return v.current=b,function(){n.cancelAnimationFrame(e),v.current=void 0}}f(void 0),g.current=0},[r,i,n,d,C,u,p,y,h,_,m,c,b,S,x,w,k]),m}(o,E,R,F,O,T),z=function(e,i,t,a){var o,s=e.calloutMaxHeight,n=e.finalHeight,r=e.directionalHint,l=e.directionalHintFixed,c=e.hidden,u=e.gapSpace,d=e.beakWidth,p=e.isBeakVisible,h=e.coverTarget,m=ht.useState(),f=m[0],g=m[1],v=null!==(o=null==a?void 0:a.elementPosition)&&void 0!==o?o:{},b=v.top,y=v.bottom,C=(null==t?void 0:t.current)?Sc(t.current):void 0;return ht.useEffect(function(){var e,t,o=null!==(e=i())&&void 0!==e?e:{},n=o.top,r=o.bottom;(null==a?void 0:a.targetEdge)===Al.top&&(null==C?void 0:C.top)&&!h&&(r=C.top-function(e,t,o){return Cc(e,t,o)}(p,d,u)),"number"==typeof b&&r?t=r-b:"number"==typeof y&&"number"==typeof n&&r&&(t=r-n-y),g(!s&&!c||s&&t&&s>t?t:s||void 0)},[y,s,n,r,l,i,c,a,b,u,d,p,C,h]),f}(o,O,F,H),W=function(e,t,a,s,l){var c=e.hidden,u=e.onDismiss,d=e.preventDismissOnScroll,p=e.preventDismissOnResize,h=e.preventDismissOnLostFocus,m=e.dismissOnTargetClick,f=e.shouldDismissOnWindowFocus,g=e.preventDismissOnEvent,v=ht.useRef(!1),b=Rc(),o=Zi([function(){v.current=!0},function(){v.current=!1}]),y=!!t;return ht.useEffect(function(){var o=function(e){y&&!d&&t(e)},n=function(e){p||g&&g(e)||null==u||u(e)},r=function(e){h||t(e)},t=function(e){var t=e.composedPath?e.composedPath():[],o=t.length>0?t[0]:e.target,n=a.current&&!Ga(a.current,o);if(n&&v.current)v.current=!1;else if(!s.current&&n||e.target!==l&&n&&(!s.current||"stopPropagation"in s.current||m||o!==s.current&&!Ga(s.current,o))){if(g&&g(e))return;null==u||u(e)}},i=function(e){f&&((!g||g(e))&&(g||h)||(null==l?void 0:l.document.hasFocus())||null!==e.relatedTarget||null==u||u(e))},e=new Promise(function(t){b.setTimeout(function(){if(!c&&l){var e=[Gl(l,"scroll",o,!0),Gl(l,"resize",n,!0),Gl(l.document.documentElement,"focus",r,!0),Gl(l.document.documentElement,"click",r,!0),Gl(l,"blur",i,!0)];t(function(){e.forEach(function(e){return e()})})}},0)});return function(){e.then(function(e){return e()})}},[c,b,a,s,l,u,f,m,h,p,d,y,g]),o}(o,H,E,F,L),V=W[0],K=W[1],G=(null==H?void 0:H.elementPosition.top)&&(null==H?void 0:H.elementPosition.bottom),U=pt(pt({},null==H?void 0:H.elementPosition),{maxHeight:z});if(G&&(U.bottom=void 0),function(e,t,o){var n=e.hidden,r=e.setInitialFocus,i=Rc(),a=!!t;ht.useEffect(function(){if(!n&&r&&a&&o){var e=i.requestAnimationFrame(function(){return $a(o)},o);return function(){return i.cancelAnimationFrame(e)}}},[n,a,i,o,r])}(o,H,R),ht.useEffect(function(){w||null==I||I()},[w]),!L)return null;var j=b,q=c&&!!k,Y=Uc(n,{theme:o.theme,className:l,overflowYHidden:j,calloutWidth:p,positions:H,beakWidth:d,backgroundColor:y,calloutMaxWidth:h,calloutMinWidth:m,doNotLayer:f}),Z=pt(pt({maxHeight:C||"100%"},r),j&&{overflowY:"hidden"}),X=o.hidden?{visibility:"hidden"}:void 0;return ht.createElement("div",{ref:B,className:Y.container,style:X},ht.createElement("div",pt({},qr(o,jr,Kc),{className:hi(Y.root,H&&H.targetEdge&&Wc[H.targetEdge]),style:H?pt({},U):Vc,tabIndex:-1,ref:N}),q&&ht.createElement("div",{className:Y.beak,style:qc(H)}),q&&ht.createElement("div",{className:Y.beakCurtain}),ht.createElement(Bc,pt({role:o.role,"aria-roledescription":o["aria-roledescription"],ariaDescribedBy:a,ariaLabel:i,ariaLabelledBy:s,className:Y.calloutMain,onDismiss:o.onDismiss,onMouseDown:V,onMouseUp:K,onRestoreFocus:o.onRestoreFocus,onScroll:_,shouldRestoreFocus:x,style:Z},D,{ref:T}),u)))}),function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||vl(e,t)});function qc(e){var t,o,n=pt(pt({},null===(t=null==e?void 0:e.beakPosition)||void 0===t?void 0:t.elementPosition),{display:(null===(o=null==e?void 0:e.beakPosition)||void 0===o?void 0:o.hideBeak)?"none":void 0});return n.top||n.bottom||n.left||n.right||(n.left=0,n.top=0),n}function Yc(e,t){for(var o in t)if(t.hasOwnProperty(o)){var n=e[o],r=t[o];if(void 0===n||void 0===r)return!1;if(n.toFixed(2)!==r.toFixed(2))return!1}return!0}function Zc(e){return{height:e,width:e}}jc.displayName="CalloutContentBase";var Xc={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},Qc=ir(jc,function(e){var t,o=e.theme,n=e.className,r=e.overflowYHidden,i=e.calloutWidth,a=e.beakWidth,s=e.backgroundColor,l=e.calloutMaxWidth,c=e.calloutMinWidth,u=e.doNotLayer,d=Ro(Xc,o),p=o.semanticColors,h=o.effects;return{container:[d.container,{position:"relative"}],root:[d.root,o.fonts.medium,{position:"absolute",display:"flex",zIndex:u?Qo.Layer:void 0,boxSizing:"border-box",borderRadius:h.roundedCorner2,boxShadow:h.elevation16,selectors:(t={},t[Mo]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},n,!!i&&{width:i},!!l&&{maxWidth:l},!!c&&{minWidth:c}],beak:[d.beak,{position:"absolute",backgroundColor:p.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},Zc(a),s&&{backgroundColor:s}],beakCurtain:[d.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:p.menuBackground,borderRadius:h.roundedCorner2}],calloutMain:[d.calloutMain,{backgroundColor:p.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",width:"100%",borderRadius:h.roundedCorner2},r&&{overflowY:"hidden"},s&&{backgroundColor:s}]}},void 0,{scope:"CalloutContent"}),Jc=ht.createContext(void 0),$c=function(){return function(){}};Jc.Provider;var eu=ReactDOM,tu=function(e){var t=e.providerRef,o=e.layerRoot,n=ht.useState([])[0],r=ht.useContext(il),i=void 0!==r&&!o,a=ht.useMemo(function(){return i?void 0:{providerRef:t,registeredProviders:n,registerProvider:function(e){n.push(e),null==r||r.registerProvider(e)},unregisterProvider:function(e){null==r||r.unregisterProvider(e);var t=n.indexOf(e);t>=0&&n.splice(t,1)}}},[t,n,r,i]);return ht.useEffect(function(){if(a)return a.registerProvider(a.providerRef),function(){return a.unregisterProvider(a.providerRef)}},[a]),a?ht.createElement(il.Provider,{value:a},e.children):ht.createElement(ht.Fragment,null,e.children)};function ou(e,t){var o=(t||{}).customizations,n=void 0===o?{settings:{},scopedSettings:{}}:o;return{customizations:{settings:sn(n.settings,e.settings),scopedSettings:ln(n.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}var nu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._onCustomizationChange=function(){return e.forceUpdate()},e}return m(e,t),e.prototype.componentDidMount=function(){At.observe(this._onCustomizationChange)},e.prototype.componentWillUnmount=function(){At.unobserve(this._onCustomizationChange)},e.prototype.render=function(){var o=this,n=this.props.contextTransform;return ht.createElement(or.Consumer,null,function(e){var t=ou(o.props,e);return n&&(t=n(t)),ht.createElement(or.Provider,{value:t},o.props.children)})},e}(ht.Component),ru=vr(),iu=Do(function(e,t){return eo(pt(pt({},e),{rtl:t}))}),au=ht.forwardRef(function(e,t){var o=e.className,n=e.theme,r=e.applyTheme,i=e.applyThemeToBody,a=e.styles,s=ru(a,{theme:n,applyTheme:r,className:o}),l=ht.useRef(null);return function(t,e,o){var n=e.bodyThemed;ht.useEffect(function(){if(t){var e=st(o.current);if(e)return e.body.classList.add(n),function(){e.body.classList.remove(n)}}},[n,t,o])}(i,s,l),ht.createElement(ht.Fragment,null,function(e,t,o,n){var r=t.root,i=e.as,a=void 0===i?"div":i,s=e.dir,l=e.theme,c=qr(e,jr,["dir"]),u=function(e){var t=e.theme,o=e.dir,n=cr(t)?"rtl":"ltr",r=cr()?"rtl":"ltr",i=o||n;return{rootDir:i!==n||i!==r?i:o,needsTheme:i!==n}}(e),d=u.rootDir,p=u.needsTheme,h=ht.createElement(tu,{providerRef:o},ht.createElement(a,pt({dir:d},c,{className:r,ref:ii(o,n)})));return p&&(h=ht.createElement(nu,{settings:{theme:iu(l,"rtl"===s)}},h)),h}(e,s,l,t))});au.displayName="FabricBase";var su={fontFamily:"inherit"},lu={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},cu=ir(au,function(e){var t=e.applyTheme,o=e.className,n=e.preventBlanketFontInheritance,r=e.theme;return{root:[Ro(lu,r).root,r.fonts.medium,{color:r.palette.neutralPrimary},!n&&{"& button":su,"& input":su,"& textarea":su},t&&{color:r.semanticColors.bodyText,backgroundColor:r.semanticColors.bodyBackground},o],bodyThemed:[{backgroundColor:r.semanticColors.bodyBackground}]}},void 0,{scope:"Fabric"});function uu(e,t){var o=e,n=t;o._virtual||(o._virtual={children:[]});var r=o._virtual.parent;if(r&&r!==t){var i=r._virtual.children.indexOf(o);i>-1&&r._virtual.children.splice(i,1)}o._virtual.parent=n||void 0,n&&(n._virtual||(n._virtual={children:[]}),n._virtual.children.push(o))}var du={},pu={},hu="fluent-default-layer-host",mu="#".concat(hu);function fu(e,t){du[e]||(du[e]=[]),du[e].push(t);var o=pu[e];if(o)for(var n=0,r=o;n=0&&(o.splice(n,1),0===o.length&&delete du[e])}var r=pu[e];if(r)for(var i=0,a=r;i=0&&o.splice(n,1),0===o.length&&delete pu[e]}}function _u(e,t){void 0===t&&(t=null);var o=e.createElement("div");return o.setAttribute("id",hu),o.style.cssText="position:fixed;z-index:1000000",t?t.appendChild(o):null==e||e.body.appendChild(o),o}function Su(e,t){void 0===t&&(t=null);var o=null!=t?t:e,n=o.querySelector("#".concat(hu));n&&o.removeChild(n)}function xu(e){du[e]&&du[e].forEach(function(e){return e()})}function ku(e){mu=e}function wu(){return mu}var Iu,Du=vr(),Eu=ht.forwardRef(function(e,t){var o,n=null!==(o=ht.useContext(Jc))&&void 0!==o?o:$c,l=ht.useRef(null),r=ii(l,t),c=ht.useRef(),i=ht.useRef(null),a=ht.useContext(il),s=ht.useState(!1),u=s[0],d=s[1],p=ht.useCallback(function(e){var t,o=!!(null==(t=null==a?void 0:a.providerRef)?void 0:t.current)&&t.current.classList.contains(Jo);e&&o&&e.classList.add(Jo)},[a]),h=e.children,m=e.className,f=e.eventBubblingEnabled,g=e.fabricProps,v=e.hostId,b=e.insertFirst,y=e.onLayerDidMount,C=void 0===y?function(){}:y,_=e.onLayerMounted,S=void 0===_?function(){}:_,x=e.onLayerWillUnmount,k=e.styles,w=e.theme,I=ii(i,null==g?void 0:g.ref,p),D=Du(k,{theme:w,className:m,isNotHost:!v}),E=function(){null==x||x();var e=c.current;c.current=void 0,e&&e.parentNode&&e.parentNode.removeChild(e)},T=function(){var e,t,o,n,r=st(l.current),i=(null===(t=null===(e=l.current)||void 0===e?void 0:e.getRootNode())||void 0===t?void 0:t.host)?null===(o=null==l?void 0:l.current)||void 0===o?void 0:o.getRootNode():void 0;if(r&&(r||i)){var a=function(e,t){var o,n;void 0===t&&(t=null);var r=null!=t?t:e;if(v){var i=bu(v);return i?null!==(o=i.rootRef.current)&&void 0!==o?o:null:null!==(n=r.getElementById(v))&&void 0!==n?n:null}var a=wu(),s=a?r.querySelector(a):null;return s||(s=_u(e,t)),s}(r,i);if(a){a.__tabsterElementFlags||(a.__tabsterElementFlags={}),a.__tabsterElementFlags.noDirectAriaHidden=!0,E();var s=(null!==(n=a.ownerDocument)&&void 0!==n?n:r).createElement("div");s.className=D.root,Rs(s),uu(s,l.current),b?a.insertBefore(s,a.firstChild):a.appendChild(s),c.current=s,d(!0)}}};return ri(function(){T(),v&&fu(v,T);var e=c.current?n(c.current):void 0;return function(){e&&e(),E(),v&&gu(v,T)}},[v]),ht.useEffect(function(){c.current&&u&&(null==S||S(),null==C||C(),d(!1))},[u,S,C]),function(e){Qi({name:"Layer",props:e,deprecations:{onLayerMounted:"onLayerDidMount"}})}(e),ht.createElement("span",{className:"ms-layer",ref:r},c.current&&eu.createPortal(ht.createElement(tu,{layerRoot:!0,providerRef:I},ht.createElement(cu,pt({},!f&&(Iu||(Iu={},["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 Iu[e]=Tu})),Iu),g,{className:hi(D.content,null==g?void 0:g.className),ref:I}),h)),c.current))});Eu.displayName="LayerBase";var Tu=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()},Pu={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},Ru=function(e){var t=e.className,o=e.isNotHost,n=e.theme,r=Ro(Pu,n);return{root:[r.root,n.fonts.medium,o&&[r.rootNoHost,{position:"fixed",zIndex:Qo.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[r.content,{visibility:"visible"}]}},Mu=ir(Eu,Ru,void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),Nu=ht.forwardRef(function(e,t){var o=e.layerProps,n=e.doNotLayer,r=Fe(e,["layerProps","doNotLayer"]),i=ht.createElement(Qc,pt({},r,{doNotLayer:n,ref:t}));return n?i:ht.createElement(Mu,pt({},o),i)});Nu.displayName="Callout";var Bu,Au=function(e){var t=e.item,o=e.classNames,n=t.iconProps;return ht.createElement(wi,pt({},n,{className:o.icon}))},Fu=function(e){var t=e.item;return e.hasIcons?t.onRenderIcon?t.onRenderIcon(e,Au):Au(e):null},Lu=function(e){var t=e.onCheckmarkClick,o=e.item,n=e.classNames,r=zl(o);return t?ht.createElement(wi,{iconName:!1!==o.canCheck&&r?"CheckMark":"",className:n.checkmarkIcon,onClick:function(e){return t(o,e)}}):null},Ou=function(e){var t=e.item,o=e.classNames;return t.text||t.name?ht.createElement("span",{className:o.label},t.text||t.name):null},Hu=function(e){var t=e.item,o=e.classNames;return t.secondaryText?ht.createElement("span",{className:o.secondaryText},t.secondaryText):null},zu=function(e){var t=e.item,o=e.classNames,n=e.theme;return Wl(t)?ht.createElement(wi,pt({iconName:cr(n)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:o.subMenuIcon})):null},Wu=function(t){function e(e){var i=t.call(this,e)||this;return i.openSubMenu=function(){var e=i.props,t=e.item,o=e.openSubMenu,n=e.getSubmenuTarget;if(n){var r=n();Wl(t)&&o&&r&&o(t,r)}},i.dismissSubMenu=function(){var e=i.props,t=e.item,o=e.dismissSubMenu;Wl(t)&&o&&o()},i.dismissMenu=function(e){var t=i.props.dismissMenu;t&&t(void 0,e)},ua(i),i}return m(e,t),e.prototype.render=function(){var e=this.props,t=e.item,o=e.classNames,n=t.onRenderContent||this._renderLayout;return ht.createElement("div",{className:t.split?o.linkContentMenu:o.linkContent},n(this.props,{renderCheckMarkIcon:Lu,renderItemIcon:Fu,renderItemName:Ou,renderSecondaryText:Hu,renderSubMenuIcon:zu}))},e.prototype._renderLayout=function(e,t){return ht.createElement(ht.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))},e}(ht.Component),Vu=Do(function(e){return Fn({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})}),Ku=36,Gu=Yo(0,Ko),Uu=Do(function(e){var t,o,n,r,i,a=e.semanticColors,s=e.fonts,l=e.palette,c=a.menuItemBackgroundHovered,u=a.menuItemTextHovered,d=a.menuItemBackgroundPressed,p=a.bodyDivider;return Bn({item:[s.medium,{color:a.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:p,position:"relative"},root:[on(e),s.medium,{color:a.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:Ku,lineHeight:Ku,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:a.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[Mo]={color:"GrayText",opacity:1},t)},rootHovered:{backgroundColor:c,color:u,selectors:{".ms-ContextualMenu-icon":{color:l.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootFocused:{backgroundColor:l.white},rootChecked:{selectors:{".ms-ContextualMenu-checkmarkIcon":{color:l.neutralPrimary}}},rootPressed:{backgroundColor:d,selectors:{".ms-ContextualMenu-icon":{color:l.themeDark},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootExpanded:{backgroundColor:d,color:a.bodyTextChecked,selectors:(o={".ms-ContextualMenu-submenuIcon":(n={},n[Mo]={color:"inherit"},n)},o[Mo]=pt({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},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",whiteSpace:"nowrap",overflow:"hidden"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:Ku,fontSize:Je.medium,width:Je.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(r={},r[Gu]={fontSize:Je.large,width:Je.large},r)},iconColor:{color:a.menuIcon},iconDisabled:{color:a.disabledBodyText},checkmarkIcon:{color:a.bodySubtext},subMenuIcon:{height:Ku,lineHeight:Ku,color:l.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:Je.small,selectors:(i={":hover":{color:l.neutralPrimary},":active":{color:l.neutralPrimary}},i[Gu]={fontSize:Je.medium},i)},splitButtonFlexContainer:[on(e),{display:"flex",height:Ku,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]})}),ju="28px",qu=Yo(0,Ko),Yu=Do(function(e){var t;return Fn(Vu(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[qu]={right:32},t)},divider:{height:16,width:1}})}),Zu={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"},Xu=Do(function(e,t,o,n,r,i,a,s,l,c,u,d){var p,h,m,f,g=Uu(e),v=Ro(Zu,e);return Fn({item:[v.item,g.item,a],divider:[v.divider,g.divider,s],root:[v.root,g.root,n&&[v.isChecked,g.rootChecked],r&&g.anchorLink,o&&[v.isExpanded,g.rootExpanded],t&&[v.isDisabled,g.rootDisabled],!t&&!o&&[{selectors:(p={":hover":g.rootHovered,":active":g.rootPressed},p[".".concat(Jo," &:focus, .").concat(Jo," &:focus:hover, :host(.").concat(Jo,") &:focus, :host(.").concat(Jo,") &:focus:hover")]=g.rootFocused,p[".".concat(Jo," &:hover, :host(.").concat(Jo,") &:hover")]={background:"inherit;"},p)}],d],splitPrimary:[g.root,{width:"calc(100% - ".concat(ju,")")},n&&["is-checked",g.rootChecked],(t||u)&&["is-disabled",g.rootDisabled],!(t||u)&&!n&&[{selectors:(h={":hover":g.rootHovered},h[":hover ~ .".concat(v.splitMenu)]=g.rootHovered,h[":active"]=g.rootPressed,h[".".concat(Jo," &:focus, .").concat(Jo," &:focus:hover, :host(.").concat(Jo,") &:focus, :host(.").concat(Jo,") &:focus:hover")]=g.rootFocused,h[".".concat(Jo," &:hover, :host(.").concat(Jo,") &:hover")]={background:"inherit;"},h)}]],splitMenu:[v.splitMenu,g.root,{flexBasis:"0",padding:"0 8px",minWidth:ju},o&&["is-expanded",g.rootExpanded],t&&["is-disabled",g.rootDisabled],!t&&!o&&[{selectors:(m={":hover":g.rootHovered,":active":g.rootPressed},m[".".concat(Jo," &:focus, .").concat(Jo," &:focus:hover, :host(.").concat(Jo,") &:focus, :host(.").concat(Jo,") &:focus:hover")]=g.rootFocused,m[".".concat(Jo," &:hover, :host(.").concat(Jo,") &:hover")]={background:"inherit;"},m)}]],anchorLink:g.anchorLink,linkContent:[v.linkContent,g.linkContent],linkContentMenu:[v.linkContentMenu,g.linkContent,{justifyContent:"center"}],icon:[v.icon,i&&g.iconColor,g.icon,l,t&&[v.isDisabled,g.iconDisabled]],iconColor:g.iconColor,checkmarkIcon:[v.checkmarkIcon,i&&g.checkmarkIcon,g.icon,l],subMenuIcon:[v.subMenuIcon,g.subMenuIcon,c,o&&{color:e.palette.neutralPrimary},t&&[g.iconDisabled]],label:[v.label,g.label],secondaryText:[v.secondaryText,g.secondaryText],splitContainer:[g.splitButtonFlexContainer,!t&&!n&&[{selectors:(f={},f[".".concat(Jo," &:focus, .").concat(Jo," &:focus:hover, :host(.").concat(Jo,") &:focus, :host(.").concat(Jo,") &:focus:hover")]=g.rootFocused,f)}]],screenReaderText:[v.screenReaderText,g.screenReaderText,ho,{visibility:"hidden"}]})}),Qu=function(e){var t=e.theme,o=e.disabled,n=e.expanded,r=e.checked,i=e.isAnchorLink,a=e.knownIcon,s=e.itemClassName,l=e.dividerClassName,c=e.iconClassName,u=e.subMenuClassName,d=e.primaryDisabled,p=e.className;return Xu(t,o,n,r,i,a,s,l,c,u,d,p)},Ju=ir(Wu,Qu,void 0,{scope:"ContextualMenuItem"}),$u=function(t){function e(e){var r=t.call(this,e)||this;return r._onItemMouseEnter=function(e){var t=r.props,o=t.item,n=t.onItemMouseEnter;n&&n(o,e,e.currentTarget)},r._onItemClick=function(e){var t=r.props,o=t.item,n=t.onItemClickBase;n&&n(o,e,e.currentTarget)},r._onItemMouseLeave=function(e){var t=r.props,o=t.item,n=t.onItemMouseLeave;n&&n(o,e)},r._onItemKeyDown=function(e){var t=r.props,o=t.item,n=t.onItemKeyDown;n&&n(o,e)},r._onItemMouseMove=function(e){var t=r.props,o=t.item,n=t.onItemMouseMove;n&&n(o,e,e.currentTarget)},r._getSubmenuTarget=function(){},ua(r),r}return m(e,t),e.prototype.shouldComponentUpdate=function(e){return!vl(e,this.props)},e}(ht.Component),ed="ktp",td="-",od=ed+td,nd="data-ktp-target",rd="data-ktp-execute-target",id="data-ktp-aria-target",ad="ktp-layer-id",sd=", ";!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"}(Bu||(Bu={}));var ld=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 o=e;t||(o=this.addParentOverflow(e),this.sequenceMapping[o.keySequences.toString()]=o);var n=this._getUniqueKtp(o);if(t?this.persistedKeytips[n.uniqueID]=n:this.keytips[n.uniqueID]=n,this.inKeytipMode||!this.delayUpdatingKeytipChange){var r=t?Bu.PERSISTED_KEYTIP_ADDED:Bu.KEYTIP_ADDED;xl.raise(this,r,{keytip:o,uniqueID:n.uniqueID})}return n.uniqueID},e.prototype.update=function(e,t){var o=this.addParentOverflow(e),n=this._getUniqueKtp(o,t),r=this.keytips[t];r&&(n.keytip.visible=r.keytip.visible,this.keytips[t]=n,delete this.sequenceMapping[r.keytip.keySequences.toString()],this.sequenceMapping[n.keytip.keySequences.toString()]=n.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||xl.raise(this,Bu.KEYTIP_UPDATED,{keytip:n.keytip,uniqueID:n.uniqueID}))},e.prototype.unregister=function(e,t,o){void 0===o&&(o=!1),o?delete this.persistedKeytips[t]:delete this.keytips[t],!o&&delete this.sequenceMapping[e.keySequences.toString()];var n=o?Bu.PERSISTED_KEYTIP_REMOVED:Bu.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||xl.raise(this,n,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){xl.raise(this,Bu.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){xl.raise(this,Bu.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){var t=this;return Object.keys(this.keytips).map(function(e){return t.keytips[e].keytip})},e.prototype.addParentOverflow=function(e){var t=z([],e.keySequences,!0);if(t.pop(),0!==t.length){var o=this.sequenceMapping[t.toString()];if(o&&o.overflowSetSequence)return pt(pt({},e),{overflowSetSequence:o.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){xl.raise(this,Bu.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=bs()),{keytip:pt({},e),uniqueID:t}},e._instance=new e,e}();function cd(e){return e.reduce(function(e,t){return e+td+t.split("").join(td)},ed)}function ud(e,t){var o=t.length,n=z([],t,!0).pop();return Aa(z([],e,!0),o-1,n)}function dd(e){return"["+nd+'="'+cd(e)+'"]'}function pd(e){return"["+rd+'="'+e+'"]'}function hd(e){var t=" "+ad;return e.length?t+" "+cd(e):t}function md(e){var t=ht.useRef(),o=e.keytipProps?pt({disabled:e.disabled},e.keytipProps):void 0,n=Zi(ld.getInstance()),r=Yi(e);ri(function(){t.current&&o&&((null==r?void 0:r.keytipProps)!==e.keytipProps||(null==r?void 0:r.disabled)!==e.disabled)&&n.update(o,t.current)}),ri(function(){return o&&(t.current=n.register(o)),function(){o&&n.unregister(o,t.current)}},[]);var i={ariaDescribedBy:e.ariaDescribedBy,keytipId:void 0};return o&&(i=function(e,t,o){var n=e.addParentOverflow(t),r=Dl(o,hd(n.keySequences)),i=z([],n.keySequences,!0);return n.overflowSetSequence&&(i=ud(i,n.overflowSetSequence)),{ariaDescribedBy:r,keytipId:cd(i)}}(n,o,e.ariaDescribedBy)),i}var fd=function(e){var t,o=e.children,n=md(Fe(e,["children"])),r=n.keytipId,i=n.ariaDescribedBy;return o(((t={})[nd]=r,t[rd]=r,t["aria-describedby"]=i,t))},gd=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r._anchor=ht.createRef(),r._getMemoizedMenuButtonKeytipProps=Do(function(e){return pt(pt({},e),{hasMenu:!0})}),r._getSubmenuTarget=function(){return r._anchor.current?r._anchor.current:void 0},r._onItemClick=function(e){var t=r.props,o=t.item,n=t.onItemClick;n&&n(o,e)},r._renderAriaDescription=function(e,t){return e?ht.createElement("span",{id:r._ariaDescriptionId,className:t},e):null},r}return m(t,e),t.prototype.render=function(){var t=this,e=this.props,o=e.item,n=e.classNames,r=e.index,i=e.focusableElementIndex,a=e.totalItemCount,s=e.hasCheckmarks,l=e.hasIcons,c=e.expandedMenuItemKey,u=e.onItemClick,d=e.openSubMenu,p=e.dismissSubMenu,h=e.dismissMenu,m=Ju;this.props.item.contextualMenuItemAs&&(m=Hl(this.props.item.contextualMenuItemAs,m)),this.props.contextualMenuItemAs&&(m=Hl(this.props.contextualMenuItemAs,m));var f=o.rel;o.target&&"_blank"===o.target.toLowerCase()&&(f=f||"nofollow noopener noreferrer");var g=Wl(o),v=qr(o,Pr),b=Vl(o),y=o.itemProps,C=o.ariaDescription,_=o.keytipProps;_&&g&&(_=this._getMemoizedMenuButtonKeytipProps(_)),C&&(this._ariaDescriptionId=bs());var S=Dl(o.ariaDescribedBy,C?this._ariaDescriptionId:void 0,v["aria-describedby"]),x={"aria-describedby":S};return ht.createElement("div",null,ht.createElement(fd,{keytipProps:o.keytipProps,ariaDescribedBy:S,disabled:b},function(e){return ht.createElement("a",pt({},x,v,e,{ref:t._anchor,href:o.href,target:o.target,rel:f,className:n.root,role:"menuitem","aria-haspopup":g||void 0,"aria-expanded":g?o.key===c:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":Vl(o),style:o.style,onClick:t._onItemClick,onMouseEnter:t._onItemMouseEnter,onMouseLeave:t._onItemMouseLeave,onMouseMove:t._onItemMouseMove,onKeyDown:g?t._onItemKeyDown:void 0}),ht.createElement(m,pt({componentRef:o.componentRef,item:o,classNames:n,index:r,onCheckmarkClick:s&&u?u:void 0,hasIcons:l,openSubMenu:d,dismissSubMenu:p,dismissMenu:h,getSubmenuTarget:t._getSubmenuTarget},y)),t._renderAriaDescription(C,n.screenReaderText))}))},t}($u),vd=vr(),bd=ht.forwardRef(function(e,t){var o=e.styles,n=e.theme,r=e.getClassNames,i=e.className,a=vd(o,{theme:n,getClassNames:r,className:i});return ht.createElement("span",{className:a.wrapper,ref:t},ht.createElement("span",{className:a.divider}))});bd.displayName="VerticalDividerBase";var yd=ir(bd,function(e){var t=e.theme,o=e.getClassNames,n=e.className;if(!t)throw new Error("Theme is undefined or null.");if(o){var r=o(t);return{wrapper:[r.wrapper],divider:[r.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},n],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}},void 0,{scope:"VerticalDivider"}),Cd=function(t){function e(e){var i=t.call(this,e)||this;return i._getMemoizedMenuButtonKeytipProps=Do(function(e){return pt(pt({},e),{hasMenu:!0})}),i._onItemKeyDown=function(e){var t=i.props,o=t.item,n=t.onItemKeyDown;e.which===sr.enter?(i._executeItemClick(e),e.preventDefault(),e.stopPropagation()):n&&n(o,e)},i._getSubmenuTarget=function(){return i._splitButton},i._renderAriaDescription=function(e,t){return e?ht.createElement("span",{id:i._ariaDescriptionId,className:t},e):null},i._onItemMouseEnterPrimary=function(e){var t=i.props,o=t.item,n=t.onItemMouseEnter;n&&n(pt(pt({},o),{subMenuProps:void 0,items:void 0}),e,i._splitButton)},i._onItemMouseEnterIcon=function(e){var t=i.props,o=t.item,n=t.onItemMouseEnter;n&&n(o,e,i._splitButton)},i._onItemMouseMovePrimary=function(e){var t=i.props,o=t.item,n=t.onItemMouseMove;n&&n(pt(pt({},o),{subMenuProps:void 0,items:void 0}),e,i._splitButton)},i._onItemMouseMoveIcon=function(e){var t=i.props,o=t.item,n=t.onItemMouseMove;n&&n(o,e,i._splitButton)},i._onIconItemClick=function(e){var t=i.props,o=t.item,n=t.onItemClickBase;n&&n(o,e,i._splitButton?i._splitButton:e.currentTarget)},i._executeItemClick=function(e){var t=i.props,o=t.item,n=t.executeItemClick,r=t.onItemClick;if(!o.disabled&&!o.isDisabled)return i._processingTouch&&!o.canCheck&&r?r(o,e):void(n&&n(o,e))},i._onTouchStart=function(e){i._splitButton&&!("onpointerdown"in i._splitButton)&&i._handleTouchAndPointerEvent(e)},i._onPointerDown=function(e){"touch"===e.pointerType&&(i._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},i._async=new fa(i),i._events=new xl(i),i._dismissLabelId=bs(),i}return m(e,t),e.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},e.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},e.prototype.render=function(){var e,t=this,o=this.props,n=o.item,r=o.classNames,i=o.index,a=o.focusableElementIndex,s=o.totalItemCount,l=o.hasCheckmarks,c=o.hasIcons,u=o.onItemMouseLeave,d=o.expandedMenuItemKey,p=Wl(n),h=n.keytipProps;h&&(h=this._getMemoizedMenuButtonKeytipProps(h));var m=n.ariaDescription;m&&(this._ariaDescriptionId=bs());var f=null!==(e=zl(n))&&void 0!==e?e:void 0;return ht.createElement(fd,{keytipProps:h,disabled:Vl(n)},function(e){return ht.createElement("div",{"data-ktp-target":e["data-ktp-target"],ref:function(e){return t._splitButton=e},role:Kl(n),"aria-label":n.ariaLabel,className:r.splitContainer,"aria-disabled":Vl(n),"aria-expanded":p?n.key===d:void 0,"aria-haspopup":!0,"aria-describedby":Dl(n.ariaDescribedBy,m?t._ariaDescriptionId:void 0,e["aria-describedby"]),"aria-checked":f,"aria-posinset":a+1,"aria-setsize":s,onMouseEnter:t._onItemMouseEnterPrimary,onMouseLeave:u?u.bind(t,pt(pt({},n),{subMenuProps:null,items:null})):void 0,onMouseMove:t._onItemMouseMovePrimary,onKeyDown:t._onItemKeyDown,onClick:t._executeItemClick,onTouchStart:t._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":n["aria-roledescription"]},t._renderSplitPrimaryButton(n,r,i,l,c),t._renderSplitDivider(n),t._renderSplitIconButton(n,r,i,e),t._renderAriaDescription(m,r.screenReaderText))})},e.prototype._renderSplitPrimaryButton=function(e,t,o,n,r){var i=this.props,a=i.contextualMenuItemAs,s=void 0===a?Ju:a,l=i.onItemClick,c={key:e.key,disabled:Vl(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,id:this._dismissLabelId,onClick:e.onClick,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},u=e.itemProps;return ht.createElement("button",pt({},qr(c,Rr)),ht.createElement(s,pt({"data-is-focusable":!1,item:c,classNames:t,index:o,onCheckmarkClick:n&&l?l:void 0,hasIcons:r},u)))},e.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||Yu;return ht.createElement(yd,{getClassNames:t})},e.prototype._renderSplitIconButton=function(t,e,o,n){var r=this.props,i=r.onItemMouseLeave,a=r.onItemMouseDown,s=r.openSubMenu,l=r.dismissSubMenu,c=r.dismissMenu,u=Ju;this.props.item.contextualMenuItemAs&&(u=Hl(this.props.item.contextualMenuItemAs,u)),this.props.contextualMenuItemAs&&(u=Hl(this.props.contextualMenuItemAs,u));var d={onClick:this._onIconItemClick,disabled:Vl(t),className:e.splitMenu,subMenuProps:t.subMenuProps,submenuIconProps:t.submenuIconProps,split:!0,key:t.key,"aria-labelledby":this._dismissLabelId},p=pt(pt({},qr(d,Rr)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:i?i.bind(this,t):void 0,onMouseDown:function(e){return a?a(t,e):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":n["data-ktp-execute-target"],"aria-haspopup":!0}),h=t.itemProps;return ht.createElement("button",pt({},p),ht.createElement(u,pt({componentRef:t.componentRef,item:d,classNames:e,index:o,hasIcons:!1,openSubMenu:s,dismissSubMenu:l,dismissMenu:c,getSubmenuTarget:this._getSubmenuTarget},h)))},e.prototype._handleTouchAndPointerEvent=function(e){var t=this,o=this.props.onTap;o&&o(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)},e}($u),_d=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o._btn=ht.createRef(),o._getMemoizedMenuButtonKeytipProps=Do(function(e){return pt(pt({},e),{hasMenu:!0})}),o._renderAriaDescription=function(e,t){return e?ht.createElement("span",{id:o._ariaDescriptionId,className:t},e):null},o._getSubmenuTarget=function(){return o._btn.current?o._btn.current:void 0},o}return m(t,e),t.prototype.render=function(){var t=this,e=this.props,o=e.item,n=e.classNames,r=e.index,i=e.focusableElementIndex,a=e.totalItemCount,s=e.hasCheckmarks,l=e.hasIcons,c=e.contextualMenuItemAs,u=e.expandedMenuItemKey,d=e.onItemMouseDown,p=e.onItemClick,h=e.openSubMenu,m=e.dismissSubMenu,f=e.dismissMenu,g=Ju;o.contextualMenuItemAs&&(g=Hl(o.contextualMenuItemAs,g)),c&&(g=Hl(c,g));var v=zl(o),b=null!==v,y=Kl(o),C=Wl(o),_=o.itemProps,S=o.ariaLabel,x=o.ariaDescription,k=qr(o,Rr);delete k.disabled;var w=o.role||y;x&&(this._ariaDescriptionId=bs());var I=Dl(o.ariaDescribedBy,x?this._ariaDescriptionId:void 0,k["aria-describedby"]),D={className:n.root,onClick:this._onItemClick,onKeyDown:C?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return d?d(o,e):void 0},onMouseMove:this._onItemMouseMove,href:o.href,title:o.title,"aria-label":S,"aria-describedby":I,"aria-haspopup":C||void 0,"aria-expanded":C?o.key===u:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":Vl(o),"aria-checked":"menuitemcheckbox"!==w&&"menuitemradio"!==w||!b?void 0:!!v,"aria-selected":"menuitem"===w&&b?!!v:void 0,role:w,style:o.style},E=o.keytipProps;return E&&C&&(E=this._getMemoizedMenuButtonKeytipProps(E)),ht.createElement(fd,{keytipProps:E,ariaDescribedBy:I,disabled:Vl(o)},function(e){return ht.createElement("button",pt({ref:t._btn},k,D,e),ht.createElement(g,pt({componentRef:o.componentRef,item:o,classNames:n,index:r,onCheckmarkClick:s&&p?p:void 0,hasIcons:l,openSubMenu:h,dismissSubMenu:m,dismissMenu:f,getSubmenuTarget:t._getSubmenuTarget},_)),t._renderAriaDescription(x,n.screenReaderText))})},t}($u);function Sd(e,t){var o=ht.useRef(t);return o.current||(o.current=bs(e)),o.current}var xd=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];function kd(e,n,t){void 0===t&&(t=xd);var r=[],o=function(o){"function"!=typeof n[o]||void 0!==e[o]||t&&-1!==t.indexOf(o)||(r.push(o),e[o]=function(){for(var e=[],t=0;tRd[t];)t++}catch(e){t=Bd()}Pd=t}else{if(void 0===Td)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=Td}return t}var Od=function(t,e){var o=ht.useState(Bd()),n=o[0],r=o[1],i=ht.useCallback(function(){var e=Ld(ut(t.current));n!==e&&r(e)},[t,n]);return Mc(va(),"resize",i),ht.useEffect(function(){void 0===e&&i()},[e]),null!=e?e:n},Hd=ht.createContext({}),zd=vr(),Wd=vr(),Vd={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:Rl.bottomAutoEdge,beakWidth:16};function Kd(e){for(var t=0,o=0,n=e;o0){var h=0;return ht.createElement("li",{role:"presentation",key:s.key||e.key||"section-".concat(o)},ht.createElement("div",pt({},l),ht.createElement("ul",{className:r.list,role:"presentation"},s.topDivider&&Y(o,t,!0,!0),n&&q(n,e.key||o,t,e.title),s.items.map(function(e,t){var o=U(e,t,h,Kd(s.items),i,a,r);if(e.itemType!==El.Divider&&e.itemType!==El.Header){var n=e.customOnRenderListLength?e.customOnRenderListLength:1;h+=n}return o}),s.bottomDivider&&Y(o,t,!1,!0))))}}},q=function(e,t,o,n){return ht.createElement("li",{role:"presentation",title:n,key:t,className:o.item},e)},Y=function(e,t,o,n){return n||e>0?ht.createElement("li",{role:"separator",key:"separator-"+e+(void 0===o?"":o?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},Z=function(e,t,o,n,r,i,a){if(e.onRender)return e.onRender(pt({"aria-posinset":n+1,"aria-setsize":r},e),d);var s={item:e,classNames:t,index:o,focusableElementIndex:n,totalItemCount:r,hasCheckmarks:i,hasIcons:a,contextualMenuItemAs:C.contextualMenuItemAs,onItemMouseEnter:L,onItemMouseLeave:H,onItemMouseMove:O,onItemMouseDown:Qd,executeItemClick:V,onItemKeyDown:A,expandedMenuItemKey:_,openSubMenu:p,dismissSubMenu:f,dismissMenu:d};if(e.href){var l=gd;return e.contextualMenuItemWrapperAs&&(l=Hl(e.contextualMenuItemWrapperAs,l)),ht.createElement(l,pt({},s,{onItemClick:W}))}if(e.split&&Wl(e)){var c=Cd;return e.contextualMenuItemWrapperAs&&(c=Hl(e.contextualMenuItemWrapperAs,c)),ht.createElement(c,pt({},s,{onItemClick:z,onItemClickBase:K,onTap:I}))}var u=_d;return e.contextualMenuItemWrapperAs&&(u=Hl(e.contextualMenuItemWrapperAs,u)),ht.createElement(u,pt({},s,{onItemClick:z,onItemClickBase:K}))},X=function(e,t,o,n,r,i){var a=Ju;e.contextualMenuItemAs&&(a=Hl(e.contextualMenuItemAs,a)),C.contextualMenuItemAs&&(a=Hl(C.contextualMenuItemAs,a));var s=e.itemProps,l=e.id,c=s&&qr(s,jr);return ht.createElement("div",pt({id:l,className:o.header},c,{style:e.style}),ht.createElement(a,pt({item:e,classNames:t,index:n,onCheckmarkClick:r?z:void 0,hasIcons:i},s)))},Q=C.isBeakVisible,J=C.items,$=C.labelElementId,ee=C.id,te=C.className,oe=C.beakWidth,ne=C.directionalHint,re=C.directionalHintForRTL,ie=C.alignTargetEdge,ae=C.gapSpace,se=C.coverTarget,le=C.ariaLabel,ce=C.doNotLayer,ue=C.target,de=C.bounds,pe=C.useTargetWidth,he=C.useTargetAsMinWidth,me=C.directionalHintFixed,fe=C.shouldFocusOnMount,ge=C.shouldFocusOnContainer,ve=C.title,be=C.styles,ye=C.theme,Ce=C.calloutProps,_e=C.onRenderSubMenu,Se=void 0===_e?Jd:_e,xe=C.onRenderMenuList,ke=void 0===xe?function(e,t){return G(e,De)}:xe,we=C.focusZoneProps,Ie=C.getMenuClassNames,De=Ie?Ie(ye,te):zd(be,{theme:ye,className:te}),Ee=function e(t){for(var o=0,n=t;o0){var Be=Kd(J),Ae=De.subComponentStyles?De.subComponentStyles.callout:void 0;return ht.createElement(Hd.Consumer,null,function(e){return ht.createElement(Nu,pt({styles:Ae,onRestoreFocus:c},Ce,{target:ue||e.target,isBeakVisible:Q,beakWidth:oe,directionalHint:ne,directionalHintForRTL:re,gapSpace:ae,coverTarget:se,doNotLayer:ce,className:hi("ms-ContextualMenu-Callout",Ce&&Ce.className),setInitialFocus:fe,onDismiss:C.onDismiss||e.onDismiss,onScroll:x,bounds:de,directionalHintFixed:me,alignTargetEdge:ie,hidden:C.hidden||e.hidden,ref:t}),ht.createElement("div",{style:P,ref:r,id:ee,className:De.container,tabIndex:ge?0:-1,onKeyDown:B,onKeyUp:N,onFocusCapture:y,"aria-label":le,"aria-labelledby":$,role:"menu"},ve&&ht.createElement("div",{className:De.title}," ",ve," "),J&&J.length?function(e,t){var o=C.focusZoneAs,n=void 0===o?Xs:o;return ht.createElement(n,pt({},t),e)}(ke({ariaLabel:le,items:J,totalItemCount:Be,hasCheckmarks:Pe,hasIcons:Ee,defaultMenuItemRenderer:function(e){return function(e,t){var o=e.index,n=e.focusableElementIndex,r=e.totalItemCount,i=e.hasCheckmarks,a=e.hasIcons;return U(e,o,n,r,i,a,t)}(e,De)},labelElementId:$},function(e,t){return G(e,De)}),Te):null,Re&&Se(Re,Jd)),ht.createElement(sl,null))})}return null}),function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||vl(e,t)});function Xd(e){return e.which===sr.alt||"Meta"===e.key}function Qd(e,t){var o;null===(o=e.onMouseDown)||void 0===o||o.call(e,e,t)}function Jd(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")}function $d(e,t){for(var o=0,n=t;o span":{position:"relative",left:0,top:0}}],rootDisabled:[on(e,{inset:1,highContrastStyle:c,borderColor:"transparent"}),{backgroundColor:s,borderColor:s,color:l,cursor:"default",":hover":bp,":focus":bp}],iconDisabled:(t={color:l},t[Mo]={color:"GrayText"},t),menuIconDisabled:(o={color:l},o[Mo]={color:"GrayText"},o),flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:yp(i.mediumPlus.fontSize),menuIcon:yp(i.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:ho}}),_p=Do(function(e,t){var o,n,r,i,a,s,l,c,u,d,p,h,m,f,g,v,b,y=e.effects,C=e.palette,_=e.semanticColors,S={left:-2,top:-2,bottom:-2,right:-2,border:"none"},x={position:"absolute",width:1,right:31,top:8,bottom:8};return Bn({splitButtonContainer:[on(e,{highContrastStyle:S,inset:2,pointerEvents:"none"}),{display:"inline-flex",".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none",flexGrow:"1"},".ms-Button--primary":(o={borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",flexGrow:"1",":hover":{border:"none"},":active":{border:"none"}},o[Mo]=pt(pt({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{":hover":{backgroundColor:"Highlight",border:"1px solid Highlight",borderRightWidth:"0",color:"HighlightText"},":active":{border:"1px solid Highlight"}}),o),".ms-Button--default + .ms-Button":(n={},n[Mo]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":pt({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})}},n),'.ms-Button--default + .ms-Button[aria-expanded="true"]':(r={},r[Mo]={backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":pt({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})},r),".ms-Button--primary + .ms-Button":(i={border:"none"},i[Mo]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{borderLeftWidth:"0",backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",".ms-Button-menuIcon":pt(pt({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"HighlightText"})}},i),'.ms-Button--primary + .ms-Button[aria-expanded="true"]':(a={},a[Mo]=pt(pt({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{".ms-Button-menuIcon":{color:"HighlightText"}}),a),".ms-Button.is-disabled":(s={},s[Mo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},s)}],splitButtonContainerHovered:{".ms-Button--default.is-disabled":(l={backgroundColor:_.buttonBackgroundDisabled,color:_.buttonTextDisabled},l[Mo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},l),".ms-Button--primary.is-disabled":(c={backgroundColor:_.primaryButtonBackgroundDisabled,color:_.primaryButtonTextDisabled},c[Mo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},c)},splitButtonContainerChecked:{".ms-Button--primary":(u={},u[Mo]=pt({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)},splitButtonContainerCheckedHovered:{".ms-Button--primary":(d={},d[Mo]=pt({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),d)},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(p={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:y.roundedCorner2,borderBottomRightRadius:y.roundedCorner2,border:"1px solid ".concat(C.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},p[Mo]={".ms-Button-menuIcon":{color:"WindowText"}},p),splitButtonDivider:pt(pt({},x),(h={},h[Mo]={backgroundColor:"WindowText"},h)),splitButtonDividerDisabled:pt(pt({},x),(m={},m[Mo]={backgroundColor:"GrayText"},m)),splitButtonMenuButtonDisabled:(f={pointerEvents:"none",border:"none",":hover":{cursor:"default"},".ms-Button--primary":(g={},g[Mo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},g),".ms-Button-menuIcon":(v={},v[Mo]={color:"GrayText"},v)},f[Mo]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},f),splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:(b={outline:"none",border:"none"},b[Mo]=pt({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),b),splitButtonMenuFocused:pt({},on(e,{highContrastStyle:S,inset:2}))},t)}),Sp=Do(function(e,t){var o,n=Cp(e),r=_p(e),i=e.palette;return Bn(n,{root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:(o={color:i.themeDarkAlt,backgroundColor:i.neutralLighter},o[Mo]={borderColor:"Highlight",color:"Highlight"},o),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}},r,t)}),xp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return ht.createElement(up,pt({},this.props,{variantClassName:"ms-Button--icon",styles:Sp(o,t),onRenderText:Il,onRenderDescription:Il}))},u([gp("IconButton",["theme","styles"],!0)],t)}(ht.Component);!function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(vp||(vp={}));var kp=function(){var o={};return{getCachedMeasurement:function(e){if(e&&e.cacheKey&&o.hasOwnProperty(e.cacheKey))return o[e.cacheKey]},addMeasurementToCache:function(e,t){e.cacheKey&&(o[e.cacheKey]=t)}}},wp=function(e){void 0===e&&(e=kp());var s,l=e;function c(e,t){var o=l.getCachedMeasurement(e);if(void 0!==o)return o;var n=t();return l.addMeasurementToCache(e,n),n}function u(e,t,o){for(var n=e,r=c(e,o);r>s;){var i=t(n);if(void 0===i)return{renderedData:n,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(r=l.getCachedMeasurement(i)))return{dataToMeasure:i,resizeDirection:"shrink"};n=i}return{renderedData:n,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(e,t,o,n){if(void 0!==n||void 0!==t.dataToMeasure){if(n){if(s&&t.renderedData&&!t.dataToMeasure)return pt(pt({},t),function(e,t,o,n){var r;return r=e>s?n?{resizeDirection:"grow",dataToMeasure:n(o)}:{resizeDirection:"shrink",dataToMeasure:t}:{resizeDirection:"shrink",dataToMeasure:o},s=e,pt(pt({},r),{measureContainer:!1})}(n,e.data,t.renderedData,e.onGrowData));s=n}var r=pt(pt({},t),{measureContainer:!1});return t.dataToMeasure&&(r="grow"===t.resizeDirection&&e.onGrowData?pt(pt({},r),function(e,t,o,n){for(var r=e,i=c(e,o);i=i))return(t=z([],t,!0)).splice(r,0,a),pt(pt({},e),{renderedItems:t,renderedOverflowItems:o})},C._onRenderBreadcrumb=function(e){var t=e.props,o=t.ariaLabel,n=t.dividerAs,r=void 0===n?wi:n,i=t.onRenderItem,a=t.overflowAriaLabel,s=t.overflowIndex,l=t.onRenderOverflowIcon,c=t.overflowButtonAs,u=e.renderedOverflowItems,d=e.renderedItems,p=u.map(function(e){var t=!(!e.onClick&&!e.href);return{text:e.text,name:e.text,key:e.key,onClick:e.onClick?C._onBreadcrumbClicked.bind(C,e):null,href:e.href,disabled:!t,itemProps:t?void 0:qp}}),h=d.length-1,m=u&&0!==u.length,f=d.map(function(e,t){var o=C._onRenderItem;return e.onRender&&(o=Nl(e.onRender,o)),i&&(o=Nl(i,o)),ht.createElement("li",{className:C._classNames.listItem,key:e.key||String(t)},o(e),(t!==h||m&&t===s-1)&&ht.createElement(r,{className:C._classNames.chevron,iconName:cr(C.props.theme)?"ChevronLeft":"ChevronRight",item:e}))});if(m){var g=l?{}:{iconName:"More"},v=l||jp,b=c||xp;f.splice(s,0,ht.createElement("li",{className:C._classNames.overflow,key:"overflow"},ht.createElement(b,{className:C._classNames.overflowButton,iconProps:g,role:"button","aria-haspopup":"true",ariaLabel:a,onRenderMenuIcon:v,menuProps:{items:p,directionalHint:Rl.bottomLeftEdge}}),s!==h+1&&ht.createElement(r,{className:C._classNames.chevron,iconName:cr(C.props.theme)?"ChevronLeft":"ChevronRight",item:u[u.length-1]})))}var y=qr(C.props,kr,["className"]);return ht.createElement("div",pt({className:C._classNames.root,role:"navigation","aria-label":o},y),ht.createElement(Xs,pt({componentRef:C._focusZone,direction:xa.horizontal},C.props.focusZoneProps),ht.createElement("ol",{className:C._classNames.list},f)))},C._onRenderItem=function(e){if(!e)return null;var t=e.as,o=e.href,n=e.onClick,r=e.isCurrentItem,i=e.text,a=e.onRenderContent,s=Fe(e,["as","href","onClick","isCurrentItem","text","onRenderContent"]),l=Zp;if(a&&(l=Nl(a,l)),C.props.onRenderItemContent&&(l=Nl(C.props.onRenderItemContent,l)),n||o)return ht.createElement(gl,pt({},s,{as:t,className:C._classNames.itemLink,href:o,"aria-current":r?"page":void 0,onClick:C._onBreadcrumbClicked.bind(C,e)}),ht.createElement(Gp,pt({content:i,overflowMode:Mp.Parent},C.props.tooltipHostProps),l(e)));var c=t||"span";return ht.createElement(c,pt({},s,{className:C._classNames.item}),ht.createElement(Gp,pt({content:i,overflowMode:Mp.Parent},C.props.tooltipHostProps),l(e)))},C._onBreadcrumbClicked=function(e,t){e.onClick&&e.onClick(t,e)},ua(C),C._validateProps(e),C}return m(e,t),e.prototype.focus=function(){this._focusZone.current&&this._focusZone.current.focus()},e.prototype.render=function(){this._validateProps(this.props);var e=this.props,t=e.onReduceData,o=void 0===t?this._onReduceData:t,n=e.onGrowData,r=void 0===n?this._onGrowData:n,i=e.overflowIndex,a=e.maxDisplayedItems,s=e.items,l=e.className,c=e.theme,u=e.styles,d=z([],s,!0),p=d.splice(i,d.length-a),h={props:this.props,renderedItems:d,renderedOverflowItems:p};return this._classNames=Up(u,{className:l,theme:c}),ht.createElement(Np,{onRenderData:this._onRenderBreadcrumb,onReduceData:o,onGrowData:r,data:h})},e.prototype._validateProps=function(e){var t=e.maxDisplayedItems,o=e.overflowIndex,n=e.items;if(o<0||t>1&&o>t-1||n.length>0&&o>n.length-1)throw new Error("Breadcrumb: overflowIndex out of range")},e.defaultProps={items:[],maxDisplayedItems:999,overflowIndex:0},e}(ht.Component);function Zp(e){return e?ht.createElement(ht.Fragment,null,e.text):null}var Xp,Qp,Jp={root:"ms-Breadcrumb",list:"ms-Breadcrumb-list",listItem:"ms-Breadcrumb-listItem",chevron:"ms-Breadcrumb-chevron",overflow:"ms-Breadcrumb-overflow",overflowButton:"ms-Breadcrumb-overflowButton",itemLink:"ms-Breadcrumb-itemLink",item:"ms-Breadcrumb-item"},$p={whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},eh=Yo(0,Vo),th=Yo(Lo,Ko),oh=ir(Yp,function(e){var t,o,n,r,i,a=e.className,s=e.theme,l=s.palette,c=s.semanticColors,u=s.fonts,d=Ro(Jp,s),p=c.menuItemBackgroundHovered,h=c.menuItemBackgroundPressed,m=l.neutralSecondary,f=Qe.regular,g=l.neutralPrimary,v=l.neutralPrimary,b=Qe.semibold,y=l.neutralSecondary,C=l.neutralSecondary,_={fontWeight:b,color:v},S={":hover":{color:g,backgroundColor:p,cursor:"pointer",selectors:(t={},t[Mo]={color:"Highlight",backgroundColor:"transparent"},t)},":active":{backgroundColor:h,color:g},"&:active:hover":{color:g,backgroundColor:h},"&:active, &:hover, &:active:hover":{textDecoration:"none"}},x={color:m,padding:"0 8px",lineHeight:36,fontSize:18,fontWeight:f};return{root:[d.root,u.medium,{margin:"11px 0 1px"},a],list:[d.list,{whiteSpace:"nowrap",padding:0,margin:0,display:"flex",alignItems:"stretch"}],listItem:[d.listItem,{listStyleType:"none",margin:"0",padding:"0",display:"flex",position:"relative",alignItems:"center",selectors:{"&:last-child .ms-Breadcrumb-itemLink":pt(pt({},_),(o={},o[Mo]={MsHighContrastAdjust:"auto",forcedColorAdjust:"auto"},o)),"&:last-child .ms-Breadcrumb-item":_}}],chevron:[d.chevron,{color:y,fontSize:u.small.fontSize,selectors:(n={},n[Mo]=pt({color:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n[th]={fontSize:8},n[eh]={fontSize:8},n)}],overflow:[d.overflow,{position:"relative",display:"flex",alignItems:"center"}],overflowButton:[d.overflowButton,on(s,{highContrastStyle:{left:1,right:1,top:1,bottom:1}}),$p,{fontSize:16,color:C,height:"100%",cursor:"pointer",selectors:pt(pt({},S),(r={},r[eh]={padding:"4px 6px"},r[th]={fontSize:u.mediumPlus.fontSize},r))}],itemLink:[d.itemLink,on(s),$p,pt(pt({},x),{selectors:pt((i={":focus":{color:l.neutralDark}},i[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={outline:"none"},i),S)})],item:[d.item,pt(pt({},x),{selectors:{":hover":{cursor:"default"}}})]}},void 0,{scope:"Breadcrumb"}),nh=Do(function(e,t){var o,n,r;return Bn(Cp(e),{root:(o={padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},o[Mo]={borderColor:"Window"},o),rootHovered:(n={color:e.palette.themePrimary},n[Mo]={color:"Highlight"},n),iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:(r={color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent"},r[Mo]={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}},t)}),rh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return ht.createElement(up,pt({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:nh(o,t),onRenderDescription:Il}))},u([gp("ActionButton",["theme","styles"],!0)],t)}(ht.Component);function ih(e){var t,o,n,r,i,a=e.semanticColors,s=e.palette,l=a.buttonBackground,c=a.buttonBackgroundPressed,u=a.buttonBackgroundHovered,d=a.buttonBackgroundDisabled,p=a.buttonText,h=a.buttonTextHovered,m=a.buttonTextDisabled,f=a.buttonTextChecked,g=a.buttonTextCheckedHovered;return{root:{backgroundColor:l,color:p},rootHovered:(t={backgroundColor:u,color:h},t[Mo]={borderColor:"Highlight",color:"Highlight"},t),rootPressed:{backgroundColor:c,color:f},rootExpanded:{backgroundColor:c,color:f},rootChecked:{backgroundColor:c,color:f},rootCheckedHovered:{backgroundColor:c,color:g},rootDisabled:(o={color:m,backgroundColor:d},o[Mo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},o),splitButtonContainer:(n={},n[Mo]={border:"none"},n),splitButtonMenuButton:{color:s.white,backgroundColor:"transparent",":hover":(r={backgroundColor:s.neutralLight},r[Mo]={color:"Highlight"},r)},splitButtonMenuButtonDisabled:{backgroundColor:a.buttonBackgroundDisabled,":hover":{backgroundColor:a.buttonBackgroundDisabled}},splitButtonDivider:pt(pt({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(i={backgroundColor:s.neutralTertiaryAlt},i[Mo]={backgroundColor:"WindowText"},i)),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:s.neutralQuaternaryAlt,":hover":{backgroundColor:s.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:s.neutralQuaternaryAlt,":hover":{backgroundColor:s.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:a.buttonText},splitButtonMenuIconDisabled:{color:a.buttonTextDisabled}}}function ah(e){var t,o,n,r,i,a,s,l,c,u=e.palette,d=e.semanticColors;return{root:(t={backgroundColor:d.primaryButtonBackground,border:"1px solid ".concat(d.primaryButtonBackground),color:d.primaryButtonText},t[Mo]=pt({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={":after":{border:"none",outlineColor:u.white}},t),rootHovered:(o={backgroundColor:d.primaryButtonBackgroundHovered,border:"1px solid ".concat(d.primaryButtonBackgroundHovered),color:d.primaryButtonTextHovered},o[Mo]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},o),rootPressed:(n={backgroundColor:d.primaryButtonBackgroundPressed,border:"1px solid ".concat(d.primaryButtonBackgroundPressed),color:d.primaryButtonTextPressed},n[Mo]=pt({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n),rootExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootChecked:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootDisabled:(r={color:d.primaryButtonTextDisabled,backgroundColor:d.primaryButtonBackgroundDisabled},r[Mo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},r),splitButtonContainer:(i={},i[Mo]={border:"none"},i),splitButtonDivider:pt(pt({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(a={backgroundColor:u.white},a[Mo]={backgroundColor:"Window"},a)),splitButtonMenuButton:(s={backgroundColor:d.primaryButtonBackground,color:d.primaryButtonText},s[Mo]={backgroundColor:"Canvas"},s[":hover"]=(l={backgroundColor:d.primaryButtonBackgroundHovered},l[Mo]={color:"Highlight"},l),s),splitButtonMenuButtonDisabled:{backgroundColor:d.primaryButtonBackgroundDisabled,":hover":{backgroundColor:d.primaryButtonBackgroundDisabled}},splitButtonMenuButtonChecked:{backgroundColor:d.primaryButtonBackgroundPressed,":hover":{backgroundColor:d.primaryButtonBackgroundPressed}},splitButtonMenuButtonExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,":hover":{backgroundColor:d.primaryButtonBackgroundPressed}},splitButtonMenuIcon:{color:d.primaryButtonText},splitButtonMenuIconDisabled:(c={color:u.neutralTertiary},c[Mo]={color:"GrayText"},c)}}!function(e){e[e.button=0]="button",e[e.anchor=1]="anchor"}(Xp||(Xp={})),function(e){e[e.normal=0]="normal",e[e.primary=1]="primary",e[e.hero=2]="hero",e[e.compound=3]="compound",e[e.command=4]="command",e[e.icon=5]="icon",e[e.default=6]="default"}(Qp||(Qp={}));var sh=Do(function(e,t,o){var n=Cp(e),r=_p(e);return Bn(n,{root:{minWidth:"80px",minHeight:"32px"},label:{fontWeight:Qe.semibold}},o?ah(e):ih(e),r,t)}),lh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,o=void 0!==t&&t,n=e.styles,r=e.theme;return ht.createElement(up,pt({},this.props,{variantClassName:o?"ms-Button--primary":"ms-Button--default",styles:sh(r,n,o),onRenderDescription:Il}))},u([gp("DefaultButton",["theme","styles"],!0)],t)}(ht.Component),ch=Do(function(e,t,o){var n,r,i,a,s,l=e.fonts,c=e.palette,u=Cp(e),d=_p(e),p={root:{maxWidth:"280px",minHeight:"72px",height:"auto",padding:"16px 12px"},flexContainer:{flexDirection:"row",alignItems:"flex-start",minWidth:"100%",margin:""},textContainer:{textAlign:"left"},icon:{fontSize:"2em",lineHeight:"1em",height:"1em",margin:"0px 8px 0px 0px",flexBasis:"1em",flexShrink:"0"},label:{margin:"0 0 5px",lineHeight:"100%",fontWeight:Qe.semibold},description:[l.small,{lineHeight:"100%"}]},h={description:{color:c.neutralSecondary},descriptionHovered:{color:c.neutralDark},descriptionPressed:{color:"inherit"},descriptionChecked:{color:"inherit"},descriptionDisabled:{color:"inherit"}},m={description:(n={color:c.white},n[Mo]=pt({backgroundColor:"WindowText",color:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n),descriptionHovered:(r={color:c.white},r[Mo]={backgroundColor:"Highlight",color:"Window"},r),descriptionPressed:(i={color:"inherit"},i[Mo]=pt({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i),descriptionChecked:(a={color:"inherit"},a[Mo]=pt({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a),descriptionDisabled:(s={color:"inherit"},s[Mo]={color:"inherit"},s)};return Bn(u,p,o?ah(e):ih(e),o?m:h,d,t)}),uh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,o=void 0!==t&&t,n=e.styles,r=e.theme;return ht.createElement(up,pt({},this.props,{variantClassName:o?"ms-Button--compoundPrimary":"ms-Button--compound",styles:ch(r,n,o)}))},u([gp("CompoundButton",["theme","styles"],!0)],t)}(ht.Component),dh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){return ht.createElement(lh,pt({},this.props,{primary:!0,onRenderDescription:Il}))},u([gp("PrimaryButton",["theme","styles"],!0)],t)}(ht.Component),ph=function(o){function e(e){var t=o.call(this,e)||this;return yn("The Button component has been deprecated. Use specific variants instead. (PrimaryButton, DefaultButton, IconButton, ActionButton, etc.)"),t}return m(e,o),e.prototype.render=function(){var e=this.props;switch(e.buttonType){case Qp.command:return ht.createElement(rh,pt({},e));case Qp.compound:return ht.createElement(uh,pt({},e));case Qp.icon:return ht.createElement(xp,pt({},e));case Qp.primary:return ht.createElement(dh,pt({},e));default:return ht.createElement(lh,pt({},e))}},e}(ht.Component),hh=Do(function(e,t,o,n){var r,i,a,s,l,c,u,d,p,h,m,f,g,v=Cp(e),b=_p(e),y=e.palette,C=e.semanticColors;return Bn(v,b,{root:[on(e,{inset:2,highContrastStyle:{left:4,top:4,bottom:4,right:4,border:"none"},borderColor:"transparent"}),e.fonts.medium,(r={minWidth:"40px",backgroundColor:y.white,color:y.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0},r[Mo]={border:"none"},r)],rootHovered:(i={backgroundColor:y.neutralLighter,color:y.neutralDark},i[Mo]={color:"Highlight"},i[".".concat(ap.msButtonIcon)]={color:y.themeDarkAlt},i[".".concat(ap.msButtonMenuIcon)]={color:y.neutralPrimary},i),rootPressed:(a={backgroundColor:y.neutralLight,color:y.neutralDark},a[".".concat(ap.msButtonIcon)]={color:y.themeDark},a[".".concat(ap.msButtonMenuIcon)]={color:y.neutralPrimary},a),rootChecked:(s={backgroundColor:y.neutralLight,color:y.neutralDark},s[".".concat(ap.msButtonIcon)]={color:y.themeDark},s[".".concat(ap.msButtonMenuIcon)]={color:y.neutralPrimary},s),rootCheckedHovered:(l={backgroundColor:y.neutralQuaternaryAlt},l[".".concat(ap.msButtonIcon)]={color:y.themeDark},l[".".concat(ap.msButtonMenuIcon)]={color:y.neutralPrimary},l),rootExpanded:(c={backgroundColor:y.neutralLight,color:y.neutralDark},c[".".concat(ap.msButtonIcon)]={color:y.themeDark},c[".".concat(ap.msButtonMenuIcon)]={color:y.neutralPrimary},c),rootExpandedHovered:{backgroundColor:y.neutralQuaternaryAlt},rootDisabled:(u={backgroundColor:y.white},u[".".concat(ap.msButtonIcon)]=(d={color:C.disabledBodySubtext},d[Mo]=pt({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),d),u[Mo]=pt({color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u),splitButtonContainer:(p={height:"100%"},p[Mo]={border:"none"},p),splitButtonDividerDisabled:(h={},h[Mo]={backgroundColor:"Window"},h),splitButtonDivider:{backgroundColor:y.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:y.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:y.neutralSecondary,":hover":(m={backgroundColor:y.neutralLighter,color:y.neutralDark},m[Mo]={color:"Highlight"},m[".".concat(ap.msButtonIcon)]={color:y.neutralPrimary},m),":active":(f={backgroundColor:y.neutralLight},f[".".concat(ap.msButtonIcon)]={color:y.neutralPrimary},f)},splitButtonMenuButtonDisabled:(g={backgroundColor:y.white},g[Mo]=pt({color:"GrayText",border:"none",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),g),splitButtonMenuButtonChecked:{backgroundColor:y.neutralLight,color:y.neutralDark,":hover":{backgroundColor:y.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:y.neutralLight,color:y.black,":hover":{backgroundColor:y.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:y.neutralPrimary},splitButtonMenuIconDisabled:{color:y.neutralTertiary},label:{fontWeight:"normal"},icon:{color:y.themePrimary},menuIcon:{color:y.neutralSecondary}},t)}),mh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return ht.createElement(up,pt({},this.props,{variantClassName:"ms-Button--commandBar",styles:hh(o,t),onRenderDescription:Il}))},u([gp("CommandBarButton",["theme","styles"],!0)],t)}(ht.Component),fh=rh,gh=Do(function(e,t){return Bn({root:[on(e,{inset:1,highContrastStyle:{outlineOffset:"-4px",outline:"1px solid Window"},borderColor:"transparent"}),{height:24}]},t)}),vh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return ht.createElement(lh,pt({},this.props,{styles:gh(o,t),onRenderDescription:Il}))},u([gp("MessageBarButton",["theme","styles"],!0)],t)}(ht.Component),bh=vr(),yh=ht.forwardRef(function(e,t){var o=Sd(void 0,e.id),n=e.items,r=e.columnCount,i=e.onRenderItem,a=e.isSemanticRadio,s=e.ariaPosInSet,l=void 0===s?e.positionInSet:s,c=e.ariaSetSize,u=void 0===c?e.setSize:c,d=e.styles,p=e.doNotContainWithinFocusZone,h=qr(e,kr,p?[]:["onBlur"]),m=bh(d,{theme:e.theme}),f=Ma(n,r),g=ht.createElement("table",pt({"aria-posinset":l,"aria-setsize":u,id:o,role:a?"radiogroup":"grid"},h,{className:m.root}),ht.createElement("tbody",{role:a?"presentation":"rowgroup"},f.map(function(e,t){return ht.createElement("tr",{role:a?"presentation":"row",key:t},e.map(function(e,t){return ht.createElement("td",{role:"presentation",key:t+"-cell",className:m.tableCell},i(e,t))}))})));return p?g:ht.createElement(Xs,{elementRef:t,isCircularNavigation:e.shouldFocusCircularNavigate,className:m.focusedContainer,onBlur:e.onBlur},g)}),Ch=ir(yh,function(e){return{root:{padding:2,outline:"none"},tableCell:{padding:0}}});Ch.displayName="ButtonGrid";var _h,Sh,xh,kh,wh,Ih=function(e){var t,o=Sd("gridCell"),n=e.item,r=e.id,i=void 0===r?o:r,a=e.className,s=e.selected,l=e.disabled,c=void 0!==l&&l,u=e.onRenderItem,d=e.cellDisabledStyle,p=e.cellIsSelectedStyle,h=e.index,m=e.label,f=e.getClassNames,g=e.onClick,v=e.onHover,b=e.onMouseMove,y=e.onMouseLeave,C=e.onMouseEnter,_=e.onFocus,S=qr(e,Rr),x=ht.useCallback(function(e){g&&!c&&g(n,e)},[c,n,g]),k=ht.useCallback(function(e){C&&C(e)||!v||c||v(n,e)},[c,n,v,C]),w=ht.useCallback(function(e){b&&b(e)||!v||c||v(n,e)},[c,n,v,b]),I=ht.useCallback(function(e){y&&y(e)||!v||c||v(void 0,e)},[c,v,y]),D=ht.useCallback(function(e){_&&!c&&_(n,e)},[c,n,_]);return ht.createElement(fh,pt({id:i,"data-index":h,"data-is-focusable":!0,"aria-selected":s,ariaLabel:m,title:m},S,{className:hi(a,(t={},t[""+p]=s,t[""+d]=c,t)),onClick:x,onMouseEnter:k,onMouseMove:w,onMouseLeave:I,onFocus:D,getClassNames:f}),u(n))};!function(e){e[e.Horizontal=0]="Horizontal",e[e.Vertical=1]="Vertical"}(_h||(_h={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(Sh||(Sh={})),function(e){e[e.January=0]="January",e[e.February=1]="February",e[e.March=2]="March",e[e.April=3]="April",e[e.May=4]="May",e[e.June=5]="June",e[e.July=6]="July",e[e.August=7]="August",e[e.September=8]="September",e[e.October=9]="October",e[e.November=10]="November",e[e.December=11]="December"}(xh||(xh={})),function(e){e[e.FirstDay=0]="FirstDay",e[e.FirstFullWeek=1]="FirstFullWeek",e[e.FirstFourDayWeek=2]="FirstFourDayWeek"}(kh||(kh={})),function(e){e[e.Day=0]="Day",e[e.Week=1]="Week",e[e.Month=2]="Month",e[e.WorkWeek=3]="WorkWeek"}(wh||(wh={}));var Dh=7,Eh={formatDay:function(e){return e.getDate().toString()},formatMonth:function(e,t){return t.months[e.getMonth()]},formatYear:function(e){return e.getFullYear().toString()},formatMonthDayYear:function(e,t){return t.months[e.getMonth()]+" "+e.getDate()+", "+e.getFullYear()},formatMonthYear:function(e,t){return t.months[e.getMonth()]+" "+e.getFullYear()}},Th=pt(pt({},{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["S","M","T","W","T","F","S"]}),{goToToday:"Go to today",weekNumberFormatString:"Week number {0}",prevMonthAriaLabel:"Previous month",nextMonthAriaLabel:"Next month",prevYearAriaLabel:"Previous year",nextYearAriaLabel:"Next year",prevYearRangeAriaLabel:"Previous year range",nextYearRangeAriaLabel:"Next year range",closeButtonAriaLabel:"Close",selectedDateFormatString:"Selected date {0}",todayDateFormatString:"Today's date {0}",monthPickerHeaderAriaLabel:"{0}, change year",yearPickerHeaderAriaLabel:"{0}, change month",dayMarkedAriaLabel:"marked"}),Ph={MillisecondsInOneDay:864e5,MillisecondsIn1Sec:1e3,MillisecondsIn1Min:6e4,MillisecondsIn30Mins:18e5,MillisecondsIn1Hour:36e5,MinutesInOneDay:1440,MinutesInOneHour:60,DaysInOneWeek:7,MonthInOneYear:12,HoursInOneDay:24,SecondsInOneMinute:60,OffsetTo24HourFormat:12,TimeFormatRegex:/^(\d\d?):(\d\d):?(\d\d)? ?([ap]m)?/i};function Rh(e,t){var o=new Date(e.getTime());return o.setDate(o.getDate()+t),o}function Mh(e,t){return Rh(e,t*Ph.DaysInOneWeek)}function Nh(e,t){var o=new Date(e.getTime()),n=o.getMonth()+t;return o.setMonth(n),o.getMonth()!==(n%Ph.MonthInOneYear+Ph.MonthInOneYear)%Ph.MonthInOneYear&&(o=Rh(o,-o.getDate())),o}function Bh(e,t){var o=new Date(e.getTime());return o.setFullYear(e.getFullYear()+t),o.getMonth()!==(e.getMonth()%Ph.MonthInOneYear+Ph.MonthInOneYear)%Ph.MonthInOneYear&&(o=Rh(o,-o.getDate())),o}function Ah(e){return new Date(e.getFullYear(),e.getMonth(),1,0,0,0,0)}function Fh(e){return new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0,0)}function Lh(e){return new Date(e.getFullYear(),0,1,0,0,0,0)}function Oh(e){return new Date(e.getFullYear()+1,0,0,0,0,0,0)}function Hh(e,t){return Nh(e,t-e.getMonth())}function zh(e,t){return!e&&!t||!(!e||!t)&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function Wh(e,t){return Zh(e)-Zh(t)}function Vh(e,t,o,n,r){void 0===r&&(r=1);var i,a=[],s=null;switch(n||(n=[Sh.Monday,Sh.Tuesday,Sh.Wednesday,Sh.Thursday,Sh.Friday]),r=Math.max(r,1),t){case wh.Day:s=Rh(i=Yh(e),r);break;case wh.Week:case wh.WorkWeek:s=Rh(i=jh(Yh(e),o),Ph.DaysInOneWeek);break;case wh.Month:s=Nh(i=new Date(e.getFullYear(),e.getMonth(),1),1);break;default:throw new Error("Unexpected object: "+t)}var l=i;do{(t!==wh.WorkWeek||-1!==n.indexOf(l.getDay()))&&a.push(l),l=Rh(l,1)}while(!zh(l,s));return a}function Kh(e,t){for(var o=0,n=t;o0&&(o-=Ph.DaysInOneWeek),Rh(e,o)}function qh(e,t){var o=(t-1>=0?t-1:Ph.DaysInOneWeek-1)-e.getDay();return o<0&&(o+=Ph.DaysInOneWeek),Rh(e,o)}function Yh(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function Zh(e){return e.getDate()+(e.getMonth()<<5)+(e.getFullYear()<<9)}function Xh(e,t,o){var n=Qh(e)-1,r=e.getDay()-n%Ph.DaysInOneWeek,i=Qh(new Date(e.getFullYear()-1,xh.December,31))-1,a=(t-r+2*Ph.DaysInOneWeek)%Ph.DaysInOneWeek;0!==a&&a>=o&&(a-=Ph.DaysInOneWeek);var s=n-a;return s<0&&(0!=(a=(t-(r-=i%Ph.DaysInOneWeek)+2*Ph.DaysInOneWeek)%Ph.DaysInOneWeek)&&a+1>=o&&(a-=Ph.DaysInOneWeek),s=i-a),Math.floor(s/Ph.DaysInOneWeek+1)}function Qh(e){for(var t=e.getMonth(),o=e.getFullYear(),n=0,r=0;r=0})),o&&(n=n.filter(function(e){return Wh(e,o)<=0})),n},nm=function(e,t){var o=t.minDate;return!!o&&Wh(o,e)>=1},rm=function(e,t){var o=t.maxDate;return!!o&&Wh(e,o)>=1},im=function(t,e){var o=e.restrictedDates,n=e.minDate,r=e.maxDate;return!!(o||n||r)&&(o&&o.some(function(e){return zh(e,t)})||nm(t,e)||rm(t,e))},am=function(e){var t=e.showWeekNumbers,r=e.strings,i=e.firstDayOfWeek,a=e.allFocusable,o=e.weeksToShow,n=e.weeks,s=e.classNames,l=r.shortDays.slice(),c=Ta(n[1],function(e){return 1===e.originalDate.getDate()});return 1===o&&c>=0&&(l[(c+i)%Dh]=r.shortMonths[n[1][c].originalDate.getMonth()]),ht.createElement("tr",null,t&&ht.createElement("th",{className:s.dayCell}),l.map(function(e,t){var o=(t+i)%Dh,n=r.days[o];return ht.createElement("th",{className:hi(s.dayCell,s.weekDayLabelCell),scope:"col",key:l[o]+" "+t,title:n,"aria-label":n,"data-is-focusable":!!a||void 0},l[o])}))},sm=function(e){var t=e.targetDate,o=e.initialDate,n=e.direction,r=Fe(e,["targetDate","initialDate","direction"]),i=t;if(!im(t,r))return t;for(;0!==Wh(o,i)&&im(i,r)&&!rm(i,r)&&!nm(i,r);)i=Rh(i,n);return 0===Wh(o,i)||im(i,r)?void 0:i},lm=function(e){var t,o=e.navigatedDate,n=e.dateTimeFormatter,r=e.allFocusable,i=e.strings,a=e.activeDescendantId,s=e.navigatedDayRef,l=e.calculateRoundedStyles,c=e.weeks,u=e.classNames,d=e.day,p=e.dayIndex,h=e.weekIndex,m=e.weekCorners,f=e.ariaHidden,g=e.customDayCellRef,v=e.dateRangeType,b=e.daysToSelectInDayView,y=e.onSelectDate,C=e.restrictedDates,_=e.minDate,S=e.maxDate,x=e.onNavigateDate,k=e.getDayInfosInRangeOfDay,w=e.getRefsFromDayInfos,I=null!==(t=null==m?void 0:m[h+"_"+p])&&void 0!==t?t:"",D=zh(o,d.originalDate),E=d.originalDate.getDate()+", "+i.months[d.originalDate.getMonth()]+", "+d.originalDate.getFullYear();return d.isMarked&&(E=E+", "+i.dayMarkedAriaLabel),ht.createElement("td",{className:hi(u.dayCell,m&&I,d.isSelected&&u.daySelected,d.isSelected&&"ms-CalendarDay-daySelected",!d.isInBounds&&u.dayOutsideBounds,!d.isInMonth&&u.dayOutsideNavigatedMonth),ref:function(e){null==g||g(e,d.originalDate,u),d.setRef(e),D&&(s.current=e)},"aria-hidden":f,"aria-disabled":!f&&!d.isInBounds,onClick:d.isInBounds&&!f?d.onSelected:void 0,onMouseOver:f?void 0:function(e){var r=k(d),i=w(r);i.forEach(function(e,t){var o;if(e&&(e.classList.add("ms-CalendarDay-hoverStyle"),!r[t].isSelected&&v===wh.Day&&b&&b>1)){e.classList.remove(u.bottomLeftCornerDate,u.bottomRightCornerDate,u.topLeftCornerDate,u.topRightCornerDate);var n=l(u,!1,!1,t>0,t1)){var n=l(u,!1,!1,t>0,t0)};return[function(l,e){var c={},u=e.slice(1,e.length-1);return u.forEach(function(e,s){e.forEach(function(e,t){var o=u[s-1]&&u[s-1][t]&&p(u[s-1][t].originalDate,e.originalDate,u[s-1][t].isSelected,e.isSelected),n=u[s+1]&&u[s+1][t]&&p(u[s+1][t].originalDate,e.originalDate,u[s+1][t].isSelected,e.isSelected),r=u[s][t-1]&&p(u[s][t-1].originalDate,e.originalDate,u[s][t-1].isSelected,e.isSelected),i=u[s][t+1]&&p(u[s][t+1].originalDate,e.originalDate,u[s][t+1].isSelected,e.isSelected),a=[];a.push(d(l,o,n,r,i)),a.push(function(e,t,o,n,r){var i=[];return t||i.push(e.datesAbove),o||i.push(e.datesBelow),n||i.push(cr()?e.datesRight:e.datesLeft),r||i.push(cr()?e.datesLeft:e.datesRight),i.join(" ")}(l,o,n,r,i)),c[s+"_"+t]=a.join(" ")})}),c},d]}(u),l=s[0],c=s[1];ht.useImperativeHandle(u.componentRef,function(){return{focus:function(){var e,t;null===(t=null===(e=o.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}}},[]);var d=u.styles,p=u.theme,h=u.className,m=u.dateRangeType,f=u.showWeekNumbers,g=u.labelledBy,v=u.lightenDaysOutsideNavigatedMonth,b=u.animationDirection,y=um(d,{theme:p,className:h,dateRangeType:m,showWeekNumbers:f,lightenDaysOutsideNavigatedMonth:void 0===v||v,animationDirection:b,animateBackwards:a}),C=l(y,i),_={weeks:i,navigatedDayRef:o,calculateRoundedStyles:c,activeDescendantId:e,classNames:y,weekCorners:C,getDayInfosInRangeOfDay:function(e){var t=function(e,t){if(t&&e===wh.WorkWeek){for(var o=t.slice().sort(),n=!0,r=1;rc,b=f===(new Date).getFullYear(),ht.createElement(Em,pt({},n,{key:f,year:f,selected:g,current:b,disabled:v,onSelectYear:u,componentRef:g?h:b?m:void 0,theme:t})))),S++}return ht.createElement(Xs,null,ht.createElement("div",{className:y.gridContainer,role:"grid","aria-label":_},x.map(function(e,t){return ht.createElement.apply(ht,z(["div",{key:"yearPickerRow_"+t+"_"+r,role:"row",className:y.buttonRow}],e,!1))})))};Pm.displayName="CalendarYearGrid",function(e){e[e.Previous=0]="Previous",e[e.Next=1]="Next"}(Tm||(Tm={}));var Rm=function(e){var t,o=e.styles,n=e.theme,r=e.className,i=e.navigationIcons,a=void 0===i?wm:i,s=e.strings,l=void 0===s?Dm:s,c=e.direction,u=e.onSelectPrev,d=e.onSelectNext,p=e.fromYear,h=e.toYear,m=e.maxYear,f=e.minYear,g=Im(o,{theme:n,className:r}),v=c===Tm.Previous?l.prevRangeAriaLabel:l.nextRangeAriaLabel,b=c===Tm.Previous?-12:12,y=v?"string"==typeof v?v:v({fromYear:p+b,toYear:h+b}):void 0,C=c===Tm.Previous?void 0!==f&&pm,_=function(){c===Tm.Previous?null==u||u():null==d||d()},S=cr()?c===Tm.Next:c===Tm.Previous;return ht.createElement("button",{className:hi(g.navigationButton,(t={},t[g.disabled]=C,t)),onClick:C?void 0:_,onKeyDown:C?void 0:function(e){e.which===sr.enter&&_()},type:"button",title:y,disabled:C},ht.createElement(wi,{iconName:S?a.leftNavigation:a.rightNavigation}))};Rm.displayName="CalendarYearNavArrow";var Mm=function(e){var t=e.styles,o=e.theme,n=e.className,r=Im(t,{theme:o,className:n});return ht.createElement("div",{className:r.navigationButtonsContainer},ht.createElement(Rm,pt({},e,{direction:Tm.Previous})),ht.createElement(Rm,pt({},e,{direction:Tm.Next})))};Mm.displayName="CalendarYearNav";var Nm=function(n){var e=n.styles,t=n.theme,o=n.className,r=n.fromYear,i=n.toYear,a=n.strings,s=void 0===a?Dm:a,l=n.animateBackwards,c=n.animationDirection,u=function(){var e;null===(e=n.onHeaderSelect)||void 0===e||e.call(n,!0)},d=function(e){var t,o;return null!==(o=null===(t=n.onRenderYear)||void 0===t?void 0:t.call(n,e))&&void 0!==o?o:e},p=Im(e,{theme:t,className:o,hasHeaderClickCallback:!!n.onHeaderSelect,animateBackwards:l,animationDirection:c});if(n.onHeaderSelect){var h=s.rangeAriaLabel,m=s.headerAriaLabelFormatString,f=h?"string"==typeof h?h:h(n):void 0,g=m?tm(m,f):f;return ht.createElement("button",{className:p.currentItemButton,onClick:u,onKeyDown:function(e){e.which!==sr.enter&&e.which!==sr.space||u()},"aria-label":g,role:"button",type:"button"},ht.createElement("span",{"aria-live":"assertive","aria-atomic":"true"},d(r)," - ",d(i)))}return ht.createElement("div",{className:p.current},d(r)," - ",d(i))};Nm.displayName="CalendarYearTitle";var Bm=function(e){var t,o=e.styles,n=e.theme,r=e.className,i=e.animateBackwards,a=e.animationDirection,s=e.onRenderTitle,l=Im(o,{theme:n,className:r,hasHeaderClickCallback:!!e.onHeaderSelect,animateBackwards:i,animationDirection:a});return ht.createElement("div",{className:l.headerContainer},null!==(t=null==s?void 0:s(e))&&void 0!==t?t:ht.createElement(Nm,pt({},e)),ht.createElement(Mm,pt({},e)))};Bm.displayName="CalendarYearHeader";var Am=function(e){var t=function(e){var t=e.selectedYear,o=e.navigatedYear,n=t||o||(new Date).getFullYear(),r=10*Math.floor(n/10),i=Yi(r);return i&&i!==r?i>r:void 0}(e),o=function(e){var t=e.selectedYear,o=e.navigatedYear,n=ht.useMemo(function(){return t||o||10*Math.floor((new Date).getFullYear()/10)},[o,t]),r=ht.useState(n),i=r[0],a=r[1];return ht.useEffect(function(){a(n)},[n]),[i,i+12-1,function(){a(function(e){return e+12})},function(){a(function(e){return e-12})}]}(e),n=o[0],r=o[1],i=o[2],a=o[3],s=ht.useRef(null);ht.useImperativeHandle(e.componentRef,function(){return{focus:function(){var e,t;null===(t=null===(e=s.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}}});var l=e.styles,c=e.theme,u=e.className,d=Im(l,{theme:c,className:u});return ht.createElement("div",{className:d.root},ht.createElement(Bm,pt({},e,{fromYear:n,toYear:r,onSelectPrev:a,onSelectNext:i,animateBackwards:t})),ht.createElement(Pm,pt({},e,{fromYear:n,toYear:r,animateBackwards:t,componentRef:s})))};Am.displayName="CalendarYearBase";var Fm=ir(Am,function(e){return _m(e)},void 0,{scope:"CalendarYear"}),Lm=vr(),Om={styles:Sm,strings:void 0,navigationIcons:wm,dateTimeFormatter:Eh,yearPickerHidden:!1},Hm=function(e){var t,o,n=Cr(Om,e),r=function(e){var t=e.componentRef,o=ht.useRef(null),n=ht.useRef(null),r=ht.useRef(!1),i=ht.useCallback(function(){n.current?n.current.focus():o.current&&o.current.focus()},[]);return ht.useImperativeHandle(t,function(){return{focus:i}},[i]),ht.useEffect(function(){r.current&&(i(),r.current=!1)}),[o,n,function(){r.current=!0}]}(n),u=r[0],i=r[1],a=r[2],s=ht.useState(!1),l=s[0],c=s[1],d=function(e){var t=e.navigatedDate.getFullYear(),o=Yi(t);return void 0===o||o===t?void 0:o>t}(n),p=n.navigatedDate,h=n.selectedDate,m=n.strings,f=n.today,g=void 0===f?new Date:f,v=n.navigationIcons,b=n.dateTimeFormatter,y=n.minDate,C=n.maxDate,_=n.theme,S=n.styles,x=n.className,k=n.allFocusable,w=n.highlightCurrentMonth,I=n.highlightSelectedMonth,D=n.animationDirection,E=n.yearPickerHidden,T=n.onNavigateDate,P=function(e){return function(){return N(e)}},R=function(){T(Bh(p,1),!1)},M=function(){T(Bh(p,-1),!1)},N=function(e){var t;null===(t=n.onHeaderSelect)||void 0===t||t.call(n),T(Hh(p,e),!0)},B=function(){var e;E?null===(e=n.onHeaderSelect)||void 0===e||e.call(n):(a(),c(!0))},A=v.leftNavigation,F=v.rightNavigation,L=b,O=!y||Wh(y,Lh(p))<0,H=!C||Wh(Oh(p),C)<0,z=Lm(S,{theme:_,className:x,hasHeaderClickCallback:!!n.onHeaderSelect||!E,highlightCurrent:w,highlightSelected:I,animateBackwards:d,animationDirection:D});if(l){var W=function(e){var t=e.strings,o=e.navigatedDate,n=e.dateTimeFormatter,r=function(e){if(n){var t=new Date(o.getTime());return t.setFullYear(e),n.formatYear(t)}return String(e)},i=function(e){return"".concat(r(e.fromYear)," - ").concat(r(e.toYear))};return[r,{rangeAriaLabel:i,prevRangeAriaLabel:function(e){return t.prevYearRangeAriaLabel?"".concat(t.prevYearRangeAriaLabel," ").concat(i(e)):""},nextRangeAriaLabel:function(e){return t.nextYearRangeAriaLabel?"".concat(t.nextYearRangeAriaLabel," ").concat(i(e)):""},headerAriaLabelFormatString:t.yearPickerHeaderAriaLabel}]}(n),V=W[0],K=W[1];return ht.createElement(Fm,{key:"calendarYear",minYear:y?y.getFullYear():void 0,maxYear:C?C.getFullYear():void 0,onSelectYear:function(e){if(a(),p.getFullYear()!==e){var t=new Date(p.getTime());t.setFullYear(e),C&&t>C?t=Hh(t,C.getMonth()):y&&t71||l.height>71),imageSize:l,focused:o}),g=qr(m,Mr),v=g.className,b=Fe(g,["className"]),y=function(){return ht.createElement("span",{id:r.labelId,className:"ms-ChoiceFieldLabel"},r.text)},C=function(){var e=r.imageAlt,t=void 0===e?"":e,o=r.selectedImageSrc,n=(r.onRenderLabel?Nl(r.onRenderLabel,y):y)(pt(pt({},r),{key:r.itemKey}));return ht.createElement("label",{htmlFor:d,className:f.field},s&&ht.createElement("div",{className:f.innerField},ht.createElement("div",{className:f.imageWrapper},ht.createElement(ui,pt({src:s,alt:t},l))),ht.createElement("div",{className:f.selectedImageWrapper},ht.createElement(ui,pt({src:o,alt:t},l)))),a&&ht.createElement("div",{className:f.innerField},ht.createElement("div",{className:f.iconWrapper},ht.createElement(wi,pt({},a)))),s||a?ht.createElement("div",{className:f.labelWrapper},n):n)},_=r.onRenderField,S=void 0===_?C:_;return ht.createElement("div",{className:f.root},ht.createElement("div",{className:f.choiceFieldWrapper},ht.createElement("input",pt({"aria-label":t,id:d,className:hi(f.input,v),type:"radio",name:h,disabled:c,checked:u,required:n},b,{onChange:function(e){var t;null===(t=r.onChange)||void 0===t||t.call(r,e,pt(pt({},r),{key:r.itemKey}))},onFocus:function(e){var t;null===(t=r.onFocus)||void 0===t||t.call(r,e,pt(pt({},r),{key:r.itemKey}))},onBlur:function(e){var t;null===(t=r.onBlur)||void 0===t||t.call(r,e)}})),S(pt(pt({},r),{key:r.itemKey}),C)))};Cf.displayName="ChoiceGroupOption";var _f={root:"ms-ChoiceField",choiceFieldWrapper:"ms-ChoiceField-wrapper",input:"ms-ChoiceField-input",field:"ms-ChoiceField-field",innerField:"ms-ChoiceField-innerField",imageWrapper:"ms-ChoiceField-imageWrapper",iconWrapper:"ms-ChoiceField-iconWrapper",labelWrapper:"ms-ChoiceField-labelWrapper",checked:"is-checked"},Sf="200ms",xf="cubic-bezier(.4, 0, .23, 1)";function kf(e,t){var o,n;return["is-inFocus",{selectors:(o={},o[".".concat(Jo," &, :host(.").concat(Jo,") &")]={position:"relative",outline:"transparent",selectors:{"::-moz-focus-inner":{border:0},":after":{content:'""',top:-2,right:-2,bottom:-2,left:-2,pointerEvents:"none",border:"1px solid ".concat(e),position:"absolute",selectors:(n={},n[Mo]={borderColor:"WindowText",borderWidth:t?1:2},n)}}},o)}]}function wf(e,t,o){return[t,{paddingBottom:2,transitionProperty:"opacity",transitionDuration:Sf,transitionTimingFunction:"ease",selectors:{".ms-Image":{display:"inline-block",borderStyle:"none"}}},(o?!e:e)&&["is-hidden",{position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",opacity:0}]]}var If=ir(Cf,function(e){var t,o,n,r,i,a=e.theme,s=e.hasIcon,l=e.hasImage,c=e.checked,u=e.disabled,d=e.imageIsLarge,p=e.focused,h=e.imageSize,m=a.palette,f=a.semanticColors,g=a.fonts,v=Ro(_f,a),b=m.neutralPrimary,y=f.inputBorderHovered,C=f.inputBackgroundChecked,_=m.themeDark,S=f.disabledBodySubtext,x=f.bodyBackground,k=m.neutralSecondary,w=f.inputBackgroundChecked,I=m.themeDark,D=f.disabledBodySubtext,E=m.neutralDark,T=f.focusBorder,P=f.inputBorderHovered,R=f.inputBackgroundChecked,M=m.themeDark,N=m.neutralLighter,B={selectors:{".ms-ChoiceFieldLabel":{color:E},":before":{borderColor:c?_:y},":after":[!s&&!l&&!c&&{content:'""',transitionProperty:"background-color",left:5,top:5,width:10,height:10,backgroundColor:k},c&&{borderColor:I,background:I}]}},A={borderColor:c?M:P,selectors:{":before":{opacity:1,borderColor:c?_:y}}},F=[{content:'""',display:"inline-block",backgroundColor:x,borderWidth:1,borderStyle:"solid",borderColor:b,width:20,height:20,fontWeight:"normal",position:"absolute",top:0,left:0,boxSizing:"border-box",transitionProperty:"border-color",transitionDuration:Sf,transitionTimingFunction:xf,borderRadius:"50%"},u&&{borderColor:S,selectors:(t={},t[Mo]=pt({borderColor:"GrayText",background:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},c&&{borderColor:u?S:C,selectors:(o={},o[Mo]={borderColor:"Highlight",background:"Window",forcedColorAdjust:"none"},o)},(s||l)&&{top:3,right:3,left:"auto",opacity:c?1:0}],L=[{content:'""',width:0,height:0,borderRadius:"50%",position:"absolute",left:10,right:0,transitionProperty:"border-width",transitionDuration:Sf,transitionTimingFunction:xf,boxSizing:"border-box"},c&&{borderWidth:5,borderStyle:"solid",borderColor:u?D:w,background:w,left:5,top:5,width:10,height:10,selectors:(n={},n[Mo]={borderColor:"Highlight",forcedColorAdjust:"none"},n)},c&&(s||l)&&{top:8,right:8,left:"auto"}];return{root:[v.root,a.fonts.medium,{display:"flex",alignItems:"center",boxSizing:"border-box",color:f.bodyText,minHeight:26,border:"none",position:"relative",marginTop:8,selectors:{".ms-ChoiceFieldLabel":{display:"inline-block"}}},!s&&!l&&{selectors:{".ms-ChoiceFieldLabel":{paddingLeft:"26px"}}},l&&"ms-ChoiceField--image",s&&"ms-ChoiceField--icon",(s||l)&&{display:"inline-flex",fontSize:0,margin:"0 4px 4px 0",paddingLeft:0,backgroundColor:N,height:"100%"}],choiceFieldWrapper:[v.choiceFieldWrapper,p&&kf(T,s||l)],input:[v.input,{position:"absolute",opacity:0,top:0,right:0,width:"100%",height:"100%",margin:0},u&&"is-disabled"],field:[v.field,c&&v.checked,{display:"inline-block",cursor:"pointer",marginTop:0,position:"relative",verticalAlign:"top",userSelect:"none",minHeight:20,selectors:{":hover":!u&&B,":focus":!u&&B,":before":F,":after":L}},s&&"ms-ChoiceField--icon",l&&"ms-ChoiceField-field--image",(s||l)&&{boxSizing:"content-box",cursor:"pointer",paddingTop:22,margin:0,textAlign:"center",transitionProperty:"all",transitionDuration:Sf,transitionTimingFunction:"ease",border:"1px solid transparent",justifyContent:"center",alignItems:"center",display:"flex",flexDirection:"column"},c&&{borderColor:R},(s||l)&&!u&&{selectors:{":hover":A,":focus":A}},u&&{cursor:"default",selectors:{".ms-ChoiceFieldLabel":{color:f.disabledBodyText,selectors:(r={},r[Mo]=pt({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)}}},c&&u&&{borderColor:N}],innerField:[v.innerField,l&&{height:h.height,width:h.width},(s||l)&&{position:"relative",display:"inline-block",paddingLeft:30,paddingRight:30},(s||l)&&d&&{paddingLeft:24,paddingRight:24},(s||l)&&u&&{opacity:.25,selectors:(i={},i[Mo]={color:"GrayText",opacity:1},i)}],imageWrapper:wf(!1,v.imageWrapper,c),selectedImageWrapper:wf(!0,v.imageWrapper,c),iconWrapper:[v.iconWrapper,{fontSize:32,lineHeight:32,height:32}],labelWrapper:[v.labelWrapper,g.medium,(s||l)&&{display:"block",position:"relative",margin:"4px 8px 2px 8px",height:32,lineHeight:15,maxWidth:2*h.width,overflow:"hidden",whiteSpace:"pre-wrap"}]}},void 0,{scope:"ChoiceGroupOption"}),Df=vr(),Ef=function(e,t){return"".concat(t,"-").concat(e.key)},Tf=function(e,t){return void 0===t?void 0:Pa(e,function(e){return e.key===t})},Pf=function(e,t,o,n,r){var i=Tf(e,t)||e.filter(function(e){return!e.disabled})[0],a=i&&(null==r?void 0:r.getElementById(Ef(i,o)));a&&(a.focus(),tn(!0,a,n))},Rf="ChoiceGroup",Mf=ht.forwardRef(function(e,t){var o=e.className,n=e.theme,r=e.styles,i=e.options,a=void 0===i?[]:i,s=e.label,l=e.required,c=e.disabled,u=e.name,d=e.defaultSelectedKey,p=e.componentRef,h=e.onChange,m=Sd("ChoiceGroup"),f=Sd("ChoiceGroupLabel"),g=qr(e,jr,["onChange","className","required"]),v=Df(r,{theme:n,className:o,optionsContainIconOrImage:a.some(function(e){return!(!e.iconProps&&!e.imageSrc)})}),b=e.ariaLabelledBy||(s?f:e["aria-labelledby"]),y=Km(e.selectedKey,d),C=y[0],_=y[1],S=ht.useState(),x=S[0],k=S[1],w=ht.useRef(null),I=ii(w,t),D=ht.useContext(il);!function(e){Qi({name:Rf,props:e,mutuallyExclusive:{selectedKey:"defaultSelectedKey"}})}(e),function(e,t,o,n,r){var i=Lc();ht.useImperativeHandle(n,function(){return{get checkedOption(){return Tf(e,t)},focus:function(){Pf(e,t,o,r,i)}}},[e,t,o,r,i])}(a,C,m,p,null==D?void 0:D.registeredProviders),al(w);var E=ht.useCallback(function(e,t){var o;t&&(k(t.itemKey),null===(o=t.onFocus)||void 0===o||o.call(t,e))},[]),T=ht.useCallback(function(e,t){var o;k(void 0),null===(o=null==t?void 0:t.onBlur)||void 0===o||o.call(t,e)},[]),P=ht.useCallback(function(e,t){var o;t&&(_(t.itemKey),null===(o=t.onChange)||void 0===o||o.call(t,e),null==h||h(e,Tf(a,t.itemKey)))},[h,a,_]),R=ht.useCallback(function(e){(function(e){return e.relatedTarget instanceof HTMLElement&&"true"===e.relatedTarget.dataset.isFocusTrapZoneBumper})(e)&&Pf(a,C,m,null==D?void 0:D.registeredProviders)},[a,C,m,D]);return ht.createElement("div",pt({className:v.root},g,{ref:I}),ht.createElement("div",pt({role:"radiogroup"},b&&{"aria-labelledby":b},{onFocus:R}),s&&ht.createElement(vf,{className:v.label,required:l,id:f,disabled:c},s),ht.createElement("div",{className:v.flexContainer},a.map(function(e){return ht.createElement(If,pt({itemKey:e.key},e,{key:e.key,onBlur:T,onFocus:E,onChange:P,focused:e.key===x,checked:e.key===C,disabled:e.disabled||c,id:Ef(e,m),labelId:e.labelId||"".concat(f,"-").concat(e.key),name:u||m,required:l}))}))))});Mf.displayName=Rf;var Nf,Bf={root:"ms-ChoiceFieldGroup",flexContainer:"ms-ChoiceFieldGroup-flexContainer"},Af=ir(Mf,function(e){var t=e.className,o=e.optionsContainIconOrImage,n=e.theme,r=Ro(Bf,n);return{root:[t,r.root,n.fonts.medium,{display:"block"}],flexContainer:[r.flexContainer,o&&{display:"flex",flexDirection:"row",flexWrap:"wrap"}]}},void 0,{scope:"ChoiceGroup"}),Ff=Do(function(){var e;return Fn({root:[{position:"absolute",boxSizing:"border-box",selectors:(e={},e[Mo]={border:"1px solid WindowText"},e)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}],container:{position:"relative"},main:{backgroundColor:"#ffffff",overflowX:"hidden",overflowY:"hidden",position:"relative"},overFlowYHidden:{overflowY:"hidden"}})}),Lf={opacity:0},Of=((Nf={})[Al.top]="slideUpIn20",Nf[Al.bottom]="slideDownIn20",Nf[Al.left]="slideLeftIn20",Nf[Al.right]="slideRightIn20",Nf),Hf={preventDismissOnScroll:!1,offsetFromTarget:0,minPagePadding:8,directionalHint:Rl.bottomAutoEdge};function zf(e,o){var n=e.finalHeight,t=ht.useState({value:0}),r=t[0],i=t[1],a=Rc(),s=ht.useRef(0),l=function(){o&&n&&(s.current=a.requestAnimationFrame(function(){if(o.current){var e=o.current.lastChild,t=e.scrollHeight-e.offsetHeight;i({value:r.value+t}),e.offsetHeightS?S:b,k=ht.createElement("div",{ref:i,className:hi("ms-PositioningContainer",C.container)},ht.createElement("div",{className:de("ms-PositioningContainer-layerHost",C.root,f,_,!!v&&{width:v},g&&{zIndex:Qo.Layer}),style:d?d.elementPosition:Lf,tabIndex:-1,ref:n},y,x));return g?k:ht.createElement(Mu,pt({},o.layerProps),k)});function Vf(e){var t;return{root:[{position:"absolute",boxShadow:"inherit",border:"none",boxSizing:"border-box",transform:e.transform,width:e.width,height:e.height,left:e.left,top:e.top,right:e.right,bottom:e.bottom}],beak:{fill:e.color,display:"block",selectors:(t={},t[Mo]={fill:"windowtext"},t)}}}Wf.displayName="PositioningContainer";var Kf=10,Gf=18,Uf=ht.forwardRef(function(e,t){var o,n,r,i,a,s,l=e.left,c=e.top,u=e.bottom,d=e.right,p=e.color,h=e.direction,m=void 0===h?Al.top:h;switch(m===Al.top||m===Al.bottom?(o=Kf,n=Gf):(o=Gf,n=Kf),m){case Al.top:default:r="".concat(9,", 0"),i="".concat(Gf,", ").concat(Kf),a="0, ".concat(Kf),s="translateY(-100%)";break;case Al.right:r="0, 0",i="".concat(Kf,", ").concat(Kf),a="0, ".concat(Gf),s="translateX(100%)";break;case Al.bottom:r="0, 0",i="".concat(Gf,", 0"),a="".concat(9,", ").concat(Kf),s="translateY(100%)";break;case Al.left:r="".concat(Kf,", 0"),i="0, ".concat(Kf),a="".concat(Kf,", ").concat(Gf),s="translateX(-100%)"}var f=vr()(Vf,{left:l,top:c,bottom:u,right:d,height:"".concat(o,"px"),width:"".concat(n,"px"),transform:s,color:p});return ht.createElement("div",{className:f.root,role:"presentation",ref:t},ht.createElement("svg",{height:o,width:n,className:f.beak},ht.createElement("polygon",{points:r+" "+i+" "+a})))});Uf.displayName="Beak";var jf=Do(function(){return ee({"0%":{transform:"translate(0, 0)",animationTimingFunction:"linear"},"78.57%":{transform:"translate(0, 0)",animationTimingFunction:"cubic-bezier(0.62, 0, 0.56, 1)"},"82.14%":{transform:"translate(0, -5px)",animationTimingFunction:"cubic-bezier(0.58, 0, 0, 1)"},"84.88%":{transform:"translate(0, 9px)",animationTimingFunction:"cubic-bezier(1, 0, 0.56, 1)"},"88.1%":{transform:"translate(0, -2px)",animationTimingFunction:"cubic-bezier(0.58, 0, 0.67, 1)"},"90.12%":{transform:"translate(0, 0)",animationTimingFunction:"linear"},"100%":{transform:"translate(0, 0)"}})}),qf=Do(function(){return ee({"0%":{transform:" scale(0)",animationTimingFunction:"linear"},"14.29%":{transform:"scale(0)",animationTimingFunction:"cubic-bezier(0.84, 0, 0.52, 0.99)"},"16.67%":{transform:"scale(1.15)",animationTimingFunction:"cubic-bezier(0.48, -0.01, 0.52, 1.01)"},"19.05%":{transform:"scale(0.95)",animationTimingFunction:"cubic-bezier(0.48, 0.02, 0.52, 0.98)"},"21.43%":{transform:"scale(1)",animationTimingFunction:"linear"},"42.86%":{transform:"scale(1)",animationTimingFunction:"cubic-bezier(0.48, -0.02, 0.52, 1.02)"},"45.71%":{transform:"scale(0.8)",animationTimingFunction:"cubic-bezier(0.48, 0.01, 0.52, 0.99)"},"50%":{transform:"scale(1)",animationTimingFunction:"linear"},"90.12%":{transform:"scale(1)",animationTimingFunction:"cubic-bezier(0.48, -0.02, 0.52, 1.02)"},"92.98%":{transform:"scale(0.8)",animationTimingFunction:"cubic-bezier(0.48, 0.01, 0.52, 0.99)"},"97.26%":{transform:"scale(1)",animationTimingFunction:"linear"},"100%":{transform:"scale(1)"}})}),Yf=Do(function(){return ee({"0%":{transform:"rotate(0deg)",animationTimingFunction:"linear"},"83.33%":{transform:" rotate(0deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"83.93%":{transform:"rotate(15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"84.52%":{transform:"rotate(-15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"85.12%":{transform:"rotate(15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"85.71%":{transform:"rotate(-15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"86.31%":{transform:"rotate(0deg)",animationTimingFunction:"linear"},"100%":{transform:"rotate(0deg)"}})}),Zf=function(){var n=Zi({});return ht.useEffect(function(){return function(){for(var e=0,t=Object.keys(n);ee.left-n&&te.top-n&&ot?t:e}function gg(e,t,o){var n=NaN,r=Math.max(e,t,o),i=r-Math.min(e,t,o);return 0===i?n=0:e===r?n=(t-o)/i%6:t===r?n=(o-e)/i+2:o===r&&(n=(e-t)/i+4),(n=Math.round(60*n))<0&&(n+=360),{h:n,s:Math.round(100*(0===r?0:i/r)),v:Math.round(r/ag*100)}}function vg(e,t,o){return[bg(e),bg(t),bg(o)].join("")}function bg(e){var t=(e=fg(e,ag)).toString(16);return 1===t.length?"0"+t:t}function yg(e,t,o,n,r){return n===lg||"number"!=typeof n?"#".concat(r):"rgba(".concat(e,", ").concat(t,", ").concat(o,", ").concat(n/lg,")")}function Cg(e){var t=e.a,o=void 0===t?lg:t,n=e.b,r=e.g,i=e.r,a=gg(i,r,n),s=a.h,l=a.s,c=a.v,u=vg(i,r,n);return{a:o,b:n,g:r,h:s,hex:u,r:i,s:l,str:yg(i,r,n,o,u),v:c,t:lg-o}}function _g(e,t,o){var n=(2-(t/=ng))*(o/=ig),r=t*o;return{h:e,s:100*(r=(r/=n<=1?n:2-n)||0),l:100*(n/=2)}}function Sg(e,t,o){var n=[],r=(o/=100)*(t/=100),i=e/60,a=r*(1-Math.abs(i%2-1)),s=o-r;switch(Math.floor(i)){case 0:n=[r,a,0];break;case 1:n=[a,r,0];break;case 2:n=[0,r,a];break;case 3:n=[0,a,r];break;case 4:n=[a,0,r];break;case 5:n=[r,0,a]}return{r:Math.round(ag*(n[0]+s)),g:Math.round(ag*(n[1]+s)),b:Math.round(ag*(n[2]+s))}}var xg,kg=[.027,.043,.082,.145,.184,.216,.349,.537],wg=[.537,.45,.349,.216,.184,.145,.082,.043],Ig=[.537,.349,.216,.184,.145,.082,.043,.027],Dg=[.537,.45,.349,.216,.184,.145,.082,.043],Eg=[.88,.77,.66,.55,.44,.33,.22,.11],Tg=[.11,.22,.33,.44,.55,.66,.77,.88],Pg=[.96,.84,.7,.4,.12],Rg=[.1,.24,.44],Mg=.2,Ng=.8;function Bg(e){return"number"==typeof e&&e>=xg.Unshaded&&e<=xg.Shade8}function Ag(e,t){return{h:e.h,s:e.s,v:fg(e.v-e.v*t,100,0)}}function Fg(e,t){return{h:e.h,s:fg(e.s-e.s*t,100,0),v:fg(e.v+(100-e.v)*t,100,0)}}function Lg(e){return _g(e.h,e.s,e.v).l<50}function Og(e,t,o){if(void 0===o&&(o=!1),!e)return null;if(t===xg.Unshaded||!Bg(t))return e;var n=_g(e.h,e.s,e.v),r={h:e.h,s:e.s,v:e.v},i=t-1,a=Fg,s=Ag;return o&&(a=Ag,s=Fg),r=function(e){return e.r===ag&&e.g===ag&&e.b===ag}(e)?Ag(r,Ig[i]):function(e){return 0===e.r&&0===e.g&&0===e.b}(e)?Fg(r,Dg[i]):n.l/100>Ng?s(r,Tg[i]):n.l/1001?n/r:r/n}function Wg(e){return{h:fg(e.h,rg),s:fg(e.s,ng),v:fg(e.v,ig)}}function Vg(e){return!e||e.length=ug?e.substring(0,ug):e.substring(0,cg)}function Kg(e){return{r:fg(e.r,ag),g:fg(e.g,ag),b:fg(e.b,ag),a:"number"==typeof e.a?fg(e.a,lg):e.a}}function Gg(e,t,o){var n=o+(t*=(o<50?o:100-o)/100);return{h:e,s:0===n?0:2*t/n*100,v:n}}function Ug(e,t,o){var n=Gg(e,t,o);return Sg(n.h,n.s,n.v)}function jg(e,t){if(e){var o=null!=t?t:st();return qg(e)||function(e){if("#"===e[0]&&7===e.length&&/^#[\da-fA-F]{6}$/.test(e))return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:lg}}(e)||function(e){if("#"===e[0]&&4===e.length&&/^#[\da-fA-F]{3}$/.test(e))return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:lg}}(e)||function(e){var t=e.match(/^hsl(a?)\(([\d., ]+)\)$/);if(t){var o=!!t[1],n=o?4:3,r=t[2].split(/ *, */).map(Number);if(r.length===n){var i=Ug(r[0],r[1],r[2]);return i.a=o?100*r[3]:lg,i}}}(e)||function(e,t){var o;if(void 0!==t){var n=t.createElement("div");n.style.backgroundColor=e,n.style.position="absolute",n.style.top="-9999px",n.style.left="-9999px",n.style.height="1px",n.style.width="1px",t.body.appendChild(n);var r=null===(o=t.defaultView)||void 0===o?void 0:o.getComputedStyle(n),i=r&&r.backgroundColor;if(t.body.removeChild(n),"rgba(0, 0, 0, 0)"!==i&&"transparent"!==i)return qg(i);switch(e.trim()){case"transparent":case"#0000":case"#00000000":return{r:0,g:0,b:0,a:0}}}}(e,o)}}function qg(e){if(e){var t=e.match(/^rgb(a?)\(([\d., ]+)\)$/);if(t){var o=!!t[1],n=o?4:3,r=t[2].split(/ *, */).map(Number);if(r.length===n)return{r:r[0],g:r[1],b:r[2],a:o?100*r[3]:lg}}}}function Yg(e,t,o){var n=Sg(e,t,o);return vg(n.r,n.g,n.b)}function Zg(e,t){var o=e.h,n=e.s,r=e.v;t="number"==typeof t?t:lg;var i=Sg(o,n,r),a=i.r,s=i.g,l=i.b,c=Yg(o,n,r);return{a:t,b:l,g:s,h:o,hex:c,r:a,s:n,str:yg(a,s,l,t,c),v:r,t:lg-t}}function Xg(e,t){var o=jg(e,null!=t?t:st());if(o)return pt(pt({},Cg(o)),{str:e})}function Qg(e){return"#".concat(Yg(e.h,ng,ig))}function Jg(e,t){return pt(pt({},e),{a:t,t:lg-t,str:yg(e.r,e.g,e.b,t,e.hex)})}function $g(e,t){var o=Sg(t,e.s,e.v),n=o.r,r=o.g,i=o.b,a=vg(n,r,i);return pt(pt({},e),{h:t,r:n,g:r,b:i,hex:a,str:yg(n,r,i,e.a,a)})}function ev(e,t,o){var n;return Cg(((n={r:e.r,g:e.g,b:e.b,a:e.a})[t]=o,n))}function tv(e,t,o){var n=Sg(e.h,t,o),r=n.r,i=n.g,a=n.b,s=vg(r,i,a);return pt(pt({},e),{s:t,v:o,r:r,g:i,b:a,hex:s,str:yg(r,i,a,e.a,s)})}function ov(e,t){var o=lg-t;return pt(pt({},e),{t:t,a:o,str:yg(e.r,e.g,e.b,o,e.hex)})}!function(e){e[e.Unshaded=0]="Unshaded",e[e.Shade1=1]="Shade1",e[e.Shade2=2]="Shade2",e[e.Shade3=3]="Shade3",e[e.Shade4=4]="Shade4",e[e.Shade5=5]="Shade5",e[e.Shade6=6]="Shade6",e[e.Shade7=7]="Shade7",e[e.Shade8=8]="Shade8"}(xg||(xg={}));var nv,rv=vr(),iv="TextField",av=function(n){function e(e){var i=n.call(this,e)||this;i._textElement=ht.createRef(),i._onFocus=function(e){i.props.onFocus&&i.props.onFocus(e),i.setState({isFocused:!0},function(){i.props.validateOnFocusIn&&i._validate(i.value)})},i._onBlur=function(e){i.props.onBlur&&i.props.onBlur(e),i.setState({isFocused:!1},function(){i.props.validateOnFocusOut&&i._validate(i.value)})},i._onRenderLabel=function(e){var t=e.label,o=e.required,n=i._classNames.subComponentStyles?i._classNames.subComponentStyles.label:void 0;return t?ht.createElement(vf,{required:o,htmlFor:i._id,styles:n,disabled:e.disabled,id:i._labelId},e.label):null},i._onRenderDescription=function(e){return e.description?ht.createElement("span",{className:i._classNames.description},e.description):null},i._onRevealButtonClick=function(e){i.setState(function(e){return{isRevealingPassword:!e.isRevealingPassword}})},i._onInputChange=function(e){var t,o,n=e.target.value,r=sv(i.props,i.state)||"";void 0!==n&&n!==i._lastChangeValue&&n!==r?(i._lastChangeValue=n,null===(o=(t=i.props).onChange)||void 0===o||o.call(t,e,n),i._isControlled||i.setState({uncontrolledValue:n})):i._lastChangeValue=void 0},ua(i),i._async=new fa(i),Gi(iv,e,{errorMessage:"onGetErrorMessage"}),i._fallbackId=bs(iv),i._descriptionId=bs(iv+"Description"),i._labelId=bs(iv+"Label"),i._prefixId=bs(iv+"Prefix"),i._suffixId=bs(iv+"Suffix"),i._warnControlledUsage();var t=e.defaultValue,o=void 0===t?"":t;return"number"==typeof o&&(o=String(o)),i.state={uncontrolledValue:i._isControlled?void 0:o,isFocused:!1,errorMessage:""},i._delayedValidate=i._async.debounce(i._validate,i.props.deferredValidationTime),i._lastValidation=0,i}return m(e,n),Object.defineProperty(e.prototype,"value",{get:function(){return sv(this.props,this.state)},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){this._adjustInputHeight(),this.props.validateOnLoad&&this._validate(this.value)},e.prototype.componentWillUnmount=function(){this._async.dispose()},e.prototype.getSnapshotBeforeUpdate=function(e,t){return{selection:[this.selectionStart,this.selectionEnd]}},e.prototype.componentDidUpdate=function(e,t,o){var n=this.props,r=(o||{}).selection,i=void 0===r?[null,null]:r,a=i[0],s=i[1];!!e.multiline!=!!n.multiline&&t.isFocused&&(this.focus(),null!==a&&null!==s&&a>=0&&s>=0&&this.setSelectionRange(a,s)),e.value!==n.value&&(this._lastChangeValue=void 0);var l=sv(e,t),c=this.value;l!==c&&(this._warnControlledUsage(e),this.state.errorMessage&&!n.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),lv(n)&&this._delayedValidate(c))},e.prototype.render=function(){var e=this.props,t=e.borderless,o=e.className,n=e.disabled,r=e.invalid,i=e.iconProps,a=e.inputClassName,s=e.label,l=e.multiline,c=e.required,u=e.underlined,d=e.prefix,p=e.resizable,h=e.suffix,m=e.theme,f=e.styles,g=e.autoAdjustHeight,v=e.canRevealPassword,b=e.revealPasswordAriaLabel,y=e.type,C=e.onRenderPrefix,_=void 0===C?this._onRenderPrefix:C,S=e.onRenderSuffix,x=void 0===S?this._onRenderSuffix:S,k=e.onRenderLabel,w=void 0===k?this._onRenderLabel:k,I=e.onRenderDescription,D=void 0===I?this._onRenderDescription:I,E=this.state,T=E.isFocused,P=E.isRevealingPassword,R=this._errorMessage,M="boolean"==typeof r?r:!!R,N=!!v&&"password"===y&&function(){if("boolean"!=typeof nv){var e=ut();if(null==e?void 0:e.navigator){var t=/Edg/.test(e.navigator.userAgent||"");nv=!(sa()||t)}else nv=!0}return nv}(),B=this._classNames=rv(f,{theme:m,className:o,disabled:n,focused:T,required:c,multiline:l,hasLabel:!!s,hasErrorMessage:M,borderless:t,resizable:p,hasIcon:!!i,underlined:u,inputClassName:a,autoAdjustHeight:g,hasRevealButton:N});return ht.createElement("div",{ref:this.props.elementRef,className:B.root},ht.createElement("div",{className:B.wrapper},w(this.props,this._onRenderLabel),ht.createElement("div",{className:B.fieldGroup},(void 0!==d||this.props.onRenderPrefix)&&ht.createElement("div",{className:B.prefix,id:this._prefixId},_(this.props,this._onRenderPrefix)),l?this._renderTextArea():this._renderInput(),i&&ht.createElement(wi,pt({className:B.icon},i)),N&&ht.createElement("button",{"aria-label":b,className:B.revealButton,onClick:this._onRevealButtonClick,"aria-pressed":!!P,type:"button"},ht.createElement("span",{className:B.revealSpan},ht.createElement(wi,{className:B.revealIcon,iconName:P?"Hide":"RedEye"}))),(void 0!==h||this.props.onRenderSuffix)&&ht.createElement("div",{className:B.suffix,id:this._suffixId},x(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&ht.createElement("span",{id:this._descriptionId},D(this.props,this._onRenderDescription),R&&ht.createElement("div",{role:"alert"},ht.createElement(ka,null,this._renderErrorMessage()))))},e.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},e.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},e.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},e.prototype.setSelectionStart=function(e){this._textElement.current&&(this._textElement.current.selectionStart=e)},e.prototype.setSelectionEnd=function(e){this._textElement.current&&(this._textElement.current.selectionEnd=e)},Object.defineProperty(e.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),e.prototype.setSelectionRange=function(e,t){this._textElement.current&&this._textElement.current.setSelectionRange(e,t)},e.prototype._warnControlledUsage=function(e){qi({componentId:this._id,componentName:iv,props:this.props,oldProps:e,valueProp:"value",defaultValueProp:"defaultValue",onChangeProp:"onChange",readOnlyProp:"readOnly"}),null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,yn("Warning: 'value' prop on '".concat(iv,"' should not be null. Consider using an ")+"empty string to clear the component or undefined to indicate an uncontrolled component."))},Object.defineProperty(e.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_isControlled",{get:function(){return Ui(this.props,"value")},enumerable:!1,configurable:!0}),e.prototype._onRenderPrefix=function(e){var t=e.prefix;return ht.createElement("span",{style:{paddingBottom:"1px"}},t)},e.prototype._onRenderSuffix=function(e){var t=e.suffix;return ht.createElement("span",{style:{paddingBottom:"1px"}},t)},Object.defineProperty(e.prototype,"_errorMessage",{get:function(){var e=this.props.errorMessage;return(void 0===e?this.state.errorMessage:e)||""},enumerable:!1,configurable:!0}),e.prototype._renderErrorMessage=function(){var e=this._errorMessage;return e?"string"==typeof e?ht.createElement("p",{className:this._classNames.errorMessage},ht.createElement("span",{"data-automation-id":"error-message"},e)):ht.createElement("div",{className:this._classNames.errorMessage,"data-automation-id":"error-message"},e):null},Object.defineProperty(e.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!1,configurable:!0}),e.prototype._renderTextArea=function(){var e=this.props.invalid,t=void 0===e?!!this._errorMessage:e,o=qr(this.props,Nr,["defaultValue"]),n=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return ht.createElement("textarea",pt({id:this._id},o,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":n,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":t,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},e.prototype._renderInput=function(){var e=this.props,t=e.ariaLabel,o=e.invalid,n=void 0===o?!!this._errorMessage:o,r=e.onRenderPrefix,i=e.onRenderSuffix,a=e.prefix,s=e.suffix,l=e.type,c=void 0===l?"text":l,u=[];e.label&&u.push(this._labelId),(void 0!==a||r)&&u.push(this._prefixId),(void 0!==s||i)&&u.push(this._suffixId);var d=pt(pt({type:this.state.isRevealingPassword?"text":c,id:this._id},qr(this.props,Mr,["defaultValue","type"])),{"aria-labelledby":this.props["aria-labelledby"]||(u.length>0?u.join(" "):void 0),ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":t,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":n,onFocus:this._onFocus,onBlur:this._onBlur}),p=function(e){return ht.createElement("input",pt({},e))};return(this.props.onRenderInput||p)(d,p)},e.prototype._validate=function(t){var o=this;if(this._latestValidateValue!==t||!lv(this.props)){this._latestValidateValue=t;var e=this.props.onGetErrorMessage,n=e&&e(t||"");if(void 0!==n)if("string"!=typeof n&&"then"in n){var r=++this._lastValidation;n.then(function(e){r===o._lastValidation&&o.setState({errorMessage:e}),o._notifyAfterValidate(t,e)})}else this.setState({errorMessage:n}),this._notifyAfterValidate(t,n);else this._notifyAfterValidate(t,"")}},e.prototype._notifyAfterValidate=function(e,t){e===this.value&&this.props.onNotifyValidationResult&&this.props.onNotifyValidationResult(t,e)},e.prototype._adjustInputHeight=function(){var e,t;if(this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline){var o=null===(t=null===(e=this.props.scrollContainerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.scrollTop,n=this._textElement.current;n.style.height="",n.style.height=n.scrollHeight+"px",o&&(this.props.scrollContainerRef.current.scrollTop=o)}},e.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},e}(ht.Component);function sv(e,t){var o=e.value,n=void 0===o?t.uncontrolledValue:o;return"number"==typeof n?String(n):n}function lv(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var cv={root:"ms-TextField",description:"ms-TextField-description",errorMessage:"ms-TextField-errorMessage",field:"ms-TextField-field",fieldGroup:"ms-TextField-fieldGroup",prefix:"ms-TextField-prefix",suffix:"ms-TextField-suffix",wrapper:"ms-TextField-wrapper",revealButton:"ms-TextField-reveal",multiline:"ms-TextField--multiline",borderless:"ms-TextField--borderless",underlined:"ms-TextField--underlined",unresizable:"ms-TextField--unresizable",required:"is-required",disabled:"is-disabled",active:"is-active"};function uv(e){var t=e.underlined,o=e.disabled,n=e.focused,r=e.theme,i=r.palette,a=r.fonts;return function(){var e;return{root:[t&&o&&{color:i.neutralTertiary},t&&{fontSize:a.medium.fontSize,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},t&&n&&{selectors:(e={},e[Mo]={height:31},e)}]}}}function dv(e){var t,o,n,r,i,a,s,l,c,u,d,p,h=e.theme,m=e.className,f=e.disabled,g=e.focused,v=e.required,b=e.multiline,y=e.hasLabel,C=e.borderless,_=e.underlined,S=e.hasIcon,x=e.resizable,k=e.hasErrorMessage,w=e.inputClassName,I=e.autoAdjustHeight,D=e.hasRevealButton,E=h.semanticColors,T=h.effects,P=h.fonts,R=Ro(cv,h),M={background:E.disabledBackground,color:f?E.disabledText:E.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0,selectors:(t={},t[Mo]={background:"Window",color:f?"GrayText":"WindowText"},t)},N=[{color:E.inputPlaceholderText,opacity:1,selectors:(o={},o[Mo]={color:"GrayText"},o)}],B={color:E.disabledText,selectors:(n={},n[Mo]={color:"GrayText"},n)};return{root:[R.root,P.medium,v&&R.required,f&&R.disabled,g&&R.active,b&&R.multiline,C&&R.borderless,_&&R.underlined,dn,{position:"relative"},m],wrapper:[R.wrapper,_&&[{display:"flex",borderBottom:"1px solid ".concat(k?E.errorText:E.inputBorder),width:"100%"},f&&{borderBottomColor:E.disabledBackground,selectors:(r={},r[Mo]=pt({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},!f&&{selectors:{":hover":{borderBottomColor:k?E.errorText:E.inputBorderHovered,selectors:(i={},i[Mo]=pt({borderBottomColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}}},g&&[{position:"relative"},an(k?E.errorText:E.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[R.fieldGroup,dn,{border:"1px solid ".concat(E.inputBorder),borderRadius:T.roundedCorner2,background:E.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative"},b&&{minHeight:"60px",height:"auto",display:"flex"},!g&&!f&&{selectors:{":hover":{borderColor:E.inputBorderHovered,selectors:(a={},a[Mo]=pt({borderColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)}}},g&&!_&&an(k?E.errorText:E.inputFocusBorderAlt,T.roundedCorner2),f&&{borderColor:E.disabledBackground,selectors:(s={},s[Mo]=pt({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s),cursor:"default"},C&&{border:"none"},C&&g&&{border:"none",selectors:{":after":{border:"none"}}},_&&{flex:"1 1 0px",border:"none",textAlign:"left"},_&&f&&{backgroundColor:"transparent"},k&&!_&&{borderColor:E.errorText,selectors:{"&:hover":{borderColor:E.errorText}}},!y&&v&&{selectors:(l={":before":{content:"'*'",color:E.errorText,position:"absolute",top:-5,right:-10}},l[Mo]={selectors:{":before":{color:"WindowText",right:-14}}},l)}],field:[P.medium,R.field,dn,{borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:E.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:(c={"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}},c[Mo]={background:"Window",color:f?"GrayText":"WindowText"},c)},vn(N),b&&!x&&[R.unresizable,{resize:"none"}],b&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},b&&I&&{overflow:"hidden"},S&&!D&&{paddingRight:24},b&&S&&{paddingRight:40},f&&[{backgroundColor:E.disabledBackground,color:E.disabledText,borderColor:E.disabledBackground},vn(B)],_&&{textAlign:"left"},g&&!C&&{selectors:(u={},u[Mo]={paddingLeft:11,paddingRight:11},u)},g&&b&&!C&&{selectors:(d={},d[Mo]={paddingTop:4},d)},w],icon:[b&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:Je.medium,lineHeight:18},f&&{color:E.disabledText}],description:[R.description,{color:E.bodySubtext,fontSize:P.xSmall.fontSize}],errorMessage:[R.errorMessage,$e.slideDownIn20,P.small,{color:E.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[R.prefix,M],suffix:[R.suffix,M],revealButton:[R.revealButton,"ms-Button","ms-Button--icon",on(h,{inset:1}),{height:30,width:32,border:"none",padding:"0px 4px",backgroundColor:"transparent",color:E.link,selectors:{":hover":{outline:0,color:E.primaryButtonBackgroundHovered,backgroundColor:E.buttonBackgroundHovered,selectors:(p={},p[Mo]={borderColor:"Highlight",color:"Highlight"},p)},":focus":{outline:0}}},S&&{marginRight:28}],revealSpan:{display:"flex",height:"100%",alignItems:"center"},revealIcon:{margin:"0px 4px",pointerEvents:"none",bottom:6,right:8,top:"auto",fontSize:Je.medium,lineHeight:18},subComponentStyles:{label:uv(e)}}}var pv=ir(av,dv,void 0,{scope:"TextField"}),hv=vr(),mv=function(t){function e(e){var i=t.call(this,e)||this;return i._disposables=[],i._root=ht.createRef(),i._isAdjustingSaturation=!0,i._descriptionId=bs("ColorRectangle-description"),i._onKeyDown=function(e){var t=i.state.color,o=t.s,n=t.v,r=e.shiftKey?10:1;switch(e.which){case sr.up:i._isAdjustingSaturation=!1,n+=r;break;case sr.down:i._isAdjustingSaturation=!1,n-=r;break;case sr.left:i._isAdjustingSaturation=!0,o-=r;break;case sr.right:i._isAdjustingSaturation=!0,o+=r;break;default:return}i._updateColor(e,tv(t,fg(o,ng),fg(n,ig)))},i._onMouseDown=function(e){var t=zc(i.context);i._disposables.push(Gl(t,"mousemove",i._onMouseMove,!0),Gl(t,"mouseup",i._disposeListeners,!0)),i._onMouseMove(e)},i._onMouseMove=function(e){if(i._root.current){var t=fv(e,i.state.color,i._root.current);t&&i._updateColor(e,t)}},i._onTouchStart=function(e){i._root.current&&e.stopPropagation()},i._onTouchMove=function(e){if(i._root.current){var t=fv(e,i.state.color,i._root.current);t&&i._updateColor(e,t),e.preventDefault(),e.stopPropagation()}},i._disposeListeners=function(){i._disposables.forEach(function(e){return e()}),i._disposables=[]},ua(i),i.state={color:e.color},i}return m(e,t),Object.defineProperty(e.prototype,"color",{get:function(){return this.state.color},enumerable:!1,configurable:!0}),e.prototype.componentDidUpdate=function(e,t){e!==this.props&&this.props.color&&this.setState({color:this.props.color})},e.prototype.componentDidMount=function(){this._root.current&&(this._root.current.addEventListener("touchstart",this._onTouchStart,{capture:!0,passive:!1}),this._root.current.addEventListener("touchmove",this._onTouchMove,{capture:!0,passive:!1}))},e.prototype.componentWillUnmount=function(){this._root.current&&(this._root.current.removeEventListener("touchstart",this._onTouchStart),this._root.current.removeEventListener("touchmove",this._onTouchMove)),this._disposeListeners()},e.prototype.render=function(){var e=this.props,t=e.minSize,o=e.theme,n=e.className,r=e.styles,i=e.ariaValueFormat,a=e.ariaLabel,s=e.ariaDescription,l=this.state.color,c=hv(r,{theme:o,className:n,minSize:t}),u=i.replace("{0}",String(l.s)).replace("{1}",String(l.v));return ht.createElement("div",{ref:this._root,tabIndex:0,className:c.root,style:{backgroundColor:Qg(l)},onMouseDown:this._onMouseDown,onKeyDown:this._onKeyDown,role:"slider","aria-valuetext":u,"aria-valuenow":this._isAdjustingSaturation?l.s:l.v,"aria-valuemin":0,"aria-valuemax":ig,"aria-label":a,"aria-describedby":this._descriptionId,"data-is-focusable":!0},ht.createElement("div",{className:c.description,id:this._descriptionId},s),ht.createElement("div",{className:c.light}),ht.createElement("div",{className:c.dark}),ht.createElement("div",{className:c.thumb,style:{left:l.s+"%",top:ig-l.v+"%",backgroundColor:l.str}}))},e.prototype._updateColor=function(e,t){var o=this.props.onChange,n=this.state.color;t.s===n.s&&t.v===n.v||(o&&o(e,t),e.defaultPrevented||(this.setState({color:t}),e.preventDefault()))},e.contextType=ga,e.defaultProps={minSize:220,ariaLabel:"Saturation and brightness",ariaValueFormat:"Saturation {0} brightness {1}",ariaDescription:"Use left and right arrow keys to set saturation. Use up and down arrow keys to set brightness."},e}(ht.Component);function fv(e,t,o){var n=o.getBoundingClientRect(),r=void 0,i=e;if(i.touches){var a=i.touches[i.touches.length-1];void 0!==a.clientX&&void 0!==a.clientY&&(r={clientX:a.clientX,clientY:a.clientY})}if(!r){var s=e;void 0!==s.clientX&&void 0!==s.clientY&&(r={clientX:s.clientX,clientY:s.clientY})}if(r){var l=(r.clientX-n.left)/n.width,c=(r.clientY-n.top)/n.height;return tv(t,fg(Math.round(l*ng),ng),fg(Math.round(ig-c*ig),ig))}}var gv=ir(mv,function(e){var t,o,n=e.className,r=e.theme,i=e.minSize,a=r.palette,s=r.effects;return{root:["ms-ColorPicker-colorRect",{position:"relative",marginBottom:8,border:"1px solid ".concat(a.neutralLighter),borderRadius:s.roundedCorner2,minWidth:i,minHeight:i,outline:"none",selectors:(t={},t[Mo]=pt({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]=(o={outline:"1px solid ".concat(a.neutralSecondary)},o["".concat(Mo)]={outline:"2px solid CanvasText"},o),t)},n],light:["ms-ColorPicker-light",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to right, white 0%, transparent 100%) /*@noflip*/"}],dark:["ms-ColorPicker-dark",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to bottom, transparent 0, #000 100%)"}],thumb:["ms-ColorPicker-thumb",{position:"absolute",width:20,height:20,background:"white",border:"1px solid ".concat(a.neutralSecondaryAlt),borderRadius:"50%",boxShadow:s.elevation8,transform:"translate(-50%, -50%)",selectors:{":before":{position:"absolute",left:0,right:0,top:0,bottom:0,border:"2px solid ".concat(a.white),borderRadius:"50%",boxSizing:"border-box",content:'""'}}}],description:ho}},void 0,{scope:"ColorRectangle"}),vv=vr(),bv=function(t){function e(e){var a=t.call(this,e)||this;return a._disposables=[],a._root=ht.createRef(),a._onKeyDown=function(e){var t=a.value,o=a._maxValue,n=e.shiftKey?10:1;switch(e.which){case sr.left:t-=n;break;case sr.right:t+=n;break;case sr.home:t=0;break;case sr.end:t=o;break;default:return}a._updateValue(e,fg(t,o))},a._onMouseDown=function(e){var t=ut(a);t&&a._disposables.push(Gl(t,"mousemove",a._onMouseMove,!0),Gl(t,"mouseup",a._disposeListeners,!0)),a._onMouseMove(e)},a._onMouseMove=function(e){if(a._root.current){var t=a._maxValue,o=a._root.current.getBoundingClientRect(),n=(e.clientX-o.left)/o.width,r=fg(Math.round(n*t),t);a._updateValue(e,r)}},a._onTouchStart=function(e){a._root.current&&e.stopPropagation()},a._onTouchMove=function(e){if(a._root.current){var t=e.touches[e.touches.length-1];if(void 0!==t.clientX){var o=a._maxValue,n=a._root.current.getBoundingClientRect(),r=(t.clientX-n.left)/n.width,i=fg(Math.round(r*o),o);a._updateValue(e,i)}e.preventDefault(),e.stopPropagation()}},a._disposeListeners=function(){a._disposables.forEach(function(e){return e()}),a._disposables=[]},ua(a),Ki("ColorSlider",e,{thumbColor:"styles.sliderThumb",overlayStyle:"overlayColor",isAlpha:"type",maxValue:"type",minValue:"type"}),"hue"===a._type||e.overlayColor||e.overlayStyle||yn("ColorSlider: 'overlayColor' is required when 'type' is \"alpha\" or \"transparency\""),a.state={currentValue:e.value||0},a}return m(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.state.currentValue},enumerable:!1,configurable:!0}),e.prototype.componentDidUpdate=function(e,t){e!==this.props&&void 0!==this.props.value&&this.setState({currentValue:this.props.value})},e.prototype.componentDidMount=function(){this._root.current&&(this._root.current.addEventListener("touchstart",this._onTouchStart,{capture:!0,passive:!1}),this._root.current.addEventListener("touchmove",this._onTouchMove,{capture:!0,passive:!1}))},e.prototype.componentWillUnmount=function(){this._root.current&&(this._root.current.removeEventListener("touchstart",this._onTouchStart),this._root.current.removeEventListener("touchmove",this._onTouchMove)),this._disposeListeners()},e.prototype.render=function(){var e=this._type,t=this._maxValue,o=this.props,n=o.overlayStyle,r=o.overlayColor,i=o.theme,a=o.className,s=o.styles,l=o.ariaLabel,c=void 0===l?e:l,u=this.value,d=vv(s,{theme:i,className:a,type:e}),p=100*u/t;return ht.createElement("div",{ref:this._root,className:d.root,tabIndex:0,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,role:"slider","aria-valuenow":u,"aria-valuetext":String(u),"aria-valuemin":0,"aria-valuemax":t,"aria-label":c,"data-is-focusable":!0},!(!r&&!n)&&ht.createElement("div",{className:d.sliderOverlay,style:r?{background:"transparency"===e?"linear-gradient(to right, #".concat(r,", transparent)"):"linear-gradient(to right, transparent, #".concat(r,")")}:n}),ht.createElement("div",{className:d.sliderThumb,style:{left:p+"%"}}))},Object.defineProperty(e.prototype,"_type",{get:function(){var e=this.props,t=e.isAlpha,o=e.type;return void 0===o?t?"alpha":"hue":o},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_maxValue",{get:function(){return"hue"===this._type?rg:lg},enumerable:!1,configurable:!0}),e.prototype._updateValue=function(e,t){if(t!==this.value){var o=this.props.onChange;o&&o(e,t),e.defaultPrevented||(this.setState({currentValue:t}),e.preventDefault())}},e.defaultProps={value:0},e}(ht.Component),yv={background:"linear-gradient(".concat(["to left","red 0","#f09 10%","#cd00ff 20%","#3200ff 30%","#06f 40%","#00fffd 50%","#0f6 60%","#35ff00 70%","#cdff00 80%","#f90 90%","red 100%"].join(","),")")},Cv={backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJUlEQVQYV2N89erVfwY0ICYmxoguxjgUFKI7GsTH5m4M3w1ChQC1/Ca8i2n1WgAAAABJRU5ErkJggg==)"},_v=ir(bv,function(e){var t,o,n=e.theme,r=e.className,i=e.type,a=void 0===i?"hue":i,s=e.isAlpha,l=void 0===s?"hue"!==a:s,c=n.palette,u=n.effects;return{root:["ms-ColorPicker-slider",{position:"relative",height:20,marginBottom:8,border:"1px solid ".concat(c.neutralLight),borderRadius:u.roundedCorner2,boxSizing:"border-box",outline:"none",forcedColorAdjust:"none",selectors:(t={},t[".".concat(Jo," &:focus")]=(o={outline:"1px solid ".concat(c.neutralSecondary)},o["".concat(Mo)]={outline:"2px solid CanvasText"},o),t)},l?Cv:yv,r],sliderOverlay:["ms-ColorPicker-sliderOverlay",{content:"",position:"absolute",left:0,right:0,top:0,bottom:0}],sliderThumb:["ms-ColorPicker-thumb","is-slider",{position:"absolute",width:20,height:20,background:"white",border:"1px solid ".concat(c.neutralSecondaryAlt),borderRadius:"50%",boxShadow:u.elevation8,transform:"translate(-50%, -50%)",top:"50%",forcedColorAdjust:"auto"}]}},void 0,{scope:"ColorSlider"}),Sv=vr(),xv=["hex","r","g","b","a","t"],kv={hex:"hexError",r:"redError",g:"greenError",b:"blueError",a:"alphaError",t:"transparencyError"},wv=function(a){function s(e){var p=a.call(this,e)||this;p._onSVChanged=function(e,t){p._updateColor(e,t)},p._onHChanged=function(e,t){p._updateColor(e,$g(p.state.color,t))},p._onATChanged=function(e,t){var o="transparency"===p.props.alphaType?ov:Jg;p._updateColor(e,o(p.state.color,Math.round(t)))},p._onBlur=function(e){var t,o=p.state,n=o.color,r=o.editingColor;if(r){var i=r.value,a=r.component,s="hex"===a,l="a"===a,c="t"===a,u=s?cg:dg;if(i.length>=u&&(s||!isNaN(Number(i)))){var d=void 0;d=s?Xg("#"+Vg(i)):l||c?(l?Jg:ov)(n,fg(Number(i),lg)):Cg(Kg(pt(pt({},n),((t={})[a]=Number(i),t)))),p._updateColor(e,d)}else p.setState({editingColor:void 0})}},ua(p);var t=e.strings;Ki("ColorPicker",e,{hexLabel:"strings.hex",redLabel:"strings.red",greenLabel:"strings.green",blueLabel:"strings.blue",alphaLabel:"strings.alpha",alphaSliderHidden:"alphaType"}),t.hue&&yn("ColorPicker property 'strings.hue' was used but has been deprecated. Use 'strings.hueAriaLabel' instead."),p.state={color:Iv(e)||Xg("#ffffff")},p._textChangeHandlers={};for(var o=0,n=xv;o=cg&&o.length<=ug)){var n=kv[e];return this._strings[n]}}},s.prototype._onTextChange=function(e,t,o){var n,r=this.state.color,i="hex"===e,a="a"===e,s="t"===e;if(o=(o||"").substr(0,i?ug:pg),(i?hg:mg).test(o))if(""!==o&&(i?o.length===ug:a||s?Number(o)<=lg:Number(o)<=ag))if(String(r[e])===o)this.state.editingColor&&this.setState({editingColor:void 0});else{var l=i?Xg("#"+o):s?ov(r,Number(o)):Cg(pt(pt({},r),((n={})[e]=Number(o),n)));this._updateColor(t,l)}else this.setState({editingColor:{component:e,value:o}})},s.prototype._updateColor=function(e,t){if(t){var o=this.state,n=o.color,r=o.editingColor;if(t.h!==n.h||t.str!==n.str||r){if(e&&this.props.onChange&&(this.props.onChange(e,t),e.defaultPrevented))return;this.setState({color:t,editingColor:void 0})}}},s.defaultProps={alphaType:"alpha",strings:{rootAriaLabelFormat:"Color picker, {0} selected.",hex:"Hex",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",transparency:"Transparency",hueAriaLabel:"Hue",svAriaLabel:mv.defaultProps.ariaLabel,svAriaValueFormat:mv.defaultProps.ariaValueFormat,svAriaDescription:mv.defaultProps.ariaDescription,hexError:"Hex values must be between 3 and 6 characters long",alphaError:"Alpha must be between 0 and 100",transparencyError:"Transparency must be between 0 and 100",redError:"Red must be between 0 and 255",greenError:"Green must be between 0 and 255",blueError:"Blue must be between 0 and 255"}},s}(ht.Component);function Iv(e){var t=e.color;return"string"==typeof t?Xg(t):t}var Dv,Ev,Tv,Pv,Rv,Mv=ir(wv,function(e){var t=e.className,o=e.theme,n=e.alphaType;return{root:["ms-ColorPicker",o.fonts.medium,{position:"relative",maxWidth:300},t],panel:["ms-ColorPicker-panel",{padding:"16px"}],table:["ms-ColorPicker-table",{tableLayout:"fixed",width:"100%",selectors:{"tbody td:last-of-type .ms-ColorPicker-input":{paddingRight:0}}}],tableHeader:[o.fonts.small,{selectors:{td:{paddingBottom:4}}}],tableHexCell:{width:"25%"},tableAlphaCell:"transparency"===n&&{width:"22%"},colorSquare:["ms-ColorPicker-colorSquare",{width:48,height:48,margin:"0 0 0 8px",border:"1px solid #c8c6c4",forcedColorAdjust:"none"}],flexContainer:{display:"flex"},flexSlider:{flexGrow:"1"},flexPreviewBox:{flexGrow:"0"},input:["ms-ColorPicker-input",{width:"100%",border:"none",boxSizing:"border-box",height:30,selectors:{"&.ms-TextField":{paddingRight:4},"& .ms-TextField-field":{minWidth:"auto",padding:5,textOverflow:"clip"}}}]}},void 0,{scope:"ColorPicker"}),Nv=Do(function(e){var t,o=e.semanticColors;return{backgroundColor:o.disabledBackground,color:o.disabledText,cursor:"default",selectors:(t={":after":{borderColor:o.disabledBackground}},t[Mo]={color:"GrayText",selectors:{":after":{borderColor:"GrayText"}}},t)}}),Bv={selectors:(Dv={},Dv[Mo]=pt({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),Dv)},Av={selectors:(Ev={},Ev[Mo]=pt({color:"WindowText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),Ev)},Fv=Do(function(e,t,o,n,r,i){var a,s=e.palette,l=e.semanticColors,c={textHoveredColor:l.menuItemTextHovered,textSelectedColor:s.neutralDark,textDisabledColor:l.disabledText,backgroundHoveredColor:l.menuItemBackgroundHovered,backgroundPressedColor:l.menuItemBackgroundPressed};return Bn({root:[e.fonts.medium,{backgroundColor:n?c.backgroundHoveredColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:r?"none":"block",width:"100%",height:"auto",minHeight:36,lineHeight:"20px",padding:"0 8px",position:"relative",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",selectors:pt(pt((a={},a[Mo]={border:"none",borderColor:"Background"},a),!r&&{"&.ms-Checkbox":{display:"flex",alignItems:"center"}}),{"&.ms-Button--command:hover:active":{backgroundColor:c.backgroundPressedColor},".ms-Checkbox-label":{width:"100%"}})},i?[{backgroundColor:"transparent",color:c.textSelectedColor,selectors:{":hover":[{backgroundColor:c.backgroundHoveredColor},Bv]}},on(e,{inset:-1,isFocusedOnly:!1}),Bv]:[]],rootHovered:{backgroundColor:c.backgroundHoveredColor,color:c.textHoveredColor},rootFocused:{backgroundColor:c.backgroundHoveredColor},rootDisabled:{color:c.textDisabledColor,cursor:"default"},optionText:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:"0px",maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",display:"inline-block"},optionTextWrapper:{maxWidth:"100%",display:"flex",alignItems:"center"}},t,o)}),Lv=Do(function(e,t){var o,n,r=e.semanticColors,i=e.fonts,a={buttonTextColor:r.bodySubtext,buttonTextHoveredCheckedColor:r.buttonTextChecked,buttonBackgroundHoveredColor:r.listItemBackgroundHovered,buttonBackgroundCheckedColor:r.listItemBackgroundChecked,buttonBackgroundCheckedHoveredColor:r.listItemBackgroundCheckedHovered},s={selectors:(o={},o[Mo]=pt({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)};return Bn({root:{color:a.buttonTextColor,fontSize:i.small.fontSize,position:"absolute",top:0,height:"100%",lineHeight:30,width:32,textAlign:"center",cursor:"default",selectors:(n={},n[Mo]=pt({backgroundColor:"ButtonFace",borderColor:"ButtonText",color:"ButtonText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)},icon:{fontSize:i.small.fontSize},rootHovered:[{backgroundColor:a.buttonBackgroundHoveredColor,color:a.buttonTextHoveredCheckedColor,cursor:"pointer"},s],rootPressed:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},s],rootChecked:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},s],rootCheckedHovered:[{backgroundColor:a.buttonBackgroundCheckedHoveredColor,color:a.buttonTextHoveredCheckedColor},s],rootDisabled:[Nv(e),{position:"absolute"}]},t)}),Ov=Do(function(e,t,o){var n,r,i,a,s,l,c=e.semanticColors,u=e.fonts,d=e.effects,p={textColor:c.inputText,borderColor:c.inputBorder,borderHoveredColor:c.inputBorderHovered,borderPressedColor:c.inputFocusBorderAlt,borderFocusedColor:c.inputFocusBorderAlt,backgroundColor:c.inputBackground,erroredColor:c.errorText},h={headerTextColor:c.menuHeader,dividerBorderColor:c.bodyDivider},m={selectors:(n={},n[Mo]={color:"GrayText"},n)},f=[{color:c.inputPlaceholderText},m],g=[{color:c.inputTextHovered},m],v=[{color:c.disabledText},m],b=pt(pt({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),y=an(p.borderPressedColor,d.roundedCorner2,"border",0);return Bn({container:{},label:{},labelDisabled:{},root:[e.fonts.medium,{boxShadow:"none",marginLeft:"0",paddingRight:32,paddingLeft:9,color:p.textColor,position:"relative",outline:"0",userSelect:"none",backgroundColor:p.backgroundColor,cursor:"text",display:"block",height:32,whiteSpace:"nowrap",textOverflow:"ellipsis",boxSizing:"border-box",selectors:{".ms-Label":{display:"inline-block",marginBottom:"8px"},"&.is-open":{selectors:(r={},r[Mo]=b,r)},":after":{pointerEvents:"none",content:"''",position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:"1px",borderStyle:"solid",borderColor:p.borderColor,borderRadius:d.roundedCorner2}}}],rootHovered:{selectors:(i={":after":{borderColor:p.borderHoveredColor},".ms-ComboBox-Input":[{color:c.inputTextHovered},vn(g),Av]},i[Mo]=pt(pt({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),i)},rootPressed:[{position:"relative",selectors:(a={},a[Mo]=b,a)}],rootFocused:[{selectors:(s={".ms-ComboBox-Input":[{color:c.inputTextHovered},Av]},s[Mo]=b,s)},y],rootDisabled:Nv(e),rootError:{selectors:{":after":{borderColor:p.erroredColor},":hover:after":{borderColor:c.inputBorderHovered}}},rootDisallowFreeForm:{},input:[vn(f),{backgroundColor:p.backgroundColor,color:p.textColor,boxSizing:"border-box",width:"100%",height:"100%",borderStyle:"none",outline:"none",font:"inherit",textOverflow:"ellipsis",padding:"0",selectors:{"::-ms-clear":{display:"none"}}},Av],inputDisabled:[Nv(e),vn(v)],errorMessage:[e.fonts.small,{color:p.erroredColor,marginTop:"5px"}],callout:{boxShadow:d.elevation8},optionsContainerWrapper:{width:o},optionsContainer:{display:"block"},screenReaderText:ho,header:[u.medium,{fontWeight:Qe.semibold,color:h.headerTextColor,backgroundColor:"none",borderStyle:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(l={},l[Mo]=pt({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),l)}],divider:{height:1,backgroundColor:h.dividerBorderColor}},t)}),Hv=Do(function(e,t,o,n,r,i,a,s){return{container:de(e.__shadowConfig__,"ms-ComboBox-container",t,e.container),label:de(e.__shadowConfig__,e.label,n&&e.labelDisabled),root:de(e.__shadowConfig__,"ms-ComboBox",s?e.rootError:o&&"is-open",r&&"is-required",e.root,!a&&e.rootDisallowFreeForm,s&&!i?e.rootError:!n&&i&&e.rootFocused,!n&&{selectors:{":hover":s?e.rootError:!o&&!i&&e.rootHovered,":active":s?e.rootError:e.rootPressed,":focus":s?e.rootError:e.rootFocused}},n&&["is-disabled",e.rootDisabled]),input:de(e.__shadowConfig__,"ms-ComboBox-Input",e.input,n&&e.inputDisabled),errorMessage:de(e.__shadowConfig__,e.errorMessage),callout:de(e.__shadowConfig__,"ms-ComboBox-callout",e.callout),optionsContainerWrapper:de(e.__shadowConfig__,"ms-ComboBox-optionsContainerWrapper",e.optionsContainerWrapper),optionsContainer:de(e.__shadowConfig__,"ms-ComboBox-optionsContainer",e.optionsContainer),header:de(e.__shadowConfig__,"ms-ComboBox-header",e.header),divider:de(e.__shadowConfig__,"ms-ComboBox-divider",e.divider),screenReaderText:de(e.__shadowConfig__,e.screenReaderText)}}),zv=Do(function(e){return{optionText:de(e.__shadowConfig__,"ms-ComboBox-optionText",e.optionText),root:de(e.__shadowConfig__,"ms-ComboBox-option",e.root,{selectors:{":hover":e.rootHovered,":focus":e.rootFocused,":active":e.rootPressed}}),optionTextWrapper:de(e.__shadowConfig__,e.optionTextWrapper)}});function Wv(e,t){for(var o=[],n=0,r=t;n0);return ht.createElement("div",{"data-ktp-target":!0,ref:k._comboBoxWrapper,id:k._id+"wrapper",className:k._classNames.root,"aria-owns":C?k._id+"-list":void 0},ht.createElement(_a,pt({"data-ktp-execute-target":!0,"data-is-interactable":!r,componentRef:k._autofill,id:k._id+"-input",className:k._classNames.input,type:"text",onFocus:k._onFocus,onBlur:k._onBlur,onKeyDown:k._onInputKeyDown,onKeyUp:k._onInputKeyUp,onClick:k._onAutofillClick,onTouchStart:k._onTouchStart,onInputValueChange:k._onInputChange,"aria-expanded":C,"aria-autocomplete":k._getAriaAutoCompleteValue(),role:"combobox",readOnly:r},S,{"aria-describedby":void 0!==c?Dl(s,t):s,"aria-activedescendant":y,"aria-required":l,"aria-disabled":r,"aria-invalid":x,"aria-controls":C?k._id+"-list":void 0,spellCheck:!1,defaultVisibleValue:k._currentVisibleValue,suggestedDisplayValue:v,updateValueInWillReceiveProps:k._onUpdateValueInAutofillWillReceiveProps,shouldSelectFullInputValueInComponentDidUpdate:k._onShouldSelectFullInputValueInAutofillComponentDidUpdate,title:p,preventValueSelection:!k._hasFocus(),placeholder:_,tabIndex:r?-1:m},f)),ht.createElement(xp,pt({className:"ms-ComboBox-CaretDown-button",styles:k._getCaretButtonStyles(),role:d?"presentation":void 0,"aria-hidden":d},d?void 0:S,{"data-is-focusable":!1,tabIndex:-1,onClick:k._onComboBoxClick,onBlur:k._onBlur,iconProps:u,disabled:r,checked:C},g)))},k._onShouldSelectFullInputValueInAutofillComponentDidUpdate=function(){return k._currentVisibleValue===k.props.hoisted.suggestedDisplayValue},k._getVisibleValue=function(){var e=k.props,t=e.text,o=e.allowFreeform,n=e.allowFreeInput,r=e.autoComplete,i=e.hoisted,a=i.suggestedDisplayValue,s=i.selectedIndices,l=i.currentOptions,c=k.state,u=c.currentPendingValueValidIndex,d=c.currentPendingValue,p=c.isOpen,h=Jv(l,u);if((!p||!h)&&(t||""===t)&&null==d)return t;if(k.props.multiSelect){if(k._hasFocus()){var m=-1;return"on"===r&&h&&(m=u),k._getPendingString(d,l,m)}return k._getMultiselectDisplayString(s,l,a)}return m=k._getFirstSelectedIndex(),o||n?("on"===r&&h&&(m=u),k._getPendingString(d,l,m)):h&&"on"===r?(m=u,Qv(d)):!k.state.isOpen&&d?Jv(l,m)?d:Qv(a):Jv(l,m)?tb(l[m]):Qv(a)},k._onInputChange=function(e){k.props.disabled?k._handleInputWhenDisabled(null):(k.props.onInputValueChange&&k.props.onInputValueChange(e),k.props.allowFreeform||k.props.allowFreeInput?k._processInputChangeWithFreeform(e):k._processInputChangeWithoutFreeform(e))},k._onFocus=function(){var e,t;null===(t=null===(e=k._autofill.current)||void 0===e?void 0:e.inputElement)||void 0===t||t.select(),k._hasFocus()||k.setState({focusState:"focusing"})},k._onResolveOptions=function(){if(k.props.onResolveOptions){var t=k.props.onResolveOptions(z([],k.props.hoisted.currentOptions,!0));Array.isArray(t)?k.props.hoisted.setCurrentOptions(t):t&&t.then&&(k._currentPromise=t,t.then(function(e){t===k._currentPromise&&k.props.hoisted.setCurrentOptions(e)}))}},k._onBlur=function(e){var t,o,n=Hc(k.context),r=e.relatedTarget;if(null===e.relatedTarget&&(r=null==n?void 0:n.activeElement),r){var i=null===(t=k.props.hoisted.rootRef.current)||void 0===t?void 0:t.contains(r),a=null===(o=k._comboBoxMenu.current)||void 0===o?void 0:o.contains(r),s=k._comboBoxMenu.current&&Va(k._comboBoxMenu.current,function(e){return e===r},n);if(i||a||s)return s&&k._hasFocus()&&(!k.props.multiSelect||k.props.allowFreeform)&&k._submitPendingValue(e),e.preventDefault(),void e.stopPropagation()}k._hasFocus()&&(k.setState({focusState:"none"}),k.props.multiSelect&&!k.props.allowFreeform||k._submitPendingValue(e))},k._onRenderContainer=function(e,t){var o=e.onRenderList,n=e.calloutProps,r=e.dropdownWidth,i=e.dropdownMaxWidth,a=e.onRenderUpperContent,s=void 0===a?k._onRenderUpperContent:a,l=e.onRenderLowerContent,c=void 0===l?k._onRenderLowerContent:l,u=e.useComboBoxAsMenuWidth,d=e.persistMenu,p=e.shouldRestoreFocus,h=void 0===p||p,m=k.state.isOpen,f=k._id,g=u&&k._comboBoxWrapper.current?k._comboBoxWrapper.current.clientWidth+2:void 0;return ht.createElement(Nu,pt({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHint:Rl.bottomLeftEdge,directionalHintFixed:!1},n,{onLayerMounted:k._onLayerMounted,className:hi(k._classNames.callout,null==n?void 0:n.className),target:k._comboBoxWrapper.current,onDismiss:k._onDismiss,onMouseDown:k._onCalloutMouseDown,onScroll:k._onScroll,setInitialFocus:!1,calloutWidth:u&&k._comboBoxWrapper.current?g&&g:r,calloutMaxWidth:i||g,hidden:d?!m:void 0,shouldRestoreFocus:h,preventDismissOnEvent:function(e){return k._preventDismissOnScrollOrResize(e)}}),s(k.props,k._onRenderUpperContent),ht.createElement("div",{className:k._classNames.optionsContainerWrapper,ref:k._comboBoxMenu},null==o?void 0:o(pt(pt({},e),{id:f}),k._onRenderList)),c(k.props,k._onRenderLowerContent))},k._onLayerMounted=function(){k._onCalloutLayerMounted(),k._async.setTimeout(function(){k._scrollIntoView()},0),k.props.calloutProps&&k.props.calloutProps.onLayerMounted&&k.props.calloutProps.onLayerMounted()},k._onRenderLabel=function(e){var t=e.props,o=t.label,n=t.disabled,r=t.required;return o?ht.createElement(vf,{id:k._id+"-label",disabled:n,required:r,className:k._classNames.label},o,e.multiselectAccessibleText&&ht.createElement("span",{className:k._classNames.screenReaderText},e.multiselectAccessibleText)):null},k._onRenderList=function(e){var t=e.onRenderItem,n=void 0===t?k._onRenderItem:t,o=e.label,r=e.ariaLabel,i=e.multiSelect,a={items:[]},s=[],l=function(){var e=a.id?[ht.createElement("div",{role:"group",key:a.id,"aria-labelledby":a.id},a.items)]:a.items;s=z(z([],s,!0),e,!0),a={items:[]}};e.options.forEach(function(e,t){!function(e,t){switch(e.itemType){case Tv.Header:a.items.length>0&&l();var o=k._id+e.key;a.items.push(n(pt(pt({id:o},e),{index:t}),k._onRenderItem)),a.id=o;break;case Tv.Divider:t>0&&a.items.push(n(pt(pt({},e),{index:t}),k._onRenderItem)),a.items.length>0&&l();break;default:a.items.push(n(pt(pt({},e),{index:t}),k._onRenderItem))}}(e,t)}),a.items.length>0&&l();var c=k._id;return ht.createElement("div",{id:c+"-list",className:k._classNames.optionsContainer,"aria-labelledby":o&&c+"-label","aria-label":r&&!o?r:void 0,"aria-multiselectable":i?"true":void 0,role:"listbox"},s)},k._onRenderItem=function(e){switch(e.itemType){case Tv.Divider:return k._renderSeparator(e);case Tv.Header:return k._renderHeader(e);default:return k._renderOption(e)}},k._onRenderLowerContent=function(){return null},k._onRenderUpperContent=function(){return null},k._renderOption=function(e){var t,o=k.props.onRenderOption,n=void 0===o?k._onRenderOptionContent:o,r=null!==(t=e.id)&&void 0!==t?t:k._id+"-list"+e.index,i=k._isOptionSelected(e.index),a=k._isOptionChecked(e.index),s=k._isOptionIndeterminate(e.index),l=k._getCurrentOptionStyles(e),c=zv(l),u=e.title;return ht.createElement(Kv,{key:e.key,index:e.index,disabled:e.disabled,isSelected:i,isChecked:a,isIndeterminate:s,text:e.text,render:function(){return k.props.multiSelect?ht.createElement(mf,{id:r,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:r+"-label",key:e.key,styles:l,className:"ms-ComboBox-option",onChange:k._onItemClick(e),label:e.text,checked:a,indeterminate:s,title:u,disabled:e.disabled,onRenderLabel:k._renderCheckboxLabel.bind(k,pt(pt({},e),{id:r+"-label"})),inputProps:pt({"aria-selected":a?"true":"false",role:"option"},{"data-index":e.index,"data-is-focusable":!0})}):ht.createElement(fh,{id:r,key:e.key,"data-index":e.index,styles:l,checked:i,className:"ms-ComboBox-option",onClick:k._onItemClick(e),onMouseEnter:k._onOptionMouseEnter.bind(k,e.index),onMouseMove:k._onOptionMouseMove.bind(k,e.index),onMouseLeave:k._onOptionMouseLeave,role:"option","aria-selected":i?"true":"false",ariaLabel:e.ariaLabel,disabled:e.disabled,title:u},ht.createElement("span",{className:c.optionTextWrapper,ref:i?k._selectedElement:void 0},n(e,k._onRenderOptionContent)))},data:e.data})},k._onCalloutMouseDown=function(e){e.preventDefault()},k._onScroll=function(){var e;k._isScrollIdle||void 0===k._scrollIdleTimeoutId?k._isScrollIdle=!1:(k._async.clearTimeout(k._scrollIdleTimeoutId),k._scrollIdleTimeoutId=void 0),(null===(e=k.props.calloutProps)||void 0===e?void 0:e.onScroll)&&k.props.calloutProps.onScroll(),k._scrollIdleTimeoutId=k._async.setTimeout(function(){k._isScrollIdle=!0},250)},k._onRenderOptionContent=function(e){var t=zv(k._getCurrentOptionStyles(e));return ht.createElement("span",{className:t.optionText},e.text)},k._onRenderMultiselectOptionContent=function(e){var t=zv(k._getCurrentOptionStyles(e));return ht.createElement("span",{id:e.id,"aria-hidden":"true",className:t.optionText},e.text)},k._onDismiss=function(){var e=k.props.onMenuDismiss;e&&e(),k.props.persistMenu&&k._onCalloutLayerMounted(),k._setOpenStateAndFocusOnClose(!1,!1),k._resetSelectedIndex()},k._onAfterClearPendingInfo=function(){k._processingClearPendingInfo=!1},k._onInputKeyDown=function(e){var t=k.props,o=t.disabled,n=t.allowFreeform,r=t.allowFreeInput,i=t.allowParentArrowNavigation,a=t.autoComplete,s=t.hoisted.currentOptions,l=k.state,c=l.isOpen,u=l.currentPendingValueValidIndexOnHover;if(k._lastKeyDownWasAltOrMeta=ob(e),o)k._handleInputWhenDisabled(e);else{var d=k._getPendingSelectedIndex(!1);switch(e.which){case sr.enter:k._autofill.current&&k._autofill.current.inputElement&&k._autofill.current.inputElement.select(),k._submitPendingValue(e),k.props.multiSelect&&c?k.setState({currentPendingValueValidIndex:d}):(c||(!n||void 0===k.state.currentPendingValue||null===k.state.currentPendingValue||k.state.currentPendingValue.length<=0)&&k.state.currentPendingValueValidIndex<0)&&k.setState({isOpen:!c});break;case sr.tab:return k.props.multiSelect||k._submitPendingValue(e),void(c&&k._setOpenStateAndFocusOnClose(!c,!1));case sr.escape:if(k._resetSelectedIndex(),!c)return;k.setState({isOpen:!1});break;case sr.up:if(u===Rv.clearAll&&(d=k.props.hoisted.currentOptions.length),e.altKey||e.metaKey){if(c){k._setOpenStateAndFocusOnClose(!c,!0);break}return}e.preventDefault(),k._setPendingInfoFromIndexAndDirection(d,Pv.backward);break;case sr.down:e.altKey||e.metaKey?k._setOpenStateAndFocusOnClose(!0,!0):(u===Rv.clearAll&&(d=-1),e.preventDefault(),k._setPendingInfoFromIndexAndDirection(d,Pv.forward));break;case sr.home:case sr.end:if(n||r)return;d=-1;var p=Pv.forward;e.which===sr.end&&(d=s.length,p=Pv.backward),k._setPendingInfoFromIndexAndDirection(d,p);break;case sr.space:if(!n&&!r&&"off"===a)break;default:if(e.which>=112&&e.which<=123)return;if(e.keyCode===sr.alt||"Meta"===e.key)return;if(i&&(e.keyCode===sr.left||e.keyCode===sr.right))return;if(!n&&!r&&"on"===a){k._onInputChange(e.key);break}return}e.stopPropagation(),e.preventDefault()}},k._onInputKeyUp=function(e){var t=k.props,o=t.disabled,n=t.allowFreeform,r=t.allowFreeInput,i=t.autoComplete,a=k.state.isOpen,s=k._lastKeyDownWasAltOrMeta&&ob(e);k._lastKeyDownWasAltOrMeta=!1;var l=s&&!(Bl()||Ll());o?k._handleInputWhenDisabled(e):e.which!==sr.space?l&&a?k._setOpenStateAndFocusOnClose(!a,!0):("focusing"===k.state.focusState&&k.props.openOnKeyboardFocus&&k.setState({isOpen:!0}),"focused"!==k.state.focusState&&k.setState({focusState:"focused"})):n||r||"off"!==i||k._setOpenStateAndFocusOnClose(!a,!!a)},k._onOptionMouseLeave=function(){k._shouldIgnoreMouseEvent()||k.props.persistMenu&&!k.state.isOpen||k.setState({currentPendingValueValidIndexOnHover:Rv.clearAll})},k._onComboBoxClick=function(){var e=k.props.disabled,t=k.state.isOpen;e||(k._setOpenStateAndFocusOnClose(!t,!1),k.setState({focusState:"focused"}))},k._onAutofillClick=function(){var e=k.props,t=e.disabled;e.allowFreeform&&!t?k.focus(k.state.isOpen||k._processingTouch):k._onComboBoxClick()},k._onTouchStart=function(){k._comboBoxWrapper.current&&!("onpointerdown"in k._comboBoxWrapper)&&k._handleTouchAndPointerEvent()},k._onPointerDown=function(e){"touch"===e.pointerType&&(k._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},ua(k),k._async=new fa(k),k._events=new xl(k),Gi(Gv,e,{defaultSelectedKey:"selectedKey",text:"defaultSelectedKey",selectedKey:"value",dropdownWidth:"useComboBoxAsMenuWidth",ariaLabel:"label"}),k._id=e.id||bs("ComboBox"),k._isScrollIdle=!0,k._processingTouch=!1,k._gotMouseMove=!1,k._processingClearPendingInfo=!1,k.state={isOpen:!1,focusState:"none",currentPendingValueValidIndex:-1,currentPendingValue:void 0,currentPendingValueValidIndexOnHover:Rv.default},k}return m(e,t),Object.defineProperty(e.prototype,"selectedOptions",{get:function(){var e=this.props.hoisted;return Wv(e.currentOptions,e.selectedIndices)},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){this._comboBoxWrapper.current&&!this.props.disabled&&(this._events.on(this._comboBoxWrapper.current,"focus",this._onResolveOptions,!0),"onpointerdown"in this._comboBoxWrapper.current&&this._events.on(this._comboBoxWrapper.current,"pointerdown",this._onPointerDown,!0))},e.prototype.componentDidUpdate=function(e,t){var o,n,r,i=this,a=this.props,s=a.allowFreeform,l=a.allowFreeInput,c=a.text,u=a.onMenuOpen,d=a.onMenuDismissed,p=a.hoisted,h=p.currentOptions,m=p.selectedIndices,f=this.state,g=f.currentPendingValue,v=f.currentPendingValueValidIndex,b=f.isOpen;!b||t.isOpen&&t.currentPendingValueValidIndex===v||this._async.setTimeout(function(){return i._scrollIntoView()},0);var y=Hc(this.context);this._hasFocus()&&(b||t.isOpen&&!b&&this._focusInputAfterClose&&this._autofill.current&&(null==y?void 0:y.activeElement)!==this._autofill.current.inputElement)&&this.focus(void 0,!0),this._focusInputAfterClose&&(t.isOpen&&!b||this._hasFocus()&&(!b&&!this.props.multiSelect&&e.hoisted.selectedIndices&&m&&e.hoisted.selectedIndices[0]!==m[0]||!s&&!l||c!==e.text))&&this._onFocus(),this._notifyPendingValueChanged(t),b&&!t.isOpen&&(this._overrideScrollDismiss=!0,this._async.clearTimeout(this._overrideScrollDimissTimeout),this._overrideScrollDimissTimeout=this._async.setTimeout(function(){i._overrideScrollDismiss=!1},100),null==u||u()),!b&&t.isOpen&&d&&d();var C=v,_=h.map(function(e,t){return pt(pt({},e),{index:t})});!vl(e.hoisted.currentOptions,h)&&g&&(C=this.props.allowFreeform||this.props.allowFreeInput?this._processInputChangeWithFreeform(g):this._updateAutocompleteIndexWithoutFreeform(g));var S=void 0;b&&this._hasFocus()&&-1!==C?S=null!==(o=_[C].id)&&void 0!==o?o:this._id+"-list"+C:b&&m.length&&(S=null!==(r=null===(n=_[m[0]])||void 0===n?void 0:n.id)&&void 0!==r?r:this._id+"-list"+m[0]),S!==this.state.ariaActiveDescendantValue&&this.setState({ariaActiveDescendantValue:S})},e.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},e.prototype.render=function(){var e=this._id+"-error",t=this.props,o=t.className,n=t.disabled,r=t.required,i=t.errorMessage,a=t.onRenderContainer,s=void 0===a?this._onRenderContainer:a,l=t.onRenderLabel,c=void 0===l?this._onRenderLabel:l,u=t.onRenderList,d=void 0===u?this._onRenderList:u,p=t.onRenderItem,h=void 0===p?this._onRenderItem:p,m=t.onRenderOption,f=void 0===m?this._onRenderOptionContent:m,g=t.allowFreeform,v=t.styles,b=t.theme,y=t.persistMenu,C=t.multiSelect,_=t.hoisted,S=_.suggestedDisplayValue,x=_.selectedIndices,k=_.currentOptions,w=this.state.isOpen;this._currentVisibleValue=this._getVisibleValue();var I=C?this._getMultiselectDisplayString(x,k,S):void 0,D=qr(this.props,jr,["onChange","value","aria-describedby","aria-labelledby"]),E=!!(i&&i.length>0);this._classNames=this.props.getClassNames?this.props.getClassNames(b,!!w,!!n,!!r,!!this._hasFocus(),!!g,!!E,o):Hv(Ov(b,v),o,!!w,!!n,!!r,!!this._hasFocus(),!!g,!!E);var T=this._renderComboBoxWrapper(I,e);return ht.createElement("div",pt({},D,{ref:this.props.hoisted.mergedRootRef,className:this._classNames.container}),c({props:this.props,multiselectAccessibleText:I},this._onRenderLabel),T,(y||w)&&s(pt(pt({},this.props),{onRenderList:d,onRenderItem:h,onRenderOption:f,options:k.map(function(e,t){return pt(pt({},e),{index:t})}),onDismiss:this._onDismiss}),this._onRenderContainer),E&&ht.createElement("div",{role:"alert",id:e,className:this._classNames.errorMessage},i))},e.prototype._getPendingString=function(e,t,o){return null!=e?e:Jv(t,o)?tb(t[o]):""},e.prototype._getMultiselectDisplayString=function(e,t,o){for(var n=[],r=0;e&&r0){var s=tb(i[0]);a=this._adjustForCaseSensitivity(s)!==t?s:"",n=i[0].index}}else 1===(i=e.map(function(e,t){return pt(pt({},e),{index:t})}).filter(function(e){return $v(e)&&!e.disabled&&o._adjustForCaseSensitivity(tb(e))===t})).length&&(n=i[0].index);return this._setPendingInfo(r,n,a),n},e.prototype._processInputChangeWithoutFreeform=function(e){var t=this,o=this.state,n=o.currentPendingValue,r=o.currentPendingValueValidIndex;if("on"===this.props.autoComplete&&""!==e){this._autoCompleteTimeout&&(this._async.clearTimeout(this._autoCompleteTimeout),this._autoCompleteTimeout=void 0,e=Qv(n)+e);var i=this._updateAutocompleteIndexWithoutFreeform(e);return this._autoCompleteTimeout=this._async.setTimeout(function(){t._autoCompleteTimeout=void 0},1e3),i}var a=r>=0?r:this._getFirstSelectedIndex();return this._setPendingInfoFromIndex(a),a},e.prototype._updateAutocompleteIndexWithoutFreeform=function(t){var o=this,e=this.props.hoisted.currentOptions,n=t;t=this._adjustForCaseSensitivity(t);var r=e.map(function(e,t){return pt(pt({},e),{index:t})}).filter(function(e){return $v(e)&&!e.disabled&&0===o._adjustForCaseSensitivity(e.text).indexOf(t)});return r.length>0?(this._setPendingInfo(n,r[0].index,tb(r[0])),r[0].index):-1},e.prototype._getFirstSelectedIndex=function(){var e=this.props.hoisted.selectedIndices;return(null==e?void 0:e.length)?e[0]:-1},e.prototype._getNextSelectableIndex=function(e,t){var o=this.props.hoisted.currentOptions,n=e+t;if(!Jv(o,n=Math.max(0,Math.min(o.length-1,n))))return-1;var r=o[n];if(!eb(r)||!0===r.hidden){if(t===Pv.none||!(n>0&&t=0&&nPv.none))return e;n=this._getNextSelectableIndex(n,t)}return n},e.prototype._setSelectedIndex=function(t,e,o){void 0===o&&(o=Pv.none);var n=this.props,r=n.onChange,i=n.onPendingValueChanged,a=n.hoisted,s=a.selectedIndices,l=a.currentOptions,c=s?s.slice():[],u=l.slice();if(Jv(l,t=this._getNextSelectableIndex(t,o))){if(this.props.multiSelect||c.length<1||1===c.length&&c[0]!==t){var d=pt({},l[t]);if(!d||d.disabled)return;if(this.props.multiSelect)if(d.selected=void 0!==d.selected?!d.selected:c.indexOf(t)<0,d.itemType===Tv.SelectAll)c=[],d.selected?l.forEach(function(e,t){!e.disabled&&eb(e)&&(c.push(t),u[t]=pt(pt({},e),{selected:!0}))}):u=l.map(function(e){return pt(pt({},e),{selected:!1})});else{d.selected&&c.indexOf(t)<0?c.push(t):!d.selected&&c.indexOf(t)>=0&&(c=c.filter(function(e){return e!==t})),u[t]=d;var p=u.filter(function(e){return e.itemType===Tv.SelectAll})[0];if(p){var h=this._isSelectAllChecked(c),m=u.indexOf(p);h?(c.push(m),u[m]=pt(pt({},p),{selected:!0})):(c=c.filter(function(e){return e!==m}),u[m]=pt(pt({},p),{selected:!1}))}}else c[0]=t;e.persist(),this.props.selectedKey||null===this.props.selectedKey||(this.props.hoisted.setSelectedIndices(c),this.props.hoisted.setCurrentOptions(u)),this._hasPendingValue&&i&&(i(),this._hasPendingValue=!1),r&&r(e,d,t,tb(d))}this.props.multiSelect&&this.state.isOpen||this._clearPendingInfo()}},e.prototype._submitPendingValue=function(e){var t,o=this.props,n=o.onChange,r=o.allowFreeform,i=o.autoComplete,a=o.multiSelect,s=o.hoisted,l=s.currentOptions,c=this.state,u=c.currentPendingValue,d=c.currentPendingValueValidIndex,p=c.currentPendingValueValidIndexOnHover,h=this.props.hoisted.selectedIndices;if(!this._processingClearPendingInfo){if(r){if(null==u)return void(p>=0&&(this._setSelectedIndex(p,e),this._clearPendingInfo()));if(Jv(l,d)){var m=this._adjustForCaseSensitivity(tb(l[d])),f=this._autofill.current,g=this._adjustForCaseSensitivity(u);if(g===m||i&&0===m.indexOf(g)&&(null==f?void 0:f.isValueSelected)&&u.length+(f.selectionEnd-f.selectionStart)===m.length||void 0!==(null===(t=null==f?void 0:f.inputElement)||void 0===t?void 0:t.value)&&this._adjustForCaseSensitivity(f.inputElement.value)===m){if(this._setSelectedIndex(d,e),a&&this.state.isOpen)return;return void this._clearPendingInfo()}}if(n)n&&n(e,void 0,void 0,u);else{var v={key:u||bs(),text:Qv(u)};a&&(v.selected=!0);var b=l.concat([v]);h&&(a||(h=[]),h.push(b.length-1)),s.setCurrentOptions(b),s.setSelectedIndices(h)}}else d>=0?this._setSelectedIndex(d,e):p>=0&&this._setSelectedIndex(p,e);this._clearPendingInfo()}},e.prototype._onCalloutLayerMounted=function(){this._gotMouseMove=!1},e.prototype._renderSeparator=function(e){var t=e.index,o=e.key;return t&&t>0?ht.createElement("div",{role:"presentation",key:o,className:this._classNames.divider}):null},e.prototype._renderHeader=function(e){var t=this.props.onRenderOption,o=void 0===t?this._onRenderOptionContent:t;return ht.createElement("div",{id:e.id,key:e.key,className:this._classNames.header},o(e,this._onRenderOptionContent))},e.prototype._renderCheckboxLabel=function(e){var t=this.props.onRenderOption;return(void 0===t?this._onRenderMultiselectOptionContent:t)(e,this._onRenderMultiselectOptionContent)},e.prototype._isOptionHighlighted=function(e){var t=this.state.currentPendingValueValidIndexOnHover;return t!==Rv.clearAll&&(t>=0?t===e:this._isOptionSelected(e))},e.prototype._isOptionSelected=function(e){return this._getPendingSelectedIndex(!0)===e},e.prototype._isOptionChecked=function(e){return!(!this.props.multiSelect||void 0===e||!this.props.hoisted.selectedIndices)&&this.props.hoisted.selectedIndices.indexOf(e)>=0},e.prototype._isOptionIndeterminate=function(e){var t=this.props,o=t.multiSelect,n=t.hoisted;if(o&&void 0!==e&&n.selectedIndices&&n.currentOptions){var r=n.currentOptions[e];if(r&&r.itemType===Tv.SelectAll)return n.selectedIndices.length>0&&!this._isSelectAllChecked()}return!1},e.prototype._isSelectAllChecked=function(e){var t=this.props,o=t.multiSelect,n=t.hoisted,r=n.currentOptions.find(function(e){return e.itemType===Tv.SelectAll}),i=e||n.selectedIndices;if(!o||!i||!r)return!1;var a=n.currentOptions.indexOf(r),s=i.filter(function(e){return e!==a}),l=n.currentOptions.filter(function(e){return!e.disabled&&e.itemType!==Tv.SelectAll&&eb(e)});return s.length===l.length},e.prototype._getPendingSelectedIndex=function(e){var t=this.state,o=t.currentPendingValueValidIndex,n=t.currentPendingValue;return o>=0||e&&null!=n?o:this.props.multiSelect?-1:this._getFirstSelectedIndex()},e.prototype._scrollIntoView=function(){var e=this.props,t=e.onScrollToItem,o=e.scrollSelectedToTop,n=this._getPendingSelectedIndex(!0);if(t)t(n>=0?n:this._getFirstSelectedIndex());else{var r=this._selectedElement.current;if(this.props.multiSelect&&this._comboBoxMenu.current&&(r=qv(this._comboBoxMenu.current,function(e){var t;return(null===(t=e.dataset)||void 0===t?void 0:t.index)===n.toString()})),r&&r.offsetParent){var i=!0;if(this._comboBoxMenu.current&&this._comboBoxMenu.current.offsetParent){var a=this._comboBoxMenu.current.offsetParent,s=r.offsetParent,l=s.offsetHeight,c=s.offsetTop,u=a,d=u.offsetHeight,p=u.scrollTop,h=c+l>p+d;c0&&t=0&&e=o.length-1?e=-1:t===Pv.backward&&e<=0&&(e=o.length);var n=this._getNextSelectableIndex(e,t);e===n?t===Pv.forward?e=this._getNextSelectableIndex(-1,t):t===Pv.backward&&(e=this._getNextSelectableIndex(o.length,t)):e=n,Jv(o,e)&&this._setPendingInfoFromIndex(e)},e.prototype._notifyPendingValueChanged=function(e){var t=this.props.onPendingValueChanged;if(t){var o=this.props.hoisted.currentOptions,n=this.state,r=n.currentPendingValue,i=n.currentPendingValueValidIndex,a=n.currentPendingValueValidIndexOnHover,s=void 0,l=void 0;a!==e.currentPendingValueValidIndexOnHover&&Jv(o,a)?s=a:i!==e.currentPendingValueValidIndex&&Jv(o,i)?s=i:r!==e.currentPendingValue&&(l=r),(void 0!==s||void 0!==l||this._hasPendingValue)&&(t(void 0!==s?o[s]:void 0,s,l),this._hasPendingValue=void 0!==s||void 0!==l)}},e.prototype._setOpenStateAndFocusOnClose=function(e,t){this._focusInputAfterClose=t,this.setState({isOpen:e})},e.prototype._onOptionMouseEnter=function(e){this._shouldIgnoreMouseEvent()||this.setState({currentPendingValueValidIndexOnHover:e})},e.prototype._onOptionMouseMove=function(e){this._gotMouseMove=!0,this._isScrollIdle&&this.state.currentPendingValueValidIndexOnHover!==e&&this.setState({currentPendingValueValidIndexOnHover:e})},e.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},e.prototype._handleInputWhenDisabled=function(e){this.props.disabled&&(this.state.isOpen&&this.setState({isOpen:!1}),null!==e&&e.which!==sr.tab&&e.which!==sr.escape&&(e.which<112||e.which>123)&&(e.stopPropagation(),e.preventDefault()))},e.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0},500)},e.prototype._getCaretButtonStyles=function(){var e=this.props.caretDownButtonStyles;return Lv(this.props.theme,e)},e.prototype._getCurrentOptionStyles=function(e){var t,o=this.props.comboBoxOptionStyles,n=e.styles,r=Fv(this.props.theme,o,n,this._isPendingOption(e),e.hidden,this._isOptionHighlighted(e.index));return r.__shadowConfig__=null===(t=this.props.styles)||void 0===t?void 0:t.__shadowConfig__,r},e.prototype._getAriaAutoCompleteValue=function(){return this.props.disabled||"on"!==this.props.autoComplete?"list":this.props.allowFreeform?"inline":"both"},e.prototype._isPendingOption=function(e){return e&&e.index===this.state.currentPendingValueValidIndex},e.prototype._hasFocus=function(){return"none"!==this.state.focusState},e.prototype._adjustForCaseSensitivity=function(e){return this.props.caseSensitive?e:e.toLowerCase()},e.contextType=ga,u([gp("ComboBox",["theme","styles"],!0)],e)}(ht.Component);function Zv(o,e){if(!o||!e)return[];var n={};o.forEach(function(e,t){e.selected&&(n[t]=!0)});for(var t=function(t){var e=Ta(o,function(e){return e.key===t});e>-1&&(n[e]=!0)},r=0,i=e;r=0&&te){if(t&&this._scrollElement){for(var d=ub(this._scrollElement),p=rb(this._scrollElement),h={top:p,bottom:p+d.height},m=e-l,f=0;f=h.top&&g<=h.bottom)return;ah.bottom&&(a=g-d.height)}return void(this._scrollElement&&ib(this._scrollElement,a))}a+=u}},e.prototype.getStartItemIndexInView=function(e){for(var t=0,o=this.state.pages||[];t=n.top&&(this._scrollTop||0)<=n.top+n.height){if(!e){var r=Math.floor(n.height/n.itemCount);return n.startIndex+Math.floor((this._scrollTop-n.top)/r)}for(var i=0,a=n.startIndex;a0?n:void 0,"aria-label":l.length>0?c["aria-label"]:void 0})})},e.prototype._shouldVirtualize=function(e){void 0===e&&(e=this.props);var t=e.onShouldVirtualize;return!t||t(e)},e.prototype._invalidatePageCache=function(){this._pageCache={}},e.prototype._renderPage=function(t){var e,o=this,n=this.props.usePageCache;if(n&&(e=this._pageCache[t.key])&&e.pageElement)return e.pageElement;var r=this._getPageStyle(t),i=this.props.onRenderPage,a=(void 0===i?this._onRenderPage:i)({page:t,className:"ms-List-page",key:t.key,ref:function(e){o._pageRefs[t.key]=e},style:r,role:"presentation"},this._onRenderPage);return n&&0===t.startIndex&&(this._pageCache[t.key]={page:t,pageElement:a}),a},e.prototype._getPageStyle=function(e){var t=this.props.getPageStyle;return pt(pt({},t?t(e):{}),e.items?{}:{height:e.height})},e.prototype._onFocus=function(e){for(var t=e.target;t!==this._surface.current;){var o=t.getAttribute("data-list-index");if(o){this._focusedIndex=Number(o);break}t=Wa(t)}},e.prototype._onScroll=function(){this.state.isScrolling||this.props.ignoreScrollingState||this.setState({isScrolling:!0}),this._resetRequiredWindows(),this._onScrollingDoneDebounced()},e.prototype._resetRequiredWindows=function(){this._requiredWindowsAhead=0,this._requiredWindowsBehind=0},e.prototype._onAsyncScroll=function(){var e,t;this._updateRenderRects(this.props,this.state),this._materializedRect&&(e=this._requiredRect,t=this._materializedRect,e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right)||this.setState(this._updatePages(this.props,this.state))},e.prototype._onAsyncIdle=function(){var e=this.props,t=e.renderedWindowsAhead,o=e.renderedWindowsBehind,n=this._requiredWindowsAhead,r=this._requiredWindowsBehind,i=Math.min(t,n+1),a=Math.min(o,r+1);i===n&&a===r||(this._requiredWindowsAhead=i,this._requiredWindowsBehind=a,this._updateRenderRects(this.props,this.state),this.setState(this._updatePages(this.props,this.state))),(t>i||o>a)&&this._onAsyncIdleDebounced()},e.prototype._onScrollingDone=function(){this.props.ignoreScrollingState||(this.setState({isScrolling:!1}),this._onAsyncIdle())},e.prototype._onAsyncResize=function(){this.forceUpdate()},e.prototype._updatePages=function(e,t){this._requiredRect||this._updateRenderRects(e,t);var o=this._buildPages(e,t),n=t.pages;return this._notifyPageChanges(n,o.pages,this.props),pt(pt(pt({},t),o),{pagesVersion:{}})},e.prototype._notifyPageChanges=function(e,t,o){var n=o.onPageAdded,r=o.onPageRemoved;if(n||r){for(var i={},a=0,s=e;a-1,c=!I||s>=I.top&&C<=I.bottom,u=!D._requiredRect||s>=D._requiredRect.top&&C<=D._requiredRect.bottom;if(!w&&(u||c&&l)||!k||S>=t&&S=D._visibleRect.top&&C<=D._visibleRect.bottom),b.push(p),u&&D._allowedRect&&(i=v,a={top:C,bottom:s,height:o,left:I.left,right:I.right,width:I.width},i.top=a.topi.bottom||-1===i.bottom?a.bottom:i.bottom,i.right=a.right>i.right||-1===i.right?a.right:i.right,i.width=i.right-i.left+1,i.height=i.bottom-i.top+1)}else _||(_=D._createPage(ab+t,void 0,t,0,void 0,n,!0)),_.height=(_.height||0)+(s-C)+1,_.itemCount+=y;if(C+=s-C+1,w&&k)return"break"},D=this,n=g;n.3333333333333333*this._estimatedPageHeight)&&(a=this._surfaceRect=cb(this._surface.current),this._scrollTop=l),!o&&s&&s===this._scrollHeight||this._measureVersion++,this._scrollHeight=s||0;var c=Math.max(0,-a.top),u=ut(this._root.current),d={top:c,left:a.left,bottom:c+u.innerHeight,right:a.right,width:a.width,height:u.innerHeight};this._requiredRect=pb(d,this._requiredWindowsBehind,this._requiredWindowsAhead),this._allowedRect=pb(d,r,n),this._visibleRect=d}},e.defaultProps={startIndex:0,onRenderCell:function(e,t,o){return ht.createElement(ht.Fragment,null,e&&e.name||"")},onRenderCellConditional:void 0,renderedWindowsAhead:2,renderedWindowsBehind:2},e.contextType=ga,e}(ht.Component);function pb(e,t,o){var n=e.top-t*e.height,r=e.height+(t+o)*e.height;return{top:n,bottom:n+r,height:r,left:e.left,right:e.right,width:e.width}}var hb=function(t){function e(e){var n=t.call(this,e)||this;return n._comboBox=ht.createRef(),n._list=ht.createRef(),n._onRenderList=function(e){var t=e.id,o=e.onRenderItem;return ht.createElement(db,{componentRef:n._list,role:"listbox",id:"".concat(t,"-list"),"aria-labelledby":"".concat(t,"-label"),items:e.options,onRenderCell:o?function(e){return o(e)}:function(){return null}})},n._onScrollToItem=function(e){n._list.current&&n._list.current.scrollToIndex(e)},ua(n),n}return m(e,t),Object.defineProperty(e.prototype,"selectedOptions",{get:function(){return this._comboBox.current?this._comboBox.current.selectedOptions:[]},enumerable:!1,configurable:!0}),e.prototype.dismissMenu=function(){if(this._comboBox.current)return this._comboBox.current.dismissMenu()},e.prototype.focus=function(e,t){return!!this._comboBox.current&&(this._comboBox.current.focus(e,t),!0)},e.prototype.render=function(){return ht.createElement(jv,pt({},this.props,{componentRef:this._comboBox,onRenderList:this._onRenderList,onScrollToItem:this._onScrollToItem}))},e}(ht.Component),mb=function(e,t,o){for(var n=0,r=e;n0;return ht.createElement("div",pt({},qr(e,jr),{role:c||"group","aria-orientation":"menubar"===c?!0===l?"vertical":"horizontal":void 0,className:h.root,ref:n}),"start"===d&&m&&ht.createElement(gb,pt({},e,{className:h.overflowButton})),r&&r.map(function(e,t){return ht.createElement("div",{className:h.item,key:e.key,role:"none"},p(e))}),"end"===d&&m&&ht.createElement(gb,pt({},e,{className:h.overflowButton})))});bb.displayName="OverflowSet";var yb={flexShrink:0,display:"inherit"},Cb=ir(bb,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",yb],overflowButton:["ms-OverflowSet-overflowButton",yb]}},void 0,{scope:"OverflowSet"}),_b=function(e){var t=e.className,o=e.theme,n=o.semanticColors;return{root:[o.fonts.medium,"ms-CommandBar",{display:"flex",backgroundColor:n.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"}]}},Sb=Do(function(e){var t={height:"100%"},o={whiteSpace:"nowrap"},n=e||{},r=n.root,i=n.label,a=Fe(n,["root","label"]);return pt(pt({},a),{root:r?[t,r]:t,label:i?[o,i]:o})}),xb=vr(),kb=function(t){function e(e){var d=t.call(this,e)||this;return d._overflowSet=ht.createRef(),d._resizeGroup=ht.createRef(),d._onRenderData=function(e){var t=d.props,o=t.ariaLabel,n=t.primaryGroupAriaLabel,r=t.farItemsGroupAriaLabel,i=e.farItems&&e.farItems.length>0;return ht.createElement(Xs,{className:hi(d._classNames.root),direction:xa.horizontal,role:"menubar","aria-label":o},ht.createElement(Cb,{role:i?"group":"none","aria-label":i?n:void 0,componentRef:d._overflowSet,className:hi(d._classNames.primarySet),items:e.primaryItems,overflowItems:e.overflowItems.length?e.overflowItems:void 0,onRenderItem:d._onRenderItem,onRenderOverflowButton:d._onRenderOverflowButton}),i&&ht.createElement(Cb,{role:"group","aria-label":r,className:hi(d._classNames.secondarySet),items:e.farItems,onRenderItem:d._onRenderItem,onRenderOverflowButton:Il}))},d._onRenderItem=function(e){if(e.onRender)return e.onRender(e,function(){});var t=e.text||e.name,o=pt(pt({allowDisabledFocus:!0,role:"menuitem"},e),{styles:Sb(e.buttonStyles),className:hi("ms-CommandBarItem-link",e.className),text:e.iconOnly?void 0:t,menuProps:e.subMenuProps,onClick:d._onButtonClick(e)});return e.iconOnly&&(void 0!==t||e.tooltipHostProps)?ht.createElement(Gp,pt({role:"none",content:t,setAriaDescribedBy:!1},e.tooltipHostProps),d._commandButton(e,o)):d._commandButton(e,o)},d._commandButton=function(e,t){var o=d.props.buttonAs,n=e.commandBarButtonAs,r=mh;return n&&(r=Hl(n,r)),o&&(r=Hl(o,r)),ht.createElement(r,pt({},t))},d._onRenderOverflowButton=function(e){var t=d.props.overflowButtonProps,o=void 0===t?{}:t,n=z(z([],o.menuProps?o.menuProps.items:[],!0),e,!0),r=pt(pt({role:"menuitem"},o),{styles:pt({menuIcon:{fontSize:"17px"}},o.styles),className:hi("ms-CommandBar-overflowButton",o.className),menuProps:pt(pt({},o.menuProps),{items:n}),menuIconProps:pt({iconName:"More"},o.menuIconProps)}),i=d.props.overflowButtonAs?Hl(d.props.overflowButtonAs,mh):mh;return ht.createElement(i,pt({},r))},d._onReduceData=function(e){var t=d.props,o=t.shiftOnReduce,n=t.onDataReduced,r=e.primaryItems,i=e.overflowItems,a=e.cacheKey,s=e.farItems,l=r[o?0:r.length-1];if(void 0!==l){l.renderedInOverflow=!0,i=z([l],i,!0),r=o?r.slice(1):r.slice(0,-1);var c=pt(pt({},e),{primaryItems:r,overflowItems:i});return a=d._computeCacheKey({primaryItems:r,overflow:i.length>0,farItems:s}),n&&n(l),c.cacheKey=a,c}},d._onGrowData=function(e){var t=d.props,o=t.shiftOnReduce,n=t.onDataGrown,r=e.minimumOverflowItems,i=e.primaryItems,a=e.overflowItems,s=e.cacheKey,l=e.farItems,c=a[0];if(void 0!==c&&a.length>r){c.renderedInOverflow=!1,a=a.slice(1),i=o?z([c],i,!0):z(z([],i,!0),[c],!1);var u=pt(pt({},e),{primaryItems:i,overflowItems:a});return s=d._computeCacheKey({primaryItems:i,overflow:a.length>0,farItems:l}),n&&n(c),u.cacheKey=s,u}},ua(d),d}return m(e,t),e.prototype.render=function(){var e=this.props,t=e.items,o=e.overflowItems,n=e.farItems,r=e.styles,i=e.theme,a=e.dataDidRender,s=e.onReduceData,l=void 0===s?this._onReduceData:s,c=e.onGrowData,u=void 0===c?this._onGrowData:c,d=e.resizeGroupAs,p=void 0===d?Np:d,h={primaryItems:z([],t,!0),overflowItems:z([],o,!0),minimumOverflowItems:z([],o,!0).length,farItems:n,cacheKey:this._computeCacheKey({primaryItems:z([],t,!0),overflow:o&&o.length>0,farItems:n})};this._classNames=xb(r,{theme:i});var m=qr(this.props,jr);return ht.createElement(p,pt({},m,{componentRef:this._resizeGroup,data:h,onReduceData:l,onGrowData:u,onRenderData:this._onRenderData,dataDidRender:a}))},e.prototype.focus=function(){var e=this._overflowSet.current;e&&e.focus()},e.prototype.remeasure=function(){this._resizeGroup.current&&this._resizeGroup.current.remeasure()},e.prototype._onButtonClick=function(t){return function(e){t.inactive||t.onClick&&t.onClick(e,t)}},e.prototype._computeCacheKey=function(e){var t=e.primaryItems,o=e.overflow,n=e.farItems,r=function(e,t){var o=t.cacheKey;return e+(void 0===o?t.key:o)};return[t&&t.reduce(r,""),o?"overflow":"",n&&n.reduce(r,"")].join("")},e.defaultProps={items:[],overflowItems:[]},e}(ht.Component),wb=ir(kb,_b,void 0,{scope:"CommandBar"}),Ib=pt(pt({},xm),{prevMonthAriaLabel:"Go to previous month",nextMonthAriaLabel:"Go to next month",prevYearAriaLabel:"Go to previous year",nextYearAriaLabel:"Go to next year",closeButtonAriaLabel:"Close date picker",isRequiredErrorMessage:"Field is required",invalidInputErrorMessage:"Invalid date format",isResetStatusMessage:'Invalid entry "{0}", date reset to "{1}"'}),Db=vr(),Eb={allowTextInput:!1,formatDate:function(e){return e?e.toDateString():""},parseDateFromString:function(e){e.match(/^\d{4}(-\d{2}){2}$/)&&(e+="T12:00");var t=Date.parse(e);return t?new Date(t):null},firstDayOfWeek:Sh.Sunday,initialPickerDate:new Date,isRequired:!1,isMonthPickerVisible:!0,showMonthPickerAsOverlay:!1,strings:Ib,highlightCurrentMonth:!1,highlightSelectedMonth:!1,borderless:!1,pickerAriaLabel:"Calendar",showWeekNumbers:!1,firstWeekOfYear:kh.FirstDay,showGoToToday:!0,showCloseButton:!1,underlined:!1,allFocusable:!1},Tb=ht.forwardRef(function(e,t){var o,n,r=Cr(Eb,e),i=r.firstDayOfWeek,a=r.strings,s=r.label,l=r.theme,c=r.className,u=r.styles,d=r.initialPickerDate,p=r.isRequired,h=r.disabled,m=r.ariaLabel,f=r.pickerAriaLabel,g=r.placeholder,v=r.allowTextInput,b=r.borderless,y=r.minDate,C=r.maxDate,_=r.showCloseButton,S=r.calendarProps,x=r.calloutProps,k=r.textField,w=r.underlined,I=r.allFocusable,D=r.calendarAs,E=void 0===D?Zm:D,T=r.tabIndex,P=r.disableAutoFocus,R=void 0===P||P,M=Sd("DatePicker",r.id),N=Sd("DatePicker-Callout"),B=ht.useRef(null),A=ht.useRef(null),F=function(){var o=ht.useRef(null),e=ht.useRef(!1);return[o,function(){var e,t;null===(t=null===(e=o.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)},e,function(){e.current=!0}]}(),L=F[0],O=F[1],H=F[2],z=F[3],W=function(e,t){var o=e.allowTextInput,n=e.onAfterMenuDismiss,r=ht.useState(!1),i=r[0],a=r[1],s=ht.useRef(!1),l=Rc();return ht.useEffect(function(){s.current&&!i&&(o&&l.requestAnimationFrame(t),null==n||n()),s.current=!0},[i]),[i,a]}(r,O),V=W[0],K=W[1],G=function(e){var t=e.formatDate,o=e.value,n=e.onSelectDate,r=Km(o,void 0,function(e,t){return null==n?void 0:n(t)}),i=r[0],a=r[1],s=ht.useState(function(){return o&&t?t(o):""}),l=s[0],c=s[1];return ht.useEffect(function(){c(o&&t?t(o):"")},[t,o]),[i,l,function(e){a(e),c(e&&t?t(e):"")},c]}(r),U=G[0],j=G[1],q=G[2],Y=G[3],Z=function(e,n,r,i,t){var o,a=e.isRequired,s=e.allowTextInput,l=e.strings,c=e.parseDateFromString,u=e.onSelectDate,d=e.formatDate,p=e.minDate,h=e.maxDate,m=e.textField,f=ht.useState(),g=f[0],v=f[1],b=ht.useState(),y=b[0],C=b[1],_=ht.useRef(!0),S=null===(o=null==m?void 0:m.validateOnLoad)||void 0===o||o;return ht.useEffect(function(){_.current&&(_.current=!1,!S)||(a&&!n?v(l.isRequiredErrorMessage||" "):n&&Pb(n,p,h)?v(l.isOutOfBoundsErrorMessage||" "):v(void 0))},[p&&Zh(p),h&&Zh(h),n&&Zh(n),a,S]),[t?void 0:g,function(e){if(void 0===e&&(e=null),s)if(i||e){if(n&&!g&&d&&d(null!=e?e:n)===i)return;if(!(e=e||c(i))||isNaN(e.getTime())){r(n);var t=d?d(n):"",o=l.isResetStatusMessage?tm(l.isResetStatusMessage,i,t):l.invalidInputErrorMessage||"";C(o)}else Pb(e,p,h)?v(l.isOutOfBoundsErrorMessage||" "):(r(e),v(void 0),C(void 0))}else v(a?l.isRequiredErrorMessage||" ":void 0),null==u||u(e);else a&&!i?v(l.isRequiredErrorMessage||" "):(v(void 0),C(void 0))},v,t?void 0:y,C]}(r,U,q,j,V),X=Z[0],Q=Z[1],J=Z[2],$=Z[3],ee=Z[4],te=ht.useCallback(function(){V||(z(),K(!0))},[V,z,K]);ht.useImperativeHandle(r.componentRef,function(){return{focus:O,reset:function(){K(!1),q(void 0),J(void 0),ee(void 0)},showDatePickerPopup:te}},[O,J,K,q,ee,te]);var oe=function(e){V&&(K(!1),Q(e),!v&&e&&q(e))},ne=function(e){z(),oe(e)},re=Db(u,{theme:l,className:c,disabled:h,underlined:w,label:!!s,isDatePickerShown:V}),ie=qr(r,jr,["value"]),ae=k&&k.iconProps,se=k&&k.id&&k.id!==M?k.id:M+"-label",le=!v&&!h,ce=null===(n=null!==(o=null==k?void 0:k["data-is-focusable"])&&void 0!==o?o:r["data-is-focusable"])||void 0===n||n,ue=v?{role:"button","aria-expanded":V,"aria-label":null!=m?m:s,"aria-labelledby":k&&k["aria-labelledby"]}:{};return ht.createElement("div",pt({},ie,{className:re.root,ref:t}),ht.createElement("div",{ref:A,"aria-owns":V?N:void 0,className:re.wrapper},ht.createElement(pv,pt({role:"combobox",label:s,"aria-expanded":V,"aria-required":p,ariaLabel:m,"aria-haspopup":"dialog","aria-controls":V?N:void 0,required:p,disabled:h,errorMessage:X,placeholder:g,borderless:b,value:j,componentRef:L,underlined:w,tabIndex:T,readOnly:!v},k,{"data-is-focusable":ce,id:se,className:hi(re.textField,k&&k.className),iconProps:pt(pt(pt({iconName:"Calendar"},ue),ae),{className:hi(re.icon,ae&&ae.className),onClick:function(e){e.stopPropagation(),V||r.disabled?r.allowTextInput&&oe():te()}}),onRenderDescription:function(e,t){return ht.createElement(ht.Fragment,null,e.description||e.onRenderDescription?t(e):null,ht.createElement("div",{"aria-live":"assertive",className:re.statusMessage},$))},onKeyDown:function(e){switch(e.which){case sr.enter:e.preventDefault(),e.stopPropagation(),V?r.allowTextInput&&oe():(Q(),te());break;case sr.escape:!function(e){V&&(e.stopPropagation(),ne())}(e);break;case sr.down:e.altKey&&!V&&te()}},onFocus:function(){R||v||(H.current||te(),H.current=!1)},onBlur:function(e){Q()},onClick:function(e){!r.openOnClick&&r.disableAutoFocus||V||r.disabled?r.allowTextInput&&oe():te()},onChange:function(e,t){var o,n=r.textField;v&&(V&&oe(),Y(t)),null===(o=null==n?void 0:n.onChange)||void 0===o||o.call(n,e,t)},onRenderInput:le?function(e){var t=qr(e,jr),o=de(t.className,re.readOnlyTextField);return ht.createElement("div",pt({},t,{className:o,tabIndex:T||0}),j||ht.createElement("span",{className:re.readOnlyPlaceholder},g))}:void 0}))),V&&ht.createElement(Nu,pt({id:N,role:"dialog",ariaLabel:f,isBeakVisible:!1,gapSpace:0,doNotLayer:!1,target:A.current,directionalHint:Rl.bottomLeftEdge},x,{className:hi(re.callout,x&&x.className),onDismiss:function(e){ne()},onPositioned:function(){var e=!0;r.calloutProps&&void 0!==r.calloutProps.setInitialFocus&&(e=r.calloutProps.setInitialFocus),B.current&&e&&B.current.focus()}}),ht.createElement(tf,{isClickableOutsideFocusTrap:!0,disableFirstFocus:R},ht.createElement(E,pt({},S,{onSelectDate:function(e){r.calendarProps&&r.calendarProps.onSelectDate&&r.calendarProps.onSelectDate(e),ne(e)},onDismiss:function(e){ne()},isMonthPickerVisible:r.isMonthPickerVisible,showMonthPickerAsOverlay:r.showMonthPickerAsOverlay,today:r.today,value:U||d,firstDayOfWeek:i,strings:a,highlightCurrentMonth:r.highlightCurrentMonth,highlightSelectedMonth:r.highlightSelectedMonth,showWeekNumbers:r.showWeekNumbers,firstWeekOfYear:r.firstWeekOfYear,showGoToToday:r.showGoToToday,dateTimeFormatter:r.dateTimeFormatter,minDate:y,maxDate:C,componentRef:B,showCloseButton:_,allFocusable:I})))))});function Pb(e,t,o){return!!t&&Wh(t,e)>0||!!o&&Wh(o,e)<0}Tb.displayName="DatePickerBase";var Rb,Mb,Nb,Bb,Ab,Fb,Lb={root:"ms-DatePicker",callout:"ms-DatePicker-callout",withLabel:"ms-DatePicker-event--with-label",withoutLabel:"ms-DatePicker-event--without-label",disabled:"msDatePickerDisabled "},Ob=ir(Tb,function(e){var t,o=e.className,n=e.theme,r=e.disabled,i=e.underlined,a=e.label,s=e.isDatePickerShown,l=n.palette,c=n.semanticColors,u=n.fonts,d=Ro(Lb,n),p={color:l.neutralSecondary,fontSize:Xe.icon,lineHeight:"18px",pointerEvents:"none",position:"absolute",right:"4px",padding:"5px"};return{root:[d.root,n.fonts.large,s&&"is-open",dn,o],textField:[{position:"relative",selectors:{"& input[readonly]":{cursor:"pointer"},input:{selectors:{"::-ms-clear":{display:"none"}}}}},r&&{selectors:{"& input[readonly]":{cursor:"default"}}}],callout:[d.callout],icon:[p,a?d.withLabel:d.withoutLabel,{paddingTop:"7px"},!r&&[d.disabled,{pointerEvents:"initial",cursor:"pointer"}],r&&{color:c.disabledText,cursor:"default"}],statusMessage:[u.small,{color:c.errorText,marginTop:5}],readOnlyTextField:[{cursor:"pointer",height:32,lineHeight:30,overflow:"hidden",textOverflow:"ellipsis"},i&&{lineHeight:34}],readOnlyPlaceholder:(t={color:c.inputPlaceholderText},t[Mo]={color:"GrayText"},t)}},void 0,{scope:"DatePicker"}),Hb={root:"ms-DetailsRow",compact:"ms-DetailsList--Compact",cell:"ms-DetailsRow-cell",cellAnimation:"ms-DetailsRow-cellAnimation",cellCheck:"ms-DetailsRow-cellCheck",check:"ms-DetailsRow-check",cellMeasurer:"ms-DetailsRow-cellMeasurer",listCellFirstChild:"ms-List-cell:first-child",isContentUnselectable:"is-contentUnselectable",isSelected:"is-selected",isCheckVisible:"is-check-visible",isRowHeader:"is-row-header",fields:"ms-DetailsRow-fields"},zb={cellLeftPadding:12,cellRightPadding:8,cellExtraRightPadding:24},Wb={rowHeight:42,compactRowHeight:32},Vb=pt(pt({},Wb),{rowVerticalPadding:11,compactRowVerticalPadding:6}),Kb=function(e){var t,o,n,r,i,a,s,l,c,u,d,p,h,m,f=e.theme,g=e.isSelected,v=e.canSelect,b=e.droppingClassName,y=e.isCheckVisible,C=e.checkboxCellClassName,_=e.compact,S=e.className,x=e.cellStyleProps,k=void 0===x?zb:x,w=e.enableUpdateAnimations,I=e.disabled,D=f.palette,E=f.fonts,T=D.neutralPrimary,P=D.white,R=D.neutralSecondary,M=D.neutralLighter,N=D.neutralLight,B=D.neutralDark,A=D.neutralQuaternaryAlt,F=f.semanticColors,L=F.focusBorder,O=F.linkHovered,H=Ro(Hb,f),z={defaultHeaderText:T,defaultMetaText:R,defaultBackground:P,defaultHoverHeaderText:B,defaultHoverMetaText:T,defaultHoverBackground:M,selectedHeaderText:B,selectedMetaText:T,selectedBackground:N,selectedHoverHeaderText:B,selectedHoverMetaText:T,selectedHoverBackground:A,focusHeaderText:B,focusMetaText:T,focusBackground:N,focusHoverBackground:A},W=[on(f,{inset:-1,borderColor:L,outlineColor:P,highContrastStyle:{top:2,right:2,bottom:2,left:2},pointerEvents:"none"}),H.isSelected,{color:z.selectedMetaText,background:z.selectedBackground,borderBottom:"1px solid ".concat(P),selectors:(t={"&:before":{position:"absolute",display:"block",top:-1,height:1,bottom:0,left:0,right:0,content:"",borderTop:"1px solid ".concat(P)}},t[".".concat(H.cell," > .").concat(fl.root)]={color:O,selectors:(o={},o[Mo]={color:"HighlightText"},o)},t["&:hover"]={background:z.selectedHoverBackground,color:z.selectedHoverMetaText,selectors:(n={},n[Mo]={background:"Highlight",selectors:(r={},r[".".concat(H.cell)]={color:"HighlightText"},r[".".concat(H.cell," > .").concat(fl.root)]={forcedColorAdjust:"none",color:"HighlightText"},r)},n[".".concat(H.isRowHeader)]={color:z.selectedHoverHeaderText,selectors:(i={},i[Mo]={color:"HighlightText"},i)},n)},t["&:focus"]={background:z.focusBackground,selectors:(a={},a[".".concat(H.cell)]={color:z.focusMetaText,selectors:(s={},s[Mo]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},s)},a[".".concat(H.isRowHeader)]={color:z.focusHeaderText,selectors:(l={},l[Mo]={color:"HighlightText"},l)},a[Mo]={background:"Highlight"},a)},t[Mo]=pt(pt({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{a:{color:"HighlightText"}}}),t["&:focus:hover"]={background:z.focusHoverBackground},t)}],V=[H.isContentUnselectable,{userSelect:"none",cursor:"default"}],K={minHeight:Vb.compactRowHeight,border:0},G={minHeight:Vb.compactRowHeight,paddingTop:Vb.compactRowVerticalPadding,paddingBottom:Vb.compactRowVerticalPadding,paddingLeft:"".concat(k.cellLeftPadding,"px")},U=[on(f,{inset:-1}),H.cell,{display:"inline-block",position:"relative",boxSizing:"border-box",minHeight:Vb.rowHeight,verticalAlign:"top",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:Vb.rowVerticalPadding,paddingBottom:Vb.rowVerticalPadding,paddingLeft:"".concat(k.cellLeftPadding,"px"),selectors:(c={"& > button":{maxWidth:"100%"}},c["[data-is-focusable='true']"]=on(f,{inset:-1,borderColor:R,outlineColor:P}),c)},g&&{selectors:(u={},u[Mo]=pt({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)},_&&G,I&&{opacity:.5}];return{root:[H.root,$e.fadeIn400,b,f.fonts.small,y&&H.isCheckVisible,on(f,{borderColor:L,outlineColor:P}),{borderBottom:"1px solid ".concat(M),background:z.defaultBackground,color:z.defaultMetaText,display:"inline-flex",minWidth:"100%",minHeight:Vb.rowHeight,whiteSpace:"nowrap",padding:0,boxSizing:"border-box",verticalAlign:"top",textAlign:"left",selectors:(d={},d[".".concat(H.listCellFirstChild," &:before")]={display:"none"},d["&:hover"]={background:z.defaultHoverBackground,color:z.defaultHoverMetaText,selectors:(p={},p[".".concat(H.isRowHeader)]={color:z.defaultHoverHeaderText},p[".".concat(H.cell," > .").concat(fl.root)]={color:O},p)},d["&:hover .".concat(H.check)]={opacity:1},d[".".concat(Jo," &:focus .").concat(H.check,", :host(.").concat(Jo,") &:focus .").concat(H.check)]={opacity:1},d[".ms-GroupSpacer"]={flexShrink:0,flexGrow:0},d)},g&&W,!v&&V,_&&K,S],cellUnpadded:{paddingRight:"".concat(k.cellRightPadding,"px")},cellPadded:{paddingRight:"".concat(k.cellExtraRightPadding+k.cellRightPadding,"px"),selectors:(h={},h["&.".concat(H.cellCheck)]={paddingRight:0},h)},cell:U,cellAnimation:w&&Ve.slideLeftIn40,cellMeasurer:[H.cellMeasurer,{overflow:"visible",whiteSpace:"nowrap"}],checkCell:[U,H.cellCheck,C,{padding:0,paddingTop:1,marginTop:-1,flexShrink:0}],fields:[H.fields,{display:"flex",alignItems:"stretch"}],isRowHeader:[H.isRowHeader,{color:z.defaultHeaderText,fontSize:E.medium.fontSize},g&&{color:z.selectedHeaderText,fontWeight:Qe.semibold,selectors:(m={},m[Mo]={color:"HighlightText"},m)}],isMultiline:[U,{whiteSpace:"normal",wordBreak:"break-word",textOverflow:"clip"}],check:[H.check]}},Gb=function(e){var t=e.count,o=e.indentWidth,n=void 0===o?36:o,r=e.role,i=void 0===r?"presentation":r,a=t*n;return t>0?ht.createElement("span",{className:"ms-GroupSpacer",style:{display:"inline-block",width:a},role:i}):null},Ub={tooltipHost:"ms-TooltipHost",root:"ms-DetailsHeader",cell:"ms-DetailsHeader-cell",cellIsCheck:"ms-DetailsHeader-cellIsCheck",collapseButton:"ms-DetailsHeader-collapseButton",isCollapsed:"is-collapsed",isAllSelected:"is-allSelected",isSelectAllHidden:"is-selectAllHidden",isResizingColumn:"is-resizingColumn",cellSizer:"ms-DetailsHeader-cellSizer",isResizing:"is-resizing",dropHintCircleStyle:"ms-DetailsHeader-dropHintCircleStyle",dropHintCaretStyle:"ms-DetailsHeader-dropHintCaretStyle",dropHintLineStyle:"ms-DetailsHeader-dropHintLineStyle",cellTitle:"ms-DetailsHeader-cellTitle",cellName:"ms-DetailsHeader-cellName",filterChevron:"ms-DetailsHeader-filterChevron",gripperBarVertical:"ms-DetailsColumn-gripperBarVertical",checkTooltip:"ms-DetailsHeader-checkTooltip",check:"ms-DetailsHeader-check"},jb=42,qb=function(e){var t=e.theme,o=e.cellStyleProps,n=void 0===o?zb:o,r=t.semanticColors;return[Ro(Ub,t).cell,on(t),{color:r.bodyText,position:"relative",display:"inline-block",boxSizing:"border-box",padding:"0 ".concat(n.cellRightPadding,"px 0 ").concat(n.cellLeftPadding,"px"),lineHeight:"inherit",margin:"0",height:jb,verticalAlign:"top",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"}]},Yb=function(e){var t,o,n,r,i=e.theme,a=e.className,s=e.isAllSelected,l=e.isResizingColumn,c=e.isSizing,u=e.isAllCollapsed,d=e.cellStyleProps,p=void 0===d?zb:d,h=i.semanticColors,m=i.palette,f=i.fonts,g=Ro(Ub,i),v={iconForegroundColor:h.bodySubtext,headerForegroundColor:h.bodyText,headerBackgroundColor:h.bodyBackground,resizerColor:m.neutralTertiaryAlt},b={opacity:1,transition:"opacity 0.3s linear"},y=qb(e);return{root:[g.root,f.small,{display:"inline-block",background:v.headerBackgroundColor,position:"relative",minWidth:"100%",verticalAlign:"top",height:jb,lineHeight:jb,whiteSpace:"nowrap",boxSizing:"content-box",paddingBottom:"1px",paddingTop:"16px",borderBottom:"1px solid ".concat(h.bodyDivider),cursor:"default",userSelect:"none",selectors:(t={},t["&:hover .".concat(g.check)]={opacity:1},t["& .".concat(g.tooltipHost," .").concat(g.checkTooltip)]={display:"block"},t)},s&&g.isAllSelected,l&&g.isResizingColumn,a],check:[g.check,{height:jb},{selectors:(o={},o[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={opacity:1},o)}],cellWrapperPadded:{paddingRight:p.cellExtraRightPadding+p.cellRightPadding},cellIsCheck:[y,g.cellIsCheck,{position:"relative",padding:0,margin:0,display:"inline-flex",alignItems:"center",border:"none"},s&&{opacity:1}],cellIsGroupExpander:[y,{display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:f.small.fontSize,padding:0,border:"none",width:36,color:m.neutralSecondary,selectors:{":hover":{backgroundColor:m.neutralLighter},":active":{backgroundColor:m.neutralLight}}}],cellIsActionable:{selectors:{":hover":{color:h.bodyText,background:h.listHeaderBackgroundHovered},":active":{background:h.listHeaderBackgroundPressed}}},cellIsEmpty:{textOverflow:"clip"},cellSizer:[g.cellSizer,{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},{display:"inline-block",position:"relative",cursor:"ew-resize",bottom:0,top:0,overflow:"hidden",height:"inherit",background:"transparent",zIndex:1,width:16,selectors:(n={":after":{content:'""',position:"absolute",top:0,bottom:0,width:1,background:v.resizerColor,opacity:0,left:"50%"},":focus:after":b,":hover:after":b},n["&.".concat(g.isResizing,":after")]=[b,{boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.4)"}],n)}],cellIsResizing:g.isResizing,cellSizerStart:{margin:"0 -8px"},cellSizerEnd:{margin:0,marginLeft:-16},collapseButton:[g.collapseButton,{transformOrigin:"50% 50%",transition:"transform .1s linear"},u?[g.isCollapsed,{transform:"rotate(0deg)"}]:{transform:cr(i)?"rotate(-90deg)":"rotate(90deg)"}],checkTooltip:g.checkTooltip,sizingOverlay:c&&{position:"absolute",left:0,top:0,right:0,bottom:0,cursor:"ew-resize",background:"rgba(255, 255, 255, 0)",selectors:(r={},r[Mo]=pt({background:"transparent"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},accessibleLabel:ho,dropHintCircleStyle:[g.dropHintCircleStyle,{display:"inline-block",visibility:"hidden",position:"absolute",bottom:0,height:9,width:9,borderRadius:"50%",marginLeft:-5,top:34,overflow:"visible",zIndex:10,border:"1px solid ".concat(m.themePrimary),background:m.white}],dropHintCaretStyle:[g.dropHintCaretStyle,{display:"none",position:"absolute",top:-28,left:-6.5,fontSize:f.medium.fontSize,color:m.themePrimary,overflow:"visible",zIndex:10}],dropHintLineStyle:[g.dropHintLineStyle,{display:"none",position:"absolute",bottom:0,top:0,overflow:"hidden",height:42,width:1,background:m.themePrimary,zIndex:10}],dropHintStyle:{display:"inline-block",position:"absolute"}}},Zb={root:"ms-DetailsRow-check",isDisabled:"ms-DetailsRow-check--isDisabled",isHeader:"ms-DetailsRow-check--isHeader"},Xb=48,Qb=function(e){var t=e.theme,o=e.className,n=e.isHeader,r=e.selected,i=e.anySelected,a=e.canSelect,s=e.compact,l=e.isVisible,c=Ro(Zb,t),u=Wb.rowHeight,d=Wb.compactRowHeight,p=n?jb:s?d:u,h=l||r||i;return{root:[c.root,o],check:[!a&&c.isDisabled,n&&c.isHeader,on(t),t.fonts.small,af.checkHost,{display:"flex",alignItems:"center",justifyContent:"center",cursor:"default",boxSizing:"border-box",verticalAlign:"top",background:"none",backgroundColor:"transparent",border:"none",opacity:h?1:0,height:p,width:Xb,padding:0,margin:0}],isDisabled:[]}};!function(e){e[e.disabled=0]="disabled",e[e.clickable=1]="clickable",e[e.hasDropdown=2]="hasDropdown"}(Rb||(Rb={})),function(e){e[e.unconstrained=0]="unconstrained",e[e.horizontalConstrained=1]="horizontalConstrained"}(Mb||(Mb={})),function(e){e[e.outside=0]="outside",e[e.surface=1]="surface",e[e.header=2]="header"}(Nb||(Nb={})),function(e){e[e.fixedColumns=0]="fixedColumns",e[e.justified=1]="justified"}(Bb||(Bb={})),function(e){e[e.onHover=0]="onHover",e[e.always=1]="always",e[e.hidden=2]="hidden"}(Ab||(Ab={})),function(e){e[e.hidden=0]="hidden",e[e.visible=1]="visible"}(Fb||(Fb={}));var Jb=vr(),$b=function(t){return function(e){return e?e.column.isIconOnly?ht.createElement("span",{className:t.accessibleLabel},e.column.name):ht.createElement(ht.Fragment,null,e.column.name):null}},ey=function(t){function e(e){var i=t.call(this,e)||this;return i._root=ht.createRef(),i._tooltipRef=ht.createRef(),i._onRenderFilterIcon=function(e){return function(e){var t=e.columnProps,o=Fe(e,["columnProps"]),n=(null==t?void 0:t.useFastIcons)?_i:wi;return ht.createElement(n,pt({},o))}},i._onRenderColumnHeaderTooltip=function(e){return ht.createElement("span",{className:e.hostClassName},e.children)},i._onColumnClick=function(e){var t=i.props,o=t.onColumnClick,n=t.column;n.columnActionsMode!==Rb.disabled&&(n.onColumnClick&&n.onColumnClick(e,n),o&&o(e,n))},i._onColumnKeyDown=function(e){var t=i.props,o=t.onColumnKeyDown,n=t.column;n.onColumnKeyDown&&n.onColumnKeyDown(e,n),o&&o(e,n)},i._onColumnBlur=function(){i._tooltipRef.current&&i._tooltipRef.current.dismiss()},i._onColumnFocus=function(){i._tooltipRef.current&&i._tooltipRef.current.show()},i._onDragStart=function(e,t,o,n){var r=i._classNames;t&&(i._updateHeaderDragInfo(t),i._root.current.classList.add(r.borderWhileDragging),i._async.setTimeout(function(){i._root.current&&i._root.current.classList.add(r.noBorderWhileDragging)},20))},i._onDragEnd=function(e,t){var o=i._classNames;t&&i._updateHeaderDragInfo(-1,t),i._root.current.classList.remove(o.borderWhileDragging),i._root.current.classList.remove(o.noBorderWhileDragging)},i._updateHeaderDragInfo=function(e,t){i.props.setDraggedItemIndex&&i.props.setDraggedItemIndex(e),i.props.updateDragInfo&&i.props.updateDragInfo({itemIndex:e},t)},i._onColumnContextMenu=function(e){var t=i.props,o=t.onColumnContextMenu,n=t.column;n.onColumnContextMenu&&(n.onColumnContextMenu(n,e),e.preventDefault()),o&&(o(n,e),e.preventDefault())},i._onRootMouseDown=function(e){i.props.isDraggable&&0===e.button&&e.stopPropagation()},ua(i),i._async=new fa(i),i._events=new xl(i),i}return m(e,t),e.prototype.render=function(){var e=this.props,t=e.column,o=e.parentId,n=e.isDraggable,r=e.styles,i=e.theme,a=e.cellStyleProps,s=void 0===a?zb:a,l=e.useFastIcons,c=void 0===l||l,u=this.props.onRenderColumnHeaderTooltip,d=void 0===u?this._onRenderColumnHeaderTooltip:u;this._classNames=Jb(r,{theme:i,headerClassName:t.headerClassName,iconClassName:t.iconClassName,isActionable:t.columnActionsMode!==Rb.disabled,isEmpty:!t.name,isIconVisible:t.isSorted||t.isGrouped||t.isFiltered,isPadded:t.isPadded,isIconOnly:t.isIconOnly,cellStyleProps:s,transitionDurationDrag:200,transitionDurationDrop:1500});var p=this._classNames,h=c?_i:wi,m=t.onRenderFilterIcon?Nl(t.onRenderFilterIcon,this._onRenderFilterIcon(this._classNames)):this._onRenderFilterIcon(this._classNames),f=t.onRenderHeader?Nl(t.onRenderHeader,$b(this._classNames)):$b(this._classNames),g=t.columnActionsMode!==Rb.disabled&&(void 0!==t.onColumnClick||void 0!==this.props.onColumnClick),v=this.props.onRenderColumnHeaderTooltip?!t.ariaLabel:this._hasAccessibleDescription(),b={"aria-label":t.ariaLabel?t.ariaLabel:t.isIconOnly?t.name:void 0,"aria-labelledby":t.ariaLabel||t.isIconOnly?void 0:"".concat(o,"-").concat(t.key,"-name"),"aria-describedby":v?"".concat(o,"-").concat(t.key,"-tooltip"):void 0};return ht.createElement(ht.Fragment,null,ht.createElement("div",pt({key:t.key,ref:this._root,role:"columnheader"},!g&&b,{"aria-sort":t.isSorted?t.isSortedDescending?"descending":"ascending":"none","data-is-focusable":g||t.columnActionsMode===Rb.disabled?void 0:"true",className:p.root,"data-is-draggable":n,draggable:n,style:{width:(t.calculatedWidth||0)+s.cellLeftPadding+s.cellRightPadding+(t.isPadded?s.cellExtraRightPadding:0)},"data-automationid":"ColumnsHeaderColumn","data-item-key":t.key,onBlur:this._onColumnBlur,onFocus:this._onColumnFocus}),n&&ht.createElement(h,{iconName:"GripperBarVertical",className:p.gripperBarVerticalStyle}),d({hostClassName:p.cellTooltip,id:"".concat(o,"-").concat(t.key,"-tooltip"),setAriaDescribedBy:!1,column:t,componentRef:this._tooltipRef,content:t.columnActionsMode!==Rb.disabled?t.ariaLabel:"",children:ht.createElement("span",pt({id:"".concat(o,"-").concat(t.key),className:p.cellTitle,"data-is-focusable":g&&t.columnActionsMode!==Rb.disabled?"true":void 0,role:g?"button":void 0},g&&b,{onContextMenu:this._onColumnContextMenu,onClick:this._onColumnClick,onKeyDown:this._onColumnKeyDown,"aria-haspopup":t.columnActionsMode===Rb.hasDropdown?"menu":void 0,"aria-expanded":t.columnActionsMode===Rb.hasDropdown?!!t.isMenuOpen:void 0}),ht.createElement("span",{id:"".concat(o,"-").concat(t.key,"-name"),className:p.cellName},(t.iconName||t.iconClassName)&&ht.createElement(h,{className:p.iconClassName,iconName:t.iconName}),f(this.props)),t.isFiltered&&ht.createElement(h,{className:p.nearIcon,iconName:"Filter"}),(t.isSorted||t.showSortIconWhenUnsorted)&&ht.createElement(h,{className:p.sortIcon,iconName:t.isSorted?t.isSortedDescending?"SortDown":"SortUp":"Sort"}),t.isGrouped&&ht.createElement(h,{className:p.nearIcon,iconName:"GroupedDescending"}),t.columnActionsMode===Rb.hasDropdown&&!t.isIconOnly&&m({"aria-hidden":!0,columnProps:this.props,className:p.filterChevron,iconName:"ChevronDown"}))},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:this._renderAccessibleDescription())},e.prototype.componentDidMount=function(){var e=this;this.props.dragDropHelper&&this.props.isDraggable&&this._addDragDropHandling();var t=this._classNames;this.props.isDropped&&(this._root.current&&(this._root.current.classList.add(t.borderAfterDropping),this._async.setTimeout(function(){e._root.current&&e._root.current.classList.add(t.noBorderAfterDropping)},20)),this._async.setTimeout(function(){e._root.current&&(e._root.current.classList.remove(t.borderAfterDropping),e._root.current.classList.remove(t.noBorderAfterDropping))},1520))},e.prototype.componentWillUnmount=function(){this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._async.dispose(),this._events.dispose()},e.prototype.componentDidUpdate=function(){!this._dragDropSubscription&&this.props.dragDropHelper&&this.props.isDraggable&&this._addDragDropHandling(),this._dragDropSubscription&&!this.props.isDraggable&&(this._dragDropSubscription.dispose(),this._events.off(this._root.current,"mousedown"),delete this._dragDropSubscription)},e.prototype._getColumnDragDropOptions=function(){var e=this,t=this.props.columnIndex;return{selectionIndex:t,context:{data:t,index:t},canDrag:function(){return e.props.isDraggable},canDrop:function(){return!1},onDragStart:this._onDragStart,updateDropState:function(){},onDrop:function(){},onDragEnd:this._onDragEnd}},e.prototype._hasAccessibleDescription=function(){var e=this.props.column;return!!(e.filterAriaLabel||e.sortAscendingAriaLabel||e.sortDescendingAriaLabel||e.groupAriaLabel||e.sortableAriaLabel)},e.prototype._renderAccessibleDescription=function(){var e=this.props,t=e.column,o=e.parentId,n=this._classNames;return this._hasAccessibleDescription()&&!this.props.onRenderColumnHeaderTooltip?ht.createElement("label",{key:"".concat(t.key,"_label"),id:"".concat(o,"-").concat(t.key,"-tooltip"),className:n.accessibleLabel,hidden:!0},t.isFiltered&&t.filterAriaLabel||null,(t.isSorted||t.showSortIconWhenUnsorted)&&(t.isSorted?t.isSortedDescending?t.sortDescendingAriaLabel:t.sortAscendingAriaLabel:t.sortableAriaLabel)||null,t.isGrouped&&t.groupAriaLabel||null):null},e.prototype._addDragDropHandling=function(){this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getColumnDragDropOptions()),this._events.on(this._root.current,"mousedown",this._onRootMouseDown)},e}(ht.Component),ty={isActionable:"is-actionable",cellIsCheck:"ms-DetailsHeader-cellIsCheck",collapseButton:"ms-DetailsHeader-collapseButton",isCollapsed:"is-collapsed",isAllSelected:"is-allSelected",isSelectAllHidden:"is-selectAllHidden",isResizingColumn:"is-resizingColumn",isEmpty:"is-empty",isIconVisible:"is-icon-visible",cellSizer:"ms-DetailsHeader-cellSizer",isResizing:"is-resizing",dropHintCircleStyle:"ms-DetailsHeader-dropHintCircleStyle",dropHintLineStyle:"ms-DetailsHeader-dropHintLineStyle",cellTitle:"ms-DetailsHeader-cellTitle",cellName:"ms-DetailsHeader-cellName",filterChevron:"ms-DetailsHeader-filterChevron",gripperBarVerticalStyle:"ms-DetailsColumn-gripperBar",nearIcon:"ms-DetailsColumn-nearIcon"},oy=function(e){var t,o=e.theme,n=e.headerClassName,r=e.iconClassName,i=e.isActionable,a=e.isEmpty,s=e.isIconVisible,l=e.isPadded,c=e.isIconOnly,u=e.cellStyleProps,d=void 0===u?zb:u,p=e.transitionDurationDrag,h=e.transitionDurationDrop,m=o.semanticColors,f=o.palette,g=o.fonts,v=Ro(ty,o),b={iconForegroundColor:m.bodySubtext,headerForegroundColor:m.bodyText,headerBackgroundColor:m.bodyBackground,dropdownChevronForegroundColor:f.neutralSecondary,resizerColor:f.neutralTertiaryAlt},y={color:b.iconForegroundColor,opacity:1,paddingLeft:8},C={outline:"1px solid ".concat(f.themePrimary)},_={outlineColor:"transparent"};return{root:[qb(e),g.small,i&&[v.isActionable,{selectors:{":hover":{color:m.bodyText,background:m.listHeaderBackgroundHovered},":active":{background:m.listHeaderBackgroundPressed}}}],a&&[v.isEmpty,{textOverflow:"clip"}],s&&v.isIconVisible,l&&{paddingRight:d.cellExtraRightPadding+d.cellRightPadding},{selectors:{':hover i[data-icon-name="GripperBarVertical"]':{display:"block"}}},n],gripperBarVerticalStyle:{display:"none",position:"absolute",textAlign:"left",color:f.neutralTertiary,left:1},nearIcon:[v.nearIcon,y],sortIcon:[y,{paddingLeft:4,position:"relative",top:1}],iconClassName:[{color:b.iconForegroundColor,opacity:1},r],filterChevron:[v.filterChevron,{color:b.dropdownChevronForegroundColor,paddingLeft:6,verticalAlign:"middle",fontSize:g.small.fontSize}],cellTitle:[v.cellTitle,on(o),pt({display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"stretch",boxSizing:"border-box",overflow:"hidden",padding:"0 ".concat(d.cellRightPadding,"px 0 ").concat(d.cellLeftPadding,"px")},c?{alignContent:"flex-end",maxHeight:"100%",flexWrap:"wrap-reverse"}:{})],cellName:[v.cellName,{flex:"0 1 auto",overflow:"hidden",textOverflow:"ellipsis",fontWeight:Qe.semibold,fontSize:g.medium.fontSize},c&&{selectors:(t={},t[".".concat(v.nearIcon)]={paddingLeft:0},t)}],cellTooltip:{display:"block",position:"absolute",top:0,left:0,bottom:0,right:0},accessibleLabel:ho,borderWhileDragging:C,noBorderWhileDragging:[_,{transition:"outline ".concat(p,"ms ease")}],borderAfterDropping:C,noBorderAfterDropping:[_,{transition:"outline ".concat(h,"ms ease")}]}},ny=ir(ey,oy,void 0,{scope:"DetailsColumn"}),ry={label:wr,audio:Ir,video:Dr,ol:Er,li:Tr,a:Pr,button:Rr,input:Mr,textarea:Nr,select:Br,option:Ar,table:Fr,tr:Lr,th:Or,td:Hr,colGroup:zr,col:Wr,form:Vr,iframe:Kr,img:Gr};function iy(e,t,o){return qr(t,e&&ry[e]||kr,o)}var ay,sy,ly="change";!function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.multiple=2]="multiple"}(ay||(ay={})),function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(sy||(sy={}));var cy=vr(),uy=ht.memo(function(e){return ht.createElement(sf,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})});function dy(e){return ht.createElement(sf,{checked:e.checked})}function py(e){return ht.createElement(uy,{theme:e.theme,checked:e.checked})}var hy,my=ir(function(e){var t=e.isVisible,o=void 0!==t&&t,n=e.canSelect,r=void 0!==n&&n,i=e.anySelected,a=void 0!==i&&i,s=e.selected,l=void 0!==s&&s,c=e.selectionMode,u=e.isHeader,d=void 0!==u&&u,p=e.className,h=(e.checkClassName,e.styles),m=e.theme,f=e.compact,g=e.onRenderDetailsCheckbox,v=e.useFastIcons,b=void 0===v||v,y=Fe(e,["isVisible","canSelect","anySelected","selected","selectionMode","isHeader","className","checkClassName","styles","theme","compact","onRenderDetailsCheckbox","useFastIcons"]),C=b?py:dy,_=g?Nl(g,C):C,S=cy(h,{theme:m,canSelect:r,selected:l,anySelected:a,className:p,isHeader:d,isVisible:o,compact:f}),x={checked:l,theme:m},k=iy("div",y,["aria-label","aria-labelledby","aria-describedby"]),w=c===ay.single?"radio":"checkbox";return r?ht.createElement("div",pt({},y,{role:w,className:hi(S.root,S.check),"aria-checked":l,"data-selection-toggle":!0,"data-automationid":"DetailsRowCheck",tabIndex:-1}),_(x)):ht.createElement("div",pt({},k,{className:hi(S.root,S.check)}))},Qb,void 0,{scope:"DetailsRowCheck"},!0),fy=function(){function e(e){this._selection=e.selection,this._dragEnterCounts={},this._activeTargets={},this._lastId=0,this._initialized=!1}return e.prototype.dispose=function(){this._events&&this._events.dispose()},e.prototype.subscribe=function(n,r,o){var i=this;if(!this._initialized){this._events=new xl(this);var e=st();e&&(this._events.on(e.body,"mouseup",this._onMouseUp.bind(this),!0),this._events.on(e,"mouseup",this._onDocumentMouseUp.bind(this),!0)),this._initialized=!0}var a,s,l,c,u,d,p,h,m,f,t=o.key,g=void 0===t?"".concat(++this._lastId):t,v=[];if(o&&n){var b=o.eventMap,y=o.context,C=o.updateDropState,_={root:n,options:o,key:g};if(h=this._isDraggable(_),m=this._isDroppable(_),(h||m)&&b)for(var S=0,x=b;S0&&(xl.raise(this._dragData.dropTarget.root,"dragleave"),xl.raise(r,"dragenter"),this._dragData.dropTarget=e)}},e.prototype._onMouseLeave=function(e,t){this._isDragging&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key===e.key&&(xl.raise(e.root,"dragleave"),this._dragData.dropTarget=void 0)},e.prototype._onMouseDown=function(e,t){if(0===t.button)if(this._isDraggable(e)){this._dragData={clientX:t.clientX,clientY:t.clientY,eventTarget:t.target,dragTarget:e};for(var o=0,n=Object.keys(this._activeTargets);o=0&&"drop"!==t.type&&!e&&f._resetDropHints()},f._onDragOver=function(e,t){f._draggedColumnIndex>=0&&(t.stopPropagation(),f._computeDropHintToBeShown(t.clientX))},f._onDrop=function(e,t){var o=f._getColumnReorderProps();if(f._draggedColumnIndex>=0&&t){var n=f._draggedColumnIndex>f._currentDropHintIndex?f._currentDropHintIndex:f._currentDropHintIndex-1,r=f._isValidCurrentDropHintIndex();if(t.stopPropagation(),r)if(f._onDropIndexInfo.sourceIndex=f._draggedColumnIndex,f._onDropIndexInfo.targetIndex=n,o.onColumnDrop){var i={draggedIndex:f._draggedColumnIndex,targetIndex:n};o.onColumnDrop(i)}else o.handleColumnReorder&&o.handleColumnReorder(f._draggedColumnIndex,n)}f._resetDropHints(),f._dropHintDetails={},f._draggedColumnIndex=-1},f._computeColumnIndexOffset=function(e){var t=1;return e&&(t+=1),f.props.groupNestingDepth&&f.props.groupNestingDepth>0&&(t+=1),t},f._updateDragInfo=function(e,t){var o=f._getColumnReorderProps(),n=e.itemIndex;if(n>=0)f._draggedColumnIndex=n-f._computeColumnIndexOffset(!f._isCheckboxColumnHidden()),f._getDropHintPositions(),o.onColumnDragStart&&o.onColumnDragStart(!0);else if(t&&f._draggedColumnIndex>=0&&(f._resetDropHints(),f._draggedColumnIndex=-1,f._dropHintDetails={},o.onColumnDragEnd)){var r=f._isEventOnHeader(t);o.onColumnDragEnd({dropLocation:r},t)}},f._getDropHintPositions=function(){for(var e,t=f.props.columns,o=void 0===t?vy:t,n=f._getColumnReorderProps(),r=0,i=0,a=n.frozenColumnCountFromStart||0,s=n.frozenColumnCountFromEnd||0,l=a;l=0&&(f._resetDropHints(),f._updateDropHintElement(f._dropHintDetails[d].dropHintElementRef,"inline-block"),f._currentDropHintIndex=d)}},f._renderColumnSizer=function(e){var t,o=e.columnIndex,n=f.props.columns,r=void 0===n?vy:n,i=r[o],a=f.state.columnResizeDetails,s=f._classNames;return i.isResizable?ht.createElement("div",{key:"".concat(i.key,"_sizer"),"aria-hidden":!0,role:"button","data-is-focusable":!1,onClick:Sy,"data-sizer-index":o,onBlur:f._onSizerBlur,className:hi(s.cellSizer,o=0&&this._onDropIndexInfo.targetIndex>=0){var t=e.columns,o=void 0===t?vy:t,n=this.props.columns,r=void 0===n?vy:n;o[this._onDropIndexInfo.sourceIndex].key===r[this._onDropIndexInfo.targetIndex].key&&(this._onDropIndexInfo={sourceIndex:-1,targetIndex:-1})}this.props.isAllCollapsed!==e.isAllCollapsed&&this.setState({isAllCollapsed:this.props.isAllCollapsed})},e.prototype.componentWillUnmount=function(){this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this._dragDropHelper.dispose(),this._events.dispose()},e.prototype.render=function(){var n=this,e=this.props,t=e.columns,r=void 0===t?vy:t,o=e.ariaLabel,i=e.ariaLabelForToggleAllGroupsButton,a=e.ariaLabelForSelectAllCheckbox,s=e.selectAllVisibility,l=e.ariaLabelForSelectionColumn,c=e.indentWidth,u=e.onColumnClick,d=e.onColumnContextMenu,p=e.onRenderColumnHeaderTooltip,h=void 0===p?this._onRenderColumnHeaderTooltip:p,m=e.styles,f=e.selectionMode,g=e.theme,v=e.onRenderDetailsCheckbox,b=e.groupNestingDepth,y=e.useFastIcons,C=e.checkboxVisibility,_=e.className,S=this.state,x=S.isAllSelected,k=S.columnResizeDetails,w=S.isSizing,I=S.isAllCollapsed,D=s!==hy.none,E=s===hy.hidden,T=C===Ab.always,P=this._getColumnReorderProps(),R=P&&P.frozenColumnCountFromStart?P.frozenColumnCountFromStart:0,M=P&&P.frozenColumnCountFromEnd?P.frozenColumnCountFromEnd:0;this._classNames=gy(m,{theme:g,isAllSelected:x,isSelectAllHidden:s===hy.hidden,isResizingColumn:!!k&&w,isSizing:w,isAllCollapsed:I,isCheckboxHidden:E,className:_});var N=this._classNames,B=y?_i:wi,A=b>0,F=A&&this.props.collapseAllVisibility===Fb.visible,L=this._computeColumnIndexOffset(D),O=cr(g);return ht.createElement(Xs,{role:"row","aria-label":o,className:N.root,componentRef:this._rootComponent,elementRef:this._rootElement,onMouseMove:this._onRootMouseMove,"data-automationid":"DetailsHeader",direction:xa.horizontal},D?[ht.createElement("div",{key:"__checkbox",className:N.cellIsCheck,"aria-labelledby":"".concat(this._id,"-checkTooltip"),onClick:E?void 0:this._onSelectAllClicked,role:"columnheader"},h({hostClassName:N.checkTooltip,id:"".concat(this._id,"-checkTooltip"),setAriaDescribedBy:!1,content:a,children:ht.createElement(my,{id:"".concat(this._id,"-check"),"aria-label":f===ay.multiple?a:l,"data-is-focusable":!E||void 0,isHeader:!0,selected:x,anySelected:!1,canSelect:!E,className:N.check,onRenderDetailsCheckbox:v,useFastIcons:y,isVisible:T})},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:a&&!E?ht.createElement("label",{key:"__checkboxLabel",id:"".concat(this._id,"-checkTooltip"),className:N.accessibleLabel,"aria-hidden":!0},a):l&&E?ht.createElement("label",{key:"__checkboxLabel",id:"".concat(this._id,"-checkTooltip"),className:N.accessibleLabel,"aria-hidden":!0},l):null]:null,F?ht.createElement("div",{className:N.cellIsGroupExpander,onClick:this._onToggleCollapseAll,"data-is-focusable":!0,"aria-label":i,"aria-expanded":!I,role:"columnheader"},ht.createElement(B,{className:N.collapseButton,iconName:O?"ChevronLeftMed":"ChevronRightMed"}),ht.createElement("span",{className:N.accessibleLabel},i)):A?ht.createElement("div",{className:N.cellIsGroupExpander,"data-is-focusable":!1,role:"columnheader"}):null,ht.createElement(Gb,{indentWidth:c,role:"gridcell",count:b-1}),r.map(function(e,t){var o=!!P&&t>=R&&t=0},e.prototype._isCheckboxColumnHidden=function(){var e=this.props,t=e.selectionMode,o=e.checkboxVisibility;return t===ay.none||o===Ab.hidden},e.prototype._resetDropHints=function(){this._currentDropHintIndex>=0&&(this._updateDropHintElement(this._dropHintDetails[this._currentDropHintIndex].dropHintElementRef,"none"),this._currentDropHintIndex=-1)},e.prototype._updateDropHintElement=function(e,t){e.childNodes[1].style.display=t,e.childNodes[0].style.display=t},e.prototype._isEventOnHeader=function(e){if(this._rootElement.current){var t=this._rootElement.current.getBoundingClientRect();if(e.clientX>t.left&&e.clientXt.top&&e.clientY=n:t>=o&&t<=n}function Cy(e,t,o){return e?t>=o:t<=o}function _y(e,t,o){return e?t<=o:t>=o}function Sy(e){e.stopPropagation()}var xy=ir(by,Yb,void 0,{scope:"DetailsHeader"}),ky=function(e){var t=e.columns,c=e.rowClassNames,o=e.cellStyleProps,u=void 0===o?zb:o,l=e.item,d=e.itemIndex,p=e.isSelected,h=e.onRenderItemColumn,m=e.getCellValueKey,f=e.onRenderField,g=e.cellsByColumn,v=e.enableUpdateAnimations,b=e.rowHeaderId,n=ht.useRef(),y=n.current||(n.current={}),C=ht.useCallback(function(e){var t=e.column,o=e.cellValueKey,n=e.className,r=e.onRender,i=e.item,a=e.itemIndex,s=void 0===t.calculatedWidth?"auto":t.calculatedWidth+u.cellLeftPadding+u.cellRightPadding+(t.isPadded?u.cellExtraRightPadding:0),l="".concat(t.key).concat(void 0!==o?"-".concat(o):"");return ht.createElement("div",{key:l,id:t.isRowHeader?b:void 0,role:t.isRowHeader?"rowheader":"gridcell",className:hi(t.className,t.isMultiline&&c.isMultiline,t.isRowHeader&&c.isRowHeader,c.cell,t.isPadded?c.cellPadded:c.cellUnpadded,n),style:{width:s},"data-automationid":"DetailsRowCell","data-automation-key":t.key},r(i,a,t))},[c,u,b]);return ht.createElement("div",{className:c.fields,"data-automationid":"DetailsRowFields",role:"presentation"},t.map(function(e){var t=e.getValueKey,o=void 0===t?m:t,n=g&&e.key in g&&function(){return g[e.key]}||e.onRender||h||wy,r=C;e.onRenderField&&(r=Nl(e.onRenderField,r)),f&&(r=Nl(f,r));var i=y[e.key],a=v&&o?o(l,d,e):void 0,s=!1;return void 0!==a&&void 0!==i&&a!==i&&(s=!0),y[e.key]=a,r({item:l,itemIndex:d,isSelected:p,column:e,cellValueKey:a,className:s?c.cellAnimation:void 0,onRender:n})}))};function wy(e,t,o){return e&&o?function(e,t){var o=e&&t&&t.fieldName?e[t.fieldName]:"";return null==o&&(o=""),"boolean"==typeof o?o.toString():o}(e,o):null}var Iy=vr(),Dy=[],Ey=function(t){function e(e){var a=t.call(this,e)||this;return a._root=ht.createRef(),a._cellMeasurer=ht.createRef(),a._focusZone=ht.createRef(),a._onSelectionChanged=function(){var e=Ty(a.props);vl(e,a.state.selectionState)||a.setState({selectionState:e})},a._updateDroppingState=function(e,t){var o=a.state.isDropping,n=a.props,r=n.dragDropEvents,i=n.item;e?r.onDragEnter&&(a._droppingClassNames=r.onDragEnter(i,t)):r.onDragLeave&&r.onDragLeave(i,t),o!==e&&a.setState({isDropping:e})},ua(a),a._events=new xl(a),a.state={selectionState:Ty(e),columnMeasureInfo:void 0,isDropping:!1},a._droppingClassNames="",a}return m(e,t),e.getDerivedStateFromProps=function(e,t){return pt(pt({},t),{selectionState:Ty(e)})},e.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,o=e.selection,n=e.item,r=e.onDidMount;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getRowDragDropOptions())),o&&this._events.on(o,ly,this._onSelectionChanged),r&&n&&(this._onDidMountCalled=!0,r(this))},e.prototype.componentDidUpdate=function(e){var t=this.state,o=this.props,n=o.item,r=o.onDidMount,i=t.columnMeasureInfo;if(this.props.itemIndex===e.itemIndex&&this.props.item===e.item&&this.props.dragDropHelper===e.dragDropHelper||(this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this.props.dragDropHelper&&this._root.current&&(this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getRowDragDropOptions()))),i&&i.index>=0&&this._cellMeasurer.current){var a=this._cellMeasurer.current.getBoundingClientRect().width;i.onMeasureDone(a),this.setState({columnMeasureInfo:void 0})}n&&r&&!this._onDidMountCalled&&(this._onDidMountCalled=!0,r(this))},e.prototype.componentWillUnmount=function(){var e=this.props,t=e.item,o=e.onWillUnmount;o&&t&&o(this),this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._events.dispose()},e.prototype.shouldComponentUpdate=function(e,t){if(this.props.useReducedRowRenderer){var o=Ty(e);return this.state.selectionState.isSelected!==o.isSelected||!vl(this.props,e)}return!0},e.prototype.render=function(){var e,t=this.props,o=t.className,n=t.columns,r=void 0===n?Dy:n,i=t.dragDropEvents,a=t.item,s=t.itemIndex,l=t.id,c=t.flatIndexOffset,u=void 0===c?2:c,d=t.onRenderCheck,p=void 0===d?this._onRenderCheck:d,h=t.onRenderDetailsCheckbox,m=t.onRenderItemColumn,f=t.onRenderField,g=t.getCellValueKey,v=t.selectionMode,b=t.checkboxVisibility,y=t.getRowAriaLabel,C=t.getRowAriaDescription,_=t.getRowAriaDescribedBy,S=t.isGridRow,x=t.checkButtonAriaLabel,k=t.checkboxCellClassName,w=t.rowFieldsAs,I=t.selection,D=t.indentWidth,E=t.enableUpdateAnimations,T=t.compact,P=t.theme,R=t.styles,M=t.cellsByColumn,N=t.groupNestingDepth,B=t.useFastIcons,A=void 0===B||B,F=t.cellStyleProps,L=t.group,O=t.focusZoneProps,H=t.disabled,z=void 0!==H&&H,W=this.state,V=W.columnMeasureInfo,K=W.isDropping,G=this.state.selectionState,U=G.isSelected,j=void 0!==U&&U,q=G.isSelectionModal,Y=void 0!==q&&q,Z=i?!(!i.canDrag||!i.canDrag(a)):void 0,X=K?this._droppingClassNames||"is-dropping":"",Q=y?y(a):void 0,J=C?C(a):void 0,$=_?_(a):void 0,ee=!!I&&I.canSelectItem(a,s)&&!z,te=v===ay.multiple,oe=v!==ay.none&&b!==Ab.hidden,ne=v===ay.none?void 0:j,re=L?s-L.startIndex+1:void 0,ie=L?L.count:void 0,ae=O?O.direction:xa.horizontal;this._classNames=pt(pt({},this._classNames),Iy(R,{theme:P,isSelected:j,canSelect:!te,anySelected:Y,checkboxCellClassName:k,droppingClassName:X,className:o,compact:T,enableUpdateAnimations:E,cellStyleProps:F,disabled:z}));var se={isMultiline:this._classNames.isMultiline,isRowHeader:this._classNames.isRowHeader,cell:this._classNames.cell,cellAnimation:this._classNames.cellAnimation,cellPadded:this._classNames.cellPadded,cellUnpadded:this._classNames.cellUnpadded,fields:this._classNames.fields};vl(this._rowClassNames||{},se)||(this._rowClassNames=se);var le=w?Hl(w,ky):ky,ce=ht.createElement(le,{rowClassNames:this._rowClassNames,rowHeaderId:"".concat(l,"-header"),cellsByColumn:M,columns:r,item:a,itemIndex:s,isSelected:j,columnStartIndex:(oe?1:0)+(N?1:0),onRenderItemColumn:m,onRenderField:f,getCellValueKey:g,enableUpdateAnimations:E,cellStyleProps:F}),ue=this.props.role?this.props.role:"row";this._ariaRowDescriptionId=bs("DetailsRow-description");var de=r.some(function(e){return!!e.isRowHeader}),pe="".concat(l,"-checkbox")+(de?" ".concat(l,"-header"):""),he=S?{}:{"aria-level":N&&N+1||void 0,"aria-posinset":re,"aria-setsize":ie};return ht.createElement(Xs,pt({"data-is-focusable":!0},qr(this.props,jr),"boolean"==typeof Z?{"data-is-draggable":Z,draggable:Z}:{},O,he,{direction:ae,elementRef:this._root,componentRef:this._focusZone,role:ue,"aria-label":Q,"aria-disabled":z||void 0,"aria-describedby":J?this._ariaRowDescriptionId:$,className:this._classNames.root,"data-selection-index":s,"data-selection-touch-invoke":!0,"data-selection-disabled":null!==(e=this.props["data-selection-disabled"])&&void 0!==e?e:z||void 0,"data-item-index":s,"aria-rowindex":void 0===re?s+u:void 0,"data-automationid":"DetailsRow","aria-selected":ne,allowFocusRoot:!0}),J?ht.createElement("span",{key:"description",role:"presentation",hidden:!0,id:this._ariaRowDescriptionId},J):null,oe&&ht.createElement("div",{role:"gridcell","data-selection-toggle":!0,className:this._classNames.checkCell},p({id:l?"".concat(l,"-checkbox"):void 0,selected:j,selectionMode:v,anySelected:Y,"aria-label":x,"aria-labelledby":l?pe:void 0,canSelect:ee,compact:T,className:this._classNames.check,theme:P,isVisible:b===Ab.always,onRenderDetailsCheckbox:h,useFastIcons:A})),ht.createElement(Gb,{indentWidth:D,role:"gridcell",count:0===N?-1:N}),a&&ce,V&&ht.createElement("span",{role:"presentation",className:hi(this._classNames.cellMeasurer,this._classNames.cell),ref:this._cellMeasurer},ht.createElement(le,{rowClassNames:this._rowClassNames,rowHeaderId:"".concat(l,"-header"),columns:[V.column],item:a,itemIndex:s,columnStartIndex:(oe?1:0)+(N?1:0)+r.length,onRenderItemColumn:m,getCellValueKey:g})))},e.prototype.measureCell=function(e,t){var o=this.props.columns,n=pt({},(void 0===o?Dy:o)[e]);n.minWidth=0,n.maxWidth=999999,delete n.calculatedWidth,this.setState({columnMeasureInfo:{index:e,column:n,onMeasureDone:t}})},e.prototype.focus=function(e){var t;return void 0===e&&(e=!1),!!(null===(t=this._focusZone.current)||void 0===t?void 0:t.focus(e))},e.prototype._onRenderCheck=function(e){return ht.createElement(my,pt({},e))},e.prototype._getRowDragDropOptions=function(){var e=this.props,t=e.item,o=e.itemIndex,n=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:o,context:{data:t,index:o},canDrag:n.canDrag,canDrop:n.canDrop,onDragStart:n.onDragStart,updateDropState:this._updateDroppingState,onDrop:n.onDrop,onDragEnd:n.onDragEnd,onDragOver:n.onDragOver}},e}(ht.Component);function Ty(e){var t,o=e.itemIndex,n=e.selection;return{isSelected:!!(null==n?void 0:n.isIndexSelected(o)),isSelectionModal:!!(null===(t=null==n?void 0:n.isModal)||void 0===t?void 0:t.call(n))}}var Py=ir(Ey,Kb,void 0,{scope:"DetailsRow"}),Ry="data-selection-index",My="data-selection-toggle",Ny="data-selection-invoke",By="data-selection-all-toggle",Ay=function(n){function e(e){var p=n.call(this,e)||this;p._root=ht.createRef(),p.ignoreNextFocus=function(){p._handleNextFocus(!1)},p._onSelectionChange=function(){var e=p.props.selection,t=e.isModal&&e.isModal();p.setState({isModal:t})},p._onMouseDownCapture=function(e){var t=e.target,o=ut(p._root.current),n=null==o?void 0:o.document;if((null==n?void 0:n.activeElement)===t||Ga(null==n?void 0:n.activeElement,t)){if(Ga(t,p._root.current))for(;t!==p._root.current;){if(p._hasAttribute(t,Ny)){p.ignoreNextFocus();break}t=Wa(t)}}else p.ignoreNextFocus()},p._onFocus=function(e){var t=e.target,o=p.props.selection,n=p._isCtrlPressed||p._isMetaPressed,r=p._getSelectionMode();if(p._shouldHandleFocus&&r!==ay.none){var i=p._hasAttribute(t,My),a=p._findItemRoot(t);if(!i&&a){var s=p._getItemIndex(a);void 0===p._getItemSpan(a)&&(n?(o.setIndexSelected(s,o.isIndexSelected(s),!0),p.props.enterModalOnTouch&&p._isTouch&&o.setModal&&(o.setModal(!0),p._setIsTouch(!1))):p.props.isSelectedOnFocus&&p._onItemSurfaceClick("focus",s))}}p._handleNextFocus(!1)},p._onMouseDown=function(e){p._updateModifiers(e);var t=p.props.toggleWithoutModifierPressed,o=e.target,n=p._findItemRoot(o);if(!p._isSelectionDisabled(o))for(;o!==p._root.current&&!p._hasAttribute(o,By);){if(n){if(p._hasAttribute(o,My))break;if(p._hasAttribute(o,Ny))break;if(!(o!==n&&!p._shouldAutoSelect(o)||p._isShiftPressed||p._isCtrlPressed||p._isMetaPressed||t)){p._onInvokeMouseDown(e,p._getItemIndex(n),p._getItemSpan(n));break}if(p.props.disableAutoSelectOnInputElements&&("A"===o.tagName||"BUTTON"===o.tagName||"INPUT"===o.tagName))return}o=Wa(o)}},p._onTouchStartCapture=function(e){p._setIsTouch(!0)},p._onClick=function(e){var t=p.props.enableTouchInvocationTarget,o=void 0!==t&&t;p._updateModifiers(e);for(var n=e.target,r=p._findItemRoot(n),i=p._isSelectionDisabled(n);n!==p._root.current;){if(p._hasAttribute(n,By)){i||p._onToggleAllClick(e);break}if(r){var a=p._getItemIndex(r),s=p._getItemSpan(r);if(p._hasAttribute(n,My)){i||(p._isShiftPressed?p._onItemSurfaceClick("click",a,s):p._onToggleClick(e,a,s));break}if(p._isTouch&&o&&p._hasAttribute(n,"data-selection-touch-invoke")||p._hasAttribute(n,Ny)){void 0===s&&p._onInvokeClick(e,a);break}if(n===r){i||p._onItemSurfaceClick("click",a,s);break}if("A"===n.tagName||"BUTTON"===n.tagName||"INPUT"===n.tagName)return}n=Wa(n)}},p._onContextMenu=function(e){var t=e.target,o=p.props,n=o.onItemContextMenu,r=o.selection;if(n){var i=p._findItemRoot(t);if(i){var a=p._getItemIndex(i);p._onInvokeMouseDown(e,a),n(r.getItems()[a],a,e.nativeEvent)||e.preventDefault()}}},p._onDoubleClick=function(e){var t=e.target,o=p.props.onItemInvoked,n=p._findItemRoot(t);if(n&&o&&!p._isInputElement(t)){for(var r=p._getItemIndex(n);t!==p._root.current&&!p._hasAttribute(t,My)&&!p._hasAttribute(t,Ny);){if(t===n){p._onInvokeClick(e,r);break}t=Wa(t)}t=Wa(t)}},p._onKeyDownCapture=function(e){p._updateModifiers(e),p._handleNextFocus(!0)},p._onKeyDown=function(e){p._updateModifiers(e);var t=e.target,o=p._isSelectionDisabled(t),n=p.props,r=n.selection,i=n.selectionClearedOnEscapePress,a=e.which===sr.a&&(p._isCtrlPressed||p._isMetaPressed),s=e.which===sr.escape;if(!p._isInputElement(t)){var l=p._getSelectionMode();if(a&&l===ay.multiple&&!r.isAllSelected())return o||r.setAllSelected(!0),e.stopPropagation(),void e.preventDefault();if(i&&s&&r.getSelectedCount()>0)return o||r.setAllSelected(!1),e.stopPropagation(),void e.preventDefault();var c=p._findItemRoot(t);if(c)for(var u=p._getItemIndex(c),d=p._getItemSpan(c);t!==p._root.current&&!p._hasAttribute(t,My);){if(p._shouldAutoSelect(t)){o||void 0!==d||p._onInvokeMouseDown(e,u,d);break}if(!(e.which!==sr.enter&&e.which!==sr.space||"BUTTON"!==t.tagName&&"A"!==t.tagName&&"INPUT"!==t.tagName&&"SUMMARY"!==t.tagName))return!1;if(t===c){if(e.which===sr.enter)return void(void 0===d&&(p._onInvokeClick(e,u),e.preventDefault()));if(e.which===sr.space)return o||p._onToggleClick(e,u,d),void e.preventDefault();break}t=Wa(t)}}},p._events=new xl(p),p._async=new fa(p),ua(p);var t=p.props.selection,o=t.isModal&&t.isModal();return p.state={isModal:o},p}return m(e,n),e.getDerivedStateFromProps=function(e,t){var o=e.selection.isModal&&e.selection.isModal();return pt(pt({},t),{isModal:o})},e.prototype.componentDidMount=function(){var e=ut(this._root.current),t=null==e?void 0:e.document;this._events.on(e,"keydown, keyup",this._updateModifiers,!0),this._events.on(t,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(null==t?void 0:t.body,"touchstart",this._onTouchStartCapture,!0),this._events.on(null==t?void 0:t.body,"touchend",this._onTouchStartCapture,!0),this._events.on(this.props.selection,"change",this._onSelectionChange)},e.prototype.render=function(){var e=this.state.isModal;return ht.createElement("div",{className:hi("ms-SelectionZone",this.props.className,{"ms-SelectionZone--modal":!!e}),ref:this._root,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onKeyDownCapture:this._onKeyDownCapture,onClick:this._onClick,role:"presentation",onDoubleClick:this._onDoubleClick,onContextMenu:this._onContextMenu,onMouseDownCapture:this._onMouseDownCapture,onFocusCapture:this._onFocus,"data-selection-is-modal":!!e||void 0},this.props.children,ht.createElement(sl,null))},e.prototype.componentDidUpdate=function(e){var t=this.props.selection;t!==e.selection&&(this._events.off(e.selection),this._events.on(t,"change",this._onSelectionChange))},e.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},e.prototype._isSelectionDisabled=function(e){if(this._getSelectionMode()===ay.none)return!0;for(;e!==this._root.current;){if(this._hasAttribute(e,"data-selection-disabled"))return!0;e=Wa(e)}return!1},e.prototype._onToggleAllClick=function(e){var t=this.props.selection;this._getSelectionMode()===ay.multiple&&(t.toggleAllSelected(),e.stopPropagation(),e.preventDefault())},e.prototype._onToggleClick=function(e,t,o){var n=this.props.selection,r=this._getSelectionMode();if(n.setChangeEvents(!1),this.props.enterModalOnTouch&&this._isTouch&&(void 0!==o?!n.isRangeSelected(t,o):!n.isIndexSelected(t))&&n.setModal&&(n.setModal(!0),this._setIsTouch(!1)),r===ay.multiple)void 0!==o?n.toggleRangeSelected(t,o):n.toggleIndexSelected(t);else{if(r!==ay.single)return void n.setChangeEvents(!0);if(void 0===o||1===o){var i=n.isIndexSelected(t),a=n.isModal&&n.isModal();n.setAllSelected(!1),n.setIndexSelected(t,!i,!0),a&&n.setModal&&n.setModal(!0)}}n.setChangeEvents(!0),e.stopPropagation()},e.prototype._onInvokeClick=function(e,t){var o=this.props,n=o.selection,r=o.onItemInvoked;r&&(r(n.getItems()[t],t,e.nativeEvent),e.preventDefault(),e.stopPropagation())},e.prototype._onItemSurfaceClick=function(e,t,o){var n,r=this.props,i=r.selection,a=r.toggleWithoutModifierPressed,s=this._isCtrlPressed||this._isMetaPressed,l=this._getSelectionMode();l===ay.multiple?this._isShiftPressed&&!this._isTabPressed?void 0!==o?null===(n=i.selectToRange)||void 0===n||n.call(i,t,o,!s):i.selectToIndex(t,!s):"click"===e&&(s||a)?void 0!==o?i.toggleRangeSelected(t,o):i.toggleIndexSelected(t):this._clearAndSelectIndex(t,o):l===ay.single&&this._clearAndSelectIndex(t,o)},e.prototype._onInvokeMouseDown=function(e,t,o){var n=this.props.selection;if(void 0!==o){if(n.isRangeSelected(t,o))return}else if(n.isIndexSelected(t))return;this._clearAndSelectIndex(t,o)},e.prototype._findScrollParentAndTryClearOnEmptyClick=function(e){var t=ut(this._root.current),o=null==t?void 0:t.document,n=Ts(this._root.current);this._events.off(o,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(n,"click",this._tryClearOnEmptyClick),(n&&e.target instanceof Node&&n.contains(e.target)||n===e.target)&&this._tryClearOnEmptyClick(e)},e.prototype._tryClearOnEmptyClick=function(e){!this.props.selectionPreservedOnEmptyClick&&this._isNonHandledClick(e.target)&&this.props.selection.setAllSelected(!1)},e.prototype._clearAndSelectIndex=function(e,t){var o,n=this.props,r=n.selection,i=n.selectionClearedOnSurfaceClick,a=void 0===i||i;if((void 0!==t&&1!==t||1!==r.getSelectedCount()||!r.isIndexSelected(e))&&a){var s=r.isModal&&r.isModal();r.setChangeEvents(!1),r.setAllSelected(!1),void 0!==t?null===(o=r.setRangeSelected)||void 0===o||o.call(r,e,t,!0,!0):r.setIndexSelected(e,!0,!0),(s||this.props.enterModalOnTouch&&this._isTouch)&&(r.setModal&&r.setModal(!0),this._isTouch&&this._setIsTouch(!1)),r.setChangeEvents(!0)}},e.prototype._updateModifiers=function(e){this._isShiftPressed=e.shiftKey,this._isCtrlPressed=e.ctrlKey,this._isMetaPressed=e.metaKey;var t=e.keyCode;this._isTabPressed=!!t&&t===sr.tab},e.prototype._findItemRoot=function(e){for(var t=this.props.selection;e!==this._root.current;){var o=e.getAttribute(Ry),n=Number(o);if(null!==o&&n>=0&&n0&&this._isAllSelected&&0===this._exemptedCount||!this._isAllSelected&&this._exemptedCount===e&&e>0},e.prototype.isKeySelected=function(e){var t=this._keyToIndexMap[e];return this.isIndexSelected(t)},e.prototype.isIndexSelected=function(e){return!!(this.count>0&&this._isAllSelected&&!this._exemptedIndices[e]&&!this._unselectableIndices[e]||!this._isAllSelected&&this._exemptedIndices[e])},e.prototype.setAllSelected=function(e){if(!e||this.mode===ay.multiple){var t=this._items?this._items.length-this._unselectableCount:0;this.setChangeEvents(!1),t>0&&(this._exemptedCount>0||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount()),this.setChangeEvents(!0)}},e.prototype.setKeySelected=function(e,t,o){var n=this._keyToIndexMap[e];n>=0&&this.setIndexSelected(n,t,o)},e.prototype.setIndexSelected=function(e,t,o){if(this.mode!==ay.none&&!((e=Math.min(Math.max(0,e),this._items.length-1))<0||e>=this._items.length)){this.setChangeEvents(!1);var n=this._exemptedIndices[e];!this._unselectableIndices[e]&&(t&&this.mode===ay.single&&this._setAllSelected(!1,!0),n&&(t&&this._isAllSelected||!t&&!this._isAllSelected)&&(delete this._exemptedIndices[e],this._exemptedCount--),!n&&(t&&!this._isAllSelected||!t&&this._isAllSelected)&&(this._exemptedIndices[e]=!0,this._exemptedCount++),o&&(this._anchoredIndex=e)),this._updateCount(),this.setChangeEvents(!0)}},e.prototype.setRangeSelected=function(e,t,o,n){if(this.mode!==ay.none&&(e=Math.min(Math.max(0,e),this._items.length-1),t=Math.min(Math.max(0,t),this._items.length-e),!(e<0||e>=this._items.length||0===t))){this.setChangeEvents(!1);for(var r=e,i=e+t-1,a=(this._anchoredIndex||0)>=i?r:i;r<=i;r++)this.setIndexSelected(r,o,!!n&&r===a);this.setChangeEvents(!0)}},e.prototype.selectToKey=function(e,t){this.selectToIndex(this._keyToIndexMap[e],t)},e.prototype.selectToRange=function(e,t,o){if(this.mode!==ay.none)if(this.mode!==ay.single){var n=this._anchoredIndex||0,r=Math.min(e,n),i=Math.max(e+t-1,n);for(this.setChangeEvents(!1),o&&this._setAllSelected(!1,!0);r<=i;r++)this.setIndexSelected(r,!0,!1);this.setChangeEvents(!0)}else 1===t&&this.setIndexSelected(e,!0,!0)},e.prototype.selectToIndex=function(e,t){if(this.mode!==ay.none)if(this.mode!==ay.single){var o=this._anchoredIndex||0,n=Math.min(e,o),r=Math.max(e,o);for(this.setChangeEvents(!1),t&&this._setAllSelected(!1,!0);n<=r;n++)this.setIndexSelected(n,!0,!1);this.setChangeEvents(!0)}else this.setIndexSelected(e,!0,!0)},e.prototype.toggleAllSelected=function(){this.setAllSelected(!this.isAllSelected())},e.prototype.toggleKeySelected=function(e){this.setKeySelected(e,!this.isKeySelected(e),!0)},e.prototype.toggleIndexSelected=function(e){this.setIndexSelected(e,!this.isIndexSelected(e),!0)},e.prototype.toggleRangeSelected=function(e,t){if(this.mode!==ay.none){var o=this.isRangeSelected(e,t),n=e+t;if(!(this.mode===ay.single&&t>1)){this.setChangeEvents(!1);for(var r=e;r0&&(this._exemptedCount>0||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount(t)),this.setChangeEvents(!0)}},e.prototype._change=function(){0===this._changeEventSuppressionCount?(this._selectedItems=null,this._selectedIndices=void 0,xl.raise(this,ly),this._onSelectionChanged&&this._onSelectionChanged()):this._hasChanged=!0},e}();function Ly(e,t){var o=(e||{}).key;return void 0===o?"".concat(t):o}var Oy,Hy,zy={root:"ms-GroupedList",compact:"ms-GroupedList--Compact",group:"ms-GroupedList-group",link:"ms-Link",listCell:"ms-List-cell"},Wy=function(e){var t,o,n=e.theme,r=e.className,i=e.compact,a=n.palette,s=Ro(zy,n);return{root:[s.root,n.fonts.small,{position:"relative",selectors:(t={},t[".".concat(s.listCell)]={minHeight:38},t)},i&&[s.compact,{selectors:(o={},o[".".concat(s.listCell)]={minHeight:32},o)}],r],group:[s.group,{transition:"background-color ".concat(We.durationValue2," ").concat("cubic-bezier(0.445, 0.050, 0.550, 0.950)")}],groupIsDropping:{backgroundColor:a.neutralLight}}},Vy={root:"ms-GroupHeader",compact:"ms-GroupHeader--compact",check:"ms-GroupHeader-check",dropIcon:"ms-GroupHeader-dropIcon",expand:"ms-GroupHeader-expand",isCollapsed:"is-collapsed",title:"ms-GroupHeader-title",isSelected:"is-selected",iconTag:"ms-Icon--Tag",group:"ms-GroupedList-group",isDropping:"is-dropping"},Ky="cubic-bezier(0.390, 0.575, 0.565, 1.000)";!function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(Oy||(Oy={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(Hy||(Hy={}));var Gy=vr(),Uy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.type,o=e.size,n=e.ariaLabel,r=e.ariaLive,i=e.styles,a=e.label,s=e.theme,l=e.className,c=e.labelPosition,u=n,d=qr(this.props,jr,["size"]),p=o;void 0===p&&void 0!==t&&(p=t===Hy.large?Oy.large:Oy.medium);var h=Gy(i,{theme:s,size:p,className:l,labelPosition:c});return ht.createElement("div",pt({},d,{className:h.root}),ht.createElement("div",{className:h.circle}),a&&ht.createElement("div",{className:h.label},a),u&&ht.createElement("div",{role:"status","aria-live":r},ht.createElement(ka,null,ht.createElement("div",{className:h.screenReaderText},u))))},t.defaultProps={size:Oy.medium,ariaLive:"polite",labelPosition:"bottom"},t}(ht.Component),jy={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},qy=Do(function(){return ee({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})}),Yy=ir(Uy,function(e){var t,o=e.theme,n=e.size,r=e.className,i=e.labelPosition,a=o.palette,s=Ro(jy,o);return{root:[s.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===i&&{flexDirection:"column-reverse"},"right"===i&&{flexDirection:"row"},"left"===i&&{flexDirection:"row-reverse"},r],circle:[s.circle,{boxSizing:"border-box",borderRadius:"50%",borderWidth:"1.5px",borderStyle:"solid",borderTopColor:a.themePrimary,borderRightColor:a.themeLight,borderBottomColor:a.themeLight,borderLeftColor:a.themeLight,animationName:qy(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[Mo]=pt({borderTopColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},n===Oy.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],n===Oy.small&&["ms-Spinner--small",{width:16,height:16}],n===Oy.medium&&["ms-Spinner--medium",{width:20,height:20}],n===Oy.large&&["ms-Spinner--large",{width:28,height:28}]],label:[s.label,o.fonts.small,{color:a.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===i&&{margin:"0 0 8px"},"right"===i&&{margin:"0 0 0 8px"},"left"===i&&{margin:"0 8px 0 0"}],screenReaderText:ho}},void 0,{scope:"Spinner"}),Zy=vr(),Xy=function(t){function e(e){var a=t.call(this,e)||this;return a._toggleCollapse=function(){var e=a.props,t=e.group,o=e.onToggleCollapse,n=e.isGroupLoading,r=!a.state.isCollapsed,i=!r&&n&&n(t);a.setState({isCollapsed:r,isLoadingVisible:i}),o&&o(t)},a._onKeyUp=function(e){var t=a.props,o=t.group,n=t.onGroupHeaderKeyUp;if(n&&n(e,o),!e.defaultPrevented){var r=a.state.isCollapsed&&e.which===dr(sr.right,a.props.theme);(!a.state.isCollapsed&&e.which===dr(sr.left,a.props.theme)||r)&&(a._toggleCollapse(),e.stopPropagation(),e.preventDefault())}},a._onToggleClick=function(e){a._toggleCollapse(),e.stopPropagation(),e.preventDefault()},a._onHeaderClick=function(){var e=a.props,t=e.group,o=e.onGroupHeaderClick;o&&o(t)},a._onRenderTitle=function(e){if(!e.group)return null;var t=e.onRenderName?Nl(e.onRenderName,a._onRenderName):a._onRenderName;return ht.createElement("div",{className:a._classNames.title,id:a._id,onClick:a._onHeaderClick,role:"gridcell","aria-colspan":a.props.ariaColSpan,"data-selection-invoke":!0},t(e))},a._onRenderName=function(e){var t=e.group;return t?ht.createElement(ht.Fragment,null,ht.createElement("span",null,t.name),ht.createElement("span",{className:a._classNames.headerCount},"(",t.count,t.hasMoreData&&"+",")")):null},a._id=bs("GroupHeader"),a.state={isCollapsed:a.props.group&&a.props.group.isCollapsed,isLoadingVisible:!1},a}return m(e,t),e.getDerivedStateFromProps=function(e,t){if(e.group){var o=e.group.isCollapsed,n=e.isGroupLoading,r=!o&&n&&n(e.group);return pt(pt({},t),{isCollapsed:o||!1,isLoadingVisible:r||!1})}return t},e.prototype.render=function(){var e=this.props,t=e.group,o=e.groupLevel,n=void 0===o?0:o,r=e.viewport,i=e.selectionMode,a=e.loadingText,s=e.isSelected,l=void 0!==s&&s,c=e.selected,u=void 0!==c&&c,d=e.indentWidth,p=e.onRenderGroupHeaderCheckbox,h=e.isCollapsedGroupSelectVisible,m=void 0===h||h,f=e.expandButtonProps,g=e.expandButtonIcon,v=e.selectAllButtonProps,b=e.theme,y=e.styles,C=e.className,_=e.compact,S=e.ariaLevel,x=e.ariaPosInSet,k=e.ariaSetSize,w=e.ariaRowIndex,I=e.useFastIcons,D=this.props.onRenderTitle?Nl(this.props.onRenderTitle,this._onRenderTitle):this._onRenderTitle,E=I?this._fastDefaultCheckboxRender:this._defaultCheckboxRender,T=p?Nl(p,E):E,P=this.state,R=P.isCollapsed,M=P.isLoadingVisible,N=i===ay.multiple,B=N&&(m||!(t&&t.isCollapsed)),A=u||l,F=cr(b);return this._classNames=Zy(y,{theme:b,className:C,selected:A,isCollapsed:R,compact:_}),t?ht.createElement("div",{className:this._classNames.root,style:r?{minWidth:r.width}:{},role:"row","aria-level":S,"aria-setsize":k,"aria-posinset":x,"aria-rowindex":w,"data-is-focusable":!0,onKeyUp:this._onKeyUp,"aria-label":t.ariaLabel,"aria-labelledby":t.ariaLabel?void 0:this._id,"aria-expanded":!this.state.isCollapsed,"aria-selected":N?A:void 0,"data-selection-index":t.startIndex,"data-selection-span":t.count},ht.createElement("div",{className:this._classNames.groupHeaderContainer,role:"presentation"},B?ht.createElement("div",{role:"gridcell"},ht.createElement("button",pt({"data-is-focusable":!1,type:"button",className:this._classNames.check,role:"checkbox",id:"".concat(this._id,"-check"),"aria-checked":A,"aria-labelledby":"".concat(this._id,"-check ").concat(this._id),"data-selection-toggle":!0},v),T({checked:A,theme:b},T))):i!==ay.none&&ht.createElement(Gb,{indentWidth:Xb,count:1}),ht.createElement(Gb,{indentWidth:d,count:n}),ht.createElement("div",{className:this._classNames.dropIcon,role:"presentation"},ht.createElement(wi,{iconName:"Tag"})),ht.createElement("div",{role:"gridcell"},ht.createElement("button",pt({"data-is-focusable":!1,"data-selection-disabled":!0,type:"button",className:this._classNames.expand,onClick:this._onToggleClick,"aria-expanded":!this.state.isCollapsed},f),ht.createElement(wi,{className:this._classNames.expandIsCollapsed,iconName:g||(F?"ChevronLeftMed":"ChevronRightMed")}))),D(this.props),M&&ht.createElement(Yy,{label:a}))):null},e.prototype._defaultCheckboxRender=function(e){return ht.createElement(sf,{checked:e.checked})},e.prototype._fastDefaultCheckboxRender=function(e){return ht.createElement(Qy,{theme:e.theme,checked:e.checked})},e.defaultProps={expandButtonProps:{"aria-label":"expand collapse group"}},e}(ht.Component),Qy=ht.memo(function(e){return ht.createElement(sf,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})}),Jy=ir(Xy,function(e){var t,o,n,r,i,a=e.theme,s=e.className,l=e.selected,c=e.isCollapsed,u=e.compact,d=zb.cellLeftPadding,p=u?40:48,h=a.semanticColors,m=a.palette,f=a.fonts,g=Ro(Vy,a),v=[on(a),{cursor:"default",background:"none",backgroundColor:"transparent",border:"none",padding:0}];return{root:[g.root,on(a),a.fonts.medium,{borderBottom:"1px solid ".concat(h.listBackground),cursor:"default",userSelect:"none",selectors:(t={":hover":{background:h.listItemBackgroundHovered,color:h.actionLinkHovered}},t["&:hover .".concat(g.check)]={opacity:1},t[".".concat(Jo," &:focus .").concat(g.check,", :host(.").concat(Jo,") &:focus .").concat(g.check)]={opacity:1},t[":global(.".concat(g.group,".").concat(g.isDropping,")")]={selectors:(o={},o["& > .".concat(g.root," .").concat(g.dropIcon)]={transition:"transform ".concat(We.durationValue4," ").concat("cubic-bezier(0.075, 0.820, 0.165, 1.000)"," ")+"opacity ".concat(We.durationValue1," ").concat(Ky),transitionDelay:We.durationValue3,opacity:1,transform:"rotate(0.2deg) scale(1);"},o[".".concat(g.check)]={opacity:0},o)},t)},l&&[g.isSelected,{background:h.listItemBackgroundChecked,selectors:(n={":hover":{background:h.listItemBackgroundCheckedHovered}},n["".concat(g.check)]={opacity:1},n)}],u&&[g.compact,{border:"none"}],s],groupHeaderContainer:[{display:"flex",alignItems:"center",height:p}],headerCount:[{padding:"0px 4px"}],check:[g.check,v,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:1,marginTop:-1,opacity:0,width:Xb,height:p,selectors:(r={},r[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={opacity:1},r)}],expand:[g.expand,v,{display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",fontSize:f.small.fontSize,width:36,height:p,color:l?m.neutralPrimary:m.neutralSecondary,selectors:{":hover":{backgroundColor:l?m.neutralQuaternary:m.neutralLight},":active":{backgroundColor:l?m.neutralTertiaryAlt:m.neutralQuaternaryAlt}}}],expandIsCollapsed:[c?[g.isCollapsed,{transform:"rotate(0deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}]:{transform:cr(a)?"rotate(-90deg)":"rotate(90deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}],title:[g.title,{paddingLeft:d,fontSize:u?f.medium.fontSize:f.mediumPlus.fontSize,fontWeight:c?Qe.regular:Qe.semibold,cursor:"pointer",outline:0,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"}],dropIcon:[g.dropIcon,{position:"absolute",left:-26,fontSize:Je.large,color:m.neutralSecondary,transition:"transform ".concat(We.durationValue2," ").concat("cubic-bezier(0.600, -0.280, 0.735, 0.045)",", ")+"opacity ".concat(We.durationValue4," ").concat(Ky),opacity:0,transform:"rotate(0.2deg) scale(0.65)",transformOrigin:"10px 10px",selectors:(i={},i[":global(.".concat(g.iconTag,")")]={position:"absolute"},i)}]}},void 0,{scope:"GroupHeader"}),$y={root:"ms-GroupShowAll",link:"ms-Link"},eC=vr(),tC=ir(function(e){var t=e.group,o=e.groupLevel,n=e.showAllLinkText,r=void 0===n?"Show All":n,i=e.styles,a=e.theme,s=e.onToggleSummarize,l=eC(i,{theme:a}),c=ht.useCallback(function(e){s(t),e.stopPropagation(),e.preventDefault()},[s,t]);return t?ht.createElement("div",{className:l.root},ht.createElement(Gb,{count:o}),ht.createElement(gl,{onClick:c},r)):null},function(e){var t,o=e.theme,n=o.fonts,r=Ro($y,o);return{root:[r.root,{position:"relative",padding:"10px 84px",cursor:"pointer",selectors:(t={},t[".".concat(r.link)]={fontSize:n.small.fontSize},t)}]}},void 0,{scope:"GroupShowAll"}),oC={root:"ms-groupFooter"},nC=vr(),rC=ir(function(e){var t=e.group,o=e.groupLevel,n=e.footerText,r=e.indentWidth,i=e.styles,a=e.theme,s=nC(i,{theme:a});return t&&n?ht.createElement("div",{className:s.root},ht.createElement(Gb,{indentWidth:r,count:o}),n):null},function(e){var t=e.theme,o=e.className,n=Ro(oC,t);return{root:[t.fonts.medium,n.root,{position:"relative",padding:"5px 38px"},o]}},void 0,{scope:"GroupFooter"}),iC=function(n){function I(e){var w=n.call(this,e)||this;w._root=ht.createRef(),w._list=ht.createRef(),w._subGroupRefs={},w._droppingClassName="",w._onRenderGroupHeader=function(e){return ht.createElement(Jy,pt({},e))},w._onRenderGroupShowAll=function(e){return ht.createElement(tC,pt({},e))},w._onRenderGroupFooter=function(e){return ht.createElement(rC,pt({},e))},w._renderSubGroup=function(e,t){var o=w.props,n=o.dragDropEvents,r=o.dragDropHelper,i=o.eventsToRegister,a=o.getGroupItemLimit,s=o.groupNestingDepth,l=o.groupProps,c=o.items,u=o.headerProps,d=o.showAllProps,p=o.footerProps,h=o.listProps,m=o.onRenderCell,f=o.selection,g=o.selectionMode,v=o.viewport,b=o.onRenderGroupHeader,y=o.onRenderGroupShowAll,C=o.onRenderGroupFooter,_=o.onShouldVirtualize,S=o.group,x=o.compact,k=e.level?e.level+1:s;return!e||e.count>0||l&&l.showEmptyGroups?ht.createElement(I,{ref:function(e){return w._subGroupRefs["subGroup_"+t]=e},key:w._getGroupKey(e,t),dragDropEvents:n,dragDropHelper:r,eventsToRegister:i,footerProps:p,getGroupItemLimit:a,group:e,groupIndex:t,groupNestingDepth:k,groupProps:l,headerProps:u,items:c,listProps:h,onRenderCell:m,selection:f,selectionMode:g,showAllProps:d,viewport:v,onRenderGroupHeader:b,onRenderGroupShowAll:y,onRenderGroupFooter:C,onShouldVirtualize:_,groups:S?S.children:[],compact:x}):null},w._getGroupDragDropOptions=function(){var e=w.props,t=e.group,o=e.groupIndex,n=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:-1,context:{data:t,index:o,isGroup:!0},updateDropState:w._updateDroppingState,canDrag:n.canDrag,canDrop:n.canDrop,onDrop:n.onDrop,onDragStart:n.onDragStart,onDragEnter:n.onDragEnter,onDragLeave:n.onDragLeave,onDragEnd:n.onDragEnd,onDragOver:n.onDragOver}},w._updateDroppingState=function(e,t){var o=w.state.isDropping,n=w.props,r=n.dragDropEvents,i=n.group;o!==e&&(o?r&&r.onDragLeave&&r.onDragLeave(i,t):r&&r.onDragEnter&&(w._droppingClassName=r.onDragEnter(i,t)),w.setState({isDropping:e}))};var t=e.selection,o=e.group;return ua(w),w._id=bs("GroupedListSection"),w.state={isDropping:!1,isSelected:!(!t||!o)&&t.isRangeSelected(o.startIndex,o.count)},w._events=new xl(w),w}return m(I,n),I.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,o=e.selection;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())),o&&this._events.on(o,ly,this._onSelectionChange)},I.prototype.componentWillUnmount=function(){this._events.dispose(),this._dragDropSubscription&&this._dragDropSubscription.dispose()},I.prototype.componentDidUpdate=function(e){this.props.group===e.group&&this.props.groupIndex===e.groupIndex&&this.props.dragDropHelper===e.dragDropHelper||(this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this.props.dragDropHelper&&this._root.current&&(this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())))},I.prototype.render=function(){var e=this.props,t=e.getGroupItemLimit,o=e.group,n=e.groupIndex,r=e.headerProps,i=e.showAllProps,a=e.footerProps,s=e.viewport,l=e.selectionMode,c=e.onRenderGroupHeader,u=void 0===c?this._onRenderGroupHeader:c,d=e.onRenderGroupShowAll,p=void 0===d?this._onRenderGroupShowAll:d,h=e.onRenderGroupFooter,m=void 0===h?this._onRenderGroupFooter:h,f=e.onShouldVirtualize,g=e.groupedListClassNames,v=e.groups,b=e.compact,y=e.listProps,C=void 0===y?{}:y,_=this.state.isSelected,S=o&&t?t(o):1/0,x=o&&!o.children&&!o.isCollapsed&&!o.isShowingAll&&(o.count>S||o.hasMoreData),k=o&&o.children&&o.children.length>0,w=C.version,I={group:o,groupIndex:n,groupLevel:o?o.level:0,isSelected:_,selected:_,viewport:s,selectionMode:l,groups:v,compact:b},D={groupedListId:this._id,ariaLevel:(null==o?void 0:o.level)?o.level+1:1,ariaSetSize:v?v.length:void 0,ariaPosInSet:void 0!==n?n+1:void 0},E=pt(pt(pt({},r),I),D),T=pt(pt({},i),I),P=pt(pt({},a),I),R=!!this.props.dragDropHelper&&this._getGroupDragDropOptions().canDrag(o)&&!!this.props.dragDropEvents.canDragGroups;return ht.createElement("div",pt({ref:this._root},R&&{draggable:!0},{className:hi(g&&g.group,this._getDroppingClassName()),role:"presentation"}),u(E,this._onRenderGroupHeader),o&&o.isCollapsed?null:k?ht.createElement(db,{role:"presentation",ref:this._list,items:o?o.children:[],onRenderCell:this._renderSubGroup,getItemCountForPage:this._returnOne,onShouldVirtualize:f,version:w,id:this._id}):this._onRenderGroup(S),o&&o.isCollapsed?null:x&&p(T,this._onRenderGroupShowAll),m(P,this._onRenderGroupFooter))},I.prototype.forceUpdate=function(){n.prototype.forceUpdate.call(this),this.forceListUpdate()},I.prototype.forceListUpdate=function(){var e=this.props.group;if(this._list.current){if(this._list.current.forceUpdate(),e&&e.children&&e.children.length>0)for(var t=e.children.length,o=0;o0?e.children.length:e.count},S._getGroupItemLimit=function(e){var t=S.props.groupProps;return(t&&t.getGroupItemLimit?t.getGroupItemLimit:S._getDefaultGroupItemLimit)(e)},S._getGroupHeight=function(e){var t=S.props.compact?lC:sC;return t+(e.isCollapsed?0:t*S._getGroupItemLimit(e))},S._getPageHeight=function(e){var t=S.state.groups,o=S.props.getGroupHeight,n=void 0===o?S._getGroupHeight:o,r=t&&t[e];return r?n(r,e):0},S._onToggleCollapse=function(e){var t=S.props.groupProps,o=t&&t.headerProps&&t.headerProps.onToggleCollapse;e&&(o&&o(e),e.isCollapsed=!e.isCollapsed,S._updateIsSomeGroupExpanded(),S.forceUpdate())},S._onToggleSelectGroup=function(e){var t=S.props,o=t.selection,n=t.selectionMode;e&&o&&n===ay.multiple&&o.toggleRangeSelected(e.startIndex,e.count)},S._isInnerZoneKeystroke=function(e){return e.which===dr(sr.right)},S._onToggleSummarize=function(e){var t=S.props.groupProps,o=t&&t.showAllProps&&t.showAllProps.onToggleSummarize;o?o(e):(e&&(e.isShowingAll=!e.isShowingAll),S.forceUpdate())},S._getPageSpecification=function(e){var t=S.state.groups,o=t&&t[e];return{key:o&&o.key}},ua(S),S._isSomeGroupExpanded=S._computeIsSomeGroupExpanded(e.groups);var t=e.listProps,o=(void 0===t?{}:t).version,n=void 0===o?{}:o;return S.state={groups:e.groups,items:e.items,listProps:e.listProps,version:n},S}return m(e,r),e.getDerivedStateFromProps=function(e,t){var o=e.groups,n=e.selectionMode,r=e.compact,i=e.items,a=e.listProps,s=a&&a.version,l=pt(pt({},t),{selectionMode:n,compact:r,groups:o,listProps:a,items:i}),c=!1;return s===(t.listProps&&t.listProps.version)&&i===t.items&&o===t.groups&&n===t.selectionMode&&r===t.compact||(c=!0),c&&(l=pt(pt({},l),{version:{}})),l},e.prototype.scrollToIndex=function(e,t,o){this._list.current&&this._list.current.scrollToIndex(e,t,o)},e.prototype.getStartItemIndexInView=function(){return this._list.current.getStartItemIndexInView()||0},e.prototype.componentDidMount=function(){var e=this.props,t=e.groupProps,o=e.groups,n=void 0===o?[]:o;t&&t.isAllGroupsCollapsed&&this._setGroupsCollapsedState(n,t.isAllGroupsCollapsed)},e.prototype.render=function(){var e=this.props,t=e.className,o=e.usePageCache,n=e.onShouldVirtualize,r=e.theme,i=e.role,a=void 0===i?"treegrid":i,s=e.styles,l=e.compact,c=e.focusZoneProps,u=void 0===c?{}:c,d=e.rootListProps,p=void 0===d?{}:d,h=this.state,m=h.groups,f=h.version;this._classNames=aC(s,{theme:r,className:t,compact:l});var g=u.shouldEnterInnerZone,v=void 0===g?this._isInnerZoneKeystroke:g;return ht.createElement(Xs,pt({direction:xa.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},u,{shouldEnterInnerZone:v,className:hi(this._classNames.root,u.className)}),ht.createElement(sl,null),m?ht.createElement(db,pt({ref:this._list,role:a,items:m,onRenderCell:this._renderGroup,getItemCountForPage:this._returnOne,getPageHeight:this._getPageHeight,getPageSpecification:this._getPageSpecification,usePageCache:o,onShouldVirtualize:n,version:f},p)):this._renderGroup(void 0,0))},e.prototype.forceUpdate=function(){r.prototype.forceUpdate.call(this),this._forceListUpdates()},e.prototype.toggleCollapseAll=function(e){var t=this.state.groups,o=void 0===t?[]:t,n=this.props.groupProps,r=n&&n.onToggleCollapseAll;o.length>0&&(r&&r(e),this._setGroupsCollapsedState(o,e),this._updateIsSomeGroupExpanded(),this.forceUpdate())},e.prototype._setGroupsCollapsedState=function(e,t){for(var o=0;o0;)e++,t=t[0].children;return e},e.prototype._forceListUpdates=function(e){this.setState({version:{}})},e.prototype._computeIsSomeGroupExpanded=function(e){var t=this;return!(!e||!e.some(function(e){return e.children?t._computeIsSomeGroupExpanded(e.children):!e.isCollapsed}))},e.prototype._updateIsSomeGroupExpanded=function(){var e=this.state.groups,t=this.props.onGroupExpandStateChanged,o=this._computeIsSomeGroupExpanded(e);this._isSomeGroupExpanded!==o&&(t&&t(o),this._isSomeGroupExpanded=o)},e.defaultProps={selectionMode:ay.multiple,isHeaderVisible:!0,groupProps:{},compact:!1},e}(ht.Component),uC=ir(cC,Wy,void 0,{scope:"GroupedList"});function dC(e,t){var o,n=(null!=t?t:!e||e&&e.hasOwnProperty("devicePixelRatio"))?ut():ut(e);return e&&(e===n?o={left:0,top:0,width:n.innerWidth,height:n.innerHeight,right:n.innerWidth,bottom:n.innerHeight}:e.getBoundingClientRect&&(o=e.getBoundingClientRect())),o}var pC=500,hC=3;function mC(o){return function(t){function e(e){var a=t.call(this,e)||this;return a._root=ht.createRef(),a._registerResizeObserver=function(){var e=ut(a._root.current);a._viewportResizeObserver=new e.ResizeObserver(a._onAsyncResize),a._viewportResizeObserver.observe(a._root.current)},a._unregisterResizeObserver=function(){a._viewportResizeObserver&&(a._viewportResizeObserver.disconnect(),delete a._viewportResizeObserver)},a._updateViewport=function(e){var t=a.state.viewport,o=a._root.current,n=ut(o),r=dC(Ts(o),n),i=dC(o,n);((i&&i.width)!==t.width||(r&&r.height)!==t.height)&&a._resizeAttempts0&&e.height>0?e:void 0;return ht.createElement("div",{className:"ms-Viewport",ref:this._root,style:{minWidth:1,minHeight:1}},ht.createElement(o,pt({ref:this._updateComposedComponentRef,viewport:t},this.props)))},e.prototype.forceUpdate=function(){this._updateViewport(!0)},e.prototype._onAsyncResize=function(){this._updateViewport()},e.prototype._isResizeObserverAvailable=function(){var e=ut(this._root.current);return e&&e.ResizeObserver},e}(Dd)}var fC=function(e){var t=0;if(e)for(var o=z([],e,!0),n=void 0;o&&o.length>0;)++t,(n=o.pop())&&n.children&&o.push.apply(o,n.children);return t},gC=vr(),vC=100,bC={tabIndex:0},yC={},CC=function(u){var d=u.selection,e=u.ariaLabelForListHeader,t=u.ariaLabelForSelectAllCheckbox,o=u.ariaLabelForSelectionColumn,n=u.className,p=u.checkboxVisibility,h=u.compact,r=u.constrainMode,m=u.dragDropEvents,i=u.groups,a=u.groupProps,f=u.indentWidth,s=u.items,l=u.isPlaceholderData,g=u.isHeaderVisible,c=u.layoutMode,v=u.onItemInvoked,b=u.onItemContextMenu,y=u.onColumnHeaderClick,C=u.onColumnHeaderContextMenu,_=u.selectionMode,S=void 0===_?d.mode:_,x=u.selectionPreservedOnEmptyClick,k=u.selectionZoneProps,w=u.ariaLabel,I=u.ariaLabelForGrid,D=u.rowElementEventMap,E=u.shouldApplyApplicationRole,T=void 0!==E&&E,P=u.getKey,R=u.listProps,M=u.usePageCache,N=u.onShouldVirtualize,B=u.viewport,A=u.minimumPixelsForDrag,F=u.getGroupHeight,L=u.styles,O=u.theme,H=u.cellStyleProps,z=void 0===H?zb:H,W=u.onRenderCheckbox,V=u.useFastIcons,K=u.dragDropHelper,G=u.adjustedColumns,U=u.isCollapsed,j=u.isSizing,q=u.isSomeGroupExpanded,Y=u.version,Z=u.rootRef,X=u.listRef,Q=u.focusZoneRef,J=u.columnReorderOptions,$=u.groupedListRef,ee=u.headerRef,te=u.onGroupExpandStateChanged,oe=u.onColumnIsSizingChanged,ne=u.onRowDidMount,re=u.onRowWillUnmount,ie=u.disableSelectionZone,ae=u.isSelectedOnFocus,se=void 0===ae||ae,le=u.onColumnResized,ce=u.onColumnAutoResized,ue=u.onToggleCollapse,de=u.onActiveRowChanged,pe=u.onBlur,he=u.rowElementEventMap,me=u.onRenderMissingItem,fe=u.onRenderItemColumn,ge=u.onRenderField,ve=u.getCellValueKey,be=u.getRowAriaLabel,ye=u.getRowAriaDescribedBy,Ce=u.checkButtonAriaLabel,_e=u.checkButtonGroupAriaLabel,Se=u.checkboxCellClassName,xe=u.useReducedRowRenderer,ke=u.enableUpdateAnimations,we=u.enterModalSelectionOnTouch,Ie=u.onRenderDefaultRow,De=u.selectionZoneRef,Ee=u.focusZoneProps,Te="grid",Pe=u.role?u.role:Te,Re=bs("row"),Me=function(e){for(var t=0,o=e;o&&o.length>0;)t++,o=o[0].children;return t}(i),Ne=function(a){return ht.useMemo(function(){var e={};if(a)for(var t=1,o=1,n=0,r=a;nr.left&&t.clientXr.top&&t.clientY0?yC:bC,c={item:t,itemIndex:o,flatIndexOffset:(g?2:1)+a,compact:h,columns:G,groupNestingDepth:e,id:"".concat(Re,"-").concat(o),selectionMode:S,selection:d,onDidMount:ne,onWillUnmount:re,onRenderItemColumn:fe,onRenderField:ge,getCellValueKey:ve,eventsToRegister:he,dragDropEvents:m,dragDropHelper:K,viewport:B,checkboxVisibility:p,collapseAllVisibility:ot,getRowAriaLabel:be,getRowAriaDescribedBy:ye,checkButtonAriaLabel:Ce,checkboxCellClassName:Se,useReducedRowRenderer:xe,indentWidth:f,cellStyleProps:z,onRenderDetailsCheckbox:W,enableUpdateAnimations:ke,rowWidth:nt,useFastIcons:V,role:s,isGridRow:!0,focusZoneProps:l};return t?r(c):me?me(o,c):null},[h,G,S,d,Re,ne,re,fe,ge,ve,he,m,K,B,p,ot,be,ye,g,Ce,Se,xe,f,z,W,ke,V,Ie,me,u.onRenderRow,nt,Pe,Ne]),it=ht.useCallback(function(o){return function(e,t){return rt(o,e,t)}},[rt]),at=ht.useCallback(function(e){return e.which===dr(sr.right,O)},[O]),st=pt(pt({},Ee),{componentRef:Ee&&Ee.componentRef?Ee.componentRef:Q,className:Ee&&Ee.className?hi(Ze.focusZone,Ee.className):Ze.focusZone,direction:Ee?Ee.direction:xa.vertical,shouldEnterInnerZone:Ee&&Ee.shouldEnterInnerZone?Ee.shouldEnterInnerZone:at,onActiveElementChanged:Ee&&Ee.onActiveElementChanged?Ee.onActiveElementChanged:de,shouldRaiseClicksOnEnter:!1,onBlur:Ee&&Ee.onBlur?Ee.onBlur:pe}),lt=i&&(null==a?void 0:a.groupedListAs)?Hl(a.groupedListAs,uC):uC,ct=i?ht.createElement(lt,{focusZoneProps:st,componentRef:$,groups:i,groupProps:et,items:s,onRenderCell:rt,role:"presentation",selection:d,selectionMode:p!==Ab.hidden?S:ay.none,dragDropEvents:m,dragDropHelper:K,eventsToRegister:D,listProps:Be,onGroupExpandStateChanged:te,usePageCache:M,onShouldVirtualize:N,getGroupHeight:F,compact:h}):ht.createElement(Xs,pt({},st),ht.createElement(db,pt({ref:X,role:"presentation",items:s,onRenderCell:it(0),usePageCache:M,onShouldVirtualize:N},Be))),ut=ht.useCallback(function(e){e.which===sr.down&&Q.current&&Q.current.focus()&&(se&&0===d.getSelectedIndices().length&&d.setIndexSelected(0,!0,!1),e.preventDefault(),e.stopPropagation())},[d,Q,se]),dt=ht.useCallback(function(e){e.which!==sr.up||e.altKey||ee.current&&ee.current.focus()&&(e.preventDefault(),e.stopPropagation())},[ee]);return ht.createElement("div",pt({ref:Z,className:Ze.root,"data-automationid":"DetailsList","data-is-scrollable":"false"},T?{role:"application"}:{}),ht.createElement(sl,null),ht.createElement("div",{role:Pe,"aria-label":I||w,"aria-rowcount":l?0:qe,"aria-colcount":Ye,"aria-busy":l},ht.createElement("div",{onKeyDown:ut,role:"presentation",className:Ze.headerWrapper},g&&ze({componentRef:ee,selectionMode:S,layoutMode:c,selection:d,columns:G,onColumnClick:y,onColumnContextMenu:C,onColumnResized:le,onColumnIsSizingChanged:oe,onColumnAutoResized:ce,groupNestingDepth:Me,isAllCollapsed:U,onToggleCollapseAll:ue,ariaLabel:e,ariaLabelForSelectAllCheckbox:t,ariaLabelForSelectionColumn:o,selectAllVisibility:Ae,collapseAllVisibility:a&&a.collapseAllVisibility,viewport:B,columnReorderProps:je,minimumPixelsForDrag:A,cellStyleProps:z,checkboxVisibility:p,indentWidth:f,onRenderDetailsCheckbox:W,rowWidth:tt(G),useFastIcons:V},ze)),ht.createElement("div",{onKeyDown:dt,role:"presentation",className:Ze.contentWrapper},ie?ct:ht.createElement(Ay,pt({ref:De,selection:d,selectionPreservedOnEmptyClick:x,selectionMode:S,isSelectedOnFocus:se,selectionClearedOnEscapePress:se,toggleWithoutModifierPressed:!se,onItemInvoked:v,onItemContextMenu:b,enterModalOnTouch:we},k||{}),ct)),Ve(pt({},Ke))))},_C=function(t){function e(e){var y=t.call(this,e)||this;return y._root=ht.createRef(),y._header=ht.createRef(),y._groupedList=ht.createRef(),y._list=ht.createRef(),y._focusZone=ht.createRef(),y._selectionZone=ht.createRef(),y._onRenderRow=function(e,t){return ht.createElement(Py,pt({},e))},y._getDerivedStateFromProps=function(e,t){var o=y.props,n=o.checkboxVisibility,r=o.items,i=o.setKey,a=o.selectionMode,s=void 0===a?y._selection.mode:a,l=o.columns,c=o.viewport,u=o.compact,d=o.dragDropEvents,p=(y.props.groupProps||{}).isAllGroupsCollapsed,h=void 0===p?void 0:p,m=e.viewport&&e.viewport.width||0,f=c&&c.width||0,g=e.setKey!==i||void 0===e.setKey,v=!1;e.layoutMode!==y.props.layoutMode&&(v=!0);var b=t;return g&&(y._initialFocusedIndex=e.initialFocusedIndex,b=pt(pt({},b),{focusedItemIndex:void 0!==y._initialFocusedIndex?y._initialFocusedIndex:-1})),y.props.disableSelectionZone||e.items===r||y._selection.setItems(e.items,g),e.checkboxVisibility===n&&e.columns===l&&m===f&&e.compact===u||(v=!0),b=pt(pt({},b),y._adjustColumns(e,b,!0)),e.selectionMode!==s&&(v=!0),void 0===h&&e.groupProps&&void 0!==e.groupProps.isAllGroupsCollapsed&&(b=pt(pt({},b),{isCollapsed:e.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:!e.groupProps.isAllGroupsCollapsed})),e.dragDropEvents!==d&&(y._dragDropHelper&&y._dragDropHelper.dispose(),y._dragDropHelper=e.dragDropEvents?new fy({selection:y._selection,minimumPixelsForDrag:e.minimumPixelsForDrag}):void 0,v=!0),v&&(b=pt(pt({},b),{version:{}})),b},y._onGroupExpandStateChanged=function(e){y.setState({isSomeGroupExpanded:e})},y._onColumnIsSizingChanged=function(e,t){y.setState({isSizing:t})},y._onRowDidMount=function(e){var t=e.props,o=t.item,n=t.itemIndex,r=y._getItemKey(o,n);y._activeRows[r]=e,y._setFocusToRowIfPending(e);var i=y.props.onRowDidMount;i&&i(o,n)},y._onRowWillUnmount=function(e){var t=y.props.onRowWillUnmount,o=e.props,n=o.item,r=o.itemIndex,i=y._getItemKey(n,r);delete y._activeRows[i],t&&t(n,r)},y._onToggleCollapse=function(e){y.setState({isCollapsed:e}),y._groupedList.current&&y._groupedList.current.toggleCollapseAll(e)},y._onColumnResized=function(e,t,o){var n=Math.max(e.minWidth||vC,t);y.props.onColumnResize&&y.props.onColumnResize(e,n,o),y._rememberCalculatedWidth(e,n),y.setState(pt(pt({},y._adjustColumns(y.props,y.state,!0,o)),{version:{}}))},y._onColumnAutoResized=function(t,o){var n=0,r=0,i=Object.keys(y._activeRows).length;for(var e in y._activeRows)y._activeRows.hasOwnProperty(e)&&y._activeRows[e].measureCell(o,function(e){n=Math.max(n,e),++r===i&&y._onColumnResized(t,n,o)})},y._onActiveRowChanged=function(e,t){var o=y.props,n=o.items,r=o.onActiveItemChanged;if(e&&e.getAttribute("data-item-index")){var i=Number(e.getAttribute("data-item-index"));i>=0&&(r&&r(n[i],i,t),y.setState({focusedItemIndex:i}))}},y._onBlur=function(e){y.setState({focusedItemIndex:-1})},ua(y),y._async=new fa(y),y._activeRows={},y._columnOverrides={},y.state={focusedItemIndex:-1,lastWidth:0,adjustedColumns:y._getAdjustedColumns(e,void 0),isSizing:!1,isCollapsed:e.groupProps&&e.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:e.groupProps&&!e.groupProps.isAllGroupsCollapsed,version:{},getDerivedStateFromProps:y._getDerivedStateFromProps},Gi("DetailsList",e,{selection:"getKey"}),y._selection=e.selection||new Fy({onSelectionChanged:void 0,getKey:e.getKey,selectionMode:e.selectionMode}),y.props.disableSelectionZone||y._selection.setItems(e.items,!1),y._dragDropHelper=e.dragDropEvents?new fy({selection:y._selection,minimumPixelsForDrag:e.minimumPixelsForDrag}):void 0,y._initialFocusedIndex=e.initialFocusedIndex,y}return m(e,t),e.getDerivedStateFromProps=function(e,t){return t.getDerivedStateFromProps(e,t)},e.prototype.scrollToIndex=function(e,t,o){this._list.current&&this._list.current.scrollToIndex(e,t,o),this._groupedList.current&&this._groupedList.current.scrollToIndex(e,t,o)},e.prototype.focusIndex=function(e,t,o,n){void 0===t&&(t=!1);var r=this.props.items[e];if(r){this.scrollToIndex(e,o,n);var i=this._getItemKey(r,e),a=this._activeRows[i];a&&this._setFocusToRow(a,t)}},e.prototype.getStartItemIndexInView=function(){return this._list&&this._list.current?this._list.current.getStartItemIndexInView():this._groupedList&&this._groupedList.current?this._groupedList.current.getStartItemIndexInView():0},e.prototype.updateColumn=function(t,e){var o,n,r=this.props,i=r.columns,a=void 0===i?[]:i,s=r.selectionMode,l=r.checkboxVisibility,c=r.columnReorderOptions,u=e.width,d=e.newColumnIndex,p=a.findIndex(function(e){return e.key===t.key});if(u&&this._onColumnResized(t,u,p),void 0!==d&&c){var h=s===ay.none||l===Ab.hidden,m=(l!==Ab.hidden?2:1)+p,f=h?m-1:m-2,g=h?d-1:d-2,v=null!==(o=c.frozenColumnCountFromStart)&&void 0!==o?o:0,b=null!==(n=c.frozenColumnCountFromEnd)&&void 0!==n?n:0;if(g>=v&&g0&&-1!==this.state.focusedItemIndex&&!Ga(this._root.current,null==o?void 0:o.activeElement,!1)){var r,i=this.state.focusedItemIndex0;)e++,t=t[0].children;return e},e.prototype._setFocusToRowIfPending=function(e){var t=e.props.itemIndex;void 0!==this._initialFocusedIndex&&t===this._initialFocusedIndex&&(this._setFocusToRow(e),delete this._initialFocusedIndex)},e.prototype._setFocusToRow=function(e,t){void 0===t&&(t=!1),this._selectionZone.current&&this._selectionZone.current.ignoreNextFocus(),this._async.setTimeout(function(){e.focus(t)},0)},e.prototype._forceListUpdates=function(){this._groupedList.current&&this._groupedList.current.forceUpdate(),this._list.current&&this._list.current.forceUpdate()},e.prototype._notifyColumnsResized=function(){this.state.adjustedColumns.forEach(function(e){e.onColumnResize&&e.onColumnResize(e.currentWidth)})},e.prototype._adjustColumns=function(e,t,o,n){var r=this._getAdjustedColumns(e,t,o,n),i=this.props.viewport,a=i&&i.width?i.width:0;return pt(pt({},t),{adjustedColumns:r,lastWidth:a})},e.prototype._getAdjustedColumns=function(e,t,o,n){var r,i=this,a=e.items,s=e.layoutMode,l=e.selectionMode,c=e.viewport,u=c&&c.width?c.width:0,d=e.columns,p=this.props?this.props.columns:[],h=t?t.lastWidth:-1,m=t?t.lastSelectionMode:void 0;return o||h!==u||m!==l||p&&d!==p?(d=d||SC(a,!0),s===Bb.fixedColumns?(r=this._getFixedColumns(d,u,e)).forEach(function(e){i._rememberCalculatedWidth(e,e.calculatedWidth)}):(r=this._getJustifiedColumns(d,u,e)).forEach(function(e){i._getColumnOverride(e.key).currentWidth=e.calculatedWidth}),r):d||[]},e.prototype._getFixedColumns=function(e,o,t){var r=this,n=this.props,i=n.selectionMode,a=void 0===i?this._selection.mode:i,s=n.checkboxVisibility,l=n.flexMargin,c=n.skipViewportMeasures,u=o-(l||0),d=0;e.forEach(function(e){c||!e.flexGrow?u-=e.maxWidth||e.minWidth||vC:(u-=e.minWidth||vC,d+=e.flexGrow),u-=xC(e,t,!0)});var p=a!==ay.none&&s!==Ab.hidden?Xb:0,h=36*this._getGroupNestingDepth(),m=(u-=p+h)/d;return c||e.forEach(function(e){var t=pt(pt({},e),r._columnOverrides[e.key]);if(t.flexGrow&&t.maxWidth){var o=t.flexGrow*m+t.minWidth,n=o-t.maxWidth;n>0&&(u+=n,d-=n/(o-t.minWidth)*t.flexGrow)}}),m=u>0?u/d:0,e.map(function(e){var t=pt(pt({},e),r._columnOverrides[e.key]);return!c&&t.flexGrow&&u<=0&&0===o||t.calculatedWidth||(!c&&t.flexGrow?(t.calculatedWidth=t.minWidth+t.flexGrow*m,t.calculatedWidth=Math.min(t.calculatedWidth,t.maxWidth||Number.MAX_VALUE)):t.calculatedWidth=t.maxWidth||t.minWidth||vC),t})},e.prototype._getJustifiedColumns=function(e,t,r){var i=this,o=r.selectionMode,n=void 0===o?this._selection.mode:o,a=r.checkboxVisibility,s=r.skipViewportMeasures,l=n!==ay.none&&a!==Ab.hidden?Xb:0,c=36*this._getGroupNestingDepth(),u=0,d=0,p=t-(l+c),h=e.map(function(e,t){var o=pt(pt({},e),{calculatedWidth:e.minWidth||vC}),n=pt(pt({},o),i._columnOverrides[e.key]);return o.isCollapsible||o.isCollapsable||(d+=xC(o,r)),u+=xC(n,r),n});if(s)return h;for(var m=h.length-1;m>=0&&u>p;){var f=(y=h[m]).minWidth||vC,g=u-p;if(y.calculatedWidth-f>=g||!y.isCollapsible&&!y.isCollapsable){var v=y.calculatedWidth;d=(M||Id.small)&&ht.createElement(Mu,pt({ref:K},be),ht.createElement(Bc,pt({role:fe?"alertdialog":"dialog",ariaLabelledBy:D,ariaDescribedBy:T,onDismiss:x,shouldRestoreFocus:!b,enableAriaHiddenSiblings:L,"aria-modal":!B},O),ht.createElement("div",{className:ve.root,role:B?void 0:"document"},!B&&ht.createElement(NC,pt({"aria-hidden":!0,isDarkThemed:S,onClick:y?void 0:x,allowTouchBodyScroll:l},w)),A?ht.createElement(LC,{handleSelector:A.dragHandleSelector||"#".concat(U),preventDragSelector:"button",onStart:xe,onDragChange:ke,onStop:we,position:ne},Ie):Ie)))||null});VC.displayName="Modal";var KC=ir(VC,function(e){var t,o=e.className,n=e.containerClassName,r=e.scrollableContentClassName,i=e.isOpen,a=e.isVisible,s=e.hasBeenOpened,l=e.modalRectangleTop,c=e.theme,u=e.topOffsetFixed,d=e.isModeless,p=e.layerClassName,h=e.isDefaultDragHandle,m=e.windowInnerHeight,f=c.palette,g=c.effects,v=c.fonts,b=Ro(TC,c);return{root:[b.root,v.medium,{backgroundColor:"transparent",position:"fixed",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,pointerEvents:"none",transition:"opacity ".concat(EC)},u&&"number"==typeof l&&s&&{alignItems:"flex-start"},i&&b.isOpen,a&&{opacity:1},a&&!d&&{pointerEvents:"auto"},o],main:[b.main,{boxShadow:g.elevation64,borderRadius:g.roundedCorner2,backgroundColor:f.white,boxSizing:"border-box",position:"relative",textAlign:"left",outline:"3px solid transparent",maxHeight:"calc(100% - 32px)",maxWidth:"calc(100% - 32px)",minHeight:"176px",minWidth:"288px",overflowY:"auto",zIndex:d?Qo.Layer:void 0},d&&{pointerEvents:"auto"},u&&"number"==typeof l&&s&&{top:l},h&&{cursor:"move"},n],scrollableContent:[b.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:(t={},t["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:m},t)},r],layer:d&&[p,b.layer,{pointerEvents:"none"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:v.xLargePlus.fontSize,width:"24px"}}},void 0,{scope:"Modal",fields:["theme","styles","enableAriaHiddenSiblings"]});KC.displayName="Modal";var GC=vr(),UC=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.className,o=e.styles,n=e.theme;return this._classNames=GC(o,{theme:n,className:t}),ht.createElement("div",{className:this._classNames.actions},ht.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))},e.prototype._renderChildrenAsActions=function(){var t=this;return ht.Children.map(this.props.children,function(e){return e?ht.createElement("span",{className:t._classNames.action},e):null})},e}(ht.Component),jC={actions:"ms-Dialog-actions",action:"ms-Dialog-action",actionsRight:"ms-Dialog-actionsRight"},qC=ir(UC,function(e){var t=e.className,o=e.theme,n=Ro(jC,o);return{actions:[n.actions,{position:"relative",width:"100%",minHeight:"24px",lineHeight:"24px",margin:"16px 0 0",fontSize:"0",selectors:{".ms-Button":{lineHeight:"normal",verticalAlign:"middle"}}},t],action:[n.action,{margin:"0 4px"}],actionsRight:[n.actionsRight,{alignItems:"center",display:"flex",fontSize:"0",justifyContent:"flex-end",marginRight:"-4px"}]}},void 0,{scope:"DialogFooter"});qC.displayName="DialogFooter";var YC=vr(),ZC=ht.createElement(qC,null).type,XC=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),Ki("DialogContent",e,{titleId:"titleProps.id"}),t}return m(e,o),e.prototype.render=function(){var e,t=this.props,o=t.showCloseButton,n=t.className,r=t.closeButtonAriaLabel,i=t.onDismiss,a=t.subTextId,s=t.subText,l=t.titleProps,c=void 0===l?{}:l,u=t.titleId,d=t.title,p=t.type,h=t.styles,m=t.theme,f=t.draggableHeaderClassName,g=YC(h,{theme:m,className:n,isLargeHeader:p===kC.largeHeader,isClose:p===kC.close,draggableHeaderClassName:f}),v=this._groupChildren();return s&&(e=ht.createElement("p",{className:g.subText,id:a},s)),ht.createElement("div",{className:g.content},ht.createElement("div",{className:g.header},ht.createElement("div",pt({id:u,role:"heading","aria-level":1},c,{className:hi(g.title,c.className)}),d),ht.createElement("div",{className:g.topButton},this.props.topButtonsProps.map(function(e,t){return ht.createElement(xp,pt({key:e.uniqueId||t},e))}),(p===kC.close||o&&p!==kC.largeHeader)&&ht.createElement(xp,{className:g.button,iconProps:{iconName:"Cancel"},ariaLabel:r,onClick:i}))),ht.createElement("div",{className:g.inner},ht.createElement("div",{className:g.innerContent},e,v.contents),v.footers))},e.prototype._groupChildren=function(){var t={footers:[],contents:[]};return ht.Children.map(this.props.children,function(e){"object"==typeof e&&null!==e&&e.type===ZC?t.footers.push(e):t.contents.push(e)}),t},e.defaultProps={showCloseButton:!1,className:"",topButtonsProps:[],closeButtonAriaLabel:"Close"},u([Ad],e)}(ht.Component),QC={contentLgHeader:"ms-Dialog-lgHeader",close:"ms-Dialog--close",subText:"ms-Dialog-subText",header:"ms-Dialog-header",headerLg:"ms-Dialog--lgHeader",button:"ms-Dialog-button ms-Dialog-button--close",inner:"ms-Dialog-inner",content:"ms-Dialog-content",title:"ms-Dialog-title"},JC=ir(XC,function(e){var t,o,n,r=e.className,i=e.theme,a=e.isLargeHeader,s=e.isClose,l=e.hidden,c=e.isMultiline,u=e.draggableHeaderClassName,d=i.palette,p=i.fonts,h=i.effects,m=i.semanticColors,f=Ro(QC,i);return{content:[a&&[f.contentLgHeader,{borderTop:"4px solid ".concat(d.themePrimary)}],s&&f.close,{flexGrow:1,overflowY:"hidden"},r],subText:[f.subText,p.medium,{margin:"0 0 24px 0",color:m.bodySubtext,lineHeight:"1.5",wordWrap:"break-word",fontWeight:Qe.regular}],header:[f.header,{position:"relative",width:"100%",boxSizing:"border-box"},s&&f.close,u&&[u,{cursor:"move"}]],button:[f.button,l&&{selectors:{".ms-Icon.ms-Icon--Cancel":{color:m.buttonText,fontSize:Je.medium}}}],inner:[f.inner,{padding:"0 24px 24px",selectors:(t={},t["@media (min-width: ".concat(Fo,"px) and (max-width: ").concat(Vo,"px)")]={padding:"0 16px 16px"},t)}],innerContent:[f.content,{position:"relative",width:"100%"}],title:[f.title,p.xLarge,{color:m.bodyText,margin:"0",minHeight:p.xLarge.fontSize,padding:"16px 46px 20px 24px",lineHeight:"normal",selectors:(o={},o["@media (min-width: ".concat(Fo,"px) and (max-width: ").concat(Vo,"px)")]={padding:"16px 46px 16px 16px"},o)},a&&{color:m.menuHeader},c&&{fontSize:p.xxLarge.fontSize}],topButton:[{display:"flex",flexDirection:"row",flexWrap:"nowrap",position:"absolute",top:"0",right:"0",padding:"15px 15px 0 0",selectors:(n={"> *":{flex:"0 0 auto"},".ms-Dialog-button":{color:m.buttonText},".ms-Dialog-button:hover":{color:m.buttonTextHovered,borderRadius:h.roundedCorner2}},n["@media (min-width: ".concat(Fo,"px) and (max-width: ").concat(Vo,"px)")]={padding:"15px 8px 0 0"},n)}]}},void 0,{scope:"DialogContent"});JC.displayName="DialogContent";var $C,e_=vr(),t_={isDarkOverlay:!1,isBlocking:!1,className:"",containerClassName:"",topOffsetFixed:!1,enableAriaHiddenSiblings:!0},o_={type:kC.normal,className:"",topButtonsProps:[]},n_=function(t){function e(e){var a=t.call(this,e)||this;return a._getSubTextId=function(){var e=a.props,t=e.ariaDescribedById,o=e.modalProps,n=e.dialogContentProps,r=e.subText,i=o&&o.subtitleAriaId||t;return i||(i=(n&&n.subText||r)&&a._defaultSubTextId),i},a._getTitleTextId=function(){var e=a.props,t=e.ariaLabelledById,o=e.modalProps,n=e.dialogContentProps,r=e.title,i=o&&o.titleAriaId||t;return i||(i=(n&&n.title||r)&&a._defaultTitleTextId),i},a._id=bs("Dialog"),a._defaultTitleTextId=a._id+"-title",a._defaultSubTextId=a._id+"-subText",Ki("Dialog",e,{isOpen:"hidden",type:"dialogContentProps.type",subText:"dialogContentProps.subText",contentClassName:"dialogContentProps.className",topButtonsProps:"dialogContentProps.topButtonsProps",className:"modalProps.className",isDarkOverlay:"modalProps.isDarkOverlay",isBlocking:"modalProps.isBlocking",containerClassName:"modalProps.containerClassName",onDismissed:"modalProps.onDismissed",onLayerDidMount:"modalProps.layerProps.onLayerDidMount",ariaDescribedById:"modalProps.subtitleAriaId",ariaLabelledById:"modalProps.titleAriaId"}),a}return m(e,t),e.prototype.render=function(){var e,t,o,n,r,i=this.props,a=i.className,s=i.containerClassName,l=i.contentClassName,c=i.elementToFocusOnDismiss,u=i.firstFocusableSelector,d=i.forceFocusInsideTrap,p=i.styles,h=i.hidden,m=i.disableRestoreFocus,f=void 0===m?i.ignoreExternalFocusing:m,g=i.isBlocking,v=i.isClickableOutsideFocusTrap,b=i.isDarkOverlay,y=i.isOpen,C=void 0===y?!h:y,_=i.onDismiss,S=i.onDismissed,x=i.onLayerDidMount,k=i.responsiveMode,w=i.subText,I=i.theme,D=i.title,E=i.topButtonsProps,T=i.type,P=i.minWidth,R=i.maxWidth,M=i.modalProps,N=pt({onLayerDidMount:x},null==M?void 0:M.layerProps);(null==M?void 0:M.dragOptions)&&!(null===(e=M.dragOptions)||void 0===e?void 0:e.dragHandleSelector)&&(n="ms-Dialog-draggable-header",(r=pt({},M.dragOptions)).dragHandleSelector=".".concat(n));var B=pt(pt(pt(pt({},t_),{elementToFocusOnDismiss:c,firstFocusableSelector:u,forceFocusInsideTrap:d,disableRestoreFocus:f,isClickableOutsideFocusTrap:v,responsiveMode:k,className:a,containerClassName:s,isBlocking:g,isDarkOverlay:b,onDismissed:S}),M),{dragOptions:r,layerProps:N,isOpen:C}),A=pt(pt(pt({className:l,subText:w,title:D,topButtonsProps:E,type:T},o_),i.dialogContentProps),{draggableHeaderClassName:n,titleProps:pt({id:(null===(t=i.dialogContentProps)||void 0===t?void 0:t.titleId)||this._defaultTitleTextId},null===(o=i.dialogContentProps)||void 0===o?void 0:o.titleProps)}),F=e_(p,{theme:I,className:B.className,containerClassName:B.containerClassName,hidden:h,dialogDefaultMinWidth:P,dialogDefaultMaxWidth:R});return ht.createElement(KC,pt({},B,{className:F.root,containerClassName:F.main,onDismiss:_||B.onDismiss,subtitleAriaId:this._getSubTextId(),titleAriaId:this._getTitleTextId()}),ht.createElement(JC,pt({subTextId:this._defaultSubTextId,showCloseButton:B.isBlocking,onDismiss:_},A),i.children))},e.defaultProps={hidden:!0},u([Ad],e)}(ht.Component),r_={root:"ms-Dialog"},i_=ir(n_,function(e){var t,o=e.className,n=e.containerClassName,r=e.dialogDefaultMinWidth,i=void 0===r?"288px":r,a=e.dialogDefaultMaxWidth,s=void 0===a?"340px":a,l=e.hidden,c=e.theme;return{root:[Ro(r_,c).root,c.fonts.medium,o],main:[{width:i,outline:"3px solid transparent",selectors:(t={},t["@media (min-width: ".concat(Lo,"px)")]={width:"auto",maxWidth:s,minWidth:i},t)},!l&&{display:"flex"},n]}},void 0,{scope:"Dialog"});i_.displayName="Dialog",function(e){e[e.normal=0]="normal",e[e.compact=1]="compact"}($C||($C={}));var a_,s_=vr(),l_=ht.createContext({}),c_=function(t){function e(e){var a=t.call(this,e)||this;return a._rootElement=ht.createRef(),a._onClick=function(e){a._onAction(e)},a._onKeyDown=function(e){e.which!==sr.enter&&e.which!==sr.space||a._onAction(e)},a._onAction=function(e){var t=a.props,o=t.onClick,n=t.onClickHref,r=t.onClickTarget,i=zc(a.context);o?o(e):!o&&n&&(r?i.open(n,r,"noreferrer noopener nofollow"):i.location.href=n,e.preventDefault(),e.stopPropagation())},ua(a),Ki("DocumentCard",e,{accentColor:void 0}),a}return m(e,t),e.prototype.render=function(){var e,t=this.props,o=t.onClick,n=t.onClickHref,r=t.children,i=t.type,a=t.accentColor,s=t.styles,l=t.theme,c=t.className,u=qr(this.props,jr,["className","onClick","type","role"]),d=!(!o&&!n);this._classNames=s_(s,{theme:l,className:c,actionable:d,compact:i===$C.compact}),i===$C.compact&&a&&(e={borderBottomColor:a});var p={role:this.props.role||(d?o?"button":"link":void 0),tabIndex:d?0:void 0};return ht.createElement("div",pt({ref:this._rootElement,role:"group",className:this._classNames.root,onKeyDown:d?this._onKeyDown:void 0,onClick:d?this._onClick:void 0,style:e},u),ht.createElement(l_.Provider,{value:p},r))},e.prototype.focus=function(){this._rootElement.current&&this._rootElement.current.focus()},e.defaultProps={type:$C.normal},e.contextType=ga,e}(ht.Component),u_={root:"ms-DocumentCardPreview",icon:"ms-DocumentCardPreview-icon",iconContainer:"ms-DocumentCardPreview-iconContainer"},d_={root:"ms-DocumentCardActivity",multiplePeople:"ms-DocumentCardActivity--multiplePeople",details:"ms-DocumentCardActivity-details",name:"ms-DocumentCardActivity-name",activity:"ms-DocumentCardActivity-activity",avatars:"ms-DocumentCardActivity-avatars",avatar:"ms-DocumentCardActivity-avatar"},p_={root:"ms-DocumentCardTitle"},h_={root:"ms-DocumentCardLocation"},m_={root:"ms-DocumentCard",rootActionable:"ms-DocumentCard--actionable",rootCompact:"ms-DocumentCard--compact"},f_=ir(c_,function(e){var t,o,n=e.className,r=e.theme,i=e.actionable,a=e.compact,s=r.palette,l=r.fonts,c=r.effects,u=Ro(m_,r);return{root:[u.root,{WebkitFontSmoothing:"antialiased",backgroundColor:s.white,border:"1px solid ".concat(s.neutralLight),maxWidth:"320px",minWidth:"206px",userSelect:"none",position:"relative",selectors:(t={":focus":{outline:"0px solid"}},t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]=an(s.neutralSecondary,c.roundedCorner2),t[".".concat(h_.root," + .").concat(p_.root)]={paddingTop:"4px"},t)},i&&[u.rootActionable,{selectors:{":hover":{cursor:"pointer",borderColor:s.neutralTertiaryAlt},":hover:after":{content:'" "',position:"absolute",top:0,right:0,bottom:0,left:0,border:"1px solid ".concat(s.neutralTertiaryAlt),pointerEvents:"none"}}}],a&&[u.rootCompact,{display:"flex",maxWidth:"480px",height:"108px",selectors:(o={},o[".".concat(u_.root)]={borderRight:"1px solid ".concat(s.neutralLight),borderBottom:0,maxHeight:"106px",maxWidth:"144px"},o[".".concat(u_.icon)]={maxHeight:"32px",maxWidth:"32px"},o[".".concat(d_.root)]={paddingBottom:"12px"},o[".".concat(p_.root)]={paddingBottom:"12px 16px 8px 16px",fontSize:l.mediumPlus.fontSize,lineHeight:"16px"},o)}],n]}},void 0,{scope:"DocumentCard"}),g_=vr(),v_=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var o=this,e=this.props,t=e.actions,n=e.views,r=e.styles,i=e.theme,a=e.className;return this._classNames=g_(r,{theme:i,className:a}),ht.createElement("div",{className:this._classNames.root},t&&t.map(function(e,t){return ht.createElement("div",{className:o._classNames.action,key:t},ht.createElement(xp,pt({},e)))}),n>0&&ht.createElement("div",{className:this._classNames.views},ht.createElement(wi,{iconName:"View",className:this._classNames.viewsIcon}),n))},e}(ht.Component),b_={root:"ms-DocumentCardActions",action:"ms-DocumentCardActions-action",views:"ms-DocumentCardActions-views"},y_=ir(v_,function(e){var t=e.className,o=e.theme,n=o.palette,r=o.fonts,i=Ro(b_,o);return{root:[i.root,{height:"".concat(34,"px"),padding:"".concat(4,"px ").concat(12,"px"),position:"relative"},t],action:[i.action,{float:"left",marginRight:"4px",color:n.neutralSecondary,cursor:"pointer",selectors:{".ms-Button":{fontSize:r.mediumPlus.fontSize,height:34,width:34},".ms-Button:hover .ms-Button-icon":{color:o.semanticColors.buttonText,cursor:"pointer"}}}],views:[i.views,{textAlign:"right",lineHeight:34}],viewsIcon:{marginRight:"8px",fontSize:r.medium.fontSize,verticalAlign:"top"}}},void 0,{scope:"DocumentCardActions"}),C_=vr(),__=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.activity,o=e.people,n=e.styles,r=e.theme,i=e.className;return this._classNames=C_(n,{theme:r,className:i,multiplePeople:o.length>1}),o&&0!==o.length?ht.createElement("div",{className:this._classNames.root},this._renderAvatars(o),ht.createElement("div",{className:this._classNames.details},ht.createElement("span",{className:this._classNames.name},this._getNameString(o)),ht.createElement("span",{className:this._classNames.activity},t))):null},e.prototype._renderAvatars=function(e){return ht.createElement("div",{className:this._classNames.avatars},e.length>1?this._renderAvatar(e[1]):null,this._renderAvatar(e[0]))},e.prototype._renderAvatar=function(e){return ht.createElement("div",{className:this._classNames.avatar},ht.createElement(ia,{imageInitials:e.initials,text:e.name,imageUrl:e.profileImageSrc,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,role:"presentation",size:mi.size32}))},e.prototype._getNameString=function(e){var t=e[0].name;return e.length>=2&&(t+=" +"+(e.length-1)),t},e}(ht.Component),S_=ir(__,function(e){var t=e.theme,o=e.className,n=e.multiplePeople,r=t.palette,i=t.fonts,a=Ro(d_,t);return{root:[a.root,n&&a.multiplePeople,{padding:"".concat(8,"px ").concat(16,"px"),position:"relative"},o],avatars:[a.avatars,{marginLeft:"-2px",height:"32px"}],avatar:[a.avatar,{display:"inline-block",verticalAlign:"top",position:"relative",textAlign:"center",width:32,height:32,selectors:{"&:after":{content:'" "',position:"absolute",left:"-1px",top:"-1px",right:"-1px",bottom:"-1px",border:"2px solid ".concat(r.white),borderRadius:"50%"},":nth-of-type(2)":n&&{marginLeft:"-16px"}}}],details:[a.details,{left:"".concat(n?72:56,"px"),height:32,position:"absolute",top:8,width:"calc(100% - ".concat(72,"px)")}],name:[a.name,{display:"block",fontSize:i.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:r.neutralPrimary,fontWeight:Qe.semibold}],activity:[a.activity,{display:"block",fontSize:i.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:r.neutralSecondary}]}},void 0,{scope:"DocumentCardActivity"}),x_=vr(),k_=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.children,o=e.styles,n=e.theme,r=e.className;return this._classNames=x_(o,{theme:n,className:r}),ht.createElement("div",{className:this._classNames.root},t)},e}(ht.Component),w_={root:"ms-DocumentCardDetails"},I_=ir(k_,function(e){var t=e.className,o=e.theme;return{root:[Ro(w_,o).root,{display:"flex",flexDirection:"column",flex:1,justifyContent:"space-between",overflow:"hidden"},t]}},void 0,{scope:"DocumentCardDetails"}),D_=vr(),E_=function(o){function e(e){var t=o.call(this,e)||this;return t._onImageLoad=function(){t.setState({imageHasLoaded:!0})},ua(t),t.state={imageHasLoaded:!1},t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.styles,o=e.width,n=e.height,r=e.imageFit,i=e.imageSrc;return this._classNames=D_(t,this.props),ht.createElement("div",{className:this._classNames.root},i&&ht.createElement(ui,{width:o,height:n,imageFit:r,src:i,role:"presentation",alt:"",onLoad:this._onImageLoad}),this.state.imageHasLoaded?this._renderCornerIcon():this._renderCenterIcon())},e.prototype._renderCenterIcon=function(){var e=this.props.iconProps;return ht.createElement("div",{className:this._classNames.centeredIconWrapper},ht.createElement(wi,pt({className:this._classNames.centeredIcon},e)))},e.prototype._renderCornerIcon=function(){var e=this.props.iconProps;return ht.createElement(wi,pt({className:this._classNames.cornerIcon},e))},e}(ht.Component),T_="42px",P_="32px",R_=ir(E_,function(e){var t=e.theme,o=e.className,n=e.height,r=e.width,i=t.palette;return{root:[{borderBottom:"1px solid ".concat(i.neutralLight),position:"relative",backgroundColor:i.neutralLighterAlt,overflow:"hidden",height:n&&"".concat(n,"px"),width:r&&"".concat(r,"px")},o],centeredIcon:[{height:T_,width:T_,fontSize:T_}],centeredIconWrapper:[{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",position:"absolute",top:0,left:0}],cornerIcon:[{left:"10px",bottom:"10px",height:P_,width:P_,fontSize:P_,position:"absolute",overflow:"visible"}]}},void 0,{scope:"DocumentCardImage"}),M_=vr(),N_=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.location,o=e.locationHref,n=e.ariaLabel,r=e.onClick,i=e.styles,a=e.theme,s=e.className;return this._classNames=M_(i,{theme:a,className:s}),ht.createElement("a",{className:this._classNames.root,href:o,onClick:r,"aria-label":n},t)},e}(ht.Component),B_=ir(N_,function(e){var t=e.theme,o=e.className,n=t.palette,r=t.fonts;return{root:[Ro(h_,t).root,r.small,{color:n.themePrimary,display:"block",fontWeight:Qe.semibold,overflow:"hidden",padding:"8px 16px",position:"relative",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",selectors:{":hover":{color:n.themePrimary,cursor:"pointer"}}},o]}},void 0,{scope:"DocumentCardLocation"}),A_=vr(),F_=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.logoIcon,o=e.styles,n=e.theme,r=e.className;return this._classNames=A_(o,{theme:n,className:r}),ht.createElement("div",{className:this._classNames.root},ht.createElement(wi,{iconName:t}))},e}(ht.Component),L_={root:"ms-DocumentCardLogo"},O_=ir(F_,function(e){var t=e.theme,o=e.className,n=t.palette,r=t.fonts;return{root:[Ro(L_,t).root,{fontSize:r.xxLargePlus.fontSize,color:n.themePrimary,display:"block",padding:"16px 16px 0 16px"},o]}},void 0,{scope:"DocumentCardLogo"}),H_=vr(),z_=function(t){function e(e){var l=t.call(this,e)||this;return l._renderPreviewList=function(e){var t=l.props,o=t.getOverflowDocumentCountText,n=t.maxDisplayCount,r=void 0===n?3:n,i=e.length-r,a=i?o?o(i):"+"+i:null,s=e.slice(0,r).map(function(e,t){return ht.createElement("li",{key:t},ht.createElement(ui,{className:l._classNames.fileListIcon,src:e.iconSrc,role:"presentation",alt:"",width:"16px",height:"16px"}),ht.createElement(gl,pt({className:l._classNames.fileListLink,href:e.url},e.linkProps),e.name))});return ht.createElement("div",null,ht.createElement("ul",{className:l._classNames.fileList},s),a&&ht.createElement("span",{className:l._classNames.fileListOverflowText},a))},ua(l),l}return m(e,t),e.prototype.render=function(){var e,t,o=this.props,n=o.previewImages,r=o.styles,i=o.theme,a=o.className,s=n.length>1;return this._classNames=H_(r,{theme:i,className:a,isFileList:s}),n.length>1?t=this._renderPreviewList(n):1===n.length&&(t=this._renderPreviewImage(n[0]),n[0].accentColor&&(e={borderBottomColor:n[0].accentColor})),ht.createElement("div",{className:this._classNames.root,style:e},t)},e.prototype._renderPreviewImage=function(e){var t=e.width,o=e.height,n=e.imageFit,r=e.previewIconProps,i=e.previewIconContainerClass;if(r)return ht.createElement("div",{className:hi(this._classNames.previewIcon,i),style:{width:t,height:o}},ht.createElement(wi,pt({},r)));var a,s=ht.createElement(ui,{width:t,height:o,imageFit:n,src:e.previewImageSrc,role:"presentation",alt:""});return e.iconSrc&&(a=ht.createElement(ui,{className:this._classNames.icon,src:e.iconSrc,role:"presentation",alt:""})),ht.createElement("div",null,s,a)},e}(ht.Component),W_=ir(z_,function(e){var t,o,n=e.theme,r=e.className,i=e.isFileList,a=n.palette,s=n.fonts,l=Ro(u_,n);return{root:[l.root,s.small,{backgroundColor:i?a.white:a.neutralLighterAlt,borderBottom:"1px solid ".concat(a.neutralLight),overflow:"hidden",position:"relative"},r],previewIcon:[l.iconContainer,{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}],icon:[l.icon,{left:"10px",bottom:"10px",position:"absolute"}],fileList:{padding:"16px 16px 0 16px",listStyleType:"none",margin:0,selectors:{li:{height:"16px",lineHeight:"16px",display:"flex",flexWrap:"nowrap",alignItems:"center",marginBottom:"8px",overflow:"hidden"}}},fileListIcon:{display:"inline-block",flexShrink:0,marginRight:"8px"},fileListLink:[on(n,{highContrastStyle:{border:"1px solid WindowText",outline:"none"}}),{boxSizing:"border-box",color:a.neutralDark,flexGrow:1,overflow:"hidden",display:"inline-block",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",selectors:(t={":hover":{color:a.themePrimary}},t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={selectors:(o={},o[Mo]={outline:"none"},o)},t)}],fileListOverflowText:{padding:"0px 16px 8px 16px",display:"block"}}},void 0,{scope:"DocumentCardPreview"}),V_=vr(),K_=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.statusIcon,o=e.status,n=e.styles,r=e.theme,i=e.className,a={iconName:t,styles:{root:{padding:"8px"}}};return this._classNames=V_(n,{theme:r,className:i}),ht.createElement("div",{className:this._classNames.root},t&&ht.createElement(wi,pt({},a)),o)},e}(ht.Component),G_={root:"ms-DocumentCardStatus"},U_=ir(K_,function(e){var t=e.className,o=e.theme,n=o.palette,r=o.fonts;return{root:[Ro(G_,o).root,r.medium,{margin:"8px 16px",color:n.neutralPrimary,backgroundColor:n.neutralLighter,height:"32px"},t]}},void 0,{scope:"DocumentCardStatus"}),j_=vr(),q_=function(t){function e(e){var l=t.call(this,e)||this;return l._titleElement=ht.createRef(),l._truncateTitle=function(){l._needMeasurement&&l._async.requestAnimationFrame(l._truncateWhenInAnimation)},l._truncateWhenInAnimation=function(){var e=l.props.title,t=l._titleElement.current;if(t){var o=getComputedStyle(t);if(o.width&&o.lineHeight&&o.height){var n=t.clientWidth,r=t.scrollWidth;l._clientWidth=n;var i=Math.floor((parseInt(o.height,10)+5)/parseInt(o.lineHeight,10));t.style.whiteSpace="";var a=r/(parseInt(o.width,10)*i);if(a>1){var s=e.length/a-3;return l.setState({truncatedTitleFirstPiece:e.slice(0,s/2),truncatedTitleSecondPiece:e.slice(e.length-s/2)})}}}},l._shrinkTitle=function(){var e=l.state,t=e.truncatedTitleFirstPiece,o=e.truncatedTitleSecondPiece;if(t&&o){var n=l._titleElement.current;if(!n)return;(n.scrollHeight>n.clientHeight+5||n.scrollWidth>n.clientWidth)&&l.setState({truncatedTitleFirstPiece:t.slice(0,t.length-1),truncatedTitleSecondPiece:o.slice(1)})}},ua(l),l._async=new fa(l),l._events=new xl(l),l._clientWidth=void 0,l.state={truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0},l}return m(e,t),e.prototype.componentDidUpdate=function(e){var t=this;if(this.props.title!==e.title&&this.setState({truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0}),e.shouldTruncate!==this.props.shouldTruncate){var o=zc(this.context);this.props.shouldTruncate?(this._truncateTitle(),this._async.requestAnimationFrame(this._shrinkTitle),this._events.on(o,"resize",this._updateTruncation)):this._events.off(o,"resize",this._updateTruncation)}else this._needMeasurement&&this._async.requestAnimationFrame(function(){t._truncateWhenInAnimation(),t._shrinkTitle()})},e.prototype.componentDidMount=function(){if(this.props.shouldTruncate){this._truncateTitle();var e=zc(this.context);this._events.on(e,"resize",this._updateTruncation)}},e.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},e.prototype.render=function(){var n=this,e=this.props,r=e.title,t=e.shouldTruncate,o=e.showAsSecondaryTitle,i=e.styles,a=e.theme,s=e.className,l=this.state,c=l.truncatedTitleFirstPiece,u=l.truncatedTitleSecondPiece;return this._classNames=j_(i,{theme:a,className:s,showAsSecondaryTitle:o}),t&&c&&u?ht.createElement(l_.Consumer,null,function(e){var t=e.role,o=e.tabIndex;return ht.createElement("div",{className:n._classNames.root,ref:n._titleElement,title:r,tabIndex:o,role:t},c,"…",u)}):ht.createElement(l_.Consumer,null,function(e){var t=e.role,o=e.tabIndex;return ht.createElement("div",{className:n._classNames.root,ref:n._titleElement,title:r,tabIndex:o,role:t,style:n._needMeasurement?{whiteSpace:"nowrap"}:void 0},r)})},Object.defineProperty(e.prototype,"_needMeasurement",{get:function(){return!!this.props.shouldTruncate&&void 0===this._clientWidth},enumerable:!1,configurable:!0}),e.prototype._updateTruncation=function(){var e=this;this._timerId||(this._timerId=this._async.setTimeout(function(){delete e._timerId,e._clientWidth=void 0,e.setState({truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0})},250))},e.contextType=ga,e}(ht.Component),Y_=ir(q_,function(e){var t,o=e.theme,n=e.className,r=e.showAsSecondaryTitle,i=o.palette,a=o.fonts,s=o.effects;return{root:[Ro(p_,o).root,r?a.medium:a.large,{padding:"8px 16px",display:"block",overflow:"hidden",position:"relative",wordWrap:"break-word",height:r?"45px":"38px",lineHeight:r?"18px":"21px",color:r?i.neutralSecondary:i.neutralPrimary,selectors:(t={":focus":{outline:"0px solid"}},t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]=an(i.neutralSecondary,s.roundedCorner2),t)},n]}},void 0,{scope:"DocumentCardTitle"}),Z_=function(o){var n;return function(e){n||(n=new Set,ca(o,{componentWillUnmount:function(){n.forEach(function(e){return cancelAnimationFrame(e)})}}));var t=requestAnimationFrame(function(){n.delete(t),e()});n.add(t)}},X_=function(){function e(){this._size=0}return e.prototype.updateOptions=function(e){for(var t=[],o=[],n=0,r=0;rthis._notSelectableOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index ".concat(e," is not a selectable element."));if(this._notSelectableOptionsCache[t]!==e)return e-t+1}},e}();!function(e){e[e.smallFluid=0]="smallFluid",e[e.smallFixedFar=1]="smallFixedFar",e[e.smallFixedNear=2]="smallFixedNear",e[e.medium=3]="medium",e[e.large=4]="large",e[e.largeFixed=5]="largeFixed",e[e.extraLarge=6]="extraLarge",e[e.custom=7]="custom",e[e.customNear=8]="customNear"}(a_||(a_={}));var Q_,J_=vr();!function(e){e[e.closed=0]="closed",e[e.animatingOpen=1]="animatingOpen",e[e.open=2]="open",e[e.animatingClosed=3]="animatingClosed"}(Q_||(Q_={}));var $_,eS,tS,oS,nS,rS=function(n){function e(e){var s=n.call(this,e)||this;s._panel=ht.createRef(),s._animationCallback=null,s._hasCustomNavigation=!(!s.props.onRenderNavigation&&!s.props.onRenderNavigationContent),s.dismiss=function(e){s.props.onDismiss&&s.isActive&&s.props.onDismiss(e),(!e||e&&!e.defaultPrevented)&&s.close()},s._allowScrollOnPanel=function(t){var e;s._resizeObserver=s._createResizeObserver(function(e){e.length>0&&e[0].target===t&&s._updateFooterPosition()}),t?(null===(e=s._resizeObserver)||void 0===e||e.observe(t),s._allowTouchBodyScroll?ks(t,s._events):xs(t,s._events)):s._events.off(s._scrollableContent),s._scrollableContent=t},s._onRenderNavigation=function(e){if(!s.props.onRenderNavigationContent&&!s.props.onRenderNavigation&&!s.props.hasCloseButton)return null;var t=s.props.onRenderNavigationContent,o=void 0===t?s._onRenderNavigationContent:t;return ht.createElement("div",{className:s._classNames.navigation},o(e,s._onRenderNavigationContent))},s._onRenderNavigationContent=function(e){var t,o=e.closeButtonAriaLabel,n=e.hasCloseButton,r=e.onRenderHeader,i=void 0===r?s._onRenderHeader:r;if(n){var a=null===(t=s._classNames.subComponentStyles)||void 0===t?void 0:t.closeButton();return ht.createElement(ht.Fragment,null,!s._hasCustomNavigation&&i(s.props,s._onRenderHeader,s._headerTextId),ht.createElement(xp,{styles:a,className:s._classNames.closeButton,onClick:s._onPanelClick,ariaLabel:o,title:o,"data-is-visible":!0,iconProps:{iconName:"Cancel"}}))}return null},s._onRenderHeader=function(e,t,o){var n=e.headerText,r=e.headerTextProps,i=void 0===r?{}:r;return n?ht.createElement("div",{className:s._classNames.header},ht.createElement("div",pt({id:o,role:"heading","aria-level":1},i,{className:hi(s._classNames.headerText,i.className)}),n)):null},s._onRenderBody=function(e){return ht.createElement("div",{className:s._classNames.content},e.children)},s._onRenderFooter=function(e){var t=s.props.onRenderFooterContent,o=void 0===t?null:t;return o?ht.createElement("div",{className:s._classNames.footer},ht.createElement("div",{className:s._classNames.footerInner},o())):null},s._animateTo=function(e){e===Q_.open&&s.props.onOpen&&s.props.onOpen(),s._animationCallback=s._async.setTimeout(function(){s.setState({visibility:e}),s._onTransitionComplete(e)},200)},s._clearExistingAnimationTimer=function(){null!==s._animationCallback&&s._async.clearTimeout(s._animationCallback)},s._onPanelClick=function(e){s.dismiss(e)},s._onTransitionComplete=function(e){s._updateFooterPosition(),e===Q_.open&&s.props.onOpened&&s.props.onOpened(),e===Q_.closed&&s.props.onDismissed&&s.props.onDismissed()};var t=s.props.allowTouchBodyScroll,o=void 0!==t&&t;return s._allowTouchBodyScroll=o,ua(s),Ki("Panel",e,{ignoreExternalFocusing:"focusTrapZoneProps",forceFocusInsideTrap:"focusTrapZoneProps",firstFocusableSelector:"focusTrapZoneProps"}),s.state={isFooterSticky:!1,visibility:Q_.closed,id:bs("Panel")},s}return m(e,n),e.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?null:!e.isOpen||t.visibility!==Q_.closed&&t.visibility!==Q_.animatingClosed?e.isOpen||t.visibility!==Q_.open&&t.visibility!==Q_.animatingOpen?null:{visibility:Q_.animatingClosed}:{visibility:Q_.animatingOpen}},e.prototype.componentDidMount=function(){this._async=new fa(this),this._events=new xl(this);var e=zc(this.context),t=Hc(this.context);this._events.on(e,"resize",this._updateFooterPosition),this._shouldListenForOuterClick(this.props)&&this._events.on(null==t?void 0:t.body,"mousedown",this._dismissOnOuterClick,!0),this.props.isOpen&&this.setState({visibility:Q_.animatingOpen})},e.prototype.componentDidUpdate=function(e,t){var o=this._shouldListenForOuterClick(this.props),n=this._shouldListenForOuterClick(e);this.state.visibility!==t.visibility&&(this._clearExistingAnimationTimer(),this.state.visibility===Q_.animatingOpen?this._animateTo(Q_.open):this.state.visibility===Q_.animatingClosed&&this._animateTo(Q_.closed));var r=Hc(this.context);o&&!n?this._events.on(null==r?void 0:r.body,"mousedown",this._dismissOnOuterClick,!0):!o&&n&&this._events.off(null==r?void 0:r.body,"mousedown",this._dismissOnOuterClick,!0)},e.prototype.componentWillUnmount=function(){var e;this._async.dispose(),this._events.dispose(),null===(e=this._resizeObserver)||void 0===e||e.disconnect()},e.prototype.render=function(){var e=this.props,t=e.className,o=void 0===t?"":t,n=e.elementToFocusOnDismiss,r=e.firstFocusableSelector,i=e.focusTrapZoneProps,a=e.forceFocusInsideTrap,s=e.hasCloseButton,l=e.headerText,c=e.headerClassName,u=void 0===c?"":c,d=e.ignoreExternalFocusing,p=e.isBlocking,h=e.isFooterAtBottom,m=e.isLightDismiss,f=e.isHiddenOnDismiss,g=e.layerProps,v=e.overlayProps,b=e.popupProps,y=e.type,C=e.styles,_=e.theme,S=e.customWidth,x=e.onLightDismissClick,k=void 0===x?this._onPanelClick:x,w=e.onRenderNavigation,I=void 0===w?this._onRenderNavigation:w,D=e.onRenderHeader,E=void 0===D?this._onRenderHeader:D,T=e.onRenderBody,P=void 0===T?this._onRenderBody:T,R=e.onRenderFooter,M=void 0===R?this._onRenderFooter:R,N=this.state,B=N.isFooterSticky,A=N.visibility,F=N.id,L=y===a_.smallFixedNear||y===a_.customNear,O=cr(_)?L:!L,H=y===a_.custom||y===a_.customNear?{width:S}:{},z=qr(this.props,jr),W=this.isActive,V=A===Q_.animatingClosed||A===Q_.animatingOpen;if(this._headerTextId=l&&F+"-headerText",!W&&!V&&!f)return null;this._classNames=J_(C,{theme:_,className:o,focusTrapZoneClassName:i?i.className:void 0,hasCloseButton:s,headerClassName:u,isAnimating:V,isFooterSticky:B,isFooterAtBottom:h,isOnRightSide:O,isOpen:W,isHiddenOnDismiss:f,type:y,hasCustomNavigation:this._hasCustomNavigation});var K,G=this._classNames,U=this._allowTouchBodyScroll;return p&&W&&(K=ht.createElement(NC,pt({className:G.overlay,isDarkThemed:!1,onClick:m?k:void 0,allowTouchBodyScroll:U},v))),ht.createElement(Mu,pt({},g),ht.createElement(Bc,pt({role:"dialog","aria-modal":p?"true":void 0,ariaLabelledBy:this._headerTextId?this._headerTextId:void 0,onDismiss:this.dismiss,className:G.hiddenPanel,enableAriaHiddenSiblings:!!W},b),ht.createElement("div",pt({"aria-hidden":!W&&V},z,{ref:this._panel,className:G.root}),K,ht.createElement(tf,pt({ignoreExternalFocusing:d,forceFocusInsideTrap:!(!p||f&&!W)&&a,firstFocusableSelector:r,isClickableOutsideFocusTrap:!0},i,{className:G.main,style:H,elementToFocusOnDismiss:n}),ht.createElement("div",{className:G.contentInner},ht.createElement("div",{ref:this._allowScrollOnPanel,className:G.scrollableContent,"data-is-scrollable":!0},ht.createElement("div",{className:G.commands,"data-is-visible":!0},I(this.props,this._onRenderNavigation)),(this._hasCustomNavigation||!s)&&E(this.props,this._onRenderHeader,this._headerTextId),P(this.props,this._onRenderBody),M(this.props,this._onRenderFooter)))))))},e.prototype.open=function(){void 0===this.props.isOpen&&(this.isActive||this.setState({visibility:Q_.animatingOpen}))},e.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:Q_.animatingClosed})},Object.defineProperty(e.prototype,"isActive",{get:function(){return this.state.visibility===Q_.open||this.state.visibility===Q_.animatingOpen},enumerable:!1,configurable:!0}),e.prototype._createResizeObserver=function(e){var t,o=Hc(this.context),n=null;return(null===(t=null==o?void 0:o.defaultView)||void 0===t?void 0:t.ResizeObserver)&&(n=new o.defaultView.ResizeObserver(e)),n},e.prototype._shouldListenForOuterClick=function(e){return!!e.isBlocking&&!!e.isOpen},e.prototype._updateFooterPosition=function(){var e=this._scrollableContent;if(e){var t=e.clientHeight,o=e.scrollHeight;this.setState({isFooterSticky:t0&&i();var o=h._id+e.key;r.items.push(n(pt(pt({id:o},e),{index:t}),h._onRenderItem)),r.id=o;break;case Tv.Divider:t>0&&r.items.push(n(pt(pt({},e),{index:t}),h._onRenderItem)),r.items.length>0&&i();break;default:r.items.push(n(pt(pt({},e),{index:t}),h._onRenderItem))}}(e,t)}),r.items.length>0&&i(),ht.createElement(ht.Fragment,null,o)},h._onRenderItem=function(e){switch(e.itemType){case Tv.Divider:return h._renderSeparator(e);case Tv.Header:return h._renderHeader(e);default:return h._renderOption(e)}},h._renderOption=function(e){var t,o=h.props,n=o.onRenderOption,r=void 0===n?h._onRenderOption:n,i=o.hoisted.selectedIndices,a=void 0===i?[]:i,s=!(void 0===e.index||!a)&&a.indexOf(e.index)>-1,l=e.hidden?h._classNames.dropdownItemHidden:s&&!0===e.disabled?h._classNames.dropdownItemSelectedAndDisabled:s?h._classNames.dropdownItemSelected:!0===e.disabled?h._classNames.dropdownItemDisabled:h._classNames.dropdownItem,c=e.title,u=h._listId+e.index,d=null!==(t=e.id)&&void 0!==t?t:u+"-label",p=h._classNames.subComponentStyles?h._classNames.subComponentStyles.multiSelectItem:void 0;return h.props.multiSelect?ht.createElement(mf,{id:u,key:e.key,disabled:e.disabled,onChange:h._onItemClick(e),inputProps:pt({"aria-selected":s,onMouseEnter:h._onItemMouseEnter.bind(h,e),onMouseLeave:h._onMouseItemLeave.bind(h,e),onMouseMove:h._onItemMouseMove.bind(h,e),role:"option"},{"data-index":e.index,"data-is-focusable":!(e.disabled||e.hidden)}),label:e.text,title:c,onRenderLabel:h._onRenderItemLabel.bind(h,pt(pt({},e),{id:d})),className:hi(l,"is-multi-select"),checked:s,styles:p,ariaPositionInSet:e.hidden?void 0:h._sizePosCache.positionInSet(e.index),ariaSetSize:e.hidden?void 0:h._sizePosCache.optionSetSize,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:d}):ht.createElement(fh,{id:u,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:l,onClick:h._onItemClick(e),onMouseEnter:h._onItemMouseEnter.bind(h,e),onMouseLeave:h._onMouseItemLeave.bind(h,e),onMouseMove:h._onItemMouseMove.bind(h,e),role:"option","aria-selected":s?"true":"false",ariaLabel:e.ariaLabel,title:c,"aria-posinset":h._sizePosCache.positionInSet(e.index),"aria-setsize":h._sizePosCache.optionSetSize},r(e,h._onRenderOption))},h._onRenderOption=function(e){return ht.createElement("span",{className:h._classNames.dropdownOptionText},e.text)},h._onRenderMultiselectOption=function(e){return ht.createElement("span",{id:e.id,"aria-hidden":"true",className:h._classNames.dropdownOptionText},e.text)},h._onRenderItemLabel=function(e){var t=h.props.onRenderOption;return(void 0===t?h._onRenderMultiselectOption:t)(e,h._onRenderMultiselectOption)},h._onPositioned=function(e){h._focusZone.current&&h._requestAnimationFrame(function(){var e=h.props.hoisted.selectedIndices;if(h._focusZone.current)if(!h._hasBeenPositioned&&e&&e[0]&&!h.props.options[e[0]].disabled){var t=st().getElementById("".concat(h._id,"-list").concat(e[0]));t&&h._focusZone.current.focusElement(t),h._hasBeenPositioned=!0}else h._focusZone.current.focus()}),h.state.calloutRenderEdge&&h.state.calloutRenderEdge===e.targetEdge||h.setState({calloutRenderEdge:e.targetEdge})},h._onItemClick=function(t){return function(e){t.disabled||(h.setSelectedIndex(e,t.index),h.props.multiSelect||h.setState({isOpen:!1}))}},h._onScroll=function(){var e=zc(h.context);h._isScrollIdle||void 0===h._scrollIdleTimeoutId?h._isScrollIdle=!1:(e.clearTimeout(h._scrollIdleTimeoutId),h._scrollIdleTimeoutId=void 0),h._scrollIdleTimeoutId=e.setTimeout(function(){h._isScrollIdle=!0},h._scrollIdleDelay)},h._onMouseItemLeave=function(e,t){if(!h._shouldIgnoreMouseEvent()&&h._host.current)if(h._host.current.setActive)try{h._host.current.setActive()}catch(e){}else h._host.current.focus()},h._onDismiss=function(){h.setState({isOpen:!1})},h._onDropdownBlur=function(e){h._isDisabled()||h.state.isOpen||(h.setState({hasFocus:!1}),h.props.onBlur&&h.props.onBlur(e))},h._onDropdownKeyDown=function(e){if(!h._isDisabled()&&(h._lastKeyDownWasAltOrMeta=h._isAltOrMeta(e),!h.props.onKeyDown||(h.props.onKeyDown(e),!e.defaultPrevented))){var t,o=h.props.hoisted.selectedIndices.length?h.props.hoisted.selectedIndices[0]:-1,n=e.altKey||e.metaKey,r=h.state.isOpen;switch(e.which){case sr.enter:h.setState({isOpen:!r});break;case sr.escape:if(!r)return;h.setState({isOpen:!1});break;case sr.up:if(n){if(r){h.setState({isOpen:!1});break}return}h.props.multiSelect?h.setState({isOpen:!0}):h._isDisabled()||(t=h._moveIndex(e,-1,o-1,o));break;case sr.down:n&&(e.stopPropagation(),e.preventDefault()),n&&!r||h.props.multiSelect?h.setState({isOpen:!0}):h._isDisabled()||(t=h._moveIndex(e,1,o+1,o));break;case sr.home:h.props.multiSelect||(t=h._moveIndex(e,1,0,o));break;case sr.end:h.props.multiSelect||(t=h._moveIndex(e,-1,h.props.options.length-1,o));break;case sr.space:break;default:return}t!==o&&(e.stopPropagation(),e.preventDefault())}},h._onDropdownKeyUp=function(e){if(!h._isDisabled()){var t=h._shouldHandleKeyUp(e),o=h.state.isOpen;h.props.onKeyUp&&(h.props.onKeyUp(e),e.defaultPrevented)||(e.which===sr.space?(h.setState({isOpen:!o}),e.stopPropagation(),e.preventDefault()):t&&o&&h.setState({isOpen:!1}))}},h._onZoneKeyDown=function(e){var t,o,n;h._lastKeyDownWasAltOrMeta=h._isAltOrMeta(e);var r=e.altKey||e.metaKey;switch(e.which){case sr.up:r?h.setState({isOpen:!1}):h._host.current&&(n=Xa(h._host.current,h._host.current.lastChild,!0));break;case sr.home:case sr.end:case sr.pageUp:case sr.pageDown:break;case sr.down:!r&&h._host.current&&(n=Za(h._host.current,h._host.current.firstChild,!0));break;case sr.escape:h.setState({isOpen:!1});break;case sr.tab:h.setState({isOpen:!1});var i=st();i&&(e.shiftKey?null===(t=es(i.body,h._dropDown.current,!1,!1,!0,!0))||void 0===t||t.focus():null===(o=ts(i.body,h._dropDown.current,!1,!1,!0,!0))||void 0===o||o.focus());break;default:return}n&&n.focus(),e.stopPropagation(),e.preventDefault()},h._onZoneKeyUp=function(e){h._shouldHandleKeyUp(e)&&h.state.isOpen&&(h.setState({isOpen:!1}),e.preventDefault())},h._onDropdownClick=function(e){if(!h.props.onClick||(h.props.onClick(e),!e.defaultPrevented)){var t=h.state.isOpen;h._isDisabled()||h._shouldOpenOnFocus()||h.setState({isOpen:!t}),h._isFocusedByClick=!1}},h._onDropdownMouseDown=function(){h._isFocusedByClick=!0},h._onFocus=function(e){if(!h._isDisabled()){h.props.onFocus&&h.props.onFocus(e);var t={hasFocus:!0};h._shouldOpenOnFocus()&&(t.isOpen=!0),h.setState(t)}},h._isDisabled=function(){var e=h.props.disabled,t=h.props.isDisabled;return void 0===e&&(e=t),e},h._onRenderLabel=function(e){var t=e.label,o=e.required,n=e.disabled,r=h._classNames.subComponentStyles?h._classNames.subComponentStyles.label:void 0;return t?ht.createElement(vf,{className:h._classNames.label,id:h._labelId,required:o,styles:r,disabled:n},t):null},ua(h);var t=e.multiSelect,o=e.selectedKey,n=e.selectedKeys,r=e.defaultSelectedKey,i=e.defaultSelectedKeys,a=e.options;if(Ki(fS,e,{isDisabled:"disabled",onChanged:"onChange",placeHolder:"placeholder",onRenderPlaceHolder:"onRenderPlaceholder"}),Gi(fS,e,{defaultSelectedKey:"selectedKey",defaultSelectedKeys:"selectedKeys",selectedKeys:"selectedKey"}),t){var s=function(e){return yn("Dropdown property '".concat(e,"' cannot be used when 'multiSelect' is true. Use '").concat(e,"s' instead."))};void 0!==o&&s("selectedKey"),void 0!==r&&s("defaultSelectedKey")}else{var l=function(e){return yn("Dropdown property '".concat(e,"s' cannot be used when 'multiSelect' is false/unset. Use '").concat(e,"' instead."))};void 0!==n&&l("selectedKey"),void 0!==i&&l("defaultSelectedKey")}return h._id=e.id||bs("Dropdown"),h._labelId=h._id+"-label",h._listId=h._id+"-list",h._optionId=h._id+"-option",h._isScrollIdle=!0,h._hasBeenPositioned=!1,h._sizePosCache.updateOptions(a),h.state={isOpen:!1,hasFocus:!1,calloutRenderEdge:void 0},h}return m(e,c),Object.defineProperty(e.prototype,"selectedOptions",{get:function(){var e=this.props;return Wv(e.options,e.hoisted.selectedIndices)},enumerable:!1,configurable:!0}),e.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},e.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this._hasBeenPositioned=!1,this.props.onDismiss&&this.props.onDismiss())},e.prototype.render=function(){var e=this._id,t=this.props,o=t.className,n=t.label,r=t.options,i=t.ariaLabel,a=t.required,s=t.errorMessage,l=t.styles,c=t.theme,u=t.panelProps,d=t.calloutProps,p=t.onRenderTitle,h=void 0===p?this._getTitle:p,m=t.onRenderContainer,f=void 0===m?this._onRenderContainer:m,g=t.onRenderCaretDown,v=void 0===g?this._onRenderCaretDown:g,b=t.onRenderLabel,y=void 0===b?this._onRenderLabel:b,C=t.onRenderItem,_=void 0===C?this._onRenderItem:C,S=t.hoisted.selectedIndices,x=this.state,k=x.isOpen,w=x.calloutRenderEdge,I=x.hasFocus,D=t.onRenderPlaceholder||t.onRenderPlaceHolder||this._getPlaceholder;r!==this._sizePosCache.cachedOptions&&this._sizePosCache.updateOptions(r);var E=Wv(r,S),T=qr(t,jr),P=this._isDisabled(),R=e+"-errorMessage";this._classNames=gS(l,{theme:c,className:o,hasError:!!(s&&s.length>0),hasLabel:!!n,isOpen:k,required:a,disabled:P,isRenderingPlaceholder:!E.length,panelClassName:u?u.className:void 0,calloutClassName:d?d.className:void 0,calloutRenderEdge:w});var M=!!s&&s.length>0;return ht.createElement("div",{className:this._classNames.root,ref:this.props.hoisted.rootRef,"aria-owns":k?this._listId:void 0},y(this.props,this._onRenderLabel),ht.createElement("div",pt({"data-is-focusable":!P,"data-ktp-target":!0,ref:this._dropDown,id:e,tabIndex:P?-1:0,role:"combobox","aria-haspopup":"listbox","aria-expanded":k?"true":"false","aria-label":i,"aria-labelledby":n&&!i?Dl(this._labelId,this._optionId):void 0,"aria-describedby":M?this._id+"-errorMessage":void 0,"aria-required":a,"aria-disabled":P,"aria-invalid":M,"aria-controls":k?this._listId:void 0},T,{className:this._classNames.dropdown,onBlur:this._onDropdownBlur,onKeyDown:this._onDropdownKeyDown,onKeyUp:this._onDropdownKeyUp,onClick:this._onDropdownClick,onMouseDown:this._onDropdownMouseDown,onFocus:this._onFocus}),ht.createElement("span",{id:this._optionId,className:this._classNames.title,"aria-live":I?"polite":void 0,"aria-atomic":!!I||void 0},E.length?h(E,this._onRenderTitle):D(t,this._onRenderPlaceholder)),ht.createElement("span",{className:this._classNames.caretDownWrapper},v(t,this._onRenderCaretDown))),k&&f(pt(pt({},t),{onDismiss:this._onDismiss,onRenderItem:_}),this._onRenderContainer),M&&ht.createElement("div",{role:"alert",id:R,className:this._classNames.errorMessage},s))},e.prototype.focus=function(e){this._dropDown.current&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},e.prototype.setSelectedIndex=function(e,t){var o=this.props,n=o.options,r=o.selectedKey,i=o.selectedKeys,a=o.multiSelect,s=o.notifyOnReselect,l=o.hoisted.selectedIndices,c=void 0===l?[]:l,u=!!c&&c.indexOf(t)>-1,d=[];if(t=Math.max(0,Math.min(n.length-1,t)),void 0===r&&void 0===i){if(a||s||t!==c[0]){if(a)if(d=c?this._copyArray(c):[],u){var p=d.indexOf(t);p>-1&&d.splice(p,1)}else d.push(t);else d=[t];e.persist(),this.props.hoisted.setSelectedIndices(d),this._onChange(e,n,t,u,a)}}else this._onChange(e,n,t,u,a)},e.prototype._copyArray=function(e){for(var t=[],o=0,n=e;o=r.length?o=0:o<0&&(o=r.length-1);for(var i=0;r[o].itemType===Tv.Header||r[o].itemType===Tv.Divider||r[o].disabled;){if(i>=r.length)return n;o+t<0?o=r.length:o+t>=r.length&&(o=-1),o+=t,i++}return this.setSelectedIndex(e,o),o},e.prototype._renderFocusableList=function(e){var t=e.onRenderList,o=void 0===t?this._onRenderList:t,n=e.label,r=e.ariaLabel,i=e.multiSelect;return ht.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},ht.createElement(Xs,{ref:this._focusZone,direction:xa.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":r,"aria-labelledby":n&&!r?this._labelId:void 0,"aria-multiselectable":i},o(e,this._onRenderList)))},e.prototype._renderSeparator=function(e){var t=e.index,o=e.key,n=e.hidden?this._classNames.dropdownDividerHidden:this._classNames.dropdownDivider;return t>0?ht.createElement("div",{role:"presentation",key:o,className:n}):null},e.prototype._renderHeader=function(e){var t=this.props.onRenderOption,o=void 0===t?this._onRenderOption:t,n=e.key,r=e.id,i=e.hidden?this._classNames.dropdownItemHeaderHidden:this._classNames.dropdownItemHeader;return ht.createElement("div",{id:r,key:n,className:i},o(e,this._onRenderOption))},e.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},e.prototype._onItemMouseMove=function(e,t){var o=Hc(this.context),n=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&o.activeElement!==n&&n.focus()},e.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},e.prototype._isAltOrMeta=function(e){return e.which===sr.alt||"Meta"===e.key},e.prototype._shouldHandleKeyUp=function(e){var t=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!t&&!(Bl()||Ll())},e.prototype._shouldOpenOnFocus=function(){var e=this.state.hasFocus,t=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&!0===t&&!e},e.defaultProps={options:[]},e.contextType=ga,e}(ht.Component),wS={root:"ms-Dropdown-container",label:"ms-Dropdown-label",dropdown:"ms-Dropdown",title:"ms-Dropdown-title",caretDownWrapper:"ms-Dropdown-caretDownWrapper",caretDown:"ms-Dropdown-caretDown",callout:"ms-Dropdown-callout",panel:"ms-Dropdown-panel",dropdownItems:"ms-Dropdown-items",dropdownItem:"ms-Dropdown-item",dropdownDivider:"ms-Dropdown-divider",dropdownOptionText:"ms-Dropdown-optionText",dropdownItemHeader:"ms-Dropdown-header",titleIsPlaceHolder:"ms-Dropdown-titleIsPlaceHolder",titleHasError:"ms-Dropdown-title--hasError"},IS=((yS={})["".concat(Mo,", ").concat(No.replace("@media ",""))]=pt({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),yS),DS={selectors:pt((CS={},CS[Mo]=(_S={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},_S[".".concat(Jo," &:focus:after")]={borderColor:"HighlightText"},_S),CS[".ms-Checkbox-checkbox"]=(SS={},SS[Mo]={borderColor:"HighlightText"},SS),CS),IS)},ES={selectors:(xS={},xS[Mo]={borderColor:"Highlight"},xS)},TS=Yo(0,Lo),PS=ir(bS,function(e){var t,o,n,r,i,a,s,l,c,u,d,p,h=e.theme,m=e.hasError,f=e.hasLabel,g=e.className,v=e.isOpen,b=e.disabled,y=e.required,C=e.isRenderingPlaceholder,_=e.panelClassName,S=e.calloutClassName,x=e.calloutRenderEdge;if(!h)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var k=Ro(wS,h),w=h.palette,I=h.semanticColors,D=h.effects,E=h.fonts,T={color:I.menuItemTextHovered},P={color:I.menuItemText},R={borderColor:I.errorText},M=[k.dropdownItem,{backgroundColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:"flex",alignItems:"center",padding:"0 8px",width:"100%",minHeight:36,lineHeight:20,height:0,position:"relative",border:"1px solid transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",".ms-Button-flexContainer":{width:"100%"}}],N=[k.dropdownItemHeader,pt(pt({},E.medium),{fontWeight:Qe.semibold,color:I.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(t={},t[Mo]=pt({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)})],B=I.menuItemBackgroundPressed,A=function(e){var t,o;return void 0===e&&(e=!1),{selectors:(t={"&:hover":[{color:I.menuItemTextHovered,backgroundColor:e?B:I.menuItemBackgroundHovered},DS],"&.is-multi-select:hover":[{backgroundColor:e?B:"transparent"},DS],"&:active:hover":[{color:I.menuItemTextHovered,backgroundColor:e?I.menuItemBackgroundHovered:I.menuItemBackgroundPressed},DS]},t[".".concat(Jo," &:focus:after, :host(.").concat(Jo,") &:focus:after")]=(o={left:0,top:0,bottom:0,right:0},o[Mo]={inset:"2px"},o),t[Mo]={border:"none"},t)}},F=z(z([],M,!0),[{backgroundColor:B,color:I.menuItemTextHovered},A(!0),DS],!1),L=z(z([],M,!0),[{color:I.disabledText,cursor:"default",selectors:(o={},o[Mo]={color:"GrayText",border:"none"},o)}],!1),O=x===Al.bottom?"".concat(D.roundedCorner2," ").concat(D.roundedCorner2," 0 0"):"0 0 ".concat(D.roundedCorner2," ").concat(D.roundedCorner2),H=x===Al.bottom?"0 0 ".concat(D.roundedCorner2," ").concat(D.roundedCorner2):"".concat(D.roundedCorner2," ").concat(D.roundedCorner2," 0 0");return{root:[k.root,g],label:k.label,dropdown:[k.dropdown,dn,E.medium,{color:I.menuItemText,borderColor:I.focusBorder,position:"relative",outline:0,userSelect:"none",selectors:(n={},n["&:hover ."+k.title]=[!b&&T,{borderColor:v?w.neutralSecondary:w.neutralPrimary},ES],n["&:focus ."+k.title]=[!b&&T,{selectors:(r={},r[Mo]={color:"Highlight"},r)}],n["&:focus:after"]=[{pointerEvents:"none",content:"''",position:"absolute",boxSizing:"border-box",top:"0px",left:"0px",width:"100%",height:"100%",border:b?"none":"2px solid ".concat(w.themePrimary),borderRadius:"2px",selectors:(i={},i[Mo]={color:"Highlight"},i)}],n["&:active ."+k.title]=[!b&&T,{borderColor:w.themePrimary},ES],n["&:hover ."+k.caretDown]=!b&&P,n["&:focus ."+k.caretDown]=[!b&&P,{selectors:(a={},a[Mo]={color:"Highlight"},a)}],n["&:active ."+k.caretDown]=!b&&P,n["&:hover ."+k.titleIsPlaceHolder]=!b&&P,n["&:focus ."+k.titleIsPlaceHolder]=!b&&P,n["&:active ."+k.titleIsPlaceHolder]=!b&&P,n["&:hover ."+k.titleHasError]=R,n["&:active ."+k.titleHasError]=R,n)},v&&"is-open",b&&"is-disabled",y&&"is-required",y&&!f&&{selectors:(s={":before":{content:"'*'",color:I.errorText,position:"absolute",top:-5,right:-10}},s[Mo]={selectors:{":after":{right:-14}}},s)}],title:[k.title,dn,{backgroundColor:I.inputBackground,borderWidth:1,borderStyle:"solid",borderColor:I.inputBorder,borderRadius:v?O:D.roundedCorner2,cursor:"pointer",display:"block",height:32,lineHeight:30,padding:"0 28px 0 8px",position:"relative",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},C&&[k.titleIsPlaceHolder,{color:I.inputPlaceholderText}],m&&[k.titleHasError,R],b&&{backgroundColor:I.disabledBackground,border:"none",color:I.disabledText,cursor:"default",selectors:(l={},l[Mo]=pt({border:"1px solid GrayText",color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),l)}],caretDownWrapper:[k.caretDownWrapper,{height:32,lineHeight:30,paddingTop:1,position:"absolute",right:8,top:0},!b&&{cursor:"pointer"}],caretDown:[k.caretDown,{color:w.neutralSecondary,fontSize:E.small.fontSize,pointerEvents:"none"},b&&{color:I.disabledText,selectors:(c={},c[Mo]=pt({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),c)}],errorMessage:pt(pt({color:I.errorText},h.fonts.small),{paddingTop:5}),callout:[k.callout,{boxShadow:D.elevation8,borderRadius:H,selectors:(u={},u[".ms-Callout-main"]={borderRadius:H},u)},S],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[k.dropdownItems,{display:"block"}],dropdownItem:z(z([],M,!0),[A()],!1),dropdownItemSelected:F,dropdownItemDisabled:L,dropdownItemSelectedAndDisabled:[F,L,{backgroundColor:"transparent"}],dropdownItemHidden:z(z([],M,!0),[{display:"none"}],!1),dropdownDivider:[k.dropdownDivider,{height:1,backgroundColor:I.bodyDivider}],dropdownDividerHidden:[k.dropdownDivider,{display:"none"}],dropdownOptionText:[k.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:N,dropdownItemHeaderHidden:z(z([],N,!0),[{display:"none"}],!1),subComponentStyles:{label:{root:{display:"inline-block"}},multiSelectItem:{root:{padding:0},label:{alignSelf:"stretch",padding:"0 8px",width:"100%"},input:{selectors:(d={},d[".".concat(Jo," &:focus + label::before, :host(.").concat(Jo,") &:focus + label::before")]={outlineOffset:"0px"},d)}},panel:{root:[_],main:{selectors:(p={},p[TS]={width:272},p)},contentInner:{padding:"0 0 20px"}}}}},void 0,{scope:"Dropdown"});PS.displayName="Dropdown",Kt([{rawString:".resultContent_4cc31f3f{display:table-row}.resultContent_4cc31f3f .resultItem_4cc31f3f{display:table-cell;vertical-align:bottom}.peoplePickerPersona_4cc31f3f{width:180px}.peoplePickerPersona_4cc31f3f .ms-Persona-details{width:100%}.peoplePicker_4cc31f3f .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_4cc31f3f{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}"}]),Kt([{rawString:".pickerText_9f838726{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid "},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";min-width:180px;padding:1px;min-height:32px}.pickerText_9f838726:hover{border-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.pickerInput_9f838726{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;margin:1px}.pickerInput_9f838726::-ms-clear{display:none}"}]);var RS,MS="pickerText_9f838726",NS="pickerInput_9f838726",BS=t,AS=function(t){function e(e){var s=t.call(this,e)||this;return s.floatingPicker=ht.createRef(),s.selectedItemsList=ht.createRef(),s.root=ht.createRef(),s.input=ht.createRef(),s.onSelectionChange=function(){s.forceUpdate()},s.onInputChange=function(e,t){t||(s.setState({queryString:e}),s.floatingPicker.current&&s.floatingPicker.current.onQueryStringChanged(e))},s.onInputFocus=function(e){s.selectedItemsList.current&&s.selectedItemsList.current.unselectAll(),s.props.inputProps&&s.props.inputProps.onFocus&&s.props.inputProps.onFocus(e)},s.onInputClick=function(e){if(s.selectedItemsList.current&&s.selectedItemsList.current.unselectAll(),s.floatingPicker.current&&s.inputElement){var t=""===s.inputElement.value||s.inputElement.value!==s.floatingPicker.current.inputText;s.floatingPicker.current.showPicker(t)}},s.onBackspace=function(e){e.which===sr.backspace&&s.selectedItemsList.current&&s.items.length&&(s.input.current&&!s.input.current.isValueSelected&&s.input.current.inputElement===e.currentTarget.ownerDocument.activeElement&&0===s.input.current.cursorLocation?(s.floatingPicker.current&&s.floatingPicker.current.hidePicker(),e.preventDefault(),s.selectedItemsList.current.removeItemAt(s.items.length-1),s._onSelectedItemsChanged()):s.selectedItemsList.current.hasSelectedItems()&&(s.floatingPicker.current&&s.floatingPicker.current.hidePicker(),e.preventDefault(),s.selectedItemsList.current.removeSelectedItems(),s._onSelectedItemsChanged()))},s.onCopy=function(e){s.selectedItemsList.current&&s.selectedItemsList.current.onCopy(e)},s.onPaste=function(e){if(s.props.onPaste){var t=e.clipboardData.getData("Text");e.preventDefault(),s.props.onPaste(t)}},s._onSuggestionSelected=function(e){var t=s.props.currentRenderedQueryString,o=s.state.queryString;if(void 0===t||t===o){var n=s.props.onItemSelected?s.props.onItemSelected(e):e;if(null===n)return;var r,i=n,a=n;a&&a.then?a.then(function(e){r=e,s._addProcessedItem(r)}):(r=i,s._addProcessedItem(r))}},s._onSelectedItemsChanged=function(){s.focus()},s._onSuggestionsShownOrHidden=function(){s.forceUpdate()},ua(s),s.selection=new Fy({onSelectionChanged:function(){return s.onSelectionChange()}}),s.state={queryString:""},s}return m(e,t),Object.defineProperty(e.prototype,"items",{get:function(){var e,t,o,n;return null!==(n=null!==(o=null!==(e=this.props.selectedItems)&&void 0!==e?e:null===(t=this.selectedItemsList.current)||void 0===t?void 0:t.items)&&void 0!==o?o:this.props.defaultSelectedItems)&&void 0!==n?n:null},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){this.forceUpdate()},e.prototype.focus=function(){this.input.current&&this.input.current.focus()},e.prototype.clearInput=function(){this.input.current&&this.input.current.clear()},Object.defineProperty(e.prototype,"inputElement",{get:function(){return this.input.current&&this.input.current.inputElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"highlightedItems",{get:function(){return this.selectedItemsList.current?this.selectedItemsList.current.highlightedItems():[]},enumerable:!1,configurable:!0}),e.prototype.render=function(){var e=this.props,t=e.className,o=e.inputProps,n=e.disabled,r=e.focusZoneProps,i=this.floatingPicker.current&&-1!==this.floatingPicker.current.currentSelectedSuggestionIndex?"sug-"+this.floatingPicker.current.currentSelectedSuggestionIndex:void 0,a=!!this.floatingPicker.current&&this.floatingPicker.current.isSuggestionsShown;return ht.createElement("div",{ref:this.root,className:hi("ms-BasePicker ms-BaseExtendedPicker",t||""),onKeyDown:this.onBackspace,onCopy:this.onCopy},ht.createElement(Xs,pt({direction:xa.bidirectional},r),ht.createElement(Ay,{selection:this.selection,selectionMode:ay.multiple},ht.createElement("div",{className:hi("ms-BasePicker-text",BS.pickerText),role:"list"},this.props.headerComponent,this.renderSelectedItemsList(),this.canAddItems()&&ht.createElement(_a,pt({},o,{className:hi("ms-BasePicker-input",BS.pickerInput),ref:this.input,onFocus:this.onInputFocus,onClick:this.onInputClick,onInputValueChange:this.onInputChange,"aria-activedescendant":i,"aria-owns":a?"suggestion-list":void 0,"aria-expanded":a,"aria-haspopup":"true",role:"combobox",disabled:n,onPaste:this.onPaste}))))),this.renderFloatingPicker())},Object.defineProperty(e.prototype,"floatingPickerProps",{get:function(){return this.props.floatingPickerProps},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedItemsListProps",{get:function(){return this.props.selectedItemsListProps},enumerable:!1,configurable:!0}),e.prototype.canAddItems=function(){var e=this.props.itemLimit;return void 0===e||this.items.length0,h=p?r:r.slice(0,d),m=(p?i:r.slice(d))||[];return ht.createElement("div",{className:u.root},this.onRenderAriaDescription(),ht.createElement("div",{className:u.itemContainer},a?this._getAddNewElement():null,ht.createElement("ul",{className:u.members,"aria-label":s},this._onRenderVisiblePersonas(h,0===m.length&&1===r.length,c)),e?this._getOverflowElement(m):null))},e.prototype.onRenderAriaDescription=function(){var e=this.props.ariaDescription,t=this._classNames;return e&&ht.createElement("span",{className:t.screenReaderOnly,id:this._ariaDescriptionId},e)},e.prototype._onRenderVisiblePersonas=function(e,r,i){var a=this,t=this.props,o=t.onRenderPersona,s=void 0===o?this._getPersonaControl:o,n=t.onRenderPersonaCoin,l=void 0===n?this._getPersonaCoinControl:n,c=t.onRenderPersonaWrapper;return e.map(function(e,t){var o=r?s(e,a._getPersonaControl):l(e,a._getPersonaCoinControl),n=e.onClick?function(){return a._getElementWithOnClickEvent(o,e,i,t)}:function(){return a._getElementWithoutOnClickEvent(o,e,i,t)};return ht.createElement("li",{key:"".concat(r?"persona":"personaCoin","-").concat(t),className:a._classNames.member},c?c(e,n):n())})},e.prototype._getElementWithOnClickEvent=function(e,t,o,n){var r=t.keytipProps;return ht.createElement(HS,pt({},qr(t,Rr),this._getElementProps(t,o,n),{keytipProps:r,onClick:this._onPersonaClick.bind(this,t)}),e)},e.prototype._getElementWithoutOnClickEvent=function(e,t,o,n){return ht.createElement("div",pt({},qr(t,Rr),this._getElementProps(t,o,n)),e)},e.prototype._getElementProps=function(e,t,o){var n=this._classNames;return{key:(e.imageUrl?"i":"")+o,"data-is-focusable":!0,className:n.itemButton,title:t?e.personaName:void 0,onMouseMove:this._onPersonaMouseMove.bind(this,e),onMouseOut:this._onPersonaMouseOut.bind(this,e)}},e.prototype._getOverflowElement=function(e){switch(this.props.overflowButtonType){case RS.descriptive:return this._getDescriptiveOverflowElement(e);case RS.downArrow:return this._getIconElement("ChevronDown");case RS.more:return this._getIconElement("More");default:return null}},e.prototype._getDescriptiveOverflowElement=function(e){var t=this.props.personaSize;if(!e||e.length<1)return null;var o=e.map(function(e){return e.personaName}).join(", "),n=pt({title:o},this.props.overflowButtonProps),r=Math.max(e.length,0),i=this._classNames;return ht.createElement(HS,pt({},n,{ariaDescription:n.title,className:i.descriptiveOverflowButton}),ht.createElement(ia,{size:t,onRenderInitials:this._renderInitialsNotPictured(r),initialsColor:gi.transparent}))},e.prototype._getIconElement=function(e){var t=this.props,o=t.overflowButtonProps,n=t.personaSize,r=this._classNames;return ht.createElement(HS,pt({},o,{className:r.overflowButton}),ht.createElement(ia,{size:n,onRenderInitials:this._renderInitials(e,!0),initialsColor:gi.transparent}))},e.prototype._getAddNewElement=function(){var e=this.props,t=e.addButtonProps,o=e.personaSize,n=this._classNames;return ht.createElement(HS,pt({},t,{className:n.addButton}),ht.createElement(ia,{size:o,onRenderInitials:this._renderInitials("AddFriend")}))},e.prototype._onPersonaClick=function(e,t){e.onClick(t,e),t.preventDefault(),t.stopPropagation()},e.prototype._onPersonaMouseMove=function(e,t){e.onMouseMove&&e.onMouseMove(t,e)},e.prototype._onPersonaMouseOut=function(e,t){e.onMouseOut&&e.onMouseOut(t,e)},e.prototype._renderInitials=function(e,t){var o=this._classNames;return function(){return ht.createElement(wi,{iconName:e,className:t?o.overflowInitialsIcon:""})}},e.prototype._renderInitialsNotPictured=function(e){var t=this._classNames;return function(){return ht.createElement("span",{className:t.overflowInitialsIcon},e<100?"+"+e:"99+")}},e.defaultProps={maxDisplayablePersonas:5,personas:[],overflowPersonas:[],personaSize:mi.size32},e}(ht.Component),qS={root:"ms-Facepile",addButton:"ms-Facepile-addButton ms-Facepile-itemButton",descriptiveOverflowButton:"ms-Facepile-descriptiveOverflowButton ms-Facepile-itemButton",itemButton:"ms-Facepile-itemButton ms-Facepile-person",itemContainer:"ms-Facepile-itemContainer",members:"ms-Facepile-members",member:"ms-Facepile-member",overflowButton:"ms-Facepile-overflowButton ms-Facepile-itemButton"},YS=ir(jS,function(e){var t,o=e.className,n=e.theme,r=e.spacingAroundItemButton,i=void 0===r?2:r,a=n.palette,s=n.fonts,l=Ro(qS,n),c={textAlign:"center",padding:0,borderRadius:"50%",verticalAlign:"top",display:"inline",backgroundColor:"transparent",border:"none",selectors:{"&::-moz-focus-inner":{padding:0,border:0}}};return{root:[l.root,n.fonts.medium,{width:"auto"},o],addButton:[l.addButton,on(n,{inset:-1}),c,{fontSize:s.medium.fontSize,color:a.white,backgroundColor:a.themePrimary,marginRight:2*i+"px",selectors:{"&:hover":{backgroundColor:a.themeDark},"&:focus":{backgroundColor:a.themeDark},"&:active":{backgroundColor:a.themeDarker},"&:disabled":{backgroundColor:a.neutralTertiaryAlt}}}],descriptiveOverflowButton:[l.descriptiveOverflowButton,on(n,{inset:-1}),c,{fontSize:s.small.fontSize,color:a.neutralSecondary,backgroundColor:a.neutralLighter,marginLeft:"".concat(2*i,"px")}],itemButton:[l.itemButton,c],itemContainer:[l.itemContainer,{display:"flex"}],members:[l.members,{display:"flex",overflow:"hidden",listStyleType:"none",padding:0,margin:"-".concat(i,"px")}],member:[l.member,{display:"inline-flex",flex:"0 0 auto",margin:"".concat(i,"px")}],overflowButton:[l.overflowButton,on(n,{inset:-1}),c,{fontSize:s.medium.fontSize,color:a.neutralSecondary,backgroundColor:a.neutralLighter,marginLeft:"".concat(2*i,"px")}],overflowInitialsIcon:[{color:a.neutralPrimary,selectors:(t={},t[Mo]={color:"WindowText"},t)}],screenReaderOnly:ho}},void 0,{scope:"Facepile"});Kt([{rawString:".callout_ad5629e1 .ms-Suggestions-itemButton{padding:0;border:none}.callout_ad5629e1 .ms-Suggestions{min-width:300px}"}]);var ZS="callout_ad5629e1";Kt([{rawString:".root_8c91000a{min-width:260px}.suggestionsItem_8c91000a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;position:relative;overflow:hidden}.suggestionsItem_8c91000a:hover{background:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:"}.suggestionsItem_8c91000a:hover .closeButton_8c91000a{display:block}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a:hover{background:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a{background:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a .closeButton_8c91000a:hover{background:"},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a .itemButton_8c91000a{color:HighlightText}}.suggestionsItem_8c91000a .closeButton_8c91000a{display:none;color:"},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:"}.suggestionsItem_8c91000a .closeButton_8c91000a:hover{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.actionButton_8c91000a{background-color:transparent;border:0;cursor:pointer;margin:0;position:relative;border-top:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";height:40px;width:100%;font-size:12px}[dir=ltr] .actionButton_8c91000a{padding-left:8px}[dir=rtl] .actionButton_8c91000a{padding-right:8px}html[dir=ltr] .actionButton_8c91000a{text-align:left}html[dir=rtl] .actionButton_8c91000a{text-align:right}.actionButton_8c91000a:hover{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";cursor:pointer}.actionButton_8c91000a:active,.actionButton_8c91000a:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_8c91000a .ms-Button-icon{font-size:16px;width:25px}.actionButton_8c91000a .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_8c91000a .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_8c91000a{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.suggestionsTitle_8c91000a{padding:0 12px;color:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:";font-size:12px;line-height:40px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsContainer_8c91000a{overflow-y:auto;overflow-x:hidden;max-height:300px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsNone_8c91000a{text-align:center;color:#797775;font-size:12px;line-height:30px}.suggestionsSpinner_8c91000a{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_8c91000a{padding-left:14px}html[dir=rtl] .suggestionsSpinner_8c91000a{padding-right:14px}html[dir=ltr] .suggestionsSpinner_8c91000a{text-align:left}html[dir=rtl] .suggestionsSpinner_8c91000a{text-align:right}.suggestionsSpinner_8c91000a .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_8c91000a .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_8c91000a .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_8c91000a.itemButton_8c91000a{width:100%;padding:0;min-width:0;height:100%}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.itemButton_8c91000a.itemButton_8c91000a{color:WindowText}}.itemButton_8c91000a.itemButton_8c91000a:hover{color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.closeButton_8c91000a.closeButton_8c91000a{padding:0 4px;height:auto;width:32px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.closeButton_8c91000a.closeButton_8c91000a{color:WindowText}}.closeButton_8c91000a.closeButton_8c91000a:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.suggestionsAvailable_8c91000a{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var XS="root_8c91000a",QS="suggestionsItem_8c91000a",JS="closeButton_8c91000a",$S="suggestionsItemIsSuggested_8c91000a",ex="itemButton_8c91000a",tx="actionButton_8c91000a",ox="buttonSelected_8c91000a",nx="suggestionsTitle_8c91000a",rx="suggestionsContainer_8c91000a",ix="suggestionsNone_8c91000a",ax="suggestionsSpinner_8c91000a",sx="suggestionsAvailable_8c91000a",lx=r,cx=vr(),ux=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e,t=this.props,o=t.suggestionModel,n=t.RenderSuggestion,r=t.onClick,i=t.className,a=t.id,s=t.onRemoveItem,l=t.isSelectedOverride,c=t.removeButtonAriaLabel,u=t.styles,d=t.theme,p=t.removeButtonIconProps,h=u?cx(u,{theme:d,className:i,suggested:o.selected||l}):{root:hi("ms-Suggestions-item",lx.suggestionsItem,(e={},e["is-suggested "+lx.suggestionsItemIsSuggested]=o.selected||l,e),i),itemButton:hi("ms-Suggestions-itemButton",lx.itemButton),closeButton:hi("ms-Suggestions-closeButton",lx.closeButton)};return ht.createElement("div",{className:h.root,role:"presentation"},ht.createElement(fh,{onClick:r,className:h.itemButton,id:a,"aria-selected":o.selected,role:"option","aria-label":o.ariaLabel},n(o.item,this.props)),this.props.showRemoveButton?ht.createElement(xp,{iconProps:null!=p?p:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},title:c,ariaLabel:c,onClick:s,className:h.closeButton}):null)},e}(ht.Component);Kt([{rawString:".suggestionsContainer_44c59fda{overflow-y:auto;overflow-x:hidden;max-height:300px}.suggestionsContainer_44c59fda .ms-Suggestion-item:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.suggestionsContainer_44c59fda .is-suggested{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.suggestionsContainer_44c59fda .is-suggested:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}"}]);var dx="suggestionsContainer_44c59fda",px=i,hx=function(t){function e(e){var n=t.call(this,e)||this;return n._selectedElement=ht.createRef(),n.SuggestionsItemOfProperType=ux,n._onClickTypedSuggestionsItem=function(t,o){return function(e){n.props.onSuggestionClick(e,t,o)}},n._onRemoveTypedSuggestionsItem=function(t,o){return function(e){(0,n.props.onSuggestionRemove)(e,t,o),e.stopPropagation()}},ua(n),n.currentIndex=-1,n}return m(e,t),e.prototype.nextSuggestion=function(){var e=this.props.suggestions;if(e&&e.length>0){if(-1===this.currentIndex)return this.setSelectedSuggestion(0),!0;if(this.currentIndex0){if(-1===this.currentIndex)return this.setSelectedSuggestion(e.length-1),!0;if(this.currentIndex>0)return this.setSelectedSuggestion(this.currentIndex-1),!0;if(this.props.shouldLoopSelection&&0===this.currentIndex)return this.setSelectedSuggestion(e.length-1),!0}return!1},Object.defineProperty(e.prototype,"selectedElement",{get:function(){return this._selectedElement.current||void 0},enumerable:!1,configurable:!0}),e.prototype.getCurrentItem=function(){return this.props.suggestions[this.currentIndex]},e.prototype.getSuggestionAtIndex=function(e){return this.props.suggestions[e]},e.prototype.hasSuggestionSelected=function(){return-1!==this.currentIndex&&this.currentIndex-1&&this.props.suggestions[this.currentIndex]&&(this.props.suggestions[this.currentIndex].selected=!1,this.currentIndex=-1,this.forceUpdate())},e.prototype.setSelectedSuggestion=function(e){var t=this.props.suggestions;e>t.length-1||e<0?(this.currentIndex=0,this.currentSuggestion.selected=!1,this.currentSuggestion=t[0],this.currentSuggestion.selected=!0):(this.currentIndex>-1&&t[this.currentIndex]&&(t[this.currentIndex].selected=!1),t[e].selected=!0,this.currentIndex=e,this.currentSuggestion=t[e]),this.forceUpdate()},e.prototype.componentDidUpdate=function(){this.scrollSelected()},e.prototype.render=function(){var o=this,e=this.props,n=e.onRenderSuggestion,r=e.suggestionsItemClassName,t=e.resultsMaximumNumber,i=e.showRemoveButtons,a=e.suggestionsContainerAriaLabel,s=this.SuggestionsItemOfProperType,l=this.props.suggestions;return t&&(l=l.slice(0,t)),ht.createElement("div",{className:hi("ms-Suggestions-container",px.suggestionsContainer),id:"suggestion-list",role:"listbox","aria-label":a},l.map(function(e,t){return ht.createElement("div",{ref:e.selected||t===o.currentIndex?o._selectedElement:void 0,key:e.item.key?e.item.key:t,id:"sug-"+t},ht.createElement(s,{id:"sug-item"+t,suggestionModel:e,RenderSuggestion:n,onClick:o._onClickTypedSuggestionsItem(e.item,t),className:r,showRemoveButton:i,onRemoveItem:o._onRemoveTypedSuggestionsItem(e.item,t),isSelectedOverride:t===o.currentIndex}))}))},e.prototype.scrollSelected=function(){var e;void 0!==(null===(e=this._selectedElement.current)||void 0===e?void 0:e.scrollIntoView)&&this._selectedElement.current.scrollIntoView(!1)},e}(ht.Component);Kt([{rawString:".root_ade399af{min-width:260px}.actionButton_ade399af{background:0 0;background-color:transparent;border:0;cursor:pointer;margin:0;padding:0;position:relative;width:100%;font-size:12px}html[dir=ltr] .actionButton_ade399af{text-align:left}html[dir=rtl] .actionButton_ade399af{text-align:right}.actionButton_ade399af:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.actionButton_ade399af:active,.actionButton_ade399af:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_ade399af .ms-Button-icon{font-size:16px;width:25px}.actionButton_ade399af .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_ade399af .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_ade399af{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.buttonSelected_ade399af:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.buttonSelected_ade399af:hover{background-color:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.buttonSelected_ade399af{background-color:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsTitle_ade399af{font-size:12px}.suggestionsSpinner_ade399af{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_ade399af{padding-left:14px}html[dir=rtl] .suggestionsSpinner_ade399af{padding-right:14px}html[dir=ltr] .suggestionsSpinner_ade399af{text-align:left}html[dir=rtl] .suggestionsSpinner_ade399af{text-align:right}.suggestionsSpinner_ade399af .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_ade399af .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_ade399af .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_ade399af{height:100%;width:100%;padding:7px 12px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.itemButton_ade399af{color:WindowText}}.screenReaderOnly_ade399af{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var mx,fx="root_ade399af",gx="actionButton_ade399af",vx="buttonSelected_ade399af",bx="suggestionsTitle_ade399af",yx="suggestionsSpinner_ade399af",Cx="itemButton_ade399af",_x="screenReaderOnly_ade399af",Sx=a;!function(e){e[e.header=0]="header",e[e.suggestion=1]="suggestion",e[e.footer=2]="footer"}(mx||(mx={}));var xx=function(o){function e(e){var t=o.call(this,e)||this;return ua(t),t}return m(e,o),e.prototype.render=function(){var e,t=this.props,o=t.renderItem,n=t.onExecute,r=t.isSelected,i=t.id,a=t.className;return n?ht.createElement("div",{id:i,onClick:n,className:hi("ms-Suggestions-sectionButton",a,Sx.actionButton,(e={},e["is-selected "+Sx.buttonSelected]=r,e))},o()):ht.createElement("div",{id:i,className:hi("ms-Suggestions-section",a,Sx.suggestionsTitle)},o())},e}(ht.Component),kx=function(o){function e(e){var t=o.call(this,e)||this;return t._selectedElement=ht.createRef(),t._suggestions=ht.createRef(),t.SuggestionsOfProperType=hx,ua(t),t.state={selectedHeaderIndex:-1,selectedFooterIndex:-1,suggestions:e.suggestions},t}return m(e,o),e.prototype.componentDidMount=function(){this.resetSelectedItem()},e.prototype.componentDidUpdate=function(e){var t=this;this.scrollSelected(),e.suggestions&&e.suggestions!==this.props.suggestions&&this.setState({suggestions:this.props.suggestions},function(){t.resetSelectedItem()})},e.prototype.componentWillUnmount=function(){var e;null===(e=this._suggestions.current)||void 0===e||e.deselectAllSuggestions()},e.prototype.render=function(){var e=this.props,t=e.className,o=e.headerItemsProps,n=e.footerItemsProps,r=e.suggestionsAvailableAlertText,i=de(ho),a=this.state.suggestions&&this.state.suggestions.length>0&&r;return ht.createElement("div",{className:hi("ms-Suggestions",t||"",Sx.root)},o&&this.renderHeaderItems(),this._renderSuggestions(),n&&this.renderFooterItems(),a?ht.createElement("span",{role:"alert","aria-live":"polite",className:i},r):null)},Object.defineProperty(e.prototype,"currentSuggestion",{get:function(){var e;return(null===(e=this._suggestions.current)||void 0===e?void 0:e.getCurrentItem())||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentSuggestionIndex",{get:function(){return this._suggestions.current?this._suggestions.current.currentIndex:-1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedElement",{get:function(){var e;return this._selectedElement.current?this._selectedElement.current:null===(e=this._suggestions.current)||void 0===e?void 0:e.selectedElement},enumerable:!1,configurable:!0}),e.prototype.hasSuggestionSelected=function(){var e;return(null===(e=this._suggestions.current)||void 0===e?void 0:e.hasSuggestionSelected())||!1},e.prototype.hasSelection=function(){var e=this.state,t=e.selectedHeaderIndex,o=e.selectedFooterIndex;return-1!==t||this.hasSuggestionSelected()||-1!==o},e.prototype.executeSelectedAction=function(){var e,t=this.props,o=t.headerItemsProps,n=t.footerItemsProps,r=this.state,i=r.selectedHeaderIndex,a=r.selectedFooterIndex;if(o&&-1!==i&&it+1)return null===(o=this._suggestions.current)||void 0===o||o.setSelectedSuggestion(t+1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var r=e===mx.header,i=r?this.props.headerItemsProps:this.props.footerItemsProps;if(i&&i.length>t+1)for(var a=t+1;a0)return null===(o=this._suggestions.current)||void 0===o||o.setSelectedSuggestion(r-1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var r,i=e===mx.header,a=i?this.props.headerItemsProps:this.props.footerItemsProps;if(a&&(r=void 0!==t?t:a.length)>0)for(var s=r-1;s>=0;s--){var l=a[s];if(l.onExecute&&l.shouldShow())return this.setState({selectedHeaderIndex:i?s:-1}),this.setState({selectedFooterIndex:i?-1:s}),null===(n=this._suggestions.current)||void 0===n||n.deselectAllSuggestions(),!0}}return!1},e.prototype._getCurrentIndexForType=function(e){switch(e){case mx.header:return this.state.selectedHeaderIndex;case mx.suggestion:return this._suggestions.current.currentIndex;case mx.footer:return this.state.selectedFooterIndex}},e.prototype._getNextItemSectionType=function(e){switch(e){case mx.header:return mx.suggestion;case mx.suggestion:return mx.footer;case mx.footer:return mx.header}},e.prototype._getPreviousItemSectionType=function(e){switch(e){case mx.header:return mx.footer;case mx.suggestion:return mx.header;case mx.footer:return mx.suggestion}},e}(ht.Component),wx=o,Ix=function(t){function e(e){var n=t.call(this,e)||this;return n.root=ht.createRef(),n.suggestionsControl=ht.createRef(),n.SuggestionsControlOfProperType=kx,n.isComponentMounted=!1,n.onQueryStringChanged=function(e){e!==n.state.queryString&&(n.setState({queryString:e}),n.props.onInputChanged&&n.props.onInputChanged(e),n.updateValue(e))},n.hidePicker=function(){var e=n.isSuggestionsShown;n.setState({suggestionsVisible:!1}),n.props.onSuggestionsHidden&&e&&n.props.onSuggestionsHidden()},n.showPicker=function(e){void 0===e&&(e=!1);var t=n.isSuggestionsShown;n.setState({suggestionsVisible:!0});var o=n.props.inputElement?n.props.inputElement.value:"";e&&n.updateValue(o),n.props.onSuggestionsShown&&!t&&n.props.onSuggestionsShown()},n.completeSuggestion=function(){n.suggestionsControl.current&&n.suggestionsControl.current.hasSuggestionSelected()&&n.onChange(n.suggestionsControl.current.currentSuggestion.item)},n.onSuggestionClick=function(e,t,o){n.onChange(t),n._updateSuggestionsVisible(!1)},n.onSuggestionRemove=function(e,t,o){n.props.onRemoveSuggestion&&n.props.onRemoveSuggestion(t),n.suggestionsControl.current&&n.suggestionsControl.current.removeSuggestion(o)},n.onKeyDown=function(e){if(n.state.suggestionsVisible&&(!n.props.inputElement||n.props.inputElement.contains(e.target))){var t=e.which;switch(t){case sr.escape:n.hidePicker(),e.preventDefault(),e.stopPropagation();break;case sr.tab:case sr.enter:!e.shiftKey&&!e.ctrlKey&&n.suggestionsControl.current&&n.suggestionsControl.current.handleKeyDown(t)?(e.preventDefault(),e.stopPropagation()):n._onValidateInput();break;case sr.del:n.props.onRemoveSuggestion&&n.suggestionsControl.current&&n.suggestionsControl.current.hasSuggestionSelected()&&n.suggestionsControl.current.currentSuggestion&&e.shiftKey&&(n.props.onRemoveSuggestion(n.suggestionsControl.current.currentSuggestion.item),n.suggestionsControl.current.removeSuggestion(),n.forceUpdate(),e.stopPropagation());break;case sr.up:case sr.down:n.suggestionsControl.current&&n.suggestionsControl.current.handleKeyDown(t)&&(e.preventDefault(),e.stopPropagation(),n._updateActiveDescendant())}}},n._onValidateInput=function(){if(n.state.queryString&&n.props.onValidateInput&&n.props.createGenericItem){var e=n.props.createGenericItem(n.state.queryString,n.props.onValidateInput(n.state.queryString)),t=n.suggestionStore.convertSuggestionsToSuggestionItems([e]);n.onChange(t[0].item)}},n._async=new fa(n),ua(n),n.suggestionStore=e.suggestionsStore,n.state={queryString:"",didBind:!1},n}return m(e,t),Object.defineProperty(e.prototype,"inputText",{get:function(){return this.state.queryString},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"suggestions",{get:function(){return this.suggestionStore.suggestions},enumerable:!1,configurable:!0}),e.prototype.forceResolveSuggestion=function(){this.suggestionsControl.current&&this.suggestionsControl.current.hasSuggestionSelected()?this.completeSuggestion():this._onValidateInput()},Object.defineProperty(e.prototype,"currentSelectedSuggestionIndex",{get:function(){return this.suggestionsControl.current?this.suggestionsControl.current.currentSuggestionIndex:-1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSuggestionsShown",{get:function(){return void 0!==this.state.suggestionsVisible&&this.state.suggestionsVisible},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){this._bindToInputElement(),this.isComponentMounted=!0,this._onResolveSuggestions=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},e.prototype.componentDidUpdate=function(){this._bindToInputElement()},e.prototype.componentWillUnmount=function(){this._unbindFromInputElement(),this._async.dispose(),this.isComponentMounted=!1},e.prototype.updateSuggestions=function(e,t){void 0===t&&(t=!1),this.suggestionStore.updateSuggestions(e),t&&this.forceUpdate()},e.prototype.render=function(){var e=this.props.className;return ht.createElement("div",{ref:this.root,className:hi("ms-BasePicker ms-BaseFloatingPicker",e||"")},this.renderSuggestions())},e.prototype.renderSuggestions=function(){var e=this.SuggestionsControlOfProperType;return this.props.suggestionItems&&this.suggestionStore.updateSuggestions(this.props.suggestionItems),this.state.suggestionsVisible?ht.createElement(Nu,pt({className:wx.callout,isBeakVisible:!1,gapSpace:5,target:this.props.inputElement,onDismiss:this.hidePicker,directionalHint:Rl.bottomLeftEdge,directionalHintForRTL:Rl.bottomRightEdge,calloutWidth:this.props.calloutWidth?this.props.calloutWidth:0},this.props.pickerCalloutProps),ht.createElement(e,pt({onRenderSuggestion:this.props.onRenderSuggestionsItem,onSuggestionClick:this.onSuggestionClick,onSuggestionRemove:this.onSuggestionRemove,suggestions:this.suggestionStore.getSuggestions(),componentRef:this.suggestionsControl,completeSuggestion:this.completeSuggestion,shouldLoopSelection:!1},this.props.pickerSuggestionsProps))):null},e.prototype.onSelectionChange=function(){this.forceUpdate()},e.prototype.updateValue=function(e){""===e?this.updateSuggestionWithZeroState():this._onResolveSuggestions(e)},e.prototype.updateSuggestionWithZeroState=function(){if(this.props.onZeroQuerySuggestion){var e=(0,this.props.onZeroQuerySuggestion)(this.props.selectedItems);this.updateSuggestionsList(e)}else this.hidePicker()},e.prototype.updateSuggestionsList=function(t){var o=this;Array.isArray(t)?this.updateSuggestions(t,!0):t&&t.then&&(this.currentPromise=t,t.then(function(e){t===o.currentPromise&&o.isComponentMounted&&o.updateSuggestions(e,!0)}))},e.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},e.prototype._updateActiveDescendant=function(){if(this.props.inputElement&&this.suggestionsControl.current&&this.suggestionsControl.current.selectedElement){var e=this.suggestionsControl.current.selectedElement.getAttribute("id");e&&this.props.inputElement.setAttribute("aria-activedescendant",e)}},e.prototype._onResolveSuggestions=function(e){var t=this.props.onResolveSuggestions(e,this.props.selectedItems);this._updateSuggestionsVisible(!0),null!==t&&this.updateSuggestionsList(t)},e.prototype._updateSuggestionsVisible=function(e){e?this.showPicker():this.hidePicker()},e.prototype._bindToInputElement=function(){this.props.inputElement&&!this.state.didBind&&(this.props.inputElement.addEventListener("keydown",this.onKeyDown),this.setState({didBind:!0}))},e.prototype._unbindFromInputElement=function(){this.props.inputElement&&this.state.didBind&&(this.props.inputElement.removeEventListener("keydown",this.onKeyDown),this.setState({didBind:!1}))},e}(ht.Component);Kt([{rawString:".resultContent_f73be5be{display:table-row}.resultContent_f73be5be .resultItem_f73be5be{display:table-cell;vertical-align:bottom}.peoplePickerPersona_f73be5be{width:180px}.peoplePickerPersona_f73be5be .ms-Persona-details{width:100%}.peoplePicker_f73be5be .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_f73be5be{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:7px 12px}"}]);var Dx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t}(Ix),Ex=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.defaultProps={onRenderSuggestionsItem:function(e,t){return o=pt({},e),pt({},t),ht.createElement("div",{className:hi("ms-PeoplePicker-personaContent","peoplePickerPersonaContent_f73be5be")},ht.createElement(GS,pt({presence:void 0!==o.presence?o.presence:fi.none,size:mi.size40,className:hi("ms-PeoplePicker-Persona","peoplePickerPersona_f73be5be"),showSecondaryText:!0},o)));var o},createGenericItem:Tx},t}(Dx);function Tx(e,t){var o={key:e,primaryText:e,imageInitials:"!",isValid:t};return t||(o.imageInitials=ni(e,cr())),o}var Px=function(){function e(e){var t=this;this._isSuggestionModel=function(e){return void 0!==e.item},this._ensureSuggestionModel=function(e){return t._isSuggestionModel(e)?e:{item:e,selected:!1,ariaLabel:void 0!==t.getAriaLabel?t.getAriaLabel(e):e.name||e.text||e.primaryText}},this.suggestions=[],this.getAriaLabel=e&&e.getAriaLabel}return e.prototype.updateSuggestions=function(e){e&&e.length>0?this.suggestions=this.convertSuggestionsToSuggestionItems(e):this.suggestions=[]},e.prototype.getSuggestions=function(){return this.suggestions},e.prototype.getSuggestionAtIndex=function(e){return this.suggestions[e]},e.prototype.removeSuggestion=function(e){this.suggestions.splice(e,1)},e.prototype.convertSuggestionsToSuggestionItems=function(e){return Array.isArray(e)?e.map(this._ensureSuggestionModel):[]},e}(),Rx=function(e){return!(!e||!e.some(function(e){return e.children?Rx(e.children):!e.isCollapsed}))},Mx=function(e,t){if(void 0!==e)for(var o=0;o=0;)i.push({group:e[a],groupIndex:a+1}),a--;for(;i.length>0;){var s=i.pop(),l=s.group,c=s.groupIndex;for(o[r]={group:l,groupId:bs("GroupedListSection"),type:"header",groupIndex:c},r++;!0!==l.isCollapsed&&(null==l?void 0:l.children)&&l.children.length>0;){for(a=l.children.length-1;a>0;)i.push({group:l.children[a],groupIndex:a+1}),a--;l=l.children[0],o[r]={group:l,groupId:bs("GroupedListSection"),type:"header",groupIndex:1},r++}if(!0!==l.isCollapsed){for(var u=l.startIndex,d=n?n(l):1/0,p=l.isShowingAll?t.length:l.count,h=u+Math.min(p,d);ud||l.hasMoreData)&&(o[r]={group:l,type:"showAll"},r++)}o[r]={group:l,type:"footer"},r++}return o.length=r,o}(u,c,L.current,null==a?void 0:a.getGroupItemLimit)},[u,null==a?void 0:a.getGroupItemLimit,c,G,L,D]),Z=ht.useCallback(function(e){var t=Y[e];return{key:"header"===t.type?t.group.key:void 0}},[Y]);ht.useImperativeHandle(I,function(){var a;return{scrollToIndex:function(e,o,t){var n,r=(a=null!=a?a:Y.reduce(function(e,t,o){return"item"===t.type&&(e[t.itemIndex]=o),e},[]))[e],i="function"==typeof o?function(e){var t;return"item"===(null===(t=Y[e])||void 0===t?void 0:t.type)?o(Y[e].itemIndex):0}:void 0;null===(n=H.current)||void 0===n||n.scrollToIndex(r,i,t)},getStartItemIndexInView:function(){var e;return(null===(e=H.current)||void 0===e?void 0:e.getStartItemIndexInView())||0}}},[Y,H]),ht.useEffect(function(){return(null==a?void 0:a.isAllGroupsCollapsed)&&Mx(u,a.isAllGroupsCollapsed),F.current=new xl(void 0),function(){var e;null===(e=F.current)||void 0===e||e.dispose(),F.current=void 0}},[]),ht.useEffect(function(){V({})},[E]),ht.useEffect(function(){var e=Rx(u);e!==O.current&&(O.current=e,null==d||d(e))},[u,G,d,D]);var X=ht.useCallback(function(e){var t,o=null===(t=null==a?void 0:a.headerProps)||void 0===t?void 0:t.onToggleCollapse;e&&(null==o||o(e),e.isCollapsed=!e.isCollapsed,U({}),V({}))},[U,a]),Q=function(e){e&&i&&n===ay.multiple&&i.toggleRangeSelected(e.startIndex,e.count)},J=function(e){var t,o=null===(t=null==a?void 0:a.showAllProps)||void 0===t?void 0:t.onToggleSummarize;o?o(e):(e&&(e.isShowingAll=!e.isShowingAll),V({}),U({}))},$=function(e,t){var o;return{group:e,groupIndex:t,groupLevel:null!==(o=e.level)&&void 0!==o?o:0,viewport:w,selectionMode:n,groups:u,compact:s,onToggleSelectGroup:Q,onToggleCollapse:X,onToggleSummarize:J}};return ht.createElement(Xs,pt({direction:xa.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},_,{shouldEnterInnerZone:q,className:hi(A.root,_.className)}),ht.createElement(db,pt({ref:H,role:b,items:Y,onRenderCellConditional:function(e,t){var o;if("header"===e.type)return function(e,t){var o,n=e.group;o="treegrid"===b?{ariaLevel:n.level?n.level+1:1,ariaSetSize:u?u.length:void 0,ariaPosInSet:e.groupIndex}:{ariaRowIndex:t};var r=pt(pt(pt(pt({},a.headerProps),$(e.group,t)),{key:n.key,groupedListId:e.groupId}),o);return ht.createElement(zx,{render:P,defaultRender:Fx,item:e,selection:i,eventGroup:F.current,props:r})}(e,t);if("showAll"===e.type)return function(e,t){var o=e.group,n=pt(pt(pt({},a.showAllProps),$(o,t)),{key:o.key?"".concat(o.key,"-show-all"):void 0});return B(n,Lx)}(e,t);if("footer"===e.type)return function(e,t){var o=e.group,n=pt(pt(pt({},a.footerProps),$(o,t)),{key:o.key?"".concat(o.key,"-footer"):void 0});return M(n,Ox)}(e,t);var n=e.group.level?e.group.level+1:1;return k(n,e.item,null!==(o=e.itemIndex)&&void 0!==o?o:t,e.group)},usePageCache:m,onShouldVirtualize:f,getPageSpecification:Z,version:W,getKey:Ax},p,x)))},zx=function(e){var t=e.render,o=e.defaultRender,n=e.item,r=e.selection,i=e.eventGroup,a=e.props,s=n.group,l=function(t,o,n,r){var e=ht.useState(function(){var e;return null!==(e=null==n?void 0:n.isRangeSelected(t,o))&&void 0!==e&&e}),i=e[0],a=e[1];return ht.useEffect(function(){if(n&&r){var e=function(){var e;a(null!==(e=null==n?void 0:n.isRangeSelected(t,o))&&void 0!==e&&e)};return r.on(n,ly,e),function(){null==r||r.off(n,ly,e)}}},[t,o,n,r]),i}(s.startIndex,s.count,r,i);return t(pt(pt({},a),{isSelected:l,selected:l}),o)},Wx=function(a){function e(e){var t=a.call(this,e)||this;t._groupedList=ht.createRef(),ua(t);var o=e.listProps,n=(void 0===o?{}:o).version,r=void 0===n?{}:n,i=e.groups;return t.state={version:r,groupExpandedVersion:{},groups:i},t}return m(e,a),e.getDerivedStateFromProps=function(e,t){var o=e.groups,n=e.selectionMode,r=e.compact,i=e.items,a=e.listProps,s=a&&a.version,l=pt(pt({},t),{groups:o});return s===t.version&&i===t.items&&o===t.groups&&n===t.selectionMode&&r===t.compact||(l.version={}),l},e.prototype.scrollToIndex=function(e,t,o){var n;null===(n=this._groupedList.current)||void 0===n||n.scrollToIndex(e,t,o)},e.prototype.getStartItemIndexInView=function(){var e;return(null===(e=this._groupedList.current)||void 0===e?void 0:e.getStartItemIndexInView())||0},e.prototype.render=function(){return ht.createElement(Hx,pt({},this.props,this.state,{groupedListRef:this._groupedList}))},e.prototype.forceUpdate=function(){a.prototype.forceUpdate.call(this),this._forceListUpdate()},e.prototype.toggleCollapseAll=function(e){var t,o=this.state.groups,n=this.props.groupProps;o&&o.length>0&&(null===(t=null==n?void 0:n.onToggleCollapseAll)||void 0===t||t.call(n,e),Mx(o,e),this.setState({groupExpandedVersion:{}}),this.forceUpdate())},e.prototype._forceListUpdate=function(){this.setState({version:{}})},e.displayName="GroupedListV2",e}(ht.Component),Vx=ir(Wx,Wy,void 0,{scope:"GroupedListV2"});Vx.displayName="GroupedListV2_unstable";var Kx,Gx={root:"ms-ExpandingCard-root",compactCard:"ms-ExpandingCard-compactCard",expandedCard:"ms-ExpandingCard-expandedCard",expandedCardScroll:"ms-ExpandingCard-expandedCardScrollRegion"};!function(e){e[e.compact=0]="compact",e[e.expanded=1]="expanded"}(Kx||(Kx={}));var Ux,jx,qx=function(e){var t=e.gapSpace,o=void 0===t?0:t,n=e.directionalHint,r=void 0===n?Rl.bottomLeftEdge:n,i=e.directionalHintFixed,a=e.targetElement,s=e.firstFocus,l=e.trapFocus,c=e.onLeave,u=e.className,d=e.finalHeight,p=e.content,h=e.calloutProps,m=pt(pt(pt({},qr(e,jr)),{className:u,target:a,isBeakVisible:!1,directionalHint:r,directionalHintFixed:i,finalHeight:d,minPagePadding:24,onDismiss:c,gapSpace:o}),h);return ht.createElement(ht.Fragment,null,l?ht.createElement(of,pt({},m,{focusTrapProps:{forceFocusInsideTrap:!1,isClickableOutsideFocusTrap:!0,disableFirstFocus:!s}}),p):ht.createElement(Nu,pt({},m),p))},Yx=vr(),Zx=function(o){function e(e){var t=o.call(this,e)||this;return t._expandedElem=ht.createRef(),t._onKeyDown=function(e){e.which===sr.escape&&t.props.onLeave&&t.props.onLeave(e)},t._onRenderCompactCard=function(){return ht.createElement("div",{className:t._classNames.compactCard},t.props.onRenderCompactCard(t.props.renderData))},t._onRenderExpandedCard=function(){return!t.state.firstFrameRendered&&t._async.requestAnimationFrame(function(){t.setState({firstFrameRendered:!0})}),ht.createElement("div",{className:t._classNames.expandedCard,ref:t._expandedElem},ht.createElement("div",{className:t._classNames.expandedCardScroll},t.props.onRenderExpandedCard&&t.props.onRenderExpandedCard(t.props.renderData)))},t._checkNeedsScroll=function(){var e=t.props.expandedCardHeight;t._async.requestAnimationFrame(function(){t._expandedElem.current&&t._expandedElem.current.scrollHeight>=e&&t.setState({needsScroll:!0})})},t._async=new fa(t),ua(t),t.state={firstFrameRendered:!1,needsScroll:!1},t}return m(e,o),e.prototype.componentDidMount=function(){this._checkNeedsScroll()},e.prototype.componentWillUnmount=function(){this._async.dispose()},e.prototype.render=function(){var e=this.props,t=e.styles,o=e.compactCardHeight,n=e.expandedCardHeight,r=e.theme,i=e.mode,a=e.className,s=this.state,l=s.needsScroll,c=s.firstFrameRendered,u=o+n;this._classNames=Yx(t,{theme:r,compactCardHeight:o,className:a,expandedCardHeight:n,needsScroll:l,expandedCardFirstFrameRendered:i===Kx.expanded&&c});var d=ht.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this._onRenderCompactCard(),this._onRenderExpandedCard());return ht.createElement(qx,pt({},this.props,{content:d,finalHeight:u,className:this._classNames.root}))},e.defaultProps={compactCardHeight:156,expandedCardHeight:384,directionalHintFixed:!0},e}(ht.Component),Xx=ir(Zx,function(e){var t,o=e.theme,n=e.needsScroll,r=e.expandedCardFirstFrameRendered,i=e.compactCardHeight,a=e.expandedCardHeight,s=e.className,l=o.palette,c=Ro(Gx,o);return{root:[c.root,{width:320,pointerEvents:"none",selectors:(t={},t[Mo]={border:"1px solid WindowText"},t)},s],compactCard:[c.compactCard,{pointerEvents:"auto",position:"relative",height:i}],expandedCard:[c.expandedCard,{height:1,overflowY:"hidden",pointerEvents:"auto",transition:"height 0.467s cubic-bezier(0.5, 0, 0, 1)",selectors:{":before":{content:'""',position:"relative",display:"block",top:0,left:24,width:272,height:1,backgroundColor:l.neutralLighter}}},r&&{height:a}],expandedCardScroll:[c.expandedCardScroll,n&&{height:"100%",boxSizing:"border-box",overflowY:"auto"}]}},void 0,{scope:"ExpandingCard"}),Qx={host:"ms-HoverCard-host"};!function(e){e[e.hover=0]="hover",e[e.hotKey=1]="hotKey"}(Ux||(Ux={})),function(e){e.plain="PlainCard",e.expanding="ExpandingCard"}(jx||(jx={}));var Jx={root:"ms-PlainCard-root"},$x=vr(),ek=function(o){function e(e){var t=o.call(this,e)||this;return t._onKeyDown=function(e){e.which===sr.escape&&t.props.onLeave&&t.props.onLeave(e)},ua(t),t}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme,n=e.className;this._classNames=$x(t,{theme:o,className:n});var r=ht.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this.props.onRenderPlainCard(this.props.renderData));return ht.createElement(qx,pt({},this.props,{content:r,className:this._classNames.root}))},e}(ht.Component),tk=ir(ek,function(e){var t,o=e.theme,n=e.className;return{root:[Ro(Jx,o).root,{pointerEvents:"auto",selectors:(t={},t[Mo]={border:"1px solid WindowText"},t)},n]}},void 0,{scope:"PlainCard"}),ok=vr(),nk=function(t){function e(e){var a=t.call(this,e)||this;return a._hoverCard=ht.createRef(),a.dismiss=function(e){a._async.clearTimeout(a._openTimerId),a._async.clearTimeout(a._dismissTimerId),e?a._dismissTimerId=a._async.setTimeout(function(){a._setDismissedState()},a.props.cardDismissDelay):a._setDismissedState()},a._cardOpen=function(e){a._shouldBlockHoverCard()||"keydown"===e.type&&e.which!==a.props.openHotKey||(a._async.clearTimeout(a._dismissTimerId),"mouseenter"===e.type&&(a._currentMouseTarget=e.currentTarget),a._executeCardOpen(e))},a._executeCardOpen=function(t){a._async.clearTimeout(a._openTimerId),a._openTimerId=a._async.setTimeout(function(){a.setState(function(e){return e.isHoverCardVisible?e:{isHoverCardVisible:!0,mode:Kx.compact,openMode:"keydown"===t.type?Ux.hotKey:Ux.hover}})},a.props.cardOpenDelay)},a._cardDismiss=function(e,t){if(e){if(!(t instanceof MouseEvent))return;if("keydown"===t.type&&t.which!==sr.escape)return;a.props.sticky||a._currentMouseTarget!==t.currentTarget&&t.which!==sr.escape||a.dismiss(!0)}else{if(a.props.sticky&&!(t instanceof MouseEvent)&&t.nativeEvent instanceof MouseEvent&&"mouseleave"===t.type)return;a.dismiss(!0)}},a._setDismissedState=function(){a.setState({isHoverCardVisible:!1,mode:Kx.compact,openMode:Ux.hover})},a._instantOpenAsExpanded=function(e){a._async.clearTimeout(a._dismissTimerId),a.setState(function(e){return e.isHoverCardVisible?e:{isHoverCardVisible:!0,mode:Kx.expanded}})},a._setEventListeners=function(){var e=a.props,t=e.trapFocus,o=e.instantOpenOnClick,n=e.eventListenerTarget,r=n?a._getTargetElement(n):a._getTargetElement(a.props.target),i=a._nativeDismissEvent;r&&(a._events.on(r,"mouseenter",a._cardOpen),a._events.on(r,"mouseleave",i),t?a._events.on(r,"keydown",a._cardOpen):(a._events.on(r,"focus",a._cardOpen),a._events.on(r,"blur",i)),o?a._events.on(r,"click",a._instantOpenAsExpanded):(a._events.on(r,"mousedown",i),a._events.on(r,"keydown",i)))},ua(a),a._async=new fa(a),a._events=new xl(a),a._nativeDismissEvent=a._cardDismiss.bind(a,!0),a._childDismissEvent=a._cardDismiss.bind(a,!1),a.state={isHoverCardVisible:!1,mode:Kx.compact,openMode:Ux.hover},a}return m(e,t),e.prototype.componentDidMount=function(){this._setEventListeners()},e.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},e.prototype.componentDidUpdate=function(e,t){var o=this;e.target!==this.props.target&&(this._events.off(),this._setEventListeners()),t.isHoverCardVisible!==this.state.isHoverCardVisible&&(this.state.isHoverCardVisible?(this._async.setTimeout(function(){o.setState({mode:Kx.expanded},function(){o.props.onCardExpand&&o.props.onCardExpand()})},this.props.expandedCardOpenDelay),this.props.onCardVisible&&this.props.onCardVisible()):(this.setState({mode:Kx.compact}),this.props.onCardHide&&this.props.onCardHide()))},e.prototype.render=function(){var e=this.props,t=e.expandingCardProps,o=e.children,n=e.id,r=e.setAriaDescribedBy,i=void 0===r||r,a=e.styles,s=e.theme,l=e.className,c=e.type,u=e.plainCardProps,d=e.trapFocus,p=e.setInitialFocus,h=this.state,m=h.isHoverCardVisible,f=h.mode,g=h.openMode,v=n||bs("hoverCard");this._classNames=ok(a,{theme:s,className:l});var b=pt(pt({},qr(this.props,jr)),{id:v,trapFocus:!!d,firstFocus:p||g===Ux.hotKey,targetElement:this._getTargetElement(this.props.target),onEnter:this._cardOpen,onLeave:this._childDismissEvent}),y=pt(pt(pt({},t),b),{mode:f}),C=pt(pt({},u),b);return ht.createElement("div",{className:this._classNames.host,ref:this._hoverCard,"aria-describedby":i&&m?v:void 0,"data-is-focusable":!this.props.target},o,m&&(c===jx.expanding?ht.createElement(Xx,pt({},y)):ht.createElement(tk,pt({},C))))},e.prototype._getTargetElement=function(e){switch(typeof e){case"string":return st().querySelector(e);case"object":return e;default:return this._hoverCard.current||void 0}},e.prototype._shouldBlockHoverCard=function(){return!(!this.props.shouldBlockHoverCard||!this.props.shouldBlockHoverCard())},e.defaultProps={cardOpenDelay:500,cardDismissDelay:100,expandedCardOpenDelay:1500,instantOpenOnClick:!1,setInitialFocus:!1,openHotKey:sr.c,type:jx.expanding},e}(ht.Component),rk=ir(nk,function(e){var t=e.className,o=e.theme;return{host:[Ro(Qx,o).host,t]}},void 0,{scope:"HoverCard"});function ik(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('".concat(e,"fabric-icons-a13498cf.woff') format('woff')")},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Edit:"",Add:"",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"",ChevronLeft:"",ChevronRight:"",Calendar:"",Megaphone:"",Undo:"",Flag:"",Page:"",Pinned:"",View:"",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"",List:"",CircleRing:"",Heart:"",HeartFill:"",Tiles:"",Embed:"",Glimmer:"",Ascending:"",Descending:"",SortUp:"",SortDown:"",SyncToPC:"",LargeGrid:"",SkypeCheck:"",SkypeClock:"",SkypeMinus:"",ClearFilter:"",Flow:"",StatusCircleCheckmark:"",MoreVertical:""}},t)}function ak(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('".concat(e,"fabric-icons-0-467ee27f.woff') format('woff')")},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"",ProductList:"",UnpublishContent:"",DependencyAdd:"",DependencyRemove:"",EntitlementPolicy:"",EntitlementRedemption:"",SchoolDataSyncLogo:"",PinSolid12:"",PinSolidOff12:"",AddLink:"",SharepointAppIcon16:"",DataflowsLink:"",TimePicker:"",UserWarning:"",ComplianceAudit:"",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"",Zoom:"",ZoomOut:"",Microphone:"",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"",Print:"",Up:"",Down:"",OEM:"",Save:"",ReturnKey:"",Cloud:"",Flashlight:"",CommandPrompt:"",Sad:"",RealEstate:"",SIPMove:"",EraseTool:"",GripperTool:"",Dialpad:"",PageLeft:"",PageRight:"",MultiSelect:"",KeyboardClassic:"",Play:"",Pause:"",InkingTool:"",Emoji2:"",GripperBarHorizontal:"",System:"",Personalize:"",SearchAndApps:"",Globe:"",EaseOfAccess:"",ContactInfo:"",Unpin:"",Contact:"",Memo:"",IncomingCall:""}},t)}function sk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('".concat(e,"fabric-icons-1-4d521695.woff') format('woff')")},icons:{Paste:"",WindowsLogo:"",Error:"",GripperBarVertical:"",Unlock:"",Slideshow:"",Trim:"",AutoEnhanceOn:"",AutoEnhanceOff:"",Color:"",SaveAs:"",Light:"",Filters:"",AspectRatio:"",Contrast:"",Redo:"",Crop:"",PhotoCollection:"",Album:"",Rotate:"",PanoIndicator:"",Translate:"",RedEye:"",ViewOriginal:"",ThumbnailView:"",Package:"",Telemarketer:"",Warning:"",Financial:"",Education:"",ShoppingCart:"",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"",StreetsideSplitMinimize:"",Car:"",Bus:"",EatDrink:"",SeeDo:"",LocationCircle:"",Home:"",SwitcherStartEnd:"",ParkingLocation:"",IncidentTriangle:"",Touch:"",MapDirections:"",CaretHollow:"",CaretSolid:"",History:"",Location:"",MapLayers:"",SearchNearby:"",Work:"",Recent:"",Hotel:"",Bank:"",LocationDot:"",Dictionary:"",ChromeBack:"",FolderOpen:"",PinnedFill:"",RevToggleKey:"",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"",Remote:"",SelectAll:"",Orientation:"",Import:""}},t)}function lk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('".concat(e,"fabric-icons-2-63c99abf.woff') format('woff')")},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"",MoveToFolder:"",Dislike:"",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"",Repair:"",Accounts:"",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"",Timer:"",FullCircleMask:"",LocationFill:"",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"",FrontCamera:"",ChevronUpSmall:""}},t)}function ck(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('".concat(e,"fabric-icons-3-089e217a.woff') format('woff')")},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"",PartlyCloudyNight:"",ClearNight:"",RainShowersDay:"",Rain:"",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"",Fog:"",Squalls:"",Duststorm:"",Unknown:"",Precipitation:"",Ribbon:"",AreaChart:"",Assign:"",FlowChart:"",CheckList:"",Diagnostic:"",Generate:"",LineChart:"",Equalizer:"",BarChartHorizontal:"",BarChartVertical:"",Freezing:"",FunnelChart:"",Processing:"",Quantity:"",ReportDocument:"",StackColumnChart:"",SnowShowerDay:"",HailDay:"",WorkFlow:"",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"",BookmarksMirrored:"",BulletedListMirrored:"",CaretHollowMirrored:"",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"",GoMirrored:""}},t)}function uk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('".concat(e,"fabric-icons-4-a656cc0a.woff') format('woff')")},icons:{HelpMirrored:"",ImportMirrored:"",ImportAllMirrored:"",ListMirrored:"",MailForwardMirrored:"",MailReplyMirrored:"",MailReplyAllMirrored:"",MiniContractMirrored:"",MiniExpandMirrored:"",OpenPaneMirrored:"",ParkingLocationMirrored:"",SendMirrored:"",ShowResultsMirrored:"",ThumbnailViewMirrored:"",Media:"",Devices3:"",Focus:"",VideoLightOff:"",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"",PDF:"",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"",Wines:"",Articles:"",Cycling:"",DietPlanNotebook:"",Pill:"",ExerciseTracker:"",HandsFree:"",Medical:"",Running:"",Weights:"",Trackers:"",AddNotes:"",AllCurrency:"",BarChart4:"",CirclePlus:"",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"",Drop:"",HistoricalWeather:"",SkiResorts:"",Snowflake:"",BusSolid:"",FerrySolid:"",AirplaneSolid:"",TrainSolid:"",Ticket:"",WifiWarning4:"",Devices4:"",AzureLogo:"",BingLogo:"",MSNLogo:"",OutlookLogoInverse:"",OfficeLogo:"",SkypeLogo:"",Door:"",EditMirrored:"",GiftCard:"",DoubleBookmark:"",StatusErrorFull:""}},t)}function dk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('".concat(e,"fabric-icons-5-f95ba260.woff') format('woff')")},icons:{Certificate:"",FastForward:"",Rewind:"",Photo2:"",OpenSource:"",Movers:"",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"",NetworkTower:"",CityNext:"",CityNext2:"",Section:"",OneNoteLogoInverse:"",ToggleFilled:"",ToggleBorder:"",SliderThumb:"",ToggleThumb:"",Documentation:"",Badge:"",Giftbox:"",VisualStudioLogo:"",HomeGroup:"",ExcelLogoInverse:"",WordLogoInverse:"",PowerPointLogoInverse:"",Cafe:"",SpeedHigh:"",Commitments:"",ThisPC:"",MusicNote:"",MicOff:"",PlaybackRate1x:"",EdgeLogo:"",CompletedSolid:"",AlbumRemove:"",MessageFill:"",TabletSelected:"",MobileSelected:"",LaptopSelected:"",TVMonitorSelected:"",DeveloperTools:"",Shapes:"",InsertTextBox:"",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"",CloudUpload:"",ScrollUpDown:"",DateTime:"",Event:"",Cake:"",Org:"",PartyLeader:"",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"",PageHeader:"",ChatInviteFriend:"",Brush:"",Shirt:"",Crown:"",Diamond:"",ScaleUp:"",QRCode:"",Feedback:"",SharepointLogoInverse:"",YammerLogo:"",Hide:"",Uneditable:"",ReturnToSession:"",OpenFolderHorizontal:"",CalendarMirrored:""}},t)}function pk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('".concat(e,"fabric-icons-6-ef6fd590.woff') format('woff')")},icons:{SwayLogoInverse:"",OutOfOffice:"",Trophy:"",ReopenPages:"",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"",AdminLLogoInverse32:"",AdminMLogoInverse32:"",AdminOLogoInverse32:"",AdminPLogoInverse32:"",AdminSLogoInverse32:"",AdminYLogoInverse32:"",DelveLogoInverse:"",ExchangeLogoInverse:"",LyncLogo:"",OfficeVideoLogoInverse:"",SocialListeningLogo:"",VisioLogoInverse:"",Balloons:"",Cat:"",MailAlert:"",MailCheck:"",MailLowImportance:"",MailPause:"",MailRepeat:"",SecurityGroup:"",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"",EventInfo:"",ForwardEvent:"",WipePhone:"",AddOnlineMeeting:"",JoinOnlineMeeting:"",RemoveLink:"",PeopleBlock:"",PeopleRepeat:"",PeopleAlert:"",PeoplePause:"",TransferCall:"",AddPhone:"",UnknownCall:"",NoteReply:"",NoteForward:"",NotePinned:"",RemoveOccurrence:"",Timeline:"",EditNote:"",CircleHalfFull:"",Room:"",Unsubscribe:"",Subscribe:"",HardDrive:"",RecurringTask:"",TaskManager:"",TaskManagerMirrored:"",Combine:"",Split:"",DoubleChevronUp:"",DoubleChevronLeft:"",DoubleChevronRight:"",TextBox:"",TextField:"",NumberField:"",Dropdown:"",PenWorkspace:"",BookingsLogo:"",ClassNotebookLogoInverse:"",DelveAnalyticsLogo:"",DocsLogoInverse:"",Dynamics365Logo:"",DynamicSMBLogo:"",OfficeAssistantLogo:"",OfficeStoreLogo:"",OneNoteEduLogoInverse:"",PlannerLogo:"",PowerApps:"",Suitcase:"",ProjectLogoInverse:"",CaretLeft8:"",CaretRight8:"",CaretUp8:"",CaretDown8:"",CaretLeftSolid8:"",CaretRightSolid8:"",CaretUpSolid8:"",CaretDownSolid8:"",ClearFormatting:"",Superscript:"",Subscript:"",Strikethrough:"",Export:"",ExportMirrored:""}},t)}function hk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('".concat(e,"fabric-icons-7-2b97bb99.woff') format('woff')")},icons:{SingleBookmark:"",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"",GroupedDescending:"",GroupedAscending:"",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"",WifiEthernet:"",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"",TriangleSolidLeft12:"",TriangleSolidRight12:"",TriangleUp12:"",TriangleDown12:"",TriangleLeft12:"",TriangleRight12:"",ArrowUpRight8:"",ArrowDownRight8:"",DocumentSet:"",GoToDashboard:"",DelveAnalytics:"",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"",CompanyDirectory:"",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"",ProfileSearch:"",Header2:"",Header3:"",Header4:"",RingerSolid:"",Eyedropper:"",MarketDown:"",CalendarWorkWeek:"",SidePanel:"",GlobeFavorite:"",CaretTopLeftSolid8:"",CaretTopRightSolid8:"",ViewAll2:"",DocumentReply:"",PlayerSettings:"",ReceiptForward:"",ReceiptReply:"",ReceiptCheck:"",Fax:"",RecurringEvent:"",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"",EditMail:"",Lifesaver:"",LifesaverLock:"",InboxCheck:"",FolderSearch:""}},t)}function mk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('".concat(e,"fabric-icons-8-6fdf1528.woff') format('woff')")},icons:{CollapseMenu:"",ExpandMenu:"",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"",PublicContactCard:"",PublicEmail:"",PublicFolder:"",WordDocument:"",PowerPointDocument:"",ExcelDocument:"",GroupedList:"",ClassroomLogo:"",Sections:"",EditPhoto:"",Starburst:"",ShareiOS:"",AirTickets:"",PencilReply:"",Tiles2:"",SkypeCircleCheck:"",SkypeCircleClock:"",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"",TimeEntry:"",CRMProcesses:"",PageEdit:"",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"",EditContact:"",ConnectContacts:"",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"",DeactivateOrders:"",ProductCatalog:"",ScatterChart:"",AccountActivity:"",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"",Compare:"",EventDate:"",ArrowUpRight:"",CaretRight:"",SetAction:"",ChatBot:"",CaretSolidLeft:"",CaretSolidDown:"",CaretSolidRight:"",CaretSolidUp:"",PowerAppsLogo:"",PowerApps2Logo:"",SearchIssue:"",SearchIssueMirrored:"",FabricAssetLibrary:"",FabricDataConnectionLibrary:"",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"",FabricReportLibrary:"",FabricReportLibraryMirrored:"",FabricPublicFolder:"",FabricFolderSearch:"",FabricMovetoFolder:"",FabricUnsyncFolder:"",FabricSyncFolder:"",FabricOpenFolderHorizontal:"",FabricFolder:"",FabricFolderFill:"",FabricNewFolder:"",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}},t)}function fk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('".concat(e,"fabric-icons-9-c6162b42.woff') format('woff')")},icons:{AddFavoriteFill:"",BufferTimeBefore:"",BufferTimeAfter:"",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"",PageCheckedin:"",PageList:"",ReadOutLoud:"",CaretBottomLeftSolid8:"",CaretBottomRightSolid8:"",FolderHorizontal:"",MicrosoftStaffhubLogo:"",GiftboxOpen:"",StatusCircleOuter:"",StatusCircleInner:"",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"",StatusCircleBlock:"",StatusCircleBlock2:"",StatusCircleQuestionMark:"",StatusCircleSync:"",Toll:"",ExploreContentSingle:"",CollapseContent:"",CollapseContentSingle:"",InfoSolid:"",GroupList:"",ProgressRingDots:"",CaloriesAdd:"",BranchFork:"",MuteChat:"",AddHome:"",AddWork:"",MobileReport:"",ScaleVolume:"",HardDriveGroup:"",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}},t)}function gk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('".concat(e,"fabric-icons-10-c4ded8e4.woff') format('woff')")},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"",StackedLineChart:"",BuildQueue:"",BuildQueueNew:"",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"",Blur:"",Build:"",ProcessMetaTask:"",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"",Redeploy:"",ServerEnviroment:"",VisioDiagram:"",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"",FieldEmpty:"",FieldFilled:"",FieldChanged:"",FieldNotChanged:"",RingerOff:"",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"",RepoSolid:"",FolderQuery:"",FolderList:"",FolderListMirrored:"",LocationOutline:"",POISolid:"",CalculatorNotEqualTo:"",BoxSubtractSolid:""}},t)}function vk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('".concat(e,"fabric-icons-11-2a8393d6.woff') format('woff')")},icons:{BoxAdditionSolid:"",BoxMultiplySolid:"",BoxPlaySolid:"",BoxCheckmarkSolid:"",CirclePauseSolid:"",CirclePause:"",MSNVideosSolid:"",CircleStopSolid:"",CircleStop:"",NavigateBack:"",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"",UnknownSolid:"",UnknownMirroredSolid:"",CircleAddition:"",CircleAdditionSolid:"",FilePDB:"",FileTemplate:"",FileSQL:"",FileJAVA:"",FileASPX:"",FileCSS:"",FileSass:"",FileLess:"",FileHTML:"",JavaScriptLanguage:"",CSharpLanguage:"",CSharp:"",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"",FSharpLanguage:"",FSharp:"",TypeScriptLanguage:"",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"",FullWidth:"",FullWidthEdit:"",Plug:"",PlugSolid:"",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"",FileCode:"",FileComment:"",BusinessHoursSign:"",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"",GiftBoxSolid:"",ShoppingCartSolid:"",MailSolid:"",ChatSolid:"",RibbonSolid:""}},t)}function bk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('".concat(e,"fabric-icons-12-7e945a1e.woff') format('woff')")},icons:{FinancialSolid:"",FinancialMirroredSolid:"",HeadsetSolid:"",PermissionsSolid:"",ParkingSolid:"",ParkingMirroredSolid:"",DiamondSolid:"",AsteriskSolid:"",OfflineStorageSolid:"",BankSolid:"",DecisionSolid:"",Parachute:"",ParachuteSolid:"",FiltersSolid:"",ColorSolid:"",ReviewSolid:"",ReviewRequestSolid:"",ReviewRequestMirroredSolid:"",ReviewResponseSolid:"",FeedbackRequestSolid:"",FeedbackRequestMirroredSolid:"",FeedbackResponseSolid:"",WorkItemBar:"",WorkItemBarSolid:"",Separator:"",NavigateExternalInline:"",PlanView:"",TimelineMatrixView:"",EngineeringGroup:"",ProjectCollection:"",CaretBottomRightCenter8:"",CaretBottomLeftCenter8:"",CaretTopRightCenter8:"",CaretTopLeftCenter8:"",DonutChart:"",ChevronUnfold10:"",ChevronFold10:"",DoubleChevronDown8:"",DoubleChevronUp8:"",DoubleChevronLeft8:"",DoubleChevronRight8:"",ChevronDownEnd6:"",ChevronUpEnd6:"",ChevronLeftEnd6:"",ChevronRightEnd6:"",ContextMenu:"",AzureAPIManagement:"",AzureServiceEndpoint:"",VSTSLogo:"",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"",CRMCustomerInsightsApp:"",EditCreate:"",PlayReverseResume:"",PlayReverse:"",SearchData:"",UnSetColor:"",DeclineCall:""}},t)}function yk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('".concat(e,"fabric-icons-13-c3989a02.woff') format('woff')")},icons:{RectangularClipping:"",TeamsLogo16:"",TeamsLogoFill16:"",Spacer:"",SkypeLogo16:"",SkypeForBusinessLogo16:"",SkypeForBusinessLogoFill16:"",FilterSolid:"",MailUndelivered:"",MailTentative:"",MailTentativeMirrored:"",MailReminder:"",ReceiptUndelivered:"",ReceiptTentative:"",ReceiptTentativeMirrored:"",Inbox:"",IRMReply:"",IRMReplyMirrored:"",IRMForward:"",IRMForwardMirrored:"",VoicemailIRM:"",EventAccepted:"",EventTentative:"",EventTentativeMirrored:"",EventDeclined:"",IDBadge:"",BackgroundColor:"",OfficeFormsLogoInverse16:"",OfficeFormsLogo:"",OfficeFormsLogoFill:"",OfficeFormsLogo16:"",OfficeFormsLogoFill16:"",OfficeFormsLogoInverse24:"",OfficeFormsLogo24:"",OfficeFormsLogoFill24:"",PageLock:"",NotExecuted:"",NotImpactedSolid:"",FieldReadOnly:"",FieldRequired:"",BacklogBoard:"",ExternalBuild:"",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"",ProjectLogo32:"",ProjectLogoFill32:"",ProjectLogo16:"",ProjectLogoFill16:"",SwayLogo32:"",SwayLogoFill32:"",SwayLogo16:"",SwayLogoFill16:"",ClassNotebookLogo32:"",ClassNotebookLogoFill32:"",ClassNotebookLogo16:"",ClassNotebookLogoFill16:"",ClassNotebookLogoInverse32:"",ClassNotebookLogoInverse16:"",StaffNotebookLogo32:"",StaffNotebookLogoFill32:"",StaffNotebookLogo16:"",StaffNotebookLogoFill16:"",StaffNotebookLogoInverted32:"",StaffNotebookLogoInverted16:"",KaizalaLogo:"",TaskLogo:"",ProtectionCenterLogo32:"",GallatinLogo:"",Globe2:"",Guitar:"",Breakfast:"",Brunch:"",BeerMug:"",Vacation:"",Teeth:"",Taxi:"",Chopsticks:"",SyncOccurence:"",UnsyncOccurence:"",GIF:"",PrimaryCalendar:"",SearchCalendar:"",VideoOff:"",MicrosoftFlowLogo:"",BusinessCenterLogo:"",ToDoLogoBottom:"",ToDoLogoTop:"",EditSolid12:"",EditSolidMirrored12:"",UneditableSolid12:"",UneditableSolidMirrored12:"",UneditableMirrored:"",AdminALogo32:"",AdminALogoFill32:"",ToDoLogoInverse:""}},t)}function Ck(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('".concat(e,"fabric-icons-14-5cf58db8.woff') format('woff')")},icons:{Snooze:"",WaffleOffice365:"",ImageSearch:"",NewsSearch:"",VideoSearch:"",R:"",FontColorA:"",FontColorSwatch:"",LightWeight:"",NormalWeight:"",SemiboldWeight:"",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"",AlignHorizontalRight:"",AlignVerticalTop:"",AlignVerticalCenter:"",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"",Line:"",Octagon:"",Hexagon:"",Pentagon:"",RightTriangle:"",HalfCircle:"",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"",WindowEdit:"",HintText:"",MediaAdd:"",AnchorLock:"",AutoHeight:"",ChartSeries:"",ChartXAngle:"",ChartYAngle:"",Combobox:"",LineSpacing:"",Padding:"",PaddingTop:"",PaddingBottom:"",PaddingLeft:"",PaddingRight:"",NavigationFlipper:"",AlignJustify:"",TextOverflow:"",VisualsFolder:"",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"",MapPinSolid:"",WebPublish:"",PieSingleSolid:"",BlockedSolid:"",DrillDown:"",DrillDownSolid:"",DrillExpand:"",DrillShow:"",SpecialEvent:"",OneDriveFolder16:"",FunctionalManagerDashboard:"",BIDashboard:"",CodeEdit:"",RenewalCurrent:"",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"",Flower:"",WaitlistConfirm:"",WaitlistConfirmMirrored:"",LaptopSecure:"",DragObject:"",EntryView:"",EntryDecline:"",ContactCardSettings:"",ContactCardSettingsMirrored:""}},t)}function _k(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('".concat(e,"fabric-icons-15-3807251b.woff') format('woff')")},icons:{CalendarSettings:"",CalendarSettingsMirrored:"",HardDriveLock:"",HardDriveUnlock:"",AccountManagement:"",ReportWarning:"",TransitionPop:"",TransitionPush:"",TransitionEffect:"",LookupEntities:"",ExploreData:"",AddBookmark:"",SearchBookmark:"",DrillThrough:"",MasterDatabase:"",CertifiedDatabase:"",MaximumValue:"",MinimumValue:"",VisualStudioIDELogo32:"",PasteAsText:"",PasteAsCode:"",BrowserTab:"",BrowserTabScreenshot:"",DesktopScreenshot:"",FileYML:"",ClipboardSolid:"",FabricUserFolder:"",FabricNetworkFolder:"",BullseyeTarget:"",AnalyticsView:"",Video360Generic:"",Untag:"",Leave:"",Trending12:"",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"",DeleteColumns:"",DeleteRows:"",DeleteRowsMirrored:"",DeleteTable:"",AccountBrowser:"",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"",PinnedSolid:"",InsertSignatureLine:"",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"",DictionaryRemove:"",UserRemove:"",UserEvent:"",Encryption:"",PasswordField:"",OpenInNewTab:"",Hide3:"",VerifiedBrandSolid:"",MarkAsProtected:"",AuthenticatorApp:"",WebTemplate:"",DefenderTVM:"",MedalSolid:"",D365TalentLearn:"",D365TalentInsight:"",D365TalentHRCore:"",BacklogList:"",ButtonControl:"",TableGroup:"",MountainClimbing:"",TagUnknown:"",TagUnknownMirror:"",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:""}},t)}function Sk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('".concat(e,"fabric-icons-16-9cf93f3b.woff') format('woff')")},icons:{OfficeChatSolid:"",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"",SkypeArrow:"",SyncStatus:"",SyncStatusSolid:"",ProjectDocument:"",ToDoLogoOutline:"",VisioOnlineLogoFill32:"",VisioOnlineLogo32:"",VisioOnlineLogoCloud32:"",VisioDiagramSync:"",Event12:"",EventDateMissed12:"",UserOptional:"",ResponsesMenu:"",DoubleDownArrow:"",DistributeDown:"",BookmarkReport:"",FilterSettings:"",GripperDotsVertical:"",MailAttached:"",AddIn:"",LinkedDatabase:"",TableLink:"",PromotedDatabase:"",BarChartVerticalFilter:"",BarChartVerticalFilterSolid:"",MicOff2:"",MicrosoftTranslatorLogo:"",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"",PowerBILogo16:"",PowerBILogoBackplate16:"",BulletedListText:"",BulletedListBullet:"",BulletedListTextMirrored:"",BulletedListBulletMirrored:"",NumberedListText:"",NumberedListNumber:"",NumberedListTextMirrored:"",NumberedListNumberMirrored:"",RemoveLinkChain:"",RemoveLinkX:"",FabricTextHighlight:"",ClearFormattingA:"",ClearFormattingEraser:"",Photo2Fill:"",IncreaseIndentText:"",IncreaseIndentArrow:"",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"",CheckListText:"",CheckListCheck:"",CheckListTextMirrored:"",CheckListCheckMirrored:"",NumberSymbol:"",Coupon:"",VerifiedBrand:"",ReleaseGate:"",ReleaseGateCheck:"",ReleaseGateError:"",M365InvoicingLogo:"",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"",CommentActive:"",ColumnVerticalSectionEdit:"",WavingHand:"",ShakeDevice:"",SmartGlassRemote:"",Rotate90Clockwise:"",Rotate90CounterClockwise:"",CampaignTemplate:"",ChartTemplate:"",PageListFilter:"",SecondaryNav:"",ColumnVerticalSection:"",SkypeCircleSlash:"",SkypeSlash:""}},t)}function xk(e,t){void 0===e&&(e=""),kn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('".concat(e,"fabric-icons-17-0c4ed701.woff') format('woff')")},icons:{CustomizeToolbar:"",DuplicateRow:"",RemoveFromTrash:"",MailOptions:"",Childof:"",Footer:"",Header:"",BarChartVerticalFill:"",StackedColumnChart2Fill:"",PlainText:"",AccessibiltyChecker:"",DatabaseSync:"",ReservationOrders:"",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"",MicrosoftTranslatorLogoBlue:"",InternalInvestigation:"",AddReaction:"",ContactHeart:"",VisuallyImpaired:"",EventToDoLogo:"",Variable2:"",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"",Uneditable2Mirrored:"",BarChartVerticalEdit:"",GlobalNavButtonActive:"",PollResults:"",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"",IncreaseIndentLegacy:"",SizeLegacy:""}},t)}var kk=function(){In("trash","delete"),In("onedrive","onedrivelogo"),In("alertsolid12","eventdatemissed12"),In("sixpointstar","6pointstar"),In("twelvepointstar","12pointstar"),In("toggleon","toggleleft"),In("toggleoff","toggleright")};zn("@fluentui/font-icons-mdl2","8.5.58");var wk="".concat("https://res.cdn.office.net/files/fabric-cdn-prod_20241209.001","/assets/icons/"),Ik=ut();function Dk(t,o){var e,n;void 0===t&&(t=(null===(e=null==Ik?void 0:Ik.FabricConfig)||void 0===e?void 0:e.iconBaseUrl)||(null===(n=null==Ik?void 0:Ik.FabricConfig)||void 0===n?void 0:n.fontBaseUrl)||wk),[ik,ak,sk,lk,ck,uk,dk,pk,hk,mk,fk,gk,vk,bk,yk,Ck,_k,Sk,xk].forEach(function(e){return e(t,o)}),kk()}function Ek(e){var o=st(),t=o.querySelectorAll(e);return Array.from(t).find(function(e){var t;return ns(e,null!==(t=o.defaultView)&&void 0!==t?t:void 0)})}var Tk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.content,o=e.styles,n=e.theme,r=e.disabled,i=e.visible,a=vr()(o,{theme:n,disabled:r,visible:i});return ht.createElement("div",{className:a.container},ht.createElement("span",{className:a.root},t))},t}(ht.Component),Pk=function(e){return{container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]}},Rk=function(t){return function(e){return Fn({container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]},{root:[{marginLeft:t.left||t.x,marginTop:t.top||t.y}]})}},Mk=ir(Tk,function(e){var t,o=e.theme,n=e.disabled,r=e.visible;return{container:[{backgroundColor:o.palette.neutralDark},n&&{opacity:.5,selectors:(t={},t[Mo]={color:"GrayText",opacity:1},t)},!r&&{visibility:"hidden"}],root:[o.fonts.medium,{textAlign:"center",paddingLeft:"3px",paddingRight:"3px",backgroundColor:o.palette.neutralDark,color:o.palette.neutralLight,minWidth:"11px",lineHeight:"17px",height:"17px",display:"inline-block"},n&&{color:o.palette.neutralTertiaryAlt}]}},void 0,{scope:"KeytipContent"}),Nk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e,t=this.props,o=t.keySequences,n=t.offset,r=t.overflowSetSequence,i=this.props.calloutProps,a=Ek(e=dd(r?ud(o,r):o));return a?(e=a,n&&(i=pt({coverTarget:!0,directionalHint:Rl.topLeftEdge},i)),i&&void 0!==i.directionalHint||(i=pt(pt({},i),{directionalHint:Rl.bottomCenter})),ht.createElement(Nu,pt({},i,{isBeakVisible:!1,doNotLayer:!0,minPagePadding:0,styles:n?Rk(n):Pk,preventDismissOnScroll:!0,target:e}),ht.createElement(Mk,pt({},this.props)))):ht.createElement(ht.Fragment,null)},t}(ht.Component),Bk=function(e){return{root:[{zIndex:Qo.KeytipLayer}]}},Ak=function(){function e(){this.nodeMap={},this.root={id:ad,children:[],parent:"",keySequences:[]},this.nodeMap[this.root.id]=this.root}return e.prototype.addNode=function(e,t,o){var n=this._getFullSequence(e),r=cd(n);n.pop();var i=this._getParentID(n),a=this._createNode(r,i,[],e,o);this.nodeMap[t]=a,this.getNodes([i]).forEach(function(e){return e.children.push(r)})},e.prototype.updateNode=function(e,t){var o=this._getFullSequence(e),n=cd(o);o.pop();var r=this._getParentID(o),i=this.nodeMap[t],a=i.parent;i&&(a!==r&&this._removeChildFromParents(a,i.id),i.id!==n&&this.getNodes([r]).forEach(function(e){var t=e.children.indexOf(i.id);t>=0?e.children[t]=n:e.children.push(n)}),i.id=n,i.keySequences=e.keySequences,i.overflowSetSequence=e.overflowSetSequence,i.onExecute=e.onExecute,i.onReturn=e.onReturn,i.hasDynamicChildren=e.hasDynamicChildren,i.hasMenu=e.hasMenu,i.parent=r,i.disabled=e.disabled)},e.prototype.removeNode=function(e,t){var o=this._getFullSequence(e),n=cd(o);o.pop(),this._removeChildFromParents(this._getParentID(o),n),this.nodeMap[t]&&delete this.nodeMap[t]},e.prototype.getExactMatchedNode=function(t,e,o){var n=this,r=null!=o?o:st(),i=this.getNodes(e.children).filter(function(e){return n._getNodeSequence(e)===t&&!e.disabled});if(0!==i.length){var a=i[0];if(1===i.length)return a;var s=a.keySequences,l=a.overflowSetSequence,c=dd(l?ud(s,l):s),u=r.querySelectorAll(c);if(i.length=0&&!o.nodeMap[t].persisted&&e.push(o.nodeMap[t].id),e},[])},e.prototype.getNodes=function(o){var n=this;return Object.keys(this.nodeMap).reduce(function(e,t){return o.indexOf(n.nodeMap[t].id)>=0&&e.push(n.nodeMap[t]),e},[])},e.prototype.getNode=function(t){return Pa(_l(this.nodeMap),function(e){return e.id===t})},e.prototype.isCurrentKeytipParent=function(e){if(this.currentKeytip){var t=z([],e.keySequences,!0);e.overflowSetSequence&&(t=ud(t,e.overflowSetSequence)),t.pop();var o=0===t.length?this.root.id:cd(t),n=!1;return this.currentKeytip.overflowSetSequence&&(n=cd(this.currentKeytip.keySequences)===o),n||this.currentKeytip.id===o}return!1},e.prototype._getParentID=function(e){return 0===e.length?this.root.id:cd(e)},e.prototype._getFullSequence=function(e){var t=z([],e.keySequences,!0);return e.overflowSetSequence&&(t=ud(t,e.overflowSetSequence)),t},e.prototype._getNodeSequence=function(e){var t=z([],e.keySequences,!0);return e.overflowSetSequence&&(t=ud(t,e.overflowSetSequence)),t[t.length-1]},e.prototype._createNode=function(o,e,t,n,r){var i=this,a=n.keySequences,s=n.hasDynamicChildren,l=n.overflowSetSequence,c=n.hasMenu,u=n.onExecute,d=n.onReturn,p=n.disabled,h=n.hasOverflowSubMenu,m={id:o,keySequences:a,overflowSetSequence:l,parent:e,children:t,onExecute:u,onReturn:d,hasDynamicChildren:s,hasMenu:c,disabled:p,persisted:r,hasOverflowSubMenu:h};return m.children=Object.keys(this.nodeMap).reduce(function(e,t){return i.nodeMap[t].parent===o&&e.push(i.nodeMap[t].id),e},[]),m},e.prototype._removeChildFromParents=function(e,o){this.getNodes([e]).forEach(function(e){var t=e.children.indexOf(o);t>=0&&e.children.splice(t,1)})},e}();function Fk(e,t){if(e.key!==t.key)return!1;var o=e.modifierKeys,n=t.modifierKeys;if(!o&&n||o&&!n)return!1;if(o&&n){if(o.length!==n.length)return!1;o=o.sort(),n=n.sort();for(var r=0;r1&&t<=a.length?ns(a[t-1],null!=r?r:void 0):1===t},s._onDismiss=function(e){s.state.inKeytipMode&&s._exitKeytipMode(e)},s._onKeyDown=function(e){s._keyHandled=!1;var t=e.key;switch(t){case"Tab":case"Enter":case"Spacebar":case" ":case"ArrowUp":case"Up":case"ArrowDown":case"Down":case"ArrowLeft":case"Left":case"ArrowRight":case"Right":s.state.inKeytipMode&&(s._keyHandled=!0,s._exitKeytipMode(e));break;default:"Esc"===t?t="Escape":"OS"!==t&&"Win"!==t||(t="Meta");var o={key:t};o.modifierKeys=s._getModifierKey(t,e),s.processTransitionInput(o,e)}},s._onKeyPress=function(e){s.state.inKeytipMode&&!s._keyHandled&&(s.processInput(e.key.toLocaleLowerCase(),e),e.preventDefault(),e.stopPropagation())},s._onKeytipAdded=function(e){var t,o=e.keytip,n=e.uniqueID;if(s._keytipTree.addNode(o,n),s._setKeytips(),s._keytipTree.isCurrentKeytipParent(o)&&(s._delayedKeytipQueue=s._delayedKeytipQueue.concat((null===(t=s._keytipTree.currentKeytip)||void 0===t?void 0:t.children)||[]),s._addKeytipToQueue(cd(o.keySequences)),s._keytipTree.currentKeytip&&s._keytipTree.currentKeytip.hasDynamicChildren&&s._keytipTree.currentKeytip.children.indexOf(o.id)<0)){var r=s._keytipTree.getNode(s._keytipTree.currentKeytip.id);r&&(s._keytipTree.currentKeytip=r)}s._persistedKeytipChecks(o)},s._onKeytipUpdated=function(e){var t,o=e.keytip,n=e.uniqueID;s._keytipTree.updateNode(o,n),s._setKeytips(),s._keytipTree.isCurrentKeytipParent(o)&&(s._delayedKeytipQueue=s._delayedKeytipQueue.concat((null===(t=s._keytipTree.currentKeytip)||void 0===t?void 0:t.children)||[]),s._addKeytipToQueue(cd(o.keySequences))),s._persistedKeytipChecks(o)},s._persistedKeytipChecks=function(e){if(s._newCurrentKeytipSequences&&La(e.keySequences,s._newCurrentKeytipSequences)&&s._triggerKeytipImmediately(e),s._isCurrentKeytipAnAlias(e)){var t=e.keySequences;e.overflowSetSequence&&(t=ud(t,e.overflowSetSequence)),s._keytipTree.currentKeytip=s._keytipTree.getNode(cd(t))}},s._onKeytipRemoved=function(e){var t=e.keytip,o=e.uniqueID;s._removeKeytipFromQueue(cd(t.keySequences)),s._keytipTree.removeNode(t,o),s._setKeytips()},s._onPersistedKeytipAdded=function(e){var t=e.keytip,o=e.uniqueID;s._keytipTree.addNode(t,o,!0)},s._onPersistedKeytipRemoved=function(e){var t=e.keytip,o=e.uniqueID;s._keytipTree.removeNode(t,o)},s._onPersistedKeytipExecute=function(e){s._persistedKeytipExecute(e.overflowButtonSequences,e.keytipSequences)},s._setInKeytipMode=function(e){s.setState({inKeytipMode:e}),s._keytipManager.inKeytipMode=e},s._warnIfDuplicateKeytips=function(){var e=s._getDuplicateIds(s._keytipTree.getChildren());e.length&&yn("Duplicate keytips found for "+e.join(", "))},s._getDuplicateIds=function(e){var t={};return e.filter(function(e){return t[e]=t[e]?t[e]+1:1,2===t[e]})},ua(s),s._events=new xl(s),s._async=new fa(s);var o=s._keytipManager.getKeytips();return s.state={inKeytipMode:!1,keytips:o,visibleKeytips:s._getVisibleKeytips(o)},s._buildTree(),s._currentSequence="",s._events.on(s._keytipManager,Bu.KEYTIP_ADDED,s._onKeytipAdded),s._events.on(s._keytipManager,Bu.KEYTIP_UPDATED,s._onKeytipUpdated),s._events.on(s._keytipManager,Bu.KEYTIP_REMOVED,s._onKeytipRemoved),s._events.on(s._keytipManager,Bu.PERSISTED_KEYTIP_ADDED,s._onPersistedKeytipAdded),s._events.on(s._keytipManager,Bu.PERSISTED_KEYTIP_REMOVED,s._onPersistedKeytipRemoved),s._events.on(s._keytipManager,Bu.PERSISTED_KEYTIP_EXECUTE,s._onPersistedKeytipExecute),s}return m(e,n),e.prototype.render=function(){var o=this,e=this.props,t=e.content,n=e.styles,r=this.state,i=r.keytips,a=r.visibleKeytips;return this._classNames=Wk(n,{}),ht.createElement(Mu,{styles:Bk},ht.createElement("span",{id:ad,className:this._classNames.innerContent},"".concat(t).concat(sd)),i&&i.map(function(e,t){return ht.createElement("span",{key:t,id:cd(e.keySequences),className:o._classNames.innerContent},e.keySequences.join(sd))}),a&&a.map(function(e){return ht.createElement(Nk,pt({key:cd(e.keySequences)},e))}))},e.prototype.componentDidMount=function(){var e=zc(this.context);this._events.on(e,"mouseup",this._onDismiss,!0),this._events.on(e,"pointerup",this._onDismiss,!0),this._events.on(e,"resize",this._onDismiss),this._events.on(e,"keydown",this._onKeyDown,!0),this._events.on(e,"keypress",this._onKeyPress,!0),this._events.on(e,"scroll",this._onDismiss,!0),this._events.on(this._keytipManager,Bu.ENTER_KEYTIP_MODE,this._enterKeytipMode),this._events.on(this._keytipManager,Bu.EXIT_KEYTIP_MODE,this._exitKeytipMode)},e.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},e.prototype.getCurrentSequence=function(){return this._currentSequence},e.prototype.getKeytipTree=function(){return this._keytipTree},e.prototype.processTransitionInput=function(e,t){var o=this._keytipTree.currentKeytip;Lk(this.props.keytipExitSequences,e)&&o?(this._keyHandled=!0,this._exitKeytipMode(t)):Lk(this.props.keytipReturnSequences,e)?o&&(this._keyHandled=!0,o.id===this._keytipTree.root.id?this._exitKeytipMode(t):(o.onReturn&&o.onReturn(this._getKtpExecuteTarget(o),this._getKtpTarget(o)),this._currentSequence="",this._keytipTree.currentKeytip=this._keytipTree.getNode(o.parent),this.showKeytips(this._keytipTree.getChildren()),this._warnIfDuplicateKeytips())):Lk(this.props.keytipStartSequences,e)&&!o&&(this._keyHandled=!0,this._enterKeytipMode(e),this._warnIfDuplicateKeytips())},e.prototype.processInput=function(e,t){var o=this._currentSequence+e,n=this._keytipTree.currentKeytip;if(n){var r=this._keytipTree.getExactMatchedNode(o,n);if(r){this._keytipTree.currentKeytip=n=r;var i=this._keytipTree.getChildren();return n.onExecute&&(n.onExecute(this._getKtpExecuteTarget(n),this._getKtpTarget(n)),n=this._keytipTree.currentKeytip),0!==i.length||n.hasDynamicChildren||n.hasMenu?(this.showKeytips(i),this._warnIfDuplicateKeytips()):this._exitKeytipMode(t),void(this._currentSequence="")}var a=this._keytipTree.getPartiallyMatchedNodes(o,n);if(a.length>0){var s=a.filter(function(e){return!e.persisted}).map(function(e){return e.id});this.showKeytips(s),this._currentSequence=o}}},e.prototype.showKeytips=function(e){for(var t=0,o=this._keytipManager.getKeytips();t=0?n.visible=!0:n.visible=!1}this._setKeytips()},e.prototype._enterKeytipMode=function(e){this._keytipManager.shouldEnterKeytipMode&&(this._keytipManager.delayUpdatingKeytipChange&&(this._buildTree(),this._setKeytips()),this._keytipTree.currentKeytip=this._keytipTree.root,this.showKeytips(this._keytipTree.getChildren()),this._setInKeytipMode(!0),this.props.onEnterKeytipMode&&this.props.onEnterKeytipMode(e))},e.prototype._buildTree=function(){this._keytipTree=new Ak;for(var e=0,t=Object.keys(this._keytipManager.keytips);e=0&&(this._delayedKeytipQueue.splice(o,1),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedQueueTimeout=this._async.setTimeout(function(){t._delayedKeytipQueue.length&&(t.showKeytips(t._delayedKeytipQueue),t._delayedKeytipQueue=[])},300))},e.prototype._getKtpExecuteTarget=function(e){return st().querySelector(pd(e.id))},e.prototype._getKtpTarget=function(e){return st().querySelector(dd(e.keySequences))},e.prototype._isCurrentKeytipAnAlias=function(e){var t=this._keytipTree.currentKeytip;return!(!t||!t.overflowSetSequence&&!t.persisted||!La(e.keySequences,t.keySequences))},e.defaultProps={keytipStartSequences:[Ok],keytipExitSequences:[Hk],keytipReturnSequences:[zk],content:""},e.contextType=ga,e}(ht.Component),Kk=ir(Vk,function(e){return{innerContent:[{position:"absolute",width:0,height:0,margin:0,padding:0,border:0,overflow:"hidden",visibility:"hidden"}]}},void 0,{scope:"KeytipLayer"});function Gk(e){for(var t={},o=0,n=e.keytips;o0&&this._computeScrollVelocity(e)},e.prototype._computeScrollVelocity=function(e){if(this._scrollRect){var t,o;"clientX"in e?(t=e.clientX,o=e.clientY):(t=e.touches[0].clientX,o=e.touches[0].clientY);var n,r,i,a=this._scrollRect.top,s=this._scrollRect.left,l=a+this._scrollRect.height-Xk,c=s+this._scrollRect.width-Xk;ol?(r=o,n=a,i=l,this._isVerticalScroll=!0):(r=t,n=s,i=c,this._isVerticalScroll=!1),this._scrollVelocity=ri?Math.min(15,(r-i)/Xk*15):0,this._scrollVelocity?this._startScroll():this._stopScroll()}},e.prototype._startScroll=function(){this._timeoutId||this._incrementScroll()},e.prototype._incrementScroll=function(){this._scrollableParent&&(this._isVerticalScroll?this._scrollableParent.scrollTop+=Math.round(this._scrollVelocity):this._scrollableParent.scrollLeft+=Math.round(this._scrollVelocity)),this._timeoutId=setTimeout(this._incrementScroll,16)},e.prototype._stopScroll=function(){this._timeoutId&&(clearTimeout(this._timeoutId),delete this._timeoutId)},e}();function Jk(e,t){var o=e.left||e.x||0,n=e.top||e.y||0,r=t.left||t.x||0,i=t.top||t.y||0;return Math.sqrt(Math.pow(o-r,2)+Math.pow(n-i,2))}function $k(e){var t,o=e.contentSize,n=e.boundsSize,r=e.mode,i=void 0===r?"contain":r,a=e.maxScale,s=void 0===a?1:a,l=o.width/o.height,c=n.width/n.height;t=("contain"===i?l>c:lr.left+t.clientWidth)return!0;if(e.clientY>r.top+t.clientHeight)return!0}return!1},e.prototype._getRootRect=function(){return{left:this._rootRect.left+(this._scrollableSurface?this._scrollLeft-this._scrollableSurface.scrollLeft:this._scrollLeft),top:this._rootRect.top+(this._scrollableSurface?this._scrollTop-this._scrollableSurface.scrollTop:this._scrollTop),width:this._rootRect.width,height:this._rootRect.height}},e.prototype._onAsyncMouseMove=function(e){var t=this;this._async.requestAnimationFrame(function(){t._onMouseMove(e)}),e.stopPropagation(),e.preventDefault()},e.prototype._onMouseMove=function(e){if(this._autoScroll){void 0!==e.clientX&&(this._lastMouseEvent=e);var t=this._getRootRect(),o={left:e.clientX-t.left,top:e.clientY-t.top};if(this._dragOrigin||(this._dragOrigin=o),void 0!==e.buttons&&0===e.buttons)this._onMouseUp(e);else if(this.state.dragRect||Jk(this._dragOrigin,o)>5){if(!this.state.dragRect){var n=this.props.selection;e.shiftKey||n.setAllSelected(!1),this._preservedIndicies=n&&n.getSelectedIndices&&n.getSelectedIndices()}var r=this.props.isDraggingConstrainedToRoot?{left:Math.max(0,Math.min(t.width,this._lastMouseEvent.clientX-t.left)),top:Math.max(0,Math.min(t.height,this._lastMouseEvent.clientY-t.top))}:{left:this._lastMouseEvent.clientX-t.left,top:this._lastMouseEvent.clientY-t.top},i={left:Math.min(this._dragOrigin.left||0,r.left),top:Math.min(this._dragOrigin.top||0,r.top),width:Math.abs(r.left-(this._dragOrigin.left||0)),height:Math.abs(r.top-(this._dragOrigin.top||0))};this._evaluateSelection(i,t),this.setState({dragRect:i})}return!1}},e.prototype._onMouseUp=function(e){var t=zc(this.context);this._events.off(t),this._events.off(this._scrollableParent,"scroll"),this._autoScroll&&this._autoScroll.dispose(),this._autoScroll=this._dragOrigin=this._lastMouseEvent=void 0,this._selectedIndicies=this._itemRectCache=void 0,this.state.dragRect&&(this.setState({dragRect:void 0}),e.preventDefault(),e.stopPropagation())},e.prototype._isPointInRectangle=function(e,t){return!!t.top&&e.topt.top&&!!t.left&&e.leftt.left},e.prototype._isDragStartInSelection=function(e){var t=this.props.selection;if(!this._root.current||t&&0===t.getSelectedCount())return!1;for(var o=this._root.current.querySelectorAll("[data-selection-index]"),n=0;n0&&s.height>0&&(this._itemRectCache[a]=s),s.tope.top&&s.lefte.left?this._selectedIndicies[a]=!0:delete this._selectedIndicies[a]}var l=this._allSelectedIndices||{};for(var a in this._allSelectedIndices={},this._selectedIndicies)this._selectedIndicies.hasOwnProperty(a)&&(this._allSelectedIndices[a]=!0);if(this._preservedIndicies)for(var c=0,u=this._preservedIndicies;c0)if(e.collapseAriaLabel||e.expandAriaLabel){var p=null!==(n=e.collapseAriaLabel)&&void 0!==n?n:e.expandAriaLabel;d=e.isExpanded?p:e.expandAriaLabel}else d=a?"".concat(e.name," ").concat(a):e.name;return ht.createElement("div",pt({},r,{key:e.key||t,className:u.compositeLink}),e.links&&e.links.length>0?ht.createElement("button",{className:u.chevronButton,onClick:this._onLinkExpandClicked.bind(this,e),"aria-label":d,"aria-expanded":e.isExpanded?"true":"false"},ht.createElement(wi,{className:u.chevronIcon,iconName:"ChevronDown"})):null,this._renderNavLink(e,t,o))},e.prototype._renderLink=function(e,t,o){var n=this.props,r=n.styles,i=n.groups,a=n.theme,s=Dw(r,{theme:a,groups:i});return ht.createElement("li",{key:e.key||t,role:"listitem",className:s.navItem},this._renderCompositeLink(e,t,o),e.isExpanded?this._renderLinks(e.links,++o):null)},e.prototype._renderLinks=function(e,o){var n=this;if(!e||!e.length)return null;var t=e.map(function(e,t){return n._renderLink(e,t,o)}),r=this.props,i=r.styles,a=r.groups,s=r.theme,l=Dw(i,{theme:s,groups:a});return ht.createElement("ul",{role:"list",className:l.navItems},t)},e.prototype._onGroupHeaderClicked=function(e,t){e.onHeaderClick&&e.onHeaderClick(t,this._isGroupExpanded(e)),void 0===e.isExpanded&&this._toggleCollapsed(e),t&&(t.preventDefault(),t.stopPropagation())},e.prototype._onLinkExpandClicked=function(e,t){var o=this.props.onLinkExpandClick;o&&o(t,e),t.defaultPrevented||(e.isExpanded=!e.isExpanded,this.setState({isLinkExpandStateChanged:!0})),t.preventDefault(),t.stopPropagation()},e.prototype._preventBounce=function(e,t){!e.url&&e.forceAnchor&&t.preventDefault()},e.prototype._onNavAnchorLinkClicked=function(e,t){this._preventBounce(e,t),this.props.onLinkClick&&this.props.onLinkClick(t,e),!e.url&&e.links&&e.links.length>0&&this._onLinkExpandClicked(e,t),this.setState({selectedKey:e.key})},e.prototype._onNavButtonLinkClicked=function(e,t){this._preventBounce(e,t),e.onClick&&e.onClick(t,e),!e.url&&e.links&&e.links.length>0&&this._onLinkExpandClicked(e,t),this.setState({selectedKey:e.key})},e.prototype._isLinkSelected=function(e){if(void 0!==this.props.selectedKey)return e.key===this.props.selectedKey;if(void 0!==this.state.selectedKey)return e.key===this.state.selectedKey;if(void 0===ut()||!e.url)return!1;var t=Hc(this.context);(gw=gw||t.createElement("a")).href=e.url||"";var o=gw.href;return location.href===o||location.protocol+"//"+location.host+location.pathname===o||!!location.hash&&(location.hash===e.url||(gw.href=location.hash.substring(1),gw.href===o))},e.prototype._isGroupExpanded=function(e){return void 0!==e.isExpanded?e.isExpanded:e.name&&this.state.isGroupCollapsed.hasOwnProperty(e.name)?!this.state.isGroupCollapsed[e.name]:void 0===e.collapseByDefault||!e.collapseByDefault},e.prototype._toggleCollapsed=function(e){var t;if(e.name){var o=pt(pt({},this.state.isGroupCollapsed),((t={})[e.name]=this._isGroupExpanded(e),t));this.setState({isGroupCollapsed:o})}},e.defaultProps={groups:null},e.contextType=ga,e}(ht.Component),Tw=ir(Ew,function(e){var t,o=e.className,n=e.theme,r=e.isOnTop,i=e.isExpanded,a=e.isGroup,s=e.isLink,l=e.isSelected,c=e.isDisabled,u=e.isButtonEntry,d=e.navHeight,p=void 0===d?44:d,h=e.position,m=e.leftPadding,f=void 0===m?20:m,g=e.leftPaddingExpanded,v=void 0===g?28:g,b=e.rightPadding,y=void 0===b?20:b,C=n.palette,_=n.semanticColors,S=n.fonts,x=Ro(xw,n);return{root:[x.root,o,S.medium,{overflowY:"auto",userSelect:"none",WebkitOverflowScrolling:"touch"},r&&[{position:"absolute"},$e.slideRightIn40]],linkText:[x.linkText,{margin:"0 4px",overflow:"hidden",verticalAlign:"middle",textAlign:"left",textOverflow:"ellipsis"}],compositeLink:[x.compositeLink,{display:"block",position:"relative",color:_.bodyText},i&&"is-expanded",l&&"is-selected",c&&"is-disabled",c&&{color:_.disabledText}],link:[x.link,on(n),{display:"block",position:"relative",height:p,width:"100%",lineHeight:"".concat(p,"px"),textDecoration:"none",cursor:"pointer",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",paddingLeft:f,paddingRight:y,color:_.bodyText,selectors:(t={},t[Mo]={border:0,selectors:{":focus":{border:"1px solid WindowText"}}},t)},!c&&{selectors:{".ms-Nav-compositeLink:hover &":{backgroundColor:_.bodyBackgroundHovered}}},l&&{color:_.bodyTextChecked,fontWeight:Qe.semibold,backgroundColor:_.bodyBackgroundChecked,selectors:{"&:after":{borderLeft:"2px solid ".concat(C.themePrimary),content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}},c&&{color:_.disabledText},u&&{color:C.themePrimary}],chevronButton:[x.chevronButton,on(n),S.small,{display:"block",textAlign:"left",lineHeight:"".concat(p,"px"),margin:"5px 0",padding:"0px, ".concat(y,"px, 0px, ").concat(v,"px"),border:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",cursor:"pointer",color:_.bodyText,backgroundColor:"transparent",selectors:{"&:visited":{color:_.bodyText}}},a&&{fontSize:S.large.fontSize,width:"100%",height:p,borderBottom:"1px solid ".concat(_.bodyDivider)},s&&{display:"block",width:v-2,height:p-2,position:"absolute",top:"1px",left:"".concat(h,"px"),zIndex:Qo.Nav,padding:0,margin:0}],chevronIcon:[x.chevronIcon,{position:"absolute",left:"8px",height:p,display:"inline-flex",alignItems:"center",lineHeight:"".concat(p,"px"),fontSize:S.small.fontSize,transition:"transform .1s linear"},i&&{transform:"rotate(-180deg)"},s&&{top:0}],navItem:[x.navItem,{padding:0}],navItems:[x.navItems,{listStyleType:"none",padding:0,margin:0}],group:[x.group,i&&"is-expanded"],groupContent:[x.groupContent,{display:"none",marginBottom:"40px"},$e.slideDownIn20,i&&{display:"block"}]}},void 0,{scope:"Nav"});!function(e){e[e.none=0]="none",e[e.forceResolve=1]="forceResolve",e[e.searchMore=2]="searchMore"}(Iw||(Iw={}));var Pw={root:"ms-Suggestions-item",itemButton:"ms-Suggestions-itemButton",closeButton:"ms-Suggestions-closeButton",isSuggested:"is-suggested"};function Rw(e){var t,o,n,r,i,a,s=e.className,l=e.theme,c=e.suggested,u=l.palette,d=l.semanticColors,p=Ro(Pw,l);return{root:[p.root,{display:"flex",alignItems:"stretch",boxSizing:"border-box",width:"100%",position:"relative",selectors:{"&:hover":{background:d.menuItemBackgroundHovered},"&:hover .ms-Suggestions-closeButton":{display:"block"}}},c&&{selectors:(t={},t[".".concat(Jo," &, :host(.").concat(Jo,") &")]={selectors:(o={},o[".".concat(p.closeButton)]={display:"block",background:d.menuItemBackgroundPressed},o)},t[":after"]={pointerEvents:"none",content:'""',position:"absolute",left:0,top:0,bottom:0,right:0,border:"1px solid ".concat(l.semanticColors.focusBorder)},t)},s],itemButton:[p.itemButton,{justifyContent:"flex-start",width:"100%",padding:0,border:"none",height:"100%",minWidth:0,overflow:"hidden",selectors:(n={},n[Mo]={color:"WindowText",selectors:{":hover":pt({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})}},n[":hover"]={color:d.menuItemTextHovered},n)},c&&[p.isSuggested,{background:d.menuItemBackgroundPressed,selectors:(r={":hover":{background:d.menuDivider}},r[Mo]=pt({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)}]],closeButton:[p.closeButton,{display:"none",color:u.neutralSecondary,padding:"0 4px",height:"auto",width:32,selectors:(i={":hover, :active":{background:u.neutralTertiaryAlt,color:u.neutralDark}},i[Mo]={color:"WindowText"},i)},c&&(a={},a[".".concat(Jo," &, :host(.").concat(Jo,") &")]={selectors:{":hover, :active":{background:u.neutralTertiary}}},a.selectors={":hover, :active":{background:u.neutralTertiary,color:u.neutralPrimary}},a)]}}var Mw=r,Nw=vr(),Bw=ir(ux,Rw,void 0,{scope:"SuggestionItem"}),Aw=function(t){function e(e){var l=t.call(this,e)||this;return l._forceResolveButton=ht.createRef(),l._searchForMoreButton=ht.createRef(),l._selectedElement=ht.createRef(),l._scrollContainer=ht.createRef(),l.tryHandleKeyDown=function(e,t){var o=!1,n=null,r=l.state.selectedActionType,i=l.props.suggestions.length;if(e===sr.down)switch(r){case Iw.forceResolve:i>0?(l._refocusOnSuggestions(e),n=Iw.none):n=l._searchForMoreButton.current?Iw.searchMore:Iw.forceResolve;break;case Iw.searchMore:l._forceResolveButton.current?n=Iw.forceResolve:i>0?(l._refocusOnSuggestions(e),n=Iw.none):n=Iw.searchMore;break;case Iw.none:-1===t&&l._forceResolveButton.current&&(n=Iw.forceResolve)}else if(e===sr.up)switch(r){case Iw.forceResolve:l._searchForMoreButton.current?n=Iw.searchMore:i>0&&(l._refocusOnSuggestions(e),n=Iw.none);break;case Iw.searchMore:i>0?(l._refocusOnSuggestions(e),n=Iw.none):l._forceResolveButton.current&&(n=Iw.forceResolve);break;case Iw.none:-1===t&&l._searchForMoreButton.current&&(n=Iw.searchMore)}return null!==n&&(l.setState({selectedActionType:n}),o=!0),o},l._getAlertText=function(){var e=l.props,t=e.isLoading,o=e.isSearching,n=e.suggestions,r=e.suggestionsAvailableAlertText,i=e.noResultsFoundText,a=e.isExtendedLoading,s=e.loadingText;if(t||o){if(t&&a)return s||""}else{if(n.length>0)return r||"";if(i)return i}return""},l._getMoreResults=function(){l.props.onGetMoreResults&&(l.props.onGetMoreResults(),l.setState({selectedActionType:Iw.none}))},l._forceResolve=function(){l.props.createGenericItem&&l.props.createGenericItem()},l._shouldShowForceResolve=function(){return!!l.props.showForceResolve&&l.props.showForceResolve()},l._onClickTypedSuggestionsItem=function(t,o){return function(e){l.props.onSuggestionClick(e,t,o)}},l._refocusOnSuggestions=function(e){"function"==typeof l.props.refocusSuggestions&&l.props.refocusSuggestions(e)},l._onRemoveTypedSuggestionsItem=function(t,o){return function(e){(0,l.props.onSuggestionRemove)(e,t,o),e.stopPropagation()}},ua(l),l.state={selectedActionType:Iw.none},l}return m(e,t),e.prototype.componentDidMount=function(){this.scrollSelected(),this.activeSelectedElement=this._selectedElement?this._selectedElement.current:null},e.prototype.componentDidUpdate=function(){this._selectedElement.current&&this.activeSelectedElement!==this._selectedElement.current&&(this.scrollSelected(),this.activeSelectedElement=this._selectedElement.current)},e.prototype.render=function(){var e,t,o=this,n=this.props,r=n.forceResolveText,i=n.mostRecentlyUsedHeaderText,a=n.searchForMoreIcon,s=n.searchForMoreText,l=n.className,c=n.moreSuggestionsAvailable,u=n.noResultsFoundText,d=n.suggestions,p=n.isLoading,h=n.isSearching,m=n.loadingText,f=n.onRenderNoResultFound,g=n.searchingText,v=n.isMostRecentlyUsedVisible,b=n.resultsMaximumNumber,y=n.resultsFooterFull,C=n.resultsFooter,_=n.isResultsFooterVisible,S=void 0===_||_,x=n.suggestionsHeaderText,k=n.suggestionsClassName,w=n.theme,I=n.styles,D=n.suggestionsListId,E=n.suggestionsContainerAriaLabel;this._classNames=I?Nw(I,{theme:w,className:l,suggestionsClassName:k,forceResolveButtonSelected:this.state.selectedActionType===Iw.forceResolve,searchForMoreButtonSelected:this.state.selectedActionType===Iw.searchMore}):{root:hi("ms-Suggestions",l,Mw.root),title:hi("ms-Suggestions-title",Mw.suggestionsTitle),searchForMoreButton:hi("ms-SearchMore-button",Mw.actionButton,(e={},e["is-selected "+Mw.buttonSelected]=this.state.selectedActionType===Iw.searchMore,e)),forceResolveButton:hi("ms-forceResolve-button",Mw.actionButton,(t={},t["is-selected "+Mw.buttonSelected]=this.state.selectedActionType===Iw.forceResolve,t)),suggestionsAvailable:hi("ms-Suggestions-suggestionsAvailable",Mw.suggestionsAvailable),suggestionsContainer:hi("ms-Suggestions-container",Mw.suggestionsContainer,k),noSuggestions:hi("ms-Suggestions-none",Mw.suggestionsNone)};var T=this._classNames.subComponentStyles?this._classNames.subComponentStyles.spinner:void 0,P=I?{styles:T}:{className:hi("ms-Suggestions-spinner",Mw.suggestionsSpinner)},R=x;v&&i&&(R=i);var M=void 0;S&&(M=d.length>=b?y:C);var N,B=!(d&&d.length||p),A=this.state.selectedActionType===Iw.forceResolve?"sug-selectedAction":void 0,F=this.state.selectedActionType===Iw.searchMore?"sug-selectedAction":void 0;return ht.createElement("div",{className:this._classNames.root,"aria-label":E||R,id:D,role:"listbox"},ht.createElement(Da,{message:this._getAlertText(),"aria-live":"polite"}),R?ht.createElement("div",{className:this._classNames.title},R):null,r&&this._shouldShowForceResolve()&&ht.createElement(fh,{componentRef:this._forceResolveButton,className:this._classNames.forceResolveButton,id:A,onClick:this._forceResolve,"data-automationid":"sug-forceResolve"},r),p&&ht.createElement(Yy,pt({},P,{ariaLabel:m,label:m})),B?(N=function(){return ht.createElement("div",{className:o._classNames.noSuggestions},u)},ht.createElement("div",{id:"sug-noResultsFound",role:"option"},f?f(void 0,N):N())):this._renderSuggestions(),s&&c&&ht.createElement(fh,{componentRef:this._searchForMoreButton,className:this._classNames.searchForMoreButton,iconProps:a||{iconName:"Search"},id:F,onClick:this._getMoreResults,"data-automationid":"sug-searchForMore",role:"option"},s),h?ht.createElement(Yy,pt({},P,{ariaLabel:g,label:g})):null,!M||c||v||h?null:ht.createElement("div",{className:this._classNames.title},M(this.props)))},e.prototype.hasSuggestedAction=function(){return!!this._searchForMoreButton.current||!!this._forceResolveButton.current},e.prototype.hasSuggestedActionSelected=function(){return this.state.selectedActionType!==Iw.none},e.prototype.executeSelectedAction=function(){switch(this.state.selectedActionType){case Iw.forceResolve:this._forceResolve();break;case Iw.searchMore:this._getMoreResults()}},e.prototype.focusAboveSuggestions=function(){this._forceResolveButton.current?this.setState({selectedActionType:Iw.forceResolve}):this._searchForMoreButton.current&&this.setState({selectedActionType:Iw.searchMore})},e.prototype.focusBelowSuggestions=function(){this._searchForMoreButton.current?this.setState({selectedActionType:Iw.searchMore}):this._forceResolveButton.current&&this.setState({selectedActionType:Iw.forceResolve})},e.prototype.focusSearchForMoreButton=function(){this._searchForMoreButton.current&&this._searchForMoreButton.current.focus()},e.prototype.scrollSelected=function(){if(this._selectedElement.current&&this._scrollContainer.current&&void 0!==this._scrollContainer.current.scrollTo){var e=this._selectedElement.current,t=e.offsetHeight,o=e.offsetTop,n=this._scrollContainer.current,r=n.offsetHeight,i=n.scrollTop,a=o+t>i+r;o=t?l.slice(u-t+1,u+1):l.slice(0,t)),0===l.length?null:ht.createElement("div",{className:this._classNames.suggestionsContainer,ref:this._scrollContainer,role:"presentation"},l.map(function(e,t){return ht.createElement("div",{ref:e.selected?o._selectedElement:void 0,key:e.item.key?e.item.key:t,role:"presentation"},ht.createElement(c,{suggestionModel:e,RenderSuggestion:n,onClick:o._onClickTypedSuggestionsItem(e.item,t),className:i,showRemoveButton:a,removeButtonAriaLabel:r,onRemoveItem:o._onRemoveTypedSuggestionsItem(e.item,t),id:"sug-"+t,removeButtonIconProps:s}))}))},e}(ht.Component),Fw={root:"ms-Suggestions",suggestionsContainer:"ms-Suggestions-container",title:"ms-Suggestions-title",forceResolveButton:"ms-forceResolve-button",searchForMoreButton:"ms-SearchMore-button",spinner:"ms-Suggestions-spinner",noSuggestions:"ms-Suggestions-none",suggestionsAvailable:"ms-Suggestions-suggestionsAvailable",isSelected:"is-selected"};function Lw(e){var t,o=e.className,n=e.suggestionsClassName,r=e.theme,i=e.forceResolveButtonSelected,a=e.searchForMoreButtonSelected,s=r.palette,l=r.semanticColors,c=r.fonts,u=Ro(Fw,r),d={backgroundColor:"transparent",border:0,cursor:"pointer",margin:0,paddingLeft:8,position:"relative",borderTop:"1px solid ".concat(s.neutralLight),height:40,textAlign:"left",width:"100%",fontSize:c.small.fontSize,selectors:{":hover":{backgroundColor:l.menuItemBackgroundPressed,cursor:"pointer"},":focus, :active":{backgroundColor:s.themeLight},".ms-Button-icon":{fontSize:c.mediumPlus.fontSize,width:25},".ms-Button-label":{margin:"0 4px 0 9px"}}},p={backgroundColor:s.themeLight,selectors:(t={},t[Mo]=pt({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[":after"]={pointerEvents:"none",content:'""',position:"absolute",left:0,top:0,bottom:0,right:0,border:"1px solid ".concat(r.semanticColors.focusBorder)},t)};return{root:[u.root,{minWidth:260},o],suggestionsContainer:[u.suggestionsContainer,{overflowY:"auto",overflowX:"hidden",maxHeight:300,transform:"translate3d(0,0,0)"},n],title:[u.title,{padding:"0 12px",fontSize:c.small.fontSize,color:s.themePrimary,lineHeight:40,borderBottom:"1px solid ".concat(l.menuItemBackgroundPressed)}],forceResolveButton:[u.forceResolveButton,d,i&&[u.isSelected,p]],searchForMoreButton:[u.searchForMoreButton,d,a&&[u.isSelected,p]],noSuggestions:[u.noSuggestions,{textAlign:"center",color:s.neutralSecondary,fontSize:c.small.fontSize,lineHeight:30}],suggestionsAvailable:[u.suggestionsAvailable,ho],subComponentStyles:{spinner:{root:[u.spinner,{margin:"5px 0",paddingLeft:14,textAlign:"left",whiteSpace:"nowrap",lineHeight:20,fontSize:c.small.fontSize}],circle:{display:"inline-block",verticalAlign:"middle"},label:{display:"inline-block",verticalAlign:"middle",margin:"0 10px 0 16px"}}}}}var Ow,Hw=function(){function e(){var t=this;this._isSuggestionModel=function(e){return void 0!==e.item},this._ensureSuggestionModel=function(e){return t._isSuggestionModel(e)?e:{item:e,selected:!1,ariaLabel:e.ariaLabel}},this.suggestions=[],this.currentIndex=-1}return e.prototype.updateSuggestions=function(e,t,o){if(e&&e.length>0){if(o&&e.length>o){var n=t&&t>o?t+1-o:0;e=e.slice(n,n+o-1)}this.suggestions=this.convertSuggestionsToSuggestionItems(e),this.currentIndex=t||0,-1===t?this.currentSuggestion=void 0:void 0!==t&&(this.suggestions[t].selected=!0,this.currentSuggestion=this.suggestions[t])}else this.suggestions=[],this.currentIndex=-1,this.currentSuggestion=void 0},e.prototype.nextSuggestion=function(){if(this.suggestions&&this.suggestions.length){if(this.currentIndex0)return this.setSelectedSuggestion(this.currentIndex-1),!0;if(0===this.currentIndex)return this.setSelectedSuggestion(this.suggestions.length-1),!0}return!1},e.prototype.getSuggestions=function(){return this.suggestions},e.prototype.getCurrentItem=function(){return this.currentSuggestion},e.prototype.getSuggestionAtIndex=function(e){return this.suggestions[e]},e.prototype.hasSelectedSuggestion=function(){return!!this.currentSuggestion},e.prototype.removeSuggestion=function(e){this.suggestions.splice(e,1)},e.prototype.createGenericSuggestion=function(e){var t=this.convertSuggestionsToSuggestionItems([e])[0];this.currentSuggestion=t},e.prototype.convertSuggestionsToSuggestionItems=function(e){return Array.isArray(e)?e.map(this._ensureSuggestionModel):[]},e.prototype.deselectAllSuggestions=function(){this.currentIndex>-1&&(this.suggestions[this.currentIndex].selected=!1,this.currentIndex=-1)},e.prototype.setSelectedSuggestion=function(e){e>this.suggestions.length-1||e<0?(this.currentIndex=0,this.currentSuggestion.selected=!1,this.currentSuggestion=this.suggestions[0],this.currentSuggestion.selected=!0):(this.currentIndex>-1&&(this.suggestions[this.currentIndex].selected=!1),this.suggestions[e].selected=!0,this.currentIndex=e,this.currentSuggestion=this.suggestions[e])},e}();!function(e){e[e.valid=0]="valid",e[e.warning=1]="warning",e[e.invalid=2]="invalid"}(Ow||(Ow={})),Kt([{rawString:".picker_94f06b16{position:relative}.pickerText_94f06b16{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid "},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";min-width:180px;min-height:30px}.pickerText_94f06b16:hover{border-color:"},{theme:"inputBorderHovered",defaultValue:"#323130"},{rawString:"}.pickerText_94f06b16.inputFocused_94f06b16{position:relative;border-color:"},{theme:"inputFocusBorderAlt",defaultValue:"#0078d4"},{rawString:'}.pickerText_94f06b16.inputFocused_94f06b16:after{pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;right:-1px;border:2px solid '},{theme:"inputFocusBorderAlt",defaultValue:"#0078d4"},{rawString:'}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.pickerText_94f06b16.inputDisabled_94f06b16{position:relative;border-color:GrayText}.pickerText_94f06b16.inputDisabled_94f06b16:after{pointer-events:none;content:"";position:absolute;left:0;top:0;bottom:0;right:0;background-color:Window}}.pickerInput_94f06b16{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;-ms-flex-item-align:end;align-self:flex-end}.pickerItems_94f06b16{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%}.screenReaderOnly_94f06b16{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}'}]);var zw="picker_94f06b16",Ww="pickerText_94f06b16",Vw="inputFocused_94f06b16",Kw="inputDisabled_94f06b16",Gw="pickerInput_94f06b16",Uw="pickerItems_94f06b16",jw="screenReaderOnly_94f06b16",qw=s,Yw=vr(),Zw=function(o){function e(e){var i=o.call(this,e)||this;i.root=ht.createRef(),i.input=ht.createRef(),i.suggestionElement=ht.createRef(),i.SuggestionOfProperType=Aw,i._styledSuggestions=ir(i.SuggestionOfProperType,Lw,void 0,{scope:"Suggestions"}),i._isMounted=!1,i._overrideScrollDismiss=!1,i.dismissSuggestions=function(t){var e=function(){var e=!0;i.props.onDismiss&&(e=i.props.onDismiss(t,i.suggestionStore.currentSuggestion?i.suggestionStore.currentSuggestion.item:void 0)),(!t||t&&!t.defaultPrevented)&&!1!==e&&i.canAddItems()&&i.suggestionStore.hasSelectedSuggestion()&&i.state.suggestedDisplayValue&&i.addItemByIndex(0)};i.currentPromise?i.currentPromise.then(function(){return e()}):e(),i.setState({suggestionsVisible:!1})},i.refocusSuggestions=function(e){i.resetFocus(),i.suggestionStore.suggestions&&i.suggestionStore.suggestions.length>0&&(e===sr.up?i.suggestionStore.setSelectedSuggestion(i.suggestionStore.suggestions.length-1):e===sr.down&&i.suggestionStore.setSelectedSuggestion(0))},i._getDescribedBy=function(e,t){var o="";return e.length>0&&(o+=i._ariaMap.selectedItems+" "),t&&(o+=i._ariaMap.error),o},i.onInputChange=function(e){i.updateValue(e),i.setState({moreSuggestionsAvailable:!0,isMostRecentlyUsedVisible:!1})},i.onSuggestionClick=function(e,t,o){i.addItemByIndex(o)},i.onSuggestionRemove=function(e,t,o){i.props.onRemoveSuggestion&&i.props.onRemoveSuggestion(t),i.suggestionStore.removeSuggestion(o)},i.onInputFocus=function(e){i.selection.setAllSelected(!1),i.state.isFocused||(i._userTriggeredSuggestions(),i.props.inputProps&&i.props.inputProps.onFocus&&i.props.inputProps.onFocus(e))},i.onInputBlur=function(e){i.props.inputProps&&i.props.inputProps.onBlur&&i.props.inputProps.onBlur(e)},i.onBlur=function(e){if(i.state.isFocused){var t=e.relatedTarget;null===e.relatedTarget&&(t=Hc(i.context).activeElement),t&&!Ga(i.root.current,t)&&(i.setState({isFocused:!1}),i.props.onBlur&&i.props.onBlur(e))}},i.onWrapperClick=function(e){i.state.items.length&&!i.canAddItems()&&i.resetFocus(i.state.items.length-1)},i.onClick=function(e){void 0!==i.props.inputProps&&void 0!==i.props.inputProps.onClick&&i.props.inputProps.onClick(e),0===e.button&&i._userTriggeredSuggestions()},i.onFocus=function(){i.state.isFocused||i.setState({isFocused:!0})},i.onKeyDown=function(e){var t=e.which;switch(t){case sr.escape:i.state.suggestionsVisible&&(i.setState({suggestionsVisible:!1}),e.preventDefault(),e.stopPropagation());break;case sr.tab:case sr.enter:i.suggestionElement.current&&i.suggestionElement.current.hasSuggestedActionSelected()?i.suggestionElement.current.executeSelectedAction():!e.shiftKey&&i.suggestionStore.hasSelectedSuggestion()&&i.state.suggestionsVisible?(i.completeSuggestion(),e.preventDefault(),e.stopPropagation()):i._completeGenericSuggestion();break;case sr.backspace:i.props.disabled||i.onBackspace(e),e.stopPropagation();break;case sr.del:i.props.disabled||(i.input.current&&e.target===i.input.current.inputElement&&i.state.suggestionsVisible&&-1!==i.suggestionStore.currentIndex?(i.props.onRemoveSuggestion&&i.props.onRemoveSuggestion(i.suggestionStore.currentSuggestion.item),i.suggestionStore.removeSuggestion(i.suggestionStore.currentIndex),i.forceUpdate()):i.onBackspace(e)),e.stopPropagation();break;case sr.up:i.input.current&&e.target===i.input.current.inputElement&&i.state.suggestionsVisible&&(i.suggestionElement.current&&i.suggestionElement.current.tryHandleKeyDown(t,i.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation(),i.forceUpdate()):i.suggestionElement.current&&i.suggestionElement.current.hasSuggestedAction()&&0===i.suggestionStore.currentIndex?(e.preventDefault(),e.stopPropagation(),i.suggestionElement.current.focusAboveSuggestions(),i.suggestionStore.deselectAllSuggestions(),i.forceUpdate()):i.suggestionStore.previousSuggestion()&&(e.preventDefault(),e.stopPropagation(),i.onSuggestionSelect()));break;case sr.down:i.input.current&&e.target===i.input.current.inputElement&&i.state.suggestionsVisible&&(i.suggestionElement.current&&i.suggestionElement.current.tryHandleKeyDown(t,i.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation(),i.forceUpdate()):i.suggestionElement.current&&i.suggestionElement.current.hasSuggestedAction()&&i.suggestionStore.currentIndex+1===i.suggestionStore.suggestions.length?(e.preventDefault(),e.stopPropagation(),i.suggestionElement.current.focusBelowSuggestions(),i.suggestionStore.deselectAllSuggestions(),i.forceUpdate()):i.suggestionStore.nextSuggestion()&&(e.preventDefault(),e.stopPropagation(),i.onSuggestionSelect()))}},i.onItemChange=function(e,t){var o=i.state.items;if(t>=0){var n=o;n[t]=e,i._updateSelectedItems(n)}},i.onGetMoreResults=function(){i.setState({isSearching:!0},function(){if(i.props.onGetMoreResults&&i.input.current){var e=i.props.onGetMoreResults(i.input.current.value,i.state.items),t=e,o=e;Array.isArray(t)?(i.updateSuggestions(t),i.setState({isSearching:!1})):o.then&&o.then(function(e){i.updateSuggestions(e),i.setState({isSearching:!1})})}else i.setState({isSearching:!1});i.input.current&&i.input.current.focus(),i.setState({moreSuggestionsAvailable:!1,isResultsFooterVisible:!0})})},i.completeSelection=function(e){i.addItem(e),i.updateValue(""),i.input.current&&i.input.current.clear(),i.setState({suggestionsVisible:!1})},i.addItemByIndex=function(e){i.completeSelection(i.suggestionStore.getSuggestionAtIndex(e).item)},i.addItem=function(e){var t=i.props.onItemSelected?i.props.onItemSelected(e):e;if(null!==t){var o=t,n=t;if(n&&n.then)n.then(function(e){var t=i.state.items.concat([e]);i._updateSelectedItems(t)});else{var r=i.state.items.concat([o]);i._updateSelectedItems(r)}i.setState({suggestedDisplayValue:"",selectionRemoved:void 0})}},i.removeItem=function(e){var t=i.state.items,o=t.indexOf(e);if(o>=0){var n=t.slice(0,o).concat(t.slice(o+1));i.setState({selectionRemoved:e}),i._updateSelectedItems(n),i._async.setTimeout(function(){i.setState({selectionRemoved:void 0})},1e3)}},i.removeItems=function(t){var e=i.state.items.filter(function(e){return-1===t.indexOf(e)});i._updateSelectedItems(e)},i._shouldFocusZoneEnterInnerZone=function(e){if(i.state.suggestionsVisible)switch(e.which){case sr.up:case sr.down:return!0}return e.which===sr.enter},i._onResolveSuggestions=function(e){var t=i.props.onResolveSuggestions(e,i.state.items);null!==t&&i.updateSuggestionsList(t,e)},i._completeGenericSuggestion=function(){if(i.props.onValidateInput&&i.input.current&&i.props.onValidateInput(i.input.current.value)!==Ow.invalid&&i.props.createGenericItem){var e=i.props.createGenericItem(i.input.current.value,i.props.onValidateInput(i.input.current.value));i.suggestionStore.createGenericSuggestion(e),i.completeSuggestion()}},i._userTriggeredSuggestions=function(){if(!i.state.suggestionsVisible){var e=i.input.current?i.input.current.value:"";e?0===i.suggestionStore.suggestions.length?i._onResolveSuggestionsDebounced(e):i.setState({isMostRecentlyUsedVisible:!1,suggestionsVisible:!0}):i.onEmptyInputFocus()}},ua(i);var t=e.selectedItems||e.defaultSelectedItems||[];return i._id=bs(),i._ariaMap={selectedItems:"selected-items-".concat(i._id),selectedSuggestionAlert:"selected-suggestion-alert-".concat(i._id),suggestionList:"suggestion-list-".concat(i._id),combobox:"combobox-".concat(i._id),error:"error-".concat(i._id)},i.suggestionStore=new Hw,i.selection=new Fy({onSelectionChanged:function(){return i.onSelectionChange()}}),i.selection.setItems(t),i.state={items:t,suggestedDisplayValue:"",isMostRecentlyUsedVisible:!1,moreSuggestionsAvailable:!1,isFocused:!1,isSearching:!1,selectedIndices:[],selectionRemoved:void 0},i}return m(e,o),e.getDerivedStateFromProps=function(e){return e.selectedItems?{items:e.selectedItems}:null},Object.defineProperty(e.prototype,"items",{get:function(){return this.state.items},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){this._isMounted=!0,this._async=new fa(this),this._updateErrorMessage(this.state.items),this.selection.setItems(this.state.items),this._onResolveSuggestionsDebounced=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},e.prototype.componentDidUpdate=function(e,t){var o=this;if(this.state.items&&this.state.items!==t.items){var n=this.selection.getSelectedIndices()[0];this.selection.setItems(this.state.items),this.state.isFocused&&(this.state.items.lengtht.items.length&&!this.canAddItems()&&this.resetFocus(this.state.items.length-1))}this._updateErrorMessage(this.state.items),this.state.suggestionsVisible&&!t.suggestionsVisible&&(this._overrideScrollDismiss=!0,this._async.clearTimeout(this._overrideScrollDimissTimeout),this._overrideScrollDimissTimeout=this._async.setTimeout(function(){o._overrideScrollDismiss=!1},100))},e.prototype.componentWillUnmount=function(){this._isMounted=!1,this.currentPromise&&(this.currentPromise=void 0),this._async.dispose()},e.prototype.focus=function(){this.input.current&&this.input.current.focus()},e.prototype.focusInput=function(){this.input.current&&this.input.current.focus()},e.prototype.completeSuggestion=function(e){this.suggestionStore.hasSelectedSuggestion()&&this.input.current?this.completeSelection(this.suggestionStore.currentSuggestion.item):e&&this._completeGenericSuggestion()},e.prototype.render=function(){var e,t,o,n=this.state,r=n.suggestedDisplayValue,i=n.isFocused,a=n.items,s=this.props,l=s.className,c=s.inputProps,u=s.disabled,d=s.selectionAriaLabel,p=s.selectionRole,h=void 0===p?"list":p,m=s.theme,f=s.styles,g=!!this.state.suggestionsVisible,v=g?this._ariaMap.suggestionList:void 0,b=!!(null!==(e=this.state.errorMessage)&&void 0!==e?e:this.props.errorMessage),y=f?Yw(f,{theme:m,className:l,isFocused:i,disabled:u,hasErrorMessage:b,inputClassName:c&&c.className}):{root:hi("ms-BasePicker",l||""),error:"ms-BasePicker-error",text:hi("ms-BasePicker-text",qw.pickerText,this.state.isFocused&&qw.inputFocused),itemsWrapper:qw.pickerItems,input:hi("ms-BasePicker-input",qw.pickerInput,c&&c.className),screenReaderText:qw.screenReaderOnly},C=this.props["aria-label"]||(null==c?void 0:c["aria-label"]),_=null!==(t=null==c?void 0:c.id)&&void 0!==t?t:this._ariaMap.combobox;return ht.createElement("div",{ref:this.root,className:y.root,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onWrapperClick},this.renderLabel(_,null===(o=y.subComponentStyles)||void 0===o?void 0:o.label),this.renderCustomAlert(y.screenReaderText),ht.createElement("span",{id:"".concat(this._ariaMap.selectedItems,"-label"),hidden:!0},d||C),ht.createElement(Ay,{selection:this.selection,selectionMode:ay.multiple},ht.createElement("div",{className:y.text,"aria-owns":v},a.length>0&&ht.createElement("span",{id:this._ariaMap.selectedItems,className:y.itemsWrapper,role:h,"aria-labelledby":"".concat(this._ariaMap.selectedItems,"-label")},this.renderItems()),this.canAddItems()&&ht.createElement(_a,pt({spellCheck:!1},c,{className:y.input,componentRef:this.input,id:_,onClick:this.onClick,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onInputValueChange:this.onInputChange,suggestedDisplayValue:r,"aria-activedescendant":g?this.getActiveDescendant():void 0,"aria-controls":v,"aria-describedby":this._getDescribedBy(a,b),"aria-expanded":g,"aria-haspopup":"listbox","aria-label":C,role:"combobox",disabled:u,onInputChange:this.props.onInputChange})))),this.renderError(y.error),this.renderSuggestions())},e.prototype.canAddItems=function(){var e=this.state.items,t=this.props.itemLimit;return void 0===t||e.length button")[Math.min(e,t.length-1)];o&&o.focus()}else this.input.current&&this.input.current.focus()},e.prototype.onSuggestionSelect=function(){if(this.suggestionStore.currentSuggestion){var e=this.input.current?this.input.current.value:"",t=this._getTextFromItem(this.suggestionStore.currentSuggestion.item,e);this.setState({suggestedDisplayValue:t})}},e.prototype.onSelectionChange=function(){this.setState({selectedIndices:this.selection.getSelectedIndices()})},e.prototype.updateSuggestions=function(e){var t,o=null===(t=this.props.pickerSuggestionsProps)||void 0===t?void 0:t.resultsMaximumNumber;this.suggestionStore.updateSuggestions(e,0,o),this.forceUpdate()},e.prototype.onEmptyInputFocus=function(){var e=this.props.onEmptyResolveSuggestions?this.props.onEmptyResolveSuggestions:this.props.onEmptyInputFocus;if(e){var t=e(this.state.items);this.updateSuggestionsList(t),this.setState({isMostRecentlyUsedVisible:!0,suggestionsVisible:!0,moreSuggestionsAvailable:!1})}},e.prototype.updateValue=function(e){this._onResolveSuggestionsDebounced(e)},e.prototype.updateSuggestionsList=function(t,o){var e,n=this;Array.isArray(t)?this._updateAndResolveValue(o,t):t&&t.then&&(this.setState({suggestionsLoading:!0}),this._startLoadTimer(),this.suggestionStore.updateSuggestions([]),void 0!==o?this.setState({suggestionsVisible:this._getShowSuggestions()}):this.setState({suggestionsVisible:this.input.current&&this.input.current.inputElement===(null===(e=Hc(this.context))||void 0===e?void 0:e.activeElement)}),this.currentPromise=t,t.then(function(e){t===n.currentPromise&&n._updateAndResolveValue(o,e)}))},e.prototype.resolveNewValue=function(e,t){var o=this;this.updateSuggestions(t);var n=void 0;this.suggestionStore.currentSuggestion&&(n=this._getTextFromItem(this.suggestionStore.currentSuggestion.item,e)),this.setState({suggestedDisplayValue:n,suggestionsVisible:this._getShowSuggestions()},function(){return o.setState({suggestionsLoading:!1,suggestionsExtendedLoading:!1})})},e.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},e.prototype.onBackspace=function(e){(this.state.items.length&&!this.input.current||this.input.current&&!this.input.current.isValueSelected&&0===this.input.current.cursorLocation)&&(this.selection.getSelectedCount()>0?this.removeItems(this.selection.getSelection()):this.removeItem(this.state.items[this.state.items.length-1]))},e.prototype.getActiveDescendant=function(){var e;if(!this.state.suggestionsLoading){var t=this.suggestionStore.currentIndex;return t<0?(null===(e=this.suggestionElement.current)||void 0===e?void 0:e.hasSuggestedAction())?"sug-selectedAction":0===this.suggestionStore.suggestions.length?"sug-noResultsFound":void 0:"sug-".concat(t)}},e.prototype.getSuggestionsAlert=function(e){void 0===e&&(e=qw.screenReaderOnly);var t=this.suggestionStore.currentIndex;if(this.props.enableSelectedSuggestionAlert){var o=t>-1?this.suggestionStore.getSuggestionAtIndex(this.suggestionStore.currentIndex):void 0,n=o?o.ariaLabel:void 0;return ht.createElement("div",{id:this._ariaMap.selectedSuggestionAlert,className:e},"".concat(n," "))}},e.prototype.renderCustomAlert=function(e){void 0===e&&(e=qw.screenReaderOnly);var t=this.props.suggestionRemovedText,o=void 0===t?"removed {0}":t,n="";return this.state.selectionRemoved&&(n=tm(o,this._getTextFromItem(this.state.selectionRemoved,""))),ht.createElement("div",{className:e,id:this._ariaMap.selectedSuggestionAlert,"aria-live":"assertive"},this.getSuggestionsAlert(e),n)},e.prototype._preventDismissOnScrollOrResize=function(e){return!(!this._overrideScrollDismiss||"scroll"!==e.type&&"resize"!==e.type)},e.prototype._startLoadTimer=function(){var e=this;this._async.setTimeout(function(){e.state.suggestionsLoading&&e.setState({suggestionsExtendedLoading:!0})},3e3)},e.prototype._updateAndResolveValue=function(e,t){var o;if(void 0!==e)this.resolveNewValue(e,t);else{var n=null===(o=this.props.pickerSuggestionsProps)||void 0===o?void 0:o.resultsMaximumNumber;this.suggestionStore.updateSuggestions(t,-1,n),this.state.suggestionsLoading&&this.setState({suggestionsLoading:!1,suggestionsExtendedLoading:!1})}},e.prototype._getErrorMessage=function(o){return e=this,a=void 0,l=function(){var t;return function(o,n){var r,i,a,s,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function e(t){return function(e){return function(t){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,t[0]&&(l=0)),l;)try{if(r=1,i&&(a=2&t[0]?i.return:t[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,t[1])).done)return a;switch(i=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,i=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!((a=(a=l.trys).length>0&&a[a.length-1])||6!==t[0]&&2!==t[0])){l=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]=0){var n=y.keyToIndexMapping[e],r=ht.Children.toArray(i.children)[n];LI(r)&&i.onLinkClick(r,t)}null===(o=a.current)||void 0===o||o.dismissMenu()};p=AI(i.styles,{theme:c,linkSize:u,linkFormat:d});var w,I=null===(w=n)||void 0!==w&&void 0!==y.keyToIndexMapping[w]?n:y.links.length?y.links[0].itemKey:void 0,D=I?y.keyToIndexMapping[I]:0,E=y.links.map(function(e){return _(y,e,I,p.link)}),T=ht.useMemo(function(){return{items:[],alignTargetEdge:!0,directionalHint:Rl.bottomRightEdge}},[]),P=function(e){var p=e.onOverflowItemsChanged,h=e.rtl,m=e.pinnedIndex,f=ht.useRef(),g=ht.useRef(),v=NI(function(t){var e=function(e,t){if("undefined"!=typeof ResizeObserver){var o=new ResizeObserver(t);return Array.isArray(e)?e.forEach(function(e){return o.observe(e)}):o.observe(e),function(){return o.disconnect()}}var n=function(){return t(void 0)},r=ut(Array.isArray(e)?e[0]:e);if(!r)return function(){};var i=r.requestAnimationFrame(n);return r.addEventListener("resize",n,!1),function(){r.cancelAnimationFrame(i),r.removeEventListener("resize",n,!1)}}(t,function(e){g.current=e?e[0].contentRect.width:t.clientWidth,f.current&&f.current()});return function(){e(),g.current=void 0}}),b=NI(function(e){return v(e.parentElement),function(){return v(null)}});return ri(function(){var e=v.current,n=b.current;if(e&&n){for(var r=[],t=0;t=0;t--){if(void 0===i[t]){var o=h?e-r[t].offsetLeft:r[t].offsetLeft+r[t].offsetWidth;t+1i[t])return void l(t+1)}l(0)}};var s=r.length,l=function(o){s!==o&&(s=o,p(o,r.map(function(e,t){return{ele:e,isOverflowing:t>=o&&t!==m}})))},c=void 0;if(void 0!==g.current){var u=ut(e);if(u){var d=u.requestAnimationFrame(f.current);c=function(){return u.cancelAnimationFrame(d)}}}return function(){c&&c(),l(r.length),f.current=void 0}}}),{menuButtonRef:b}}({onOverflowItemsChanged:function(o,e){e.forEach(function(e){var t=e.ele,o=e.isOverflowing;return t.dataset.isOverflowing="".concat(o)}),T.items=y.links.slice(o).filter(function(e){return e.itemKey!==I}).map(function(e,t){return e.role="menuitem",{key:e.itemKey||"".concat(o+t),onRender:function(){return _(y,e,I,p.linkInMenu)}}})},rtl:cr(c),pinnedIndex:D}).menuButtonRef,R=g||fh;return ht.createElement("div",pt({ref:e},b),ht.createElement(Xs,pt({componentRef:t,role:"tablist"},v,{direction:xa.horizontal},f,{className:hi(p.root,null==f?void 0:f.className)}),E,"menu"===h&&ht.createElement(R,{className:hi(p.link,p.overflowMenuButton),elementRef:P,componentRef:a,menuProps:T,menuIconProps:{iconName:"More",style:{color:"inherit"}},ariaLabel:m,role:"tab"})),I&&y.links.map(function(e){return(!0===e.alwaysRender||I===e.itemKey)&&function(e,t){if(i.headersOnly||!e)return null;var o=y.keyToIndexMapping[e],n=y.keyToTabIdMapping[e];return ht.createElement("div",{role:"tabpanel",hidden:!t,key:e,"aria-hidden":!t,"aria-labelledby":n,className:p.itemContainer},ht.Children.toArray(i.children)[o])}(e.itemKey,I===e.itemKey)}))});OI.displayName="Pivot";var HI,zI,WI={count:"ms-Pivot-count",icon:"ms-Pivot-icon",linkIsSelected:"is-selected",link:"ms-Pivot-link",linkContent:"ms-Pivot-linkContent",root:"ms-Pivot",rootIsLarge:"ms-Pivot--large",rootIsTabs:"ms-Pivot--tabs",text:"ms-Pivot-text",linkInMenu:"ms-Pivot-linkInMenu",overflowMenuButton:"ms-Pivot-overflowMenuButton"},VI=function(e,t,o){var n,r,i;void 0===o&&(o=!1);var a=e.linkSize,s=e.linkFormat,l=e.theme,c=l.semanticColors,u=l.fonts,d="large"===a,p="tabs"===s;return[u.medium,{color:c.actionLink,padding:"0 8px",position:"relative",backgroundColor:"transparent",border:0,borderRadius:0,selectors:{":hover":{backgroundColor:c.buttonBackgroundHovered,color:c.buttonTextHovered,cursor:"pointer"},":active":{backgroundColor:c.buttonBackgroundPressed,color:c.buttonTextHovered},":focus":{outline:"none"}}},!o&&[{display:"inline-block",lineHeight:44,height:44,marginRight:8,textAlign:"center",selectors:(n={},n[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={outline:"1px solid ".concat(c.focusBorder)},n[".".concat(Jo," &:focus:after, :host(.").concat(Jo,") &:focus:after")]={content:"attr(data-content)",position:"relative",border:0},n[":before"]={backgroundColor:"transparent",bottom:0,content:'""',height:2,left:8,position:"absolute",right:8,transition:"left ".concat(We.durationValue2," ").concat(We.easeFunction2,",\n right ").concat(We.durationValue2," ").concat(We.easeFunction2)},n[":after"]={color:"transparent",content:"attr(data-content)",display:"block",fontWeight:Qe.bold,height:1,overflow:"hidden",visibility:"hidden"},n)},d&&{fontSize:u.large.fontSize},p&&[{marginRight:0,height:44,lineHeight:44,backgroundColor:c.buttonBackground,padding:"0 10px",verticalAlign:"top",selectors:(r={":focus":{outlineOffset:"-2px"}},r[".".concat(Jo," &:focus::before, :host(.").concat(Jo,") &:focus::before")]={height:"auto",background:"transparent",transition:"none"},r["&:hover, &:focus"]={color:c.buttonTextCheckedHovered},r["&:active, &:hover"]={color:c.primaryButtonText,backgroundColor:c.primaryButtonBackground},r["&.".concat(t.linkIsSelected)]={backgroundColor:c.primaryButtonBackground,color:c.primaryButtonText,fontWeight:Qe.regular,selectors:(i={":before":{backgroundColor:"transparent",transition:"none",position:"absolute",top:0,left:0,right:0,bottom:0,content:'""',height:0},":hover":{backgroundColor:c.primaryButtonBackgroundHovered,color:c.primaryButtonText},":active":{backgroundColor:c.primaryButtonBackgroundPressed,color:c.primaryButtonText}},i[Mo]=pt({fontWeight:Qe.semibold,color:"HighlightText",background:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)},r[".".concat(Jo," &.").concat(t.linkIsSelected,":focus, :host(.").concat(Jo,") &.").concat(t.linkIsSelected,":focus")]={outlineColor:c.primaryButtonText},r)}]]]},KI=ir(OI,function(e){var t,o,n,r,i=e.className,a=e.linkSize,s=e.linkFormat,l=e.theme,c=l.semanticColors,u=l.fonts,d=Ro(WI,l),p="large"===a,h="tabs"===s;return{root:[d.root,u.medium,dn,{position:"relative",color:c.link,whiteSpace:"nowrap"},p&&d.rootIsLarge,h&&d.rootIsTabs,i],itemContainer:{selectors:{"&[hidden]":{display:"none"}}},link:z(z([d.link],VI(e,d),!0),[(t={},t["&[data-is-overflowing='true']"]={display:"none"},t)],!1),overflowMenuButton:[d.overflowMenuButton,(o={visibility:"hidden",position:"absolute",right:0},o[".".concat(d.link,"[data-is-overflowing='true'] ~ &")]={visibility:"visible",position:"relative"},o)],linkInMenu:z(z([d.linkInMenu],VI(e,d,!0),!0),[{justifyContent:"start",height:36,lineHeight:36,width:"100%"}],!1),linkIsSelected:[d.link,d.linkIsSelected,{fontWeight:Qe.semibold,selectors:(n={":before":{backgroundColor:c.inputBackgroundChecked,selectors:(r={},r[Mo]={backgroundColor:"Highlight"},r)},":hover::before":{left:0,right:0}},n[Mo]={color:"Highlight"},n)}],linkContent:[d.linkContent,{flex:"0 1 100%",selectors:{"& > * ":{marginLeft:4},"& > *:first-child":{marginLeft:0}}}],text:[d.text,{display:"inline-block",verticalAlign:"top"}],count:[d.count,{display:"inline-block",verticalAlign:"top"}],icon:d.icon}},void 0,{scope:"Pivot"});!function(e){e.links="links",e.tabs="tabs"}(HI||(HI={})),function(e){e.normal="normal",e.large="large"}(zI||(zI={}));var GI,UI=vr(),jI=function(o){function e(e){var v=o.call(this,e)||this;v._onRenderProgress=function(e){var t=v.props,o=t.ariaLabel,n=t.ariaValueText,r=t.barHeight,i=t.className,a=t.description,s=t.label,l=void 0===s?v.props.title:s,c=t.styles,u=t.theme,d="number"==typeof v.props.percentComplete?Math.min(100,Math.max(0,100*v.props.percentComplete)):void 0,p=UI(c,{theme:u,className:i,barHeight:r,indeterminate:void 0===d}),h={width:void 0!==d?d+"%":void 0,transition:void 0!==d&&d<.01?"none":void 0},m=void 0!==d?0:void 0,f=void 0!==d?100:void 0,g=void 0!==d?Math.floor(d):void 0;return ht.createElement("div",{className:p.itemProgress},ht.createElement("div",{className:p.progressTrack}),ht.createElement("div",{className:p.progressBar,style:h,role:"progressbar","aria-describedby":a?v._descriptionId:void 0,"aria-label":o,"aria-labelledby":l?v._labelId:void 0,"aria-valuemin":m,"aria-valuemax":f,"aria-valuenow":g,"aria-valuetext":n}))};var t=bs("progress-indicator");return v._labelId=t+"-label",v._descriptionId=t+"-description",v}return m(e,o),e.prototype.render=function(){var e=this.props,t=e.barHeight,o=e.className,n=e.label,r=void 0===n?this.props.title:n,i=e.description,a=e.styles,s=e.theme,l=e.progressHidden,c=e.onRenderProgress,u=void 0===c?this._onRenderProgress:c,d="number"==typeof this.props.percentComplete?Math.min(100,Math.max(0,100*this.props.percentComplete)):void 0,p=UI(a,{theme:s,className:o,barHeight:t,indeterminate:void 0===d});return ht.createElement("div",{className:p.root},r?ht.createElement("div",{id:this._labelId,className:p.itemName},r):null,l?null:u(pt(pt({},this.props),{percentComplete:d}),this._onRenderProgress),i?ht.createElement("div",{id:this._descriptionId,className:p.itemDescription},i):null)},e.defaultProps={label:"",description:"",width:180},e}(ht.Component),qI={root:"ms-ProgressIndicator",itemName:"ms-ProgressIndicator-itemName",itemDescription:"ms-ProgressIndicator-itemDescription",itemProgress:"ms-ProgressIndicator-itemProgress",progressTrack:"ms-ProgressIndicator-progressTrack",progressBar:"ms-ProgressIndicator-progressBar"},YI=Do(function(){return ee({"0%":{left:"-30%"},"100%":{left:"100%"}})}),ZI=Do(function(){return ee({"100%":{right:"-30%"},"0%":{right:"100%"}})}),XI=ir(jI,function(e){var t,o,n,r=cr(e.theme),i=e.className,a=e.indeterminate,s=e.theme,l=e.barHeight,c=void 0===l?2:l,u=s.palette,d=s.semanticColors,p=s.fonts,h=Ro(qI,s),m=u.neutralLight;return{root:[h.root,p.medium,i],itemName:[h.itemName,pn,{color:d.bodyText,paddingTop:4,lineHeight:20}],itemDescription:[h.itemDescription,{color:d.bodySubtext,fontSize:p.small.fontSize,lineHeight:18}],itemProgress:[h.itemProgress,{position:"relative",overflow:"hidden",height:c,padding:"".concat(8,"px 0")}],progressTrack:[h.progressTrack,{position:"absolute",width:"100%",height:c,backgroundColor:m,selectors:(t={},t[Mo]={borderBottom:"1px solid WindowText"},t)}],progressBar:[{backgroundColor:u.themePrimary,height:c,position:"absolute",transition:"width .3s ease",width:0,selectors:(o={},o[Mo]=pt({backgroundColor:"highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},a?{position:"absolute",minWidth:"33%",background:"linear-gradient(to right, ".concat(m," 0%, ")+"".concat(u.themePrimary," 50%, ").concat(m," 100%)"),animation:"".concat(r?ZI():YI()," 3s infinite"),selectors:(n={},n[Mo]={background:"highlight"},n)}:{transition:"width .15s linear"},h.progressBar]}},void 0,{scope:"ProgressIndicator"}),QI={root:"ms-RatingStar-root",rootIsSmall:"ms-RatingStar-root--small",rootIsLarge:"ms-RatingStar-root--large",ratingStar:"ms-RatingStar-container",ratingStarBack:"ms-RatingStar-back",ratingStarFront:"ms-RatingStar-front",ratingButton:"ms-Rating-button",ratingStarIsSmall:"ms-Rating--small",ratingStartIsLarge:"ms-Rating--large",labelText:"ms-Rating-labelText",ratingFocusZone:"ms-Rating-focuszone"};function JI(e,t){var o;return{color:e,selectors:(o={},o[Mo]={color:t},o)}}!function(e){e[e.Small=0]="Small",e[e.Large=1]="Large"}(GI||(GI={}));var $I=vr(),eD=function(e){return ht.createElement("div",{className:e.classNames.ratingStar},ht.createElement(wi,{className:e.classNames.ratingStarBack,iconName:0===e.fillPercentage||100===e.fillPercentage?e.icon:e.unselectedIcon}),!e.disabled&&ht.createElement(wi,{className:e.classNames.ratingStarFront,iconName:e.icon,style:{width:e.fillPercentage+"%"}}))},tD=function(e,t){return"".concat(e,"-star-").concat(t-1)},oD=ht.forwardRef(function(e,t){var r=Sd("Rating"),i=Sd("RatingLabel"),o=e.ariaLabel,a=e.ariaLabelFormat,s=e.disabled,n=e.getAriaLabel,l=e.styles,c=e.min,u=void 0===c?e.allowZeroStars?0:1:c,d=e.max,p=void 0===d?5:d,h=e.readOnly,m=e.size,f=e.theme,g=e.icon,v=void 0===g?"FavoriteStarFill":g,b=e.unselectedIcon,y=void 0===b?"FavoriteStar":b,C=e.onRenderStar,_=Math.max(u,0),S=Km(e.rating,e.defaultRating,e.onChange),x=S[0],k=S[1],w=function(e,t,o){return Math.min(Math.max(null!=e?e:t,t),o)}(x,_,p);!function(e){Qi({name:"Rating",props:e,controlledUsage:{valueProp:"rating",defaultValueProp:"defaultRating",onChangeProp:"onChange",readOnlyProp:"readOnly"}})}(e),function(e,t){ht.useImperativeHandle(e,function(){return{rating:t}},[t])}(e.componentRef,w);var I=ht.useRef(null),D=ii(I,t);al(I);for(var E=qr(e,jr),T=$I(l,{disabled:s,readOnly:h,theme:f}),P=null==n?void 0:n(w,p),R=o||P,M=[],N=function(n){var e,t,o=function(e,t){var o=Math.ceil(t),n=100;return e===t?n=100:e===o?n=t%1*100:e>o&&(n=0),n}(n,w);M.push(ht.createElement("button",pt({className:hi(T.ratingButton,m===GI.Large?T.ratingStarIsLarge:T.ratingStarIsSmall),id:tD(r,n),key:n},n===Math.ceil(w)&&{"data-is-current":!0},{onKeyDown:function(e){var t=e.which,o=n;switch(t){case sr.right:case sr.down:o=Math.min(p,o+1);break;case sr.left:case sr.up:o=Math.max(1,o-1);break;case sr.home:case sr.pageUp:o=1;break;case sr.end:case sr.pageDown:o=p}o===n||void 0!==x&&Math.ceil(x)===o||k(o,e)},onClick:function(e){void 0!==x&&Math.ceil(x)===n||k(n,e)},disabled:!(!s&&!h),role:"radio","aria-hidden":h?"true":void 0,type:"button","aria-checked":n===Math.ceil(w)}),ht.createElement("span",{id:"".concat(i,"-").concat(n),className:T.labelText},tm(a||"",n,p)),(e={fillPercentage:o,disabled:s,classNames:T,icon:o>0?v:y,starNum:n,unselectedIcon:y},(t=C)?t(e):ht.createElement(eD,pt({},e)))))},B=1;B<=p;B++)N(B);var A=m===GI.Large?T.rootIsLarge:T.rootIsSmall;return ht.createElement("div",pt({ref:D,className:hi("ms-Rating-star",T.root,A),"aria-label":h?void 0:R,id:r,role:h?void 0:"radiogroup"},E),ht.createElement(Xs,pt({direction:xa.bidirectional,className:hi(T.ratingFocusZone,A),defaultActiveElement:"#"+tD(r,Math.ceil(w))},h&&{allowFocusRoot:!0,disabled:!0,role:"textbox","aria-label":P,"aria-readonly":!0,"data-is-focusable":!0,tabIndex:0}),M))});oD.displayName="RatingBase";var nD=ir(oD,function(e){var t=e.disabled,o=e.readOnly,n=e.theme,r=n.semanticColors,i=n.palette,a=Ro(QI,n),s=i.neutralSecondary,l=i.themePrimary,c=i.themeDark,u=i.neutralPrimary,d=r.disabledBodySubtext;return{root:[a.root,n.fonts.medium,!t&&!o&&{selectors:{"&:hover":{selectors:{".ms-RatingStar-back":JI(u,"Highlight")}}}}],rootIsSmall:[a.rootIsSmall,{height:"32px"}],rootIsLarge:[a.rootIsLarge,{height:"36px"}],ratingStar:[a.ratingStar,{display:"inline-block",position:"relative",height:"inherit"}],ratingStarBack:[a.ratingStarBack,{color:s,width:"100%"},t&&JI(d,"GrayText")],ratingStarFront:[a.ratingStarFront,{position:"absolute",height:"100 %",left:"0",top:"0",textAlign:"center",verticalAlign:"middle",overflow:"hidden"},JI(u,"Highlight")],ratingButton:[on(n),a.ratingButton,{backgroundColor:"transparent",padding:"".concat(8,"px ").concat(2,"px"),boxSizing:"content-box",margin:"0px",border:"none",cursor:"pointer",selectors:{"&:disabled":{cursor:"default"},"&[disabled]":{cursor:"default"}}},!t&&!o&&{selectors:{"&:hover ~ .ms-Rating-button":{selectors:{".ms-RatingStar-back":JI(s,"WindowText"),".ms-RatingStar-front":JI(s,"WindowText")}},"&:hover":{selectors:{".ms-RatingStar-back":{color:l},".ms-RatingStar-front":{color:c}}}}},t&&{cursor:"default"}],ratingStarIsSmall:[a.ratingStarIsSmall,{fontSize:"16px",lineHeight:"16px",height:"16px"}],ratingStarIsLarge:[a.ratingStartIsLarge,{fontSize:"20px",lineHeight:"20px",height:"20px"}],labelText:[a.labelText,ho],ratingFocusZone:[on(n),a.ratingFocusZone,{display:"inline-block"}]}},void 0,{scope:"Rating"}),rD={root:"ms-ScrollablePane",contentContainer:"ms-ScrollablePane--contentContainer"},iD={auto:"auto",always:"always"},aD=ht.createContext({scrollablePane:void 0,window:void 0}),sD=vr(),lD=function(t){function e(e){var u=t.call(this,e)||this;return u._root=ht.createRef(),u._stickyAboveRef=ht.createRef(),u._stickyBelowRef=ht.createRef(),u._contentContainer=ht.createRef(),u.subscribe=function(e){u._subscribers.add(e)},u.unsubscribe=function(e){u._subscribers.delete(e)},u.addSticky=function(e){u._stickies.add(e),u.contentContainer&&(e.setDistanceFromTop(u.contentContainer),u.sortSticky(e))},u.removeSticky=function(e){u._stickies.delete(e),u._removeStickyFromContainers(e),u.notifySubscribers()},u.sortSticky=function(e,t){u.stickyAbove&&u.stickyBelow&&(t&&u._removeStickyFromContainers(e),e.canStickyTop&&e.stickyContentTop&&u._addToStickyContainer(e,u.stickyAbove,e.stickyContentTop),e.canStickyBottom&&e.stickyContentBottom&&u._addToStickyContainer(e,u.stickyBelow,e.stickyContentBottom))},u.updateStickyRefHeights=function(){var e=u._stickies,r=0,i=0;e.forEach(function(e){var t=e.state,o=t.isStickyTop,n=t.isStickyBottom;e.nonStickyContent&&(o&&(r+=e.nonStickyContent.offsetHeight),n&&(i+=e.nonStickyContent.offsetHeight),u._checkStickyStatus(e))}),u.setState({stickyTopHeight:r,stickyBottomHeight:i})},u.notifySubscribers=function(){u.contentContainer&&u._subscribers.forEach(function(e){e(u.contentContainer,u.stickyBelow)})},u.getScrollPosition=function(){return u.contentContainer?u.contentContainer.scrollTop:0},u.syncScrollSticky=function(e){e&&u.contentContainer&&e.syncScroll(u.contentContainer)},u._getScrollablePaneContext=function(){return{scrollablePane:{subscribe:u.subscribe,unsubscribe:u.unsubscribe,addSticky:u.addSticky,removeSticky:u.removeSticky,updateStickyRefHeights:u.updateStickyRefHeights,sortSticky:u.sortSticky,notifySubscribers:u.notifySubscribers,syncScrollSticky:u.syncScrollSticky},window:zc(u.context)}},u._addToStickyContainer=function(t,o,e){if(o.children.length){if(!o.contains(e)){var n=[].slice.call(o.children),r=[];u._stickies.forEach(function(e){(o===u.stickyAbove&&t.canStickyTop||t.canStickyBottom)&&r.push(e)});for(var i=void 0,a=0,s=r.sort(function(e,t){return(e.state.distanceFromTop||0)-(t.state.distanceFromTop||0)}).filter(function(e){var t=o===u.stickyAbove?e.stickyContentTop:e.stickyContentBottom;return!!t&&n.indexOf(t)>-1});a=(t.state.distanceFromTop||0)){i=l;break}}var c=null;i&&(c=o===u.stickyAbove?i.stickyContentTop:i.stickyContentBottom),o.insertBefore(e,c)}}else o.appendChild(e)},u._removeStickyFromContainers=function(e){u.stickyAbove&&e.stickyContentTop&&u.stickyAbove.contains(e.stickyContentTop)&&u.stickyAbove.removeChild(e.stickyContentTop),u.stickyBelow&&e.stickyContentBottom&&u.stickyBelow.contains(e.stickyContentBottom)&&u.stickyBelow.removeChild(e.stickyContentBottom)},u._onWindowResize=function(){var e=u._getScrollbarWidth(),t=u._getScrollbarHeight();u.setState({scrollbarWidth:e,scrollbarHeight:t}),u.notifySubscribers()},u._getStickyContainerStyle=function(e,t){return pt(pt({height:e},cr(u.props.theme)?{right:"0",left:"".concat(u.state.scrollbarWidth||u._getScrollbarWidth()||0,"px")}:{left:"0",right:"".concat(u.state.scrollbarWidth||u._getScrollbarWidth()||0,"px")}),t?{top:"0"}:{bottom:"".concat(u.state.scrollbarHeight||u._getScrollbarHeight()||0,"px")})},u._onScroll=function(){var t=u.contentContainer;t&&u._stickies.forEach(function(e){e.syncScroll(t)}),u._notifyThrottled()},u._subscribers=new Set,u._stickies=new Set,ua(u),u.state={stickyTopHeight:0,stickyBottomHeight:0,scrollbarWidth:0,scrollbarHeight:0},u}return m(e,t),Object.defineProperty(e.prototype,"root",{get:function(){return this._root.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stickyAbove",{get:function(){return this._stickyAboveRef.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stickyBelow",{get:function(){return this._stickyBelowRef.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"contentContainer",{get:function(){return this._contentContainer.current},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){var n=this,e=zc(this.context),t=this.props.initialScrollPosition;this._async=new fa(this),this._notifyThrottled=this._async.throttle(this.notifySubscribers,50),this._events=new xl(this),this._events.on(this.contentContainer,"scroll",this._onScroll),this._events.on(e,"resize",this._onWindowResize),this.contentContainer&&t&&(this.contentContainer.scrollTop=t),this.setStickiesDistanceFromTop(),this._stickies.forEach(function(e){n.sortSticky(e)}),this.notifySubscribers(),e&&"MutationObserver"in e&&(this._mutationObserver=new MutationObserver(function(t){var e=n._getScrollbarHeight();if(e!==n.state.scrollbarHeight&&n.setState({scrollbarHeight:e}),n.notifySubscribers(),t.some(function(e){return null!==this.stickyAbove&&null!==this.stickyBelow&&(this.stickyAbove.contains(e.target)||this.stickyBelow.contains(e.target))}.bind(n)))n.updateStickyRefHeights();else{var o=[];n._stickies.forEach(function(e){e.root&&e.root.contains(t[0].target)&&o.push(e)}),o.length&&o.forEach(function(e){e.forceUpdate()})}}),this.root&&this._mutationObserver.observe(this.root,{childList:!0,attributes:!0,subtree:!0,characterData:!0}))},e.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._mutationObserver&&this._mutationObserver.disconnect()},e.prototype.shouldComponentUpdate=function(e,t){return this.props.children!==e.children||this.props.initialScrollPosition!==e.initialScrollPosition||this.props.className!==e.className||this.state.stickyTopHeight!==t.stickyTopHeight||this.state.stickyBottomHeight!==t.stickyBottomHeight||this.state.scrollbarWidth!==t.scrollbarWidth||this.state.scrollbarHeight!==t.scrollbarHeight},e.prototype.componentDidUpdate=function(e,t){var o=this.props.initialScrollPosition;this.contentContainer&&"number"==typeof o&&e.initialScrollPosition!==o&&(this.contentContainer.scrollTop=o),t.stickyTopHeight===this.state.stickyTopHeight&&t.stickyBottomHeight===this.state.stickyBottomHeight||this.notifySubscribers(),this._async.setTimeout(this._onWindowResize,0)},e.prototype.render=function(){var e=this.props,t=e.className,o=e.scrollContainerFocus,n=e.scrollContainerAriaLabel,r=e.theme,i=e.styles,a=e.onScroll,s=this.state,l=s.stickyTopHeight,c=s.stickyBottomHeight,u=sD(i,{theme:r,className:t,scrollbarVisibility:this.props.scrollbarVisibility}),d=o?{role:"group",tabIndex:0,"aria-label":n,onScroll:a}:{onScroll:a};return ht.createElement("div",pt({},qr(pt({},this.props),jr,["onScroll"]),{ref:this._root,className:u.root}),ht.createElement("div",{ref:this._stickyAboveRef,className:u.stickyAbove,style:this._getStickyContainerStyle(l,!0)}),ht.createElement("div",pt({ref:this._contentContainer},d,{className:u.contentContainer,"data-is-scrollable":!0}),ht.createElement(aD.Provider,{value:this._getScrollablePaneContext()},this.props.children)),ht.createElement("div",{className:u.stickyBelow,style:this._getStickyContainerStyle(c,!1)},ht.createElement("div",{ref:this._stickyBelowRef,className:u.stickyBelowItems})))},e.prototype.setStickiesDistanceFromTop=function(){var t=this;this.contentContainer&&this._stickies.forEach(function(e){e.setDistanceFromTop(t.contentContainer)})},e.prototype.forceLayoutUpdate=function(){this._onWindowResize()},e.prototype._checkStickyStatus=function(e){this.stickyAbove&&this.stickyBelow&&this.contentContainer&&e.nonStickyContent&&(e.state.isStickyTop||e.state.isStickyBottom?(e.state.isStickyTop&&!this.stickyAbove.contains(e.nonStickyContent)&&e.stickyContentTop&&e.addSticky(e.stickyContentTop),e.state.isStickyBottom&&!this.stickyBelow.contains(e.nonStickyContent)&&e.stickyContentBottom&&e.addSticky(e.stickyContentBottom)):this.contentContainer.contains(e.nonStickyContent)||e.resetSticky())},e.prototype._getScrollbarWidth=function(){var e=this.contentContainer;return e?e.offsetWidth-e.clientWidth:0},e.prototype._getScrollbarHeight=function(){var e=this.contentContainer;return e?e.offsetHeight-e.clientHeight:0},e.contextType=ga,e}(ht.Component),cD=ir(lD,function(e){var t,o,n=e.className,r=e.theme,i=Ro(rD,r),a={position:"absolute",pointerEvents:"none"},s={position:"absolute",top:0,right:0,bottom:0,left:0,WebkitOverflowScrolling:"touch"};return{root:[i.root,r.fonts.medium,s,n],contentContainer:[i.contentContainer,{overflowY:"always"===e.scrollbarVisibility?"scroll":"auto"},s],stickyAbove:[{top:0,zIndex:1,selectors:(t={},t[Mo]={borderBottom:"1px solid WindowText"},t)},a],stickyBelow:[{bottom:0,selectors:(o={},o[Mo]={borderTop:"1px solid WindowText"},o)},a],stickyBelowItems:[{bottom:0},a,{width:"100%"}]}},void 0,{scope:"ScrollablePane"}),uD="SearchBox",dD={root:{height:"auto"},icon:{fontSize:"12px"}},pD={iconName:"Clear"},hD={ariaLabel:"Clear text"},mD=vr(),fD=ht.forwardRef(function(o,e){var t=o.ariaLabel,n=o.className,r=o.defaultValue,i=void 0===r?"":r,a=o.disabled,s=o.underlined,l=o.styles,c=o.labelText,u=o.placeholder,d=void 0===u?c:u,p=o.theme,h=o.clearButtonProps,m=void 0===h?hD:h,f=o.disableAnimation,g=void 0!==f&&f,v=o.showIcon,b=void 0!==v&&v,y=o.onClear,C=o.onBlur,_=o.onEscape,S=o.onSearch,x=o.onKeyDown,k=o.iconProps,w=o.role,I=o.onChange,D=o.onChanged,E=ht.useState(!1),T=E[0],P=E[1],R=ht.useRef(),M=Km(o.value,i,function(e,t){e&&e.timeStamp===R.current||(R.current=null==e?void 0:e.timeStamp,null==I||I(e,t),null==D||D(t))}),N=M[0],B=M[1],A=String(N),F=ht.useRef(null),L=ht.useRef(null),O=ii(F,e),H=Sd(uD,o.id),z=m.onClick,W=mD(l,{theme:p,className:n,underlined:s,hasFocus:T,disabled:a,hasInput:A.length>0,disableAnimation:g,showIcon:b}),V=qr(o,Mr,["className","placeholder","onFocus","onBlur","value","role"]),K=ht.useCallback(function(e){var t;null==y||y(e),e.defaultPrevented||(B(""),null===(t=L.current)||void 0===t||t.focus(),e.stopPropagation(),e.preventDefault())},[y,B]),G=ht.useCallback(function(e){null==z||z(e),e.defaultPrevented||K(e)},[z,K]),U=ht.useCallback(function(e){P(!1),null==C||C(e)},[C]),j=function(e){B(e.target.value,e)};return function(e){Qi({name:uD,props:e,deprecations:{labelText:"placeholder"}})}(o),function(e,t,o){ht.useImperativeHandle(e,function(){return{focus:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.blur()},hasFocus:function(){return o}}},[t,o])}(o.componentRef,L,T),ht.createElement("div",{role:w,ref:O,className:W.root,onFocusCapture:function(e){var t;P(!0),null===(t=o.onFocus)||void 0===t||t.call(o,e)}},ht.createElement("div",{className:W.iconContainer,onClick:function(){L.current&&(L.current.focus(),L.current.selectionStart=L.current.selectionEnd=0)},"aria-hidden":!0},ht.createElement(wi,pt({iconName:"Search"},k,{className:W.icon}))),ht.createElement("input",pt({},V,{id:H,className:W.field,placeholder:d,onChange:j,onInput:j,onBlur:U,onKeyDown:function(e){switch(e.which){case sr.escape:null==_||_(e),A&&!e.defaultPrevented&&K(e);break;case sr.enter:S&&(S(A),e.preventDefault(),e.stopPropagation());break;default:null==x||x(e),e.defaultPrevented&&e.stopPropagation()}},value:A,disabled:a,role:"searchbox","aria-label":t,ref:L})),A.length>0&&ht.createElement("div",{className:W.clearButton},ht.createElement(xp,pt({onBlur:U,styles:dD,iconProps:pD},m,{onClick:G}))))});fD.displayName=uD;var gD={root:"ms-SearchBox",iconContainer:"ms-SearchBox-iconContainer",icon:"ms-SearchBox-icon",clearButton:"ms-SearchBox-clearButton",field:"ms-SearchBox-field"},vD=ir(fD,function(e){var t,o,n,r,i,a=e.theme,s=e.underlined,l=e.disabled,c=e.hasFocus,u=e.className,d=e.hasInput,p=e.disableAnimation,h=e.showIcon,m=a.palette,f=a.fonts,g=a.semanticColors,v=a.effects,b=Ro(gD,a),y={color:g.inputPlaceholderText,opacity:1},C=m.neutralSecondary,_=m.neutralPrimary,S=m.neutralLighter,x=m.neutralLighter,k=m.neutralLighter;return{root:[b.root,f.medium,dn,{color:g.inputText,backgroundColor:g.inputBackground,display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"stretch",padding:"1px 0 1px 4px",borderRadius:v.roundedCorner2,border:"1px solid ".concat(g.inputBorder),height:32,selectors:(t={},t[Mo]={borderColor:"WindowText"},t[":hover"]={borderColor:g.inputBorderHovered,selectors:(o={},o[Mo]={borderColor:"Highlight"},o)},t[":hover .".concat(b.iconContainer)]={color:g.inputIconHovered},t)},!c&&d&&{selectors:(n={},n[":hover .".concat(b.iconContainer)]={width:4},n[":hover .".concat(b.icon)]={opacity:0,pointerEvents:"none"},n)},c&&["is-active",{position:"relative"},an(g.inputFocusBorderAlt,s?0:v.roundedCorner2,s?"borderBottom":"border")],h&&[{selectors:(r={},r[":hover .".concat(b.iconContainer)]={width:32},r[":hover .".concat(b.icon)]={opacity:1},r)}],l&&["is-disabled",{borderColor:S,backgroundColor:k,pointerEvents:"none",cursor:"default",selectors:(i={},i[Mo]={borderColor:"GrayText"},i)}],s&&["is-underlined",{borderWidth:"0 0 1px 0",borderRadius:0,padding:"1px 0 1px 8px"}],s&&l&&{backgroundColor:"transparent"},d&&"can-clear",u],iconContainer:[b.iconContainer,{display:"flex",flexDirection:"column",justifyContent:"center",flexShrink:0,fontSize:16,width:32,textAlign:"center",color:g.inputIcon,cursor:"text"},c&&{width:4},l&&{color:g.inputIconDisabled},!p&&{transition:"width ".concat(We.durationValue1)},h&&c&&{width:32}],icon:[b.icon,{opacity:1},c&&{opacity:0,pointerEvents:"none"},!p&&{transition:"opacity ".concat(We.durationValue1," 0s")},h&&c&&{opacity:1}],clearButton:[b.clearButton,{display:"flex",flexDirection:"row",alignItems:"stretch",cursor:"pointer",flexBasis:"32px",flexShrink:0,padding:0,margin:"-1px 0px",selectors:{"&:hover .ms-Button":{backgroundColor:x},"&:hover .ms-Button-icon":{color:_},".ms-Button":{borderRadius:cr(a)?"1px 0 0 1px":"0 1px 1px 0"},".ms-Button-icon":{color:C}}}],field:[b.field,dn,vn(y),{backgroundColor:"transparent",border:"none",outline:"none",fontWeight:"inherit",fontFamily:"inherit",fontSize:"inherit",color:g.inputText,flex:"1 1 0px",minWidth:"0px",overflow:"hidden",textOverflow:"ellipsis",paddingBottom:.5,selectors:{"::-ms-clear":{display:"none"}}},l&&{color:g.disabledText}]}},void 0,{scope:"SearchBox"}),bD=function(o){function e(e){var a=o.call(this,e)||this;a.addItems=function(e){var t=a.props.onItemSelected?a.props.onItemSelected(e):e,o=t,n=t;if(n&&n.then)n.then(function(e){var t=a.state.items.concat(e);a.updateItems(t)});else{var r=a.state.items.concat(o);a.updateItems(r)}},a.removeItemAt=function(e){var t=a.state.items;if(a._canRemoveItem(t[e])&&e>-1){a.props.onItemsDeleted&&a.props.onItemsDeleted([t[e]]);var o=t.slice(0,e).concat(t.slice(e+1));a.updateItems(o)}},a.removeItem=function(e){var t=a.state.items.indexOf(e);a.removeItemAt(t)},a.replaceItem=function(e,t){var o=a.state.items,n=o.indexOf(e);if(n>-1){var r=o.slice(0,n).concat(t).concat(o.slice(n+1));a.updateItems(r)}},a.removeItems=function(e){var t=a.state.items,o=e.filter(function(e){return a._canRemoveItem(e)}),n=t.filter(function(e){return-1===o.indexOf(e)}),r=o[0],i=t.indexOf(r);a.props.onItemsDeleted&&a.props.onItemsDeleted(o),a.updateItems(n,i)},a.onCopy=function(e){if(a.props.onCopyItems&&a.selection.getSelectedCount()>0){var t=a.selection.getSelection();a.copyItems(t)}},a.renderItems=function(){var o=a.props.removeButtonAriaLabel,n=a.props.onRenderItem;return a.state.items.map(function(e,t){return n({item:e,index:t,key:e.key?e.key:t,selected:a.selection.isIndexSelected(t),onRemoveItem:function(){return a.removeItem(e)},onItemChange:a.onItemChange,removeButtonAriaLabel:o,onCopyItem:function(e){return a.copyItems([e])}})})},a.onSelectionChanged=function(){a.forceUpdate()},a.onItemChange=function(e,t){var o=a.state.items;if(t>=0){var n=o;n[t]=e,a.updateItems(n)}},ua(a);var t=e.selectedItems||e.defaultSelectedItems||[];return a.state={items:t},a._defaultSelection=new Fy({onSelectionChanged:a.onSelectionChanged}),a}return m(e,o),e.getDerivedStateFromProps=function(e){return e.selectedItems?{items:e.selectedItems}:null},Object.defineProperty(e.prototype,"items",{get:function(){return this.state.items},enumerable:!1,configurable:!0}),e.prototype.removeSelectedItems=function(){this.state.items.length&&this.selection.getSelectedCount()>0&&this.removeItems(this.selection.getSelection())},e.prototype.updateItems=function(e,t){var o=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},function(){o._onSelectedItemsUpdated(e,t)})},e.prototype.hasSelectedItems=function(){return this.selection.getSelectedCount()>0},e.prototype.componentDidUpdate=function(e,t){this.state.items&&this.state.items!==t.items&&this.selection.setItems(this.state.items)},e.prototype.unselectAll=function(){this.selection.setAllSelected(!1)},e.prototype.highlightedItems=function(){return this.selection.getSelection()},e.prototype.componentDidMount=function(){this.selection.setItems(this.state.items)},Object.defineProperty(e.prototype,"selection",{get:function(){var e;return null!==(e=this.props.selection)&&void 0!==e?e:this._defaultSelection},enumerable:!1,configurable:!0}),e.prototype.render=function(){return this.renderItems()},e.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},e.prototype.copyItems=function(e){if(this.props.onCopyItems){var t=this.props.onCopyItems(e),o=Hc(this.context),n=o.createElement("input");o.body.appendChild(n);try{if(n.value=t,n.select(),!o.execCommand("copy"))throw new Error}catch(e){}finally{o.body.removeChild(n)}}},e.prototype._onSelectedItemsUpdated=function(e,t){this.onChange(e)},e.prototype._canRemoveItem=function(e){return!this.props.canRemoveItem||this.props.canRemoveItem(e)},e.contextType=ga,e}(ht.Component);Kt([{rawString:".personaContainer_6625fd9a{border-radius:15px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:"},{theme:"themeLighterAlt",defaultValue:"#eff6fc"},{rawString:';margin:4px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;position:relative}.personaContainer_6625fd9a::-moz-focus-inner{border:0}.personaContainer_6625fd9a{outline:transparent}.personaContainer_6625fd9a{position:relative}.ms-Fabric--isFocusVisible .personaContainer_6625fd9a:focus:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;pointer-events:none;border:1px solid '},{theme:"focusBorder",defaultValue:"#605e5c"},{rawString:";border-radius:0}.personaContainer_6625fd9a .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}.personaContainer_6625fd9a .ms-Persona-primaryText.hover_6625fd9a{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a .actionButton_6625fd9a:hover{background:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.personaContainer_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:HighlightText}}.personaContainer_6625fd9a:hover{background:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.personaContainer_6625fd9a:hover .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a:hover .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a{background:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .ms-Persona-primaryText{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon:hover{background:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a{border-color:Highlight;background:Highlight;-ms-high-contrast-adjust:none}}.personaContainer_6625fd9a.validationError_6625fd9a .ms-Persona-primaryText{color:"},{theme:"red",defaultValue:"#e81123"},{rawString:"}.personaContainer_6625fd9a.validationError_6625fd9a .ms-Persona-initials{font-size:20px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a{border:1px solid WindowText}}.personaContainer_6625fd9a .itemContent_6625fd9a{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;min-width:0;max-width:100%}.personaContainer_6625fd9a .removeButton_6625fd9a{border-radius:15px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33px;height:33px;-ms-flex-preferred-size:32px;flex-basis:32px}.personaContainer_6625fd9a .expandButton_6625fd9a{border-radius:15px 0 0 15px;height:33px;width:44px;padding-right:16px;position:inherit;display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-17px}.personaContainer_6625fd9a .personaWrapper_6625fd9a{position:relative;display:inherit}.personaContainer_6625fd9a .personaWrapper_6625fd9a .ms-Persona-details{padding:0 8px}.personaContainer_6625fd9a .personaDetails_6625fd9a{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.itemContainer_6625fd9a{display:inline-block;vertical-align:top}"}]);var yD="personaContainer_6625fd9a",CD="hover_6625fd9a",_D="actionButton_6625fd9a",SD="personaContainerIsSelected_6625fd9a",xD="validationError_6625fd9a",kD="itemContent_6625fd9a",wD="removeButton_6625fd9a",ID="expandButton_6625fd9a",DD="personaWrapper_6625fd9a",ED="personaDetails_6625fd9a",TD="itemContainer_6625fd9a",PD=l,RD=function(o){function e(e){var t=o.call(this,e)||this;return t.persona=ht.createRef(),ua(t),t.state={contextualMenuVisible:!1},t}return m(e,o),e.prototype.render=function(){var e,t,o=this.props,n=o.item,r=o.onExpandItem,i=o.onRemoveItem,a=o.removeButtonAriaLabel,s=o.index,l=o.selected,c=bs();return ht.createElement("div",{ref:this.persona,className:hi("ms-PickerPersona-container",PD.personaContainer,(e={},e["is-selected "+PD.personaContainerIsSelected]=l,e),(t={},t["is-invalid "+PD.validationError]=!n.isValid,t)),"data-is-focusable":!0,"data-is-sub-focuszone":!0,"data-selection-index":s,role:"listitem","aria-labelledby":"selectedItemPersona-"+c},ht.createElement("div",{hidden:!n.canExpand||void 0===r},ht.createElement(xp,{onClick:this._onClickIconButton(r),iconProps:{iconName:"Add",style:{fontSize:"14px"}},className:hi("ms-PickerItem-removeButton",PD.expandButton,PD.actionButton),ariaLabel:a})),ht.createElement("div",{className:hi(PD.personaWrapper)},ht.createElement("div",{className:hi("ms-PickerItem-content",PD.itemContent),id:"selectedItemPersona-"+c},ht.createElement(GS,pt({},n,{onRenderCoin:this.props.renderPersonaCoin,onRenderPrimaryText:this.props.renderPrimaryText,size:mi.size32}))),ht.createElement(xp,{onClick:this._onClickIconButton(i),iconProps:{iconName:"Cancel",style:{fontSize:"14px"}},className:hi("ms-PickerItem-removeButton",PD.removeButton,PD.actionButton),ariaLabel:a})))},e.prototype._onClickIconButton=function(t){return function(e){e.stopPropagation(),e.preventDefault(),t&&t()}},e}(ht.Component),MD=function(o){function e(e){var t=o.call(this,e)||this;return t.itemElement=ht.createRef(),t._onClick=function(e){e.preventDefault(),t.props.beginEditing&&!t.props.item.isValid?t.props.beginEditing(t.props.item):t.setState({contextualMenuVisible:!0})},t._onCloseContextualMenu=function(e){t.setState({contextualMenuVisible:!1})},ua(t),t.state={contextualMenuVisible:!1},t}return m(e,o),e.prototype.render=function(){return ht.createElement("div",{ref:this.itemElement,onContextMenu:this._onClick},this.props.renderedItem,this.state.contextualMenuVisible?ht.createElement(ip,{items:this.props.menuItems,shouldFocusOnMount:!0,target:this.itemElement.current,onDismiss:this._onCloseContextualMenu,directionalHint:Rl.bottomLeftEdge}):null)},e}(ht.Component),ND={root:"ms-EditingItem",input:"ms-EditingItem-input"},BD=function(e){var t=io();if(!t)throw new Error("theme is undefined or null in Editing item getStyles function.");var o=t.semanticColors,n=Ro(ND,t);return{root:[n.root,{margin:"4px"}],input:[n.input,{border:"0px",outline:"none",width:"100%",backgroundColor:o.inputBackground,color:o.inputText,selectors:{"::-ms-clear":{display:"none"}}}]}},AD=function(t){function e(e){var o=t.call(this,e)||this;return o._editingFloatingPicker=ht.createRef(),o._renderEditingSuggestions=function(){var e=o.props.onRenderFloatingPicker,t=o.props.floatingPickerProps;return e&&t?ht.createElement(e,pt({componentRef:o._editingFloatingPicker,onChange:o._onSuggestionSelected,inputElement:o._editingInput,selectedItems:[]},t)):ht.createElement(ht.Fragment,null)},o._resolveInputRef=function(e){o._editingInput=e,o.forceUpdate(function(){o._editingInput.focus()})},o._onInputClick=function(){o._editingFloatingPicker.current&&o._editingFloatingPicker.current.showPicker(!0)},o._onInputBlur=function(e){if(o._editingFloatingPicker.current&&null!==e.relatedTarget){var t=e.relatedTarget;-1===t.className.indexOf("ms-Suggestions-itemButton")&&-1===t.className.indexOf("ms-Suggestions-sectionButton")&&o._editingFloatingPicker.current.forceResolveSuggestion()}},o._onInputChange=function(e){var t=e.target.value;""===t?o.props.onRemoveItem&&o.props.onRemoveItem():o._editingFloatingPicker.current&&o._editingFloatingPicker.current.onQueryStringChanged(t)},o._onSuggestionSelected=function(e){o.props.onEditingComplete(o.props.item,e)},ua(o),o.state={contextualMenuVisible:!1},o}return m(e,t),e.prototype.componentDidMount=function(){var e=(0,this.props.getEditingItemText)(this.props.item);this._editingFloatingPicker.current&&this._editingFloatingPicker.current.onQueryStringChanged(e),this._editingInput.value=e,this._editingInput.focus()},e.prototype.render=function(){var e=bs(),t=qr(this.props,Mr),o=vr()(BD);return ht.createElement("div",{"aria-labelledby":"editingItemPersona-"+e,className:o.root},ht.createElement("input",pt({autoCapitalize:"off",autoComplete:"off"},t,{ref:this._resolveInputRef,onChange:this._onInputChange,onKeyDown:this._onInputKeyDown,onBlur:this._onInputBlur,onClick:this._onInputClick,"data-lpignore":!0,className:o.input,id:e})),this._renderEditingSuggestions())},e.prototype._onInputKeyDown=function(e){e.which!==sr.backspace&&e.which!==sr.del||e.stopPropagation()},e}(ht.Component),FD=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t}(bD),LD=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.renderItems=function(){return o.state.items.map(function(e,t){return o._renderItem(e,t)})},o._beginEditing=function(e){e.isEditing=!0,o.forceUpdate()},o._completeEditing=function(e,t){e.isEditing=!1,o.replaceItem(e,t)},o}return m(t,e),t.prototype._renderItem=function(e,t){var o=this,n=this.props.removeButtonAriaLabel,r=this.props.onExpandGroup,i={item:e,index:t,key:e.key?e.key:t,selected:this.selection.isIndexSelected(t),onRemoveItem:function(){return o.removeItem(e)},onItemChange:this.onItemChange,removeButtonAriaLabel:n,onCopyItem:function(e){return o.copyItems([e])},onExpandItem:r?function(){return r(e)}:void 0,menuItems:this._createMenuItems(e)},a=i.menuItems.length>0;if(e.isEditing&&a)return ht.createElement(AD,pt({},i,{onRenderFloatingPicker:this.props.onRenderFloatingPicker,floatingPickerProps:this.props.floatingPickerProps,onEditingComplete:this._completeEditing,getEditingItemText:this.props.getEditingItemText}));var s=(0,this.props.onRenderItem)(i);return a?ht.createElement(MD,{key:i.key,renderedItem:s,beginEditing:this._beginEditing,menuItems:this._createMenuItems(i.item),item:i.item}):s},t.prototype._createMenuItems=function(e){var o=this,t=[];return this.props.editMenuItemText&&this.props.getEditingItemText&&t.push({key:"Edit",text:this.props.editMenuItemText,onClick:function(e,t){o._beginEditing(t.data)},data:e}),this.props.removeMenuItemText&&t.push({key:"Remove",text:this.props.removeMenuItemText,onClick:function(e,t){o.removeItem(t.data)},data:e}),this.props.copyMenuItemText&&t.push({key:"Copy",text:this.props.copyMenuItemText,onClick:function(e,t){o.props.onCopyItems&&o.copyItems([t.data])},data:e}),t},t.defaultProps={onRenderItem:function(e){return ht.createElement(RD,pt({},e))}},t}(FD),OD=vr(),HD=ht.forwardRef(function(e,t){var o=e.styles,n=e.theme,r=e.className,i=e.vertical,a=e.alignContent,s=e.children,l=OD(o,{theme:n,className:r,alignContent:a,vertical:i});return ht.createElement("div",{className:l.root,ref:t},ht.createElement("div",{className:l.content,role:"separator","aria-orientation":i?"vertical":"horizontal"},s))}),zD=ir(HD,function(e){var t,o,n=e.theme,r=e.alignContent,i=e.vertical,a=e.className,s="start"===r,l="center"===r,c="end"===r;return{root:[n.fonts.medium,{position:"relative"},r&&{textAlign:r},!r&&{textAlign:"center"},i&&(l||!r)&&{verticalAlign:"middle"},i&&s&&{verticalAlign:"top"},i&&c&&{verticalAlign:"bottom"},i&&{padding:"0 4px",height:"inherit",display:"table-cell",zIndex:1,selectors:{":after":(t={backgroundColor:n.palette.neutralLighter,width:"1px",content:'""',position:"absolute",top:"0",bottom:"0",left:"50%",right:"0",zIndex:-1},t[Mo]={backgroundColor:"WindowText"},t)}},!i&&{padding:"4px 0",selectors:{":before":(o={backgroundColor:n.palette.neutralLighter,height:"1px",content:'""',display:"block",position:"absolute",top:"50%",bottom:"0",left:"0",right:"0"},o[Mo]={backgroundColor:"WindowText"},o)}},a],content:[{position:"relative",display:"inline-block",padding:"0 12px",color:n.semanticColors.bodyText,background:n.semanticColors.bodyBackground},i&&{padding:"12px 0"}]}},void 0,{scope:"Separator"});zD.displayName="Separator";var WD,VD,KD={root:"ms-Shimmer-container",shimmerWrapper:"ms-Shimmer-shimmerWrapper",shimmerGradient:"ms-Shimmer-shimmerGradient",dataWrapper:"ms-Shimmer-dataWrapper"},GD="100%",UD=Do(function(){return ee({"0%":{transform:"translateX(-".concat(GD,")")},"100%":{transform:"translateX(".concat(GD,")")}})}),jD=Do(function(){return ee({"100%":{transform:"translateX(-".concat(GD,")")},"0%":{transform:"translateX(".concat(GD,")")}})});!function(e){e[e.line=1]="line",e[e.circle=2]="circle",e[e.gap=3]="gap"}(WD||(WD={})),function(e){e[e.line=16]="line",e[e.gap=16]="gap",e[e.circle=24]="circle"}(VD||(VD={}));var qD=vr(),YD=function(e){var t=e.height,o=e.styles,n=e.width,r=void 0===n?"100%":n,i=e.borderStyle,a=e.theme,s=qD(o,{theme:a,height:t,borderStyle:i});return ht.createElement("div",{style:{width:r,minWidth:"number"==typeof r?"".concat(r,"px"):"auto"},className:s.root},ht.createElement("svg",{width:"2",height:"2",className:s.topLeftCorner},ht.createElement("path",{d:"M0 2 A 2 2, 0, 0, 1, 2 0 L 0 0 Z"})),ht.createElement("svg",{width:"2",height:"2",className:s.topRightCorner},ht.createElement("path",{d:"M0 0 A 2 2, 0, 0, 1, 2 2 L 2 0 Z"})),ht.createElement("svg",{width:"2",height:"2",className:s.bottomRightCorner},ht.createElement("path",{d:"M2 0 A 2 2, 0, 0, 1, 0 2 L 2 2 Z"})),ht.createElement("svg",{width:"2",height:"2",className:s.bottomLeftCorner},ht.createElement("path",{d:"M2 2 A 2 2, 0, 0, 1, 0 0 L 0 2 Z"})))},ZD={root:"ms-ShimmerLine-root",topLeftCorner:"ms-ShimmerLine-topLeftCorner",topRightCorner:"ms-ShimmerLine-topRightCorner",bottomLeftCorner:"ms-ShimmerLine-bottomLeftCorner",bottomRightCorner:"ms-ShimmerLine-bottomRightCorner"},XD=ir(YD,function(e){var t,o=e.height,n=e.borderStyle,r=e.theme,i=r.semanticColors,a=Ro(ZD,r),s=n||{},l={position:"absolute",fill:i.bodyBackground};return{root:[a.root,r.fonts.medium,{height:"".concat(o,"px"),boxSizing:"content-box",position:"relative",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,borderWidth:0,selectors:(t={},t[Mo]={borderColor:"Window",selectors:{"> *":{fill:"Window"}}},t)},s],topLeftCorner:[a.topLeftCorner,{top:"0",left:"0"},l],topRightCorner:[a.topRightCorner,{top:"0",right:"0"},l],bottomRightCorner:[a.bottomRightCorner,{bottom:"0",right:"0"},l],bottomLeftCorner:[a.bottomLeftCorner,{bottom:"0",left:"0"},l]}},void 0,{scope:"ShimmerLine"}),QD=vr(),JD=function(e){var t=e.height,o=e.styles,n=e.width,r=void 0===n?"10px":n,i=e.borderStyle,a=e.theme,s=QD(o,{theme:a,height:t,borderStyle:i});return ht.createElement("div",{style:{width:r,minWidth:"number"==typeof r?"".concat(r,"px"):"auto"},className:s.root})},$D={root:"ms-ShimmerGap-root"},eE=ir(JD,function(e){var t,o=e.height,n=e.borderStyle,r=e.theme,i=r.semanticColors,a=n||{};return{root:[Ro($D,r).root,r.fonts.medium,{backgroundColor:i.bodyBackground,height:"".concat(o,"px"),boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,selectors:(t={},t[Mo]={backgroundColor:"Window",borderColor:"Window"},t)},a]}},void 0,{scope:"ShimmerGap"}),tE={root:"ms-ShimmerCircle-root",svg:"ms-ShimmerCircle-svg"},oE=vr(),nE=function(e){var t=e.height,o=e.styles,n=e.borderStyle,r=e.theme,i=oE(o,{theme:r,height:t,borderStyle:n});return ht.createElement("div",{className:i.root},ht.createElement("svg",{viewBox:"0 0 10 10",width:t,height:t,className:i.svg},ht.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"})))},rE=ir(nE,function(e){var t,o,n=e.height,r=e.borderStyle,i=e.theme,a=i.semanticColors,s=Ro(tE,i),l=r||{};return{root:[s.root,i.fonts.medium,{width:"".concat(n,"px"),height:"".concat(n,"px"),minWidth:"".concat(n,"px"),boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:a.bodyBackground,selectors:(t={},t[Mo]={borderColor:"Window"},t)},l],svg:[s.svg,{display:"block",fill:a.bodyBackground,selectors:(o={},o[Mo]={fill:"Window"},o)}]}},void 0,{scope:"ShimmerCircle"}),iE=vr(),aE=function(e){var t=e.styles,o=e.width,n=void 0===o?"auto":o,r=e.shimmerElements,i=e.rowHeight,a=void 0===i?function(e){return e.map(function(e){switch(e.type){case WD.circle:e.height||(e.height=VD.circle);break;case WD.line:e.height||(e.height=VD.line);break;case WD.gap:e.height||(e.height=VD.gap)}return e}).reduce(function(e,t){return t.height&&t.height>e?t.height:e},0)}(r||[]):i,s=e.flexWrap,l=void 0!==s&&s,c=e.theme,u=e.backgroundColor,d=iE(t,{theme:c,flexWrap:l});return ht.createElement("div",{style:{width:n},className:d.root},function(e,s,l){var t=e?e.map(function(e,t){var o=e.type,n=Fe(e,["type"]),r=n.verticalAlign,i=n.height,a=sE(r,o,i,s,l);switch(e.type){case WD.circle:return ht.createElement(rE,pt({key:t},n,{styles:a}));case WD.gap:return ht.createElement(eE,pt({key:t},n,{styles:a}));case WD.line:return ht.createElement(XD,pt({key:t},n,{styles:a}))}}):ht.createElement(XD,{height:VD.line});return t}(r,u,a))},sE=Do(function(e,t,o,n,r){var i,a=r&&o?r-o:0;if(e&&"center"!==e?e&&"top"===e?i={borderBottomWidth:"".concat(a,"px"),borderTopWidth:"0px"}:e&&"bottom"===e&&(i={borderBottomWidth:"0px",borderTopWidth:"".concat(a,"px")}):i={borderBottomWidth:"".concat(a?Math.floor(a/2):0,"px"),borderTopWidth:"".concat(a?Math.ceil(a/2):0,"px")},n)switch(t){case WD.circle:return{root:pt(pt({},i),{borderColor:n}),svg:{fill:n}};case WD.gap:return{root:pt(pt({},i),{borderColor:n,backgroundColor:n})};case WD.line:return{root:pt(pt({},i),{borderColor:n}),topLeftCorner:{fill:n},topRightCorner:{fill:n},bottomLeftCorner:{fill:n},bottomRightCorner:{fill:n}}}return{root:i}}),lE={root:"ms-ShimmerElementsGroup-root"},cE=ir(aE,function(e){var t=e.flexWrap,o=e.theme;return{root:[Ro(lE,o).root,o.fonts.medium,{display:"flex",alignItems:"center",flexWrap:t?"wrap":"nowrap",position:"relative"}]}},void 0,{scope:"ShimmerElementsGroup"}),uE=vr(),dE=ht.forwardRef(function(e,t){var o=e.styles,n=e.shimmerElements,r=e.children,i=e.width,a=e.className,s=e.customElementsGroup,l=e.theme,c=e.ariaLabel,u=e.shimmerColors,d=e.isDataLoaded,p=void 0!==d&&d,h=e.improveCSSPerformance,m=qr(e,jr),f=uE(o,{theme:l,isDataLoaded:p,className:a,transitionAnimationInterval:200,shimmerColor:u&&u.shimmer,shimmerWaveColor:u&&u.shimmerWave,improveCSSPerformance:h||!s}),g=Zi({lastTimeoutId:0}),v=Zf(),b=v.setTimeout,y=v.clearTimeout,C=ht.useState(p),_=C[0],S=C[1],x={width:i||"100%"};return ht.useEffect(function(){if(p!==_){if(p)return g.lastTimeoutId=b(function(){S(!0)},200),function(){return y(g.lastTimeoutId)};S(!1)}},[p]),ht.createElement("div",pt({},m,{className:f.root,ref:t}),!_&&ht.createElement("div",{style:x,className:f.shimmerWrapper},ht.createElement("div",{className:f.shimmerGradient}),s||ht.createElement(cE,{shimmerElements:n,backgroundColor:u&&u.background})),r&&ht.createElement("div",{className:f.dataWrapper},r),c&&!p&&ht.createElement("div",{role:"status","aria-live":"polite"},ht.createElement(ka,null,ht.createElement("div",{className:f.screenReaderText},c))))});dE.displayName="Shimmer";var pE=ir(dE,function(e){var t,o=e.isDataLoaded,n=e.className,r=e.theme,i=e.transitionAnimationInterval,a=e.shimmerColor,s=e.shimmerWaveColor,l=e.improveCSSPerformance,c=r.semanticColors,u=Ro(KD,r),d=cr(r);return{root:[u.root,r.fonts.medium,{position:"relative",height:"auto"},n],shimmerWrapper:[u.shimmerWrapper,{position:"relative",overflow:"hidden",transform:"translateZ(0)",backgroundColor:a||c.disabledBackground,transition:"opacity ".concat(i,"ms"),selectors:(t={},t[Mo]=pt({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"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},o&&{opacity:"0",position:"absolute",top:"0",bottom:"0",left:"0",right:"0"},l?{selectors:{"> div:last-child":{transform:"translateZ(0)"}}}:{selectors:{"> *":{transform:"translateZ(0)"}}}],shimmerGradient:[u.shimmerGradient,{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"".concat(a||c.disabledBackground,"\n linear-gradient(\n to right,\n ").concat(a||c.disabledBackground," 0%,\n ").concat(s||c.bodyDivider," 50%,\n ").concat(a||c.disabledBackground," 100%)\n 0 0 / 90% 100%\n no-repeat"),transform:"translateX(-".concat(GD,")"),animationDuration:"2s",animationTimingFunction:"ease-in-out",animationDirection:"normal",animationIterationCount:"infinite",animationName:d?jD():UD()}],dataWrapper:[u.dataWrapper,{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",opacity:"0",background:"none",backgroundColor:"transparent",border:"none",transition:"opacity ".concat(i,"ms")},o&&{opacity:"1",position:"static"}],screenReaderText:ho}},void 0,{scope:"Shimmer"}),hE=vr(),mE=function(t){function e(e){var r=t.call(this,e)||this;return r._onRenderShimmerPlaceholder=function(e,t){var o=r.props.onRenderCustomPlaceholder,n=o?o(t,e,r._renderDefaultShimmerPlaceholder):r._renderDefaultShimmerPlaceholder(t);return ht.createElement(pE,{customElementsGroup:n})},r._renderDefaultShimmerPlaceholder=function(e){var t=e.columns,o=e.compact,n=e.selectionMode,r=e.checkboxVisibility,i=e.cellStyleProps,a=void 0===i?zb:i,s=Wb.rowHeight,l=Wb.compactRowHeight,c=o?l:s+1,u=[];return n!==ay.none&&r!==Ab.hidden&&u.push(ht.createElement(cE,{key:"checkboxGap",shimmerElements:[{type:WD.gap,width:"40px",height:c}]})),t.forEach(function(e,t){var o=[],n=a.cellLeftPadding+a.cellRightPadding+e.calculatedWidth+(e.isPadded?a.cellExtraRightPadding:0);o.push({type:WD.gap,width:a.cellLeftPadding,height:c}),e.isIconOnly?(o.push({type:WD.line,width:e.calculatedWidth,height:e.calculatedWidth}),o.push({type:WD.gap,width:a.cellRightPadding,height:c})):(o.push({type:WD.line,width:.95*e.calculatedWidth,height:7}),o.push({type:WD.gap,width:a.cellRightPadding+(e.calculatedWidth-.95*e.calculatedWidth)+(e.isPadded?a.cellExtraRightPadding:0),height:c})),u.push(ht.createElement(cE,{key:t,width:"".concat(n,"px"),shimmerElements:o}))}),u.push(ht.createElement(cE,{key:"endGap",width:"100%",shimmerElements:[{type:WD.gap,width:"100%",height:c}]})),ht.createElement("div",{style:{display:"flex"}},u)},r._shimmerItems=e.shimmerLines?new Array(e.shimmerLines):new Array(10),r}return m(e,t),e.prototype.render=function(){var e=this.props,t=e.detailsListStyles,o=e.enableShimmer,n=e.items,r=e.listProps,i=(e.onRenderCustomPlaceholder,e.removeFadingOverlay),a=(e.shimmerLines,e.styles),s=e.theme,l=e.ariaLabelForGrid,c=e.ariaLabelForShimmer,u=Fe(e,["detailsListStyles","enableShimmer","items","listProps","onRenderCustomPlaceholder","removeFadingOverlay","shimmerLines","styles","theme","ariaLabelForGrid","ariaLabelForShimmer"]),d=r&&r.className;this._classNames=hE(a,{theme:s});var p=pt(pt({},r),{className:o&&!i?hi(this._classNames.root,d):d});return ht.createElement(DC,pt({},u,{styles:t,items:o?this._shimmerItems:n,isPlaceholderData:o,ariaLabelForGrid:o&&c||l,onRenderMissingItem:this._onRenderShimmerPlaceholder,listProps:p}))},e}(ht.Component),fE=function(e){var t=e.theme.palette;return{root:{position:"relative",selectors:{":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,backgroundImage:"linear-gradient(to bottom, transparent 30%, ".concat(t.whiteTranslucent40," 65%,").concat(t.white," 100%)")}}}}},gE=ir(mE,fE,void 0,{scope:"ShimmeredDetailsList"}),vE=vr(),bE=function(o){return function(e){var t;return(t={})[o]="".concat(e,"%"),t}},yE=function(e,t,o){return o===t?0:(e-t)/(o-t)*100},CE="SliderBase",_E=ht.forwardRef(function(e,t){var o=function(a,e){var t=a.step,i=void 0===t?1:t,o=a.className,n=a.disabled,r=void 0!==n&&n,s=a.label,l=a.max,c=void 0===l?10:l,u=a.min,d=void 0===u?0:u,p=a.showValue,h=void 0===p||p,m=a.buttonProps,f=void 0===m?{}:m,g=a.vertical,v=void 0!==g&&g,b=a.snapToStep,y=a.valueFormat,C=a.styles,_=a.theme,S=a.originFromZero,x=a["aria-labelledby"],k=a.ariaLabel,w=void 0===k?a["aria-label"]:k,I=a.ranged,D=a.onChange,E=a.onChanged,T=ht.useRef([]),P=Zf(),R=P.setTimeout,M=P.clearTimeout,N=ht.useRef(null),B=Oc(),A=Km(a.value,a.defaultValue,function(e,t){return null==D?void 0:D(t,I?[K.latestLowerValue,t]:void 0,e)}),F=A[0],L=A[1],O=Km(a.lowerValue,a.defaultLowerValue,function(e,t){return null==D?void 0:D(K.latestValue,[t,K.latestValue],e)}),H=O[0],z=O[1],W=Math.max(d,Math.min(c,F||0)),V=Math.max(d,Math.min(W,H||0)),K=Zi({onKeyDownTimer:-1,isAdjustingLowerValue:!1,latestValue:W,latestLowerValue:V});K.latestValue=W,K.latestLowerValue=V;var G=Sd("Slider",a.id||(null==f?void 0:f.id)),U=vE(C,{className:o,disabled:r,vertical:v,showTransitions:!b&&!K.isBetweenSteps,showValue:h,ranged:I,theme:_}),j=(c-d)/i,q=function(){M(K.onKeyDownTimer),K.onKeyDownTimer=-1},Y=function(e){q(),E&&(K.onKeyDownTimer=R(function(){E(e,K.latestValue,I?[K.latestLowerValue,K.latestValue]:void 0)},1e3))},Z=function(e){var t=a.ariaValueText;if(void 0!==e)return t?t(e):e.toString()},X=function(e,t,o){t=Math.min(c,Math.max(d,t)),o=void 0!==o?Math.min(c,Math.max(d,o)):void 0;var n=0;if(isFinite(i))for(;Math.round(i*Math.pow(10,n))/Math.pow(10,n)!==i;)n++;var r=parseFloat(t.toFixed(n));K.isBetweenSteps=void 0!==o&&o!==r,I?K.isAdjustingLowerValue&&(S?r<=0:r<=K.latestValue)?z(r,e):!K.isAdjustingLowerValue&&(S?r>=0:r>=K.latestLowerValue)&&L(r,e):L(r,e)},Q=function(e,t){var o=0;switch(e.type){case"mousedown":case"mousemove":o=t?e.clientY:e.clientX;break;case"touchstart":case"touchmove":o=t?e.touches[0].clientY:e.touches[0].clientX}return o},J=function(e){var t,o=N.current.getBoundingClientRect(),n=(a.vertical?o.height:o.width)/j;if(a.vertical){var r=Q(e,a.vertical);t=(o.bottom-r)/n}else{var i=Q(e,a.vertical);t=(cr(a.theme)?o.right-i:i-o.left)/n}return t},$=function(e,t){var o=J(e),n=d+i*o,r=d+i*Math.round(o);X(e,r,n),t||(e.preventDefault(),e.stopPropagation())},ee=function(e){if(I){var t=J(e),o=d+i*t;K.isAdjustingLowerValue=o<=K.latestLowerValue||o-K.latestLowerValue<=K.latestValue-o}"mousedown"===e.type?T.current.push(Gl(B,"mousemove",$,!0),Gl(B,"mouseup",te,!0)):"touchstart"===e.type&&T.current.push(Gl(B,"touchmove",$,!0),Gl(B,"touchend",te,!0)),$(e,!0)},te=function(e){K.isBetweenSteps=void 0,null==E||E(e,K.latestValue,I?[K.latestLowerValue,K.latestValue]:void 0),oe()},oe=ht.useCallback(function(){T.current.forEach(function(e){return e()}),T.current=[]},[]);ht.useEffect(function(){return oe},[oe]);var ne=ht.useRef(null),re=ht.useRef(null),ie=ht.useRef(null);!function(e,t,o,n){ht.useImperativeHandle(e.componentRef,function(){return{get value(){return o},get range(){return n},focus:function(){var e;null===(e=t.current)||void 0===e||e.focus()}}},[n,t,o])}(a,ie,W,I?[V,W]:void 0);var ae=bE(v?"bottom":cr(a.theme)?"right":"left"),se=bE(v?"height":"width"),le=S?0:d,ce=yE(W,d,c),ue=yE(V,d,c),de=yE(le,d,c),pe=I?ce-ue:Math.abs(de-ce),he=Math.min(100-ce,100-de),me=I?ue:Math.min(ce,de),fe={className:U.root,ref:e},ge={className:U.titleLabel,children:s,disabled:r,htmlFor:w?void 0:G},ve=h?{className:U.valueLabel,children:y?y(W):W,disabled:r,htmlFor:r?G:void 0}:void 0,be=I&&h?{className:U.valueLabel,children:y?y(V):V,disabled:r}:void 0,ye=S?{className:U.zeroTick,style:ae(de)}:void 0,Ce={className:hi(U.lineContainer,U.activeSection),style:se(pe)},_e={className:hi(U.lineContainer,U.inactiveSection),style:se(he)},Se={className:hi(U.lineContainer,U.inactiveSection),style:se(me)},xe=pt({"aria-disabled":r,role:"slider",tabIndex:r?void 0:0},{"data-is-focusable":!r}),ke=pt(pt(pt({id:G,className:hi(U.slideBox,f.className),ref:ie},!r&&{onMouseDown:ee,onTouchStart:ee,onKeyDown:function(e){var t=K.isAdjustingLowerValue?K.latestLowerValue:K.latestValue,o=0;switch(e.which){case dr(sr.left,a.theme):case sr.down:o=-i,q(),Y(e);break;case dr(sr.right,a.theme):case sr.up:o=i,q(),Y(e);break;case sr.home:t=d,q(),Y(e);break;case sr.end:t=c,q(),Y(e);break;default:return}X(e,t+o),e.preventDefault(),e.stopPropagation()}}),f&&qr(f,jr,["id","className"])),!I&&pt(pt({},xe),{"aria-valuemin":d,"aria-valuemax":c,"aria-valuenow":W,"aria-valuetext":Z(W),"aria-label":w||s,"aria-labelledby":x})),we=r?{}:{onFocus:function(e){K.isAdjustingLowerValue=e.target===ne.current}},Ie=pt({ref:re,className:U.thumb,style:ae(ce)},I&&pt(pt(pt({},xe),we),{id:"max-".concat(G),"aria-valuemin":V,"aria-valuemax":c,"aria-valuenow":W,"aria-valuetext":Z(W),"aria-label":"max ".concat(w||s)})),De=I?pt(pt(pt({ref:ne,className:U.thumb,style:ae(ue)},xe),we),{id:"min-".concat(G),"aria-valuemin":d,"aria-valuemax":W,"aria-valuenow":V,"aria-valuetext":Z(V),"aria-label":"min ".concat(w||s)}):void 0;return{root:fe,label:ge,sliderBox:ke,container:{className:U.container},valueLabel:ve,lowerValueLabel:be,thumb:Ie,lowerValueThumb:De,zeroTick:ye,activeTrack:Ce,topInactiveTrack:_e,bottomInactiveTrack:Se,sliderLine:{ref:N,className:U.line}}}(e,t);return Qi({name:CE,props:e,mutuallyExclusive:{value:"defaultValue"}}),ht.createElement("div",pt({},o.root),o&&ht.createElement(vf,pt({},o.label)),ht.createElement("div",pt({},o.container),e.ranged&&(e.vertical?o.valueLabel&&ht.createElement(vf,pt({},o.valueLabel)):o.lowerValueLabel&&ht.createElement(vf,pt({},o.lowerValueLabel))),ht.createElement("div",pt({},o.sliderBox),ht.createElement("div",pt({},o.sliderLine),e.ranged&&ht.createElement("span",pt({},o.lowerValueThumb)),ht.createElement("span",pt({},o.thumb)),o.zeroTick&&ht.createElement("span",pt({},o.zeroTick)),ht.createElement("span",pt({},o.bottomInactiveTrack)),ht.createElement("span",pt({},o.activeTrack)),ht.createElement("span",pt({},o.topInactiveTrack)))),e.ranged&&e.vertical?o.lowerValueLabel&&ht.createElement(vf,pt({},o.lowerValueLabel)):o.valueLabel&&ht.createElement(vf,pt({},o.valueLabel))),ht.createElement(sl,null))});_E.displayName=CE;var SE,xE={root:"ms-Slider",enabled:"ms-Slider-enabled",disabled:"ms-Slider-disabled",row:"ms-Slider-row",column:"ms-Slider-column",container:"ms-Slider-container",slideBox:"ms-Slider-slideBox",line:"ms-Slider-line",thumb:"ms-Slider-thumb",activeSection:"ms-Slider-active",inactiveSection:"ms-Slider-inactive",valueLabel:"ms-Slider-value",showValue:"ms-Slider-showValue",showTransitions:"ms-Slider-showTransitions",zeroTick:"ms-Slider-zeroTick"},kE=ir(_E,function(e){var t,o,n,r,i,a,s,l,c,u,d,p,h,m=e.className,f=e.titleLabelClassName,g=e.theme,v=e.vertical,b=e.disabled,y=e.showTransitions,C=e.showValue,_=e.ranged,S=g.semanticColors,x=g.palette,k=Ro(xE,g),w=S.inputBackgroundCheckedHovered,I=S.inputBackgroundChecked,D=x.neutralSecondaryAlt,E=x.neutralPrimary,T=x.neutralSecondaryAlt,P=S.disabledText,R=S.disabledBackground,M=S.inputBackground,N=S.smallInputBorder,B=S.disabledBorder,A=!b&&{backgroundColor:w,selectors:(t={},t[Mo]={backgroundColor:"Highlight"},t)},F=!b&&{backgroundColor:D,selectors:(o={},o[Mo]={borderColor:"Highlight"},o)},L=!b&&{backgroundColor:I,selectors:(n={},n[Mo]={backgroundColor:"Highlight"},n)},O=!b&&{border:"2px solid ".concat(w),selectors:(r={},r[Mo]={borderColor:"Highlight"},r)},H=!e.disabled&&{backgroundColor:S.inputPlaceholderBackgroundChecked,selectors:(i={},i[Mo]={backgroundColor:"Highlight"},i)};return{root:z(z(z(z(z([k.root,g.fonts.medium,{userSelect:"none"},v&&{marginRight:8}],[b?void 0:k.enabled],!1),[b?k.disabled:void 0],!1),[v?void 0:k.row],!1),[v?k.column:void 0],!1),[m],!1),titleLabel:[{padding:0},f],container:[k.container,{display:"flex",flexWrap:"nowrap",alignItems:"center"},v&&{flexDirection:"column",height:"100%",textAlign:"center",margin:"8px 0"}],slideBox:z(z([k.slideBox,!_&&on(g),{background:"transparent",border:"none",flexGrow:1,lineHeight:28,display:"flex",alignItems:"center",selectors:(a={},a[":active .".concat(k.activeSection)]=A,a[":hover .".concat(k.activeSection)]=L,a[":active .".concat(k.inactiveSection)]=F,a[":hover .".concat(k.inactiveSection)]=F,a[":active .".concat(k.thumb)]=O,a[":hover .".concat(k.thumb)]=O,a[":active .".concat(k.zeroTick)]=H,a[":hover .".concat(k.zeroTick)]=H,a[Mo]={forcedColorAdjust:"none"},a)},v?{height:"100%",width:28,padding:"8px 0"}:{height:28,width:"auto",padding:"0 8px"}],[C?k.showValue:void 0],!1),[y?k.showTransitions:void 0],!1),thumb:[k.thumb,_&&on(g,{inset:-4}),{borderWidth:2,borderStyle:"solid",borderColor:N,borderRadius:10,boxSizing:"border-box",background:M,display:"block",width:16,height:16,position:"absolute"},v?{left:-6,margin:"0 auto",transform:"translateY(8px)"}:{top:-6,transform:cr(g)?"translateX(50%)":"translateX(-50%)"},y&&{transition:"left ".concat(We.durationValue3," ").concat(We.easeFunction1)},b&&{borderColor:B,selectors:(s={},s[Mo]={borderColor:"GrayText"},s)}],line:[k.line,{display:"flex",position:"relative"},v?{height:"100%",width:4,margin:"0 auto",flexDirection:"column-reverse"}:{width:"100%"}],lineContainer:[{borderRadius:4,boxSizing:"border-box"},v?{width:4,height:"100%"}:{height:4,width:"100%"}],activeSection:[k.activeSection,{background:E,selectors:(l={},l[Mo]={backgroundColor:"WindowText"},l)},y&&{transition:"width ".concat(We.durationValue3," ").concat(We.easeFunction1)},b&&{background:P,selectors:(c={},c[Mo]={backgroundColor:"GrayText",borderColor:"GrayText"},c)}],inactiveSection:[k.inactiveSection,{background:T,selectors:(u={},u[Mo]={border:"1px solid WindowText"},u)},y&&{transition:"width ".concat(We.durationValue3," ").concat(We.easeFunction1)},b&&{background:R,selectors:(d={},d[Mo]={borderColor:"GrayText"},d)}],zeroTick:[k.zeroTick,{position:"absolute",background:S.disabledBorder,selectors:(p={},p[Mo]={backgroundColor:"WindowText"},p)},e.disabled&&{background:S.disabledBackground,selectors:(h={},h[Mo]={backgroundColor:"GrayText"},h)},e.vertical?{width:"16px",height:"1px",transform:cr(g)?"translateX(6px)":"translateX(-6px)"}:{width:"1px",height:"16px",transform:"translateY(-6px)"}],valueLabel:[k.valueLabel,{flexShrink:1,width:30,lineHeight:"1"},v?{margin:"0 auto",whiteSpace:"nowrap",width:40}:{margin:"0 8px",whiteSpace:"nowrap",width:40}]}},void 0,{scope:"Slider"});!function(e){e[e.down=-1]="down",e[e.notSpinning=0]="notSpinning",e[e.up=1]="up"}(SE||(SE={}));var wE=Do(function(e){var t,o=e.semanticColors,n=o.disabledText,r=o.disabledBackground;return{backgroundColor:r,pointerEvents:"none",cursor:"default",color:n,selectors:(t={":after":{borderColor:r}},t[Mo]={color:"GrayText"},t)}}),IE=Do(function(e,t,o){var n,r,i,a=e.palette,s=e.semanticColors,l=e.effects,c=a.neutralSecondary,u=s.buttonText,d=s.buttonText,p=s.buttonBackgroundHovered,h=s.buttonBackgroundPressed;return Bn({root:{outline:"none",display:"block",height:"50%",width:23,padding:0,backgroundColor:"transparent",textAlign:"center",cursor:"default",color:c,selectors:{"&.ms-DownButton":{borderRadius:"0 0 ".concat(l.roundedCorner2," 0")},"&.ms-UpButton":{borderRadius:"0 ".concat(l.roundedCorner2," 0 0")}}},rootHovered:{backgroundColor:p,color:u},rootChecked:{backgroundColor:h,color:d,selectors:(n={},n[Mo]={backgroundColor:"Highlight",color:"HighlightText"},n)},rootPressed:{backgroundColor:h,color:d,selectors:(r={},r[Mo]={backgroundColor:"Highlight",color:"HighlightText"},r)},rootDisabled:{opacity:.5,selectors:(i={},i[Mo]={color:"GrayText",opacity:1},i)},icon:{fontSize:8,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}},{},o)}),DE=vr(),EE="SpinButton",TE={disabled:!1,label:"",step:1,labelPosition:Fl.start,incrementButtonIcon:{iconName:"ChevronUpSmall"},decrementButtonIcon:{iconName:"ChevronDownSmall"}},PE=function(){},RE=function(e,t){var o=t.min,n=t.max;return"number"==typeof n&&(e=Math.min(e,n)),"number"==typeof o&&(e=Math.max(e,o)),e},ME=ht.forwardRef(function(e,t){var o=Cr(TE,e),n=o.disabled,r=o.label,i=o.min,a=o.max,s=o.step,l=o.defaultValue,c=o.value,u=o.precision,d=o.labelPosition,p=o.iconProps,h=o.incrementButtonIcon,m=o.incrementButtonAriaLabel,f=o.decrementButtonIcon,g=o.decrementButtonAriaLabel,v=o.ariaLabel,b=o.ariaDescribedBy,y=o.upArrowButtonStyles,C=o.downArrowButtonStyles,_=o.theme,S=o.ariaPositionInSet,x=o.ariaSetSize,k=o.ariaValueNow,w=o.ariaValueText,I=o.className,D=o.inputProps,E=o.onDecrement,T=o.onIncrement,P=o.iconButtonProps,R=o.onValidate,M=o.onChange,N=o.styles,B=ht.useRef(null),A=Sd("input"),F=Sd("Label"),L=ht.useState(!1),O=L[0],H=L[1],z=ht.useState(SE.notSpinning),W=z[0],V=z[1],K=Rc(),G=ht.useMemo(function(){return null!=u?u:Math.max(ew(s),0)},[u,s]),U=Km(c,null!=l?l:String(i||0),M),j=U[0],q=U[1],Y=ht.useState(),Z=Y[0],X=Y[1],Q=ht.useRef({stepTimeoutHandle:-1,latestValue:void 0,latestIntermediateValue:void 0}).current;Q.latestValue=j,Q.latestIntermediateValue=Z;var J=Yi(c);ht.useEffect(function(){c!==J&&void 0!==Z&&X(void 0)},[c,J,Z]);var $=DE(N,{theme:_,disabled:n,isFocused:O,keyboardSpinDirection:W,labelPosition:d,className:I}),ee=qr(o,jr,["onBlur","onFocus","className","onChange"]),te=ht.useCallback(function(e){var t=Q.latestIntermediateValue;if(void 0!==t&&t!==Q.latestValue){var o=void 0;R?o=R(t,e):t&&t.trim().length&&!isNaN(Number(t))&&(o=String(RE(Number(t),{min:i,max:a}))),void 0!==o&&o!==Q.latestValue&&q(o,e)}X(void 0)},[Q,a,i,R,q]),oe=ht.useCallback(function(){Q.stepTimeoutHandle>=0&&(K.clearTimeout(Q.stepTimeoutHandle),Q.stepTimeoutHandle=-1),(Q.spinningByMouse||W!==SE.notSpinning)&&(Q.spinningByMouse=!1,V(SE.notSpinning))},[Q,W,K]),ne=ht.useCallback(function(e,t){if(t.persist(),void 0!==Q.latestIntermediateValue)return"keydown"!==t.type&&"mousedown"!==t.type||te(t),void K.requestAnimationFrame(function(){ne(e,t)});var o=e(Q.latestValue||"",t);void 0!==o&&o!==Q.latestValue&&q(o,t);var n=Q.spinningByMouse;Q.spinningByMouse="mousedown"===t.type,Q.spinningByMouse&&(Q.stepTimeoutHandle=K.setTimeout(function(){ne(e,t)},n?75:400))},[Q,K,te,q]),re=ht.useCallback(function(e){if(T)return T(e);var t=RE(Number(e)+Number(s),{max:a});return t=tw(t,G),String(t)},[G,a,T,s]),ie=ht.useCallback(function(e){if(E)return E(e);var t=RE(Number(e)-Number(s),{min:i});return t=tw(t,G),String(t)},[G,i,E,s]),ae=ht.useCallback(function(e){(n||e.which===sr.up||e.which===sr.down)&&oe()},[n,oe]),se=ht.useCallback(function(e){ne(re,e)},[re,ne]),le=ht.useCallback(function(e){ne(ie,e)},[ie,ne]);!function(e,t,o){ht.useImperativeHandle(e.componentRef,function(){return{get value(){return o},focus:function(){t.current&&t.current.focus()}}},[t,o])}(o,B,j),NE(o);var ce=!!j&&!isNaN(Number(j)),ue=(p||r)&&ht.createElement("div",{className:$.labelWrapper},p&&ht.createElement(wi,pt({},p,{className:$.icon,"aria-hidden":"true"})),r&&ht.createElement(vf,{id:F,htmlFor:A,className:$.label,disabled:n},r));return ht.createElement("div",{className:$.root,ref:t},d!==Fl.bottom&&ue,ht.createElement("div",pt({},ee,{className:$.spinButtonWrapper,"aria-label":v&&v,"aria-posinset":S,"aria-setsize":x,"data-ktp-target":!0}),ht.createElement("input",pt({value:null!=Z?Z:j,id:A,onChange:PE,onInput:function(e){X(e.target.value)},className:$.input,type:"text",autoComplete:"off",role:"spinbutton","aria-labelledby":r&&F,"aria-valuetext":null!=w?w:ce?void 0:j,"aria-valuenow":k,"aria-valuemin":i,"aria-valuemax":a,"aria-describedby":b,onBlur:function(e){var t;te(e),H(!1),null===(t=o.onBlur)||void 0===t||t.call(o,e)},ref:B,onFocus:function(e){var t;B.current&&((Q.spinningByMouse||W!==SE.notSpinning)&&oe(),B.current.select(),H(!0),null===(t=o.onFocus)||void 0===t||t.call(o,e))},onKeyDown:function(e){if(e.which!==sr.up&&e.which!==sr.down&&e.which!==sr.enter||(e.preventDefault(),e.stopPropagation()),n)oe();else{var t=SE.notSpinning;switch(e.which){case sr.up:t=SE.up,ne(re,e);break;case sr.down:t=SE.down,ne(ie,e);break;case sr.enter:te(e);break;case sr.escape:X(void 0)}W!==t&&V(t)}},onKeyUp:ae,disabled:n,"aria-disabled":n,"data-lpignore":!0,"data-ktp-execute-target":!0},D)),ht.createElement("span",{className:$.arrowButtonsContainer},ht.createElement(xp,pt({styles:IE(_,!0,y),className:"ms-UpButton",checked:W===SE.up,disabled:n,iconProps:h,onMouseDown:se,onMouseLeave:oe,onMouseUp:oe,tabIndex:-1,ariaLabel:m,"data-is-focusable":!1},P)),ht.createElement(xp,pt({styles:IE(_,!1,C),className:"ms-DownButton",checked:W===SE.down,disabled:n,iconProps:f,onMouseDown:le,onMouseLeave:oe,onMouseUp:oe,tabIndex:-1,ariaLabel:g,"data-is-focusable":!1},P)))),d===Fl.bottom&&ue)});ME.displayName=EE;var NE=function(e){Qi({name:EE,props:e,mutuallyExclusive:{value:"defaultValue"}})},BE=ir(ME,function(e){var t,o,n,r,i=e.theme,a=e.className,s=e.labelPosition,l=e.disabled,c=e.isFocused,u=i.palette,d=i.semanticColors,p=i.effects,h=i.fonts,m=d.inputBorder,f=d.inputBackground,g=d.inputBorderHovered,v=d.inputFocusBorderAlt,b=d.inputText,y=u.white,C=d.inputBackgroundChecked,_=d.disabledText;return{root:[h.medium,{outline:"none",width:"100%",minWidth:86},a],labelWrapper:[{display:"inline-flex",alignItems:"center"},s===Fl.start&&{height:32,float:"left",marginRight:10},s===Fl.end&&{height:32,float:"right",marginLeft:10},s===Fl.top&&{marginBottom:-1}],icon:[{padding:"0 5px",fontSize:Je.large},l&&{color:_}],label:{pointerEvents:"none",lineHeight:Je.large},spinButtonWrapper:[pt(pt({display:"flex",position:"relative",boxSizing:"border-box",height:32,minWidth:86},an(m,p.roundedCorner2,"border",0)),{":after":(t={borderWidth:"1px"},t[Mo]={borderColor:"GrayText"},t)}),(s===Fl.top||s===Fl.bottom)&&{width:"100%"},!l&&[{":hover:after":(o={borderColor:g},o[Mo]={borderColor:"Highlight"},o)},c&&{":hover:after, :after":(n={borderColor:v,borderWidth:"2px"},n[Mo]={borderColor:"Highlight"},n)}],l&&wE(i)],input:["ms-spinButton-input",{boxSizing:"border-box",boxShadow:"none",borderStyle:"none",flex:1,margin:0,fontSize:h.medium.fontSize,fontFamily:"inherit",color:b,backgroundColor:f,height:"100%",padding:"0 8px 0 9px",outline:0,display:"block",minWidth:61,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",cursor:"text",userSelect:"text",borderRadius:"".concat(p.roundedCorner2," 0 0 ").concat(p.roundedCorner2)},!l&&{selectors:{"::selection":{backgroundColor:C,color:y,selectors:(r={},r[Mo]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},r)}}},l&&wE(i)],arrowButtonsContainer:[{display:"block",height:"100%",cursor:"default"},l&&wE(i)]}},void 0,{scope:"SpinButton"}),AE=pt;function FE(e,t){for(var o=[],n=2;n0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return function(e,t,o,n,r,i){return void 0!==e.create?e.create(t,o,n,r):OE(e)(t,o,n,r,i)}(r[n],e,i[n],i.slots&&i.slots[n],i._defaultStyles&&i._defaultStyles[n],i.theme)};e.isSlot=!0,t[n]=e}};for(var n in r)o(n);return t}function zE(u,d){void 0===d&&(d={});var e=d.factoryOptions,t=(void 0===e?{}:e).defaultProp,o=function(e){var t,o,n,r=(t=d.displayName,o=ht.useContext(or),n=d.fields,At.getSettings(n||["theme","styles","tokens"],t,o.customizations)),i=d.state;i&&(e=pt(pt({},e),i(e)));var a=e.theme||r.theme,s=WE(e,a,d.tokens,r.tokens,e.tokens),l=function(t,o,n){for(var e=[],r=3;r2)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(2===o.length)return{rowGap:UE(GE(o[0],t)),columnGap:UE(GE(o[1],t))};var n=UE(GE(e,t));return{rowGap:n,columnGap:n}}(D,t),M=R.rowGap,N=R.columnGap,B="".concat(-.5*N.value).concat(N.unit),A="".concat(-.5*M.value).concat(M.unit),F={textOverflow:"ellipsis"},L="> "+(b?"."+YE.child:"*"),O=((n={})["".concat(L,":not(.").concat(VE.root,")")]={flexShrink:0},n);return w?{root:[I.root,{flexWrap:"wrap",maxWidth:T,maxHeight:E,width:"auto",overflow:"visible",height:"100%"},_&&(r={},r[C?"justifyContent":"alignItems"]=qE[_]||_,r),x&&(i={},i[C?"alignItems":"justifyContent"]=qE[x]||x,i),g,{display:"flex"},C&&{height:k?"100%":"auto"}],inner:[I.inner,(a={display:"flex",flexWrap:"wrap",marginLeft:B,marginRight:B,marginTop:A,marginBottom:A,overflow:"visible",boxSizing:"border-box",padding:jE(P,t),width:0===N.value?"100%":"calc(100% + ".concat(N.value).concat(N.unit,")"),maxWidth:"100vw"},a[L]=pt({margin:"".concat(.5*M.value).concat(M.unit," ").concat(.5*N.value).concat(N.unit)},F),a),v&&O,_&&(s={},s[C?"justifyContent":"alignItems"]=qE[_]||_,s),x&&(l={},l[C?"alignItems":"justifyContent"]=qE[x]||x,l),C&&(c={flexDirection:S?"row-reverse":"row",height:0===M.value?"100%":"calc(100% + ".concat(M.value).concat(M.unit,")")},c[L]={maxWidth:0===N.value?"100%":"calc(100% - ".concat(N.value).concat(N.unit,")")},c),!C&&(u={flexDirection:S?"column-reverse":"column",height:"calc(100% + ".concat(M.value).concat(M.unit,")")},u[L]={maxHeight:0===M.value?"100%":"calc(100% - ".concat(M.value).concat(M.unit,")")},u)]}:{root:[I.root,(d={display:"flex",flexDirection:C?S?"row-reverse":"row":S?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:k?"100%":"auto",maxWidth:T,maxHeight:E,padding:jE(P,t),boxSizing:"border-box"},d[L]=F,d),v&&O,y&&{flexGrow:!0===y?1:y},_&&(p={},p[C?"justifyContent":"alignItems"]=qE[_]||_,p),x&&(h={},h[C?"alignItems":"justifyContent"]=qE[x]||x,h),C&&N.value>0&&(m={},m["".concat(L,S?":not(:last-child)":":not(:first-child)")]={marginLeft:"".concat(N.value).concat(N.unit)},m),!C&&M.value>0&&(f={},f["".concat(L,S?":not(:last-child)":":not(:first-child)")]={marginTop:"".concat(M.value).concat(M.unit)},f),g]}},statics:{Item:ZE}});!function(e){e[e.Both=0]="Both",e[e.Header=1]="Header",e[e.Footer=2]="Footer"}(QE||(QE={}));var $E=function(t){function e(e){var i,h=t.call(this,e)||this;return h._root=ht.createRef(),h._stickyContentTop=ht.createRef(),h._stickyContentBottom=ht.createRef(),h._nonStickyContent=ht.createRef(),h._placeHolder=ht.createRef(),h.syncScroll=function(e){var t=h.nonStickyContent;t&&h.props.isScrollSynced&&(t.scrollLeft=e.scrollLeft)},h._getContext=function(){return h.context},h._onScrollEvent=function(e,t){var o,n,r,i,a;if(h.root&&h.nonStickyContent){var s=h._getNonStickyDistanceFromTop(e),l=!1,c=!1,u=null===(n=null!==(o=h._getContext().window)&&void 0!==o?o:window)||void 0===n?void 0:n.document;if(h.canStickyTop){var d=s-h._getStickyDistanceFromTop(),p=e.scrollTop;a=1,l=(r=d)<(i=p)&&!function(e,t,o){var n=o<0?0:o;return Math.abs(e-t)<=n}(r,i,a)}h.canStickyBottom&&e.clientHeight-t.offsetHeight<=s&&(c=s-h._scrollUtils.getScrollTopInRange(e,1)>=h._getStickyDistanceFromTopForFooter(e,t)),(null==u?void 0:u.activeElement)&&h.nonStickyContent.contains(null==u?void 0:u.activeElement)&&(h.state.isStickyTop!==l||h.state.isStickyBottom!==c)?h._activeElement=null==u?void 0:u.activeElement:h._activeElement=void 0,h.setState({isStickyTop:h.canStickyTop&&l,isStickyBottom:c,distanceFromTop:s})}},h._getStickyDistanceFromTop=function(){var e=0;return h.stickyContentTop&&(e=h.stickyContentTop.offsetTop),e},h._getStickyDistanceFromTopForFooter=function(e,t){var o=0;return h.stickyContentBottom&&(o=e.clientHeight-t.offsetHeight+h.stickyContentBottom.offsetTop),o},h._getNonStickyDistanceFromTop=function(e){var t=0,o=h.root;if(o){for(;o&&o.offsetParent!==e;)t+=o.offsetTop,o=o.offsetParent;o&&o.offsetParent===e&&(t+=o.offsetTop)}return t},ua(h),h.state={isStickyTop:!1,isStickyBottom:!1,distanceFromTop:void 0},h._activeElement=void 0,h._scrollUtils=(i=new Map,{getScrollTopInRange:function(e,t){var o,n=e.scrollTop,r=null!==(o=i.get(e))&&void 0!==o?o:NaN;return r-t<=n&&r+t>=n?r:(i.set(e,n),n)}}),h}return m(e,t),Object.defineProperty(e.prototype,"root",{get:function(){return this._root.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._placeHolder.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stickyContentTop",{get:function(){return this._stickyContentTop.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stickyContentBottom",{get:function(){return this._stickyContentBottom.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nonStickyContent",{get:function(){return this._nonStickyContent.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canStickyTop",{get:function(){return this.props.stickyPosition===QE.Both||this.props.stickyPosition===QE.Header},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canStickyBottom",{get:function(){return this.props.stickyPosition===QE.Both||this.props.stickyPosition===QE.Footer},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){var e=this._getContext().scrollablePane;e&&(e.subscribe(this._onScrollEvent),e.addSticky(this))},e.prototype.componentWillUnmount=function(){var e=this._getContext().scrollablePane;e&&(e.unsubscribe(this._onScrollEvent),e.removeSticky(this))},e.prototype.componentDidUpdate=function(e,t){var o=this._getContext().scrollablePane;if(o){var n=this.state,r=n.isStickyBottom,i=n.isStickyTop,a=n.distanceFromTop,s=!1;t.distanceFromTop!==a&&(o.sortSticky(this,!0),s=!0),t.isStickyTop===i&&t.isStickyBottom===r||(this._activeElement&&this._activeElement.focus(),o.updateStickyRefHeights(),s=!0),s&&o.syncScrollSticky(this)}},e.prototype.shouldComponentUpdate=function(e,t){if(!this.context.scrollablePane)return!0;var o=this.state,n=o.isStickyTop,r=o.isStickyBottom,i=o.distanceFromTop;return n!==t.isStickyTop||r!==t.isStickyBottom||this.props.stickyPosition!==e.stickyPosition||this.props.children!==e.children||i!==t.distanceFromTop||eT(this._nonStickyContent,this._stickyContentTop)||eT(this._nonStickyContent,this._stickyContentBottom)||eT(this._nonStickyContent,this._placeHolder)},e.prototype.render=function(){var e=this.state,t=e.isStickyTop,o=e.isStickyBottom,n=this.props,r=n.stickyClassName,i=n.children;return this.context.scrollablePane?ht.createElement("div",{ref:this._root},this.canStickyTop&&ht.createElement("div",{ref:this._stickyContentTop,style:{pointerEvents:t?"auto":"none"}},ht.createElement("div",{style:this._getStickyPlaceholderHeight(t)})),this.canStickyBottom&&ht.createElement("div",{ref:this._stickyContentBottom,style:{pointerEvents:o?"auto":"none"}},ht.createElement("div",{style:this._getStickyPlaceholderHeight(o)})),ht.createElement("div",{style:this._getNonStickyPlaceholderHeightAndWidth(),ref:this._placeHolder},(t||o)&&ht.createElement("span",{style:ho},i),ht.createElement("div",{ref:this._nonStickyContent,className:t||o?r:void 0,style:this._getContentStyles(t||o)},i))):ht.createElement("div",null,this.props.children)},e.prototype.addSticky=function(e){this.nonStickyContent&&e.appendChild(this.nonStickyContent)},e.prototype.resetSticky=function(){this.nonStickyContent&&this.placeholder&&this.placeholder.appendChild(this.nonStickyContent)},e.prototype.setDistanceFromTop=function(e){var t=this._getNonStickyDistanceFromTop(e);this.setState({distanceFromTop:t})},e.prototype._getContentStyles=function(e){return{backgroundColor:this.props.stickyBackgroundColor||this._getBackground(),overflow:e?"hidden":""}},e.prototype._getStickyPlaceholderHeight=function(e){var t=this.nonStickyContent?this.nonStickyContent.offsetHeight:0;return{visibility:e?"hidden":"visible",height:e?0:t}},e.prototype._getNonStickyPlaceholderHeightAndWidth=function(){var e=this.state,t=e.isStickyTop,o=e.isStickyBottom;if(t||o){var n=0,r=0;return this.nonStickyContent&&this.nonStickyContent.firstElementChild&&(n=this.nonStickyContent.offsetHeight,r=this.nonStickyContent.firstElementChild.scrollWidth+(this.nonStickyContent.firstElementChild.offsetWidth-this.nonStickyContent.firstElementChild.clientWidth)),{height:n,width:r}}return{}},e.prototype._getBackground=function(){var e;if(this.root){for(var t=this.root,o=null!==(e=this._getContext().window)&&void 0!==e?e:window;"rgba(0, 0, 0, 0)"===o.getComputedStyle(t).getPropertyValue("background-color")||"transparent"===o.getComputedStyle(t).getPropertyValue("background-color");){if("HTML"===t.tagName)return;t.parentElement&&(t=t.parentElement)}return o.getComputedStyle(t).getPropertyValue("background-color")}},e.defaultProps={stickyPosition:QE.Both,isScrollSynced:!0},e.contextType=aD,e}(ht.Component);function eT(e,t){return e&&t&&e.current&&t.current&&e.current.offsetHeight!==t.current.offsetHeight}var tT=vr(),oT=Do(function(e,t,o,n,r,i,a,s,l){var c=nh(e);return Fn({root:["ms-Button",c.root,o,t,a&&["is-checked",c.rootChecked],i&&["is-disabled",c.rootDisabled],!i&&!a&&{selectors:{":hover":c.rootHovered,":focus":c.rootFocused,":active":c.rootPressed}},i&&a&&[c.rootCheckedDisabled],!i&&a&&{selectors:{":hover":c.rootCheckedHovered,":active":c.rootCheckedPressed}}],flexContainer:["ms-Button-flexContainer",c.flexContainer]})}),nT=function(o){var e,t,n=o.item,r=o.idPrefix,i=void 0===r?o.id:r,a=o.isRadio,s=o.selected,l=void 0!==s&&s,c=o.disabled,u=void 0!==c&&c,d=o.styles,p=o.circle,h=void 0===p||p,m=o.color,f=o.onClick,g=o.onHover,v=o.onFocus,b=o.onMouseEnter,y=o.onMouseMove,C=o.onMouseLeave,_=o.onWheel,S=o.onKeyDown,x=o.height,k=o.width,w=o.borderWidth,I=tT(d,{theme:o.theme,disabled:u,selected:l,circle:h,isWhite:(e=m,t=Xg(e),"ffffff"===(null==t?void 0:t.hex)),height:x,width:k,borderWidth:w}),D=function(e){var t,o=I.svg;return ht.createElement("svg",{className:o,role:"img","aria-label":e.label,viewBox:"0 0 20 20",fill:null===(t=Xg(e.color))||void 0===t?void 0:t.str},h?ht.createElement("circle",{cx:"50%",cy:"50%",r:"50%"}):ht.createElement("rect",{width:"100%",height:"100%"}))},E=a?{role:"radio","aria-checked":l,selected:void 0}:{role:"gridcell",selected:l};return ht.createElement(Ih,pt({item:n,id:"".concat(i,"-").concat(n.id,"-").concat(n.index),key:n.id,disabled:u},E,{onRenderItem:function(e){var t=o.onRenderColorCellContent;return(void 0===t?D:t)(e,D)},onClick:f,onHover:g,onFocus:v,label:n.label,className:I.colorCell,getClassNames:oT,index:n.index,onMouseEnter:b,onMouseMove:y,onMouseLeave:C,onWheel:_,onKeyDown:S}))},rT={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"},iT=ir(nT,function(e){var t,o,n,r,i,a,s=e.theme,l=e.disabled,c=e.selected,u=e.circle,d=e.isWhite,p=e.height,h=void 0===p?20:p,m=e.width,f=void 0===m?20:m,g=e.borderWidth,v=s.semanticColors,b=s.palette,y=b.neutralLighter,C=b.neutralLight,_=b.neutralSecondary,S=b.neutralTertiary,x=g||(f<24?2:4);return{colorCell:[on(s,{inset:-1,position:"relative",highContrastStyle:rT}),{backgroundColor:v.bodyBackground,padding:0,position:"relative",boxSizing:"border-box",display:"inline-block",cursor:"pointer",userSelect:"none",borderRadius:0,border:"none",height:h,width:f,verticalAlign:"top","forced-color-adjust":"none"},!u&&{selectors:(t={},t[".".concat(Jo," &:focus::after, :host(.").concat(Jo,") &:focus::after")]={outlineOffset:"".concat(x-1,"px")},t)},u&&{borderRadius:"50%",selectors:(o={},o[".".concat(Jo," &:focus::after, :host(.").concat(Jo,") &:focus::after")]={outline:"none",borderColor:v.focusBorder,borderRadius:"50%",left:-x,right:-x,top:-x,bottom:-x,selectors:(n={},n[Mo]={outline:"1px solid ButtonText"},n)},o)},c&&{padding:2,border:"".concat(x,"px solid ").concat(C),selectors:(r={},r["&:hover::before"]={content:'""',height:h,width:f,position:"absolute",top:-x,left:-x,borderRadius:u?"50%":"default",boxShadow:"inset 0 0 0 1px ".concat(_)},r)},!c&&{selectors:(i={},i["&:hover, &:active, &:focus"]={backgroundColor:v.bodyBackground,padding:2,border:"".concat(x,"px solid ").concat(y)},i["&:focus"]={borderColor:v.bodyBackground,padding:0,selectors:{":hover":{borderColor:s.palette.neutralLight,padding:2}}},i)},l&&{color:v.disabledBodyText,pointerEvents:"none",opacity:.3},d&&!c&&{backgroundColor:S,padding:1,selectors:(a={},a[Mo]={outline:"1px solid ButtonText"},a)}],svg:[{width:"100%",height:"100%"},u&&{borderRadius:"50%"}]}},void 0,{scope:"ColorPickerGridCell"},!0),aT=vr(),sT="SwatchColorPicker",lT=ht.forwardRef(function(n,e){var t=Sd("swatchColorPicker"),o=n.id||t,i=Lc(),a=Zi({isNavigationIdle:!0,cellFocused:!1,navigationIdleTimeoutId:void 0,navigationIdleDelay:250}),r=Zf(),s=r.setTimeout,l=r.clearTimeout;!function(e){Qi({name:sT,props:e,mutuallyExclusive:{focusOnHover:"onHover",selectedId:"defaultSelectedId"},deprecations:{isControlled:"selectedId' or 'defaultSelectedId",onColorChanged:"onChange"}})}(n);var c=n.colorCells,u=n.cellShape,d=void 0===u?"circle":u,p=n.columnCount,h=n.shouldFocusCircularNavigate,m=void 0===h||h,f=n.className,g=n.disabled,v=void 0!==g&&g,b=n.doNotContainWithinFocusZone,y=n.styles,C=n.cellMargin,_=void 0===C?10:C,S=n.defaultSelectedId,x=n.focusOnHover,k=n.mouseLeaveParentSelector,w=n.onChange,I=n.onColorChanged,D=n.onCellHovered,E=n.onCellFocused,T=n.getColorGridCellStyles,P=n.cellHeight,R=n.cellWidth,M=n.cellBorderWidth,N=n.onRenderColorCellContent,B=ht.useMemo(function(){return c.map(function(e,t){return pt(pt({},e),{index:t})})},[c]),A=ht.useCallback(function(e,t){var o,n=null===(o=c.filter(function(e){return e.id===t})[0])||void 0===o?void 0:o.color;null==w||w(e,t,n),null==I||I(t,n)},[w,I,c]),F=Km(n.selectedId,S,A),L=F[0],O=F[1],H=aT(y,{theme:n.theme,className:f,cellMargin:_}),z={root:H.root,tableCell:H.tableCell,focusedContainer:H.focusedContainer},W=c.length<=p,V=ht.useCallback(function(e){E&&(a.cellFocused=!1,E(void 0,void 0,e))},[a,E]),K=ht.useCallback(function(e){return x?(a.isNavigationIdle&&!v&&e.currentTarget.focus(),!0):!a.isNavigationIdle||!!v},[x,a,v]),G=ht.useCallback(function(e){if(!x)return!a.isNavigationIdle||!!v;var t=e.currentTarget;return!a.isNavigationIdle||i&&t===i.activeElement||t.focus(),!0},[x,a,v,i]),U=ht.useCallback(function(e){var t,o=k;if(x&&o&&a.isNavigationIdle&&!v)for(var n=null!==(t=null==i?void 0:i.querySelectorAll(o))&&void 0!==t?t:[],r=0;r0&&(r=t[0].displayIndex-1);for(var i=0,a=t;ir&&(r=s.displayIndex)):o&&(l=o),n=n.slice(0,s.displayIndex)+l+n.slice(s.displayIndex+1)}return o||(n=n.slice(0,r+1)),n}function TT(e,t){for(var o=0;o=t)return e[o].displayIndex;return e[e.length-1].displayIndex}function PT(e,t,o){for(var n=0;n=t){if(e[n].displayIndex>=t+o)break;e[n].value=void 0}return e}function RT(e,t,o){for(var n=0,r=0,i=!1,a=0;a=t)for(i=!0,r=e[a].displayIndex;n=t){e[o].value=void 0;break}return e}(y.maskCharData,i),o=TT(y.maskCharData,i)):(y.maskCharData=function(e,t){for(var o=e.length-1;o>=0;o--)if(e[o].displayIndex=0;o--)if(e[o].displayIndexS.length){c=a-(l=t.length-S.length);var p=t.substr(c,l);o=RT(y.maskCharData,c,p)}else if(t.length<=S.length){l=1;var h=S.length+l-t.length;c=a-l,p=t.substr(c,l),y.maskCharData=PT(y.maskCharData,c,h),o=RT(y.maskCharData,c,p)}y.changeSelectionData=null;var m=ET(v,y.maskCharData,b);x(m),C(o),null==g||g(e,m)}},[S.length,y,v,b,g]),P=ht.useCallback(function(e){if(null==l||l(e),y.changeSelectionData=null,f.current&&f.current.value){var t=e.keyCode,o=e.ctrlKey,n=e.metaKey;if(o||n)return;if(t===sr.backspace||t===sr.del){var r=e.target.selectionStart,i=e.target.selectionEnd;if(!(t===sr.backspace&&i&&i>0||t===sr.del&&null!==r&&rc||t.getHours()===c&&t.getMinutes()>u?Ph.HoursInOneDay-t.getHours()+c:Math.abs(t.getHours()-c);var p=Ph.MillisecondsIn1Sec*Ph.MinutesInOneHour*n*Ph.SecondsInOneMinute+d*Ph.MillisecondsIn1Sec,h=new Date(t.getTime()+p);return h.setMinutes(u),h.setSeconds(d),h},zT=function(e,t,o){var n=e.toLocaleTimeString([],{hour:"numeric",minute:"2-digit",second:t?"2-digit":void 0,hour12:o});return o||"24"!==n.slice(0,2)||(n="00"+n.slice(2)),n},WT=/^((1[0-2]|0?[1-9]):([0-5][0-9]):([0-5][0-9])\s([AaPp][Mm]))$/,VT=/^((1[0-2]|0?[1-9]):[0-5][0-9]\s([AaPp][Mm]))$/,KT=/^([0-1]?[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$/,GT=/^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$/,UT=function(e){var t=e.label,o=e.increments,a=void 0===o?30:o,n=e.showSeconds,l=void 0!==n&&n,r=e.allowFreeform,c=void 0===r||r,i=e.useHour12,u=void 0!==i&&i,d=e.timeRange,s=e.strings,p=void 0===s?function(e,t){var o=e?"12-hour":"24-hour",n="hh:mm".concat(t?":ss":"").concat(e?" AP":"");return{invalidInputErrorMessage:"Enter a valid time in the ".concat(o," format: ").concat(n),timeOutOfBoundsErrorMessage:"Please enter a time within the range of {0} and {1}"}}(u,l):s,h=e.defaultValue,m=e.value,f=e.dateAnchor,g=e.onChange,v=e.onFormatDate,b=e.onValidateUserInput,y=e.onValidationResult,C=Fe(e,["label","increments","showSeconds","allowFreeform","useHour12","timeRange","strings","defaultValue","value","dateAnchor","onChange","onFormatDate","onValidateUserInput","onValidationResult"]),_=ht.useState(""),S=_[0],x=_[1],k=ht.useState(),w=k[0],I=k[1],D=ht.useState(""),E=D[0],T=D[1],P=Zi(new Date),R=Km(m,h),M=R[0],N=R[1],B=YT(a,d),A=f||m||h||P,F=ht.useMemo(function(){return jT(A,"start",a,d)},[A,a,d]),L=ht.useMemo(function(){return jT(A,"end",a,d)},[A,a,d]),O=ht.useMemo(function(){for(var e=Array(B),t=0;tL)&&(t=tm(p.timeOutOfBoundsErrorMessage,F.toString(),L.toString()))}}else t=p.invalidInputErrorMessage;return t}(n)),y&&E!==i&&y(e,{errorMessage:i}),i||void 0!==n&&!n.length){var a=n||(null==t?void 0:t.text)||"";x(a),N(i?new Date("invalid"):void 0),r=new Date("invalid")}else{var s=void 0;(null==t?void 0:t.data)instanceof Date?s=t.data:(a=(null==t?void 0:t.key)||n||"",s=HT(u,F,a)),N(s),r=s}null==g||g(e,r),T(i)},[d,F,L,c,v,b,l,u,p.invalidInputErrorMessage,p.timeOutOfBoundsErrorMessage,N,y,g,E]);return ht.createElement(jv,pt({},C,{allowFreeform:c,selectedKey:w,label:t,errorMessage:E,options:O,onChange:H,text:S,onKeyPress:function(e){var t=e.charCode;v||t>=sr.zero&&t<=sr.colon||t===sr.space||t===sr.a||t===sr.m||t===sr.p||e.preventDefault()},useComboBoxAsMenuWidth:!0}))};UT.displayName="TimePicker";var jT=function(e,t,o,n){var r=new Date(e.getTime());if(n){var i=qT(n),a="start"===t?i.start:i.end;r.getHours()!==a&&r.setHours(a)}else"end"===t&&r.setDate(r.getDate()+1);return r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),function(e,t){var o=new Date(e.getTime()),n=o.getMinutes();if(Ph.MinutesInOneHour%t)o.setMinutes(0);else{for(var r=Ph.MinutesInOneHour/t,i=1;i<=r;i++)if(n>t*(i-1)&&n<=t*i){n=t*i;break}o.setMinutes(n)}return o}(r,o)},qT=function(e){return{start:Math.min(Math.max(e.start,0),23),end:Math.min(Math.max(e.end,0),23)}},YT=function(e,t){var o=function(e){var t=Ph.HoursInOneDay;if(e){var o=qT(e);o.start>o.end?t=Ph.HoursInOneDay-e.start-e.end:e.end>e.start&&(t=e.end-e.start)}return t}(t);return Math.floor(Ph.MinutesInOneHour*o/e)},ZT=vr(),XT="Toggle",QT=ht.forwardRef(function(e,t){var o=e.as,n=void 0===o?"div":o,r=e.ariaLabel,i=e.checked,a=e.className,s=e.defaultChecked,l=void 0!==s&&s,c=e.disabled,u=e.inlineLabel,d=e.label,p=e.offAriaLabel,h=e.offText,m=e.onAriaLabel,f=e.onChange,g=e.onChanged,v=e.onClick,b=e.onText,y=e.role,C=e.styles,_=e.theme,S=Km(i,l,ht.useCallback(function(e,t){null==f||f(e,t),null==g||g(t)},[f,g])),x=S[0],k=S[1],w=ZT(C,{theme:_,className:a,disabled:c,checked:x,inlineLabel:u,onOffMissing:!b&&!h}),I=x?m:p,D=Sd(XT,e.id),E="".concat(D,"-label"),T="".concat(D,"-stateText"),P=x?b:h,R=qr(e,Mr,["defaultChecked"]),M=void 0;r||I||(d&&(M=E),P&&!M&&(M=T));var N=ht.useRef(null);al(N),JT(e,x,N),Qi({name:XT,props:e,deprecations:{offAriaLabel:void 0,onAriaLabel:"ariaLabel",onChanged:"onChange"},mutuallyExclusive:{checked:"defaultChecked"}});var B={root:{className:w.root,hidden:R.hidden},label:{children:d,className:w.label,htmlFor:D,id:E},container:{className:w.container},pill:pt(pt({},R),{"aria-disabled":c,"aria-checked":x,"aria-label":r||I,"aria-labelledby":M,className:w.pill,"data-is-focusable":!0,"data-ktp-target":!0,disabled:c,id:D,onClick:function(e){c||(k(!x,e),v&&v(e))},ref:N,role:y||"switch",type:"button"}),thumb:{className:w.thumb},stateText:{children:P,className:w.text,htmlFor:D,id:T}};return ht.createElement(n,pt({ref:t},B.root),d&&ht.createElement(vf,pt({},B.label)),ht.createElement("div",pt({},B.container),ht.createElement("button",pt({},B.pill),ht.createElement("span",pt({},B.thumb))),(x&&b||h)&&ht.createElement(vf,pt({},B.stateText))))});QT.displayName=XT+"Base";var JT=function(e,t,o){ht.useImperativeHandle(e.componentRef,function(){return{get checked(){return!!t},focus:function(){o.current&&o.current.focus()}}},[t,o])},$T=ir(QT,function(e){var t,o,n,r,i,a,s,l=e.theme,c=e.className,u=e.disabled,d=e.checked,p=e.inlineLabel,h=e.onOffMissing,m=l.semanticColors,f=l.palette,g=m.bodyBackground,v=m.inputBackgroundChecked,b=m.inputBackgroundCheckedHovered,y=f.neutralDark,C=m.disabledBodySubtext,_=m.smallInputBorder,S=m.inputForegroundChecked,x=m.disabledBodySubtext,k=m.disabledBackground,w=m.smallInputBorder,I=m.inputBorderHovered,D=m.disabledBodySubtext,E=m.disabledText;return{root:["ms-Toggle",d&&"is-checked",!u&&"is-enabled",u&&"is-disabled",l.fonts.medium,{marginBottom:"8px"},p&&{display:"flex",alignItems:"center"},c],label:["ms-Toggle-label",{display:"inline-block"},u&&{color:E,selectors:(t={},t[Mo]={color:"GrayText"},t)},p&&!h&&{marginRight:16},h&&p&&{order:1,marginLeft:16},p&&{wordBreak:"break-word"}],container:["ms-Toggle-innerContainer",{display:"flex",position:"relative"}],pill:["ms-Toggle-background",on(l,{inset:-3}),{fontSize:"20px",boxSizing:"border-box",width:40,height:20,borderRadius:10,transition:"all 0.1s ease",border:"1px solid ".concat(w),background:g,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 3px",overflow:"visible"},!u&&[!d&&{selectors:{":hover":[{borderColor:I}],":hover .ms-Toggle-thumb":[{backgroundColor:y,selectors:(o={},o[Mo]={borderColor:"Highlight"},o)}]}},d&&[{background:v,borderColor:"transparent",justifyContent:"flex-end"},{selectors:(n={":hover":[{backgroundColor:b,borderColor:"transparent",selectors:(r={},r[Mo]={backgroundColor:"Highlight"},r)}]},n[Mo]=pt({backgroundColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)}]],u&&[{cursor:"default"},!d&&[{borderColor:D}],d&&[{backgroundColor:C,borderColor:"transparent",justifyContent:"flex-end"}]],!u&&{selectors:{"&:hover":{selectors:(i={},i[Mo]={borderColor:"Highlight"},i)}}}],thumb:["ms-Toggle-thumb",{display:"block",width:12,height:12,borderRadius:"50%",transition:"all 0.1s ease",backgroundColor:_,borderColor:"transparent",borderWidth:6,borderStyle:"solid",boxSizing:"border-box"},!u&&d&&[{backgroundColor:S,selectors:(a={},a[Mo]={backgroundColor:"Window",borderColor:"Window"},a)}],u&&[!d&&[{backgroundColor:x}],d&&[{backgroundColor:k}]]],text:["ms-Toggle-stateText",{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none",fontWeight:Qe.regular}}},u&&{selectors:{"&&":{color:E,selectors:(s={},s[Mo]={color:"GrayText"},s)}}}]}},void 0,{scope:"Toggle"}),eP=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()},tP=function(){function a(){}return a.measure=function(e,t){a._timeoutId&&a.setPeriodicReset();var o=eP();t();var n=eP(),r=a.summary[e]||{totalDuration:0,count:0,all:[]},i=n-o;r.totalDuration+=i,r.count++,r.all.push({duration:i,timeStamp:n}),a.summary[e]=r},a.reset=function(){a.summary={},clearTimeout(a._timeoutId),a._timeoutId=NaN},a.setPeriodicReset=function(){a._timeoutId=setTimeout(function(){return a.reset()},18e4)},a.summary={},a}(),oP="undefined"!=typeof WeakMap?new WeakMap:void 0;function nP(o){var n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={Component:oP?oP.get(o.load):void 0},e}return m(e,t),e.prototype.render=function(){var e=this.props,t=e.forwardedRef,o=e.asyncPlaceholder,n=Fe(e,["forwardedRef","asyncPlaceholder"]),r=this.state.Component;return r?ht.createElement(r,pt(pt({},n),{ref:t})):o?ht.createElement(o,null):null},e.prototype.componentDidMount=function(){var t=this;this.state.Component||o.load().then(function(e){e&&(oP&&oP.set(o.load,e),t.setState({Component:e},o.onLoad))}).catch(o.onError)},e}(ht.Component);return ht.forwardRef(function(e,t){return ht.createElement(n,pt({},e,{forwardedRef:t}))})}function rP(e){throw new Error("Unexpected object: "+e)}var iP="";function aP(e){return iP+e}function sP(e){iP=e}function lP(e){var t,o=e||ut();o&&!0!==(null===(t=o.FabricConfig)||void 0===t?void 0:t.disableFocusRects)&&(o.__hasInitializeFocusRects__||(o.__hasInitializeFocusRects__=!0,o.addEventListener("mousedown",cP,!0),o.addEventListener("pointerdown",uP,!0),o.addEventListener("keydown",dP,!0)))}function cP(e){tn(!1,e.target)}function uP(e){"mouse"!==e.pointerType&&tn(!1,e.target)}function dP(e){Js(e.which)&&tn(!0,e.target)}var pP="undefined"!=typeof document&&Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,hP=!1;if(pP)try{document.adoptedStyleSheets.push(),hP=!0}catch(n){hP=!1}var mP,fP=hP,gP={};try{gP=window||{}}catch(M){}var vP=function(c){function d(e,t){var o=c.call(this,e,t)||this;return o._onAddSheetCallbacks=[],o._sheetCounter=0,o._adoptableSheets=new Map,gP[p]=d,o}return m(d,c),d.getInstance=function(e){var t=e||h,o=t.stylesheetKey||b,n=t.inShadow,r=t.window||("undefined"!=typeof window?window:void 0),i=r||gP,a=r?r.document:"undefined"!=typeof document?document:void 0,s=(mP=i[k])&&!mP.getAdoptedSheets;if(!mP||s||mP._lastStyleElement&&mP._lastStyleElement.ownerDocument!==a){var l=(null==i?void 0:i.FabricConfig)||{},c={window:r,inShadow:n,stylesheetKey:o};l.mergeStyles=l.mergeStyles||{},l.mergeStyles=pt(pt({},c),l.mergeStyles);var u=void 0;s?function(e,t,o,n){var r;if(void 0===t&&(t=!1),n){var i=n.querySelectorAll("[data-merge-styles]");if(i){e.setConfig({window:o,inShadow:t,stylesheetKey:b});for(var a=0;a=0&&!h;){var m=d[--p],f=null!==(a=null===(i=m.metadata)||void 0===i?void 0:i.sortOrder)&&void 0!==a?a:0,g=null!==(l=null===(s=t.metadata)||void 0===s?void 0:s.sortOrder)&&void 0!==l?l:0;"merge-styles"===m.bucketName&&f0?u.insertBefore(v,b[b.length-1].nextSibling):u.insertBefore(v,u.firstChild),v.sheet&&(function(e,t){for(var o=0;o