diff --git a/package.json b/package.json index 4efe5f0..f0a542d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "etoro-better-ui", - "version": "0.25.2", + "version": "0.25.3", "description": "", "main": "index.js", "scripts": { diff --git a/src_dist/etoro.bundle.js b/src_dist/etoro.bundle.js index d3833e7..97ec08c 100644 --- a/src_dist/etoro.bundle.js +++ b/src_dist/etoro.bundle.js @@ -2,7 +2,7 @@ * * github: https://github.com/hilezir/etoro-better-ui * - * version: 0.25.2 + * version: 0.25.3 * * website: https://www.notion.so/hilezi/4fe69cd704434ff1b82f0cd48dd219c3 * @@ -21,7 +21,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. -***************************************************************************** */!function(P){var E="object"==typeof n?n:"object"==typeof self?self:"object"==typeof this?this:{};function I(e,t){return e!==E&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(n,o){return e[n]=t?t(n,o):o}}void 0===(o=function(e){var t,n;t=I(E,I(e)),n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r=function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e,t){return function(n,o){t(n,o,e)}},c=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},u=function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function s(e){try{l(o.next(e))}catch(e){i(e)}}function a(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((o=o.apply(e,t||[])).next())}))},d=function(e,t){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s},m=function(){for(var e=[],t=0;t1||a(e,t)}))})}function a(e,t){try{(n=r[e](t)).value instanceof v?Promise.resolve(n.value.v).then(l,c):u(i[0][2],n)}catch(e){u(i[0][3],e)}var n}function l(e){a("next",e)}function c(e){a("throw",e)}function u(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}},y=function(e){var t,n;return t={},o("next"),o("throw",(function(e){throw e})),o("return"),t[Symbol.iterator]=function(){return this},t;function o(o,r){t[o]=e[o]?function(t){return(n=!n)?{value:v(e[o](t)),done:"return"===o}:r?r(t):t}:r}},b=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(t){return new Promise((function(o,r){!function(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}(o,r,(t=e[n](t)).done,t.value)}))}}},S=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},C=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},x=function(e){return e&&e.__esModule?e:{default:e}},k=function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},w=function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n},t("__extends",r),t("__assign",i),t("__rest",s),t("__decorate",a),t("__param",l),t("__metadata",c),t("__awaiter",u),t("__generator",d),t("__exportStar",p),t("__values",f),t("__read",h),t("__spread",m),t("__spreadArrays",g),t("__await",v),t("__asyncGenerator",_),t("__asyncDelegator",y),t("__asyncValues",b),t("__makeTemplateObject",S),t("__importStar",C),t("__importDefault",x),t("__classPrivateFieldGet",k),t("__classPrivateFieldSet",w)}.apply(t,[t]))||(e.exports=o)}()}).call(this,n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);n(65),o.__exportStar(n(6),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);n(65),o.__exportStar(n(7),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);n(486),o.__exportStar(n(488),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(230),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(184),t),o.__exportStar(n(506),t),o.__exportStar(n(507),t),o.__exportStar(n(508),t),o.__exportStar(n(67),t),o.__exportStar(n(509),t),o.__exportStar(n(191),t),o.__exportStar(n(95),t),o.__exportStar(n(510),t),o.__exportStar(n(192),t),o.__exportStar(n(511),t),o.__exportStar(n(512),t),o.__exportStar(n(513),t),o.__exportStar(n(514),t),o.__exportStar(n(515),t),o.__exportStar(n(522),t),o.__exportStar(n(199),t),o.__exportStar(n(523),t),o.__exportStar(n(55),t),o.__exportStar(n(524),t),o.__exportStar(n(69),t),o.__exportStar(n(525),t),o.__exportStar(n(526),t),o.__exportStar(n(200),t),o.__exportStar(n(201),t),o.__exportStar(n(194),t),o.__exportStar(n(70),t),o.__exportStar(n(527),t),o.__exportStar(n(203),t),o.__exportStar(n(528),t),o.__exportStar(n(529),t),o.__exportStar(n(202),t),o.__exportStar(n(530),t),o.__exportStar(n(531),t),o.__exportStar(n(532),t),o.__exportStar(n(533),t),o.__exportStar(n(99),t),o.__exportStar(n(534),t),o.__exportStar(n(536),t),o.__exportStar(n(98),t),o.__exportStar(n(537),t),o.__exportStar(n(538),t),o.__exportStar(n(539),t);var r=n(185);t.assign=r.assign,t.filteredAssign=r.filteredAssign,t.mapEnumByName=r.mapEnumByName,t.shallowCompare=r.shallowCompare,t.values=r.values,o.__exportStar(n(540),t),o.__exportStar(n(541),t),o.__exportStar(n(204),t),o.__exportStar(n(542),t),o.__exportStar(n(543),t),o.__exportStar(n(193),t),o.__exportStar(n(544),t),o.__exportStar(n(545),t),o.__exportStar(n(186),t),o.__exportStar(n(546),t),o.__exportStar(n(548),t),o.__exportStar(n(549),t),o.__exportStar(n(550),t),o.__exportStar(n(552),t),o.__exportStar(n(553),t);var i=n(100);t.setFocusVisibility=i.setFocusVisibility,t.IsFocusVisibleClassName=i.IsFocusVisibleClassName;var s=n(94);t.setSSR=s.setSSR,n(554)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(493),t),o.__exportStar(n(101),t),o.__exportStar(n(179),t),o.__exportStar(n(181),t),n(568),n(210).initializeThemeInCustomizations()},function(e,t,n){"use strict";e.exports=n(434)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(627),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_COLOR_SATURATION=100,t.MAX_COLOR_HUE=359,t.MAX_COLOR_VALUE=100,t.MAX_COLOR_RGB=255,t.MAX_COLOR_RGBA=t.MAX_COLOR_RGB,t.MAX_COLOR_ALPHA=100,t.MIN_HEX_LENGTH=3,t.MAX_HEX_LENGTH=6,t.MIN_RGBA_LENGTH=1,t.MAX_RGBA_LENGTH=3,t.HEX_REGEX=/^[\da-f]{0,6}$/i,t.RGBA_REGEX=/^\d{0,3}$/},function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=((o=n(457))&&o.__esModule?o:{default:o}).default;t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(605),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(495);t.mergeStyles=r.mergeStyles,t.mergeCss=r.mergeCss;var i=n(501);t.mergeStyleSets=i.mergeStyleSets,t.mergeCssSets=i.mergeCssSets;var s=n(93);t.concatStyleSets=s.concatStyleSets;var a=n(502);t.concatStyleSetsWithProps=a.concatStyleSetsWithProps;var l=n(503);t.fontFace=l.fontFace;var c=n(504);t.keyframes=c.keyframes,o.__exportStar(n(52),t);var u=n(53);t.setRTL=u.setRTL,n(505)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionalHint={topLeftEdge:0,topCenter:1,topRightEdge:2,topAutoEdge:3,bottomLeftEdge:4,bottomCenter:5,bottomRightEdge:6,bottomAutoEdge:7,leftTopEdge:8,leftCenter:9,leftBottomEdge:10,rightTopEdge:11,rightCenter:12,rightBottomEdge:13}},function(e,t,n){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),s=o(n(16)),a=n(155),l=function(){return(l=Object.assign||function(e){for(var t,n=1,o=arguments.length;n0&&u(t)}))}function u(e,t){i.loadStyles?i.loadStyles(f(e).styleString,e):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),o=f(e),s=o.styleString,a=o.themable;n.setAttribute("data-load-themed-styles","true"),r&&n.setAttribute("nonce",r);n.appendChild(document.createTextNode(s)),i.perf.count++,t.appendChild(n);var l=document.createEvent("HTMLEvents");l.initEvent("styleinsert",!0,!1),l.args={newStyle:n},document.dispatchEvent(l);var c={styleElement:n,themableStyle:e};a?i.registeredThemableStyles.push(c):i.registeredStyles.push(c)}(e)}function d(e){void 0===e&&(e=3),3!==e&&2!==e||(p(i.registeredStyles),i.registeredStyles=[]),3!==e&&1!==e||(p(i.registeredThemableStyles),i.registeredThemableStyles=[])}function p(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function f(e){var t=i.theme,n=!1;return{styleString:(e||[]).map((function(e){var o=e.theme;if(o){n=!0;var r=t?t[o]:void 0,i=e.defaultValue||"inherit";return t&&!r&&console&&!(o in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'+o+'". Falling back to "'+i+'".'),r||i}return e.rawString})).join(""),themable:n}}function h(e){var t=[];if(e){for(var n=0,o=void 0;o=s.exec(e);){var r=o.index;r>n&&t.push({rawString:e.substring(n,r)}),t.push({theme:o[1],defaultValue:o[2]}),n=s.lastIndex}t.push({rawString:e.substring(n)})}return t}t.loadStyles=function(e,t){void 0===t&&(t=!1),l((function(){var n=Array.isArray(e)?e:h(e),o=i.runState,r=o.mode,s=o.buffer,a=o.flushTimer;t||1===r?(s.push(n),a||(i.runState.flushTimer=setTimeout((function(){i.runState.flushTimer=0,c()}),0))):u(n)}))},t.configureLoadStyles=function(e){i.loadStyles=e},t.configureRunMode=function(e){i.runState.mode=e},t.flush=c,t.loadTheme=function(e){i.theme=e,function(){if(i.theme){for(var e=[],t=0,n=i.registeredThemableStyles;t0&&(d(1),u([].concat.apply([],e)))}}()},t.clearStyles=d,t.detokenize=function(e){return e&&(e=f(h(e)).styleString),e},t.splitStyles=h}).call(this,n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(215),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(611),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(3),i=n(2);t.DetailsRowGlobalClassNames={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"};t.DEFAULT_CELL_STYLE_PROPS={cellLeftPadding:12,cellRightPadding:8,cellExtraRightPadding:24},t.DEFAULT_ROW_HEIGHTS={rowHeight:42,compactRowHeight:32};var s=o.__assign(o.__assign({},t.DEFAULT_ROW_HEIGHTS),{rowVerticalPadding:11,compactRowVerticalPadding:6});t.getStyles=function(e){var n,o,a,l,c,u,d,p,f,h,m,g,v=e.theme,_=e.isSelected,y=e.canSelect,b=e.droppingClassName,S=e.anySelected,C=e.isCheckVisible,x=e.checkboxCellClassName,k=e.compact,w=e.className,P=e.cellStyleProps,E=void 0===P?t.DEFAULT_CELL_STYLE_PROPS:P,I=e.enableUpdateAnimations,T=v.palette,D=v.fonts,M=T.neutralPrimary,O=T.white,R=T.neutralSecondary,N=T.neutralLighter,F=T.neutralLight,A=T.neutralDark,B=T.neutralQuaternaryAlt,L=v.semanticColors.focusBorder,H=r.getGlobalClassNames(t.DetailsRowGlobalClassNames,v),z={defaultHeaderText:M,defaultMetaText:R,defaultBackground:O,defaultHoverHeaderText:A,defaultHoverMetaText:M,defaultHoverBackground:N,selectedHeaderText:A,selectedMetaText:M,selectedBackground:F,selectedHoverHeaderText:A,selectedHoverMetaText:M,selectedHoverBackground:B,focusHeaderText:A,focusMetaText:M,focusBackground:F,focusHoverBackground:B},j=[r.getFocusStyle(v,{inset:-1,borderColor:L,outlineColor:O}),H.isSelected,{color:z.selectedMetaText,background:z.selectedBackground,borderBottom:"1px solid "+O,selectors:(n={"&:before":{position:"absolute",display:"block",top:-1,height:1,bottom:0,left:0,right:0,content:"",borderTop:"1px solid "+O},"&:hover":{background:z.selectedHoverBackground,color:z.selectedHoverMetaText,selectors:(o={},o["."+H.cell+" "+r.HighContrastSelector]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},o["."+H.isRowHeader]={color:z.selectedHoverHeaderText,selectors:(a={},a[r.HighContrastSelector]={color:"HighlightText"},a)},o[r.HighContrastSelector]={background:"Highlight"},o)},"&:focus":{background:z.focusBackground,selectors:(l={},l["."+H.cell]={color:z.focusMetaText,selectors:(c={},c[r.HighContrastSelector]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},c)},l["."+H.isRowHeader]={color:z.focusHeaderText,selectors:(u={},u[r.HighContrastSelector]={color:"HighlightText"},u)},l[r.HighContrastSelector]={background:"Highlight"},l)}},n[r.HighContrastSelector]={background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none",selectors:{a:{color:"HighlightText"}}},n["&:focus:hover"]={background:z.focusHoverBackground},n)}],W=[H.isContentUnselectable,{userSelect:"none",cursor:"default"}],V={minHeight:s.compactRowHeight,border:0},K={minHeight:s.compactRowHeight,paddingTop:s.compactRowVerticalPadding,paddingBottom:s.compactRowVerticalPadding,paddingLeft:E.cellLeftPadding+"px"},U=[r.getFocusStyle(v,{inset:-1}),H.cell,{display:"inline-block",position:"relative",boxSizing:"border-box",minHeight:s.rowHeight,verticalAlign:"top",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:s.rowVerticalPadding,paddingBottom:s.rowVerticalPadding,paddingLeft:E.cellLeftPadding+"px",selectors:(d={"& > button":{maxWidth:"100%"}},d["[data-is-focusable='true']"]=r.getFocusStyle(v,{inset:-1,borderColor:R,outlineColor:O}),d)},_&&{selectors:(p={},p[r.HighContrastSelector]={background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none",selectors:{a:{color:"HighlightText"}}},p)},k&&K];return{root:[H.root,r.AnimationClassNames.fadeIn400,b,v.fonts.small,C&&H.isCheckVisible,r.getFocusStyle(v,{borderColor:L,outlineColor:O}),{borderBottom:"1px solid "+N,background:z.defaultBackground,color:z.defaultMetaText,display:"inline-flex",minWidth:"100%",minHeight:s.rowHeight,whiteSpace:"nowrap",padding:0,boxSizing:"border-box",verticalAlign:"top",textAlign:"left",selectors:(f={},f["."+H.listCellFirstChild+" &:before"]={display:"none"},f["&:hover"]={background:z.defaultHoverBackground,color:z.defaultHoverMetaText,selectors:(h={},h["."+H.isRowHeader]={color:z.defaultHoverHeaderText},h)},f["&:hover ."+H.check]={opacity:1},f["."+i.IsFocusVisibleClassName+" &:focus ."+H.check]={opacity:1},f)},_&&j,!y&&W,k&&V,w],cellUnpadded:{paddingRight:E.cellRightPadding+"px"},cellPadded:{paddingRight:E.cellExtraRightPadding+E.cellRightPadding+"px",selectors:(m={},m["&."+H.cellCheck]={paddingRight:0},m)},cell:U,cellAnimation:I&&r.AnimationStyles.slideLeftIn40,cellMeasurer:[H.cellMeasurer,{overflow:"visible",whiteSpace:"nowrap"}],checkCell:[U,H.cellCheck,x,{padding:0,paddingTop:1,marginTop:-1,flexShrink:0}],checkCover:{position:"absolute",top:-1,left:0,bottom:0,right:0,display:S?"block":"none"},fields:[H.fields,{display:"flex",alignItems:"stretch"}],isRowHeader:[H.isRowHeader,{color:z.defaultHeaderText,fontSize:D.medium.fontSize},_&&{color:z.selectedHeaderText,fontWeight:r.FontWeights.semibold,selectors:(g={},g[r.HighContrastSelector]={color:"HighlightText"},g)}],isMultiline:[U,{whiteSpace:"normal",wordBreak:"break-word",textOverflow:"clip"}],check:[H.check]}}},function(e,t,n){var o=n(28),r=n(86);e.exports=function(e,t,n){var i=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return r(n)&&(i="leading"in n?!!n.leading:i,s="trailing"in n?!!n.trailing:s),o(e,t,{leading:i,maxWait:t,trailing:s})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(487);t.setVersion=o.setVersion,o.setVersion("@uifabric/set-version","6.0.0")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=function(e,t,n){return void 0===n&&(n=0),et?t:e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.SPACER_WIDTH=36,t.GroupSpacer=function(e){var n=e.count,r=e.indentWidth,i=n*(void 0===r?t.SPACER_WIDTH:r);return n>0?o.createElement("span",{className:"ms-GroupSpacer",style:{display:"inline-block",width:i}}):null}},function(e,t,n){var o=n(86),r=n(406),i=n(408),s=Math.max,a=Math.min;e.exports=function(e,t,n){var l,c,u,d,p,f,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function _(t){var n=l,o=c;return l=c=void 0,h=t,d=e.apply(o,n)}function y(e){return h=e,p=setTimeout(S,t),m?_(e):d}function b(e){var n=e-f;return void 0===f||n>=t||n<0||g&&e-h>=u}function S(){var e=r();if(b(e))return C(e);p=setTimeout(S,function(e){var n=t-(e-f);return g?a(n,u-(e-h)):n}(e))}function C(e){return p=void 0,v&&l?_(e):(l=c=void 0,d)}function x(){var e=r(),n=b(e);if(l=arguments,c=this,f=e,n){if(void 0===p)return y(f);if(g)return clearTimeout(p),p=setTimeout(S,t),_(f)}return void 0===p&&(p=setTimeout(S,t)),d}return t=i(t)||0,o(n)&&(m=!!n.leading,u=(g="maxWait"in n)?s(i(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),x.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=f=c=p=void 0},x.flush=function(){return void 0===p?d:C(r())},x}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(211),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(669),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(10);t.hsv2rgb=function(e,t,n){var r=[],i=(n/=100)*(t/=100),s=e/60,a=i*(1-Math.abs(s%2-1)),l=n-i;switch(Math.floor(s)){case 0:r=[i,a,0];break;case 1:r=[a,i,0];break;case 2:r=[0,i,a];break;case 3:r=[0,a,i];break;case 4:r=[a,0,i];break;case 5:r=[i,0,a]}return{r:Math.round(o.MAX_COLOR_RGB*(r[0]+l)),g:Math.round(o.MAX_COLOR_RGB*(r[1]+l)),b:Math.round(o.MAX_COLOR_RGB*(r[2]+l))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(61),t),o.__exportStar(n(719),t),o.__exportStar(n(720),t)},function(e,t){var n,o,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(e){o=s}}();var l,c=[],u=!1,d=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&f())}function f(){if(!u){var e=a(p);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d1)for(var n=1;nd[t];)t++}catch(e){t=c||u||o.large}u=t}else{if(void 0===c)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=c}return t}t.setResponsiveMode=function(e){c=e},t.initializeResponsiveMode=function(e){"undefined"!=typeof window&&p(e&&l.getWindow(e)||window)},t.withResponsiveMode=function(e){var t=function(t){function n(e){var n=t.call(this,e)||this;return n._onResize=function(){var e=s.findDOMNode(n),t=p(e&&l.getWindow(e)||window);t!==n.state.responsiveMode&&n.setState({responsiveMode:t})},n._events=new l.EventGroup(n),n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n.state={responsiveMode:c||u||o.large},n}return r.__extends(n,t),n.prototype.componentDidMount=function(){this._events.on(window,"resize",this._onResize),this._onResize()},n.prototype.componentWillUnmount=function(){this._events.dispose()},n.prototype.render=function(){var t=this.state.responsiveMode;return t===o.unknown?null:i.createElement(e,r.__assign({ref:this._updateComposedComponentRef,responsiveMode:t},this.props))},n}(a.BaseDecorator);return l.hoistStatics(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(117),i=n(47);t.getColorFromString=function(e){var t=r.cssColor(e);if(t)return o.__assign(o.__assign({},i.getColorFromRGBA(t)),{str:e})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(94);t.getDocument=function(e){if(!o._isSSR&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.tiny=0]="tiny",e[e.extraExtraSmall=1]="extraExtraSmall",e[e.extraSmall=2]="extraSmall",e[e.small=3]="small",e[e.regular=4]="regular",e[e.large=5]="large",e[e.extraLarge=6]="extraLarge",e[e.size8=17]="size8",e[e.size10=9]="size10",e[e.size16=8]="size16",e[e.size24=10]="size24",e[e.size28=7]="size28",e[e.size32=11]="size32",e[e.size40=12]="size40",e[e.size48=13]="size48",e[e.size56=16]="size56",e[e.size72=14]="size72",e[e.size100=15]="size100",e[e.size120=18]="size120"}(t.PersonaSize||(t.PersonaSize={})),function(e){e[e.none=0]="none",e[e.offline=1]="offline",e[e.online=2]="online",e[e.away=3]="away",e[e.dnd=4]="dnd",e[e.blocked=5]="blocked",e[e.busy=6]="busy"}(t.PersonaPresence||(t.PersonaPresence={})),function(e){e[e.lightBlue=0]="lightBlue",e[e.blue=1]="blue",e[e.darkBlue=2]="darkBlue",e[e.teal=3]="teal",e[e.lightGreen=4]="lightGreen",e[e.green=5]="green",e[e.darkGreen=6]="darkGreen",e[e.lightPink=7]="lightPink",e[e.pink=8]="pink",e[e.magenta=9]="magenta",e[e.purple=10]="purple",e[e.black=11]="black",e[e.orange=12]="orange",e[e.red=13]="red",e[e.darkRed=14]="darkRed",e[e.transparent=15]="transparent",e[e.violet=16]="violet",e[e.lightRed=17]="lightRed",e[e.gold=18]="gold",e[e.burgundy=19]="burgundy",e[e.warmGray=20]="warmGray",e[e.coolGray=21]="coolGray",e[e.gray=22]="gray",e[e.cyan=23]="cyan",e[e.rust=24]="rust"}(t.PersonaInitialsColor||(t.PersonaInitialsColor={}))},function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0});var r=n(41);!function(e){e.size8="20px",e.size10="20px",e.size16="16px",e.size24="24px",e.size28="28px",e.size32="32px",e.size40="40px",e.size48="48px",e.size56="56px",e.size72="72px",e.size100="100px",e.size120="120px"}(t.personaSize||(t.personaSize={})),function(e){e.size6="6px",e.size8="8px",e.size12="12px",e.size16="16px",e.size20="20px",e.size28="28px",e.size32="32px",e.border="2px"}(t.personaPresenceSize||(t.personaPresenceSize={})),t.sizeBoolean=function(e){return{isSize8:e===r.PersonaSize.size8,isSize10:e===r.PersonaSize.size10||e===r.PersonaSize.tiny,isSize16:e===r.PersonaSize.size16,isSize24:e===r.PersonaSize.size24||e===r.PersonaSize.extraExtraSmall,isSize28:e===r.PersonaSize.size28||e===r.PersonaSize.extraSmall,isSize32:e===r.PersonaSize.size32,isSize40:e===r.PersonaSize.size40||e===r.PersonaSize.small,isSize48:e===r.PersonaSize.size48||e===r.PersonaSize.regular,isSize56:e===r.PersonaSize.size56,isSize72:e===r.PersonaSize.size72||e===r.PersonaSize.large,isSize100:e===r.PersonaSize.size100||e===r.PersonaSize.extraLarge,isSize120:e===r.PersonaSize.size120}},t.sizeToPixels=((o={})[r.PersonaSize.tiny]=10,o[r.PersonaSize.extraExtraSmall]=24,o[r.PersonaSize.extraSmall]=28,o[r.PersonaSize.small]=40,o[r.PersonaSize.regular]=48,o[r.PersonaSize.large]=72,o[r.PersonaSize.extraLarge]=100,o[r.PersonaSize.size8]=8,o[r.PersonaSize.size10]=10,o[r.PersonaSize.size16]=16,o[r.PersonaSize.size24]=24,o[r.PersonaSize.size28]=28,o[r.PersonaSize.size32]=32,o[r.PersonaSize.size40]=40,o[r.PersonaSize.size48]=48,o[r.PersonaSize.size56]=56,o[r.PersonaSize.size72]=72,o[r.PersonaSize.size100]=100,o[r.PersonaSize.size120]=120,o),t.presenceBoolean=function(e){return{isAvailable:e===r.PersonaPresence.online,isAway:e===r.PersonaPresence.away,isBlocked:e===r.PersonaPresence.blocked,isBusy:e===r.PersonaPresence.busy,isDoNotDisturb:e===r.PersonaPresence.dnd,isOffline:e===r.PersonaPresence.offline}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(595),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(5),a=n(14),l=n(74),c=n(76),u=n(641),d=n(22),p=function(e){function t(t){var n=e.call(this,t)||this;return n._buttonElement=r.createRef(),n._splitButtonContainer=r.createRef(),n._renderedVisibleMenu=!1,n._getMemoizedMenuButtonKeytipProps=i.memoizeFunction((function(e){return o.__assign(o.__assign({},e),{hasMenu:!0})})),n._onRenderIcon=function(e,t){var a=n.props.iconProps;if(a&&(void 0!==a.iconName||a.imageProps)){var l=a.className,c=a.imageProps,u=o.__rest(a,["className","imageProps"]);if(a.styles)return r.createElement(s.Icon,o.__assign({className:i.css(n._classNames.icon,l),imageProps:c},u));if(a.iconName)return r.createElement(s.FontIcon,o.__assign({className:i.css(n._classNames.icon,l)},u));if(c)return r.createElement(s.ImageIcon,o.__assign({className:i.css(n._classNames.icon,l),imageProps:c},u))}return null},n._onRenderTextContents=function(){var e=n.props,t=e.text,o=e.children,i=e.secondaryText,s=void 0===i?n.props.description:i,a=e.onRenderText,l=void 0===a?n._onRenderText:a,c=e.onRenderDescription,u=void 0===c?n._onRenderDescription:c;return t||"string"==typeof o||s?r.createElement("span",{className:n._classNames.textContainer},l(n.props,n._onRenderText),u(n.props,n._onRenderDescription)):[l(n.props,n._onRenderText),u(n.props,n._onRenderDescription)]},n._onRenderText=function(){var e=n.props.text,t=n.props.children;return void 0===e&&"string"==typeof t&&(e=t),n._hasText()?r.createElement("span",{key:n._labelId,className:n._classNames.label,id:n._labelId},e):null},n._onRenderChildren=function(){var e=n.props.children;return"string"==typeof e?null:e},n._onRenderDescription=function(e){var t=e.secondaryText,o=void 0===t?n.props.description:t;return o?r.createElement("span",{key:n._descriptionId,className:n._classNames.description,id:n._descriptionId},o):null},n._onRenderAriaDescription=function(){var e=n.props.ariaDescription;return e?r.createElement("span",{className:n._classNames.screenReaderText,id:n._ariaDescriptionId},e):null},n._onRenderMenuIcon=function(e){var t=n.props.menuIconProps;return r.createElement(s.FontIcon,o.__assign({iconName:"ChevronDown"},t,{className:n._classNames.menuIcon}))},n._onRenderMenu=function(e){var t=n.props.persistMenu,s=n.state.menuHidden,c=n.props.menuAs||l.ContextualMenu;return e.ariaLabel||e.labelElementId||!n._hasText()||(e=o.__assign(o.__assign({},e),{labelElementId:n._labelId})),r.createElement(c,o.__assign({id:n._labelId+"-menu",directionalHint:a.DirectionalHint.bottomLeftEdge},e,{shouldFocusOnContainer:n._menuShouldFocusOnContainer,shouldFocusOnMount:n._menuShouldFocusOnMount,hidden:t?s:void 0,className:i.css("ms-BaseButton-menuhost",e.className),target:n._isSplitButton?n._splitButtonContainer.current:n._buttonElement.current,onDismiss:n._onDismissMenu}))},n._onDismissMenu=function(e){var t=n.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||n._dismissMenu()},n._dismissMenu=function(){n._menuShouldFocusOnMount=void 0,n._menuShouldFocusOnContainer=void 0,n.setState({menuHidden:!0})},n._openMenu=function(e,t){void 0===t&&(t=!0),n.props.menuProps&&(n._menuShouldFocusOnContainer=e,n._menuShouldFocusOnMount=t,n._renderedVisibleMenu=!0,n.setState({menuHidden:!1}))},n._onToggleMenu=function(e){var t=!0;n.props.menuProps&&!1===n.props.menuProps.shouldFocusOnMount&&(t=!1),n.state.menuHidden?n._openMenu(e,t):n._dismissMenu()},n._onSplitContainerFocusCapture=function(e){var t=n._splitButtonContainer.current;!t||e.target&&i.portalContainsElement(e.target,t)||t.focus()},n._onSplitButtonPrimaryClick=function(e){n.state.menuHidden||n._dismissMenu(),!n._processingTouch&&n.props.onClick?n.props.onClick(e):n._processingTouch&&n._onMenuClick(e)},n._onKeyDown=function(e){!n.props.disabled||e.which!==i.KeyCodes.enter&&e.which!==i.KeyCodes.space?n.props.disabled||(n.props.menuProps?n._onMenuKeyDown(e):void 0!==n.props.onKeyDown&&n.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},n._onKeyUp=function(e){n.props.disabled||void 0===n.props.onKeyUp||n.props.onKeyUp(e)},n._onKeyPress=function(e){n.props.disabled||void 0===n.props.onKeyPress||n.props.onKeyPress(e)},n._onMouseUp=function(e){n.props.disabled||void 0===n.props.onMouseUp||n.props.onMouseUp(e)},n._onMouseDown=function(e){n.props.disabled||void 0===n.props.onMouseDown||n.props.onMouseDown(e)},n._onClick=function(e){n.props.disabled||(n.props.menuProps?n._onMenuClick(e):void 0!==n.props.onClick&&n.props.onClick(e))},n._onSplitButtonContainerKeyDown=function(e){e.which===i.KeyCodes.enter||e.which===i.KeyCodes.space?n._buttonElement.current&&(n._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):n._onMenuKeyDown(e)},n._onMenuKeyDown=function(e){if(!n.props.disabled){n.props.onKeyDown&&n.props.onKeyDown(e);var t=e.which===i.KeyCodes.up,o=e.which===i.KeyCodes.down;if(!e.defaultPrevented&&n._isValidMenuOpenKey(e)){var r=n.props.onMenuClick;r&&r(e,n.props),n._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}if(!e.altKey&&!e.metaKey&&(t||o))if(!n.state.menuHidden&&n.props.menuProps)(void 0!==n._menuShouldFocusOnMount?n._menuShouldFocusOnMount:n.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),n._menuShouldFocusOnMount=!0,n.forceUpdate())}},n._onTouchStart=function(){n._isSplitButton&&n._splitButtonContainer.current&&!("onpointerdown"in n._splitButtonContainer.current)&&n._handleTouchAndPointerEvent()},n._onMenuClick=function(e){var t=n.props.onMenuClick;if(t&&t(e,n.props),!e.defaultPrevented){var o=0!==e.nativeEvent.detail||"mouse"===e.nativeEvent.pointerType;n._onToggleMenu(o),e.preventDefault(),e.stopPropagation()}},i.initializeComponentRef(n),n._async=new i.Async(n),n._events=new i.EventGroup(n),i.warnConditionallyRequiredProps("BaseButton",t,["menuProps","onClick"],"split",n.props.split),i.warnDeprecations("BaseButton",t,{rootProps:void 0,description:"secondaryText",toggled:"checked"}),n._labelId=i.getId(),n._descriptionId=i.getId(),n._ariaDescriptionId=i.getId(),n.state={menuHidden:!0},n}return o.__extends(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e,t=this.props,n=t.ariaDescription,o=t.ariaLabel,r=t.ariaHidden,s=t.className,a=t.disabled,l=t.allowDisabledFocus,u=t.primaryDisabled,d=t.secondaryText,p=void 0===d?this.props.description:d,f=t.href,h=t.iconProps,m=t.menuIconProps,g=t.styles,v=t.checked,_=t.variantClassName,y=t.theme,b=t.toggle,S=t.getClassNames,C=t.role,x=this.state.menuHidden,k=a||u;this._classNames=S?S(y,s,_,h&&h.className,m&&m.className,k,v,!x,!!this.props.menuProps,this.props.split,!!l):c.getBaseButtonClassNames(y,g,s,_,h&&h.className,m&&m.className,k,!!this.props.menuProps,v,!x,this.props.split);var w=this._ariaDescriptionId,P=this._labelId,E=this._descriptionId,I=!k&&!!f,T=I?"a":"button",D=i.getNativeProps(i.assign(I?{}:{type:"button"},this.props.rootProps,this.props),I?i.anchorProperties:i.buttonProperties,["disabled"]),M=o||D["aria-label"],O=void 0;n?O=w:p&&this.props.onRenderDescription!==i.nullRender?O=E:D["aria-describedby"]&&(O=D["aria-describedby"]);var R=void 0;M||(D["aria-labelledby"]?R=D["aria-labelledby"]:O&&(R=this._hasText()?P:void 0));var N=!(!1===this.props["data-is-focusable"]||a&&!l||this._isSplitButton),F="menuitemcheckbox"===C||"checkbox"===C,A=F||!0===b?!!v:void 0,B=i.assign(D,((e={className:this._classNames.root,ref:this._buttonElement,disabled:k&&!l,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":M,"aria-labelledby":R,"aria-describedby":O,"aria-disabled":k,"data-is-focusable":N})[F?"aria-checked":"aria-pressed"]=A,e));return r&&(B["aria-hidden"]=!0),this._isSplitButton?this._onRenderSplitButtonContent(T,B):(this.props.menuProps&&i.assign(B,{"aria-expanded":!x,"aria-owns":x?null:this._labelId+"-menu","aria-haspopup":!0}),this._onRenderContent(T,B))},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.focus=function(){this._isSplitButton&&this._splitButtonContainer.current?this._splitButtonContainer.current.focus():this._buttonElement.current&&this._buttonElement.current.focus()},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(e,t){this._openMenu(e,t)},t.prototype._onRenderContent=function(e,t){var n=this,s=this.props,a=e,l=s.menuIconProps,c=s.menuProps,u=s.onRenderIcon,p=void 0===u?this._onRenderIcon:u,f=s.onRenderAriaDescription,h=void 0===f?this._onRenderAriaDescription:f,m=s.onRenderChildren,g=void 0===m?this._onRenderChildren:m,v=s.onRenderMenu,_=void 0===v?this._onRenderMenu:v,y=s.onRenderMenuIcon,b=void 0===y?this._onRenderMenuIcon:y,S=s.disabled,C=s.keytipProps;C&&c&&(C=this._getMemoizedMenuButtonKeytipProps(C));var x=function(e){return r.createElement(a,o.__assign({},t,e),r.createElement("span",{className:n._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},p(s,n._onRenderIcon),n._onRenderTextContents(),h(s,n._onRenderAriaDescription),g(s,n._onRenderChildren),!n._isSplitButton&&(c||l||n.props.onRenderMenuIcon)&&b(n.props,n._onRenderMenuIcon),c&&!c.doNotLayer&&n._shouldRenderMenu()&&_(c,n._onRenderMenu)))},k=C?r.createElement(d.KeytipData,{keytipProps:this._isSplitButton?void 0:C,ariaDescribedBy:t["aria-describedby"],disabled:S},(function(e){return x(e)})):x();return c&&c.doNotLayer?r.createElement("span",{style:{display:"inline-block"}},k,this._shouldRenderMenu()&&_(c,this._onRenderMenu)):r.createElement(r.Fragment,null,k,r.createElement(i.FocusRects,null))},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,n=t.persistMenu,o=t.renderPersistedMenuHiddenOnMount;return!e||!(!n||!this._renderedVisibleMenu&&!o)},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._onRenderSplitButtonContent=function(e,t){var n=this,s=this.props,a=s.styles,l=void 0===a?{}:a,c=s.disabled,p=s.allowDisabledFocus,f=s.checked,h=s.getSplitButtonClassNames,m=s.primaryDisabled,g=s.menuProps,v=s.toggle,_=s.role,y=s.primaryActionButtonProps,b=this.props.keytipProps,S=this.state.menuHidden,C=h?h(!!c,!S,!!f,!!p):l&&u.getClassNames(l,!!c,!S,!!f,!!m);i.assign(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1});var x=t.ariaDescription;b&&g&&(b=this._getMemoizedMenuButtonKeytipProps(b));var k=i.getNativeProps(t,[],["disabled"]);y&&i.assign(t,y);var w=function(s){return r.createElement("div",o.__assign({},k,{"data-ktp-target":s?s["data-ktp-target"]:void 0,role:_||"button","aria-disabled":c,"aria-haspopup":!0,"aria-expanded":!S,"aria-pressed":v?!!f:void 0,"aria-describedby":i.mergeAriaAttributeValues(x,s?s["aria-describedby"]:void 0),className:C&&C.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:c||m?void 0:n._onSplitButtonPrimaryClick,tabIndex:!c||p?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),r.createElement("span",{style:{display:"flex"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(C,s),n._onRenderSplitButtonDivider(C)))};return b?r.createElement(d.KeytipData,{keytipProps:b,disabled:c},(function(e){return w(e)})):w()},t.prototype._onRenderSplitButtonDivider=function(e){if(e&&e.divider){return r.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}})}return null},t.prototype._onRenderSplitButtonMenuButton=function(e,n){var i=this.props,s=i.allowDisabledFocus,a=i.checked,l=i.disabled,c=i.splitButtonMenuProps,u=i.splitButtonAriaLabel,d=this.state.menuHidden,p=this.props.menuIconProps;void 0===p&&(p={iconName:"ChevronDown"});var f=o.__assign(o.__assign({},c),{styles:e,checked:a,disabled:l,allowDisabledFocus:s,onClick:this._onMenuClick,menuProps:void 0,iconProps:o.__assign(o.__assign({},p),{className:this._classNames.menuIcon}),ariaLabel:u,"aria-haspopup":!0,"aria-expanded":!d,"data-is-focusable":!1});return r.createElement(t,o.__assign({},f,{"data-ktp-execute-target":n?n["data-ktp-execute-target"]:n,onMouseDown:this._onMouseDown,tabIndex:-1}))},t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0,e.focus()}),500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&(e.which===i.KeyCodes.down&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t}(r.Component);t.BaseButton=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(3),i={outline:0},s=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}};t.getStyles=o.memoizeFunction((function(e){var t,n=e.semanticColors,o=e.effects,a=e.fonts,l=n.buttonBorder,c=n.disabledBackground,u=n.disabledText,d={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"};return{root:[r.getFocusStyle(e,{inset:1,highContrastStyle:d,borderColor:"transparent"}),e.fonts.medium,{boxSizing:"border-box",border:"1px solid "+l,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",padding:"0 16px",borderRadius:o.roundedCorner2,selectors:{":active > *":{position:"relative",left:0,top:0}}}],rootDisabled:[r.getFocusStyle(e,{inset:1,highContrastStyle:d,borderColor:"transparent"}),{backgroundColor:c,borderColor:c,color:u,cursor:"default",pointerEvents:"none",selectors:(t={":hover":i,":focus":i},t[r.HighContrastSelector]={color:"grayText",borderColor:"grayText"},t)}],iconDisabled:{color:u},menuIconDisabled:{color:u},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:s(a.mediumPlus.fontSize),menuIcon:s(a.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:r.hiddenContentStyle}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),r=n(26);function i(e){var t=(e=r.clamp(e,o.MAX_COLOR_RGB)).toString(16);return 1===t.length?"0"+t:t}t.rgb2hex=function(e,t,n){return[i(e),i(t),i(n)].join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),r=n(120),i=n(46),s=n(48);t.getColorFromRGBA=function(e){var t=e.a,n=void 0===t?o.MAX_COLOR_ALPHA:t,a=e.b,l=e.g,c=e.r,u=r.rgb2hsv(c,l,a),d=u.h,p=u.s,f=u.v,h=i.rgb2hex(c,l,a);return{a:n,b:a,g:l,h:d,hex:h,r:c,s:p,str:s._rgbaOrHexString(c,l,a,n,h),v:f,t:o.MAX_COLOR_ALPHA-n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(10);t._rgbaOrHexString=function(e,t,n,r,i){return r===o.MAX_COLOR_ALPHA||"number"!=typeof r?"#"+i:"rgba("+e+", "+t+", "+n+", "+r/o.MAX_COLOR_ALPHA+")"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.disabled=0]="disabled",e[e.clickable=1]="clickable",e[e.hasDropdown=2]="hasDropdown"}(t.ColumnActionsMode||(t.ColumnActionsMode={})),function(e){e[e.unconstrained=0]="unconstrained",e[e.horizontalConstrained=1]="horizontalConstrained"}(t.ConstrainMode||(t.ConstrainMode={})),function(e){e[e.outside=0]="outside",e[e.surface=1]="surface",e[e.header=2]="header"}(t.ColumnDragEndLocation||(t.ColumnDragEndLocation={})),function(e){e[e.fixedColumns=0]="fixedColumns",e[e.justified=1]="justified"}(t.DetailsListLayoutMode||(t.DetailsListLayoutMode={})),function(e){e[e.onHover=0]="onHover",e[e.always=1]="always",e[e.hidden=2]="hidden"}(t.CheckboxVisibility||(t.CheckboxVisibility={}))},function(e,t,n){"use strict";var o=n(18);t.__esModule=!0;var r=o(n(442));t.Provider=r.default;var i=o(n(158));t.connectAdvanced=i.default;var s=n(35);t.ReactReduxContext=s.ReactReduxContext;var a=o(n(446));t.connect=a.default;var l=n(453);t.useDispatch=l.useDispatch,t.createDispatchHook=l.createDispatchHook;var c=n(454);t.useSelector=c.useSelector,t.createSelectorHook=c.createSelectorHook;var u=n(165);t.useStore=u.useStore,t.createStoreHook=u.createStoreHook;var d=n(157),p=n(455);t.batch=p.unstable_batchedUpdates;var f=o(n(161));t.shallowEqual=f.default,(0,d.setBatch)(p.unstable_batchedUpdates)},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);t.InjectionMode={none:0,insertNode:1,appendChild:2};var r,i="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),s={};try{s=window}catch(e){}var a=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=o.__assign({injectionMode:t.InjectionMode.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._keyToClassName=this._config.classNameCache||{}}return e.getInstance=function(){if(!(r=s.__stylesheet__)||r._lastStyleElement&&r._lastStyleElement.ownerDocument!==document){var t=s&&s.FabricConfig||{};r=s.__stylesheet__=new e(t.mergeStyles)}return r},e.prototype.setConfig=function(e){this._config=o.__assign(o.__assign({},this._config),e)},e.prototype.onReset=function(e){this._onResetCallbacks.push(e)},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,o){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:o}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,n){var o=this._config.injectionMode!==t.InjectionMode.none?this._getStyleElement():void 0;if(n&&this._preservedRules.push(e),o)switch(this._config.injectionMode){case t.InjectionMode.insertNode:var r=o.sheet;try{r.insertRule(e,r.cssRules.length)}catch(e){}break;case t.InjectionMode.appendChild:o.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")+this._rulesToInsert.join("")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),i||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style");t.setAttribute("data-merge-styles","true");var n=this._config.cspSettings;if(n&&n.nonce&&t.setAttribute("nonce",n.nonce),this._lastStyleElement)e.insertBefore(t,this._lastStyleElement.nextElementSibling);else{var o=this._findPlaceholderStyleTag();o?e.insertBefore(t,o.nextElementSibling):e.insertBefore(t,e.childNodes[0])}return this._lastStyleElement=t,t},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}();t.Stylesheet=a},function(e,t,n){"use strict";function o(){return void 0===r&&(r="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),r}var r;Object.defineProperty(t,"__esModule",{value:!0}),t.setRTL=function(e){r!==e&&(r=e)},t.getRTL=o,r=o(),t.getStyleOptions=function(){return{rtl:o()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.warn=function(e){console&&console.warn&&console.warn(e)},t.setWarningCallback=function(e){e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(191),i={settings:{},scopedSettings:{},inCustomizerContext:!1},s=r.GlobalSettings.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),a=[],l=function(){function e(){}return e.reset=function(){s.settings={},s.scopedSettings={}},e.applySettings=function(t){s.settings=o.__assign(o.__assign({},s.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,n){s.scopedSettings[t]=o.__assign(o.__assign({},s.scopedSettings[t]),n),e._raiseChange()},e.getSettings=function(e,t,n){void 0===n&&(n=i);for(var o={},r=t&&n.scopedSettings[t]||{},a=t&&s.scopedSettings[t]||{},l=0,c=e;l=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e,t){return function(n,o){t(n,o,e)}},c=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},u=function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function s(e){try{l(o.next(e))}catch(e){i(e)}}function a(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((o=o.apply(e,t||[])).next())}))},d=function(e,t){var n,o,r,i,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((r=(r=s.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return s},m=function(){for(var e=[],t=0;t1||a(e,t)}))})}function a(e,t){try{(n=r[e](t)).value instanceof v?Promise.resolve(n.value.v).then(l,c):u(i[0][2],n)}catch(e){u(i[0][3],e)}var n}function l(e){a("next",e)}function c(e){a("throw",e)}function u(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}},y=function(e){var t,n;return t={},o("next"),o("throw",(function(e){throw e})),o("return"),t[Symbol.iterator]=function(){return this},t;function o(o,r){t[o]=e[o]?function(t){return(n=!n)?{value:v(e[o](t)),done:"return"===o}:r?r(t):t}:r}},b=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(t){return new Promise((function(o,r){!function(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}(o,r,(t=e[n](t)).done,t.value)}))}}},S=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},C=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},x=function(e){return e&&e.__esModule?e:{default:e}},k=function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},w=function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n},t("__extends",r),t("__assign",i),t("__rest",s),t("__decorate",a),t("__param",l),t("__metadata",c),t("__awaiter",u),t("__generator",d),t("__exportStar",p),t("__values",f),t("__read",h),t("__spread",m),t("__spreadArrays",g),t("__await",v),t("__asyncGenerator",_),t("__asyncDelegator",y),t("__asyncValues",b),t("__makeTemplateObject",S),t("__importStar",C),t("__importDefault",x),t("__classPrivateFieldGet",k),t("__classPrivateFieldSet",w)}.apply(t,[t]))||(e.exports=o)}()}).call(this,n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);n(65),o.__exportStar(n(6),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);n(65),o.__exportStar(n(7),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);n(486),o.__exportStar(n(488),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(231),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(185),t),o.__exportStar(n(506),t),o.__exportStar(n(507),t),o.__exportStar(n(508),t),o.__exportStar(n(67),t),o.__exportStar(n(509),t),o.__exportStar(n(192),t),o.__exportStar(n(96),t),o.__exportStar(n(510),t),o.__exportStar(n(193),t),o.__exportStar(n(511),t),o.__exportStar(n(512),t),o.__exportStar(n(513),t),o.__exportStar(n(514),t),o.__exportStar(n(515),t),o.__exportStar(n(522),t),o.__exportStar(n(200),t),o.__exportStar(n(523),t),o.__exportStar(n(55),t),o.__exportStar(n(524),t),o.__exportStar(n(69),t),o.__exportStar(n(525),t),o.__exportStar(n(526),t),o.__exportStar(n(201),t),o.__exportStar(n(202),t),o.__exportStar(n(195),t),o.__exportStar(n(70),t),o.__exportStar(n(527),t),o.__exportStar(n(204),t),o.__exportStar(n(528),t),o.__exportStar(n(529),t),o.__exportStar(n(203),t),o.__exportStar(n(530),t),o.__exportStar(n(531),t),o.__exportStar(n(532),t),o.__exportStar(n(533),t),o.__exportStar(n(100),t),o.__exportStar(n(534),t),o.__exportStar(n(536),t),o.__exportStar(n(99),t),o.__exportStar(n(537),t),o.__exportStar(n(538),t),o.__exportStar(n(539),t);var r=n(186);t.assign=r.assign,t.filteredAssign=r.filteredAssign,t.mapEnumByName=r.mapEnumByName,t.shallowCompare=r.shallowCompare,t.values=r.values,o.__exportStar(n(540),t),o.__exportStar(n(541),t),o.__exportStar(n(205),t),o.__exportStar(n(542),t),o.__exportStar(n(543),t),o.__exportStar(n(194),t),o.__exportStar(n(544),t),o.__exportStar(n(545),t),o.__exportStar(n(187),t),o.__exportStar(n(546),t),o.__exportStar(n(548),t),o.__exportStar(n(549),t),o.__exportStar(n(550),t),o.__exportStar(n(552),t),o.__exportStar(n(553),t);var i=n(101);t.setFocusVisibility=i.setFocusVisibility,t.IsFocusVisibleClassName=i.IsFocusVisibleClassName;var s=n(95);t.setSSR=s.setSSR,n(554)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(493),t),o.__exportStar(n(102),t),o.__exportStar(n(180),t),o.__exportStar(n(182),t),n(568),n(211).initializeThemeInCustomizations()},function(e,t,n){"use strict";e.exports=n(434)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(627),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_COLOR_SATURATION=100,t.MAX_COLOR_HUE=359,t.MAX_COLOR_VALUE=100,t.MAX_COLOR_RGB=255,t.MAX_COLOR_RGBA=t.MAX_COLOR_RGB,t.MAX_COLOR_ALPHA=100,t.MIN_HEX_LENGTH=3,t.MAX_HEX_LENGTH=6,t.MIN_RGBA_LENGTH=1,t.MAX_RGBA_LENGTH=3,t.HEX_REGEX=/^[\da-f]{0,6}$/i,t.RGBA_REGEX=/^\d{0,3}$/},function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=((o=n(457))&&o.__esModule?o:{default:o}).default;t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(605),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(495);t.mergeStyles=r.mergeStyles,t.mergeCss=r.mergeCss;var i=n(501);t.mergeStyleSets=i.mergeStyleSets,t.mergeCssSets=i.mergeCssSets;var s=n(94);t.concatStyleSets=s.concatStyleSets;var a=n(502);t.concatStyleSetsWithProps=a.concatStyleSetsWithProps;var l=n(503);t.fontFace=l.fontFace;var c=n(504);t.keyframes=c.keyframes,o.__exportStar(n(52),t);var u=n(53);t.setRTL=u.setRTL,n(505)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionalHint={topLeftEdge:0,topCenter:1,topRightEdge:2,topAutoEdge:3,bottomLeftEdge:4,bottomCenter:5,bottomRightEdge:6,bottomAutoEdge:7,leftTopEdge:8,leftCenter:9,leftBottomEdge:10,rightTopEdge:11,rightCenter:12,rightBottomEdge:13}},function(e,t,n){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),s=o(n(16)),a=n(156),l=function(){return(l=Object.assign||function(e){for(var t,n=1,o=arguments.length;n0&&u(t)}))}function u(e,t){i.loadStyles?i.loadStyles(f(e).styleString,e):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),o=f(e),s=o.styleString,a=o.themable;n.setAttribute("data-load-themed-styles","true"),r&&n.setAttribute("nonce",r);n.appendChild(document.createTextNode(s)),i.perf.count++,t.appendChild(n);var l=document.createEvent("HTMLEvents");l.initEvent("styleinsert",!0,!1),l.args={newStyle:n},document.dispatchEvent(l);var c={styleElement:n,themableStyle:e};a?i.registeredThemableStyles.push(c):i.registeredStyles.push(c)}(e)}function d(e){void 0===e&&(e=3),3!==e&&2!==e||(p(i.registeredStyles),i.registeredStyles=[]),3!==e&&1!==e||(p(i.registeredThemableStyles),i.registeredThemableStyles=[])}function p(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function f(e){var t=i.theme,n=!1;return{styleString:(e||[]).map((function(e){var o=e.theme;if(o){n=!0;var r=t?t[o]:void 0,i=e.defaultValue||"inherit";return t&&!r&&console&&!(o in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'+o+'". Falling back to "'+i+'".'),r||i}return e.rawString})).join(""),themable:n}}function h(e){var t=[];if(e){for(var n=0,o=void 0;o=s.exec(e);){var r=o.index;r>n&&t.push({rawString:e.substring(n,r)}),t.push({theme:o[1],defaultValue:o[2]}),n=s.lastIndex}t.push({rawString:e.substring(n)})}return t}t.loadStyles=function(e,t){void 0===t&&(t=!1),l((function(){var n=Array.isArray(e)?e:h(e),o=i.runState,r=o.mode,s=o.buffer,a=o.flushTimer;t||1===r?(s.push(n),a||(i.runState.flushTimer=setTimeout((function(){i.runState.flushTimer=0,c()}),0))):u(n)}))},t.configureLoadStyles=function(e){i.loadStyles=e},t.configureRunMode=function(e){i.runState.mode=e},t.flush=c,t.loadTheme=function(e){i.theme=e,function(){if(i.theme){for(var e=[],t=0,n=i.registeredThemableStyles;t0&&(d(1),u([].concat.apply([],e)))}}()},t.clearStyles=d,t.detokenize=function(e){return e&&(e=f(h(e)).styleString),e},t.splitStyles=h}).call(this,n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(216),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(611),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(3),i=n(2);t.DetailsRowGlobalClassNames={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"};t.DEFAULT_CELL_STYLE_PROPS={cellLeftPadding:12,cellRightPadding:8,cellExtraRightPadding:24},t.DEFAULT_ROW_HEIGHTS={rowHeight:42,compactRowHeight:32};var s=o.__assign(o.__assign({},t.DEFAULT_ROW_HEIGHTS),{rowVerticalPadding:11,compactRowVerticalPadding:6});t.getStyles=function(e){var n,o,a,l,c,u,d,p,f,h,m,g,v=e.theme,_=e.isSelected,y=e.canSelect,b=e.droppingClassName,S=e.anySelected,C=e.isCheckVisible,x=e.checkboxCellClassName,k=e.compact,w=e.className,P=e.cellStyleProps,E=void 0===P?t.DEFAULT_CELL_STYLE_PROPS:P,I=e.enableUpdateAnimations,T=v.palette,D=v.fonts,M=T.neutralPrimary,O=T.white,R=T.neutralSecondary,N=T.neutralLighter,F=T.neutralLight,A=T.neutralDark,B=T.neutralQuaternaryAlt,L=v.semanticColors.focusBorder,H=r.getGlobalClassNames(t.DetailsRowGlobalClassNames,v),z={defaultHeaderText:M,defaultMetaText:R,defaultBackground:O,defaultHoverHeaderText:A,defaultHoverMetaText:M,defaultHoverBackground:N,selectedHeaderText:A,selectedMetaText:M,selectedBackground:F,selectedHoverHeaderText:A,selectedHoverMetaText:M,selectedHoverBackground:B,focusHeaderText:A,focusMetaText:M,focusBackground:F,focusHoverBackground:B},j=[r.getFocusStyle(v,{inset:-1,borderColor:L,outlineColor:O}),H.isSelected,{color:z.selectedMetaText,background:z.selectedBackground,borderBottom:"1px solid "+O,selectors:(n={"&:before":{position:"absolute",display:"block",top:-1,height:1,bottom:0,left:0,right:0,content:"",borderTop:"1px solid "+O},"&:hover":{background:z.selectedHoverBackground,color:z.selectedHoverMetaText,selectors:(o={},o["."+H.cell+" "+r.HighContrastSelector]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},o["."+H.isRowHeader]={color:z.selectedHoverHeaderText,selectors:(a={},a[r.HighContrastSelector]={color:"HighlightText"},a)},o[r.HighContrastSelector]={background:"Highlight"},o)},"&:focus":{background:z.focusBackground,selectors:(l={},l["."+H.cell]={color:z.focusMetaText,selectors:(c={},c[r.HighContrastSelector]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},c)},l["."+H.isRowHeader]={color:z.focusHeaderText,selectors:(u={},u[r.HighContrastSelector]={color:"HighlightText"},u)},l[r.HighContrastSelector]={background:"Highlight"},l)}},n[r.HighContrastSelector]={background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none",selectors:{a:{color:"HighlightText"}}},n["&:focus:hover"]={background:z.focusHoverBackground},n)}],W=[H.isContentUnselectable,{userSelect:"none",cursor:"default"}],V={minHeight:s.compactRowHeight,border:0},K={minHeight:s.compactRowHeight,paddingTop:s.compactRowVerticalPadding,paddingBottom:s.compactRowVerticalPadding,paddingLeft:E.cellLeftPadding+"px"},U=[r.getFocusStyle(v,{inset:-1}),H.cell,{display:"inline-block",position:"relative",boxSizing:"border-box",minHeight:s.rowHeight,verticalAlign:"top",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:s.rowVerticalPadding,paddingBottom:s.rowVerticalPadding,paddingLeft:E.cellLeftPadding+"px",selectors:(d={"& > button":{maxWidth:"100%"}},d["[data-is-focusable='true']"]=r.getFocusStyle(v,{inset:-1,borderColor:R,outlineColor:O}),d)},_&&{selectors:(p={},p[r.HighContrastSelector]={background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none",selectors:{a:{color:"HighlightText"}}},p)},k&&K];return{root:[H.root,r.AnimationClassNames.fadeIn400,b,v.fonts.small,C&&H.isCheckVisible,r.getFocusStyle(v,{borderColor:L,outlineColor:O}),{borderBottom:"1px solid "+N,background:z.defaultBackground,color:z.defaultMetaText,display:"inline-flex",minWidth:"100%",minHeight:s.rowHeight,whiteSpace:"nowrap",padding:0,boxSizing:"border-box",verticalAlign:"top",textAlign:"left",selectors:(f={},f["."+H.listCellFirstChild+" &:before"]={display:"none"},f["&:hover"]={background:z.defaultHoverBackground,color:z.defaultHoverMetaText,selectors:(h={},h["."+H.isRowHeader]={color:z.defaultHoverHeaderText},h)},f["&:hover ."+H.check]={opacity:1},f["."+i.IsFocusVisibleClassName+" &:focus ."+H.check]={opacity:1},f)},_&&j,!y&&W,k&&V,w],cellUnpadded:{paddingRight:E.cellRightPadding+"px"},cellPadded:{paddingRight:E.cellExtraRightPadding+E.cellRightPadding+"px",selectors:(m={},m["&."+H.cellCheck]={paddingRight:0},m)},cell:U,cellAnimation:I&&r.AnimationStyles.slideLeftIn40,cellMeasurer:[H.cellMeasurer,{overflow:"visible",whiteSpace:"nowrap"}],checkCell:[U,H.cellCheck,x,{padding:0,paddingTop:1,marginTop:-1,flexShrink:0}],checkCover:{position:"absolute",top:-1,left:0,bottom:0,right:0,display:S?"block":"none"},fields:[H.fields,{display:"flex",alignItems:"stretch"}],isRowHeader:[H.isRowHeader,{color:z.defaultHeaderText,fontSize:D.medium.fontSize},_&&{color:z.selectedHeaderText,fontWeight:r.FontWeights.semibold,selectors:(g={},g[r.HighContrastSelector]={color:"HighlightText"},g)}],isMultiline:[U,{whiteSpace:"normal",wordBreak:"break-word",textOverflow:"clip"}],check:[H.check]}}},function(e,t,n){var o=n(28),r=n(87);e.exports=function(e,t,n){var i=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return r(n)&&(i="leading"in n?!!n.leading:i,s="trailing"in n?!!n.trailing:s),o(e,t,{leading:i,maxWait:t,trailing:s})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(487);t.setVersion=o.setVersion,o.setVersion("@uifabric/set-version","6.0.0")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=function(e,t,n){return void 0===n&&(n=0),et?t:e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.SPACER_WIDTH=36,t.GroupSpacer=function(e){var n=e.count,r=e.indentWidth,i=n*(void 0===r?t.SPACER_WIDTH:r);return n>0?o.createElement("span",{className:"ms-GroupSpacer",style:{display:"inline-block",width:i}}):null}},function(e,t,n){var o=n(87),r=n(406),i=n(408),s=Math.max,a=Math.min;e.exports=function(e,t,n){var l,c,u,d,p,f,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function _(t){var n=l,o=c;return l=c=void 0,h=t,d=e.apply(o,n)}function y(e){return h=e,p=setTimeout(S,t),m?_(e):d}function b(e){var n=e-f;return void 0===f||n>=t||n<0||g&&e-h>=u}function S(){var e=r();if(b(e))return C(e);p=setTimeout(S,function(e){var n=t-(e-f);return g?a(n,u-(e-h)):n}(e))}function C(e){return p=void 0,v&&l?_(e):(l=c=void 0,d)}function x(){var e=r(),n=b(e);if(l=arguments,c=this,f=e,n){if(void 0===p)return y(f);if(g)return clearTimeout(p),p=setTimeout(S,t),_(f)}return void 0===p&&(p=setTimeout(S,t)),d}return t=i(t)||0,o(n)&&(m=!!n.leading,u=(g="maxWait"in n)?s(i(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),x.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=f=c=p=void 0},x.flush=function(){return void 0===p?d:C(r())},x}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(212),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(669),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(10);t.hsv2rgb=function(e,t,n){var r=[],i=(n/=100)*(t/=100),s=e/60,a=i*(1-Math.abs(s%2-1)),l=n-i;switch(Math.floor(s)){case 0:r=[i,a,0];break;case 1:r=[a,i,0];break;case 2:r=[0,i,a];break;case 3:r=[0,a,i];break;case 4:r=[a,0,i];break;case 5:r=[i,0,a]}return{r:Math.round(o.MAX_COLOR_RGB*(r[0]+l)),g:Math.round(o.MAX_COLOR_RGB*(r[1]+l)),b:Math.round(o.MAX_COLOR_RGB*(r[2]+l))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(61),t),o.__exportStar(n(719),t),o.__exportStar(n(720),t)},function(e,t){var n,o,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(e){o=s}}();var l,c=[],u=!1,d=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&f())}function f(){if(!u){var e=a(p);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d1)for(var n=1;nd[t];)t++}catch(e){t=c||u||o.large}u=t}else{if(void 0===c)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=c}return t}t.setResponsiveMode=function(e){c=e},t.initializeResponsiveMode=function(e){"undefined"!=typeof window&&p(e&&l.getWindow(e)||window)},t.withResponsiveMode=function(e){var t=function(t){function n(e){var n=t.call(this,e)||this;return n._onResize=function(){var e=s.findDOMNode(n),t=p(e&&l.getWindow(e)||window);t!==n.state.responsiveMode&&n.setState({responsiveMode:t})},n._events=new l.EventGroup(n),n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n.state={responsiveMode:c||u||o.large},n}return r.__extends(n,t),n.prototype.componentDidMount=function(){this._events.on(window,"resize",this._onResize),this._onResize()},n.prototype.componentWillUnmount=function(){this._events.dispose()},n.prototype.render=function(){var t=this.state.responsiveMode;return t===o.unknown?null:i.createElement(e,r.__assign({ref:this._updateComposedComponentRef,responsiveMode:t},this.props))},n}(a.BaseDecorator);return l.hoistStatics(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(118),i=n(47);t.getColorFromString=function(e){var t=r.cssColor(e);if(t)return o.__assign(o.__assign({},i.getColorFromRGBA(t)),{str:e})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(95);t.getDocument=function(e){if(!o._isSSR&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.tiny=0]="tiny",e[e.extraExtraSmall=1]="extraExtraSmall",e[e.extraSmall=2]="extraSmall",e[e.small=3]="small",e[e.regular=4]="regular",e[e.large=5]="large",e[e.extraLarge=6]="extraLarge",e[e.size8=17]="size8",e[e.size10=9]="size10",e[e.size16=8]="size16",e[e.size24=10]="size24",e[e.size28=7]="size28",e[e.size32=11]="size32",e[e.size40=12]="size40",e[e.size48=13]="size48",e[e.size56=16]="size56",e[e.size72=14]="size72",e[e.size100=15]="size100",e[e.size120=18]="size120"}(t.PersonaSize||(t.PersonaSize={})),function(e){e[e.none=0]="none",e[e.offline=1]="offline",e[e.online=2]="online",e[e.away=3]="away",e[e.dnd=4]="dnd",e[e.blocked=5]="blocked",e[e.busy=6]="busy"}(t.PersonaPresence||(t.PersonaPresence={})),function(e){e[e.lightBlue=0]="lightBlue",e[e.blue=1]="blue",e[e.darkBlue=2]="darkBlue",e[e.teal=3]="teal",e[e.lightGreen=4]="lightGreen",e[e.green=5]="green",e[e.darkGreen=6]="darkGreen",e[e.lightPink=7]="lightPink",e[e.pink=8]="pink",e[e.magenta=9]="magenta",e[e.purple=10]="purple",e[e.black=11]="black",e[e.orange=12]="orange",e[e.red=13]="red",e[e.darkRed=14]="darkRed",e[e.transparent=15]="transparent",e[e.violet=16]="violet",e[e.lightRed=17]="lightRed",e[e.gold=18]="gold",e[e.burgundy=19]="burgundy",e[e.warmGray=20]="warmGray",e[e.coolGray=21]="coolGray",e[e.gray=22]="gray",e[e.cyan=23]="cyan",e[e.rust=24]="rust"}(t.PersonaInitialsColor||(t.PersonaInitialsColor={}))},function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0});var r=n(41);!function(e){e.size8="20px",e.size10="20px",e.size16="16px",e.size24="24px",e.size28="28px",e.size32="32px",e.size40="40px",e.size48="48px",e.size56="56px",e.size72="72px",e.size100="100px",e.size120="120px"}(t.personaSize||(t.personaSize={})),function(e){e.size6="6px",e.size8="8px",e.size12="12px",e.size16="16px",e.size20="20px",e.size28="28px",e.size32="32px",e.border="2px"}(t.personaPresenceSize||(t.personaPresenceSize={})),t.sizeBoolean=function(e){return{isSize8:e===r.PersonaSize.size8,isSize10:e===r.PersonaSize.size10||e===r.PersonaSize.tiny,isSize16:e===r.PersonaSize.size16,isSize24:e===r.PersonaSize.size24||e===r.PersonaSize.extraExtraSmall,isSize28:e===r.PersonaSize.size28||e===r.PersonaSize.extraSmall,isSize32:e===r.PersonaSize.size32,isSize40:e===r.PersonaSize.size40||e===r.PersonaSize.small,isSize48:e===r.PersonaSize.size48||e===r.PersonaSize.regular,isSize56:e===r.PersonaSize.size56,isSize72:e===r.PersonaSize.size72||e===r.PersonaSize.large,isSize100:e===r.PersonaSize.size100||e===r.PersonaSize.extraLarge,isSize120:e===r.PersonaSize.size120}},t.sizeToPixels=((o={})[r.PersonaSize.tiny]=10,o[r.PersonaSize.extraExtraSmall]=24,o[r.PersonaSize.extraSmall]=28,o[r.PersonaSize.small]=40,o[r.PersonaSize.regular]=48,o[r.PersonaSize.large]=72,o[r.PersonaSize.extraLarge]=100,o[r.PersonaSize.size8]=8,o[r.PersonaSize.size10]=10,o[r.PersonaSize.size16]=16,o[r.PersonaSize.size24]=24,o[r.PersonaSize.size28]=28,o[r.PersonaSize.size32]=32,o[r.PersonaSize.size40]=40,o[r.PersonaSize.size48]=48,o[r.PersonaSize.size56]=56,o[r.PersonaSize.size72]=72,o[r.PersonaSize.size100]=100,o[r.PersonaSize.size120]=120,o),t.presenceBoolean=function(e){return{isAvailable:e===r.PersonaPresence.online,isAway:e===r.PersonaPresence.away,isBlocked:e===r.PersonaPresence.blocked,isBusy:e===r.PersonaPresence.busy,isDoNotDisturb:e===r.PersonaPresence.dnd,isOffline:e===r.PersonaPresence.offline}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(595),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(5),a=n(14),l=n(74),c=n(76),u=n(641),d=n(22),p=function(e){function t(t){var n=e.call(this,t)||this;return n._buttonElement=r.createRef(),n._splitButtonContainer=r.createRef(),n._renderedVisibleMenu=!1,n._getMemoizedMenuButtonKeytipProps=i.memoizeFunction((function(e){return o.__assign(o.__assign({},e),{hasMenu:!0})})),n._onRenderIcon=function(e,t){var a=n.props.iconProps;if(a&&(void 0!==a.iconName||a.imageProps)){var l=a.className,c=a.imageProps,u=o.__rest(a,["className","imageProps"]);if(a.styles)return r.createElement(s.Icon,o.__assign({className:i.css(n._classNames.icon,l),imageProps:c},u));if(a.iconName)return r.createElement(s.FontIcon,o.__assign({className:i.css(n._classNames.icon,l)},u));if(c)return r.createElement(s.ImageIcon,o.__assign({className:i.css(n._classNames.icon,l),imageProps:c},u))}return null},n._onRenderTextContents=function(){var e=n.props,t=e.text,o=e.children,i=e.secondaryText,s=void 0===i?n.props.description:i,a=e.onRenderText,l=void 0===a?n._onRenderText:a,c=e.onRenderDescription,u=void 0===c?n._onRenderDescription:c;return t||"string"==typeof o||s?r.createElement("span",{className:n._classNames.textContainer},l(n.props,n._onRenderText),u(n.props,n._onRenderDescription)):[l(n.props,n._onRenderText),u(n.props,n._onRenderDescription)]},n._onRenderText=function(){var e=n.props.text,t=n.props.children;return void 0===e&&"string"==typeof t&&(e=t),n._hasText()?r.createElement("span",{key:n._labelId,className:n._classNames.label,id:n._labelId},e):null},n._onRenderChildren=function(){var e=n.props.children;return"string"==typeof e?null:e},n._onRenderDescription=function(e){var t=e.secondaryText,o=void 0===t?n.props.description:t;return o?r.createElement("span",{key:n._descriptionId,className:n._classNames.description,id:n._descriptionId},o):null},n._onRenderAriaDescription=function(){var e=n.props.ariaDescription;return e?r.createElement("span",{className:n._classNames.screenReaderText,id:n._ariaDescriptionId},e):null},n._onRenderMenuIcon=function(e){var t=n.props.menuIconProps;return r.createElement(s.FontIcon,o.__assign({iconName:"ChevronDown"},t,{className:n._classNames.menuIcon}))},n._onRenderMenu=function(e){var t=n.props.persistMenu,s=n.state.menuHidden,c=n.props.menuAs||l.ContextualMenu;return e.ariaLabel||e.labelElementId||!n._hasText()||(e=o.__assign(o.__assign({},e),{labelElementId:n._labelId})),r.createElement(c,o.__assign({id:n._labelId+"-menu",directionalHint:a.DirectionalHint.bottomLeftEdge},e,{shouldFocusOnContainer:n._menuShouldFocusOnContainer,shouldFocusOnMount:n._menuShouldFocusOnMount,hidden:t?s:void 0,className:i.css("ms-BaseButton-menuhost",e.className),target:n._isSplitButton?n._splitButtonContainer.current:n._buttonElement.current,onDismiss:n._onDismissMenu}))},n._onDismissMenu=function(e){var t=n.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||n._dismissMenu()},n._dismissMenu=function(){n._menuShouldFocusOnMount=void 0,n._menuShouldFocusOnContainer=void 0,n.setState({menuHidden:!0})},n._openMenu=function(e,t){void 0===t&&(t=!0),n.props.menuProps&&(n._menuShouldFocusOnContainer=e,n._menuShouldFocusOnMount=t,n._renderedVisibleMenu=!0,n.setState({menuHidden:!1}))},n._onToggleMenu=function(e){var t=!0;n.props.menuProps&&!1===n.props.menuProps.shouldFocusOnMount&&(t=!1),n.state.menuHidden?n._openMenu(e,t):n._dismissMenu()},n._onSplitContainerFocusCapture=function(e){var t=n._splitButtonContainer.current;!t||e.target&&i.portalContainsElement(e.target,t)||t.focus()},n._onSplitButtonPrimaryClick=function(e){n.state.menuHidden||n._dismissMenu(),!n._processingTouch&&n.props.onClick?n.props.onClick(e):n._processingTouch&&n._onMenuClick(e)},n._onKeyDown=function(e){!n.props.disabled||e.which!==i.KeyCodes.enter&&e.which!==i.KeyCodes.space?n.props.disabled||(n.props.menuProps?n._onMenuKeyDown(e):void 0!==n.props.onKeyDown&&n.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},n._onKeyUp=function(e){n.props.disabled||void 0===n.props.onKeyUp||n.props.onKeyUp(e)},n._onKeyPress=function(e){n.props.disabled||void 0===n.props.onKeyPress||n.props.onKeyPress(e)},n._onMouseUp=function(e){n.props.disabled||void 0===n.props.onMouseUp||n.props.onMouseUp(e)},n._onMouseDown=function(e){n.props.disabled||void 0===n.props.onMouseDown||n.props.onMouseDown(e)},n._onClick=function(e){n.props.disabled||(n.props.menuProps?n._onMenuClick(e):void 0!==n.props.onClick&&n.props.onClick(e))},n._onSplitButtonContainerKeyDown=function(e){e.which===i.KeyCodes.enter||e.which===i.KeyCodes.space?n._buttonElement.current&&(n._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):n._onMenuKeyDown(e)},n._onMenuKeyDown=function(e){if(!n.props.disabled){n.props.onKeyDown&&n.props.onKeyDown(e);var t=e.which===i.KeyCodes.up,o=e.which===i.KeyCodes.down;if(!e.defaultPrevented&&n._isValidMenuOpenKey(e)){var r=n.props.onMenuClick;r&&r(e,n.props),n._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}if(!e.altKey&&!e.metaKey&&(t||o))if(!n.state.menuHidden&&n.props.menuProps)(void 0!==n._menuShouldFocusOnMount?n._menuShouldFocusOnMount:n.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),n._menuShouldFocusOnMount=!0,n.forceUpdate())}},n._onTouchStart=function(){n._isSplitButton&&n._splitButtonContainer.current&&!("onpointerdown"in n._splitButtonContainer.current)&&n._handleTouchAndPointerEvent()},n._onMenuClick=function(e){var t=n.props.onMenuClick;if(t&&t(e,n.props),!e.defaultPrevented){var o=0!==e.nativeEvent.detail||"mouse"===e.nativeEvent.pointerType;n._onToggleMenu(o),e.preventDefault(),e.stopPropagation()}},i.initializeComponentRef(n),n._async=new i.Async(n),n._events=new i.EventGroup(n),i.warnConditionallyRequiredProps("BaseButton",t,["menuProps","onClick"],"split",n.props.split),i.warnDeprecations("BaseButton",t,{rootProps:void 0,description:"secondaryText",toggled:"checked"}),n._labelId=i.getId(),n._descriptionId=i.getId(),n._ariaDescriptionId=i.getId(),n.state={menuHidden:!0},n}return o.__extends(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e,t=this.props,n=t.ariaDescription,o=t.ariaLabel,r=t.ariaHidden,s=t.className,a=t.disabled,l=t.allowDisabledFocus,u=t.primaryDisabled,d=t.secondaryText,p=void 0===d?this.props.description:d,f=t.href,h=t.iconProps,m=t.menuIconProps,g=t.styles,v=t.checked,_=t.variantClassName,y=t.theme,b=t.toggle,S=t.getClassNames,C=t.role,x=this.state.menuHidden,k=a||u;this._classNames=S?S(y,s,_,h&&h.className,m&&m.className,k,v,!x,!!this.props.menuProps,this.props.split,!!l):c.getBaseButtonClassNames(y,g,s,_,h&&h.className,m&&m.className,k,!!this.props.menuProps,v,!x,this.props.split);var w=this._ariaDescriptionId,P=this._labelId,E=this._descriptionId,I=!k&&!!f,T=I?"a":"button",D=i.getNativeProps(i.assign(I?{}:{type:"button"},this.props.rootProps,this.props),I?i.anchorProperties:i.buttonProperties,["disabled"]),M=o||D["aria-label"],O=void 0;n?O=w:p&&this.props.onRenderDescription!==i.nullRender?O=E:D["aria-describedby"]&&(O=D["aria-describedby"]);var R=void 0;M||(D["aria-labelledby"]?R=D["aria-labelledby"]:O&&(R=this._hasText()?P:void 0));var N=!(!1===this.props["data-is-focusable"]||a&&!l||this._isSplitButton),F="menuitemcheckbox"===C||"checkbox"===C,A=F||!0===b?!!v:void 0,B=i.assign(D,((e={className:this._classNames.root,ref:this._buttonElement,disabled:k&&!l,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":M,"aria-labelledby":R,"aria-describedby":O,"aria-disabled":k,"data-is-focusable":N})[F?"aria-checked":"aria-pressed"]=A,e));return r&&(B["aria-hidden"]=!0),this._isSplitButton?this._onRenderSplitButtonContent(T,B):(this.props.menuProps&&i.assign(B,{"aria-expanded":!x,"aria-owns":x?null:this._labelId+"-menu","aria-haspopup":!0}),this._onRenderContent(T,B))},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.focus=function(){this._isSplitButton&&this._splitButtonContainer.current?this._splitButtonContainer.current.focus():this._buttonElement.current&&this._buttonElement.current.focus()},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(e,t){this._openMenu(e,t)},t.prototype._onRenderContent=function(e,t){var n=this,s=this.props,a=e,l=s.menuIconProps,c=s.menuProps,u=s.onRenderIcon,p=void 0===u?this._onRenderIcon:u,f=s.onRenderAriaDescription,h=void 0===f?this._onRenderAriaDescription:f,m=s.onRenderChildren,g=void 0===m?this._onRenderChildren:m,v=s.onRenderMenu,_=void 0===v?this._onRenderMenu:v,y=s.onRenderMenuIcon,b=void 0===y?this._onRenderMenuIcon:y,S=s.disabled,C=s.keytipProps;C&&c&&(C=this._getMemoizedMenuButtonKeytipProps(C));var x=function(e){return r.createElement(a,o.__assign({},t,e),r.createElement("span",{className:n._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},p(s,n._onRenderIcon),n._onRenderTextContents(),h(s,n._onRenderAriaDescription),g(s,n._onRenderChildren),!n._isSplitButton&&(c||l||n.props.onRenderMenuIcon)&&b(n.props,n._onRenderMenuIcon),c&&!c.doNotLayer&&n._shouldRenderMenu()&&_(c,n._onRenderMenu)))},k=C?r.createElement(d.KeytipData,{keytipProps:this._isSplitButton?void 0:C,ariaDescribedBy:t["aria-describedby"],disabled:S},(function(e){return x(e)})):x();return c&&c.doNotLayer?r.createElement("span",{style:{display:"inline-block"}},k,this._shouldRenderMenu()&&_(c,this._onRenderMenu)):r.createElement(r.Fragment,null,k,r.createElement(i.FocusRects,null))},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,n=t.persistMenu,o=t.renderPersistedMenuHiddenOnMount;return!e||!(!n||!this._renderedVisibleMenu&&!o)},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._onRenderSplitButtonContent=function(e,t){var n=this,s=this.props,a=s.styles,l=void 0===a?{}:a,c=s.disabled,p=s.allowDisabledFocus,f=s.checked,h=s.getSplitButtonClassNames,m=s.primaryDisabled,g=s.menuProps,v=s.toggle,_=s.role,y=s.primaryActionButtonProps,b=this.props.keytipProps,S=this.state.menuHidden,C=h?h(!!c,!S,!!f,!!p):l&&u.getClassNames(l,!!c,!S,!!f,!!m);i.assign(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1});var x=t.ariaDescription;b&&g&&(b=this._getMemoizedMenuButtonKeytipProps(b));var k=i.getNativeProps(t,[],["disabled"]);y&&i.assign(t,y);var w=function(s){return r.createElement("div",o.__assign({},k,{"data-ktp-target":s?s["data-ktp-target"]:void 0,role:_||"button","aria-disabled":c,"aria-haspopup":!0,"aria-expanded":!S,"aria-pressed":v?!!f:void 0,"aria-describedby":i.mergeAriaAttributeValues(x,s?s["aria-describedby"]:void 0),className:C&&C.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:c||m?void 0:n._onSplitButtonPrimaryClick,tabIndex:!c||p?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),r.createElement("span",{style:{display:"flex"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(C,s),n._onRenderSplitButtonDivider(C)))};return b?r.createElement(d.KeytipData,{keytipProps:b,disabled:c},(function(e){return w(e)})):w()},t.prototype._onRenderSplitButtonDivider=function(e){if(e&&e.divider){return r.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}})}return null},t.prototype._onRenderSplitButtonMenuButton=function(e,n){var i=this.props,s=i.allowDisabledFocus,a=i.checked,l=i.disabled,c=i.splitButtonMenuProps,u=i.splitButtonAriaLabel,d=this.state.menuHidden,p=this.props.menuIconProps;void 0===p&&(p={iconName:"ChevronDown"});var f=o.__assign(o.__assign({},c),{styles:e,checked:a,disabled:l,allowDisabledFocus:s,onClick:this._onMenuClick,menuProps:void 0,iconProps:o.__assign(o.__assign({},p),{className:this._classNames.menuIcon}),ariaLabel:u,"aria-haspopup":!0,"aria-expanded":!d,"data-is-focusable":!1});return r.createElement(t,o.__assign({},f,{"data-ktp-execute-target":n?n["data-ktp-execute-target"]:n,onMouseDown:this._onMouseDown,tabIndex:-1}))},t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0,e.focus()}),500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&(e.which===i.KeyCodes.down&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t}(r.Component);t.BaseButton=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(3),i={outline:0},s=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}};t.getStyles=o.memoizeFunction((function(e){var t,n=e.semanticColors,o=e.effects,a=e.fonts,l=n.buttonBorder,c=n.disabledBackground,u=n.disabledText,d={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"};return{root:[r.getFocusStyle(e,{inset:1,highContrastStyle:d,borderColor:"transparent"}),e.fonts.medium,{boxSizing:"border-box",border:"1px solid "+l,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",padding:"0 16px",borderRadius:o.roundedCorner2,selectors:{":active > *":{position:"relative",left:0,top:0}}}],rootDisabled:[r.getFocusStyle(e,{inset:1,highContrastStyle:d,borderColor:"transparent"}),{backgroundColor:c,borderColor:c,color:u,cursor:"default",pointerEvents:"none",selectors:(t={":hover":i,":focus":i},t[r.HighContrastSelector]={color:"grayText",borderColor:"grayText"},t)}],iconDisabled:{color:u},menuIconDisabled:{color:u},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:s(a.mediumPlus.fontSize),menuIcon:s(a.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:r.hiddenContentStyle}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),r=n(26);function i(e){var t=(e=r.clamp(e,o.MAX_COLOR_RGB)).toString(16);return 1===t.length?"0"+t:t}t.rgb2hex=function(e,t,n){return[i(e),i(t),i(n)].join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),r=n(121),i=n(46),s=n(48);t.getColorFromRGBA=function(e){var t=e.a,n=void 0===t?o.MAX_COLOR_ALPHA:t,a=e.b,l=e.g,c=e.r,u=r.rgb2hsv(c,l,a),d=u.h,p=u.s,f=u.v,h=i.rgb2hex(c,l,a);return{a:n,b:a,g:l,h:d,hex:h,r:c,s:p,str:s._rgbaOrHexString(c,l,a,n,h),v:f,t:o.MAX_COLOR_ALPHA-n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(10);t._rgbaOrHexString=function(e,t,n,r,i){return r===o.MAX_COLOR_ALPHA||"number"!=typeof r?"#"+i:"rgba("+e+", "+t+", "+n+", "+r/o.MAX_COLOR_ALPHA+")"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.disabled=0]="disabled",e[e.clickable=1]="clickable",e[e.hasDropdown=2]="hasDropdown"}(t.ColumnActionsMode||(t.ColumnActionsMode={})),function(e){e[e.unconstrained=0]="unconstrained",e[e.horizontalConstrained=1]="horizontalConstrained"}(t.ConstrainMode||(t.ConstrainMode={})),function(e){e[e.outside=0]="outside",e[e.surface=1]="surface",e[e.header=2]="header"}(t.ColumnDragEndLocation||(t.ColumnDragEndLocation={})),function(e){e[e.fixedColumns=0]="fixedColumns",e[e.justified=1]="justified"}(t.DetailsListLayoutMode||(t.DetailsListLayoutMode={})),function(e){e[e.onHover=0]="onHover",e[e.always=1]="always",e[e.hidden=2]="hidden"}(t.CheckboxVisibility||(t.CheckboxVisibility={}))},function(e,t,n){"use strict";var o=n(18);t.__esModule=!0;var r=o(n(442));t.Provider=r.default;var i=o(n(159));t.connectAdvanced=i.default;var s=n(35);t.ReactReduxContext=s.ReactReduxContext;var a=o(n(446));t.connect=a.default;var l=n(453);t.useDispatch=l.useDispatch,t.createDispatchHook=l.createDispatchHook;var c=n(454);t.useSelector=c.useSelector,t.createSelectorHook=c.createSelectorHook;var u=n(166);t.useStore=u.useStore,t.createStoreHook=u.createStoreHook;var d=n(158),p=n(455);t.batch=p.unstable_batchedUpdates;var f=o(n(162));t.shallowEqual=f.default,(0,d.setBatch)(p.unstable_batchedUpdates)},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);t.InjectionMode={none:0,insertNode:1,appendChild:2};var r,i="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),s={};try{s=window}catch(e){}var a=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=o.__assign({injectionMode:t.InjectionMode.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._keyToClassName=this._config.classNameCache||{}}return e.getInstance=function(){if(!(r=s.__stylesheet__)||r._lastStyleElement&&r._lastStyleElement.ownerDocument!==document){var t=s&&s.FabricConfig||{};r=s.__stylesheet__=new e(t.mergeStyles)}return r},e.prototype.setConfig=function(e){this._config=o.__assign(o.__assign({},this._config),e)},e.prototype.onReset=function(e){this._onResetCallbacks.push(e)},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,o){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:o}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,n){var o=this._config.injectionMode!==t.InjectionMode.none?this._getStyleElement():void 0;if(n&&this._preservedRules.push(e),o)switch(this._config.injectionMode){case t.InjectionMode.insertNode:var r=o.sheet;try{r.insertRule(e,r.cssRules.length)}catch(e){}break;case t.InjectionMode.appendChild:o.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")+this._rulesToInsert.join("")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),i||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style");t.setAttribute("data-merge-styles","true");var n=this._config.cspSettings;if(n&&n.nonce&&t.setAttribute("nonce",n.nonce),this._lastStyleElement)e.insertBefore(t,this._lastStyleElement.nextElementSibling);else{var o=this._findPlaceholderStyleTag();o?e.insertBefore(t,o.nextElementSibling):e.insertBefore(t,e.childNodes[0])}return this._lastStyleElement=t,t},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}();t.Stylesheet=a},function(e,t,n){"use strict";function o(){return void 0===r&&(r="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),r}var r;Object.defineProperty(t,"__esModule",{value:!0}),t.setRTL=function(e){r!==e&&(r=e)},t.getRTL=o,r=o(),t.getStyleOptions=function(){return{rtl:o()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.warn=function(e){console&&console.warn&&console.warn(e)},t.setWarningCallback=function(e){e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(192),i={settings:{},scopedSettings:{},inCustomizerContext:!1},s=r.GlobalSettings.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),a=[],l=function(){function e(){}return e.reset=function(){s.settings={},s.scopedSettings={}},e.applySettings=function(t){s.settings=o.__assign(o.__assign({},s.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,n){s.scopedSettings[t]=o.__assign(o.__assign({},s.scopedSettings[t]),n),e._raiseChange()},e.getSettings=function(e,t,n){void 0===n&&(n=i);for(var o={},r=t&&n.scopedSettings[t]||{},a=t&&s.scopedSettings[t]||{},l=0,c=e;l-1&&t.push([o.index,o.index+o[0].length,o[1].split(",").map((function(e){return":global("+e.trim()+")"})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],o=t[1],r=t[2];return e.slice(0,n)+r+e.slice(o)}),e)}function p(e,t){return e.indexOf(":global(")>=0?e.replace(u,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function f(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var o=r.Stylesheet.getInstance(),i=t[n];i||(i={},t[n]=i,t.__order.push(n));for(var s=0,a=e;s-1?d(e).split(",").map((function(e){return e.trim()})).forEach((function(e){return f([o],t,p(e,n))})):f([o],t,p(e,n))}};for(var v in m)g(v)}else void 0!==l[u]&&("margin"===u||"padding"===u?h(i,u,l[u]):i[u]=l[u])}return t}function h(e,t,n){var o="string"==typeof n?n.split(" "):[n];e[t+"Top"]=o[0],e[t+"Right"]=o[1]||o[0],e[t+"Bottom"]=o[2]||o[0],e[t+"Left"]=o[3]||o[1]||o[0]}function m(e,t){for(var n=[e.rtl?"rtl":"ltr"],o=!1,r=0,i=t.__order;r-1)for(var s=n.split(/[ ,]+/),a=0;a=0||(r[n]=e[n]);return r}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){"function"==typeof e?e(t):"object"===o(e)&&e&&"current"in e&&(e.current=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.fillRef=r,t.composeRef=function(){for(var e=arguments.length,t=new Array(e),n=0;n0){r.subComponentStyles={};var h=r.subComponentStyles,m=function(t){if(i.hasOwnProperty(t)){var n=i[t];h[t]=function(t){return e.apply(void 0,n.map((function(e){return"function"==typeof e?e(t):e})))}}};for(var d in i)m(d)}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._isSSR=!1,t.setSSR=function(e){t._isSSR=e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyCodes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pauseBreak:19,capslock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,del:46,zero:48,one:49,two:50,three:51,four:52,five:53,six:54,seven:55,eight:56,nine:57,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindow:91,rightWindow:92,select:93,zero_numpad:96,one_numpad:97,two_numpad:98,three_numpad:99,four_numpad:100,five_numpad:101,six_numpad:102,seven_numpad:103,eight_numpad:104,nine_numpad:105,multiply:106,add:107,subtract:109,decimalPoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrollLock:145,semicolon:186,equalSign:187,comma:188,dash:189,period:190,forwardSlash:191,graveAccent:192,openBracket:219,backSlash:220,closeBracket:221,singleQuote:222}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVirtualElement=function(e){return e&&!!e._virtual}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(68);t.findElementRecursive=function e(t,n){return t&&t!==document.body?n(t)?t:e(o.getParent(t),n):null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(13),r=!1,i=0,s={empty:!0},a={},l="undefined"==typeof WeakMap?null:WeakMap;function c(){i++}function u(e,t,n){if(void 0===t&&(t=100),void 0===n&&(n=!1),!l)return e;if(!r){var s=o.Stylesheet.getInstance();s&&s.onReset&&o.Stylesheet.getInstance().onReset(c),r=!0}var a,u=0,f=i;return function(){for(var o=[],r=0;r0&&u>t)&&(a=p(),u=0,f=i),s=a;for(var l=0;l=o.Unshaded&&e<=o.Shade8}function y(e,t){return{h:e.h,s:e.s,v:s.clamp(e.v-e.v*t,100,0)}}function b(e,t){return{h:e.h,s:s.clamp(e.s-e.s*t,100,0),v:s.clamp(e.v+(100-e.v)*t,100,0)}}!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"}(o=t.Shade||(t.Shade={})),t.isValidShade=_,t.isDark=function(e){return l.hsv2hsl(e.h,e.s,e.v).l<50},t.getShade=function(e,t,n){if(void 0===n&&(n=!1),!e)return null;if(t===o.Unshaded||!_(t))return e;var s=l.hsv2hsl(e.h,e.s,e.v),u={h:e.h,s:e.s,v:e.v},d=t-1,S=b,C=y;return n&&(S=y,C=b),u=function(e){return e.r===r.MAX_COLOR_RGB&&e.g===r.MAX_COLOR_RGB&&e.b===r.MAX_COLOR_RGB}(e)?y(u,p[d]):function(e){return 0===e.r&&0===e.g&&0===e.b}(e)?b(u,f[d]):s.l/100>.8?C(u,m[d]):s.l/100<.2?S(u,h[d]):d1?o/i:i/o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(689),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header"}(t.SelectableOptionMenuItemType||(t.SelectableOptionMenuItemType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(703),t),o.__exportStar(n(129),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=n(23),i=n(132),s=n(264),a={root:"ms-DetailsRow-check",isDisabled:"ms-DetailsRow-check--isDisabled",isHeader:"ms-DetailsRow-check--isHeader"};t.CHECK_CELL_WIDTH=48,t.getStyles=function(e){var n=e.theme,l=e.className,c=e.isHeader,u=e.selected,d=e.anySelected,p=e.canSelect,f=e.compact,h=e.isVisible,m=o.getGlobalClassNames(a,n),g=r.DEFAULT_ROW_HEIGHTS.rowHeight,v=r.DEFAULT_ROW_HEIGHTS.compactRowHeight,_=c?i.HEADER_HEIGHT:f?v:g,y=h||u||d;return{root:[m.root,l],check:[!p&&m.isDisabled,c&&m.isHeader,o.getFocusStyle(n),n.fonts.small,s.CheckGlobalClassNames.checkHost,{display:"flex",alignItems:"center",justifyContent:"center",cursor:"default",boxSizing:"border-box",verticalAlign:"top",background:"none",backgroundColor:"transparent",border:"none",opacity:y?1:0,height:_,width:t.CHECK_CELL_WIDTH,padding:0,margin:0}],isDisabled:[]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=n(2),i=n(23),s=n(27),a={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"};t.HEADER_HEIGHT=42,t.getCellStyles=function(e){var n=e.theme,r=e.cellStyleProps,s=void 0===r?i.DEFAULT_CELL_STYLE_PROPS:r,l=n.semanticColors;return[o.getGlobalClassNames(a,n).cell,o.getFocusStyle(n),{color:l.bodyText,position:"relative",display:"inline-block",boxSizing:"border-box",padding:"0 "+s.cellRightPadding+"px 0 "+s.cellLeftPadding+"px",lineHeight:"inherit",margin:"0",height:t.HEADER_HEIGHT,verticalAlign:"top",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"}]},t.getStyles=function(e){var n,l,c,u,d=e.theme,p=e.className,f=e.isAllSelected,h=e.isResizingColumn,m=e.isSizing,g=e.isAllCollapsed,v=e.cellStyleProps,_=void 0===v?i.DEFAULT_CELL_STYLE_PROPS:v,y=d.semanticColors,b=d.palette,S=d.fonts,C=o.getGlobalClassNames(a,d),x={iconForegroundColor:y.bodySubtext,headerForegroundColor:y.bodyText,headerBackgroundColor:y.bodyBackground,dropdownChevronForegroundColor:b.neutralTertiary,resizerColor:b.neutralTertiaryAlt},k={opacity:1,transition:"opacity 0.3s linear"},w=t.getCellStyles(e);return{root:[C.root,S.small,{display:"inline-block",background:x.headerBackgroundColor,position:"relative",minWidth:"100%",verticalAlign:"top",height:t.HEADER_HEIGHT,lineHeight:t.HEADER_HEIGHT,whiteSpace:"nowrap",boxSizing:"content-box",paddingBottom:"1px",paddingTop:"16px",borderBottom:"1px solid "+y.bodyDivider,cursor:"default",userSelect:"none",selectors:(n={},n["&:hover ."+C.check]={opacity:1},n["& ."+C.tooltipHost+" ."+C.checkTooltip]={display:"block"},n)},f&&C.isAllSelected,h&&C.isResizingColumn,p],check:[C.check,{height:t.HEADER_HEIGHT},{selectors:(l={},l["."+r.IsFocusVisibleClassName+" &:focus"]={opacity:1},l)}],cellWrapperPadded:{paddingRight:_.cellExtraRightPadding+_.cellRightPadding},cellIsCheck:[w,C.cellIsCheck,{position:"relative",padding:0,margin:0,display:"inline-flex",alignItems:"center",border:"none"},f&&{opacity:1}],cellIsGroupExpander:[w,{display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:S.small.fontSize,padding:0,border:"none",width:s.SPACER_WIDTH,color:b.neutralSecondary,selectors:{":hover":{backgroundColor:b.neutralLighter},":active":{backgroundColor:b.neutralLight}}}],cellIsActionable:{selectors:{":hover":{color:y.bodyText,background:y.listHeaderBackgroundHovered},":active":{background:y.listHeaderBackgroundPressed}}},cellIsEmpty:{textOverflow:"clip"},cellSizer:[C.cellSizer,o.focusClear(),{display:"inline-block",position:"relative",cursor:"ew-resize",bottom:0,top:0,overflow:"hidden",height:"inherit",background:"transparent",zIndex:1,width:16,selectors:(c={":after":{content:'""',position:"absolute",top:0,bottom:0,width:1,background:x.resizerColor,opacity:0,left:"50%"},":focus:after":k,":hover:after":k},c["&."+C.isResizing+":after"]=[k,{boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.4)"}],c)}],cellIsResizing:C.isResizing,cellSizerStart:{margin:"0 -8px"},cellSizerEnd:{margin:0,marginLeft:-16},collapseButton:[C.collapseButton,{transformOrigin:"50% 50%",transition:"transform .1s linear"},g?[C.isCollapsed,{transform:"rotate(0deg)"}]:{transform:r.getRTL(d)?"rotate(-90deg)":"rotate(90deg)"}],checkTooltip:C.checkTooltip,sizingOverlay:m&&{position:"absolute",left:0,top:0,right:0,bottom:0,cursor:"ew-resize",background:"rgba(255, 255, 255, 0)",selectors:(u={},u[o.HighContrastSelector]={background:"transparent",MsHighContrastAdjust:"none"},u)},accessibleLabel:o.hiddenContentStyle,dropHintCircleStyle:[C.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 "+b.themePrimary,background:b.white}],dropHintCaretStyle:[C.dropHintCaretStyle,{display:"none",position:"absolute",top:-28,left:-6.5,fontSize:S.medium.fontSize,color:b.themePrimary,overflow:"visible",zIndex:10}],dropHintLineStyle:[C.dropHintLineStyle,{display:"none",position:"absolute",bottom:0,top:0,overflow:"hidden",height:42,width:1,background:b.themePrimary,zIndex:10}],dropHintStyle:{display:"inline-block",position:"absolute"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(726),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(t.SpinnerSize||(t.SpinnerSize={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(t.SpinnerType||(t.SpinnerType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(115),a=n(131),l=n(6),c=i.classNamesFunction(),u=r.memo((function(e){return r.createElement(s.Check,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})}));function d(e){return r.createElement(s.Check,{checked:e.checked})}function p(e){return r.createElement(u,{theme:e.theme,checked:e.checked})}t.DetailsRowCheck=i.styled((function(e){var t=e.isVisible,n=void 0!==t&&t,s=e.canSelect,a=void 0!==s&&s,u=e.anySelected,f=void 0!==u&&u,h=e.selected,m=void 0!==h&&h,g=e.isHeader,v=void 0!==g&&g,_=e.className,y=(e.checkClassName,e.styles),b=e.theme,S=e.compact,C=e.onRenderDetailsCheckbox,x=e.useFastIcons,k=void 0===x||x,w=o.__rest(e,["isVisible","canSelect","anySelected","selected","isHeader","className","checkClassName","styles","theme","compact","onRenderDetailsCheckbox","useFastIcons"]),P=k?p:d,E=C?l.composeRenderFunction(C,P):P,I=c(y,{theme:b,canSelect:a,selected:m,anySelected:f,className:_,isHeader:v,isVisible:n,compact:S}),T={checked:m,theme:b};return a?r.createElement("div",o.__assign({},w,{role:"checkbox",className:i.css(I.root,I.check),"aria-checked":m,"data-selection-toggle":!0,"data-automationid":"DetailsRowCheck"}),E(T)):r.createElement("div",o.__assign({},w,{className:i.css(I.root,I.check)}))}),a.getStyles,void 0,{scope:"DetailsRowCheck"},!0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.none=0]="none",e[e.hidden=1]="hidden",e[e.visible=2]="visible"}(t.SelectAllVisibility||(t.SelectAllVisibility={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(38);t.ResponsiveMode=o.ResponsiveMode,function(e){e[e.normal=0]="normal",e[e.largeHeader=1]="largeHeader",e[e.close=2]="close"}(t.DialogType||(t.DialogType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(742),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(211),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(38);t.ResponsiveMode=o.ResponsiveMode;var r=n(129);t.DropdownMenuItemType=r.SelectableOptionMenuItemType},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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"}(t.PanelType||(t.PanelType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(33),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(12),a=n(21),l=n(33),c=n(330),u=n(803),d=n(335),p=n(84),f=n(109),h=n(804),m=i.classNamesFunction();var g=function(e){function t(t){var n,o=e.call(this,t)||this;o.root=r.createRef(),o.input=r.createRef(),o.focusZone=r.createRef(),o.suggestionElement=r.createRef(),o.SuggestionOfProperType=c.Suggestions,o._styledSuggestions=(n=o.SuggestionOfProperType,i.styled(n,u.getStyles,void 0,{scope:"Suggestions"})),o.dismissSuggestions=function(e){var t=function(){o.props.onDismiss&&o.props.onDismiss(e,o.suggestionStore.currentSuggestion?o.suggestionStore.currentSuggestion.item:void 0),(!e||e&&!e.defaultPrevented)&&o.canAddItems()&&o.suggestionStore.hasSelectedSuggestion()&&o.state.suggestedDisplayValue&&o.addItemByIndex(0)};o.currentPromise?o.currentPromise.then((function(){return t()})):t(),o.setState({suggestionsVisible:!1})},o.refocusSuggestions=function(e){o.resetFocus(),o.suggestionStore.suggestions&&o.suggestionStore.suggestions.length>0&&(e===i.KeyCodes.up?o.suggestionStore.setSelectedSuggestion(o.suggestionStore.suggestions.length-1):e===i.KeyCodes.down&&o.suggestionStore.setSelectedSuggestion(0))},o.onInputChange=function(e){o.updateValue(e),o.setState({moreSuggestionsAvailable:!0,isMostRecentlyUsedVisible:!1})},o.onSuggestionClick=function(e,t,n){o.addItemByIndex(n)},o.onSuggestionRemove=function(e,t,n){o.props.onRemoveSuggestion&&o.props.onRemoveSuggestion(t),o.suggestionStore.removeSuggestion(n)},o.onInputFocus=function(e){o.state.isFocused||(o.setState({isFocused:!0}),o.selection.setAllSelected(!1),o._userTriggeredSuggestions(),o.props.inputProps&&o.props.inputProps.onFocus&&o.props.inputProps.onFocus(e))},o.onInputBlur=function(e){o.props.inputProps&&o.props.inputProps.onBlur&&o.props.inputProps.onBlur(e)},o.onBlur=function(e){if(o.state.isFocused){var t=e.relatedTarget;null===e.relatedTarget&&(t=document.activeElement),t&&!i.elementContains(o.root.current,t)&&(o.setState({isFocused:!1}),o.props.onBlur&&o.props.onBlur(e))}},o.onClick=function(e){void 0!==o.props.inputProps&&void 0!==o.props.inputProps.onClick&&o.props.inputProps.onClick(e),0===e.button&&o._userTriggeredSuggestions()},o.onKeyDown=function(e){var t=e.which;switch(t){case i.KeyCodes.escape:o.state.suggestionsVisible&&(o.setState({suggestionsVisible:!1}),e.preventDefault(),e.stopPropagation());break;case i.KeyCodes.tab:case i.KeyCodes.enter:o.suggestionElement.current&&o.suggestionElement.current.hasSuggestedActionSelected()?o.suggestionElement.current.executeSelectedAction():!e.shiftKey&&o.suggestionStore.hasSelectedSuggestion()&&o.state.suggestionsVisible?(o.completeSuggestion(),e.preventDefault(),e.stopPropagation()):o._completeGenericSuggestion();break;case i.KeyCodes.backspace:o.props.disabled||o.onBackspace(e),e.stopPropagation();break;case i.KeyCodes.del:o.props.disabled||(o.input.current&&e.target===o.input.current.inputElement&&o.state.suggestionsVisible&&-1!==o.suggestionStore.currentIndex?(o.props.onRemoveSuggestion&&o.props.onRemoveSuggestion(o.suggestionStore.currentSuggestion.item),o.suggestionStore.removeSuggestion(o.suggestionStore.currentIndex),o.forceUpdate()):o.onBackspace(e)),e.stopPropagation();break;case i.KeyCodes.up:o.input.current&&e.target===o.input.current.inputElement&&o.state.suggestionsVisible&&(o.suggestionElement.current&&o.suggestionElement.current.tryHandleKeyDown(t,o.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation()):o.suggestionElement.current&&o.suggestionElement.current.hasSuggestedAction()&&0===o.suggestionStore.currentIndex?(e.preventDefault(),e.stopPropagation(),o.suggestionElement.current.focusAboveSuggestions(),o.suggestionStore.deselectAllSuggestions(),o.forceUpdate()):o.suggestionStore.previousSuggestion()&&(e.preventDefault(),e.stopPropagation(),o.onSuggestionSelect()));break;case i.KeyCodes.down:o.input.current&&e.target===o.input.current.inputElement&&o.state.suggestionsVisible&&(o.suggestionElement.current&&o.suggestionElement.current.tryHandleKeyDown(t,o.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation()):o.suggestionElement.current&&o.suggestionElement.current.hasSuggestedAction()&&o.suggestionStore.currentIndex+1===o.suggestionStore.suggestions.length?(e.preventDefault(),e.stopPropagation(),o.suggestionElement.current.focusBelowSuggestions(),o.suggestionStore.deselectAllSuggestions(),o.forceUpdate()):o.suggestionStore.nextSuggestion()&&(e.preventDefault(),e.stopPropagation(),o.onSuggestionSelect()))}},o.onItemChange=function(e,t){var n=o.state.items;if(t>=0){var r=n;r[t]=e,o._updateSelectedItems(r)}},o.onGetMoreResults=function(){o.setState({isSearching:!0},(function(){if(o.props.onGetMoreResults&&o.input.current){var e=o.props.onGetMoreResults(o.input.current.value,o.state.items),t=e,n=e;Array.isArray(t)?(o.updateSuggestions(t),o.setState({isSearching:!1})):n.then&&n.then((function(e){o.updateSuggestions(e),o.setState({isSearching:!1})}))}else o.setState({isSearching:!1});o.input.current&&o.input.current.focus(),o.setState({moreSuggestionsAvailable:!1,isResultsFooterVisible:!0})}))},o.completeSelection=function(e){o.addItem(e),o.updateValue(""),o.input.current&&o.input.current.clear(),o.setState({suggestionsVisible:!1})},o.addItemByIndex=function(e){o.completeSelection(o.suggestionStore.getSuggestionAtIndex(e).item)},o.addItem=function(e){var t=o.props.onItemSelected?o.props.onItemSelected(e):e;if(null!==t){var n=t,r=t;if(r&&r.then)r.then((function(e){var t=o.state.items.concat([e]);o._updateSelectedItems(t)}));else{var i=o.state.items.concat([n]);o._updateSelectedItems(i)}o.setState({suggestedDisplayValue:""})}},o.removeItem=function(e,t){var n=o.state.items,r=n.indexOf(e);if(r>=0){var i=n.slice(0,r).concat(n.slice(r+1));o._updateSelectedItems(i,t?r:void 0)}},o.removeItems=function(e){var t=o.state.items,n=t.filter((function(t){return-1===e.indexOf(t)})),r=e[0],i=t.indexOf(r);o._updateSelectedItems(n,i)},o._shouldFocusZoneEnterInnerZone=function(e){if(o.state.suggestionsVisible)switch(e.which){case i.KeyCodes.up:case i.KeyCodes.down:return!0}return e.which===i.KeyCodes.enter},o._onResolveSuggestions=function(e){var t=o.props.onResolveSuggestions(e,o.state.items);null!==t&&o.updateSuggestionsList(t,e)},o._completeGenericSuggestion=function(){if(o.props.onValidateInput&&o.input.current&&o.props.onValidateInput(o.input.current.value)!==p.ValidationState.invalid&&o.props.createGenericItem){var e=o.props.createGenericItem(o.input.current.value,o.props.onValidateInput(o.input.current.value));o.suggestionStore.createGenericSuggestion(e),o.completeSuggestion()}},o._userTriggeredSuggestions=function(){if(!o.state.suggestionsVisible){var e=o.input.current?o.input.current.value:"";e?0===o.suggestionStore.suggestions.length?o._onResolveSuggestions(e):o.setState({isMostRecentlyUsedVisible:!1,suggestionsVisible:!0}):o.onEmptyInputFocus()}},i.initializeComponentRef(o),o._async=new i.Async(o);var s=t.selectedItems||t.defaultSelectedItems||[];return o._id=i.getId(),o._ariaMap={selectedItems:"selected-items-"+o._id,selectedSuggestionAlert:"selected-suggestion-alert-"+o._id,suggestionList:"suggestion-list-"+o._id},o.suggestionStore=new d.SuggestionsController,o.selection=new l.Selection({onSelectionChanged:function(){return o.onSelectionChange()}}),o.selection.setItems(s),o.state={items:s,suggestedDisplayValue:"",isMostRecentlyUsedVisible:!1,moreSuggestionsAvailable:!1,isFocused:!1,isSearching:!1,selectedIndices:[]},o}return o.__extends(t,e),Object.defineProperty(t.prototype,"items",{get:function(){return this.state.items},enumerable:!0,configurable:!0}),t.prototype.UNSAFE_componentWillUpdate=function(e,t){t.items&&t.items!==this.state.items&&this.selection.setItems(t.items)},t.prototype.componentDidMount=function(){this.selection.setItems(this.state.items),this._onResolveSuggestions=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t,n=this,o=e.selectedItems;o&&(o.length0?"listbox":"dialog"},this.getSuggestionsAlert(b.screenReaderText),r.createElement(l.SelectionZone,{selection:this.selection,selectionMode:l.SelectionMode.multiple},r.createElement("div",{className:b.text},a.length>0&&r.createElement("span",{id:this._ariaMap.selectedItems,className:b.itemsWrapper,role:"list"},this.renderItems()),this.canAddItems()&&r.createElement(f.Autofill,o.__assign({spellCheck:!1},d,{className:b.input,componentRef:this.input,onClick:this.onClick,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onInputValueChange:this.onInputChange,suggestedDisplayValue:t,"aria-describedby":a.length>0?this._ariaMap.selectedItems:void 0,"aria-controls":y+" "+_||void 0,"aria-activedescendant":this.getActiveDescendant(),role:"textbox",disabled:p,onInputChange:this.props.onInputChange}))))),this.renderSuggestions())},t.prototype.canAddItems=function(){var e=this.state.items,t=this.props.itemLimit;return void 0===t||e.length=0){var n=this.root.current&&this.root.current.querySelectorAll("[data-selection-index]")[Math.min(e,t.length-1)];n&&this.focusZone.current&&this.focusZone.current.focusElement(n)}else this.canAddItems()?this.input.current&&this.input.current.focus():this.resetFocus(t.length-1)},t.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})}},t.prototype.onSelectionChange=function(){this.setState({selectedIndices:this.selection.getSelectedIndices()})},t.prototype.updateSuggestions=function(e){this.suggestionStore.updateSuggestions(e,0),this.forceUpdate()},t.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})}},t.prototype.updateValue=function(e){this._onResolveSuggestions(e)},t.prototype.updateSuggestionsList=function(e,t){var n=this,o=e,r=e;if(Array.isArray(o))this._updateAndResolveValue(t,o);else if(r&&r.then){this.setState({suggestionsLoading:!0}),this.suggestionStore.updateSuggestions([]),void 0!==t?this.setState({suggestionsVisible:this._getShowSuggestions()}):this.setState({suggestionsVisible:this.input.current&&this.input.current.inputElement===document.activeElement});var i=this.currentPromise=r;i.then((function(e){i===n.currentPromise&&n._updateAndResolveValue(t,e)}))}},t.prototype.resolveNewValue=function(e,t){var n=this;this.updateSuggestions(t);var o=void 0;this.suggestionStore.currentSuggestion&&(o=this._getTextFromItem(this.suggestionStore.currentSuggestion.item,e)),this.setState({suggestedDisplayValue:o,suggestionsVisible:this._getShowSuggestions()},(function(){return n.setState({suggestionsLoading:!1})}))},t.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},t.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]))},t.prototype.getActiveDescendant=function(){var e=this.suggestionStore.currentIndex;return e>-1&&!this.state.suggestionsLoading?"sug-"+e:void 0},t.prototype.getSuggestionsAlert=function(e){void 0===e&&(e=h.screenReaderOnly);var t=this.suggestionStore.currentIndex;if(this.props.enableSelectedSuggestionAlert){var n=t>-1?this.suggestionStore.getSuggestionAtIndex(this.suggestionStore.currentIndex):void 0,o=n?n.ariaLabel:void 0;return r.createElement("div",{className:e,role:"alert",id:this._ariaMap.selectedSuggestionAlert,"aria-live":"assertive"},o," ")}},t.prototype._updateAndResolveValue=function(e,t){void 0!==e?this.resolveNewValue(e,t):(this.suggestionStore.updateSuggestions(t,-1),this.state.suggestionsLoading&&this.setState({suggestionsLoading:!1}))},t.prototype._updateSelectedItems=function(e,t){var n=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},(function(){n._onSelectedItemsUpdated(e,t)}))},t.prototype._onSelectedItemsUpdated=function(e,t){this.resetFocus(t),this.onChange(e)},t.prototype._getShowSuggestions=function(){return void 0!==this.input.current&&null!==this.input.current&&this.input.current.inputElement===document.activeElement&&""!==this.input.current.value},t.prototype._getTextFromItem=function(e,t){return this.props.getTextFromItem?this.props.getTextFromItem(e,t):""},t}(r.Component);t.BasePicker=g;var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t.prototype.render=function(){var e=this.state,t=e.suggestedDisplayValue,n=e.isFocused,a=this.props,c=a.className,u=a.inputProps,d=a.disabled,p=a.theme,g=a.styles,v=this.props.enableSelectedSuggestionAlert?this._ariaMap.selectedSuggestionAlert:"",_=this.state.suggestionsVisible?this._ariaMap.suggestionList:"",y=g?m(g,{theme:p,className:c,isFocused:n,inputClassName:u&&u.className}):{root:i.css("ms-BasePicker",c||""),text:i.css("ms-BasePicker-text",h.pickerText,this.state.isFocused&&h.inputFocused),input:i.css("ms-BasePicker-input",h.pickerInput,u&&u.className),screenReaderText:h.screenReaderOnly};return r.createElement("div",{ref:this.root,onBlur:this.onBlur},r.createElement("div",{className:y.root,onKeyDown:this.onKeyDown},this.getSuggestionsAlert(y.screenReaderText),r.createElement("div",{className:y.text,"aria-owns":_||void 0,"aria-expanded":!!this.state.suggestionsVisible,"aria-haspopup":_&&this.suggestionStore.suggestions.length>0?"listbox":"dialog",role:"combobox"},r.createElement(f.Autofill,o.__assign({},u,{className:y.input,componentRef:this.input,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onClick:this.onClick,onInputValueChange:this.onInputChange,suggestedDisplayValue:t,"aria-activedescendant":this.getActiveDescendant(),role:"textbox",disabled:d,"aria-controls":_+" "+v||void 0,onInputChange:this.props.onInputChange})))),this.renderSuggestions(),r.createElement(l.SelectionZone,{selection:this.selection,selectionMode:l.SelectionMode.single},r.createElement(s.FocusZone,{componentRef:this.focusZone,className:"ms-BasePicker-selectedItems",isCircularNavigation:!0,direction:s.FocusZoneDirection.bidirectional,shouldEnterInnerZone:this._shouldFocusZoneEnterInnerZone,id:this._ariaMap.selectedItems,role:"list"},this.renderItems())))},t.prototype.onBackspace=function(e){},t}(g);t.BasePickerListBelow=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.compact=0]="compact",e[e.expanded=1]="expanded"}(t.ExpandingCardMode||(t.ExpandingCardMode={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.info=0]="info",e[e.error=1]="error",e[e.blocked=2]="blocked",e[e.severeWarning=3]="severeWarning",e[e.success=4]="success",e[e.warning=5]="warning"}(t.MessageBarType||(t.MessageBarType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.links=0]="links",e[e.tabs=1]="tabs"}(t.PivotLinkFormat||(t.PivotLinkFormat={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(t.PivotLinkSize||(t.PivotLinkSize={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.ScrollbarVisibility={auto:"auto",always:"always"},t.ScrollablePaneContext=o.createContext({scrollablePane:void 0})},function(e,t,n){"use strict";const o=n(956),r=n(957),i=n(958);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function a(e,t){return t.encode?t.strict?o(e):encodeURIComponent(e):e}function l(e,t){return t.decode?r(e):e}function c(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function u(e){const t=(e=c(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function d(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function p(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,o)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===o[e]&&(o[e]={}),o[e][t[1]]=n):o[e]=n};case"bracket":return(e,n,o)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==o[e]?o[e]=[].concat(o[e],n):o[e]=[n]:o[e]=n};case"comma":case"separator":return(t,n,o)=>{const r="string"==typeof n&&n.split("").indexOf(e.arrayFormatSeparator)>-1?n.split(e.arrayFormatSeparator).map(t=>l(t,e)):null===n?n:l(n,e);o[t]=r};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),o=Object.create(null);if("string"!=typeof e)return o;if(!(e=e.trim().replace(/^[?#&]/,"")))return o;for(const r of e.split("&")){let[e,s]=i(t.decode?r.replace(/\+/g," "):r,"=");s=void 0===s?null:["comma","separator"].includes(t.arrayFormat)?s:l(s,t),n(l(e,t),s,o)}for(const e of Object.keys(o)){const n=o[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=d(n[e],t);else o[e]=d(n,t)}return!1===t.sort?o:(!0===t.sort?Object.keys(o).sort():Object.keys(o).sort(t.sort)).reduce((e,t)=>{const n=o[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(n):e[t]=n,e},Object.create(null))}t.extract=u,t.parse=p,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],o=function(e){switch(e.arrayFormat){case"index":return t=>(n,o)=>{const r=n.length;return void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:null===o?[...n,[a(t,e),"[",r,"]"].join("")]:[...n,[a(t,e),"[",a(r,e),"]=",a(o,e)].join("")]};case"bracket":return t=>(n,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:null===o?[...n,[a(t,e),"[]"].join("")]:[...n,[a(t,e),"[]=",a(o,e)].join("")];case"comma":case"separator":return t=>(n,o)=>null==o||0===o.length?n:0===n.length?[[a(t,e),"=",a(o,e)].join("")]:[[n,a(o,e)].join(e.arrayFormatSeparator)];default:return t=>(n,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:null===o?[...n,a(t,e)]:[...n,[a(t,e),"=",a(o,e)].join("")]}}(t),r={};for(const t of Object.keys(e))n(t)||(r[t]=e[t]);const i=Object.keys(r);return!1!==t.sort&&i.sort(t.sort),i.map(n=>{const r=e[n];return void 0===r?"":null===r?a(n,t):Array.isArray(r)?r.reduce(o(n),[]).join("&"):a(n,t)+"="+a(r,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,o]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:p(u(e),t)},t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:l(o,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const o=c(e.url).split("?")[0]||"",r=t.extract(e.url),i=t.parse(r,{sort:!1}),s=Object.assign(i,e.query);let l=t.stringify(s,n);l&&(l="?"+l);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u="#"+a(e.fragmentIdentifier,n)),`${o}${l}${u}`}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(62),r=n(0),i=o.__importDefault(n(961)),s=function(){};t.default=function(e,t,n,o){void 0===t&&(t=s),void 0===n&&(n={}),void 0===o&&(o=[e]);var a=n.event,l=void 0===a?"keydown":a,c=n.target,u=n.options,d=r.useMemo((function(){var n,o="function"==typeof(n=e)?n:"string"==typeof n?function(e){return e.key===n}:n?function(){return!0}:function(){return!1};return function(e){if(o(e))return t(e)}}),o);i.default(l,d,c,u)}},function(e,t,n){var o=n(407),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();e.exports=i},function(e,t,n){var o=n(150).Symbol;e.exports=o},function(e,t,n){e.exports=function(e){function t(e){let t=0;for(let n=0;n{if("%%"===n)return n;a++;const i=o.formatters[r];if("function"==typeof i){const o=e[a];n=i.call(t,o),e.splice(a,1),a--}return n}),o.formatArgs.call(t,e);(t.log||o.log).apply(t,e)}return s.namespace=e,s.enabled=o.enabled(e),s.useColors=o.useColors(),s.color=t(e),s.destroy=r,s.extend=i,"function"==typeof o.init&&o.init(s),o.instances.push(s),s}function r(){const e=o.instances.indexOf(this);return-1!==e&&(o.instances.splice(e,1),!0)}function i(e,t){const n=o(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return o.debug=o,o.default=o,o.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},o.disable=function(){const e=[...o.names.map(s),...o.skips.map(s).map(e=>"-"+e)].join(",");return o.enable(""),e},o.enable=function(e){let t;o.save(e),o.names=[],o.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t{o[t]=e[t]}),o.instances=[],o.names=[],o.skips=[],o.formatters={},o.selectColor=t,o.enable(o.load()),o}},function(e,t,n){(function(e){var o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},o=0;o=i)return e;switch(e){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch(e){return"[Circular]"}default:return e}})),l=o[n];n=3&&(o.depth=arguments[2]),arguments.length>=4&&(o.colors=arguments[3]),h(n)?o.showHidden=n:n&&t._extend(o,n),_(o.showHidden)&&(o.showHidden=!1),_(o.depth)&&(o.depth=2),_(o.colors)&&(o.colors=!1),_(o.customInspect)&&(o.customInspect=!0),o.colors&&(o.stylize=l),u(o,e,o.depth)}function l(e,t){var n=a.styles[t];return n?"["+a.colors[n][0]+"m"+e+"["+a.colors[n][1]+"m":e}function c(e,t){return e}function u(e,n,o){if(e.customInspect&&n&&x(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var r=n.inspect(o,e);return v(r)||(r=u(e,r,o)),r}var i=function(e,t){if(_(t))return e.stylize("undefined","undefined");if(v(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(g(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(i)return i;var s=Object.keys(n),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(n)),C(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return d(n);if(0===s.length){if(x(n)){var l=n.name?": "+n.name:"";return e.stylize("[Function"+l+"]","special")}if(y(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(S(n))return e.stylize(Date.prototype.toString.call(n),"date");if(C(n))return d(n)}var c,b="",k=!1,w=["{","}"];(f(n)&&(k=!0,w=["[","]"]),x(n))&&(b=" [Function"+(n.name?": "+n.name:"")+"]");return y(n)&&(b=" "+RegExp.prototype.toString.call(n)),S(n)&&(b=" "+Date.prototype.toUTCString.call(n)),C(n)&&(b=" "+d(n)),0!==s.length||k&&0!=n.length?o<0?y(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=k?function(e,t,n,o,r){for(var i=[],s=0,a=t.length;s=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(c,b,w)):w[0]+b+w[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,n,o,r,i){var s,a,l;if((l=Object.getOwnPropertyDescriptor(t,r)||{value:t[r]}).get?a=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(a=e.stylize("[Setter]","special")),I(o,r)||(s="["+r+"]"),a||(e.seen.indexOf(l.value)<0?(a=m(n)?u(e,l.value,null):u(e,l.value,n-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),_(s)){if(i&&r.match(/^\d+$/))return a;(s=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function f(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function m(e){return null===e}function g(e){return"number"==typeof e}function v(e){return"string"==typeof e}function _(e){return void 0===e}function y(e){return b(e)&&"[object RegExp]"===k(e)}function b(e){return"object"==typeof e&&null!==e}function S(e){return b(e)&&"[object Date]"===k(e)}function C(e){return b(e)&&("[object Error]"===k(e)||e instanceof Error)}function x(e){return"function"==typeof e}function k(e){return Object.prototype.toString.call(e)}function w(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(_(i)&&(i=e.env.NODE_DEBUG||""),n=n.toUpperCase(),!s[n])if(new RegExp("\\b"+n+"\\b","i").test(i)){var o=e.pid;s[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,o,e)}}else s[n]=function(){};return s[n]},t.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=f,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=_,t.isRegExp=y,t.isObject=b,t.isDate=S,t.isError=C,t.isFunction=x,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(422);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(){var e=new Date,t=[w(e.getHours()),w(e.getMinutes()),w(e.getSeconds())].join(":");return[e.getDate(),P[e.getMonth()],t].join(" ")}function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",E(),t.format.apply(t,arguments))},t.inherits=n(423),t._extend=function(e,t){if(!t||!b(t))return e;for(var n=Object.keys(t),o=n.length;o--;)e[n[o]]=t[n[o]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function D(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!=typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,o=new Promise((function(e,o){t=e,n=o})),r=[],i=0;i-1&&t.push([o.index,o.index+o[0].length,o[1].split(",").map((function(e){return":global("+e.trim()+")"})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],o=t[1],r=t[2];return e.slice(0,n)+r+e.slice(o)}),e)}function p(e,t){return e.indexOf(":global(")>=0?e.replace(u,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function f(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var o=r.Stylesheet.getInstance(),i=t[n];i||(i={},t[n]=i,t.__order.push(n));for(var s=0,a=e;s-1?d(e).split(",").map((function(e){return e.trim()})).forEach((function(e){return f([o],t,p(e,n))})):f([o],t,p(e,n))}};for(var v in m)g(v)}else void 0!==l[u]&&("margin"===u||"padding"===u?h(i,u,l[u]):i[u]=l[u])}return t}function h(e,t,n){var o="string"==typeof n?n.split(" "):[n];e[t+"Top"]=o[0],e[t+"Right"]=o[1]||o[0],e[t+"Bottom"]=o[2]||o[0],e[t+"Left"]=o[3]||o[1]||o[0]}function m(e,t){for(var n=[e.rtl?"rtl":"ltr"],o=!1,r=0,i=t.__order;r-1)for(var s=n.split(/[ ,]+/),a=0;a=0||(r[n]=e[n]);return r}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){"function"==typeof e?e(t):"object"===o(e)&&e&&"current"in e&&(e.current=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.fillRef=r,t.composeRef=function(){for(var e=arguments.length,t=new Array(e),n=0;n0){r.subComponentStyles={};var h=r.subComponentStyles,m=function(t){if(i.hasOwnProperty(t)){var n=i[t];h[t]=function(t){return e.apply(void 0,n.map((function(e){return"function"==typeof e?e(t):e})))}}};for(var d in i)m(d)}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._isSSR=!1,t.setSSR=function(e){t._isSSR=e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeyCodes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pauseBreak:19,capslock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,del:46,zero:48,one:49,two:50,three:51,four:52,five:53,six:54,seven:55,eight:56,nine:57,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindow:91,rightWindow:92,select:93,zero_numpad:96,one_numpad:97,two_numpad:98,three_numpad:99,four_numpad:100,five_numpad:101,six_numpad:102,seven_numpad:103,eight_numpad:104,nine_numpad:105,multiply:106,add:107,subtract:109,decimalPoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrollLock:145,semicolon:186,equalSign:187,comma:188,dash:189,period:190,forwardSlash:191,graveAccent:192,openBracket:219,backSlash:220,closeBracket:221,singleQuote:222}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVirtualElement=function(e){return e&&!!e._virtual}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(68);t.findElementRecursive=function e(t,n){return t&&t!==document.body?n(t)?t:e(o.getParent(t),n):null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(13),r=!1,i=0,s={empty:!0},a={},l="undefined"==typeof WeakMap?null:WeakMap;function c(){i++}function u(e,t,n){if(void 0===t&&(t=100),void 0===n&&(n=!1),!l)return e;if(!r){var s=o.Stylesheet.getInstance();s&&s.onReset&&o.Stylesheet.getInstance().onReset(c),r=!0}var a,u=0,f=i;return function(){for(var o=[],r=0;r0&&u>t)&&(a=p(),u=0,f=i),s=a;for(var l=0;l=o.Unshaded&&e<=o.Shade8}function y(e,t){return{h:e.h,s:e.s,v:s.clamp(e.v-e.v*t,100,0)}}function b(e,t){return{h:e.h,s:s.clamp(e.s-e.s*t,100,0),v:s.clamp(e.v+(100-e.v)*t,100,0)}}!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"}(o=t.Shade||(t.Shade={})),t.isValidShade=_,t.isDark=function(e){return l.hsv2hsl(e.h,e.s,e.v).l<50},t.getShade=function(e,t,n){if(void 0===n&&(n=!1),!e)return null;if(t===o.Unshaded||!_(t))return e;var s=l.hsv2hsl(e.h,e.s,e.v),u={h:e.h,s:e.s,v:e.v},d=t-1,S=b,C=y;return n&&(S=y,C=b),u=function(e){return e.r===r.MAX_COLOR_RGB&&e.g===r.MAX_COLOR_RGB&&e.b===r.MAX_COLOR_RGB}(e)?y(u,p[d]):function(e){return 0===e.r&&0===e.g&&0===e.b}(e)?b(u,f[d]):s.l/100>.8?C(u,m[d]):s.l/100<.2?S(u,h[d]):d1?o/i:i/o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(689),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header"}(t.SelectableOptionMenuItemType||(t.SelectableOptionMenuItemType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(703),t),o.__exportStar(n(130),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=n(23),i=n(133),s=n(265),a={root:"ms-DetailsRow-check",isDisabled:"ms-DetailsRow-check--isDisabled",isHeader:"ms-DetailsRow-check--isHeader"};t.CHECK_CELL_WIDTH=48,t.getStyles=function(e){var n=e.theme,l=e.className,c=e.isHeader,u=e.selected,d=e.anySelected,p=e.canSelect,f=e.compact,h=e.isVisible,m=o.getGlobalClassNames(a,n),g=r.DEFAULT_ROW_HEIGHTS.rowHeight,v=r.DEFAULT_ROW_HEIGHTS.compactRowHeight,_=c?i.HEADER_HEIGHT:f?v:g,y=h||u||d;return{root:[m.root,l],check:[!p&&m.isDisabled,c&&m.isHeader,o.getFocusStyle(n),n.fonts.small,s.CheckGlobalClassNames.checkHost,{display:"flex",alignItems:"center",justifyContent:"center",cursor:"default",boxSizing:"border-box",verticalAlign:"top",background:"none",backgroundColor:"transparent",border:"none",opacity:y?1:0,height:_,width:t.CHECK_CELL_WIDTH,padding:0,margin:0}],isDisabled:[]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=n(2),i=n(23),s=n(27),a={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"};t.HEADER_HEIGHT=42,t.getCellStyles=function(e){var n=e.theme,r=e.cellStyleProps,s=void 0===r?i.DEFAULT_CELL_STYLE_PROPS:r,l=n.semanticColors;return[o.getGlobalClassNames(a,n).cell,o.getFocusStyle(n),{color:l.bodyText,position:"relative",display:"inline-block",boxSizing:"border-box",padding:"0 "+s.cellRightPadding+"px 0 "+s.cellLeftPadding+"px",lineHeight:"inherit",margin:"0",height:t.HEADER_HEIGHT,verticalAlign:"top",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"}]},t.getStyles=function(e){var n,l,c,u,d=e.theme,p=e.className,f=e.isAllSelected,h=e.isResizingColumn,m=e.isSizing,g=e.isAllCollapsed,v=e.cellStyleProps,_=void 0===v?i.DEFAULT_CELL_STYLE_PROPS:v,y=d.semanticColors,b=d.palette,S=d.fonts,C=o.getGlobalClassNames(a,d),x={iconForegroundColor:y.bodySubtext,headerForegroundColor:y.bodyText,headerBackgroundColor:y.bodyBackground,dropdownChevronForegroundColor:b.neutralTertiary,resizerColor:b.neutralTertiaryAlt},k={opacity:1,transition:"opacity 0.3s linear"},w=t.getCellStyles(e);return{root:[C.root,S.small,{display:"inline-block",background:x.headerBackgroundColor,position:"relative",minWidth:"100%",verticalAlign:"top",height:t.HEADER_HEIGHT,lineHeight:t.HEADER_HEIGHT,whiteSpace:"nowrap",boxSizing:"content-box",paddingBottom:"1px",paddingTop:"16px",borderBottom:"1px solid "+y.bodyDivider,cursor:"default",userSelect:"none",selectors:(n={},n["&:hover ."+C.check]={opacity:1},n["& ."+C.tooltipHost+" ."+C.checkTooltip]={display:"block"},n)},f&&C.isAllSelected,h&&C.isResizingColumn,p],check:[C.check,{height:t.HEADER_HEIGHT},{selectors:(l={},l["."+r.IsFocusVisibleClassName+" &:focus"]={opacity:1},l)}],cellWrapperPadded:{paddingRight:_.cellExtraRightPadding+_.cellRightPadding},cellIsCheck:[w,C.cellIsCheck,{position:"relative",padding:0,margin:0,display:"inline-flex",alignItems:"center",border:"none"},f&&{opacity:1}],cellIsGroupExpander:[w,{display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:S.small.fontSize,padding:0,border:"none",width:s.SPACER_WIDTH,color:b.neutralSecondary,selectors:{":hover":{backgroundColor:b.neutralLighter},":active":{backgroundColor:b.neutralLight}}}],cellIsActionable:{selectors:{":hover":{color:y.bodyText,background:y.listHeaderBackgroundHovered},":active":{background:y.listHeaderBackgroundPressed}}},cellIsEmpty:{textOverflow:"clip"},cellSizer:[C.cellSizer,o.focusClear(),{display:"inline-block",position:"relative",cursor:"ew-resize",bottom:0,top:0,overflow:"hidden",height:"inherit",background:"transparent",zIndex:1,width:16,selectors:(c={":after":{content:'""',position:"absolute",top:0,bottom:0,width:1,background:x.resizerColor,opacity:0,left:"50%"},":focus:after":k,":hover:after":k},c["&."+C.isResizing+":after"]=[k,{boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.4)"}],c)}],cellIsResizing:C.isResizing,cellSizerStart:{margin:"0 -8px"},cellSizerEnd:{margin:0,marginLeft:-16},collapseButton:[C.collapseButton,{transformOrigin:"50% 50%",transition:"transform .1s linear"},g?[C.isCollapsed,{transform:"rotate(0deg)"}]:{transform:r.getRTL(d)?"rotate(-90deg)":"rotate(90deg)"}],checkTooltip:C.checkTooltip,sizingOverlay:m&&{position:"absolute",left:0,top:0,right:0,bottom:0,cursor:"ew-resize",background:"rgba(255, 255, 255, 0)",selectors:(u={},u[o.HighContrastSelector]={background:"transparent",MsHighContrastAdjust:"none"},u)},accessibleLabel:o.hiddenContentStyle,dropHintCircleStyle:[C.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 "+b.themePrimary,background:b.white}],dropHintCaretStyle:[C.dropHintCaretStyle,{display:"none",position:"absolute",top:-28,left:-6.5,fontSize:S.medium.fontSize,color:b.themePrimary,overflow:"visible",zIndex:10}],dropHintLineStyle:[C.dropHintLineStyle,{display:"none",position:"absolute",bottom:0,top:0,overflow:"hidden",height:42,width:1,background:b.themePrimary,zIndex:10}],dropHintStyle:{display:"inline-block",position:"absolute"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(726),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(t.SpinnerSize||(t.SpinnerSize={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(t.SpinnerType||(t.SpinnerType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(116),a=n(132),l=n(6),c=i.classNamesFunction(),u=r.memo((function(e){return r.createElement(s.Check,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})}));function d(e){return r.createElement(s.Check,{checked:e.checked})}function p(e){return r.createElement(u,{theme:e.theme,checked:e.checked})}t.DetailsRowCheck=i.styled((function(e){var t=e.isVisible,n=void 0!==t&&t,s=e.canSelect,a=void 0!==s&&s,u=e.anySelected,f=void 0!==u&&u,h=e.selected,m=void 0!==h&&h,g=e.isHeader,v=void 0!==g&&g,_=e.className,y=(e.checkClassName,e.styles),b=e.theme,S=e.compact,C=e.onRenderDetailsCheckbox,x=e.useFastIcons,k=void 0===x||x,w=o.__rest(e,["isVisible","canSelect","anySelected","selected","isHeader","className","checkClassName","styles","theme","compact","onRenderDetailsCheckbox","useFastIcons"]),P=k?p:d,E=C?l.composeRenderFunction(C,P):P,I=c(y,{theme:b,canSelect:a,selected:m,anySelected:f,className:_,isHeader:v,isVisible:n,compact:S}),T={checked:m,theme:b};return a?r.createElement("div",o.__assign({},w,{role:"checkbox",className:i.css(I.root,I.check),"aria-checked":m,"data-selection-toggle":!0,"data-automationid":"DetailsRowCheck"}),E(T)):r.createElement("div",o.__assign({},w,{className:i.css(I.root,I.check)}))}),a.getStyles,void 0,{scope:"DetailsRowCheck"},!0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.none=0]="none",e[e.hidden=1]="hidden",e[e.visible=2]="visible"}(t.SelectAllVisibility||(t.SelectAllVisibility={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(38);t.ResponsiveMode=o.ResponsiveMode,function(e){e[e.normal=0]="normal",e[e.largeHeader=1]="largeHeader",e[e.close=2]="close"}(t.DialogType||(t.DialogType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(742),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(212),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(38);t.ResponsiveMode=o.ResponsiveMode;var r=n(130);t.DropdownMenuItemType=r.SelectableOptionMenuItemType},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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"}(t.PanelType||(t.PanelType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(33),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(12),a=n(21),l=n(33),c=n(331),u=n(803),d=n(336),p=n(84),f=n(110),h=n(804),m=i.classNamesFunction();var g=function(e){function t(t){var n,o=e.call(this,t)||this;o.root=r.createRef(),o.input=r.createRef(),o.focusZone=r.createRef(),o.suggestionElement=r.createRef(),o.SuggestionOfProperType=c.Suggestions,o._styledSuggestions=(n=o.SuggestionOfProperType,i.styled(n,u.getStyles,void 0,{scope:"Suggestions"})),o.dismissSuggestions=function(e){var t=function(){o.props.onDismiss&&o.props.onDismiss(e,o.suggestionStore.currentSuggestion?o.suggestionStore.currentSuggestion.item:void 0),(!e||e&&!e.defaultPrevented)&&o.canAddItems()&&o.suggestionStore.hasSelectedSuggestion()&&o.state.suggestedDisplayValue&&o.addItemByIndex(0)};o.currentPromise?o.currentPromise.then((function(){return t()})):t(),o.setState({suggestionsVisible:!1})},o.refocusSuggestions=function(e){o.resetFocus(),o.suggestionStore.suggestions&&o.suggestionStore.suggestions.length>0&&(e===i.KeyCodes.up?o.suggestionStore.setSelectedSuggestion(o.suggestionStore.suggestions.length-1):e===i.KeyCodes.down&&o.suggestionStore.setSelectedSuggestion(0))},o.onInputChange=function(e){o.updateValue(e),o.setState({moreSuggestionsAvailable:!0,isMostRecentlyUsedVisible:!1})},o.onSuggestionClick=function(e,t,n){o.addItemByIndex(n)},o.onSuggestionRemove=function(e,t,n){o.props.onRemoveSuggestion&&o.props.onRemoveSuggestion(t),o.suggestionStore.removeSuggestion(n)},o.onInputFocus=function(e){o.state.isFocused||(o.setState({isFocused:!0}),o.selection.setAllSelected(!1),o._userTriggeredSuggestions(),o.props.inputProps&&o.props.inputProps.onFocus&&o.props.inputProps.onFocus(e))},o.onInputBlur=function(e){o.props.inputProps&&o.props.inputProps.onBlur&&o.props.inputProps.onBlur(e)},o.onBlur=function(e){if(o.state.isFocused){var t=e.relatedTarget;null===e.relatedTarget&&(t=document.activeElement),t&&!i.elementContains(o.root.current,t)&&(o.setState({isFocused:!1}),o.props.onBlur&&o.props.onBlur(e))}},o.onClick=function(e){void 0!==o.props.inputProps&&void 0!==o.props.inputProps.onClick&&o.props.inputProps.onClick(e),0===e.button&&o._userTriggeredSuggestions()},o.onKeyDown=function(e){var t=e.which;switch(t){case i.KeyCodes.escape:o.state.suggestionsVisible&&(o.setState({suggestionsVisible:!1}),e.preventDefault(),e.stopPropagation());break;case i.KeyCodes.tab:case i.KeyCodes.enter:o.suggestionElement.current&&o.suggestionElement.current.hasSuggestedActionSelected()?o.suggestionElement.current.executeSelectedAction():!e.shiftKey&&o.suggestionStore.hasSelectedSuggestion()&&o.state.suggestionsVisible?(o.completeSuggestion(),e.preventDefault(),e.stopPropagation()):o._completeGenericSuggestion();break;case i.KeyCodes.backspace:o.props.disabled||o.onBackspace(e),e.stopPropagation();break;case i.KeyCodes.del:o.props.disabled||(o.input.current&&e.target===o.input.current.inputElement&&o.state.suggestionsVisible&&-1!==o.suggestionStore.currentIndex?(o.props.onRemoveSuggestion&&o.props.onRemoveSuggestion(o.suggestionStore.currentSuggestion.item),o.suggestionStore.removeSuggestion(o.suggestionStore.currentIndex),o.forceUpdate()):o.onBackspace(e)),e.stopPropagation();break;case i.KeyCodes.up:o.input.current&&e.target===o.input.current.inputElement&&o.state.suggestionsVisible&&(o.suggestionElement.current&&o.suggestionElement.current.tryHandleKeyDown(t,o.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation()):o.suggestionElement.current&&o.suggestionElement.current.hasSuggestedAction()&&0===o.suggestionStore.currentIndex?(e.preventDefault(),e.stopPropagation(),o.suggestionElement.current.focusAboveSuggestions(),o.suggestionStore.deselectAllSuggestions(),o.forceUpdate()):o.suggestionStore.previousSuggestion()&&(e.preventDefault(),e.stopPropagation(),o.onSuggestionSelect()));break;case i.KeyCodes.down:o.input.current&&e.target===o.input.current.inputElement&&o.state.suggestionsVisible&&(o.suggestionElement.current&&o.suggestionElement.current.tryHandleKeyDown(t,o.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation()):o.suggestionElement.current&&o.suggestionElement.current.hasSuggestedAction()&&o.suggestionStore.currentIndex+1===o.suggestionStore.suggestions.length?(e.preventDefault(),e.stopPropagation(),o.suggestionElement.current.focusBelowSuggestions(),o.suggestionStore.deselectAllSuggestions(),o.forceUpdate()):o.suggestionStore.nextSuggestion()&&(e.preventDefault(),e.stopPropagation(),o.onSuggestionSelect()))}},o.onItemChange=function(e,t){var n=o.state.items;if(t>=0){var r=n;r[t]=e,o._updateSelectedItems(r)}},o.onGetMoreResults=function(){o.setState({isSearching:!0},(function(){if(o.props.onGetMoreResults&&o.input.current){var e=o.props.onGetMoreResults(o.input.current.value,o.state.items),t=e,n=e;Array.isArray(t)?(o.updateSuggestions(t),o.setState({isSearching:!1})):n.then&&n.then((function(e){o.updateSuggestions(e),o.setState({isSearching:!1})}))}else o.setState({isSearching:!1});o.input.current&&o.input.current.focus(),o.setState({moreSuggestionsAvailable:!1,isResultsFooterVisible:!0})}))},o.completeSelection=function(e){o.addItem(e),o.updateValue(""),o.input.current&&o.input.current.clear(),o.setState({suggestionsVisible:!1})},o.addItemByIndex=function(e){o.completeSelection(o.suggestionStore.getSuggestionAtIndex(e).item)},o.addItem=function(e){var t=o.props.onItemSelected?o.props.onItemSelected(e):e;if(null!==t){var n=t,r=t;if(r&&r.then)r.then((function(e){var t=o.state.items.concat([e]);o._updateSelectedItems(t)}));else{var i=o.state.items.concat([n]);o._updateSelectedItems(i)}o.setState({suggestedDisplayValue:""})}},o.removeItem=function(e,t){var n=o.state.items,r=n.indexOf(e);if(r>=0){var i=n.slice(0,r).concat(n.slice(r+1));o._updateSelectedItems(i,t?r:void 0)}},o.removeItems=function(e){var t=o.state.items,n=t.filter((function(t){return-1===e.indexOf(t)})),r=e[0],i=t.indexOf(r);o._updateSelectedItems(n,i)},o._shouldFocusZoneEnterInnerZone=function(e){if(o.state.suggestionsVisible)switch(e.which){case i.KeyCodes.up:case i.KeyCodes.down:return!0}return e.which===i.KeyCodes.enter},o._onResolveSuggestions=function(e){var t=o.props.onResolveSuggestions(e,o.state.items);null!==t&&o.updateSuggestionsList(t,e)},o._completeGenericSuggestion=function(){if(o.props.onValidateInput&&o.input.current&&o.props.onValidateInput(o.input.current.value)!==p.ValidationState.invalid&&o.props.createGenericItem){var e=o.props.createGenericItem(o.input.current.value,o.props.onValidateInput(o.input.current.value));o.suggestionStore.createGenericSuggestion(e),o.completeSuggestion()}},o._userTriggeredSuggestions=function(){if(!o.state.suggestionsVisible){var e=o.input.current?o.input.current.value:"";e?0===o.suggestionStore.suggestions.length?o._onResolveSuggestions(e):o.setState({isMostRecentlyUsedVisible:!1,suggestionsVisible:!0}):o.onEmptyInputFocus()}},i.initializeComponentRef(o),o._async=new i.Async(o);var s=t.selectedItems||t.defaultSelectedItems||[];return o._id=i.getId(),o._ariaMap={selectedItems:"selected-items-"+o._id,selectedSuggestionAlert:"selected-suggestion-alert-"+o._id,suggestionList:"suggestion-list-"+o._id},o.suggestionStore=new d.SuggestionsController,o.selection=new l.Selection({onSelectionChanged:function(){return o.onSelectionChange()}}),o.selection.setItems(s),o.state={items:s,suggestedDisplayValue:"",isMostRecentlyUsedVisible:!1,moreSuggestionsAvailable:!1,isFocused:!1,isSearching:!1,selectedIndices:[]},o}return o.__extends(t,e),Object.defineProperty(t.prototype,"items",{get:function(){return this.state.items},enumerable:!0,configurable:!0}),t.prototype.UNSAFE_componentWillUpdate=function(e,t){t.items&&t.items!==this.state.items&&this.selection.setItems(t.items)},t.prototype.componentDidMount=function(){this.selection.setItems(this.state.items),this._onResolveSuggestions=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t,n=this,o=e.selectedItems;o&&(o.length0?"listbox":"dialog"},this.getSuggestionsAlert(b.screenReaderText),r.createElement(l.SelectionZone,{selection:this.selection,selectionMode:l.SelectionMode.multiple},r.createElement("div",{className:b.text},a.length>0&&r.createElement("span",{id:this._ariaMap.selectedItems,className:b.itemsWrapper,role:"list"},this.renderItems()),this.canAddItems()&&r.createElement(f.Autofill,o.__assign({spellCheck:!1},d,{className:b.input,componentRef:this.input,onClick:this.onClick,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onInputValueChange:this.onInputChange,suggestedDisplayValue:t,"aria-describedby":a.length>0?this._ariaMap.selectedItems:void 0,"aria-controls":y+" "+_||void 0,"aria-activedescendant":this.getActiveDescendant(),role:"textbox",disabled:p,onInputChange:this.props.onInputChange}))))),this.renderSuggestions())},t.prototype.canAddItems=function(){var e=this.state.items,t=this.props.itemLimit;return void 0===t||e.length=0){var n=this.root.current&&this.root.current.querySelectorAll("[data-selection-index]")[Math.min(e,t.length-1)];n&&this.focusZone.current&&this.focusZone.current.focusElement(n)}else this.canAddItems()?this.input.current&&this.input.current.focus():this.resetFocus(t.length-1)},t.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})}},t.prototype.onSelectionChange=function(){this.setState({selectedIndices:this.selection.getSelectedIndices()})},t.prototype.updateSuggestions=function(e){this.suggestionStore.updateSuggestions(e,0),this.forceUpdate()},t.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})}},t.prototype.updateValue=function(e){this._onResolveSuggestions(e)},t.prototype.updateSuggestionsList=function(e,t){var n=this,o=e,r=e;if(Array.isArray(o))this._updateAndResolveValue(t,o);else if(r&&r.then){this.setState({suggestionsLoading:!0}),this.suggestionStore.updateSuggestions([]),void 0!==t?this.setState({suggestionsVisible:this._getShowSuggestions()}):this.setState({suggestionsVisible:this.input.current&&this.input.current.inputElement===document.activeElement});var i=this.currentPromise=r;i.then((function(e){i===n.currentPromise&&n._updateAndResolveValue(t,e)}))}},t.prototype.resolveNewValue=function(e,t){var n=this;this.updateSuggestions(t);var o=void 0;this.suggestionStore.currentSuggestion&&(o=this._getTextFromItem(this.suggestionStore.currentSuggestion.item,e)),this.setState({suggestedDisplayValue:o,suggestionsVisible:this._getShowSuggestions()},(function(){return n.setState({suggestionsLoading:!1})}))},t.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},t.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]))},t.prototype.getActiveDescendant=function(){var e=this.suggestionStore.currentIndex;return e>-1&&!this.state.suggestionsLoading?"sug-"+e:void 0},t.prototype.getSuggestionsAlert=function(e){void 0===e&&(e=h.screenReaderOnly);var t=this.suggestionStore.currentIndex;if(this.props.enableSelectedSuggestionAlert){var n=t>-1?this.suggestionStore.getSuggestionAtIndex(this.suggestionStore.currentIndex):void 0,o=n?n.ariaLabel:void 0;return r.createElement("div",{className:e,role:"alert",id:this._ariaMap.selectedSuggestionAlert,"aria-live":"assertive"},o," ")}},t.prototype._updateAndResolveValue=function(e,t){void 0!==e?this.resolveNewValue(e,t):(this.suggestionStore.updateSuggestions(t,-1),this.state.suggestionsLoading&&this.setState({suggestionsLoading:!1}))},t.prototype._updateSelectedItems=function(e,t){var n=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},(function(){n._onSelectedItemsUpdated(e,t)}))},t.prototype._onSelectedItemsUpdated=function(e,t){this.resetFocus(t),this.onChange(e)},t.prototype._getShowSuggestions=function(){return void 0!==this.input.current&&null!==this.input.current&&this.input.current.inputElement===document.activeElement&&""!==this.input.current.value},t.prototype._getTextFromItem=function(e,t){return this.props.getTextFromItem?this.props.getTextFromItem(e,t):""},t}(r.Component);t.BasePicker=g;var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t.prototype.render=function(){var e=this.state,t=e.suggestedDisplayValue,n=e.isFocused,a=this.props,c=a.className,u=a.inputProps,d=a.disabled,p=a.theme,g=a.styles,v=this.props.enableSelectedSuggestionAlert?this._ariaMap.selectedSuggestionAlert:"",_=this.state.suggestionsVisible?this._ariaMap.suggestionList:"",y=g?m(g,{theme:p,className:c,isFocused:n,inputClassName:u&&u.className}):{root:i.css("ms-BasePicker",c||""),text:i.css("ms-BasePicker-text",h.pickerText,this.state.isFocused&&h.inputFocused),input:i.css("ms-BasePicker-input",h.pickerInput,u&&u.className),screenReaderText:h.screenReaderOnly};return r.createElement("div",{ref:this.root,onBlur:this.onBlur},r.createElement("div",{className:y.root,onKeyDown:this.onKeyDown},this.getSuggestionsAlert(y.screenReaderText),r.createElement("div",{className:y.text,"aria-owns":_||void 0,"aria-expanded":!!this.state.suggestionsVisible,"aria-haspopup":_&&this.suggestionStore.suggestions.length>0?"listbox":"dialog",role:"combobox"},r.createElement(f.Autofill,o.__assign({},u,{className:y.input,componentRef:this.input,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onClick:this.onClick,onInputValueChange:this.onInputChange,suggestedDisplayValue:t,"aria-activedescendant":this.getActiveDescendant(),role:"textbox",disabled:d,"aria-controls":_+" "+v||void 0,onInputChange:this.props.onInputChange})))),this.renderSuggestions(),r.createElement(l.SelectionZone,{selection:this.selection,selectionMode:l.SelectionMode.single},r.createElement(s.FocusZone,{componentRef:this.focusZone,className:"ms-BasePicker-selectedItems",isCircularNavigation:!0,direction:s.FocusZoneDirection.bidirectional,shouldEnterInnerZone:this._shouldFocusZoneEnterInnerZone,id:this._ariaMap.selectedItems,role:"list"},this.renderItems())))},t.prototype.onBackspace=function(e){},t}(g);t.BasePickerListBelow=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.compact=0]="compact",e[e.expanded=1]="expanded"}(t.ExpandingCardMode||(t.ExpandingCardMode={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.info=0]="info",e[e.error=1]="error",e[e.blocked=2]="blocked",e[e.severeWarning=3]="severeWarning",e[e.success=4]="success",e[e.warning=5]="warning"}(t.MessageBarType||(t.MessageBarType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.links=0]="links",e[e.tabs=1]="tabs"}(t.PivotLinkFormat||(t.PivotLinkFormat={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(t.PivotLinkSize||(t.PivotLinkSize={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.ScrollbarVisibility={auto:"auto",always:"always"},t.ScrollablePaneContext=o.createContext({scrollablePane:void 0})},function(e,t,n){"use strict";const o=n(956),r=n(957),i=n(958);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function a(e,t){return t.encode?t.strict?o(e):encodeURIComponent(e):e}function l(e,t){return t.decode?r(e):e}function c(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function u(e){const t=(e=c(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function d(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function p(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,o)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===o[e]&&(o[e]={}),o[e][t[1]]=n):o[e]=n};case"bracket":return(e,n,o)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==o[e]?o[e]=[].concat(o[e],n):o[e]=[n]:o[e]=n};case"comma":case"separator":return(t,n,o)=>{const r="string"==typeof n&&n.split("").indexOf(e.arrayFormatSeparator)>-1?n.split(e.arrayFormatSeparator).map(t=>l(t,e)):null===n?n:l(n,e);o[t]=r};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),o=Object.create(null);if("string"!=typeof e)return o;if(!(e=e.trim().replace(/^[?#&]/,"")))return o;for(const r of e.split("&")){let[e,s]=i(t.decode?r.replace(/\+/g," "):r,"=");s=void 0===s?null:["comma","separator"].includes(t.arrayFormat)?s:l(s,t),n(l(e,t),s,o)}for(const e of Object.keys(o)){const n=o[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=d(n[e],t);else o[e]=d(n,t)}return!1===t.sort?o:(!0===t.sort?Object.keys(o).sort():Object.keys(o).sort(t.sort)).reduce((e,t)=>{const n=o[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(n):e[t]=n,e},Object.create(null))}t.extract=u,t.parse=p,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],o=function(e){switch(e.arrayFormat){case"index":return t=>(n,o)=>{const r=n.length;return void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:null===o?[...n,[a(t,e),"[",r,"]"].join("")]:[...n,[a(t,e),"[",a(r,e),"]=",a(o,e)].join("")]};case"bracket":return t=>(n,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:null===o?[...n,[a(t,e),"[]"].join("")]:[...n,[a(t,e),"[]=",a(o,e)].join("")];case"comma":case"separator":return t=>(n,o)=>null==o||0===o.length?n:0===n.length?[[a(t,e),"=",a(o,e)].join("")]:[[n,a(o,e)].join(e.arrayFormatSeparator)];default:return t=>(n,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:null===o?[...n,a(t,e)]:[...n,[a(t,e),"=",a(o,e)].join("")]}}(t),r={};for(const t of Object.keys(e))n(t)||(r[t]=e[t]);const i=Object.keys(r);return!1!==t.sort&&i.sort(t.sort),i.map(n=>{const r=e[n];return void 0===r?"":null===r?a(n,t):Array.isArray(r)?r.reduce(o(n),[]).join("&"):a(n,t)+"="+a(r,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,o]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:p(u(e),t)},t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:l(o,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const o=c(e.url).split("?")[0]||"",r=t.extract(e.url),i=t.parse(r,{sort:!1}),s=Object.assign(i,e.query);let l=t.stringify(s,n);l&&(l="?"+l);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u="#"+a(e.fragmentIdentifier,n)),`${o}${l}${u}`}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(62),r=n(0),i=o.__importDefault(n(961)),s=function(){};t.default=function(e,t,n,o){void 0===t&&(t=s),void 0===n&&(n={}),void 0===o&&(o=[e]);var a=n.event,l=void 0===a?"keydown":a,c=n.target,u=n.options,d=r.useMemo((function(){var n,o="function"==typeof(n=e)?n:"string"==typeof n?function(e){return e.key===n}:n?function(){return!0}:function(){return!1};return function(e){if(o(e))return t(e)}}),o);i.default(l,d,c,u)}},function(e,t,n){var o=n(407),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();e.exports=i},function(e,t,n){var o=n(151).Symbol;e.exports=o},function(e,t,n){e.exports=function(e){function t(e){let t=0;for(let n=0;n{if("%%"===n)return n;a++;const i=o.formatters[r];if("function"==typeof i){const o=e[a];n=i.call(t,o),e.splice(a,1),a--}return n}),o.formatArgs.call(t,e);(t.log||o.log).apply(t,e)}return s.namespace=e,s.enabled=o.enabled(e),s.useColors=o.useColors(),s.color=t(e),s.destroy=r,s.extend=i,"function"==typeof o.init&&o.init(s),o.instances.push(s),s}function r(){const e=o.instances.indexOf(this);return-1!==e&&(o.instances.splice(e,1),!0)}function i(e,t){const n=o(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return o.debug=o,o.default=o,o.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},o.disable=function(){const e=[...o.names.map(s),...o.skips.map(s).map(e=>"-"+e)].join(",");return o.enable(""),e},o.enable=function(e){let t;o.save(e),o.names=[],o.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t{o[t]=e[t]}),o.instances=[],o.names=[],o.skips=[],o.formatters={},o.selectColor=t,o.enable(o.load()),o}},function(e,t,n){(function(e){var o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},o=0;o=i)return e;switch(e){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch(e){return"[Circular]"}default:return e}})),l=o[n];n=3&&(o.depth=arguments[2]),arguments.length>=4&&(o.colors=arguments[3]),h(n)?o.showHidden=n:n&&t._extend(o,n),_(o.showHidden)&&(o.showHidden=!1),_(o.depth)&&(o.depth=2),_(o.colors)&&(o.colors=!1),_(o.customInspect)&&(o.customInspect=!0),o.colors&&(o.stylize=l),u(o,e,o.depth)}function l(e,t){var n=a.styles[t];return n?"["+a.colors[n][0]+"m"+e+"["+a.colors[n][1]+"m":e}function c(e,t){return e}function u(e,n,o){if(e.customInspect&&n&&x(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var r=n.inspect(o,e);return v(r)||(r=u(e,r,o)),r}var i=function(e,t){if(_(t))return e.stylize("undefined","undefined");if(v(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(g(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(i)return i;var s=Object.keys(n),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(n)),C(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return d(n);if(0===s.length){if(x(n)){var l=n.name?": "+n.name:"";return e.stylize("[Function"+l+"]","special")}if(y(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(S(n))return e.stylize(Date.prototype.toString.call(n),"date");if(C(n))return d(n)}var c,b="",k=!1,w=["{","}"];(f(n)&&(k=!0,w=["[","]"]),x(n))&&(b=" [Function"+(n.name?": "+n.name:"")+"]");return y(n)&&(b=" "+RegExp.prototype.toString.call(n)),S(n)&&(b=" "+Date.prototype.toUTCString.call(n)),C(n)&&(b=" "+d(n)),0!==s.length||k&&0!=n.length?o<0?y(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=k?function(e,t,n,o,r){for(var i=[],s=0,a=t.length;s=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(c,b,w)):w[0]+b+w[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,n,o,r,i){var s,a,l;if((l=Object.getOwnPropertyDescriptor(t,r)||{value:t[r]}).get?a=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(a=e.stylize("[Setter]","special")),I(o,r)||(s="["+r+"]"),a||(e.seen.indexOf(l.value)<0?(a=m(n)?u(e,l.value,null):u(e,l.value,n-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),_(s)){if(i&&r.match(/^\d+$/))return a;(s=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function f(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function m(e){return null===e}function g(e){return"number"==typeof e}function v(e){return"string"==typeof e}function _(e){return void 0===e}function y(e){return b(e)&&"[object RegExp]"===k(e)}function b(e){return"object"==typeof e&&null!==e}function S(e){return b(e)&&"[object Date]"===k(e)}function C(e){return b(e)&&("[object Error]"===k(e)||e instanceof Error)}function x(e){return"function"==typeof e}function k(e){return Object.prototype.toString.call(e)}function w(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(_(i)&&(i=e.env.NODE_DEBUG||""),n=n.toUpperCase(),!s[n])if(new RegExp("\\b"+n+"\\b","i").test(i)){var o=e.pid;s[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,o,e)}}else s[n]=function(){};return s[n]},t.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=f,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=_,t.isRegExp=y,t.isObject=b,t.isDate=S,t.isError=C,t.isFunction=x,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(422);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(){var e=new Date,t=[w(e.getHours()),w(e.getMinutes()),w(e.getSeconds())].join(":");return[e.getDate(),P[e.getMonth()],t].join(" ")}function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",E(),t.format.apply(t,arguments))},t.inherits=n(423),t._extend=function(e,t){if(!t||!b(t))return e;for(var n=Object.keys(t),o=n.length;o--;)e[n[o]]=t[n[o]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function D(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!=typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,o=new Promise((function(e,o){t=e,n=o})),r=[],i=0;i=0)s(a.split(" "));else{var l=i.argsFromClassName(a);l?s(l):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?s(a):"object"==typeof a&&r.push(a)}}return s(e),{classes:n,objects:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(6),i=n(13),s=r.GlobalSettings.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),a=i.Stylesheet.getInstance();a&&a.onReset&&a.onReset((function(){for(var e in s)s.hasOwnProperty(e)&&s[e].subset&&(s[e].subset.className=void 0)}));var l=function(e){return e.toLowerCase()};t.registerIcons=function(e,t){var n=o.__assign(o.__assign({},e),{isRegistered:!1,className:void 0}),r=e.icons;for(var i in t=t?o.__assign(o.__assign({},s.__options),t):s.__options,r)if(r.hasOwnProperty(i)){var a=r[i],c=l(i);s[c]?d(i):s[c]={code:a,subset:n}}},t.unregisterIcons=function(e){for(var t=s.__options,n=function(e){var n=l(e);s[n]?delete s[n]:t.disableWarnings||r.warn('The icon "'+e+'" tried to unregister but was not registered.'),s.__remapped[n]&&delete s.__remapped[n],Object.keys(s.__remapped).forEach((function(e){s.__remapped[e]===n&&delete s.__remapped[e]}))},o=0,i=e;o10?" (+ "+(c.length-10)+" more)":"")),u=void 0,c=[]}),2e3)))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(19),r=function(){function e(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}return e.prototype.dispose=function(){var e;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(e,t){var n=this,o=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),o=setTimeout((function(){try{n._timeoutIds&&delete n._timeoutIds[o],e.apply(n._parent)}catch(e){n._onErrorHandler&&n._onErrorHandler(e)}}),t),this._timeoutIds[o]=!0),o},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e,t){var n=this,r=0,i=o.getWindow(t);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});r=i.setTimeout((function(){try{n._immediateIds&&delete n._immediateIds[r],e.apply(n._parent)}catch(e){n._logError(e)}}),0),this._immediateIds[r]=!0}return r},e.prototype.clearImmediate=function(e,t){var n=o.getWindow(t);this._immediateIds&&this._immediateIds[e]&&(n.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var n=this,o=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),o=setInterval((function(){try{e.apply(n._parent)}catch(e){n._logError(e)}}),t),this._intervalIds[o]=!0),o},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,n){var o=this;if(this._isDisposed)return this._noop;var r,i,s=t||0,a=!0,l=!0,c=0,u=null;n&&"boolean"==typeof n.leading&&(a=n.leading),n&&"boolean"==typeof n.trailing&&(l=n.trailing);var d=function(t){var n=(new Date).getTime(),p=n-c,f=a?s-p:s;return p>=s&&(!t||a)?(c=n,u&&(o.clearTimeout(u),u=null),r=e.apply(o._parent,i)):null===u&&l&&(u=o.setTimeout(d,f)),r};return function(){for(var e=[],t=0;t=a&&(n=!0),d=t);var r=t-d,s=a-r,h=t-p,v=!1;return null!==u&&(h>=u&&f?v=!0:s=Math.min(s,u-h)),r>=a||v||n?m(t):null!==f&&e||!c||(f=o.setTimeout(g,s)),i},v=function(){return!!f},_=function(){for(var e=[],t=0;t0&&e.preventDefault(),o.scrollHeight-Math.ceil(o.scrollTop)<=o.clientHeight&&t<0&&e.preventDefault()}}),{passive:!1}),o=e}},t.allowOverscrollOnElement=function(e,t){if(e){t.on(e,"touchmove",(function(e){e.stopPropagation()}),{passive:!1})}};var c=function(e){e.preventDefault()};function u(e){for(var n=e,o=r.getDocument(e);n&&n!==o.body;){if("true"===n.getAttribute(t.DATA_IS_SCROLLABLE_ATTRIBUTE))return n;n=n.parentElement}for(n=e;n&&n!==o.body;){if("false"!==n.getAttribute(t.DATA_IS_SCROLLABLE_ATTRIBUTE)){var i=getComputedStyle(n),a=i?i.getPropertyValue("overflow-y"):"";if(a&&("scroll"===a||"auto"===a))return n}n=n.parentElement}return n&&n!==o.body||(n=s.getWindow(e)),n}t.disableBodyScroll=function(){var e=r.getDocument();e&&e.body&&!a&&(e.body.classList.add(l),e.body.addEventListener("touchmove",c,{passive:!1,capture:!1})),a++},t.enableBodyScroll=function(){if(a>0){var e=r.getDocument();e&&e.body&&1===a&&(e.body.classList.remove(l),e.body.removeEventListener("touchmove",c)),a--}},t.getScrollbarWidth=function(){if(void 0===o){var e=document.createElement("div");e.style.setProperty("width","100px"),e.style.setProperty("height","100px"),e.style.setProperty("overflow","scroll"),e.style.setProperty("position","absolute"),e.style.setProperty("top","-9999px"),document.body.appendChild(e),o=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return o},t.findScrollableParent=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRect=function(e){var t;return e&&(e===window?t={left:0,top:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:e.getBoundingClientRect&&(t=e.getBoundingClientRect())),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(54);t.warnConditionallyRequiredProps=function(e,t,n,o,r){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(54);t.warnMutuallyExclusive=function(e,t,n){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(54);t.warnDeprecations=function(e,t,n){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(19),r=0,i=function(){function e(){}return e.getValue=function(e,t){var n=s();return void 0===n[e]&&(n[e]="function"==typeof t?t():t),n[e]},e.setValue=function(e,t){var n=s(),o=n.__callbacks__,r=n[e];if(t!==r){n[e]=t;var i={oldValue:r,value:t,key:e};for(var a in o)o.hasOwnProperty(a)&&o[a](i)}return t},e.addChangeListener=function(e){var t=e.__id__,n=a();t||(t=e.__id__=String(r++)),n[t]=e},e.removeChangeListener=function(e){delete a()[e.__id__]},e}();function s(){var e,t=o.getWindow()||{};return t.__globalSettings__||(t.__globalSettings__=((e={}).__callbacks__={},e)),t.__globalSettings__}function a(){return s().__callbacks__}t.GlobalSettings=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appendFunction=function(e){for(var t=[],n=1;n=0||0===l.indexOf("data-")||0===l.indexOf("aria-"))||n&&-1!==(null===(o=n)||void 0===o?void 0:o.indexOf(l))||(i[l]=e[l])}return i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SELECTION_CHANGE="change",function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.multiple=2]="multiple"}(t.SelectionMode||(t.SelectionMode={})),function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(t.SelectionDirection||(t.SelectionDirection={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultEffects={elevation4:"0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",elevation8:"0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",elevation16:"0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",elevation64:"0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)",roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r;!function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web",e.Armenian="Segoe UI Web (Armenian)",e.Georgian="Segoe UI Web (Georgian)"}(o=t.LocalizedFontNames||(t.LocalizedFontNames={})),function(e){e.Arabic="'"+o.Arabic+"'",e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'"+o.Cyrillic+"'",e.EastEuropean="'"+o.EastEuropean+"'",e.Greek="'"+o.Greek+"'",e.Hebrew="'"+o.Hebrew+"'",e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'"+o.Selawik+"'",e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'"+o.Vietnamese+"'",e.WestEuropean="'"+o.WestEuropean+"'",e.Armenian="'"+o.Armenian+"'",e.Georgian="'"+o.Georgian+"'"}(r=t.LocalizedFontFamilies||(t.LocalizedFontFamilies={}));var i,s,a="'Segoe UI', '"+o.WestEuropean+"'",l={ar:r.Arabic,bg:r.Cyrillic,cs:r.EastEuropean,el:r.Greek,et:r.EastEuropean,he:r.Hebrew,hi:r.Hindi,hr:r.EastEuropean,hu:r.EastEuropean,ja:r.Japanese,kk:r.EastEuropean,ko:r.Korean,lt:r.EastEuropean,lv:r.EastEuropean,pl:r.EastEuropean,ru:r.Cyrillic,sk:r.EastEuropean,"sr-latn":r.EastEuropean,th:r.Thai,tr:r.EastEuropean,uk:r.Cyrillic,vi:r.Vietnamese,"zh-hans":r.ChineseSimplified,"zh-hant":r.ChineseTraditional,hy:r.Armenian,ka:r.Georgian};function c(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}!function(e){e.mini="10px",e.xSmall="10px",e.small="12px",e.smallPlus="12px",e.medium="14px",e.mediumPlus="16px",e.icon="16px",e.large="18px",e.xLarge="20px",e.xLargePlus="24px",e.xxLarge="28px",e.xxLargePlus="32px",e.superLarge="42px",e.mega="68px"}(i=t.FontSizes||(t.FontSizes={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(s=t.FontWeights||(t.FontWeights={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(t.IconFontSizes||(t.IconFontSizes={})),t.createFontStyles=function(e){var t=function(e){for(var t in l)if(l.hasOwnProperty(t)&&e&&0===t.indexOf(e))return l[t];return a}(e)+", 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif";return{tiny:c(i.mini,s.regular,t),xSmall:c(i.xSmall,s.regular,t),small:c(i.small,s.regular,t),smallPlus:c(i.smallPlus,s.regular,t),medium:c(i.medium,s.regular,t),mediumPlus:c(i.mediumPlus,s.regular,t),large:c(i.large,s.regular,t),xLarge:c(i.xLarge,s.semibold,t),xLargePlus:c(i.xLargePlus,s.semibold,t),xxLarge:c(i.xxLarge,s.semibold,t),xxLargePlus:c(i.xxLargePlus,s.semibold,t),superLarge:c(i.superLarge,s.semibold,t),mega:c(i.mega,s.semibold,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HighContrastSelector="@media screen and (-ms-high-contrast: active)",t.HighContrastSelectorWhite="@media screen and (-ms-high-contrast: black-on-white)",t.HighContrastSelectorBlack="@media screen and (-ms-high-contrast: white-on-black)",t.EdgeChromiumHighContrastSelector="@media screen and (forced-colors: active)",t.ScreenWidthMinSmall=320,t.ScreenWidthMinMedium=480,t.ScreenWidthMinLarge=640,t.ScreenWidthMinXLarge=1024,t.ScreenWidthMinXXLarge=1366,t.ScreenWidthMinXXXLarge=1920,t.ScreenWidthMaxSmall=t.ScreenWidthMinMedium-1,t.ScreenWidthMaxMedium=t.ScreenWidthMinLarge-1,t.ScreenWidthMaxLarge=t.ScreenWidthMinXLarge-1,t.ScreenWidthMaxXLarge=t.ScreenWidthMinXXLarge-1,t.ScreenWidthMaxXXLarge=t.ScreenWidthMinXXXLarge-1,t.ScreenWidthMinUhfMobile=768,t.getScreenSelector=function(e,t){return"@media only screen and (min-width: "+e+"px) and (max-width: "+t+"px)"},t.getEdgeChromiumNoHighContrastAdjustSelector=function(){var e;return(e={})[t.EdgeChromiumHighContrastSelector]={forcedColorAdjust:"none"},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(t.ZIndexes||(t.ZIndexes={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(6),i=n(103),s=n(102),a=n(562),l=n(20),c=n(206),u=f({palette:s.DefaultPalette,semanticColors:h(s.DefaultPalette,!1,!1),fonts:i.DefaultFontStyles,isInverted:!1,disableGlobalClassNames:!1}),d=[];function p(){var e,n,o;if(!r.Customizations.getSettings([t.ThemeSettingName]).theme){var i=r.getWindow();(null===(o=null===(n=i)||void 0===n?void 0:n.FabricConfig)||void 0===o?void 0:o.theme)&&(u=f(i.FabricConfig.theme)),r.Customizations.applySettings(((e={})[t.ThemeSettingName]=u,e))}}function f(e,t){void 0===t&&(t=!1);var n=o.__assign(o.__assign({},s.DefaultPalette),e.palette);e.palette&&e.palette.accent||(n.accent=n.themePrimary);var l=o.__assign(o.__assign({},h(n,!!e.isInverted,t)),e.semanticColors),u=o.__assign({},i.DefaultFontStyles);if(e.defaultFontStyle)for(var d=0,p=Object.keys(u);d=0&&(r[e].splice(n,1),0===r[e].length&&delete r[e])}},t.notifyHostChanged=function(e){r[e]&&r[e].forEach((function(e){return e()}))},t.setDefaultTarget=function(e){o=e},t.getDefaultTarget=function(){return o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.zero=0]="zero",e[e.medium=1]="medium",e[e.long=2]="long"}(t.TooltipDelay||(t.TooltipDelay={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(3),s=n(2),a=n(226),l=n(213),c=n(224),u=s.classNamesFunction(),d=function(e){function t(n){var o=e.call(this,n)||this;return o._tooltipHost=r.createRef(),o._defaultTooltipId=s.getId("tooltip"),o.show=function(){o._toggleTooltip(!0)},o.dismiss=function(){o._hideTooltip()},o._getTargetElement=function(){if(o._tooltipHost.current){var e=o.props.overflowMode;if(void 0!==e)switch(e){case a.TooltipOverflowMode.Parent:return o._tooltipHost.current.parentElement;case a.TooltipOverflowMode.Self:return o._tooltipHost.current}return o._tooltipHost.current}},o._onTooltipMouseEnter=function(e){var n=o.props,r=n.overflowMode,i=n.delay;if(t._currentVisibleTooltip&&t._currentVisibleTooltip!==o&&t._currentVisibleTooltip.dismiss(),t._currentVisibleTooltip=o,void 0!==r){var a=o._getTargetElement();if(a&&!s.hasOverflow(a))return}if(!e.target||!s.portalContainsElement(e.target,o._getTargetElement()))if(o._clearDismissTimer(),o._clearOpenTimer(),i!==c.TooltipDelay.zero){o.setState({isAriaPlaceholderRendered:!0});var l=o._getDelayTime(i);o._openTimerId=o._async.setTimeout((function(){o._toggleTooltip(!0)}),l)}else o._toggleTooltip(!0)},o._onTooltipMouseLeave=function(e){var n=o.props.closeDelay;o._clearDismissTimer(),o._clearOpenTimer(),n?o._dismissTimerId=o._async.setTimeout((function(){o._toggleTooltip(!1)}),n):o._toggleTooltip(!1),t._currentVisibleTooltip===o&&(t._currentVisibleTooltip=void 0)},o._onTooltipKeyDown=function(e){e.which===s.KeyCodes.escape&&o._hideTooltip()},o._clearDismissTimer=function(){o._async.clearTimeout(o._dismissTimerId)},o._clearOpenTimer=function(){o._async.clearTimeout(o._openTimerId)},o._hideTooltip=function(){o._clearOpenTimer(),o._clearDismissTimer(),o._toggleTooltip(!1)},o._toggleTooltip=function(e){o.state.isTooltipVisible!==e&&o.setState({isAriaPlaceholderRendered:!1,isTooltipVisible:e},(function(){return o.props.onTooltipToggle&&o.props.onTooltipToggle(e)}))},o._getDelayTime=function(e){switch(e){case c.TooltipDelay.medium:return 300;case c.TooltipDelay.long:return 500;default:return 0}},s.initializeComponentRef(o),o.state={isAriaPlaceholderRendered:!1,isTooltipVisible:!1},o._async=new s.Async(o),o}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.calloutProps,n=e.children,a=e.content,c=e.directionalHint,d=e.directionalHintForRTL,p=e.hostClassName,f=e.id,h=e.setAriaDescribedBy,m=void 0===h||h,g=e.tooltipProps,v=e.styles,_=e.theme;this._classNames=u(v,{theme:_,className:p});var y=this.state,b=y.isAriaPlaceholderRendered,S=y.isTooltipVisible,C=f||this._defaultTooltipId,x=!!(a||g&&g.onRenderContent&&g.onRenderContent()),k=S&&x,w=m&&S&&x?C:void 0;return r.createElement("div",o.__assign({className:this._classNames.root,ref:this._tooltipHost},{onFocusCapture:this._onTooltipMouseEnter},{onBlurCapture:this._hideTooltip},{onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,"aria-describedby":w}),n,k&&r.createElement(l.Tooltip,o.__assign({id:C,content:a,targetElement:this._getTargetElement(),directionalHint:c,directionalHintForRTL:d,calloutProps:s.assign({},t,{onDismiss:this._hideTooltip,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave}),onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},s.getNativeProps(this.props,s.divProperties),g)),b&&r.createElement("div",{id:C,style:i.hiddenContentStyle},a))},t.prototype.componentWillUnmount=function(){t._currentVisibleTooltip&&t._currentVisibleTooltip===this&&(t._currentVisibleTooltip=void 0),this._async.dispose()},t.defaultProps={delay:c.TooltipDelay.medium},t}(r.Component);t.TooltipHostBase=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Parent=0]="Parent",e[e.Self=1]="Self"}(t.TooltipOverflowMode||(t.TooltipOverflowMode={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(228),i=n(596);t.PersonaCoin=o.styled(r.PersonaCoinBase,i.getStyles,void 0,{scope:"PersonaCoin"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(3),a=n(589),l=n(5),c=n(43),u=n(41),d=n(235),p=n(42),f=i.classNamesFunction({cacheSize:100}),h=function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderCoin=function(e){var t=n.props,o=t.coinSize,i=t.styles,s=t.imageUrl,a=t.imageAlt,l=t.imageShouldFadeIn,u=t.imageShouldStartVisible,d=t.theme,h=t.showUnknownPersonaCoin;if(!s)return null;var m=n.props.size,g=f(i,{theme:d,size:m,showUnknownPersonaCoin:h}),v=o||p.sizeToPixels[m];return r.createElement(c.Image,{className:g.image,imageFit:c.ImageFit.cover,src:s,width:v,height:v,alt:a,shouldFadeIn:l,shouldStartVisible:u,onLoadingStateChange:n._onPhotoLoadingStateChange})},n._onRenderInitials=function(e){var t=e.imageInitials,o=e.allowPhoneInitials;if(e.showUnknownPersonaCoin)return r.createElement(l.Icon,{iconName:"Help"});var s=i.getRTL(n.props.theme);return""!==(t=t||i.getInitials(n._getText(),s,o))?r.createElement("span",null,t):r.createElement(l.Icon,{iconName:"Contact"})},n._onPhotoLoadingStateChange=function(e){n.setState({isImageLoaded:e===c.ImageLoadState.loaded,isImageError:e===c.ImageLoadState.error}),n.props.onPhotoLoadingStateChange&&n.props.onPhotoLoadingStateChange(e)},n.state={isImageLoaded:!1,isImageError:!1},n}return o.__extends(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.imageUrl!==this.props.imageUrl&&this.setState({isImageLoaded:!1,isImageError:!1})},t.prototype.render=function(){var e=this.props,t=e.className,n=e.coinProps,c=e.showUnknownPersonaCoin,p=e.coinSize,h=e.styles,m=e.imageUrl,g=e.isOutOfOffice,v=e.onRenderCoin,_=void 0===v?this._onRenderCoin:v,y=e.onRenderPersonaCoin,b=void 0===y?_:y,S=e.onRenderInitials,C=void 0===S?this._onRenderInitials:S,x=e.presence,k=e.presenceTitle,w=e.presenceColors,P=e.showInitialsUntilImageLoads,E=e.theme,I=this.props.size,T=i.getNativeProps(this.props,i.divProperties),D=i.getNativeProps(n||{},i.divProperties),M=p?{width:p,height:p}:void 0,O=c,R={coinSize:p,isOutOfOffice:g,presence:x,presenceTitle:k,presenceColors:w,size:I,theme:E},N=f(h,{theme:E,className:n&&n.className?n.className:t,size:I,coinSize:p,showUnknownPersonaCoin:c}),F=Boolean(!this.state.isImageLoaded&&(P&&m||!m||this.state.isImageError||O));return r.createElement("div",o.__assign({role:"presentation"},T,{className:N.coin}),I!==u.PersonaSize.size8&&I!==u.PersonaSize.size10&&I!==u.PersonaSize.tiny?r.createElement("div",o.__assign({role:"presentation"},D,{className:N.imageArea,style:M}),F&&r.createElement("div",{className:s.mergeStyles(N.initials,!c&&{backgroundColor:d.getPersonaInitialsColor(this.props)}),style:M,"aria-hidden":"true"},C(this.props,this._onRenderInitials)),!O&&b(this.props,this._onRenderCoin),r.createElement(a.PersonaPresence,o.__assign({},R))):this.props.presence?r.createElement(a.PersonaPresence,o.__assign({},R)):r.createElement(l.Icon,{iconName:"Contact",className:N.size10WithoutPresenceIcon}),this.props.children)},t.prototype._getText=function(){return this.props.text||this.props.primaryText||""},t.defaultProps={size:u.PersonaSize.size48,presence:u.PersonaPresence.none,imageAlt:""},t}(r.Component);t.PersonaCoinBase=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(5),a=n(41),l=n(42),c=i.classNamesFunction({cacheSize:100}),u=function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderIcon=function(e,t){return r.createElement(s.Icon,{className:e,iconName:d(n.props.presence,n.props.isOutOfOffice),style:t})},n}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.coinSize,n=e.isOutOfOffice,o=e.styles,i=e.presence,s=e.theme,u=e.presenceTitle,d=e.presenceColors,p=l.sizeBoolean(this.props.size),f=!(p.isSize8||p.isSize10||p.isSize16||p.isSize24||p.isSize28||p.isSize32)&&(!t||t>32),h=t?t/3<40?t/3+"px":"40px":"",m=t?{fontSize:t?t/6<20?t/6+"px":"20px":"",lineHeight:h}:void 0,g=t?{width:h,height:h}:void 0,v=c(o,{theme:s,presence:i,size:this.props.size,isOutOfOffice:n,presenceColors:d});return i===a.PersonaPresence.none?null:r.createElement("div",{role:"presentation",className:v.presence,style:g,title:u},f&&this._onRenderIcon(v.presenceIcon,m))},t}(r.Component);function d(e,t){if(e){switch(a.PersonaPresence[e]){case"online":return"SkypeCheck";case"away":return t?"SkypeArrow":"SkypeClock";case"dnd":return"SkypeMinus";case"offline":return t?"SkypeArrow":""}return""}}t.PersonaPresenceBase=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(591),t),o.__exportStar(n(231),t),o.__exportStar(n(232),t),o.__exportStar(n(234),t),o.__exportStar(n(593),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(232),s=n(106),a=n(107),l=n(2),c=n(234),u=l.classNamesFunction({cacheSize:100}),d=function(e){function t(t){var n=e.call(this,t)||this;return n.onImageLoadingStateChange=function(e){n.props.imageProps&&n.props.imageProps.onLoadingStateChange&&n.props.imageProps.onLoadingStateChange(e),e===a.ImageLoadState.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,a=e.styles,d=e.iconName,p=e.imageErrorAs,f=e.theme,h="string"==typeof d&&0===d.length,m=!!this.props.imageProps||this.props.iconType===i.IconType.image||this.props.iconType===i.IconType.Image,g=c.getIconContent(d)||{},v=g.iconClassName,_=g.children,y=u(a,{theme:f,className:n,iconClassName:v,isImage:m,isPlaceholder:h}),b=m?"span":"i",S=l.getNativeProps(this.props,l.htmlElementProperties,["aria-label"]),C=this.state.imageLoadError,x=o.__assign(o.__assign({},this.props.imageProps),{onLoadingStateChange:this.onImageLoadingStateChange}),k=C&&p||s.Image,w=this.props["aria-label"]||this.props.ariaLabel,P=w?{"aria-label":w}:{"aria-hidden":!this.props["aria-labelledby"]&&!x["aria-labelledby"]};return r.createElement(b,o.__assign({"data-icon-name":d},P,S,{className:y.root}),m?r.createElement(k,o.__assign({},x)):t||_)},t}(r.Component);t.IconBase=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(t.IconType||(t.IconType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(107),a=i.classNamesFunction(),l=function(e){function t(t){var n=e.call(this,t)||this;return n._coverStyle=s.ImageCoverStyle.portrait,n._imageElement=r.createRef(),n._frameElement=r.createRef(),n._onImageLoaded=function(e){var t=n.props,o=t.src,r=t.onLoad;r&&r(e),n._computeCoverStyle(n.props),o&&n.setState({loadState:s.ImageLoadState.loaded})},n._onImageError=function(e){n.props.onError&&n.props.onError(e),n.setState({loadState:s.ImageLoadState.error})},n.state={loadState:s.ImageLoadState.notLoaded},n}return o.__extends(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.src!==this.props.src?this.setState({loadState:s.ImageLoadState.notLoaded}):this.state.loadState===s.ImageLoadState.loaded&&this._computeCoverStyle(e)},t.prototype.componentDidUpdate=function(e,t){this._checkImageLoaded(),this.props.onLoadingStateChange&&t.loadState!==this.state.loadState&&this.props.onLoadingStateChange(this.state.loadState)},t.prototype.render=function(){var e=i.getNativeProps(this.props,i.imgProperties,["width","height"]),t=this.props,n=t.src,l=t.alt,c=t.width,u=t.height,d=t.shouldFadeIn,p=t.shouldStartVisible,f=t.className,h=t.imageFit,m=t.role,g=t.maximizeFrame,v=t.styles,_=t.theme,y=this.state.loadState,b=void 0!==this.props.coverStyle?this.props.coverStyle:this._coverStyle,S=a(v,{theme:_,className:f,width:c,height:u,maximizeFrame:g,shouldFadeIn:d,shouldStartVisible:p,isLoaded:y===s.ImageLoadState.loaded||y===s.ImageLoadState.notLoaded&&this.props.shouldStartVisible,isLandscape:b===s.ImageCoverStyle.landscape,isCenter:h===s.ImageFit.center,isCenterContain:h===s.ImageFit.centerContain,isCenterCover:h===s.ImageFit.centerCover,isContain:h===s.ImageFit.contain,isCover:h===s.ImageFit.cover,isNone:h===s.ImageFit.none,isError:y===s.ImageLoadState.error,isNotImageFit:void 0===h});return r.createElement("div",{className:S.root,style:{width:c,height:u},ref:this._frameElement},r.createElement("img",o.__assign({},e,{onLoad:this._onImageLoaded,onError:this._onImageError,key:"fabricImage"+this.props.src||"",className:S.image,ref:this._imageElement,src:n,alt:l,role:m})))},t.prototype._checkImageLoaded=function(){var e=this.props.src;this.state.loadState===s.ImageLoadState.notLoaded&&(!!this._imageElement.current&&(e&&this._imageElement.current.naturalWidth>0&&this._imageElement.current.naturalHeight>0||this._imageElement.current.complete&&t._svgRegex.test(e))&&(this._computeCoverStyle(this.props),this.setState({loadState:s.ImageLoadState.loaded})))},t.prototype._computeCoverStyle=function(e){var t=e.imageFit,n=e.width,o=e.height;if((t===s.ImageFit.cover||t===s.ImageFit.contain||t===s.ImageFit.centerContain||t===s.ImageFit.centerCover)&&void 0===this.props.coverStyle&&this._imageElement.current&&this._frameElement.current){var r=void 0;r="number"==typeof n&&"number"==typeof o&&t!==s.ImageFit.centerContain&&t!==s.ImageFit.centerCover?n/o:this._frameElement.current.clientWidth/this._frameElement.current.clientHeight;var i=this._imageElement.current.naturalWidth/this._imageElement.current.naturalHeight;this._coverStyle=i>r?s.ImageCoverStyle.landscape:s.ImageCoverStyle.portrait}},t.defaultProps={shouldFadeIn:!0},t._svgRegex=/\.svg$/i,t}(r.Component);t.ImageBase=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(108),s=n(2),a=n(3);t.getIconContent=s.memoizeFunction((function(e){var t=a.getIcon(e)||{subset:{},code:void 0},n=t.code,o=t.subset;return n?{children:n,iconClassName:o.className,fontFamily:o.fontFace&&o.fontFace.fontFamily}:null}),void 0,!0),t.FontIcon=function(e){var n=e.iconName,a=e.className,l=e.style,c=void 0===l?{}:l,u=t.getIconContent(n)||{},d=u.iconClassName,p=u.children,f=u.fontFamily,h=s.getNativeProps(e,s.htmlElementProperties),m=e["aria-label"]?{}:{role:"presentation","aria-hidden":!0};return r.createElement("i",o.__assign({"data-icon-name":n},m,h,{className:s.css(i.MS_ICON,i.classNames.root,d,!n&&i.classNames.placeholder,a),style:o.__assign({fontFamily:f},c)}),p)},t.getFontIcon=s.memoizeFunction((function(e,n,o){return t.FontIcon({iconName:e,className:n,"aria-label":o})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(41),r=[o.PersonaInitialsColor.lightBlue,o.PersonaInitialsColor.blue,o.PersonaInitialsColor.darkBlue,o.PersonaInitialsColor.teal,o.PersonaInitialsColor.green,o.PersonaInitialsColor.darkGreen,o.PersonaInitialsColor.lightPink,o.PersonaInitialsColor.pink,o.PersonaInitialsColor.magenta,o.PersonaInitialsColor.purple,o.PersonaInitialsColor.orange,o.PersonaInitialsColor.lightRed,o.PersonaInitialsColor.darkRed,o.PersonaInitialsColor.violet,o.PersonaInitialsColor.gold,o.PersonaInitialsColor.burgundy,o.PersonaInitialsColor.warmGray,o.PersonaInitialsColor.cyan,o.PersonaInitialsColor.rust,o.PersonaInitialsColor.coolGray],i=r.length;function s(e){var t=e.primaryText,n=e.text,s=e.initialsColor;return"string"==typeof s?s:function(e){switch(e){case o.PersonaInitialsColor.lightBlue:return"#4F6BED";case o.PersonaInitialsColor.blue:return"#0078D4";case o.PersonaInitialsColor.darkBlue:return"#004E8C";case o.PersonaInitialsColor.teal:return"#038387";case o.PersonaInitialsColor.lightGreen:case o.PersonaInitialsColor.green:return"#498205";case o.PersonaInitialsColor.darkGreen:return"#0B6A0B";case o.PersonaInitialsColor.lightPink:return"#C239B3";case o.PersonaInitialsColor.pink:return"#E3008C";case o.PersonaInitialsColor.magenta:return"#881798";case o.PersonaInitialsColor.purple:return"#5C2E91";case o.PersonaInitialsColor.orange:return"#CA5010";case o.PersonaInitialsColor.red:return"#EE1111";case o.PersonaInitialsColor.lightRed:return"#D13438";case o.PersonaInitialsColor.darkRed:return"#A4262C";case o.PersonaInitialsColor.transparent:return"transparent";case o.PersonaInitialsColor.violet:return"#8764B8";case o.PersonaInitialsColor.gold:return"#986F0B";case o.PersonaInitialsColor.burgundy:return"#750B1C";case o.PersonaInitialsColor.warmGray:return"#7A7574";case o.PersonaInitialsColor.cyan:return"#005B70";case o.PersonaInitialsColor.rust:return"#8E562E";case o.PersonaInitialsColor.coolGray:return"#69797E";case o.PersonaInitialsColor.black:return"#1D1D1D";case o.PersonaInitialsColor.gray:return"#393939"}}(s=void 0!==s?s:function(e){var t=o.PersonaInitialsColor.blue;if(!e)return t;for(var n=0,s=e.length-1;s>=0;s--){var a=e.charCodeAt(s),l=s%8;n^=(a<>8-l)}return t=r[n%i]}(n||t))}t.initialsColorPropToColorCode=function(e){return s(e)},t.getPersonaInitialsColor=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(109),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=function(e){function t(t){var n=e.call(this,t)||this;return n._inputElement=r.createRef(),n._autoFillEnabled=!0,n._isComposing=!1,n._onCompositionStart=function(e){n._isComposing=!0,n._autoFillEnabled=!1},n._onCompositionUpdate=function(){i.isIE11()&&n._updateValue(n._getCurrentInputValue(),!0)},n._onCompositionEnd=function(e){var t=n._getCurrentInputValue();n._tryEnableAutofill(t,n.value,!1,!0),n._isComposing=!1,n._async.setTimeout((function(){n._updateValue(n._getCurrentInputValue(),!1)}),0)},n._onClick=function(){n._value&&""!==n._value&&n._autoFillEnabled&&(n._autoFillEnabled=!1)},n._onKeyDown=function(e){if(n.props.onKeyDown&&n.props.onKeyDown(e),!e.nativeEvent.isComposing)switch(e.which){case i.KeyCodes.backspace:n._autoFillEnabled=!1;break;case i.KeyCodes.left:case i.KeyCodes.right:n._autoFillEnabled&&(n._value=n.state.displayValue,n._autoFillEnabled=!1);break;default:n._autoFillEnabled||-1!==n.props.enableAutofillOnKeyPress.indexOf(e.which)&&(n._autoFillEnabled=!0)}},n._onInputChanged=function(e){var t=n._getCurrentInputValue(e);if(n._isComposing||n._tryEnableAutofill(t,n._value,e.nativeEvent.isComposing),!i.isIE11()||!n._isComposing){var o=e.nativeEvent.isComposing,r=void 0===o?n._isComposing:o;n._updateValue(t,r)}},n._onChanged=function(){},n._updateValue=function(e,t){(e||e!==n._value)&&(n._value=n.props.onInputChange?n.props.onInputChange(e,t):e,n.setState({displayValue:n._getDisplayValue(n._value,n.props.suggestedDisplayValue)},(function(){return n._notifyInputChange(n._value,t)})))},i.initializeComponentRef(n),n._async=new i.Async(n),n._value=t.defaultVisibleValue||"",n.state={displayValue:t.defaultVisibleValue||""},n}return o.__extends(t,e),Object.defineProperty(t.prototype,"cursorLocation",{get:function(){if(this._inputElement.current){var e=this._inputElement.current;return"forward"!==e.selectionDirection?e.selectionEnd:e.selectionStart}return-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isValueSelected",{get:function(){return Boolean(this.inputElement&&this.inputElement.selectionStart!==this.inputElement.selectionEnd)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._inputElement.current?this._inputElement.current.selectionStart:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._inputElement.current?this._inputElement.current.selectionEnd:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputElement",{get:function(){return this._inputElement.current},enumerable:!0,configurable:!0}),t.prototype.UNSAFE_componentWillReceiveProps=function(e){if(this.props.updateValueInWillReceiveProps){var t=this.props.updateValueInWillReceiveProps();null!==t&&t!==this._value&&(this._value=t)}var n=this._getDisplayValue(this._value,e.suggestedDisplayValue);"string"==typeof n&&this.setState({displayValue:n})},t.prototype.componentDidUpdate=function(){var e=this._value,t=this.props,n=t.suggestedDisplayValue,o=t.shouldSelectFullInputValueInComponentDidUpdate,r=0;if(!t.preventValueSelection&&this._autoFillEnabled&&e&&n&&this._doesTextStartWith(n,e)){var i=!1;if(o&&(i=o()),i&&this._inputElement.current)this._inputElement.current.setSelectionRange(0,n.length,"backward");else{for(;r0&&this._inputElement.current&&this._inputElement.current.setSelectionRange(r,n.length,"backward")}}},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=this.state.displayValue,t=i.getNativeProps(this.props,i.inputProperties);return r.createElement("input",o.__assign({autoCapitalize:"off",autoComplete:"off","aria-autocomplete":"both"},t,{ref:this._inputElement,value:e,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}))},t.prototype.focus=function(){this._inputElement.current&&this._inputElement.current.focus()},t.prototype.clear=function(){this._autoFillEnabled=!0,this._updateValue("",!1),this._inputElement.current&&this._inputElement.current.setSelectionRange(0,0)},t.prototype._getCurrentInputValue=function(e){return e&&e.target&&e.target.value?e.target.value:this.inputElement&&this.inputElement.value?this.inputElement.value:""},t.prototype._tryEnableAutofill=function(e,t,n,o){!n&&e&&this._inputElement.current&&this._inputElement.current.selectionStart===e.length&&!this._autoFillEnabled&&(e.length>t.length||o)&&(this._autoFillEnabled=!0)},t.prototype._notifyInputChange=function(e,t){this.props.onInputValueChange&&this.props.onInputValueChange(e,t)},t.prototype._getDisplayValue=function(e,t){var n=e;return t&&e&&this._doesTextStartWith(t,n)&&this._autoFillEnabled&&(n=t),n},t.prototype._doesTextStartWith=function(e,t){return!(!e||!t)&&0===e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())},t.defaultProps={enableAutofillOnKeyPress:[i.KeyCodes.down,i.KeyCodes.up]},t}(r.Component);t.Autofill=s;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t}(s);t.BaseAutoFill=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(599),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=i.classNamesFunction(),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.message,n=e.styles,a=e.as,l=void 0===a?"div":a,c=e.className,u=s(n,{className:c});return r.createElement(l,o.__assign({role:"status",className:u.root},i.getNativeProps(this.props,i.divProperties,["className"])),r.createElement(i.DelayedRender,null,r.createElement("div",{className:u.screenReaderText},t)))},t.defaultProps={"aria-live":"polite"},t}(r.Component);t.AnnouncedBase=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(12),a=n(72),l=n(5),c=n(9),u=n(14),d=n(114),p=n(71),f=i.classNamesFunction(),h=function(){return null},m={styles:function(e){return{root:{selectors:{"&.is-disabled":{color:e.theme.semanticColors.bodyText}}}}}},g=function(e){function t(t){var n=e.call(this,t)||this;return n._focusZone=r.createRef(),n._onReduceData=function(e){var t=e.renderedItems,n=e.renderedOverflowItems,r=e.props.overflowIndex,i=t[r];if(i)return(t=o.__spreadArrays(t)).splice(r,1),n=o.__spreadArrays(n,[i]),o.__assign(o.__assign({},e),{renderedItems:t,renderedOverflowItems:n})},n._onGrowData=function(e){var t=e.renderedItems,n=e.renderedOverflowItems,r=e.props,i=r.overflowIndex,s=r.maxDisplayedItems,a=(n=o.__spreadArrays(n)).pop();if(a&&!(t.length>=s))return(t=o.__spreadArrays(t)).splice(i,0,a),o.__assign(o.__assign({},e),{renderedItems:t,renderedOverflowItems:n})},n._onRenderBreadcrumb=function(e){var t=e.props,a=t.ariaLabel,d=t.dividerAs,p=void 0===d?l.Icon:d,f=t.onRenderItem,g=void 0===f?n._onRenderItem:f,v=t.overflowAriaLabel,_=t.overflowIndex,y=t.onRenderOverflowIcon,b=e.renderedOverflowItems,S=e.renderedItems,C=b.map((function(e){var t=!(!e.onClick&&!e.href);return{name:e.text,key:e.key,onClick:e.onClick?n._onBreadcrumbClicked.bind(n,e):null,href:e.href,disabled:!t,itemProps:t?void 0:m}})),x=S.length-1,k=b&&0!==b.length,w=S.map((function(e,t){return r.createElement("li",{className:n._classNames.listItem,key:e.key||String(t)},g(e,n._onRenderItem),(t!==x||k&&t===_-1)&&r.createElement(p,{className:n._classNames.chevron,iconName:i.getRTL(n.props.theme)?"ChevronLeft":"ChevronRight",item:e}))}));if(k){var P=y?{}:{iconName:"More"},E=y||h;w.splice(_,0,r.createElement("li",{className:n._classNames.overflow,key:"overflow"},r.createElement(c.IconButton,{className:n._classNames.overflowButton,iconProps:P,role:"button","aria-haspopup":"true",ariaLabel:v,onRenderMenuIcon:E,menuProps:{items:C,directionalHint:u.DirectionalHint.bottomLeftEdge}}),_!==x+1&&r.createElement(p,{className:n._classNames.chevron,iconName:i.getRTL(n.props.theme)?"ChevronLeft":"ChevronRight",item:b[b.length-1]})))}var I=i.getNativeProps(n.props,i.htmlElementProperties,["className"]);return r.createElement("div",o.__assign({className:n._classNames.root,role:"navigation","aria-label":a},I),r.createElement(s.FocusZone,o.__assign({componentRef:n._focusZone,direction:s.FocusZoneDirection.horizontal},n.props.focusZoneProps),r.createElement("ol",{className:n._classNames.list},w)))},n._onRenderItem=function(e){if(e.onClick||e.href)return r.createElement(a.Link,{as:e.as,className:n._classNames.itemLink,href:e.href,"aria-current":e.isCurrentItem?"page":void 0,onClick:n._onBreadcrumbClicked.bind(n,e)},r.createElement(p.TooltipHost,o.__assign({content:e.text,overflowMode:p.TooltipOverflowMode.Parent},n.props.tooltipHostProps),e.text));var t=e.as||"span";return r.createElement(t,{className:n._classNames.item},r.createElement(p.TooltipHost,o.__assign({content:e.text,overflowMode:p.TooltipOverflowMode.Parent},n.props.tooltipHostProps),e.text))},n._onBreadcrumbClicked=function(e,t){e.onClick&&e.onClick(t,e)},i.initializeComponentRef(n),n._validateProps(t),n}return o.__extends(t,e),t.prototype.focus=function(){this._focusZone.current&&this._focusZone.current.focus()},t.prototype.render=function(){this._validateProps(this.props);var e=this.props,t=e.onReduceData,n=void 0===t?this._onReduceData:t,i=e.onGrowData,s=void 0===i?this._onGrowData:i,a=e.overflowIndex,l=e.maxDisplayedItems,c=e.items,u=e.className,p=e.theme,h=e.styles,m=o.__spreadArrays(c),g=m.splice(a,m.length-l),v={props:this.props,renderedItems:m,renderedOverflowItems:g};return this._classNames=f(h,{className:u,theme:p}),r.createElement(d.ResizeGroup,{onRenderData:this._onRenderBreadcrumb,onReduceData:n,onGrowData:s,data:v})},t.prototype._validateProps=function(e){var t=e.maxDisplayedItems,n=e.overflowIndex,o=e.items;if(n<0||t>1&&n>t-1||o.length>0&&n>o.length-1)throw new Error("Breadcrumb: overflowIndex out of range")},t.defaultProps={items:[],maxDisplayedItems:999,overflowIndex:0},t}(r.Component);t.BreadcrumbBase=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);n(606),o.__exportStar(n(607),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FocusZoneTabbableElements={none:0,all:1,inputOnly:2},function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(t.FocusZoneDirection||(t.FocusZoneDirection={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(22),a=i.classNamesFunction(),l=function(e){function t(t){var n=e.call(this,t)||this;return n._link=r.createRef(),n._renderContent=function(e){void 0===e&&(e={});var t=n.props,i=t.disabled,s=t.children,l=t.className,c=t.href,u=t.theme,d=t.styles,p=a(d,{className:l,isButton:!c,isDisabled:i,theme:u}),f=n._getRootType(n.props);return r.createElement(f,o.__assign({},e,n._adjustPropsForRootType(f,n.props),{className:p.root,onClick:n._onClick,ref:n._link,"aria-disabled":i}),s)},n._onClick=function(e){var t=n.props,o=t.onClick;t.disabled?e.preventDefault():o&&o(e)},i.initializeComponentRef(n),n}return o.__extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.disabled,o=t.keytipProps;return o?r.createElement(s.KeytipData,{keytipProps:o,ariaDescribedBy:this.props["aria-describedby"],disabled:n},(function(t){return e._renderContent(t)})):this._renderContent()},t.prototype.focus=function(){var e=this._link.current;e&&e.focus&&e.focus()},t.prototype._adjustPropsForRootType=function(e,t){t.children,t.as;var n=t.disabled,r=t.target,i=t.href,s=(t.theme,t.getStyles,t.styles,t.componentRef,t.keytipProps,o.__rest(t,["children","as","disabled","target","href","theme","getStyles","styles","componentRef","keytipProps"]));return"string"==typeof e?"a"===e?o.__assign({target:r,href:n?void 0:i},s):"button"===e?o.__assign({type:"button",disabled:n},s):o.__assign(o.__assign({},s),{disabled:n}):o.__assign({target:r,href:i,disabled:n},s)},t.prototype._getRootType=function(e){return e.as?e.as:e.href?"a":"button"},t}(r.Component);t.LinkBase=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.useConstCallback=function(e){var t=o.useRef();return t.current||(t.current=e),t.current}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2);function r(e,t){if(e.key!==t.key)return!1;var n=e.modifierKeys,o=t.modifierKeys;if(!n&&o||n&&!o)return!1;if(n&&o){if(n.length!==o.length)return!1;n=n.sort(),o=o.sort();for(var r=0;r0){for(var Y=0,q=0,Z=s;q0?r.createElement("li",{role:"presentation",key:c.key||e.key||"section-"+n},r.createElement("div",o.__assign({},d),r.createElement("ul",{className:this._classNames.list},c.topDivider&&this._renderSeparator(n,t,!0,!0),u&&this._renderListItem(u,e.key||n,t,e.title),c.items.map((function(e,t){return l._renderMenuItem(e,t,t,c.items.length,s,a)})),c.bottomDivider&&this._renderSeparator(n,t,!1,!0)))):void 0}},t.prototype._renderListItem=function(e,t,n,o){return r.createElement("li",{role:"presentation",title:o,key:t,className:n.item},e)},t.prototype._renderSeparator=function(e,t,n,o){return o||e>0?r.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},t.prototype._renderNormalItem=function(e,t,n,r,i,s,a){return e.onRender?e.onRender(o.__assign({"aria-posinset":r+1,"aria-setsize":i},e),this.dismiss):e.href?this._renderAnchorMenuItem(e,t,n,r,i,s,a):e.split&&c.hasSubmenu(e)?this._renderSplitButton(e,t,n,r,i,s,a):this._renderButtonItem(e,t,n,r,i,s,a)},t.prototype._renderHeaderMenuItem=function(e,t,n,i,s){var a=this.props.contextualMenuItemAs,c=void 0===a?p.ContextualMenuItem:a,u=e.itemProps,d=e.id,f=u&&l.getNativeProps(u,l.divProperties);return r.createElement("div",o.__assign({id:d,className:this._classNames.header},f,{style:e.style}),r.createElement(c,o.__assign({item:e,classNames:t,index:n,onCheckmarkClick:i?this._onItemClick:void 0,hasIcons:s},u)))},t.prototype._renderAnchorMenuItem=function(e,t,n,o,i,s,a){var l=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return r.createElement(f.ContextualMenuAnchor,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onAnchorClick,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:c,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderButtonItem=function(e,t,n,o,i,s,a){var l=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return r.createElement(f.ContextualMenuButton,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:c,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderSplitButton=function(e,t,n,o,i,s,a){var l=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return r.createElement(f.ContextualMenuSplitButton,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss,expandedMenuItemKey:c,onTap:this._onPointerAndTouchEvent})},t.prototype._isAltOrMeta=function(e){return e.which===l.KeyCodes.alt||"Meta"===e.key},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._updateFocusOnMouseEvent=function(e,t,n){var o=this,r=n||t.currentTarget,i=this.props.subMenuHoverDelay,s=void 0===i?250:i;e.key!==this.state.expandedMenuItemKey&&(void 0!==this._enterTimerId&&(this._async.clearTimeout(this._enterTimerId),this._enterTimerId=void 0),void 0===this.state.expandedMenuItemKey&&r.focus(),c.hasSubmenu(e)?(t.stopPropagation(),this._enterTimerId=this._async.setTimeout((function(){r.focus(),o.setState({expandedByMouseClick:!0}),o._onItemSubMenuExpand(e,r),o._enterTimerId=void 0}),s)):this._enterTimerId=this._async.setTimeout((function(){o._onSubMenuDismiss(t),r.focus(),o._enterTimerId=void 0}),s))},t.prototype._getSubmenuProps=function(){var e=this.state,t=e.submenuTarget,n=e.expandedMenuItemKey,o=this._findItemByKey(n),r=null;return o&&(r={items:_(o),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:l.getRTL(this.props.theme)?s.DirectionalHint.leftTopEdge:s.DirectionalHint.rightTopEdge,className:this.props.className,gapSpace:0,isBeakVisible:!1},o.subMenuProps&&l.assign(r,o.subMenuProps)),r},t.prototype._findItemByKey=function(e){var t=this.props.items;return this._findItemByKeyFromItems(e,t)},t.prototype._findItemByKeyFromItems=function(e,t){for(var n=0,o=t;nn;){var l=t(s);if(void 0===l)return{renderedData:s,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(a=r.getCachedMeasurement(l)))return{dataToMeasure:l,resizeDirection:"shrink"};s=l}return{renderedData:s,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(e,t,a,l){if(void 0!==l||void 0!==t.dataToMeasure){if(l){if(n&&t.renderedData&&!t.dataToMeasure)return o.__assign(o.__assign({},t),function(e,t,r,i){var s;return s=e>n?i?{resizeDirection:"grow",dataToMeasure:i(r)}:{resizeDirection:"shrink",dataToMeasure:t}:{resizeDirection:"shrink",dataToMeasure:r},n=e,o.__assign(o.__assign({},s),{measureContainer:!1})}(l,e.data,t.renderedData,e.onGrowData));n=l}var c=o.__assign(o.__assign({},t),{measureContainer:!1});return t.dataToMeasure&&(c="grow"===t.resizeDirection&&e.onGrowData?o.__assign(o.__assign({},c),function(e,t,a,l){for(var c=e,u=i(e,a);uthis._targetElementRect.left-n&&ethis._targetElementRect.top-n&&t=o.MAX_HEX_LENGTH?e.substring(0,o.MAX_HEX_LENGTH):e.substring(0,o.MIN_HEX_LENGTH)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(48),i=n(10);t.updateT=function(e,t){var n=i.MAX_COLOR_ALPHA-t;return o.__assign(o.__assign({},e),{t:t,a:n,str:r._rgbaOrHexString(e.r,e.g,e.b,n,e.hex)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(128),a=n(693),l=n(695),c=n(10),u=n(39),d=n(47),p=n(26),f=n(125),h=n(276),m=n(124),g=n(126),v=n(275),_=n(280),y=i.classNamesFunction(),b=["hex","r","g","b","a","t"],S=function(e){function t(n){var r=e.call(this,n)||this;r._onSVChanged=function(e,t){r._updateColor(e,t)},r._onHChanged=function(e,t){r._updateColor(e,m.updateH(r.state.color,t))},r._onATChanged=function(e,t){var n="transparency"===r.props.alphaType?h.updateT:f.updateA;r._updateColor(e,n(r.state.color,Math.round(t)))},r._onBlur=function(e){var t,n=r.state,i=n.color,s=n.editingColor;if(s){var a=s.value,l=s.component,m="hex"===l,_="a"===l,y="t"===l,b=m?c.MIN_HEX_LENGTH:c.MIN_RGBA_LENGTH;if(a.length>=b&&(m||!isNaN(Number(a)))){var S=void 0;if(m)S=u.getColorFromString("#"+v.correctHex(a));else if(_||y){S=(_?f.updateA:h.updateT)(i,p.clamp(Number(a),c.MAX_COLOR_ALPHA))}else S=d.getColorFromRGBA(g.correctRGB(o.__assign(o.__assign({},i),((t={})[l]=Number(a),t))));r._updateColor(e,S)}else r.setState({editingColor:void 0})}},i.initializeComponentRef(r);var s=n.strings;i.warnDeprecations("ColorPicker",n,{hexLabel:"strings.hex",redLabel:"strings.red",greenLabel:"strings.green",blueLabel:"strings.blue",alphaLabel:"strings.alpha",alphaSliderHidden:"alphaType"}),s.hue&&i.warn("ColorPicker property 'strings.hue' was used but has been deprecated. Use 'strings.hueAriaLabel' instead."),r.state={color:C(n)||u.getColorFromString("#ffffff")},r._textChangeHandlers={};for(var a=0,l=b;a=0&&a>=0&&this.setSelectionRange(s,a));var l=u(e,t),c=this.value;l!==c&&(this._warnControlledUsage(e),this.state.errorMessage&&!o.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),this._lastChangeValue=void 0,d(o)&&this._delayedValidate(c))},t.prototype.render=function(){var e=this.props,t=e.borderless,n=e.className,i=e.disabled,c=e.iconProps,u=e.inputClassName,d=e.label,p=e.multiline,f=e.required,h=e.underlined,m=e.prefix,g=e.resizable,v=e.suffix,_=e.theme,y=e.styles,b=e.autoAdjustHeight,S=e.onRenderPrefix,C=void 0===S?this._onRenderPrefix:S,x=e.onRenderSuffix,k=void 0===x?this._onRenderSuffix:x,w=e.onRenderLabel,P=void 0===w?this._onRenderLabel:w,E=e.onRenderDescription,I=void 0===E?this._onRenderDescription:E,T=this.state.isFocused,D=this._errorMessage;return this._classNames=l(y,{theme:_,className:n,disabled:i,focused:T,required:f,multiline:p,hasLabel:!!d,hasErrorMessage:!!D,borderless:t,resizable:g,hasIcon:!!c,underlined:h,inputClassName:u,autoAdjustHeight:b}),r.createElement("div",{className:this._classNames.root},r.createElement("div",{className:this._classNames.wrapper},P(this.props,this._onRenderLabel),r.createElement("div",{className:this._classNames.fieldGroup},(void 0!==m||this.props.onRenderPrefix)&&r.createElement("div",{className:this._classNames.prefix},C(this.props,this._onRenderPrefix)),p?this._renderTextArea():this._renderInput(),c&&r.createElement(s.Icon,o.__assign({className:this._classNames.icon},c)),(void 0!==v||this.props.onRenderSuffix)&&r.createElement("div",{className:this._classNames.suffix},k(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&r.createElement("span",{id:this._descriptionId},I(this.props,this._onRenderDescription),D&&r.createElement("div",{role:"alert"},r.createElement(a.DelayedRender,null,r.createElement("p",{className:this._classNames.errorMessage},r.createElement("span",{"data-automation-id":"error-message"},D))))))},t.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},t.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},t.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},t.prototype.setSelectionStart=function(e){this._textElement.current&&(this._textElement.current.selectionStart=e)},t.prototype.setSelectionEnd=function(e){this._textElement.current&&(this._textElement.current.selectionEnd=e)},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!0,configurable:!0}),t.prototype.setSelectionRange=function(e,t){this._textElement.current&&this._textElement.current.setSelectionRange(e,t)},t.prototype._warnControlledUsage=function(e){a.warnControlledUsage({componentId:this._id,componentName:"TextField",props:this.props,oldProps:e,valueProp:"value",defaultValueProp:"defaultValue",onChangeProp:"onChange",readOnlyProp:"readOnly"}),null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,a.warn("Warning: 'value' prop on 'TextField' should not be null. Consider using an empty string to clear the component or undefined to indicate an uncontrolled component."))},Object.defineProperty(t.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isControlled",{get:function(){return a.isControlled(this.props,"value")},enumerable:!0,configurable:!0}),t.prototype._onRenderPrefix=function(e){var t=e.prefix;return r.createElement("span",{style:{paddingBottom:"1px"}},t)},t.prototype._onRenderSuffix=function(e){var t=e.suffix;return r.createElement("span",{style:{paddingBottom:"1px"}},t)},Object.defineProperty(t.prototype,"_errorMessage",{get:function(){var e=this.props.errorMessage;return(void 0===e?this.state.errorMessage:e)||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!0,configurable:!0}),t.prototype._renderTextArea=function(){var e=a.getNativeProps(this.props,a.textAreaProperties,["defaultValue"]),t=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return r.createElement("textarea",o.__assign({id:this._id},e,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":t,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._renderInput=function(){var e=a.getNativeProps(this.props,a.inputProperties,["defaultValue"]),t=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return r.createElement("input",o.__assign({type:"text",id:this._id,"aria-labelledby":t},e,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":this.props.ariaLabel,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!d(this.props)){this._latestValidateValue=e;var n=this.props.onGetErrorMessage,o=n&&n(e||"");if(void 0!==o)if("string"!=typeof o&&"then"in o){var r=++this._lastValidation;o.then((function(n){r===t._lastValidation&&t.setState({errorMessage:n}),t._notifyAfterValidate(e,n)}))}else this.setState({errorMessage:o}),this._notifyAfterValidate(e,o);else this._notifyAfterValidate(e,"")}},t.prototype._notifyAfterValidate=function(e,t){e===this.value&&this.props.onNotifyValidationResult&&this.props.onNotifyValidationResult(t,e)},t.prototype._adjustInputHeight=function(){if(this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline){var e=this._textElement.current;e.style.height="",e.style.height=e.scrollHeight+"px"}},t.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},t}(r.Component);function u(e,t){var n=e.value,o=void 0===n?t.uncontrolledValue:n;return"number"==typeof o?String(o):o}function d(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}t.TextFieldBase=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(10),a=n(122),l=n(123),c=n(26),u=i.classNamesFunction(),d=function(e){function t(t){var n=e.call(this,t)||this;return n._disposables=[],n._root=r.createRef(),n._isAdjustingSaturation=!0,n._descriptionId=i.getId("ColorRectangle-description"),n._onKeyDown=function(e){var t=n.state.color,o=t.s,r=t.v,a=e.shiftKey?10:1;switch(e.which){case i.KeyCodes.up:n._isAdjustingSaturation=!1,r+=a;break;case i.KeyCodes.down:n._isAdjustingSaturation=!1,r-=a;break;case i.KeyCodes.left:n._isAdjustingSaturation=!0,o-=a;break;case i.KeyCodes.right:n._isAdjustingSaturation=!0,o+=a;break;default:return}n._updateColor(e,l.updateSV(t,c.clamp(o,s.MAX_COLOR_SATURATION),c.clamp(r,s.MAX_COLOR_VALUE)))},n._onMouseDown=function(e){n._disposables.push(i.on(window,"mousemove",n._onMouseMove,!0),i.on(window,"mouseup",n._disposeListeners,!0)),n._onMouseMove(e)},n._onMouseMove=function(e){if(n._root.current){var t=p(e,n.state.color,n._root.current);t&&n._updateColor(e,t)}},n._disposeListeners=function(){n._disposables.forEach((function(e){return e()})),n._disposables=[]},i.initializeComponentRef(n),n.state={color:t.color},n}return o.__extends(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this.state.color},enumerable:!0,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){e!==this.props&&this.props.color&&this.setState({color:this.props.color})},t.prototype.componentWillUnmount=function(){this._disposeListeners()},t.prototype.render=function(){var e=this.props,t=e.minSize,n=e.theme,o=e.className,i=e.styles,l=e.ariaValueFormat,c=e.ariaLabel,d=e.ariaDescription,p=this.state.color,f=u(i,{theme:n,className:o,minSize:t}),h=l.replace("{0}",String(p.s)).replace("{1}",String(p.v));return r.createElement("div",{ref:this._root,tabIndex:0,className:f.root,style:{backgroundColor:a.getFullColorString(p)},onMouseDown:this._onMouseDown,onKeyDown:this._onKeyDown,role:"slider","aria-valuetext":h,"aria-valuenow":this._isAdjustingSaturation?p.s:p.v,"aria-valuemin":0,"aria-valuemax":s.MAX_COLOR_VALUE,"aria-label":c,"aria-describedby":this._descriptionId,"data-is-focusable":!0},r.createElement("div",{className:f.description,id:this._descriptionId},d),r.createElement("div",{className:f.light}),r.createElement("div",{className:f.dark}),r.createElement("div",{className:f.thumb,style:{left:p.s+"%",top:s.MAX_COLOR_VALUE-p.v+"%",backgroundColor:p.str}}))},t.prototype._updateColor=function(e,t){var n=this.props.onChange,o=this.state.color;t.s===o.s&&t.v===o.v||(n&&n(e,t),e.defaultPrevented||(this.setState({color:t}),e.preventDefault()))},t.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."},t}(r.Component);function p(e,t,n){var o=n.getBoundingClientRect(),r=(e.clientX-o.left)/o.width,i=(e.clientY-o.top)/o.height;return l.updateSV(t,c.clamp(Math.round(r*s.MAX_COLOR_SATURATION),s.MAX_COLOR_SATURATION),c.clamp(Math.round(s.MAX_COLOR_VALUE-i*s.MAX_COLOR_VALUE),s.MAX_COLOR_VALUE))}t.ColorRectangleBase=d,t._getNewColor=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r,i=n(1),s=n(0),a=n(109),l=n(2),c=n(21),u=n(116),d=n(9),p=n(14),f=n(701),h=n(702),m=n(22),g=n(31),v=n(130);!function(e){e[e.backward=-1]="backward",e[e.none=0]="none",e[e.forward=1]="forward"}(o||(o={})),function(e){e[e.clearAll=-2]="clearAll",e[e.default=-1]="default"}(r||(r={}));var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t.prototype.render=function(){return this.props.render()},t.prototype.shouldComponentUpdate=function(e){return!l.shallowCompare(i.__assign(i.__assign({},this.props),{render:void 0}),i.__assign(i.__assign({},e),{render:void 0}))},t}(s.Component),y=function(e){function t(t){var n=e.call(this,t)||this;n._root=s.createRef(),n._autofill=s.createRef(),n._comboBoxWrapper=s.createRef(),n._comboBoxMenu=s.createRef(),n._selectedElement=s.createRef(),n.focus=function(e,t){n._autofill.current&&(t?l.focusAsync(n._autofill.current):n._autofill.current.focus(),e&&n.setState({isOpen:!0})),n._hasFocus()||n.setState({focusState:"focused"})},n.dismissMenu=function(){n.state.isOpen&&n.setState({isOpen:!1})},n._onUpdateValueInAutofillWillReceiveProps=function(){var e=n._autofill.current;if(!e)return null;if(null===e.value||void 0===e.value)return null;var t=n._normalizeToString(n._currentVisibleValue);return e.value!==t?t||"":e.value},n._renderComboBoxWrapper=function(e,t,o){void 0===o&&(o={});var r=n.props,c=r.label,u=r.disabled,p=r.ariaLabel,f=r.ariaDescribedBy,h=r.required,m=r.errorMessage,g=r.allowFreeform,v=r.buttonIconProps,_=r.isButtonAriaHidden,y=void 0===_||_,b=r.title,S=r.placeholder,C=r.tabIndex,x=r.autofill,k=r.iconButtonProps,w=n.state,P=w.isOpen,E=w.suggestedDisplayValue,I=n._hasFocus()&&n.props.multiSelect&&e?e:S;return s.createElement("div",{"data-ktp-target":o["data-ktp-target"],ref:n._comboBoxWrapper,id:n._id+"wrapper",className:n._classNames.root},s.createElement(a.Autofill,i.__assign({"data-ktp-execute-target":o["data-ktp-execute-target"],"data-is-interactable":!u,componentRef:n._autofill,id:n._id+"-input",className:n._classNames.input,type:"text",onFocus:n._onFocus,onBlur:n._onBlur,onKeyDown:n._onInputKeyDown,onKeyUp:n._onInputKeyUp,onClick:n._onAutofillClick,onTouchStart:n._onTouchStart,onInputValueChange:n._onInputChange,"aria-expanded":P,"aria-autocomplete":n._getAriaAutoCompleteValue(),role:"combobox",readOnly:u||!g,"aria-labelledby":c&&n._id+"-label","aria-label":p&&!c?p:void 0,"aria-describedby":void 0!==m?l.mergeAriaAttributeValues(f,o["aria-describedby"],t):l.mergeAriaAttributeValues(f,o["aria-describedby"]),"aria-activedescendant":n._getAriaActiveDescendantValue(),"aria-required":h,"aria-disabled":u,"aria-owns":P?n._id+"-list":void 0,spellCheck:!1,defaultVisibleValue:n._currentVisibleValue,suggestedDisplayValue:E,updateValueInWillReceiveProps:n._onUpdateValueInAutofillWillReceiveProps,shouldSelectFullInputValueInComponentDidUpdate:n._onShouldSelectFullInputValueInAutofillComponentDidUpdate,title:b,preventValueSelection:!n._hasFocus(),placeholder:I,tabIndex:C},x)),s.createElement(d.IconButton,i.__assign({className:"ms-ComboBox-CaretDown-button",styles:n._getCaretButtonStyles(),role:"presentation","aria-hidden":y,"data-is-focusable":!1,tabIndex:-1,onClick:n._onComboBoxClick,onBlur:n._onBlur,iconProps:v,disabled:u,checked:P},k)))},n._onShouldSelectFullInputValueInAutofillComponentDidUpdate=function(){return n._currentVisibleValue===n.state.suggestedDisplayValue},n._getVisibleValue=function(){var e=n.props,t=e.text,o=e.allowFreeform,r=e.autoComplete,i=n.state,s=i.selectedIndices,a=i.currentPendingValueValidIndex,l=i.currentOptions,c=i.currentPendingValue,u=i.suggestedDisplayValue,d=i.isOpen,p=n._indexWithinBounds(l,a);if((!d||!p)&&t&&null==c)return t;if(n.props.multiSelect){if(n._hasFocus()){var f=-1;return"on"===r&&p&&(f=a),n._getPendingString(c,l,f)}return n._getMultiselectDisplayString(s,l,u)}f=n._getFirstSelectedIndex();return o?("on"===r&&p&&(f=a),n._getPendingString(c,l,f)):p&&"on"===r?(f=a,n._normalizeToString(c)):!n.state.isOpen&&c?n._indexWithinBounds(l,f)?c:n._normalizeToString(u):n._indexWithinBounds(l,f)?l[f].text:n._normalizeToString(u)},n._onInputChange=function(e){n.props.disabled?n._handleInputWhenDisabled(null):n.props.allowFreeform?n._processInputChangeWithFreeform(e):n._processInputChangeWithoutFreeform(e)},n._onFocus=function(){n._autofill.current&&n._autofill.current.inputElement&&n._autofill.current.inputElement.select(),n._hasFocus()||n.setState({focusState:"focusing"})},n._onResolveOptions=function(){if(n.props.onResolveOptions){var e=n.props.onResolveOptions(i.__spreadArrays(n.state.currentOptions));if(Array.isArray(e))n.setState({currentOptions:e});else if(e&&e.then){var t=n._currentPromise=e;t.then((function(e){t===n._currentPromise&&n.setState({currentOptions:e})}))}}},n._onBlur=function(e){var t=e.relatedTarget;if(null===e.relatedTarget&&(t=document.activeElement),t&&(n._root.current&&n._root.current.contains(t)||n._comboBoxMenu.current&&(n._comboBoxMenu.current.contains(t)||l.findElementRecursive(n._comboBoxMenu.current,(function(e){return e===t})))))return e.preventDefault(),void e.stopPropagation();n._hasFocus()&&(n.setState({focusState:"none"}),n.props.multiSelect&&!n.props.allowFreeform||n._submitPendingValue(e))},n._onRenderContainer=function(e){var t=e.onRenderList,o=e.calloutProps,r=e.dropdownWidth,a=e.dropdownMaxWidth,u=e.onRenderUpperContent,d=void 0===u?n._onRenderUpperContent:u,f=e.onRenderLowerContent,h=void 0===f?n._onRenderLowerContent:f,m=e.useComboBoxAsMenuWidth,g=e.persistMenu,v=e.shouldRestoreFocus,_=void 0===v||v,y=n.state.isOpen,b=m&&n._comboBoxWrapper.current?n._comboBoxWrapper.current.clientWidth+2:void 0;return s.createElement(c.Callout,i.__assign({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHint:p.DirectionalHint.bottomLeftEdge,directionalHintFixed:!1},o,{onLayerMounted:n._onLayerMounted,className:l.css(n._classNames.callout,o?o.className:void 0),target:n._comboBoxWrapper.current,onDismiss:n._onDismiss,onMouseDown:n._onCalloutMouseDown,onScroll:n._onScroll,setInitialFocus:!1,calloutWidth:m&&n._comboBoxWrapper.current?b&&b:r,calloutMaxWidth:a||b,hidden:g?!y:void 0,shouldRestoreFocus:_}),d(n.props,n._onRenderUpperContent),s.createElement("div",{className:n._classNames.optionsContainerWrapper,ref:n._comboBoxMenu},t(i.__assign({},e),n._onRenderList)),h(n.props,n._onRenderLowerContent))},n._onLayerMounted=function(){n._onCalloutLayerMounted(),n.props.calloutProps&&n.props.calloutProps.onLayerMounted&&n.props.calloutProps.onLayerMounted()},n._onRenderLabel=function(e){var t=e.props,o=t.label,r=t.disabled,i=t.required;return o?s.createElement(g.Label,{id:n._id+"-label",disabled:r,required:i,className:n._classNames.label},o,e.multiselectAccessibleText&&s.createElement("span",{className:n._classNames.screenReaderText},e.multiselectAccessibleText)):null},n._onRenderList=function(e){var t=e.onRenderItem,o=e.options,r=n._id;return s.createElement("div",{id:r+"-list",className:n._classNames.optionsContainer,"aria-labelledby":r+"-label",role:"listbox"},o.map((function(e){return t(e,n._onRenderItem)})))},n._onRenderItem=function(e){switch(e.itemType){case v.SelectableOptionMenuItemType.Divider:return n._renderSeparator(e);case v.SelectableOptionMenuItemType.Header:return n._renderHeader(e);default:return n._renderOption(e)}},n._onRenderLowerContent=function(){return null},n._onRenderUpperContent=function(){return null},n._renderOption=function(e){var t=n.props.onRenderOption,o=void 0===t?n._onRenderOptionContent:t,r=n._id,i=n._isOptionSelected(e.index),a=n._isOptionChecked(e.index),l=n._getCurrentOptionStyles(e),c=h.getComboBoxOptionClassNames(n._getCurrentOptionStyles(e)),p=n._getPreviewText(e),f=function(){return o(e,n._onRenderOptionContent)};return s.createElement(_,{key:e.key,index:e.index,disabled:e.disabled,isSelected:i,isChecked:a,text:e.text,render:function(){return n.props.multiSelect?s.createElement(u.Checkbox,{id:r+"-list"+e.index,ariaLabel:n._getPreviewText(e),key:e.key,"data-index":e.index,styles:l,className:"ms-ComboBox-option","data-is-focusable":!0,onChange:n._onItemClick(e),label:e.text,role:"option",checked:a,title:p,disabled:e.disabled,onRenderLabel:f,inputProps:{"aria-selected":i?"true":"false"}}):s.createElement(d.CommandButton,{id:r+"-list"+e.index,key:e.key,"data-index":e.index,styles:l,checked:i,className:"ms-ComboBox-option",onClick:n._onItemClick(e),onMouseEnter:n._onOptionMouseEnter.bind(n,e.index),onMouseMove:n._onOptionMouseMove.bind(n,e.index),onMouseLeave:n._onOptionMouseLeave,role:"option","aria-selected":i?"true":"false",ariaLabel:n._getPreviewText(e),disabled:e.disabled,title:p},s.createElement("span",{className:c.optionTextWrapper,ref:i?n._selectedElement:void 0},o(e,n._onRenderOptionContent)))},data:e.data})},n._onCalloutMouseDown=function(e){e.preventDefault()},n._onScroll=function(){n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(n._async.clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),n._scrollIdleTimeoutId=n._async.setTimeout((function(){n._isScrollIdle=!0}),250)},n._onRenderOptionContent=function(e){var t=h.getComboBoxOptionClassNames(n._getCurrentOptionStyles(e));return s.createElement("span",{className:t.optionText},e.text)},n._onDismiss=function(){var e=n.props.onMenuDismiss;e&&e(),n.props.persistMenu&&n._onCalloutLayerMounted(),n._setOpenStateAndFocusOnClose(!1,!1),n._resetSelectedIndex()},n._onAfterClearPendingInfo=function(){n._processingClearPendingInfo=!1},n._onInputKeyDown=function(e){var t=n.props,i=t.disabled,s=t.allowFreeform,a=t.autoComplete,c=n.state,u=c.isOpen,d=c.currentOptions,p=c.currentPendingValueValidIndexOnHover;if(n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e),i)n._handleInputWhenDisabled(e);else{var f=n._getPendingSelectedIndex(!1);switch(e.which){case l.KeyCodes.enter:n._autofill.current&&n._autofill.current.inputElement&&n._autofill.current.inputElement.select(),n._submitPendingValue(e),n.props.multiSelect&&u?n.setState({currentPendingValueValidIndex:f}):(u||(!s||void 0===n.state.currentPendingValue||null===n.state.currentPendingValue||n.state.currentPendingValue.length<=0)&&n.state.currentPendingValueValidIndex<0)&&n.setState({isOpen:!u});break;case l.KeyCodes.tab:return n.props.multiSelect||n._submitPendingValue(e),void(u&&n._setOpenStateAndFocusOnClose(!u,!1));case l.KeyCodes.escape:if(n._resetSelectedIndex(),!u)return;n.setState({isOpen:!1});break;case l.KeyCodes.up:if(p===r.clearAll&&(f=n.state.currentOptions.length),e.altKey||e.metaKey){if(u){n._setOpenStateAndFocusOnClose(!u,!0);break}return}n._setPendingInfoFromIndexAndDirection(f,o.backward);break;case l.KeyCodes.down:e.altKey||e.metaKey?n._setOpenStateAndFocusOnClose(!0,!0):(p===r.clearAll&&(f=-1),n._setPendingInfoFromIndexAndDirection(f,o.forward));break;case l.KeyCodes.home:case l.KeyCodes.end:if(s)return;f=-1;var h=o.forward;e.which===l.KeyCodes.end&&(f=d.length,h=o.backward),n._setPendingInfoFromIndexAndDirection(f,h);break;case l.KeyCodes.space:if(!s&&"off"===a)break;default:if(e.which>=112&&e.which<=123)return;if(e.keyCode===l.KeyCodes.alt||"Meta"===e.key)return;if(!s&&"on"===a){n._onInputChange(e.key);break}return}e.stopPropagation(),e.preventDefault()}},n._onInputKeyUp=function(e){var t=n.props,o=t.disabled,r=t.allowFreeform,i=t.autoComplete,s=n.state.isOpen,a=n._lastKeyDownWasAltOrMeta&&n._isAltOrMeta(e);n._lastKeyDownWasAltOrMeta=!1;var c=a&&!(l.isMac()||l.isIOS());if(o)n._handleInputWhenDisabled(e);else switch(e.which){case l.KeyCodes.space:return void(r||"off"!==i||n._setOpenStateAndFocusOnClose(!s,!!s));default:return void(c&&s?n._setOpenStateAndFocusOnClose(!s,!0):("focusing"===n.state.focusState&&n.props.openOnKeyboardFocus&&n.setState({isOpen:!0}),"focused"!==n.state.focusState&&n.setState({focusState:"focused"})))}},n._onOptionMouseLeave=function(){n._shouldIgnoreMouseEvent()||n.props.persistMenu&&!n.state.isOpen||n.setState({currentPendingValueValidIndexOnHover:r.clearAll})},n._onComboBoxClick=function(){var e=n.props.disabled,t=n.state.isOpen;e||(n._setOpenStateAndFocusOnClose(!t,!1),n.setState({focusState:"focused"}))},n._onAutofillClick=function(){var e=n.props,t=e.disabled;e.allowFreeform&&!t?n.focus(n.state.isOpen||n._processingTouch):n._onComboBoxClick()},n._onTouchStart=function(){n._comboBoxWrapper.current&&!("onpointerdown"in n._comboBoxWrapper)&&n._handleTouchAndPointerEvent()},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},l.initializeComponentRef(n),n._async=new l.Async(n),n._events=new l.EventGroup(n),l.warnMutuallyExclusive("ComboBox",t,{defaultSelectedKey:"selectedKey",text:"defaultSelectedKey",selectedKey:"value",dropdownWidth:"useComboBoxAsMenuWidth"}),n._id=t.id||l.getId("ComboBox");var f=n._buildDefaultSelectedKeys(t.defaultSelectedKey,t.selectedKey);n._isScrollIdle=!0,n._processingTouch=!1,n._gotMouseMove=!1,n._processingClearPendingInfo=!1;var m=n._getSelectedIndices(t.options,f);return n.state={isOpen:!1,selectedIndices:m,focusState:"none",suggestedDisplayValue:void 0,currentOptions:n.props.options,currentPendingValueValidIndex:-1,currentPendingValue:void 0,currentPendingValueValidIndexOnHover:r.default},n}return i.__extends(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.state,t=e.currentOptions,n=e.selectedIndices;return v.getAllSelectedOptions(t,n)},enumerable:!0,configurable:!0}),t.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))},t.prototype.UNSAFE_componentWillReceiveProps=function(e){if(e.selectedKey!==this.props.selectedKey||e.text!==this.props.text||e.options!==this.props.options){var t=this._buildSelectedKeys(e.selectedKey),n=this._getSelectedIndices(e.options,t);this.setState({selectedIndices:n,currentOptions:e.options}),null===e.selectedKey&&this.setState({suggestedDisplayValue:void 0})}},t.prototype.componentDidUpdate=function(e,t){var n=this,o=this.props,r=o.allowFreeform,i=o.text,s=o.onMenuOpen,a=o.onMenuDismissed,l=this.state,c=l.isOpen,u=l.selectedIndices,d=l.currentPendingValueValidIndex;!c||t.isOpen&&t.currentPendingValueValidIndex===d||this._async.setTimeout((function(){return n._scrollIntoView()}),0),this._hasFocus()&&(c||t.isOpen&&!c&&this._focusInputAfterClose&&this._autofill.current&&document.activeElement!==this._autofill.current.inputElement)&&this.focus(void 0,!0),this._focusInputAfterClose&&(t.isOpen&&!c||this._hasFocus()&&(!c&&!this.props.multiSelect&&t.selectedIndices&&u&&t.selectedIndices[0]!==u[0]||!r||i!==e.text))&&this._onFocus(),this._notifyPendingValueChanged(t),c&&!t.isOpen&&s&&s(),!c&&t.isOpen&&a&&a()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this,t=this._id+"-error",n=this.props,o=n.className,r=n.disabled,a=n.required,c=n.errorMessage,u=n.onRenderContainer,d=void 0===u?this._onRenderContainer:u,p=n.onRenderLabel,g=void 0===p?this._onRenderLabel:p,v=n.onRenderList,_=void 0===v?this._onRenderList:v,y=n.onRenderItem,b=void 0===y?this._onRenderItem:y,S=n.onRenderOption,C=void 0===S?this._onRenderOptionContent:S,x=n.allowFreeform,k=n.styles,w=n.theme,P=n.keytipProps,E=n.persistMenu,I=n.multiSelect,T=this.state,D=T.isOpen,M=T.suggestedDisplayValue;this._currentVisibleValue=this._getVisibleValue();var O=I?this._getMultiselectDisplayString(this.state.selectedIndices,this.state.currentOptions,M):void 0,R=l.getNativeProps(this.props,l.divProperties,["onChange","value"]),N=!!(c&&c.length>0);this._classNames=this.props.getClassNames?this.props.getClassNames(w,!!D,!!r,!!a,!!this._hasFocus(),!!x,!!N,o):h.getClassNames(f.getStyles(w,k),o,!!D,!!r,!!a,!!this._hasFocus(),!!x,!!N);var F=P?s.createElement(m.KeytipData,{keytipProps:P,disabled:r},(function(n){return e._renderComboBoxWrapper(O,t,n)})):this._renderComboBoxWrapper(O,t);return s.createElement("div",i.__assign({},R,{ref:this._root,className:this._classNames.container}),g({props:this.props,multiselectAccessibleText:O},this._onRenderLabel),F,(E||D)&&d(i.__assign(i.__assign({},this.props),{onRenderList:_,onRenderItem:b,onRenderOption:C,options:this.state.currentOptions.map((function(e,t){return i.__assign(i.__assign({},e),{index:t})})),onDismiss:this._onDismiss}),this._onRenderContainer),s.createElement("div",{role:"region","aria-live":"polite","aria-atomic":"true",id:t,className:N?this._classNames.errorMessage:""},void 0!==c?c:""))},t.prototype._getPendingString=function(e,t,n){return null!=e?e:this._indexWithinBounds(t,n)?t[n].text:""},t.prototype._getMultiselectDisplayString=function(e,t,n){for(var o=[],r=0;e&&r0&&(s+=", "),s+=o[r];return s},t.prototype._indexWithinBounds=function(e,t){return!!e&&(t>=0&&t0){var l=this._getPreviewText(s[0]);a=l.toLocaleLowerCase()!==e?l:"",o=s[0].index}}else 1===(s=n.map((function(e,t){return i.__assign(i.__assign({},e),{index:t})})).filter((function(e){return e.itemType!==v.SelectableOptionMenuItemType.Header&&e.itemType!==v.SelectableOptionMenuItemType.Divider})).filter((function(n){return t._getPreviewText(n).toLocaleLowerCase()===e}))).length&&(o=s[0].index);this._setPendingInfo(r,o,a)},t.prototype._processInputChangeWithoutFreeform=function(e){var t=this,n=this.state,o=n.currentPendingValue,r=n.currentPendingValueValidIndex,s=n.currentOptions;if("on"===this.props.autoComplete&&""!==e){void 0!==this._lastReadOnlyAutoCompleteChangeTimeoutId&&(this._async.clearTimeout(this._lastReadOnlyAutoCompleteChangeTimeoutId),this._lastReadOnlyAutoCompleteChangeTimeoutId=void 0,e=this._normalizeToString(o)+e);var a=e;e=e.toLocaleLowerCase();var l=s.map((function(e,t){return i.__assign(i.__assign({},e),{index:t})})).filter((function(e){return e.itemType!==v.SelectableOptionMenuItemType.Header&&e.itemType!==v.SelectableOptionMenuItemType.Divider})).filter((function(t){return 0===t.text.toLocaleLowerCase().indexOf(e)}));return l.length>0&&this._setPendingInfo(a,l[0].index,this._getPreviewText(l[0])),void(this._lastReadOnlyAutoCompleteChangeTimeoutId=this._async.setTimeout((function(){t._lastReadOnlyAutoCompleteChangeTimeoutId=void 0}),1e3))}var c=r>=0?r:this._getFirstSelectedIndex();this._setPendingInfoFromIndex(c)},t.prototype._getFirstSelectedIndex=function(){return this.state.selectedIndices&&this.state.selectedIndices.length>0?this.state.selectedIndices[0]:-1},t.prototype._getNextSelectableIndex=function(e,t){var n=this.state.currentOptions,r=e+t;if(r=Math.max(0,Math.min(n.length-1,r)),!this._indexWithinBounds(n,r))return-1;var i=n[r];if(i.itemType===v.SelectableOptionMenuItemType.Header||i.itemType===v.SelectableOptionMenuItemType.Divider||!0===i.hidden){if(t===o.none||!(r>0&&t=0&&ro.none))return e;r=this._getNextSelectableIndex(r,t)}return r},t.prototype._setSelectedIndex=function(e,t,n){var r=this;void 0===n&&(n=o.none);var s=this.props,a=s.onChange,l=s.onPendingValueChanged,c=this.state.currentOptions,u=this.state.selectedIndices,d=u?u.slice():[];if(e=this._getNextSelectableIndex(e,n),this._indexWithinBounds(c,e)){if(this.props.multiSelect||d.length<1||1===d.length&&d[0]!==e){var p=i.__assign({},c[e]);if(!p||p.disabled)return;if(this.props.multiSelect?(p.selected=void 0!==p.selected?!p.selected:d.indexOf(e)<0,p.selected&&d.indexOf(e)<0?d.push(e):!p.selected&&d.indexOf(e)>=0&&(d=d.filter((function(t){return t!==e})))):d[0]=e,t.persist(),this.props.selectedKey||null===this.props.selectedKey)this._hasPendingValue&&l&&(l(),this._hasPendingValue=!1),a&&a(t,p,e,void 0);else{var f=c.slice();f[e]=p,this.setState({selectedIndices:d,currentOptions:f},(function(){r._hasPendingValue&&l&&(l(),r._hasPendingValue=!1),a&&a(t,p,e,void 0)}))}}this.props.multiSelect&&this.state.isOpen||this._clearPendingInfo()}},t.prototype._submitPendingValue=function(e){var t=this.props,n=t.onChange,o=t.allowFreeform,r=t.autoComplete,i=this.state,s=i.currentPendingValue,a=i.currentPendingValueValidIndex,c=i.currentOptions,u=i.currentPendingValueValidIndexOnHover,d=this.state.selectedIndices;if(!this._processingClearPendingInfo){if(o){if(null==s)return void(u>=0&&(this._setSelectedIndex(u,e),this._clearPendingInfo()));if(this._indexWithinBounds(c,a)){var p=this._getPreviewText(c[a]).toLocaleLowerCase();if(s.toLocaleLowerCase()===p||r&&0===p.indexOf(s.toLocaleLowerCase())&&this._autofill.current&&this._autofill.current.isValueSelected&&s.length+(this._autofill.current.selectionEnd-this._autofill.current.selectionStart)===p.length||this._autofill.current&&this._autofill.current.inputElement&&this._autofill.current.inputElement.value.toLocaleLowerCase()===p){if(this._setSelectedIndex(a,e),this.props.multiSelect&&this.state.isOpen)return;return void this._clearPendingInfo()}}if(n)n&&n(e,void 0,void 0,s);else{var f={key:s||l.getId(),text:this._normalizeToString(s)};this.props.multiSelect&&(f.selected=!0);var h=c.concat([f]);d&&(this.props.multiSelect||(d=[]),d.push(h.length-1)),this.setState({currentOptions:h,selectedIndices:d})}}else a>=0?this._setSelectedIndex(a,e):u>=0&&this._setSelectedIndex(u,e);this._clearPendingInfo()}},t.prototype._onCalloutLayerMounted=function(){this._gotMouseMove=!1},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t&&t>0?s.createElement("div",{role:"separator",key:n,className:this._classNames.divider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOptionContent:t;return s.createElement("div",{key:e.key,className:this._classNames.header},n(e,this._onRenderOptionContent))},t.prototype._isOptionSelected=function(e){return this.state.currentPendingValueValidIndexOnHover!==r.clearAll&&this._getPendingSelectedIndex(!0)===e},t.prototype._isOptionChecked=function(e){if(this.props.multiSelect&&void 0!==e&&this.state.selectedIndices){return this.state.selectedIndices.indexOf(e)>=0}return!1},t.prototype._getPendingSelectedIndex=function(e){var t=this.state,n=t.currentPendingValueValidIndexOnHover,o=t.currentPendingValueValidIndex,r=t.currentPendingValue;return n>=0?n:o>=0||e&&null!=r?o:this.props.multiSelect?0:this._getFirstSelectedIndex()},t.prototype._scrollIntoView=function(){var e=this.props,t=e.onScrollToItem,n=e.scrollSelectedToTop,o=this.state,r=o.currentPendingValueValidIndex,i=o.currentPendingValue;if(t)t(r>=0||""!==i?r:this._getFirstSelectedIndex());else if(this._selectedElement.current&&this._selectedElement.current.offsetParent)if(n)this._selectedElement.current.offsetParent.scrollIntoView(!0);else{var s=!0;if(this._comboBoxMenu.current&&this._comboBoxMenu.current.offsetParent){var a=this._comboBoxMenu.current.offsetParent.getBoundingClientRect(),l=this._selectedElement.current.offsetParent.getBoundingClientRect();if(a.top<=l.top&&a.top+a.height>=l.top+l.height)return;a.top+a.height<=l.top+l.height&&(s=!1)}this._selectedElement.current.offsetParent.scrollIntoView(s)}},t.prototype._onItemClick=function(e){var t=this,n=this.props.onItemClick,o=e.index;return function(r){n&&n(r,e,o),t._setSelectedIndex(o,r),t.props.multiSelect||(t._autofill.current&&t._autofill.current.focus(),t.setState({isOpen:!1}))}},t.prototype._getSelectedIndices=function(e,t){if(!e||!t)return[];var n={};e.forEach((function(e,t){e.selected&&(n[t]=!0)}));for(var o=function(t){var o=l.findIndex(e,(function(e){return e.key===t}));o>-1&&(n[o]=!0)},r=0,i=t;r0&&t=0&&e=n.length-1?e=-1:t===o.backward&&e<=0&&(e=n.length);var r=this._getNextSelectableIndex(e,t);e===r?t===o.forward?e=this._getNextSelectableIndex(-1,t):t===o.backward&&(e=this._getNextSelectableIndex(n.length,t)):e=r,this._indexWithinBounds(n,e)&&this._setPendingInfoFromIndex(e)},t.prototype._notifyPendingValueChanged=function(e){var t=this.props.onPendingValueChanged;if(t){var n=this.state,o=n.currentPendingValue,r=n.currentOptions,i=n.currentPendingValueValidIndex,s=n.currentPendingValueValidIndexOnHover,a=void 0,l=void 0;s!==e.currentPendingValueValidIndexOnHover&&this._indexWithinBounds(r,s)?a=s:i!==e.currentPendingValueValidIndex&&this._indexWithinBounds(r,i)?a=i:o!==e.currentPendingValue&&(l=o),(void 0!==a||void 0!==l||this._hasPendingValue)&&(t(void 0!==a?r[a]:void 0,a,l),this._hasPendingValue=void 0!==a||void 0!==l)}},t.prototype._setOpenStateAndFocusOnClose=function(e,t){this._focusInputAfterClose=t,this.setState({isOpen:e})},t.prototype._isAltOrMeta=function(e){return e.which===l.KeyCodes.alt||"Meta"===e.key},t.prototype._onOptionMouseEnter=function(e){this._shouldIgnoreMouseEvent()||this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._onOptionMouseMove=function(e){this._gotMouseMove=!0,this._isScrollIdle&&this.state.currentPendingValueValidIndexOnHover!==e&&this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._handleInputWhenDisabled=function(e){this.props.disabled&&(this.state.isOpen&&this.setState({isOpen:!1}),null!==e&&e.which!==l.KeyCodes.tab&&e.which!==l.KeyCodes.escape&&(e.which<112||e.which>123)&&(e.stopPropagation(),e.preventDefault()))},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0}),500)},t.prototype._getCaretButtonStyles=function(){var e=this.props.caretDownButtonStyles;return f.getCaretDownButtonStyles(this.props.theme,e)},t.prototype._getCurrentOptionStyles=function(e){var t=this.props.comboBoxOptionStyles,n=e.styles;return f.getOptionStyles(this.props.theme,t,n,this._isPendingOption(e),e.hidden)},t.prototype._getAriaActiveDescendantValue=function(){var e=this.state.isOpen&&this.state.selectedIndices&&this.state.selectedIndices.length>0?this._id+"-list"+this.state.selectedIndices[0]:void 0;return this.state.isOpen&&this._hasFocus()&&-1!==this.state.currentPendingValueValidIndex&&(e=this._id+"-list"+this.state.currentPendingValueValidIndex),e},t.prototype._getAriaAutoCompleteValue=function(){return!this.props.disabled&&"on"===this.props.autoComplete?this.props.allowFreeform?"inline":"both":"none"},t.prototype._isPendingOption=function(e){return e&&e.index===this.state.currentPendingValueValidIndex},t.prototype._buildDefaultSelectedKeys=function(e,t){var n=this._buildSelectedKeys(e);return n.length?n:this._buildSelectedKeys(t)},t.prototype._buildSelectedKeys=function(e){return void 0===e?[]:e instanceof Array?e:[e]},t.prototype._getPreviewText=function(e){return e.useAriaLabelAsText&&e.ariaLabel?e.ariaLabel:e.text},t.prototype._normalizeToString=function(e){return e||""},t.prototype._hasFocus=function(){return"none"!==this.state.focusState},t.defaultProps={options:[],allowFreeform:!1,autoComplete:"on",buttonIconProps:{iconName:"ChevronDown"}},t=i.__decorate([l.customizable("ComboBox",["theme","styles"],!0)],t)}(s.Component);t.ComboBox=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollToMode={auto:0,top:1,bottom:2,center:3}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(284),a=n(114),l=n(12),c=n(9),u=n(71),d=n(286),p=i.classNamesFunction(),f=function(e){function t(t){var n=e.call(this,t)||this;return n._overflowSet=r.createRef(),n._resizeGroup=r.createRef(),n._onRenderData=function(e){return r.createElement(l.FocusZone,{className:i.css(n._classNames.root),direction:l.FocusZoneDirection.horizontal,role:"menubar","aria-label":n.props.ariaLabel},r.createElement(s.OverflowSet,{componentRef:n._overflowSet,className:i.css(n._classNames.primarySet),doNotContainWithinFocusZone:!0,items:e.primaryItems,overflowItems:e.overflowItems.length?e.overflowItems:void 0,onRenderItem:n._onRenderItem,onRenderOverflowButton:n._onRenderOverflowButton}),e.farItems&&e.farItems.length>0&&r.createElement(s.OverflowSet,{className:i.css(n._classNames.secondarySet),doNotContainWithinFocusZone:!0,items:e.farItems,onRenderItem:n._onRenderItem,onRenderOverflowButton:i.nullRender}))},n._onRenderItem=function(e){if(e.onRender)return e.onRender(e,(function(){}));var t=e.text||e.name,s=o.__assign(o.__assign({allowDisabledFocus:!0,role:"menuitem"},e),{styles:d.getCommandButtonStyles(e.buttonStyles),className:i.css("ms-CommandBarItem-link",e.className),text:e.iconOnly?void 0:t,menuProps:e.subMenuProps,onClick:n._onButtonClick(e)});return e.iconOnly&&void 0!==t?r.createElement(u.TooltipHost,o.__assign({content:t},e.tooltipHostProps),n._commandButton(e,s)):n._commandButton(e,s)},n._commandButton=function(e,t){var s=n.props.buttonAs,a=e.commandBarButtonAs,l=c.CommandBarButton;return a&&(l=i.composeComponentAs(a,l)),s&&(l=i.composeComponentAs(s,l)),r.createElement(l,o.__assign({},t))},n._onRenderOverflowButton=function(e){var t=n.props.overflowButtonProps,s=void 0===t?{}:t,a=o.__spreadArrays(s.menuProps?s.menuProps.items:[],e),l=o.__assign(o.__assign({role:"menuitem"},s),{styles:o.__assign({menuIcon:{fontSize:"17px"}},s.styles),className:i.css("ms-CommandBar-overflowButton",s.className),menuProps:o.__assign(o.__assign({},s.menuProps),{items:a}),menuIconProps:o.__assign({iconName:"More"},s.menuIconProps)}),u=n.props.overflowButtonAs?i.composeComponentAs(n.props.overflowButtonAs,c.CommandBarButton):c.CommandBarButton;return r.createElement(u,o.__assign({},l))},n._onReduceData=function(e){var t=n.props,r=t.shiftOnReduce,i=t.onDataReduced,s=e.primaryItems,a=e.overflowItems,l=e.cacheKey,c=s[r?0:s.length-1];if(void 0!==c){c.renderedInOverflow=!0,a=o.__spreadArrays([c],a),s=r?s.slice(1):s.slice(0,-1);var u=o.__assign(o.__assign({},e),{primaryItems:s,overflowItems:a});return l=n._computeCacheKey({primaryItems:s,overflow:a.length>0}),i&&i(c),u.cacheKey=l,u}},n._onGrowData=function(e){var t=n.props,r=t.shiftOnReduce,i=t.onDataGrown,s=e.minimumOverflowItems,a=e.primaryItems,l=e.overflowItems,c=e.cacheKey,u=l[0];if(void 0!==u&&l.length>s){u.renderedInOverflow=!1,l=l.slice(1),a=r?o.__spreadArrays([u],a):o.__spreadArrays(a,[u]);var d=o.__assign(o.__assign({},e),{primaryItems:a,overflowItems:l});return c=n._computeCacheKey({primaryItems:a,overflow:l.length>0}),i&&i(u),d.cacheKey=c,d}},i.initializeComponentRef(n),n}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.items,n=e.overflowItems,s=e.farItems,l=e.styles,c=e.theme,u=e.dataDidRender,d=e.onReduceData,f=void 0===d?this._onReduceData:d,h=e.onGrowData,m=void 0===h?this._onGrowData:h,g={primaryItems:o.__spreadArrays(t),overflowItems:o.__spreadArrays(n),minimumOverflowItems:o.__spreadArrays(n).length,farItems:s,cacheKey:this._computeCacheKey({primaryItems:o.__spreadArrays(t),overflow:n&&n.length>0})};this._classNames=p(l,{theme:c});var v=i.getNativeProps(this.props,i.divProperties);return r.createElement(a.ResizeGroup,o.__assign({},v,{componentRef:this._resizeGroup,data:g,onReduceData:f,onGrowData:m,onRenderData:this._onRenderData,dataDidRender:u}))},t.prototype.focus=function(){var e=this._overflowSet.current;e&&e.focus()},t.prototype.remeasure=function(){this._resizeGroup.current&&this._resizeGroup.current.remeasure()},t.prototype._onButtonClick=function(e){return function(t){e.inactive||e.onClick&&e.onClick(t,e)}},t.prototype._computeCacheKey=function(e){var t=e.primaryItems,n=e.overflow;return[t&&t.reduce((function(e,t){var n=t.cacheKey;return e+(void 0===n?t.key:n)}),""),n?"overflow":""].join("")},t.defaultProps={items:[],overflowItems:[]},t}(r.Component);t.CommandBarBase=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(710),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(241),s=n(2),a=n(111),l=s.classNamesFunction(),c=function(e){function t(t){var n=e.call(this,t)||this;return n._focusZone=r.createRef(),n._persistedKeytips={},n._keytipManager=a.KeytipManager.getInstance(),n._divContainer=r.createRef(),n._onRenderItems=function(e){return e.map((function(e,t){return r.createElement("div",{key:e.key,className:n._classNames.item},n.props.onRenderItem(e))}))},n._onRenderOverflowButtonWrapper=function(e){var t={className:n._classNames.overflowButton},i=n.props.keytipSequences,s=[];return i?e.forEach((function(e){var t=e.keytipProps;if(t){var r={content:t.content,keySequences:t.keySequences,disabled:t.disabled||!(!e.disabled&&!e.isDisabled),hasDynamicChildren:t.hasDynamicChildren,hasMenu:t.hasMenu};t.hasDynamicChildren||n._getSubMenuForItem(e)?r.onExecute=n._keytipManager.menuExecute.bind(n._keytipManager,i,e.keytipProps.keySequences):r.onExecute=t.onExecute,n._persistedKeytips[r.content]=r;var a=o.__assign(o.__assign({},e),{keytipProps:o.__assign(o.__assign({},t),{overflowSetSequence:i})});s.push(a)}else s.push(e)})):s=e,r.createElement("div",o.__assign({},t),n.props.onRenderOverflowButton(s))},s.initializeComponentRef(n),s.warnMutuallyExclusive("OverflowSet",t,{doNotContainWithinFocusZone:"focusZoneProps"}),n}return o.__extends(t,e),t.prototype.render=function(){var e,t,n=this.props,a=n.items,c=n.overflowItems,u=n.className,d=n.focusZoneProps,p=n.styles,f=n.vertical,h=n.doNotContainWithinFocusZone,m=n.role,g=n.overflowSide,v=void 0===g?"end":g;this._classNames=l(p,{className:u,vertical:f}),h?(e="div",t=o.__assign(o.__assign({},s.getNativeProps(this.props,s.divProperties)),{ref:this._divContainer})):(e=i.FocusZone,t=o.__assign(o.__assign(o.__assign({},s.getNativeProps(this.props,s.divProperties)),d),{componentRef:this._focusZone,direction:f?i.FocusZoneDirection.vertical:i.FocusZoneDirection.horizontal}));var _=c&&c.length>0;return r.createElement(e,o.__assign({role:m||"group","aria-orientation":"menubar"===m?!0===f?"vertical":"horizontal":void 0},t,{className:this._classNames.root}),"start"===v&&_&&this._onRenderOverflowButtonWrapper(c),a&&this._onRenderItems(a),"end"===v&&_&&this._onRenderOverflowButtonWrapper(c))},t.prototype.focus=function(e){var t=!1;return this.props.doNotContainWithinFocusZone?this._divContainer.current&&(t=s.focusFirstChild(this._divContainer.current)):this._focusZone.current&&(t=this._focusZone.current.focus(e)),t},t.prototype.focusElement=function(e){var t=!1;return!!e&&(this.props.doNotContainWithinFocusZone?this._divContainer.current&&s.elementContains(this._divContainer.current,e)&&(e.focus(),t=document.activeElement===e):this._focusZone.current&&(t=this._focusZone.current.focusElement(e)),t)},t.prototype.componentDidMount=function(){this._registerPersistedKeytips()},t.prototype.componentWillUnmount=function(){this._unregisterPersistedKeytips()},t.prototype.UNSAFE_componentWillUpdate=function(){this._unregisterPersistedKeytips()},t.prototype.componentDidUpdate=function(){this._registerPersistedKeytips()},t.prototype._registerPersistedKeytips=function(){var e=this;Object.keys(this._persistedKeytips).forEach((function(t){var n=e._persistedKeytips[t],o=e._keytipManager.register(n,!0);e._persistedKeytips[o]=n,delete e._persistedKeytips[t]}))},t.prototype._unregisterPersistedKeytips=function(){var e=this;Object.keys(this._persistedKeytips).forEach((function(t){e._keytipManager.unregister(e._persistedKeytips[t],t,!0)})),this._persistedKeytips={}},t.prototype._getSubMenuForItem=function(e){return this.props.itemSubMenuProvider?this.props.itemSubMenuProvider(e):e.subMenuProps?e.subMenuProps.items:void 0},t}(r.Component);t.OverflowSetBase=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(2);t.getStyles=function(e){var t=e.className,n=e.theme,o=n.semanticColors;return{root:[n.fonts.medium,"ms-CommandBar",{display:"flex",backgroundColor:o.bodyBackground,padding:"0 14px 0 24px",height:44},t],primarySet:["ms-CommandBar-primaryCommand",{flexGrow:"1",display:"flex",alignItems:"stretch"}],secondarySet:["ms-CommandBar-secondaryCommand",{flexShrink:"0",display:"flex",alignItems:"stretch"}]}},t.getCommandButtonStyles=r.memoizeFunction((function(e){var t={height:"100%"},n={whiteSpace:"nowrap"},r=e||{},i=r.root,s=r.label,a=o.__rest(r,["root","label"]);return o.__assign(o.__assign({},a),{root:i?[t,i]:t,label:s?[n,s]:n})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(260),a=n(79),l=n(21),c=n(14),u=n(128),d=n(80),p=n(56),f=i.classNamesFunction(),h={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",prevMonthAriaLabel:"Go to previous month",nextMonthAriaLabel:"Go to next month",prevYearAriaLabel:"Go to previous year",nextYearAriaLabel:"Go to next year",prevYearRangeAriaLabel:"Previous year range",nextYearRangeAriaLabel:"Next year range",closeButtonAriaLabel:"Close date picker",weekNumberFormatString:"Week number {0}"},m=function(e){function t(t){var n=e.call(this,t)||this;return n._calendar=r.createRef(),n._datePickerDiv=r.createRef(),n._textField=r.createRef(),n._onSelectDate=function(e){var t=n.props,o=t.formatDate,r=t.onSelectDate;n.props.calendarProps&&n.props.calendarProps.onSelectDate&&n.props.calendarProps.onSelectDate(e),n.setState({selectedDate:e,formattedDate:o&&e?o(e):""}),r&&r(e),n._calendarDismissed()},n._onCalloutPositioned=function(){var e=!0;n.props.calloutProps&&void 0!==n.props.calloutProps.setInitialFocus&&(e=n.props.calloutProps.setInitialFocus),n._calendar.current&&e&&n._calendar.current.focus()},n._onTextFieldFocus=function(e){n.props.disableAutoFocus||n.props.allowTextInput||(n._preventFocusOpeningPicker?n._preventFocusOpeningPicker=!1:n._showDatePickerPopup())},n._onTextFieldBlur=function(e){n._validateTextInput()},n._onTextFieldChanged=function(e,t){var o=n.props,r=o.allowTextInput,i=o.textField;if(r){n.state.isDatePickerShown&&n._dismissDatePickerPopup();var s=n.props,a=s.isRequired,l=s.strings;n.setState({errorMessage:a&&!t?l.isRequiredErrorMessage||" ":void 0,formattedDate:t})}i&&i.onChange&&i.onChange(e,t)},n._onTextFieldKeyDown=function(e){switch(e.which){case i.KeyCodes.enter:e.preventDefault(),e.stopPropagation(),n.state.isDatePickerShown?n.props.allowTextInput&&n._dismissDatePickerPopup():(n._validateTextInput(),n._showDatePickerPopup());break;case i.KeyCodes.escape:n._handleEscKey(e)}},n._onTextFieldClick=function(e){n.props.disableAutoFocus||n.state.isDatePickerShown||n.props.disabled?n.props.allowTextInput&&n._dismissDatePickerPopup():n._showDatePickerPopup()},n._onIconClick=function(e){e.stopPropagation(),n.state.isDatePickerShown||n.props.disabled?n.props.allowTextInput&&n._dismissDatePickerPopup():n._showDatePickerPopup()},n._dismissDatePickerPopup=function(){n.state.isDatePickerShown&&n.setState({isDatePickerShown:!1},(function(){n._validateTextInput()}))},n._calendarDismissed=function(){n._preventFocusOpeningPicker=!0,n._dismissDatePickerPopup()},n._handleEscKey=function(e){n.state.isDatePickerShown&&e.stopPropagation(),n._calendarDismissed()},n._validateTextInput=function(){var e=n.props,t=e.isRequired,o=e.allowTextInput,r=e.strings,i=e.parseDateFromString,s=e.onSelectDate,a=e.formatDate,l=e.minDate,c=e.maxDate,u=n.state.formattedDate;if(!n.state.isDatePickerShown)if(o){var d=null;if(u){if(n.state.selectedDate&&!n.state.errorMessage&&a&&a(n.state.selectedDate)===u)return;!(d=i(u))||isNaN(d.getTime())?(a&&(d=n.state.selectedDate,n.setState({formattedDate:a(d).toString()})),n.setState({errorMessage:r.invalidInputErrorMessage||" "})):n._isDateOutOfBounds(d,l,c)?n.setState({errorMessage:r.isOutOfBoundsErrorMessage||" "}):(n.setState({selectedDate:d,errorMessage:""}),a&&a(d)!==u&&n.setState({formattedDate:a(d).toString()}))}else n.setState({errorMessage:t?r.isRequiredErrorMessage||" ":""});s&&s(d)}else t&&!u?n.setState({errorMessage:r.isRequiredErrorMessage||" "}):n.setState({errorMessage:""})},i.initializeComponentRef(n),n.state=n._getDefaultState(),n._id=t.id||i.getId("DatePicker"),n._preventFocusOpeningPicker=!1,n}return o.__extends(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=e.formatDate,n=e.value;if(!(d.compareDates(this.props.minDate,e.minDate)&&d.compareDates(this.props.maxDate,e.maxDate)&&this.props.isRequired===e.isRequired&&d.compareDates(this.state.selectedDate,n)&&this.props.formatDate===t)){this._setErrorMessage(!0,e),this._id=e.id||this._id;var o=this.state.selectedDate;d.compareDates(o,n)&&this.props.formatDate===t||this.setState({selectedDate:n||void 0,formattedDate:t&&n?t(n):""})}},t.prototype.componentDidUpdate=function(e,t){t.isDatePickerShown&&!this.state.isDatePickerShown&&this.props.onAfterMenuDismiss&&this.props.onAfterMenuDismiss()},t.prototype.render=function(){var e=this.props,t=e.firstDayOfWeek,n=e.strings,a=e.label,d=e.theme,h=e.className,m=e.styles,g=e.initialPickerDate,v=e.isRequired,_=e.disabled,y=e.ariaLabel,b=e.pickerAriaLabel,S=e.placeholder,C=e.allowTextInput,x=e.borderless,k=e.minDate,w=e.maxDate,P=e.showCloseButton,E=e.calendarProps,I=e.calloutProps,T=e.textField,D=e.underlined,M=e.allFocusable,O=e.calendarAs,R=void 0===O?s.Calendar:O,N=e.tabIndex,F=this.state,A=F.isDatePickerShown,B=F.formattedDate,L=F.selectedDate,H=f(m,{theme:d,className:h,disabled:_,label:!!a,isDatePickerShown:A}),z=i.getId("DatePicker-Callout"),j=i.getNativeProps(this.props,i.divProperties,["value"]),W=T&&T.iconProps;return r.createElement("div",o.__assign({},j,{className:H.root}),r.createElement("div",{ref:this._datePickerDiv,"aria-haspopup":"true","aria-owns":A?z:void 0},r.createElement(u.TextField,o.__assign({role:"combobox",label:a,"aria-expanded":A,ariaLabel:y,"aria-controls":A?z:void 0,required:v,disabled:_,errorMessage:this._getErrorMessage(),placeholder:S,borderless:x,value:B,componentRef:this._textField,underlined:D,tabIndex:N,readOnly:!C},T,{id:this._id+"-label",className:i.css(H.textField,T&&T.className),iconProps:o.__assign(o.__assign({iconName:"Calendar"},W),{className:i.css(H.icon,W&&W.className),onClick:this._onIconClick}),onKeyDown:this._onTextFieldKeyDown,onFocus:this._onTextFieldFocus,onBlur:this._onTextFieldBlur,onClick:this._onTextFieldClick,onChange:this._onTextFieldChanged}))),A&&r.createElement(l.Callout,o.__assign({id:z,role:"dialog",ariaLabel:b,isBeakVisible:!1,gapSpace:0,doNotLayer:!1,target:this._datePickerDiv.current,directionalHint:c.DirectionalHint.bottomLeftEdge},I,{className:i.css(H.callout,I&&I.className),onDismiss:this._calendarDismissed,onPositioned:this._onCalloutPositioned}),r.createElement(p.FocusTrapZone,{isClickableOutsideFocusTrap:!0,disableFirstFocus:this.props.disableAutoFocus,forceFocusInsideTrap:!1},r.createElement(R,o.__assign({},E,{onSelectDate:this._onSelectDate,onDismiss:this._calendarDismissed,isMonthPickerVisible:this.props.isMonthPickerVisible,showMonthPickerAsOverlay:this.props.showMonthPickerAsOverlay,today:this.props.today,value:L||g,firstDayOfWeek:t,strings:n,highlightCurrentMonth:this.props.highlightCurrentMonth,highlightSelectedMonth:this.props.highlightSelectedMonth,showWeekNumbers:this.props.showWeekNumbers,firstWeekOfYear:this.props.firstWeekOfYear,showGoToToday:this.props.showGoToToday,dateTimeFormatter:this.props.dateTimeFormatter,minDate:k,maxDate:w,componentRef:this._calendar,showCloseButton:P,allFocusable:M})))))},t.prototype.focus=function(){this._textField.current&&this._textField.current.focus()},t.prototype.reset=function(){this.setState(this._getDefaultState())},t.prototype._setErrorMessage=function(e,t){var n=t||this.props,o=n.isRequired,r=n.strings,i=n.value,s=n.minDate,a=n.maxDate,l=n.initialPickerDate||!o||i?void 0:r.isRequiredErrorMessage||" ";return!l&&i&&(l=this._isDateOutOfBounds(i,s,a)?r.isOutOfBoundsErrorMessage||" ":void 0),e&&this.setState({errorMessage:l}),l},t.prototype._showDatePickerPopup=function(){this.state.isDatePickerShown||(this._preventFocusOpeningPicker=!0,this.setState({isDatePickerShown:!0}))},t.prototype._getDefaultState=function(e){return void 0===e&&(e=this.props),{selectedDate:e.value||void 0,formattedDate:e.formatDate&&e.value?e.formatDate(e.value):"",isDatePickerShown:!1,errorMessage:this._setErrorMessage(!1)}},t.prototype._isDateOutOfBounds=function(e,t,n){return!!t&&d.compareDatePart(t,e)>0||!!n&&d.compareDatePart(n,e)<0},t.prototype._getErrorMessage=function(){if(!this.state.isDatePickerShown)return this.state.errorMessage},t.defaultProps={allowTextInput:!1,formatDate:function(e){return e?e.toDateString():""},parseDateFromString:function(e){var t=Date.parse(e);return t?new Date(t):null},firstDayOfWeek:s.DayOfWeek.Sunday,initialPickerDate:new Date,isRequired:!1,isMonthPickerVisible:!0,showMonthPickerAsOverlay:!1,strings:h,highlightCurrentMonth:!1,highlightSelectedMonth:!1,borderless:!1,pickerAriaLabel:"Calendar",showWeekNumbers:!1,firstWeekOfYear:a.FirstWeekOfYear.FirstDay,showGoToToday:!0,dateTimeFormatter:void 0,showCloseButton:!1,underlined:!1,allFocusable:!1},t}(r.Component);t.DatePickerBase=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.hidden=0]="hidden",e[e.visible=1]="visible"}(t.CollapseAllVisibility||(t.CollapseAllVisibility={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(290),i=n(132);t.DetailsHeader=o.styled(r.DetailsHeaderBase,i.getStyles,void 0,{scope:"DetailsHeader"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(16),s=n(2),a=n(49),l=n(12),c=n(5),u=n(37),d=n(27),p=n(83),f=n(135),h=n(61),m=n(733),g=n(734),v=n(136),_=s.classNamesFunction(),y=[],b=function(e){function t(t){var n=e.call(this,t)||this;return n._rootComponent=r.createRef(),n._draggedColumnIndex=-1,n._dropHintDetails={},n._updateDroppingState=function(e,t){n._draggedColumnIndex>=0&&"drop"!==t.type&&!e&&n._resetDropHints()},n._onDragOver=function(e,t){n._draggedColumnIndex>=0&&(t.stopPropagation(),n._computeDropHintToBeShown(t.clientX))},n._onDrop=function(e,t){var o=n._getColumnReorderProps();if(n._draggedColumnIndex>=0&&t){var r=n._draggedColumnIndex>n._currentDropHintIndex?n._currentDropHintIndex:n._currentDropHintIndex-1,i=n._isValidCurrentDropHintIndex();if(t.stopPropagation(),i)if(n._onDropIndexInfo.sourceIndex=n._draggedColumnIndex,n._onDropIndexInfo.targetIndex=r,o.onColumnDrop){var s={draggedIndex:n._draggedColumnIndex,targetIndex:r};o.onColumnDrop(s)}else o.handleColumnReorder&&o.handleColumnReorder(n._draggedColumnIndex,r)}n._resetDropHints(),n._dropHintDetails={},n._draggedColumnIndex=-1},n._updateDragInfo=function(e,t){var o=n._getColumnReorderProps(),r=e.itemIndex;if(r>=0)n._draggedColumnIndex=n._isCheckboxColumnHidden()?r-1:r-2,n._getDropHintPositions(),o.onColumnDragStart&&o.onColumnDragStart(!0);else if(t&&n._draggedColumnIndex>=0&&(n._resetDropHints(),n._draggedColumnIndex=-1,n._dropHintDetails={},o.onColumnDragEnd)){var i=n._isEventOnHeader(t);o.onColumnDragEnd({dropLocation:i},t)}},n._getDropHintPositions=function(){for(var e,t=n.props.columns,o=void 0===t?y:t,r=n._getColumnReorderProps(),i=0,s=0,a=r.frozenColumnCountFromStart||0,l=r.frozenColumnCountFromEnd||0,c=a;c=0&&(n._resetDropHints(),n._updateDropHintElement(n._dropHintDetails[f].dropHintElementRef,"inline-block"),n._currentDropHintIndex=f)}},n._renderColumnSizer=function(e){var t,o=e.columnIndex,i=n.props.columns,a=void 0===i?y:i,l=a[o],c=n.state.columnResizeDetails,u=n._classNames;return l.isResizable?r.createElement("div",{key:l.key+"_sizer","aria-hidden":!0,role:"button","data-is-focusable":!1,onClick:k,"data-sizer-index":o,onBlur:n._onSizerBlur,className:s.css(u.cellSizer,o=0&&this._onDropIndexInfo.targetIndex>=0){var t=e.columns,n=void 0===t?y:t,o=this.props.columns,r=void 0===o?y:o;n[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})},t.prototype.componentWillUnmount=function(){this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this._dragDropHelper.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this,t=this.props,n=t.columns,o=void 0===n?y:n,i=t.ariaLabel,m=t.ariaLabelForToggleAllGroupsButton,b=t.ariaLabelForSelectAllCheckbox,S=t.selectAllVisibility,C=t.ariaLabelForSelectionColumn,x=t.indentWidth,k=t.onColumnClick,w=t.onColumnContextMenu,P=t.onRenderColumnHeaderTooltip,E=void 0===P?this._onRenderColumnHeaderTooltip:P,I=t.styles,T=t.selectionMode,D=t.theme,M=t.onRenderDetailsCheckbox,O=t.groupNestingDepth,R=t.useFastIcons,N=t.checkboxVisibility,F=t.className,A=this.state,B=A.isAllSelected,L=A.columnResizeDetails,H=A.isSizing,z=A.isAllCollapsed,j=S!==v.SelectAllVisibility.none,W=S===v.SelectAllVisibility.hidden,V=N===a.CheckboxVisibility.always,K=this._getColumnReorderProps(),U=K&&K.frozenColumnCountFromStart?K.frozenColumnCountFromStart:0,G=K&&K.frozenColumnCountFromEnd?K.frozenColumnCountFromEnd:0;this._classNames=_(I,{theme:D,isAllSelected:B,isSelectAllHidden:S===v.SelectAllVisibility.hidden,isResizingColumn:!!L&&H,isSizing:H,isAllCollapsed:z,isCheckboxHidden:W,className:F});var Y=this._classNames,q=R?c.FontIcon:c.Icon,Z=s.getRTL(D);return r.createElement(l.FocusZone,{role:"row","aria-label":i,className:Y.root,componentRef:this._rootComponent,ref:this._onRootRef,onMouseMove:this._onRootMouseMove,"data-automationid":"DetailsHeader",direction:l.FocusZoneDirection.horizontal},j?[r.createElement("div",{key:"__checkbox",className:Y.cellIsCheck,"aria-labelledby":this._id+"-check",onClick:W?void 0:this._onSelectAllClicked,"aria-colindex":1,role:"columnheader"},E({hostClassName:Y.checkTooltip,id:this._id+"-checkTooltip",setAriaDescribedBy:!1,content:b,children:r.createElement(f.DetailsRowCheck,{id:this._id+"-check","aria-label":T===h.SelectionMode.multiple?b:C,"aria-describedby":W?C&&!this.props.onRenderColumnHeaderTooltip?this._id+"-checkTooltip":void 0:b&&!this.props.onRenderColumnHeaderTooltip?this._id+"-checkTooltip":void 0,"data-is-focusable":!W||void 0,isHeader:!0,selected:B,anySelected:!1,canSelect:!W,className:Y.check,onRenderDetailsCheckbox:M,useFastIcons:R,isVisible:V})},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:b&&!W?r.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:Y.accessibleLabel,"aria-hidden":!0},b):C&&W?r.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:Y.accessibleLabel,"aria-hidden":!0},C):null]:null,O>0&&this.props.collapseAllVisibility===p.CollapseAllVisibility.visible?r.createElement("div",{className:Y.cellIsGroupExpander,onClick:this._onToggleCollapseAll,"data-is-focusable":!0,"aria-label":m,"aria-expanded":!z,role:m?"button":void 0},r.createElement(q,{className:Y.collapseButton,iconName:Z?"ChevronLeftMed":"ChevronRightMed"})):null,r.createElement(d.GroupSpacer,{indentWidth:x,count:O-1}),o.map((function(t,n){var i=!!K&&(n>=U&&n=0},t.prototype._isCheckboxColumnHidden=function(){var e=this.props,t=e.selectionMode,n=e.checkboxVisibility;return t===h.SelectionMode.none||n===a.CheckboxVisibility.hidden},t.prototype._resetDropHints=function(){this._currentDropHintIndex>=0&&(this._updateDropHintElement(this._dropHintDetails[this._currentDropHintIndex].dropHintElementRef,"none"),this._currentDropHintIndex=-1)},t.prototype._updateDropHintElement=function(e,t){e.childNodes[1].style.display=t,e.childNodes[0].style.display=t},t.prototype._isEventOnHeader=function(e){if(this._rootElement){var t=this._rootElement.getBoundingClientRect();if(e.clientX>t.left&&e.clientXt.top&&e.clientY=o:t>=n&&t<=o}function C(e,t,n){return e?t>=n:t<=n}function x(e,t,n){return e?t<=n:t>=n}function k(e){e.stopPropagation()}t.DetailsHeaderBase=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(292),a=n(60),l=n(33),c=n(23),u=i.classNamesFunction(),d=c.DEFAULT_ROW_HEIGHTS.rowHeight,p=c.DEFAULT_ROW_HEIGHTS.compactRowHeight,f=function(e){function t(t){var n=e.call(this,t)||this;return n._list=r.createRef(),n._renderGroup=function(e,t){var i=n.props,a=i.dragDropEvents,l=i.dragDropHelper,c=i.eventsToRegister,u=i.groupProps,d=i.items,p=i.listProps,f=i.onRenderCell,h=i.selectionMode,m=i.selection,g=i.viewport,v=i.onShouldVirtualize,_=i.groups,y=i.compact,b={onToggleSelectGroup:n._onToggleSelectGroup,onToggleCollapse:n._onToggleCollapse,onToggleSummarize:n._onToggleSummarize},S=o.__assign(o.__assign({},u.headerProps),b),C=o.__assign(o.__assign({},u.showAllProps),b),x=o.__assign(o.__assign({},u.footerProps),b),k=n._getGroupNestingDepth();return!u.showEmptyGroups&&e&&0===e.count?null:r.createElement(s.GroupedListSection,{ref:"group_"+t,key:n._getGroupKey(e,t),dragDropEvents:a,dragDropHelper:l,eventsToRegister:c,footerProps:x,getGroupItemLimit:u&&u.getGroupItemLimit,group:e,groupIndex:t,groupNestingDepth:k,groupProps:u,headerProps:S,listProps:p,items:d,onRenderCell:f,onRenderGroupHeader:u.onRenderHeader,onRenderGroupShowAll:u.onRenderShowAll,onRenderGroupFooter:u.onRenderFooter,selectionMode:h,selection:m,showAllProps:C,viewport:g,onShouldVirtualize:v,groupedListClassNames:n._classNames,groups:_,compact:y})},n._getDefaultGroupItemLimit=function(e){return e.count},n._getGroupItemLimit=function(e){var t=n.props.groupProps;return(t&&t.getGroupItemLimit?t.getGroupItemLimit:n._getDefaultGroupItemLimit)(e)},n._getGroupHeight=function(e){var t=n.props.compact?p:d;return t+(e.isCollapsed?0:t*n._getGroupItemLimit(e))},n._getPageHeight=function(e){var t=n.state.groups,o=n.props.getGroupHeight,r=void 0===o?n._getGroupHeight:o,i=t&&t[e];return i?r(i,e):0},n._onToggleCollapse=function(e){var t=n.props.groupProps,o=t&&t.headerProps&&t.headerProps.onToggleCollapse;e&&(o&&o(e),e.isCollapsed=!e.isCollapsed,n._updateIsSomeGroupExpanded(),n.forceUpdate())},n._onToggleSelectGroup=function(e){var t=n.props,o=t.selection,r=t.selectionMode;e&&o&&r===l.SelectionMode.multiple&&o.toggleRangeSelected(e.startIndex,e.count)},n._onToggleSummarize=function(e){var t=n.props.groupProps,o=t&&t.showAllProps&&t.showAllProps.onToggleSummarize;o?o(e):(e&&(e.isShowingAll=!e.isShowingAll),n.forceUpdate())},n._getPageSpecification=function(e){var t=n.state.groups,o=t&&t[e];return{key:o&&o.key}},i.initializeComponentRef(n),n._isSomeGroupExpanded=n._computeIsSomeGroupExpanded(t.groups),n.state={lastWidth:0,groups:t.groups},n}return o.__extends(t,e),t.prototype.scrollToIndex=function(e,t,n){this._list.current&&this._list.current.scrollToIndex(e,t,n)},t.prototype.getStartItemIndexInView=function(){return this._list.current.getStartItemIndexInView()||0},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.groups,o=t.selectionMode,r=t.compact,i=!1;e.groups!==n&&(this.setState({groups:e.groups}),i=!0),e.selectionMode===o&&e.compact===r||(i=!0),i&&this._forceListUpdates()},t.prototype.componentDidMount=function(){var e=this.props,t=e.groupProps,n=e.groups,o=void 0===n?[]:n;t&&t.isAllGroupsCollapsed&&this._setGroupsCollapsedState(o,t.isAllGroupsCollapsed)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.usePageCache,o=e.onShouldVirtualize,s=e.theme,l=e.styles,c=e.compact,d=e.listProps,p=void 0===d?{}:d,f=this.state.groups;this._classNames=u(l,{theme:s,className:t,compact:c});var h=p.version;return r.createElement("div",{className:this._classNames.root,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},r.createElement(i.FocusRects,null),f?r.createElement(a.List,{ref:this._list,role:"presentation",items:f,onRenderCell:this._renderGroup,getItemCountForPage:this._returnOne,getPageHeight:this._getPageHeight,getPageSpecification:this._getPageSpecification,usePageCache:n,onShouldVirtualize:o,version:h}):this._renderGroup(void 0,0))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this._forceListUpdates()},t.prototype.toggleCollapseAll=function(e){var t=this.state.groups,n=void 0===t?[]:t,o=this.props.groupProps,r=o&&o.onToggleCollapseAll;n.length>0&&(r&&r(e),this._setGroupsCollapsedState(n,e),this._updateIsSomeGroupExpanded(),this.forceUpdate())},t.prototype._setGroupsCollapsedState=function(e,t){for(var n=0;n0;)e++,t=t[0].children;return e},t.prototype._forceListUpdates=function(e){var t=(e=e||this.state.groups)?e.length:1;if(this._list.current){this._list.current.forceUpdate();for(var n=0;n0||d&&d.showEmptyGroups?r.createElement(t,{ref:"subGroup_"+n,key:s._getGroupKey(e,n),dragDropEvents:i,dragDropHelper:a,eventsToRegister:l,footerProps:m,getGroupItemLimit:c,group:e,groupIndex:n,groupNestingDepth:E,groupProps:d,headerProps:f,items:p,listProps:g,onRenderCell:v,selection:_,selectionMode:y,showAllProps:h,viewport:b,onRenderGroupHeader:S,onRenderGroupShowAll:C,onRenderGroupFooter:x,onShouldVirtualize:k,groups:w?w.children:[],compact:P}):null},s._getGroupDragDropOptions=function(){var e=s.props,t=e.group,n=e.groupIndex,o=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:-1,context:{data:t,index:n,isGroup:!0},updateDropState:s._updateDroppingState,canDrag:o.canDrag,canDrop:o.canDrop,onDrop:o.onDrop,onDragStart:o.onDragStart,onDragEnter:o.onDragEnter,onDragLeave:o.onDragLeave,onDragEnd:o.onDragEnd,onDragOver:o.onDragOver}},s._updateDroppingState=function(e,t){var n=s.state.isDropping,o=s.props,r=o.dragDropEvents,i=o.group;n!==e&&(n?r&&r.onDragLeave&&r.onDragLeave(i,t):r&&r.onDragEnter&&(s._droppingClassName=r.onDragEnter(i,t)),s.setState({isDropping:e}))};var u=n.selection,d=n.group;return i.initializeComponentRef(s),s._id=i.getId("GroupedListSection"),s.state={isDropping:!1,isSelected:!(!u||!d)&&u.isRangeSelected(d.startIndex,d.count)},s._events=new i.EventGroup(s),s}return o.__extends(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,n=e.selection;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())),n&&this._events.on(n,s.SELECTION_CHANGE,this._onSelectionChange)},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._dragDropSubscription&&this._dragDropSubscription.dispose()},t.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())))},t.prototype.render=function(){var e=this.props,t=e.getGroupItemLimit,n=e.group,s=e.groupIndex,a=e.headerProps,l=e.showAllProps,c=e.footerProps,d=e.viewport,p=e.selectionMode,f=e.onRenderGroupHeader,h=void 0===f?this._onRenderGroupHeader:f,m=e.onRenderGroupShowAll,g=void 0===m?this._onRenderGroupShowAll:m,v=e.onRenderGroupFooter,_=void 0===v?this._onRenderGroupFooter:v,y=e.onShouldVirtualize,b=e.groupedListClassNames,S=e.groups,C=e.compact,x=e.listProps,k=void 0===x?{}:x,w=this.state.isSelected,P=n&&t?t(n):1/0,E=n&&!n.children&&!n.isCollapsed&&!n.isShowingAll&&(n.count>P||n.hasMoreData),I=n&&n.children&&n.children.length>0,T=k.version,D={group:n,groupIndex:s,groupLevel:n?n.level:0,isSelected:w,selected:w,viewport:d,selectionMode:p,groups:S,compact:C},M={groupedListId:this._id,ariaSetSize:S?S.length:void 0,ariaPosInSet:void 0!==s?s+1:void 0},O=o.__assign(o.__assign(o.__assign({},a),D),M),R=o.__assign(o.__assign({},l),D),N=o.__assign(o.__assign({},c),D),F=!!this.props.dragDropHelper&&this._getGroupDragDropOptions().canDrag(n)&&!!this.props.dragDropEvents.canDragGroups;return r.createElement("div",o.__assign({ref:this._root},F&&{draggable:!0},{className:i.css(b&&b.group,this._getDroppingClassName()),role:"presentation"}),h(O,this._onRenderGroupHeader),n&&n.isCollapsed?null:I?r.createElement(u.List,{role:"presentation",ref:this._list,items:n?n.children:[],onRenderCell:this._renderSubGroup,getItemCountForPage:this._returnOne,onShouldVirtualize:y,version:T,id:this._id}):this._onRenderGroup(P),n&&n.isCollapsed?null:E&&g(R,this._onRenderGroupShowAll),_(N,this._onRenderGroupFooter))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this.forceListUpdate()},t.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,n=0;n0&&(r.EventGroup.raise(this._dragData.dropTarget.root,"dragleave"),r.EventGroup.raise(i,"dragenter"),this._dragData.dropTarget=e)}},e.prototype._onMouseLeave=function(e,t){this._isDragging&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key===e.key&&(r.EventGroup.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 n=0,o=Object.keys(this._activeTargets);ni.left&&t.clientXi.top&&t.clientY=0&&(i&&i(r[s],s,t),n.setState({focusedItemIndex:s}))}},n._onBlur=function(e){n.setState({focusedItemIndex:-1})},n.isRightArrow=function(e){return e.which===i.getRTLSafeKeyCode(i.KeyCodes.right,n.props.theme)},i.initializeComponentRef(n),n._async=new i.Async(n),n._activeRows={},n._columnOverrides={},n.state={focusedItemIndex:-1,lastWidth:0,adjustedColumns:n._getAdjustedColumns(t),isSizing:!1,isDropping:!1,isCollapsed:t.groupProps&&t.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:t.groupProps&&!t.groupProps.isAllGroupsCollapsed,version:{}},n._selection=t.selection||new d.Selection({onSelectionChanged:void 0,getKey:t.getKey,selectionMode:t.selectionMode}),n.props.disableSelectionZone||n._selection.setItems(t.items,!1),n._dragDropHelper=t.dragDropEvents?new p.DragDropHelper({selection:n._selection,minimumPixelsForDrag:t.minimumPixelsForDrag}):void 0,n._initialFocusedIndex=t.initialFocusedIndex,n}return o.__extends(t,e),t.prototype.scrollToIndex=function(e,t,n){this._list.current&&this._list.current.scrollToIndex(e,t,n),this._groupedList.current&&this._groupedList.current.scrollToIndex(e,t,n)},t.prototype.focusIndex=function(e,t,n,o){void 0===t&&(t=!1);var r=this.props.items[e];if(r){this.scrollToIndex(e,n,o);var i=this._getItemKey(r,e),s=this._activeRows[i];s&&this._setFocusToRow(s,t)}},t.prototype.getStartItemIndexInView=function(){return this._list&&this._list.current?this._list.current.getStartItemIndexInView():this._groupedList&&this._groupedList.current?this._groupedList.current.getStartItemIndexInView():0},t.prototype.componentWillUnmount=function(){this._dragDropHelper&&this._dragDropHelper.dispose(),this._async.dispose()},t.prototype.componentDidUpdate=function(e,t){if(void 0!==this._initialFocusedIndex&&(s=this.props.items[this._initialFocusedIndex])){var n=this._getItemKey(s,this._initialFocusedIndex);(o=this._activeRows[n])&&this._setFocusToRowIfPending(o)}if(this.props.items!==e.items&&this.props.items.length>0&&-1!==this.state.focusedItemIndex&&!i.elementContains(this._root.current,document.activeElement,!1)){var o,r=this.state.focusedItemIndex0;)e++,t=t[0].children;return e},t.prototype._setFocusToRowIfPending=function(e){var t=e.props.itemIndex;void 0!==this._initialFocusedIndex&&t===this._initialFocusedIndex&&(this._setFocusToRow(e),delete this._initialFocusedIndex)},t.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)},t.prototype._forceListUpdates=function(){this._groupedList.current&&this._groupedList.current.forceUpdate(),this._list.current&&this._list.current.forceUpdate()},t.prototype._notifyColumnsResized=function(){this.state.adjustedColumns.forEach((function(e){e.onColumnResize&&e.onColumnResize(e.currentWidth)}))},t.prototype._adjustColumns=function(e,t,n){var o=this._getAdjustedColumns(e,t,n),r=this.props.viewport,i=r&&r.width?r.width:0;o&&this.setState({adjustedColumns:o,lastWidth:i},this._notifyColumnsResized)},t.prototype._getAdjustedColumns=function(e,t,n){var o,r=this,i=e.items,a=e.layoutMode,l=e.selectionMode,c=e.viewport,u=c&&c.width?c.width:0,d=e.columns,p=this.props?this.props.columns:[],f=this.state?this.state.lastWidth:-1,h=this.state?this.state.lastSelectionMode:void 0;return t||f!==u||h!==l||p&&d!==p?(d=d||x(i,!0),a===s.DetailsListLayoutMode.fixedColumns?(o=this._getFixedColumns(d)).forEach((function(e){r._rememberCalculatedWidth(e,e.calculatedWidth)})):(o=void 0!==n?this._getJustifiedColumnsAfterResize(d,u,e,n):this._getJustifiedColumns(d,u,e,0)).forEach((function(e){r._getColumnOverride(e.key).currentWidth=e.calculatedWidth})),o):[]},t.prototype._getFixedColumns=function(e){var t=this;return e.map((function(e){var n=o.__assign(o.__assign({},e),t._columnOverrides[e.key]);return n.calculatedWidth||(n.calculatedWidth=n.maxWidth||n.minWidth||100),n}))},t.prototype._getJustifiedColumnsAfterResize=function(e,t,n,r){var i=this,s=e.slice(0,r);s.forEach((function(e){return e.calculatedWidth=i._getColumnOverride(e.key).currentWidth}));var a=s.reduce((function(e,t,o){return e+k(t,0===o,n)}),0),l=e.slice(r),c=t-a;return o.__spreadArrays(s,this._getJustifiedColumns(l,c,n,r))},t.prototype._getJustifiedColumns=function(e,t,n,r){for(var i=this,a=n.selectionMode,l=void 0===a?this._selection.mode:a,c=n.checkboxVisibility,u=l!==d.SelectionMode.none&&c!==s.CheckboxVisibility.hidden?_.CHECK_CELL_WIDTH:0,p=this._getGroupNestingDepth()*y.SPACER_WIDTH,f=0,h=t-(u+p),m=e.map((function(e,t){var s=o.__assign(o.__assign(o.__assign({},e),{calculatedWidth:e.minWidth||100}),i._columnOverrides[e.key]);return f+=k(s,t+r===0,n),s})),g=m.length-1;g>0&&f>h;){var v=(x=m[g]).minWidth||100,b=f-h;if(x.calculatedWidth-v>=b||!x.isCollapsible&&!x.isCollapsable){var S=x.calculatedWidth;x.calculatedWidth=Math.max(x.calculatedWidth-b,v),f-=S-x.calculatedWidth}else f-=k(x,!1,n),m.splice(g,1);g--}for(var C=0;C=0&&this._cellMeasurer.current){var s=this._cellMeasurer.current.getBoundingClientRect().width;i.onMeasureDone(s),this.setState({columnMeasureInfo:void 0})}o&&r&&!this._onDidMountCalled&&(this._onDidMountCalled=!0,r(this))},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.item,n=e.onWillUnmount;n&&t&&n(this),this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._events.dispose()},t.prototype.UNSAFE_componentWillReceiveProps=function(e){this.setState({selectionState:this._getSelectionState(e)})},t.prototype.shouldComponentUpdate=function(e,t){if(this.props.useReducedRowRenderer){var n=this._getSelectionState(e);return this.state.selectionState.isSelected!==n.isSelected||!s.shallowCompare(this.props,e)}return!0},t.prototype.render=function(){var e=this.props,t=e.className,n=e.columns,i=void 0===n?m:n,l=e.dragDropEvents,g=e.item,v=e.itemIndex,_=e.onRenderCheck,y=void 0===_?this._onRenderCheck:_,b=e.onRenderDetailsCheckbox,S=e.onRenderItemColumn,C=e.getCellValueKey,x=e.selectionMode,k=e.rowWidth,w=void 0===k?0:k,P=e.checkboxVisibility,E=e.getRowAriaLabel,I=e.getRowAriaDescribedBy,T=e.checkButtonAriaLabel,D=e.checkboxCellClassName,M=e.rowFieldsAs,O=void 0===M?u.DetailsRowFields:M,R=e.selection,N=e.indentWidth,F=e.enableUpdateAnimations,A=e.compact,B=e.theme,L=e.styles,H=e.cellsByColumn,z=e.groupNestingDepth,j=e.useFastIcons,W=void 0===j||j,V=e.cellStyleProps,K=this.state,U=K.columnMeasureInfo,G=K.isDropping,Y=this.state.selectionState,q=Y.isSelected,Z=void 0!==q&&q,$=Y.isSelectionModal,X=void 0!==$&&$,Q=l?!(!l.canDrag||!l.canDrag(g)):void 0,J=G?this._droppingClassNames||"is-dropping":"",ee=E?E(g):void 0,te=I?I(g):void 0,ne=!!R&&R.canSelectItem(g,v),oe=x===p.SelectionMode.multiple,re=x!==p.SelectionMode.none&&P!==a.CheckboxVisibility.hidden,ie=x===p.SelectionMode.none?void 0:Z;this._classNames=o.__assign(o.__assign({},this._classNames),h(L,{theme:B,isSelected:Z,canSelect:!oe,anySelected:X,checkboxCellClassName:D,droppingClassName:J,className:t,compact:A,enableUpdateAnimations:F,cellStyleProps:V}));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};s.shallowCompare(this._rowClassNames||{},se)||(this._rowClassNames=se);var ae=r.createElement(O,{rowClassNames:this._rowClassNames,cellsByColumn:H,columns:i,item:g,itemIndex:v,columnStartIndex:re?1:0,onRenderItemColumn:S,getCellValueKey:C,enableUpdateAnimations:F,cellStyleProps:V});return r.createElement(d.FocusZone,o.__assign({"data-is-focusable":!0},s.getNativeProps(this.props,s.divProperties),"boolean"==typeof Q?{"data-is-draggable":Q,draggable:Q}:{},{direction:d.FocusZoneDirection.horizontal,ref:this._onRootRef,componentRef:this._focusZone,role:"row","aria-label":ee,"aria-describedby":te,className:this._classNames.root,"data-selection-index":v,"data-selection-touch-invoke":!0,"data-item-index":v,"aria-rowindex":v+1,"data-automationid":"DetailsRow",style:{minWidth:w},"aria-selected":ie,allowFocusRoot:!0}),re&&r.createElement("div",{role:"gridcell","aria-colindex":1,"data-selection-toggle":!0,className:this._classNames.checkCell},y({selected:Z,anySelected:X,"aria-label":T,canSelect:ne,compact:A,className:this._classNames.check,theme:B,isVisible:P===a.CheckboxVisibility.always,onRenderDetailsCheckbox:b,useFastIcons:W})),r.createElement(c.GroupSpacer,{indentWidth:N,count:z-(this.props.collapseAllVisibility===f.CollapseAllVisibility.hidden?1:0)}),g&&ae,U&&r.createElement("span",{role:"presentation",className:s.css(this._classNames.cellMeasurer,this._classNames.cell),ref:this._cellMeasurer},r.createElement(O,{rowClassNames:this._rowClassNames,columns:[U.column],item:g,itemIndex:v,columnStartIndex:(re?1:0)+i.length,onRenderItemColumn:S,getCellValueKey:C})),r.createElement("span",{role:"checkbox",className:this._classNames.checkCover,"aria-checked":Z,"data-selection-toggle":!0}))},t.prototype.measureCell=function(e,t){var n=this.props.columns,r=void 0===n?m:n,i=o.__assign({},r[e]);i.minWidth=0,i.maxWidth=999999,delete i.calculatedWidth,this.setState({columnMeasureInfo:{index:e,column:i,onMeasureDone:t}})},t.prototype.focus=function(e){return void 0===e&&(e=!1),!!this._focusZone.current&&this._focusZone.current.focus(e)},t.prototype._onRenderCheck=function(e){return r.createElement(l.DetailsRowCheck,o.__assign({},e))},t.prototype._getSelectionState=function(e){var t=e.itemIndex,n=e.selection;return{isSelected:!!n&&n.isIndexSelected(t),isSelectionModal:!!n&&!!n.isModal&&n.isModal()}},t.prototype._getRowDragDropOptions=function(){var e=this.props,t=e.item,n=e.itemIndex,o=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:n,context:{data:t,index:n},canDrag:o.canDrag,canDrop:o.canDrop,onDragStart:o.onDragStart,updateDropState:this._updateDroppingState,onDrop:o.onDrop,onDragEnd:o.onDragEnd,onDragOver:o.onDragOver}},t}(r.Component);t.DetailsRowBase=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2),i=n(23);t.DetailsRowFields=function(e){var t=e.columns,n=e.columnStartIndex,s=e.rowClassNames,a=e.cellStyleProps,l=void 0===a?i.DEFAULT_CELL_STYLE_PROPS:a,c=e.item,u=e.itemIndex,d=e.onRenderItemColumn,p=e.getCellValueKey,f=e.cellsByColumn,h=e.enableUpdateAnimations,m=o.useRef(),g=m.current||(m.current={});return o.createElement("div",{className:s.fields,"data-automationid":"DetailsRowFields",role:"presentation"},t.map((function(e,t){var i=void 0===e.calculatedWidth?"auto":e.calculatedWidth+l.cellLeftPadding+l.cellRightPadding+(e.isPadded?l.cellExtraRightPadding:0),a=e.onRender,m=void 0===a?d:a,v=e.getValueKey,_=void 0===v?p:v,y=f&&e.key in f?f[e.key]:m?m(c,u,e):function(e,t){var n=e&&t&&t.fieldName?e[t.fieldName]:"";return null==n&&(n=""),"boolean"==typeof n?n.toString():n}(c,e),b=g[e.key],S=h&&_?_(c,u,e):void 0,C=!1;void 0!==S&&void 0!==b&&S!==b&&(C=!0),g[e.key]=S;var x=e.key+(void 0!==S?"-"+S:"");return o.createElement("div",{key:x,role:e.isRowHeader?"rowheader":"gridcell","aria-readonly":!0,"aria-colindex":t+n+1,className:r.css(e.className,e.isMultiline&&s.isMultiline,e.isRowHeader&&s.isRowHeader,s.cell,e.isPadded?s.cellPadded:s.cellUnpadded,C&&s.cellAnimation),style:{width:i},"data-automationid":"DetailsRowCell","data-automation-key":e.key},y)})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(740),t),o.__exportStar(n(305),t),o.__exportStar(n(312),t),o.__exportStar(n(313),t),o.__exportStar(n(314),t),o.__exportStar(n(315),t),o.__exportStar(n(137),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(137),a=n(306),l=n(38),c=i.classNamesFunction(),u=n(312),d={isDarkOverlay:!1,isBlocking:!1,className:"",containerClassName:"",topOffsetFixed:!1},p={type:s.DialogType.normal,className:"",topButtonsProps:[]},f=function(e){function t(t){var n=e.call(this,t)||this;return n._getSubTextId=function(){var e=n.props,t=e.ariaDescribedById,o=e.modalProps,r=e.dialogContentProps,i=e.subText,s=o&&o.subtitleAriaId||t;return s||(s=(r&&r.subText||i)&&n._defaultSubTextId),s},n._getTitleTextId=function(){var e=n.props,t=e.ariaLabelledById,o=e.modalProps,r=e.dialogContentProps,i=e.title,s=o&&o.titleAriaId||t;return s||(s=(r&&r.title||i)&&n._defaultTitleTextId),s},n._id=i.getId("Dialog"),n._defaultTitleTextId=n._id+"-title",n._defaultSubTextId=n._id+"-subText",n}return o.__extends(t,e),t.prototype.render=function(){var e,t,n,i,s=this.props,l=s.className,f=s.containerClassName,h=s.contentClassName,m=s.elementToFocusOnDismiss,g=s.firstFocusableSelector,v=s.forceFocusInsideTrap,_=s.styles,y=s.hidden,b=s.ignoreExternalFocusing,S=s.isBlocking,C=s.isClickableOutsideFocusTrap,x=s.isDarkOverlay,k=s.isOpen,w=s.onDismiss,P=s.onDismissed,E=s.onLayerDidMount,I=s.responsiveMode,T=s.subText,D=s.theme,M=s.title,O=s.topButtonsProps,R=s.type,N=s.minWidth,F=s.maxWidth,A=s.modalProps,B=o.__assign({},A?A.layerProps:{onLayerDidMount:E});E&&!B.onLayerDidMount&&(B.onLayerDidMount=E),A&&A.dragOptions&&!A.dragOptions.dragHandleSelector?(n="ms-Dialog-draggable-header",i=o.__assign(o.__assign({},A.dragOptions),{dragHandleSelector:"."+n})):i=A&&A.dragOptions;var L=o.__assign(o.__assign(o.__assign(o.__assign({},d),{className:l,containerClassName:f,isBlocking:S,isDarkOverlay:x,onDismissed:P}),A),{layerProps:B,dragOptions:i}),H=o.__assign(o.__assign(o.__assign({className:h,subText:T,title:M,topButtonsProps:O,type:R},p),this.props.dialogContentProps),{draggableHeaderClassName:n,titleProps:o.__assign({id:(null===(e=this.props.dialogContentProps)||void 0===e?void 0:e.titleId)||this._defaultTitleTextId},null===(t=this.props.dialogContentProps)||void 0===t?void 0:t.titleProps)}),z=c(_,{theme:D,className:L.className,containerClassName:L.containerClassName,hidden:y,dialogDefaultMinWidth:N,dialogDefaultMaxWidth:F});return r.createElement(a.Modal,o.__assign({elementToFocusOnDismiss:m,firstFocusableSelector:g,forceFocusInsideTrap:v,ignoreExternalFocusing:b,isClickableOutsideFocusTrap:C,onDismissed:L.onDismissed,responsiveMode:I},L,{isDarkOverlay:L.isDarkOverlay,isBlocking:L.isBlocking,isOpen:void 0!==k?k:!y,className:z.root,containerClassName:z.main,onDismiss:w||L.onDismiss,subtitleAriaId:this._getSubTextId(),titleAriaId:this._getTitleTextId()}),r.createElement(u.DialogContent,o.__assign({subTextId:this._defaultSubTextId,title:H.title,subText:H.subText,showCloseButton:L.isBlocking,topButtonsProps:H.topButtonsProps,type:H.type,onDismiss:w||H.onDismiss,className:H.className},H),this.props.children))},t.defaultProps={hidden:!0},t=o.__decorate([l.withResponsiveMode],t)}(r.Component);t.DialogBase=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(307),t);var o=n(307);t.default=o.Modal},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(741),t),o.__exportStar(n(308),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(105),a=n(309),l=n(138),c=n(37),u=n(218),d=n(38),p=n(215),f=n(230),h=n(745),m=n(6),g={eventBubblingEnabled:!1},v=i.classNamesFunction(),_=function(e){function t(t){var n=e.call(this,t)||this;n._focusTrapZone=r.createRef(),n._allowScrollOnModal=function(e){e?n._allowTouchBodyScroll?i.allowOverscrollOnElement(e,n._events):i.allowScrollOnElement(e,n._events):n._events.off(n._scrollableContent),n._scrollableContent=e},n._onModalContextMenuClose=function(){n.setState({isModalMenuOpen:!1})},n._onModalClose=function(){n._lastSetX=0,n._lastSetY=0,n.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1,isOpen:!1,x:0,y:0}),n.props.dragOptions&&n._hasRegisteredKeyUp&&n._events.off(window,"keyup",n._onKeyUp,!0),n.props.onDismissed&&n.props.onDismissed()},n._onDragStart=function(){n.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1})},n._onDrag=function(e,t){var o=n.state,r=o.x,i=o.y;n.setState({x:r+t.delta.x,y:i+t.delta.y})},n._onDragStop=function(){n.focus()},n._onKeyUp=function(e){e.altKey&&e.ctrlKey&&e.keyCode===i.KeyCodes.space&&i.elementContains(n._scrollableContent,e.target)&&(n.setState({isModalMenuOpen:!n.state.isModalMenuOpen}),e.preventDefault(),e.stopPropagation())},n._onKeyDown=function(e){if(e.altKey&&e.ctrlKey&&e.keyCode===i.KeyCodes.space)return e.preventDefault(),void e.stopPropagation();if(n.state.isModalMenuOpen&&(e.altKey||e.keyCode===i.KeyCodes.escape)&&n.setState({isModalMenuOpen:!1}),!n.state.isInKeyboardMoveMode||e.keyCode!==i.KeyCodes.escape&&e.keyCode!==i.KeyCodes.enter||(n.setState({isInKeyboardMoveMode:!1}),e.preventDefault(),e.stopPropagation()),n.state.isInKeyboardMoveMode){var t=!0,o=n._getMoveDelta(e);switch(e.keyCode){case i.KeyCodes.escape:n.setState({x:n._lastSetX,y:n._lastSetY});case i.KeyCodes.enter:n._lastSetX=0,n._lastSetY=0,n.setState({isInKeyboardMoveMode:!1});break;case i.KeyCodes.up:n.setState({y:n.state.y-o});break;case i.KeyCodes.down:n.setState({y:n.state.y+o});break;case i.KeyCodes.left:n.setState({x:n.state.x-o});break;case i.KeyCodes.right:n.setState({x:n.state.x+o});break;default:t=!1}t&&(e.preventDefault(),e.stopPropagation())}},n._onEnterKeyboardMoveMode=function(){n._lastSetX=n.state.x,n._lastSetY=n.state.y,n.setState({isInKeyboardMoveMode:!0,isModalMenuOpen:!1}),n._events.on(window,"keydown",n._onKeyDown,!0)},n._onExitKeyboardMoveMode=function(){n._lastSetX=0,n._lastSetY=0,n.setState({isInKeyboardMoveMode:!1}),n._events.off(window,"keydown",n._onKeyDown,!0)},n._registerForKeyUp=function(){n._hasRegisteredKeyUp||(n._events.on(window,"keyup",n._onKeyUp,!0),n._hasRegisteredKeyUp=!0)},n._async=new i.Async(n),n._events=new i.EventGroup(n),m.initializeComponentRef(n),i.warnDeprecations("Modal",t,{onLayerDidMount:"layerProps.onLayerDidMount"}),n.state={id:i.getId("Modal"),isOpen:t.isOpen,isVisible:t.isOpen,hasBeenOpened:t.isOpen,x:0,y:0},n._lastSetX=0,n._lastSetY=0;var o=n.props.allowTouchBodyScroll,s=void 0!==o&&o;return n._allowTouchBodyScroll=s,n}return o.__extends(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){if(clearTimeout(this._onModalCloseTimer),e.isOpen)if(this.state.isOpen){if(this.setState({hasBeenOpened:!0,isVisible:!0}),e.topOffsetFixed){var t=document.getElementsByClassName("ms-Dialog-main"),n=void 0;t.length>0&&(n=t[0].getBoundingClientRect(),this.setState({modalRectangleTop:n.top}))}}else this.setState({isOpen:!0}),e.dragOptions&&this._registerForKeyUp();!e.isOpen&&this.state.isOpen&&(this._onModalCloseTimer=this._async.setTimeout(this._onModalClose,1e3*parseFloat(a.animationDuration)),this.setState({isVisible:!1}))},t.prototype.componentDidMount=function(){this.state.isOpen&&this.state.isVisible&&this._registerForKeyUp()},t.prototype.componentDidUpdate=function(e,t){e.isOpen||t.isVisible||this.setState({isVisible:!0})},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this.props,t=e.className,n=e.containerClassName,i=e.scrollableContentClassName,a=e.elementToFocusOnDismiss,m=e.firstFocusableSelector,_=e.forceFocusInsideTrap,y=e.ignoreExternalFocusing,b=e.isBlocking,S=e.isClickableOutsideFocusTrap,C=e.isDarkOverlay,x=e.onDismiss,k=e.layerProps,w=e.overlay,P=e.responsiveMode,E=e.titleAriaId,I=e.styles,T=e.subtitleAriaId,D=e.theme,M=e.topOffsetFixed,O=e.onLayerDidMount,R=e.isModeless,N=e.dragOptions,F=e.enableAriaHiddenSiblings,A=this.state,B=A.isOpen,L=A.isVisible,H=A.hasBeenOpened,z=A.modalRectangleTop,j=A.x,W=A.y,V=A.isInKeyboardMoveMode;if(!B)return null;var K=void 0===k?"":k.className,U=v(I,{theme:D,className:t,containerClassName:n,scrollableContentClassName:i,isOpen:B,isVisible:L,hasBeenOpened:H,modalRectangleTop:z,topOffsetFixed:M,isModeless:R,layerClassName:K,isDefaultDragHandle:N&&!N.dragHandleSelector}),G=o.__assign(o.__assign(o.__assign({},g),this.props.layerProps),{onLayerDidMount:k&&k.onLayerDidMount?k.onLayerDidMount:O,insertFirst:R,className:U.layer}),Y=r.createElement(s.FocusTrapZone,{componentRef:this._focusTrapZone,className:U.main,elementToFocusOnDismiss:a,isClickableOutsideFocusTrap:R||S||!b,ignoreExternalFocusing:y,forceFocusInsideTrap:R?!R:_,firstFocusableSelector:m,focusPreviouslyFocusedInnerElement:!0,onBlur:V?this._onExitKeyboardMoveMode:void 0,enableAriaHiddenSiblings:F},N&&V&&r.createElement("div",{className:U.keyboardMoveIconContainer},N.keyboardMoveIconProps?r.createElement(f.Icon,o.__assign({},N.keyboardMoveIconProps)):r.createElement(f.Icon,{iconName:"move",className:U.keyboardMoveIcon})),r.createElement("div",{ref:this._allowScrollOnModal,className:U.scrollableContent,"data-is-scrollable":!0},N&&this.state.isModalMenuOpen&&r.createElement(N.menu,{items:[{key:"move",text:N.moveMenuItemText,onClick:this._onEnterKeyboardMoveMode},{key:"close",text:N.closeMenuItemText,onClick:this._onModalClose}],onDismiss:this._onModalContextMenuClose,alignTargetEdge:!0,coverTarget:!0,directionalHint:p.DirectionalHint.topLeftEdge,directionalHintFixed:!0,shouldFocusOnMount:!0,target:this._scrollableContent}),this.props.children));return P>=d.ResponsiveMode.small?r.createElement(c.Layer,o.__assign({},G),r.createElement(u.Popup,{role:R||!b?"dialog":"alertdialog","aria-modal":!R,ariaLabelledBy:E,ariaDescribedBy:T,onDismiss:x,shouldRestoreFocus:!y},r.createElement("div",{className:U.root},!R&&r.createElement(l.Overlay,o.__assign({isDarkThemed:C,onClick:b?void 0:x,allowTouchBodyScroll:this._allowTouchBodyScroll},w)),N?r.createElement(h.DraggableZone,{handleSelector:N.dragHandleSelector||"."+U.main.split(" ")[0],preventDragSelector:"button",onStart:this._onDragStart,onDragChange:this._onDrag,onStop:this._onDragStop,position:{x:j,y:W}},Y):Y))):null},t.prototype.focus=function(){this._focusTrapZone.current&&this._focusTrapZone.current.focus()},t.prototype._getMoveDelta=function(e){var t=10;return e.shiftKey?e.ctrlKey||(t=50):e.ctrlKey&&(t=1),t},t.defaultProps={isOpen:!1,isDarkOverlay:!0,isBlocking:!1,className:"",containerClassName:""},t=o.__decorate([d.withResponsiveMode],t)}(r.Component);t.ModalBase=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.animationDuration=o.AnimationVariables.durationValue2;var r={root:"ms-Modal",main:"ms-Dialog-main",scrollableContent:"ms-Modal-scrollableContent",isOpen:"is-open",layer:"ms-Modal-Layer"};t.getStyles=function(e){var n,i=e.className,s=e.containerClassName,a=e.scrollableContentClassName,l=e.isOpen,c=e.isVisible,u=e.hasBeenOpened,d=e.modalRectangleTop,p=e.theme,f=e.topOffsetFixed,h=e.isModeless,m=e.layerClassName,g=e.isDefaultDragHandle,v=p.palette,_=p.effects,y=p.fonts,b=o.getGlobalClassNames(r,p);return{root:[b.root,y.medium,{backgroundColor:"transparent",position:h?"absolute":"fixed",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,pointerEvents:"none",transition:"opacity "+t.animationDuration},f&&u&&{alignItems:"flex-start"},l&&b.isOpen,c&&{opacity:1,pointerEvents:"auto"},i],main:[b.main,{boxShadow:_.elevation64,borderRadius:_.roundedCorner2,backgroundColor:v.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:h?o.ZIndexes.Layer:void 0},f&&u&&{top:d},g&&{cursor:"move"},s],scrollableContent:[b.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:(n={},n["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:window.innerHeight},n)},a],layer:h&&[m,b.layer,{position:"static",width:"unset",height:"unset"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:y.xLargePlus.fontSize,width:"24px"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=i.classNamesFunction(),a=function(e){function t(t){var n=e.call(this,t)||this;i.initializeComponentRef(n);var o=n.props.allowTouchBodyScroll,r=void 0!==o&&o;return n._allowTouchBodyScroll=r,n}return o.__extends(t,e),t.prototype.componentDidMount=function(){!this._allowTouchBodyScroll&&i.disableBodyScroll()},t.prototype.componentWillUnmount=function(){!this._allowTouchBodyScroll&&i.enableBodyScroll()},t.prototype.render=function(){var e=this.props,t=e.isDarkThemed,n=e.className,a=e.theme,l=e.styles,c=i.getNativeProps(this.props,i.divProperties),u=s(l,{theme:a,className:n,isDark:t});return r.createElement("div",o.__assign({},c,{className:u.root}))},t}(r.Component);t.OverlayBase=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(3);t.getClassNames=o.memoizeFunction((function(e,t){return{root:r.mergeStyles(e,t&&{touchAction:"none",selectors:{"& *":{userSelect:"none"}}})}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(313),i=n(748);t.DialogContent=o.styled(r.DialogContentBase,i.getStyles,void 0,{scope:"DialogContent"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(137),a=n(9),l=n(314),c=n(38),u=i.classNamesFunction(),d=r.createElement(l.DialogFooter,null).type,p=function(e){function t(t){var n=e.call(this,t)||this;return i.initializeComponentRef(n),i.warnDeprecations("DialogContent",t,{titleId:"titleProps.id"}),n}return o.__extends(t,e),t.prototype.render=function(){var e,t=this.props,n=t.showCloseButton,l=t.className,c=t.closeButtonAriaLabel,d=t.onDismiss,p=t.subTextId,f=t.subText,h=t.titleProps,m=void 0===h?{}:h,g=t.titleId,v=t.title,_=t.type,y=t.styles,b=t.theme,S=t.draggableHeaderClassName,C=u(y,{theme:b,className:l,isLargeHeader:_===s.DialogType.largeHeader,isClose:_===s.DialogType.close,draggableHeaderClassName:S}),x=this._groupChildren();return f&&(e=r.createElement("p",{className:C.subText,id:p},f)),r.createElement("div",{className:C.content},r.createElement("div",{className:C.header},r.createElement("div",o.__assign({id:g,role:"heading","aria-level":1},m,{className:i.css(C.title,m.className)}),v),r.createElement("div",{className:C.topButton},this.props.topButtonsProps.map((function(e,t){return r.createElement(a.IconButton,o.__assign({key:e.uniqueId||t},e))})),(_===s.DialogType.close||n&&_!==s.DialogType.largeHeader)&&r.createElement(a.IconButton,{className:C.button,iconProps:{iconName:"Cancel"},ariaLabel:c,onClick:d,title:c}))),r.createElement("div",{className:C.inner},r.createElement("div",{className:C.innerContent},e,x.contents),x.footers))},t.prototype._groupChildren=function(){var e={footers:[],contents:[]};return r.Children.map(this.props.children,(function(t){"object"==typeof t&&null!==t&&t.type===d?e.footers.push(t):e.contents.push(t)})),e},t.defaultProps={showCloseButton:!1,className:"",topButtonsProps:[],closeButtonAriaLabel:"Close"},t=o.__decorate([c.withResponsiveMode],t)}(r.Component);t.DialogContentBase=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(315),i=n(747);t.DialogFooter=o.styled(r.DialogFooterBase,i.getStyles,void 0,{scope:"DialogFooter"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=i.classNamesFunction(),a=function(e){function t(t){var n=e.call(this,t)||this;return i.initializeComponentRef(n),n}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.styles,o=e.theme;return this._classNames=s(n,{theme:o,className:t}),r.createElement("div",{className:this._classNames.actions},r.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))},t.prototype._renderChildrenAsActions=function(){var e=this;return r.Children.map(this.props.children,(function(t){return t?r.createElement("span",{className:e._classNames.action},t):null}))},t}(r.Component);t.DialogFooterBase=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.normal=0]="normal",e[e.compact=1]="compact"}(t.DocumentCardType||(t.DocumentCardType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=n(2);t.DocumentCardPreviewGlobalClassNames={root:"ms-DocumentCardPreview",icon:"ms-DocumentCardPreview-icon",iconContainer:"ms-DocumentCardPreview-iconContainer"},t.getStyles=function(e){var n,i,s=e.theme,a=e.className,l=e.isFileList,c=s.palette,u=s.fonts,d=o.getGlobalClassNames(t.DocumentCardPreviewGlobalClassNames,s);return{root:[d.root,u.small,{backgroundColor:l?c.white:c.neutralLighterAlt,borderBottom:"1px solid "+c.neutralLight,overflow:"hidden",position:"relative"},a],previewIcon:[d.iconContainer,{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}],icon:[d.icon,{left:"10px",bottom:"10px",position:"absolute"}],fileList:{padding:"16px 16px 0 16px",listStyleType:"none",margin:0,selectors:{li:{height:"16px",lineHeight:"16px",marginBottom:"8px",overflow:"hidden"}}},fileListIcon:{display:"inline-block",marginRight:"8px"},fileListLink:[o.getFocusStyle(s,{highContrastStyle:{border:"1px solid WindowText",outline:"none"}}),{boxSizing:"border-box",color:c.neutralDark,overflow:"hidden",display:"inline-block",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"calc(100% - 24px)",selectors:(n={":hover":{color:c.themePrimary}},n["."+r.IsFocusVisibleClassName+" &:focus"]={selectors:(i={},i[o.HighContrastSelector]={outline:"none"},i)},n)}],fileListOverflowText:{padding:"0px 16px 8px 16px",display:"block"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.DocumentCardActivityGlobalClassNames={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"},t.getStyles=function(e){var n=e.theme,r=e.className,i=e.multiplePeople,s=n.palette,a=n.fonts,l=o.getGlobalClassNames(t.DocumentCardActivityGlobalClassNames,n);return{root:[l.root,i&&l.multiplePeople,{padding:"8px 16px",position:"relative"},r],avatars:[l.avatars,{marginLeft:"-2px",height:"32px"}],avatar:[l.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 "+s.white,borderRadius:"50%"},":nth-of-type(2)":i&&{marginLeft:"-16px"}}}],details:[l.details,{left:i?"72px":"56px",height:32,position:"absolute",top:8,width:"calc(100% - 72px)"}],name:[l.name,{display:"block",fontSize:a.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:s.neutralPrimary,fontWeight:o.FontWeights.semibold}],activity:[l.activity,{display:"block",fontSize:a.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:s.neutralSecondary}]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.DocumentCardTitleGlobalClassNames={root:"ms-DocumentCardTitle"},t.getStyles=function(e){var n=e.theme,r=e.className,i=e.showAsSecondaryTitle,s=n.palette,a=n.fonts;return{root:[o.getGlobalClassNames(t.DocumentCardTitleGlobalClassNames,n).root,i?a.medium:a.large,{padding:"8px 16px",display:"block",overflow:"hidden",wordWrap:"break-word",height:i?"45px":"38px",lineHeight:i?"18px":"21px",color:i?s.neutralSecondary:s.neutralPrimary},r]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.DocumentCardLocationGlobalClassNames={root:"ms-DocumentCardLocation"},t.getStyles=function(e){var n=e.theme,r=e.className,i=n.palette,s=n.fonts;return{root:[o.getGlobalClassNames(t.DocumentCardLocationGlobalClassNames,n).root,s.small,{color:i.themePrimary,display:"block",fontWeight:o.FontWeights.semibold,overflow:"hidden",padding:"8px 16px",position:"relative",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",selectors:{":hover":{color:i.themePrimary,cursor:"pointer"}}},r]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(21),a=n(116),l=n(9),c=n(14),u=n(140),d=n(781),p=n(12),f=n(5),h=n(31),m=n(22),g=n(322),v=n(38),_=n(130),y=i.classNamesFunction(),b=function(e){function t(t){var n=e.call(this,t)||this;n._host=r.createRef(),n._focusZone=r.createRef(),n._dropDown=r.createRef(),n._scrollIdleDelay=250,n._sizePosCache=new d.DropdownSizePosCache,n._requestAnimationFrame=i.safeRequestAnimationFrame(n),n._onChange=function(e,t,r,i,s){var a=n.props,l=a.onChange,c=a.onChanged;if(l||c){var u=s?o.__assign(o.__assign({},t[r]),{selected:!i}):t[r];l&&l(o.__assign(o.__assign({},e),{target:n._dropDown.current}),u,r),c&&c(u,r)}},n._onRenderTitle=function(e){var t=n.props.multiSelectDelimiter,o=void 0===t?", ":t,i=e.map((function(e){return e.text})).join(o);return r.createElement(r.Fragment,null,i)},n._onRenderPlaceholder=function(e){return n._placeholder?r.createElement(r.Fragment,null,n._placeholder):null},n._onRenderContainer=function(e){var t=e.calloutProps,i=e.panelProps,a=n.props,l=a.responsiveMode,u=a.dropdownWidth,d=l<=v.ResponsiveMode.medium,p=n._classNames.subComponentStyles?n._classNames.subComponentStyles.panel:void 0;return d?r.createElement(g.Panel,o.__assign({isOpen:!0,isLightDismiss:!0,onDismiss:n._onDismiss,hasCloseButton:!1,styles:p},i),n._renderFocusableList(e)):r.createElement(s.Callout,o.__assign({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:c.DirectionalHint.bottomLeftEdge},t,{className:n._classNames.callout,target:n._dropDown.current,onDismiss:n._onDismiss,onScroll:n._onScroll,onPositioned:n._onPositioned,calloutWidth:u||(n._dropDown.current?n._dropDown.current.clientWidth:0)}),n._renderFocusableList(e))},n._onRenderCaretDown=function(e){return r.createElement(f.Icon,{className:n._classNames.caretDown,iconName:"ChevronDown","aria-hidden":!0})},n._onRenderList=function(e){var t=e.onRenderItem,i=void 0===t?n._onRenderItem:t,s={items:[]},a=[],l=function(){var e=s.id?[r.createElement("div",{role:"group",key:s.id,"aria-labelledby":s.id},s.items)]:s.items;a=o.__spreadArrays(a,e),s={items:[]}};return e.options.forEach((function(e,t){!function(e,t){switch(e.itemType){case _.SelectableOptionMenuItemType.Header:s.items.length>0&&l();var r=n._id+e.key;s.items.push(i(o.__assign(o.__assign({id:r},e),{index:t}),n._onRenderItem)),s.id=r;break;case _.SelectableOptionMenuItemType.Divider:t>0&&s.items.push(i(o.__assign(o.__assign({},e),{index:t}),n._onRenderItem)),s.items.length>0&&l();break;default:s.items.push(i(o.__assign(o.__assign({},e),{index:t}),n._onRenderItem))}}(e,t)})),s.items.length>0&&l(),r.createElement(r.Fragment,null,a)},n._onRenderItem=function(e){switch(e.itemType){case _.SelectableOptionMenuItemType.Divider:return n._renderSeparator(e);case _.SelectableOptionMenuItemType.Header:return n._renderHeader(e);default:return n._renderOption(e)}},n._renderOption=function(e){var t=n.props.onRenderOption,o=void 0===t?n._onRenderOption:t,i=n.state.selectedIndices,s=void 0===i?[]:i,c=!(void 0===e.index||!s)&&s.indexOf(e.index)>-1,u=e.hidden?n._classNames.dropdownItemHidden:c&&!0===e.disabled?n._classNames.dropdownItemSelectedAndDisabled:c?n._classNames.dropdownItemSelected:!0===e.disabled?n._classNames.dropdownItemDisabled:n._classNames.dropdownItem,d=e.title,p=void 0===d?e.text:d,f=n._classNames.subComponentStyles?n._classNames.subComponentStyles.multiSelectItem:void 0;return n.props.multiSelect?r.createElement(a.Checkbox,{id:n._listId+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,onChange:n._onItemClick(e),inputProps:{onMouseEnter:n._onItemMouseEnter.bind(n,e),onMouseLeave:n._onMouseItemLeave.bind(n,e),onMouseMove:n._onItemMouseMove.bind(n,e)},label:e.text,title:p,onRenderLabel:n._onRenderItemLabel.bind(n,e),className:u,role:"option","aria-selected":c?"true":"false",checked:c,styles:f,ariaPositionInSet:n._sizePosCache.positionInSet(e.index),ariaSetSize:n._sizePosCache.optionSetSize}):r.createElement(l.CommandButton,{id:n._listId+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:u,onClick:n._onItemClick(e),onMouseEnter:n._onItemMouseEnter.bind(n,e),onMouseLeave:n._onMouseItemLeave.bind(n,e),onMouseMove:n._onItemMouseMove.bind(n,e),role:"option","aria-selected":c?"true":"false",ariaLabel:e.ariaLabel,title:p,"aria-posinset":n._sizePosCache.positionInSet(e.index),"aria-setsize":n._sizePosCache.optionSetSize},o(e,n._onRenderOption))},n._onRenderOption=function(e){return r.createElement("span",{className:n._classNames.dropdownOptionText},e.text)},n._onRenderItemLabel=function(e){var t=n.props.onRenderOption;return(void 0===t?n._onRenderOption:t)(e,n._onRenderOption)},n._onPositioned=function(e){n._focusZone.current&&n._requestAnimationFrame((function(){var e=n.state.selectedIndices;if(n._focusZone.current)if(e&&e[0]&&!n.props.options[e[0]].disabled){var t=i.getDocument().getElementById(n._id+"-list"+e[0]);t&&n._focusZone.current.focusElement(t)}else n._focusZone.current.focus()})),n.state.calloutRenderEdge&&n.state.calloutRenderEdge===e.targetEdge||n.setState({calloutRenderEdge:e.targetEdge})},n._onItemClick=function(e){return function(t){e.disabled||(n.setSelectedIndex(t,e.index),n.props.multiSelect||n.setState({isOpen:!1}))}},n._onScroll=function(){n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),n._scrollIdleTimeoutId=setTimeout((function(){n._isScrollIdle=!0}),n._scrollIdleDelay)},n._onMouseItemLeave=function(e,t){if(!n._shouldIgnoreMouseEvent()&&n._host.current)if(n._host.current.setActive)try{n._host.current.setActive()}catch(e){}else n._host.current.focus()},n._onDismiss=function(){n.setState({isOpen:!1})},n._onDropdownBlur=function(e){n._isDisabled()||(n.setState({hasFocus:!1}),n.state.isOpen||n.props.onBlur&&n.props.onBlur(e))},n._onDropdownKeyDown=function(e){if(!n._isDisabled()&&(n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e),!n.props.onKeyDown||(n.props.onKeyDown(e),!e.defaultPrevented))){var t,o=n.state.selectedIndices.length?n.state.selectedIndices[0]:-1,r=e.altKey||e.metaKey,s=n.state.isOpen;switch(e.which){case i.KeyCodes.enter:n.setState({isOpen:!s});break;case i.KeyCodes.escape:if(!s)return;n.setState({isOpen:!1});break;case i.KeyCodes.up:if(r){if(s){n.setState({isOpen:!1});break}return}n.props.multiSelect?n.setState({isOpen:!0}):n._isDisabled()||(t=n._moveIndex(e,-1,o-1,o));break;case i.KeyCodes.down:r&&(e.stopPropagation(),e.preventDefault()),r&&!s||n.props.multiSelect?n.setState({isOpen:!0}):n._isDisabled()||(t=n._moveIndex(e,1,o+1,o));break;case i.KeyCodes.home:n.props.multiSelect||(t=n._moveIndex(e,1,0,o));break;case i.KeyCodes.end:n.props.multiSelect||(t=n._moveIndex(e,-1,n.props.options.length-1,o));break;case i.KeyCodes.space:break;default:return}t!==o&&(e.stopPropagation(),e.preventDefault())}},n._onDropdownKeyUp=function(e){if(!n._isDisabled()){var t=n._shouldHandleKeyUp(e),o=n.state.isOpen;if(!n.props.onKeyUp||(n.props.onKeyUp(e),!e.defaultPrevented)){switch(e.which){case i.KeyCodes.space:n.setState({isOpen:!o});break;default:return void(t&&o&&n.setState({isOpen:!1}))}e.stopPropagation(),e.preventDefault()}}},n._onZoneKeyDown=function(e){var t;n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e);var o=e.altKey||e.metaKey;switch(e.which){case i.KeyCodes.up:o?n.setState({isOpen:!1}):n._host.current&&(t=i.getLastFocusable(n._host.current,n._host.current.lastChild,!0));break;case i.KeyCodes.home:case i.KeyCodes.end:case i.KeyCodes.pageUp:case i.KeyCodes.pageDown:break;case i.KeyCodes.down:!o&&n._host.current&&(t=i.getFirstFocusable(n._host.current,n._host.current.firstChild,!0));break;case i.KeyCodes.escape:n.setState({isOpen:!1});break;case i.KeyCodes.tab:return void n.setState({isOpen:!1});default:return}t&&t.focus(),e.stopPropagation(),e.preventDefault()},n._onZoneKeyUp=function(e){n._shouldHandleKeyUp(e)&&n.state.isOpen&&(n.setState({isOpen:!1}),e.preventDefault())},n._onDropdownClick=function(e){if(!n.props.onClick||(n.props.onClick(e),!e.defaultPrevented)){var t=n.state.isOpen;n._isDisabled()||n._shouldOpenOnFocus()||n.setState({isOpen:!t}),n._isFocusedByClick=!1}},n._onDropdownMouseDown=function(){n._isFocusedByClick=!0},n._onFocus=function(e){var t=n.state,o=t.isOpen,r=t.selectedIndices,i=n.props.multiSelect;if(!n._isDisabled()){n._isFocusedByClick||o||0!==r.length||i||n._moveIndex(e,1,0,-1),n.props.onFocus&&n.props.onFocus(e);var s={hasFocus:!0};n._shouldOpenOnFocus()&&(s.isOpen=!0),n.setState(s)}},n._isDisabled=function(){var e=n.props.disabled,t=n.props.isDisabled;return void 0===e&&(e=t),e},n._onRenderLabel=function(e){var t=e.label,o=e.required,i=e.disabled,s=n._classNames.subComponentStyles?n._classNames.subComponentStyles.label:void 0;return t?r.createElement(h.Label,{className:n._classNames.label,id:n._labelId,required:o,styles:s,disabled:i},t):null},i.initializeComponentRef(n);var u,p=t.multiSelect,m=t.selectedKey,y=t.selectedKeys,b=t.defaultSelectedKey,S=t.defaultSelectedKeys,C=t.options;return n._id=t.id||i.getId("Dropdown"),n._labelId=n._id+"-label",n._listId=n._id+"-list",n._optionId=n._id+"-option",n._isScrollIdle=!0,u=p?n._getSelectedIndexes(C,void 0!==S?S:y):n._getSelectedIndexes(C,void 0!==b?b:m),n._sizePosCache.updateOptions(C),n.state={isOpen:!1,selectedIndices:u,hasFocus:!1,calloutRenderEdge:void 0},n}return o.__extends(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props.options,t=this.state.selectedIndices;return _.getAllSelectedOptions(e,t)},enumerable:!0,configurable:!0}),t.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t,n=e.options!==this.props.options;void 0===e[t=e.multiSelect?n&&void 0!==e.defaultSelectedKeys?"defaultSelectedKeys":"selectedKeys":n&&void 0!==e.defaultSelectedKey?"defaultSelectedKey":"selectedKey"]||e[t]===this.props[t]&&!n||this.setState({selectedIndices:this._getSelectedIndexes(e.options,e[t])}),e.options!==this.props.options&&this._sizePosCache.updateOptions(e.options)},t.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this.props.onDismiss&&this.props.onDismiss())},t.prototype.render=function(){var e=this,t=this._id,n=this.props,s=n.className,a=n.label,l=n.options,c=n.ariaLabel,u=n.required,d=n.errorMessage,p=n.keytipProps,f=n.styles,h=n.theme,g=n.panelProps,v=n.calloutProps,b=n.multiSelect,S=n.onRenderTitle,C=void 0===S?this._onRenderTitle:S,x=n.onRenderContainer,k=void 0===x?this._onRenderContainer:x,w=n.onRenderCaretDown,P=void 0===w?this._onRenderCaretDown:w,E=n.onRenderLabel,I=void 0===E?this._onRenderLabel:E,T=this.state,D=T.isOpen,M=T.selectedIndices,O=T.calloutRenderEdge,R=n.onRenderPlaceholder||n.onRenderPlaceHolder||this._onRenderPlaceholder,N=_.getAllSelectedOptions(l,M),F=i.getNativeProps(n,i.divProperties),A=this._isDisabled(),B=t+"-errorMessage",L=A?void 0:D&&1===M.length&&M[0]>=0?this._listId+M[0]:void 0,H=b?{role:"button"}:{role:"listbox",childRole:"option",ariaSetSize:this._sizePosCache.optionSetSize,ariaPosInSet:this._sizePosCache.positionInSet(M[0]),ariaSelected:void 0!==M[0]||void 0};this._classNames=y(f,{theme:h,className:s,hasError:!!(d&&d.length>0),hasLabel:!!a,isOpen:D,required:u,disabled:A,isRenderingPlaceholder:!N.length,panelClassName:g?g.className:void 0,calloutClassName:v?v.className:void 0,calloutRenderEdge:O});var z=!!d&&d.length>0;return r.createElement("div",{className:this._classNames.root},I(this.props,this._onRenderLabel),r.createElement(m.KeytipData,{keytipProps:p,disabled:A},(function(s){return r.createElement("div",o.__assign({},s,{"data-is-focusable":!A,ref:e._dropDown,id:t,tabIndex:A?-1:0,role:H.role,"aria-haspopup":"listbox","aria-expanded":D?"true":"false","aria-label":c,"aria-labelledby":a&&!c?i.mergeAriaAttributeValues(e._labelId,e._optionId):void 0,"aria-describedby":i.mergeAriaAttributeValues(s["aria-describedby"],z?e._id+"-errorMessage":void 0),"aria-activedescendant":L,"aria-required":u,"aria-disabled":A,"aria-owns":D?e._listId:void 0},F,{className:e._classNames.dropdown,onBlur:e._onDropdownBlur,onKeyDown:e._onDropdownKeyDown,onKeyUp:e._onDropdownKeyUp,onClick:e._onDropdownClick,onMouseDown:e._onDropdownMouseDown,onFocus:e._onFocus}),r.createElement("span",{id:e._optionId,className:e._classNames.title,"aria-live":"polite","aria-atomic":!0,"aria-invalid":z,role:H.childRole,"aria-setsize":H.ariaSetSize,"aria-posinset":H.ariaPosInSet,"aria-selected":H.ariaSelected},N.length?C(N,e._onRenderTitle):R(n,e._onRenderPlaceholder)),r.createElement("span",{className:e._classNames.caretDownWrapper},P(n,e._onRenderCaretDown)))})),D&&k(o.__assign(o.__assign({},n),{onDismiss:this._onDismiss}),this._onRenderContainer),z&&r.createElement("div",{role:"alert",id:B,className:this._classNames.errorMessage},d))},t.prototype.focus=function(e){this._dropDown.current&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},t.prototype.setSelectedIndex=function(e,t){var n=this,o=this.props,r=o.options,i=o.selectedKey,s=o.selectedKeys,a=o.multiSelect,l=o.notifyOnReselect,c=this.state.selectedIndices,u=void 0===c?[]:c,d=!!u&&u.indexOf(t)>-1,p=[];if(t=Math.max(0,Math.min(r.length-1,t)),void 0===i&&void 0===s){if(a||l||t!==u[0]){if(a)if(p=u?this._copyArray(u):[],d){var f=p.indexOf(t);f>-1&&p.splice(f,1)}else p.push(t);else p=[t];e.persist(),this.setState({selectedIndices:p},(function(){n._onChange(e,r,t,d,a)}))}}else this._onChange(e,r,t,d,a)},Object.defineProperty(t.prototype,"_placeholder",{get:function(){return this.props.placeholder||this.props.placeHolder},enumerable:!0,configurable:!0}),t.prototype._copyArray=function(e){for(var t=[],n=0,o=e;n=r.length?n=0:n<0&&(n=r.length-1);for(var i=0;r[n].itemType===u.DropdownMenuItemType.Header||r[n].itemType===u.DropdownMenuItemType.Divider||r[n].disabled;){if(i>=r.length)return o;n+t<0?n=r.length:n+t>=r.length&&(n=-1),n+=t,i++}return this.setSelectedIndex(e,n),n},t.prototype._renderFocusableList=function(e){var t=e.onRenderList,n=void 0===t?this._onRenderList:t,o=e.label,i=e.ariaLabel,s=e.multiSelect;return r.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},r.createElement(p.FocusZone,{ref:this._focusZone,direction:p.FocusZoneDirection.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":i,"aria-labelledby":o&&!i?this._labelId:void 0,"aria-multiselectable":s},n(e,this._onRenderList)))},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t>0?r.createElement("div",{role:"separator",key:n,className:this._classNames.dropdownDivider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOption:t,o=e.key,i=e.id;return r.createElement("div",{id:i,key:o,className:this._classNames.dropdownItemHeader},n(e,this._onRenderOption))},t.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},t.prototype._onItemMouseMove=function(e,t){var n=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&document.activeElement!==n&&n.focus()},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._getSelectedIndexes=function(e,t){if(void 0===t)return this.props.multiSelect?this._getAllSelectedIndices(e):-1!==(i=this._getSelectedIndex(e,null))?[i]:[];if(!Array.isArray(t))return-1!==(i=this._getSelectedIndex(e,t))?[i]:[];for(var n=[],o=0,r=t;o0,p=d?i:i.slice(0,u),f=(d?s:i.slice(u))||[];return r.createElement("div",{className:c.root},this.onRenderAriaDescription(),r.createElement("div",{className:c.itemContainer},a?this._getAddNewElement():null,r.createElement("ul",{className:c.members,"aria-label":l},this._onRenderVisiblePersonas(p,0===f.length&&1===i.length)),e?this._getOverflowElement(f):null))},t.prototype.onRenderAriaDescription=function(){var e=this.props.ariaDescription,t=this._classNames;return e&&r.createElement("span",{className:t.screenReaderOnly,id:this._ariaDescriptionId},e)},t.prototype._onRenderVisiblePersonas=function(e,t){var n=this,o=this.props,i=o.onRenderPersona,s=void 0===i?this._getPersonaControl:i,a=o.onRenderPersonaCoin,l=void 0===a?this._getPersonaCoinControl:a;return e.map((function(e,o){var i=t?s(e,n._getPersonaControl):l(e,n._getPersonaCoinControl);return r.createElement("li",{key:(t?"persona":"personaCoin")+"-"+o,className:n._classNames.member},e.onClick?n._getElementWithOnClickEvent(i,e,o):n._getElementWithoutOnClickEvent(i,e,o))}))},t.prototype._getElementWithOnClickEvent=function(e,t,n){var s=t.keytipProps;return r.createElement(a.FacepileButton,o.__assign({},i.getNativeProps(t,i.buttonProperties),this._getElementProps(t,n),{keytipProps:s,onClick:this._onPersonaClick.bind(this,t)}),e)},t.prototype._getElementWithoutOnClickEvent=function(e,t,n){return r.createElement("div",o.__assign({},i.getNativeProps(t,i.buttonProperties),this._getElementProps(t,n)),e)},t.prototype._getElementProps=function(e,t){var n=this._classNames;return{key:(e.imageUrl?"i":"")+t,"data-is-focusable":!0,className:n.itemButton,title:e.personaName,onMouseMove:this._onPersonaMouseMove.bind(this,e),onMouseOut:this._onPersonaMouseOut.bind(this,e)}},t.prototype._getOverflowElement=function(e){switch(this.props.overflowButtonType){case s.OverflowButtonType.descriptive:return this._getDescriptiveOverflowElement(e);case s.OverflowButtonType.downArrow:return this._getIconElement("ChevronDown");case s.OverflowButtonType.more:return this._getIconElement("More");default:return null}},t.prototype._getDescriptiveOverflowElement=function(e){var t=this.props.personaSize;if(!e||e.length<1)return null;var n=e.map((function(e){return e.personaName})).join(", "),i=o.__assign({title:n},this.props.overflowButtonProps),s=Math.max(e.length,0),l=this._classNames;return r.createElement(a.FacepileButton,o.__assign({},i,{ariaDescription:i.title,className:l.descriptiveOverflowButton}),r.createElement(u.PersonaCoin,{size:t,onRenderInitials:this._renderInitialsNotPictured(s),initialsColor:u.PersonaInitialsColor.transparent}))},t.prototype._getIconElement=function(e){var t=this.props,n=t.overflowButtonProps,i=t.personaSize,s=this._classNames;return r.createElement(a.FacepileButton,o.__assign({},n,{className:s.overflowButton}),r.createElement(u.PersonaCoin,{size:i,onRenderInitials:this._renderInitials(e,!0),initialsColor:u.PersonaInitialsColor.transparent}))},t.prototype._getAddNewElement=function(){var e=this.props,t=e.addButtonProps,n=e.personaSize,i=this._classNames;return r.createElement(a.FacepileButton,o.__assign({},t,{className:i.addButton}),r.createElement(u.PersonaCoin,{size:n,onRenderInitials:this._renderInitials("AddFriend")}))},t.prototype._onPersonaClick=function(e,t){e.onClick(t,e),t.preventDefault(),t.stopPropagation()},t.prototype._onPersonaMouseMove=function(e,t){e.onMouseMove&&e.onMouseMove(t,e)},t.prototype._onPersonaMouseOut=function(e,t){e.onMouseOut&&e.onMouseOut(t,e)},t.prototype._renderInitials=function(e,t){var n=this._classNames;return function(){return r.createElement(l.Icon,{iconName:e,className:t?n.overflowInitialsIcon:""})}},t.prototype._renderInitialsNotPictured=function(e){var t=this._classNames;return function(){return r.createElement("span",{className:t.overflowInitialsIcon},e<100?"+"+e:"99+")}},t.defaultProps={maxDisplayablePersonas:5,personas:[],overflowPersonas:[],personaSize:u.PersonaSize.size32},t}(r.Component);t.FacepileBase=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(800),s=n(2),a=n(21),l=n(327),c=i,u=function(e){function t(t){var n=e.call(this,t)||this;return n.root=r.createRef(),n.suggestionsControl=r.createRef(),n.SuggestionsControlOfProperType=l.SuggestionsControl,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 s.KeyCodes.escape:n.hidePicker(),e.preventDefault(),e.stopPropagation();break;case s.KeyCodes.tab:case s.KeyCodes.enter:!e.shiftKey&&!e.ctrlKey&&n.suggestionsControl.current&&n.suggestionsControl.current.handleKeyDown(t)?(e.preventDefault(),e.stopPropagation()):n._onValidateInput();break;case s.KeyCodes.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 s.KeyCodes.up:case s.KeyCodes.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 s.Async(n),s.initializeComponentRef(n),n.suggestionStore=t.suggestionsStore,n.state={queryString:"",didBind:!1},n}return o.__extends(t,e),Object.defineProperty(t.prototype,"inputText",{get:function(){return this.state.queryString},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"suggestions",{get:function(){return this.suggestionStore.suggestions},enumerable:!0,configurable:!0}),t.prototype.forceResolveSuggestion=function(){this.suggestionsControl.current&&this.suggestionsControl.current.hasSuggestionSelected()?this.completeSuggestion():this._onValidateInput()},Object.defineProperty(t.prototype,"currentSelectedSuggestionIndex",{get:function(){return this.suggestionsControl.current?this.suggestionsControl.current.currentSuggestionIndex:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isSuggestionsShown",{get:function(){return void 0!==this.state.suggestionsVisible&&this.state.suggestionsVisible},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){this._bindToInputElement(),this.isComponentMounted=!0,this._onResolveSuggestions=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},t.prototype.componentDidUpdate=function(){this._bindToInputElement()},t.prototype.componentWillUnmount=function(){this._unbindFromInputElement(),this.isComponentMounted=!1},t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.suggestionItems&&this.updateSuggestions(e.suggestionItems)},t.prototype.updateSuggestions=function(e,t){void 0===t&&(t=!1),this.suggestionStore.updateSuggestions(e),t&&this.forceUpdate()},t.prototype.render=function(){var e=this.props.className;return r.createElement("div",{ref:this.root,className:s.css("ms-BasePicker ms-BaseFloatingPicker",e||"")},this.renderSuggestions())},t.prototype.renderSuggestions=function(){var e=this.SuggestionsControlOfProperType;return this.state.suggestionsVisible?r.createElement(a.Callout,o.__assign({className:c.callout,isBeakVisible:!1,gapSpace:5,target:this.props.inputElement,onDismiss:this.hidePicker,directionalHint:a.DirectionalHint.bottomLeftEdge,directionalHintForRTL:a.DirectionalHint.bottomRightEdge,calloutWidth:this.props.calloutWidth?this.props.calloutWidth:0},this.props.pickerCalloutProps),r.createElement(e,o.__assign({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},t.prototype.onSelectionChange=function(){this.forceUpdate()},t.prototype.updateValue=function(e){""===e?this.updateSuggestionWithZeroState():this._onResolveSuggestions(e)},t.prototype.updateSuggestionWithZeroState=function(){if(this.props.onZeroQuerySuggestion){var e=(0,this.props.onZeroQuerySuggestion)(this.props.selectedItems);this.updateSuggestionsList(e)}else this.hidePicker()},t.prototype.updateSuggestionsList=function(e){var t=this,n=e,o=e;if(Array.isArray(n))this.updateSuggestions(n,!0);else if(o&&o.then){var r=this.currentPromise=o;r.then((function(e){r===t.currentPromise&&t.isComponentMounted&&t.updateSuggestions(e,!0)}))}},t.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},t.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)}},t.prototype._onResolveSuggestions=function(e){var t=this.props.onResolveSuggestions(e,this.props.selectedItems);this._updateSuggestionsVisible(!0),null!==t&&this.updateSuggestionsList(t)},t.prototype._updateSuggestionsVisible=function(e){e?this.showPicker():this.hidePicker()},t.prototype._bindToInputElement=function(){this.props.inputElement&&!this.state.didBind&&(this.props.inputElement.addEventListener("keydown",this.onKeyDown),this.setState({didBind:!0}))},t.prototype._unbindFromInputElement=function(){this.props.inputElement&&this.state.didBind&&(this.props.inputElement.removeEventListener("keydown",this.onKeyDown),this.setState({didBind:!1}))},t}(r.Component);t.BaseFloatingPicker=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(1),i=n(0),s=n(2),a=n(328),l=n(812),c=n(3),u=l;!function(e){e[e.header=0]="header",e[e.suggestion=1]="suggestion",e[e.footer=2]="footer"}(o=t.SuggestionItemType||(t.SuggestionItemType={}));var d=function(e){function t(t){var n=e.call(this,t)||this;return s.initializeComponentRef(n),n}return r.__extends(t,e),t.prototype.render=function(){var e,t=this.props,n=t.renderItem,o=t.onExecute,r=t.isSelected,a=t.id,l=t.className;return o?i.createElement("div",{id:a,onClick:o,className:s.css("ms-Suggestions-sectionButton",l,u.actionButton,(e={},e["is-selected "+u.buttonSelected]=r,e))},n()):i.createElement("div",{id:a,className:s.css("ms-Suggestions-section",l,u.suggestionsTitle)},n())},t}(i.Component);t.SuggestionsHeaderFooterItem=d;var p=function(e){function t(t){var n=e.call(this,t)||this;return n._selectedElement=i.createRef(),n._suggestions=i.createRef(),n.SuggestionsOfProperType=a.SuggestionsCore,s.initializeComponentRef(n),n.state={selectedHeaderIndex:-1,selectedFooterIndex:-1,suggestions:t.suggestions},n}return r.__extends(t,e),t.prototype.componentDidMount=function(){this.resetSelectedItem()},t.prototype.componentDidUpdate=function(){this.scrollSelected()},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this;e.suggestions&&this.setState({suggestions:e.suggestions},(function(){t.resetSelectedItem()}))},t.prototype.componentWillUnmount=function(){var e;null===(e=this._suggestions.current)||void 0===e||e.deselectAllSuggestions()},t.prototype.render=function(){var e=this.props,t=e.className,n=e.headerItemsProps,o=e.footerItemsProps,r=e.suggestionsAvailableAlertText,a=c.mergeStyles(c.hiddenContentStyle),l=this.state.suggestions&&this.state.suggestions.length>0&&r;return i.createElement("div",{className:s.css("ms-Suggestions",t||"",u.root)},n&&this.renderHeaderItems(),this._renderSuggestions(),o&&this.renderFooterItems(),l?i.createElement("span",{role:"alert","aria-live":"polite",className:a},r):null)},Object.defineProperty(t.prototype,"currentSuggestion",{get:function(){var e;return(null===(e=this._suggestions.current)||void 0===e?void 0:e.getCurrentItem())||void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentSuggestionIndex",{get:function(){return this._suggestions.current?this._suggestions.current.currentIndex:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.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:!0,configurable:!0}),t.prototype.hasSuggestionSelected=function(){var e;return(null===(e=this._suggestions.current)||void 0===e?void 0:e.hasSuggestionSelected())||!1},t.prototype.hasSelection=function(){var e=this.state,t=e.selectedHeaderIndex,n=e.selectedFooterIndex;return-1!==t||this.hasSuggestionSelected()||-1!==n},t.prototype.executeSelectedAction=function(){var e,t=this.props,n=t.headerItemsProps,o=t.footerItemsProps,r=this.state,i=r.selectedHeaderIndex,s=r.selectedFooterIndex;if(n&&-1!==i&&it+1)return null===(n=this._suggestions.current)||void 0===n||n.setSelectedSuggestion(t+1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var i=e===o.header,s=i?this.props.headerItemsProps:this.props.footerItemsProps;if(s&&s.length>t+1)for(var a=t+1;a0)return null===(n=this._suggestions.current)||void 0===n||n.setSelectedSuggestion(i-1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var i,s=e===o.header,a=s?this.props.headerItemsProps:this.props.footerItemsProps;if(a)if((i=void 0!==t?t:a.length)>0)for(var l=i-1;l>=0;l--){var c=a[l];if(c.onExecute&&c.shouldShow())return this.setState({selectedHeaderIndex:s?l:-1}),this.setState({selectedFooterIndex:s?-1:l}),null===(r=this._suggestions.current)||void 0===r||r.deselectAllSuggestions(),!0}}return!1},t.prototype._getCurrentIndexForType=function(e){switch(e){case o.header:return this.state.selectedHeaderIndex;case o.suggestion:return this._suggestions.current.currentIndex;case o.footer:return this.state.selectedFooterIndex}},t.prototype._getNextItemSectionType=function(e){switch(e){case o.header:return o.suggestion;case o.suggestion:return o.footer;case o.footer:return o.header}},t.prototype._getPreviousItemSectionType=function(e){switch(e){case o.header:return o.footer;case o.suggestion:return o.header;case o.footer:return o.suggestion}},t}(i.Component);t.SuggestionsControl=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(329),a=n(811),l=function(e){function t(t){var n=e.call(this,t)||this;return n._selectedElement=r.createRef(),n.SuggestionsItemOfProperType=s.SuggestionsItem,n._onClickTypedSuggestionsItem=function(e,t){return function(o){n.props.onSuggestionClick(o,e,t)}},n._onRemoveTypedSuggestionsItem=function(e,t){return function(o){(0,n.props.onSuggestionRemove)(o,e,t),o.stopPropagation()}},i.initializeComponentRef(n),n.currentIndex=-1,n}return o.__extends(t,e),t.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(t.prototype,"selectedElement",{get:function(){return this._selectedElement.current||void 0},enumerable:!0,configurable:!0}),t.prototype.getCurrentItem=function(){return this.props.suggestions[this.currentIndex]},t.prototype.getSuggestionAtIndex=function(e){return this.props.suggestions[e]},t.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())},t.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()},t.prototype.componentDidUpdate=function(){this.scrollSelected()},t.prototype.render=function(){var e=this,t=this.props,n=t.onRenderSuggestion,o=t.suggestionsItemClassName,s=t.resultsMaximumNumber,l=t.showRemoveButtons,c=t.suggestionsContainerAriaLabel,u=this.SuggestionsItemOfProperType,d=this.props.suggestions;return s&&(d=d.slice(0,s)),r.createElement("div",{className:i.css("ms-Suggestions-container",a.suggestionsContainer),id:"suggestion-list",role:"list","aria-label":c},d.map((function(t,i){return r.createElement("div",{ref:t.selected||i===e.currentIndex?e._selectedElement:void 0,key:t.item.key?t.item.key:i,id:"sug-"+i,role:"listitem","aria-label":t.ariaLabel},r.createElement(u,{id:"sug-item"+i,suggestionModel:t,RenderSuggestion:n,onClick:e._onClickTypedSuggestionsItem(t.item,i),className:o,showRemoveButton:l,onRemoveItem:e._onRemoveTypedSuggestionsItem(t.item,i),isSelectedOverride:i===e.currentIndex}))})))},t.prototype.scrollSelected=function(){var e;void 0!==(null===(e=this._selectedElement.current)||void 0===e?void 0:e.scrollIntoView)&&this._selectedElement.current.scrollIntoView(!1)},t}(r.Component);t.SuggestionsCore=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(801),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=n(133),l=n(238),c=n(331),u=n(332),d=n(334),p=n(333),f=i.classNamesFunction(),h=i.styled(u.SuggestionsItem,d.getStyles,void 0,{scope:"SuggestionItem"}),m=function(e){function t(t){var n=e.call(this,t)||this;return n._forceResolveButton=r.createRef(),n._searchForMoreButton=r.createRef(),n._selectedElement=r.createRef(),n.tryHandleKeyDown=function(e,t){var o=!1,r=null,s=n.state.selectedActionType,a=n.props.suggestions.length;if(e===i.KeyCodes.down)switch(s){case c.SuggestionActionType.forceResolve:a>0?(n._refocusOnSuggestions(e),r=c.SuggestionActionType.none):r=n._searchForMoreButton.current?c.SuggestionActionType.searchMore:c.SuggestionActionType.forceResolve;break;case c.SuggestionActionType.searchMore:n._forceResolveButton.current?r=c.SuggestionActionType.forceResolve:a>0?(n._refocusOnSuggestions(e),r=c.SuggestionActionType.none):r=c.SuggestionActionType.searchMore;break;case c.SuggestionActionType.none:-1===t&&n._forceResolveButton.current&&(r=c.SuggestionActionType.forceResolve)}else if(e===i.KeyCodes.up)switch(s){case c.SuggestionActionType.forceResolve:n._searchForMoreButton.current?r=c.SuggestionActionType.searchMore:a>0&&(n._refocusOnSuggestions(e),r=c.SuggestionActionType.none);break;case c.SuggestionActionType.searchMore:a>0?(n._refocusOnSuggestions(e),r=c.SuggestionActionType.none):n._forceResolveButton.current&&(r=c.SuggestionActionType.forceResolve);break;case c.SuggestionActionType.none:-1===t&&n._searchForMoreButton.current&&(r=c.SuggestionActionType.searchMore)}return null!==r&&(n.setState({selectedActionType:r}),o=!0),o},n._getAlertText=function(){var e=n.props,t=e.isLoading,o=e.isSearching,r=e.suggestions,i=e.suggestionsAvailableAlertText,s=e.noResultsFoundText;if(!t&&!o){if(r.length>0)return i||"";if(s)return s}return""},n._getMoreResults=function(){n.props.onGetMoreResults&&n.props.onGetMoreResults()},n._forceResolve=function(){n.props.createGenericItem&&n.props.createGenericItem()},n._shouldShowForceResolve=function(){return!!n.props.showForceResolve&&n.props.showForceResolve()},n._onClickTypedSuggestionsItem=function(e,t){return function(o){n.props.onSuggestionClick(o,e,t)}},n._refocusOnSuggestions=function(e){"function"==typeof n.props.refocusSuggestions&&n.props.refocusSuggestions(e)},n._onRemoveTypedSuggestionsItem=function(e,t){return function(o){(0,n.props.onSuggestionRemove)(o,e,t),o.stopPropagation()}},i.initializeComponentRef(n),n.state={selectedActionType:c.SuggestionActionType.none},n}return o.__extends(t,e),t.prototype.componentDidMount=function(){this.scrollSelected(),this.activeSelectedElement=this._selectedElement?this._selectedElement.current:null},t.prototype.componentDidUpdate=function(){this._selectedElement.current&&this.activeSelectedElement!==this._selectedElement.current&&(this.scrollSelected(),this.activeSelectedElement=this._selectedElement.current)},t.prototype.render=function(){var e,t,n=this,u=this.props,d=u.forceResolveText,h=u.mostRecentlyUsedHeaderText,m=u.searchForMoreText,g=u.className,v=u.moreSuggestionsAvailable,_=u.noResultsFoundText,y=u.suggestions,b=u.isLoading,S=u.isSearching,C=u.loadingText,x=u.onRenderNoResultFound,k=u.searchingText,w=u.isMostRecentlyUsedVisible,P=u.resultsMaximumNumber,E=u.resultsFooterFull,I=u.resultsFooter,T=u.isResultsFooterVisible,D=void 0===T||T,M=u.suggestionsHeaderText,O=u.suggestionsClassName,R=u.theme,N=u.styles,F=u.suggestionsListId;this._classNames=N?f(N,{theme:R,className:g,suggestionsClassName:O,forceResolveButtonSelected:this.state.selectedActionType===c.SuggestionActionType.forceResolve,searchForMoreButtonSelected:this.state.selectedActionType===c.SuggestionActionType.searchMore}):{root:i.css("ms-Suggestions",g,p.root),title:i.css("ms-Suggestions-title",p.suggestionsTitle),searchForMoreButton:i.css("ms-SearchMore-button",p.actionButton,(e={},e["is-selected "+p.buttonSelected]=this.state.selectedActionType===c.SuggestionActionType.searchMore,e)),forceResolveButton:i.css("ms-forceResolve-button",p.actionButton,(t={},t["is-selected "+p.buttonSelected]=this.state.selectedActionType===c.SuggestionActionType.forceResolve,t)),suggestionsAvailable:i.css("ms-Suggestions-suggestionsAvailable",p.suggestionsAvailable),suggestionsContainer:i.css("ms-Suggestions-container",p.suggestionsContainer,O),noSuggestions:i.css("ms-Suggestions-none",p.suggestionsNone)};var A=this._classNames.subComponentStyles?this._classNames.subComponentStyles.spinner:void 0,B=N?{styles:A}:{className:i.css("ms-Suggestions-spinner",p.suggestionsSpinner)},L=function(){return _?r.createElement("div",{className:n._classNames.noSuggestions},_):null},H=M;w&&h&&(H=h);var z=void 0;D&&(z=y.length>=P?E:I);var j=!(y&&y.length||b),W=j||b?{role:"dialog",id:F}:{};return r.createElement("div",o.__assign({className:this._classNames.root},W),r.createElement(l.Announced,{message:this._getAlertText(),"aria-live":"polite"}),H?r.createElement("div",{className:this._classNames.title},H):null,d&&this._shouldShowForceResolve()&&r.createElement(s.CommandButton,{componentRef:this._forceResolveButton,className:this._classNames.forceResolveButton,onClick:this._forceResolve,"data-automationid":"sug-forceResolve"},d),b&&r.createElement(a.Spinner,o.__assign({},B,{label:C})),j?x?x(void 0,L):L():this._renderSuggestions(),m&&v&&r.createElement(s.CommandButton,{componentRef:this._searchForMoreButton,className:this._classNames.searchForMoreButton,iconProps:{iconName:"Search"},onClick:this._getMoreResults},m),S?r.createElement(a.Spinner,o.__assign({},B,{label:k})):null,!z||v||w||S?null:r.createElement("div",{className:this._classNames.title},z(this.props)))},t.prototype.hasSuggestedAction=function(){return!!this._searchForMoreButton.current||!!this._forceResolveButton.current},t.prototype.hasSuggestedActionSelected=function(){return this.state.selectedActionType!==c.SuggestionActionType.none},t.prototype.executeSelectedAction=function(){switch(this.state.selectedActionType){case c.SuggestionActionType.forceResolve:this._forceResolve();break;case c.SuggestionActionType.searchMore:this._getMoreResults()}},t.prototype.focusAboveSuggestions=function(){this._forceResolveButton.current?this.setState({selectedActionType:c.SuggestionActionType.forceResolve}):this._searchForMoreButton.current&&this.setState({selectedActionType:c.SuggestionActionType.searchMore})},t.prototype.focusBelowSuggestions=function(){this._searchForMoreButton.current?this.setState({selectedActionType:c.SuggestionActionType.searchMore}):this._forceResolveButton.current&&this.setState({selectedActionType:c.SuggestionActionType.forceResolve})},t.prototype.focusSearchForMoreButton=function(){this._searchForMoreButton.current&&this._searchForMoreButton.current.focus()},t.prototype.scrollSelected=function(){this._selectedElement.current&&void 0!==this._selectedElement.current.scrollIntoView&&this._selectedElement.current.scrollIntoView(!1)},t.prototype._renderSuggestions=function(){var e=this,t=this.props,n=t.onRenderSuggestion,o=t.removeSuggestionAriaLabel,i=t.suggestionsItemClassName,s=t.resultsMaximumNumber,a=t.showRemoveButtons,l=t.suggestionsContainerAriaLabel,c=t.suggestionsListId,u=this.props.suggestions,d=h,p=-1;return u.some((function(e,t){return!!e.selected&&(p=t,!0)})),s&&(u=p>=s?u.slice(p-s+1,p+1):u.slice(0,s)),0===u.length?null:r.createElement("div",{className:this._classNames.suggestionsContainer,id:c,role:"listbox","aria-label":l},u.map((function(t,s){return r.createElement("div",{ref:t.selected?e._selectedElement:void 0,key:t.item.key?t.item.key:s,id:"sug-"+s,"aria-selected":t.selected,role:"option","aria-label":t.ariaLabel},r.createElement(d,{suggestionModel:t,RenderSuggestion:n,onClick:e._onClickTypedSuggestionsItem(t.item,s),className:i,showRemoveButton:a,removeButtonAriaLabel:o,onRemoveItem:e._onRemoveTypedSuggestionsItem(t.item,s)}))})))},t}(r.Component);t.Suggestions=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.none=0]="none",e[e.forceResolve=1]="forceResolve",e[e.searchMore=2]="searchMore"}(t.SuggestionActionType||(t.SuggestionActionType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=n(333),l=i.classNamesFunction(),c=function(e){function t(t){var n=e.call(this,t)||this;return i.initializeComponentRef(n),n}return o.__extends(t,e),t.prototype.render=function(){var e,t=this.props,n=t.suggestionModel,o=t.RenderSuggestion,c=t.onClick,u=t.className,d=t.onRemoveItem,p=t.isSelectedOverride,f=t.removeButtonAriaLabel,h=t.styles,m=t.theme,g=h?l(h,{theme:m,className:u,suggested:n.selected||p}):{root:i.css("ms-Suggestions-item",a.suggestionsItem,(e={},e["is-suggested "+a.suggestionsItemIsSuggested]=n.selected||p,e),u),itemButton:i.css("ms-Suggestions-itemButton",a.itemButton),closeButton:i.css("ms-Suggestions-closeButton",a.closeButton)};return r.createElement("div",{className:g.root},r.createElement(s.CommandButton,{onClick:c,className:g.itemButton},o(n.item,this.props)),this.props.showRemoveButton?r.createElement(s.IconButton,{iconProps:{iconName:"Cancel",styles:{root:{fontSize:"12px"}}},title:f,ariaLabel:f,onClick:d,className:g.closeButton}):null)},t}(r.Component);t.SuggestionsItem=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(20).loadStyles([{rawString:".root_2185d12d{min-width:260px}.suggestionsItem_2185d12d{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_2185d12d:hover{background:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:"}.suggestionsItem_2185d12d:hover .closeButton_2185d12d{display:block}.suggestionsItem_2185d12d.suggestionsItemIsSuggested_2185d12d{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsItem_2185d12d.suggestionsItemIsSuggested_2185d12d:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:"}@media screen and (-ms-high-contrast:active){.suggestionsItem_2185d12d.suggestionsItemIsSuggested_2185d12d:hover{background:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active){.suggestionsItem_2185d12d.suggestionsItemIsSuggested_2185d12d{background:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsItem_2185d12d.suggestionsItemIsSuggested_2185d12d .closeButton_2185d12d:hover{background:"},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:"}@media screen and (-ms-high-contrast:active){.suggestionsItem_2185d12d.suggestionsItemIsSuggested_2185d12d .itemButton_2185d12d{color:HighlightText}}.suggestionsItem_2185d12d .closeButton_2185d12d{display:none;color:"},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:"}.suggestionsItem_2185d12d .closeButton_2185d12d:hover{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.actionButton_2185d12d{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_2185d12d{padding-left:8px}[dir=rtl] .actionButton_2185d12d{padding-right:8px}html[dir=ltr] .actionButton_2185d12d{text-align:left}html[dir=rtl] .actionButton_2185d12d{text-align:right}.actionButton_2185d12d:hover{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";cursor:pointer}.actionButton_2185d12d:active,.actionButton_2185d12d:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_2185d12d .ms-Button-icon{font-size:16px;width:25px}.actionButton_2185d12d .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_2185d12d .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_2185d12d{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.suggestionsTitle_2185d12d{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_2185d12d{overflow-y:auto;overflow-x:hidden;max-height:300px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsNone_2185d12d{text-align:center;color:#797775;font-size:12px;line-height:30px}.suggestionsSpinner_2185d12d{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_2185d12d{padding-left:14px}html[dir=rtl] .suggestionsSpinner_2185d12d{padding-right:14px}html[dir=ltr] .suggestionsSpinner_2185d12d{text-align:left}html[dir=rtl] .suggestionsSpinner_2185d12d{text-align:right}.suggestionsSpinner_2185d12d .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_2185d12d .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_2185d12d .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_2185d12d.itemButton_2185d12d{width:100%;padding:0;min-width:0;height:100%}@media screen and (-ms-high-contrast:active){.itemButton_2185d12d.itemButton_2185d12d{color:WindowText}}.itemButton_2185d12d.itemButton_2185d12d:hover{color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.closeButton_2185d12d.closeButton_2185d12d{padding:0 4px;height:auto;width:32px}@media screen and (-ms-high-contrast:active){.closeButton_2185d12d.closeButton_2185d12d{color:WindowText}}.closeButton_2185d12d.closeButton_2185d12d:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.suggestionsAvailable_2185d12d{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]),t.root="root_2185d12d",t.suggestionsItem="suggestionsItem_2185d12d",t.closeButton="closeButton_2185d12d",t.suggestionsItemIsSuggested="suggestionsItemIsSuggested_2185d12d",t.itemButton="itemButton_2185d12d",t.actionButton="actionButton_2185d12d",t.buttonSelected="buttonSelected_2185d12d",t.suggestionsTitle="suggestionsTitle_2185d12d",t.suggestionsContainer="suggestionsContainer_2185d12d",t.suggestionsNone="suggestionsNone_2185d12d",t.suggestionsSpinner="suggestionsSpinner_2185d12d",t.suggestionsAvailable="suggestionsAvailable_2185d12d"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.SuggestionsItemGlobalClassNames={root:"ms-Suggestions-item",itemButton:"ms-Suggestions-itemButton",closeButton:"ms-Suggestions-closeButton",isSuggested:"is-suggested"},t.getStyles=function(e){var n,r,i,s=e.className,a=e.theme,l=e.suggested,c=a.palette,u=a.semanticColors,d=o.getGlobalClassNames(t.SuggestionsItemGlobalClassNames,a);return{root:[d.root,{display:"flex",alignItems:"stretch",boxSizing:"border-box",width:"100%",position:"relative",selectors:{"&:hover":{background:u.menuItemBackgroundHovered},"&:hover .ms-Suggestions-closeButton":{display:"block"}}},s],itemButton:[d.itemButton,{width:"100%",padding:0,border:"none",height:"100%",minWidth:0,overflow:"hidden",selectors:(n={},n[o.HighContrastSelector]={color:"WindowText",selectors:{":hover":{background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"}}},n[":hover"]={color:u.menuItemTextHovered},n)},l&&[d.isSuggested,{background:u.menuItemBackgroundPressed,selectors:(r={":hover":{background:u.menuDivider}},r[o.HighContrastSelector]={background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"},r)}]],closeButton:[d.closeButton,{display:"none",color:c.neutralSecondary,padding:"0 4px",height:"auto",width:32,selectors:(i={":hover, :active":{background:c.neutralTertiaryAlt,color:c.neutralDark}},i[o.HighContrastSelector]={color:"WindowText"},i)},l&&{selectors:{":hover, :active":{background:c.neutralTertiary,color:c.neutralPrimary}}}]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(){var e=this;this._isSuggestionModel=function(e){return void 0!==e.item},this._ensureSuggestionModel=function(t){return e._isSuggestionModel(t)?t:{item:t,selected:!1,ariaLabel:t.name||t.primaryText}},this.suggestions=[],this.currentIndex=-1}return e.prototype.updateSuggestions=function(e,t){e&&e.length>0?(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])):(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}();t.SuggestionsController=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(30),a=n(9),l=n(84),c=n(806),u=i.classNamesFunction();t.PeoplePickerItemBase=function(e){var t=e.item,n=e.onRemoveItem,c=e.index,d=e.selected,p=e.removeButtonAriaLabel,f=e.styles,h=e.theme,m=e.className,g=e.disabled,v=i.getId(),_=u(f,{theme:h,className:m,selected:d,disabled:g,invalid:t.ValidationState===l.ValidationState.warning}),y=_.subComponentStyles?_.subComponentStyles.persona:void 0,b=_.subComponentStyles?_.subComponentStyles.personaCoin:void 0;return r.createElement("div",{className:_.root,"data-is-focusable":!g,"data-is-sub-focuszone":!0,"data-selection-index":c,role:"listitem","aria-labelledby":"selectedItemPersona-"+v},r.createElement("div",{className:_.itemContent,id:"selectedItemPersona-"+v},r.createElement(s.Persona,o.__assign({size:s.PersonaSize.size24,styles:y,coinProps:{styles:b}},t))),r.createElement(a.IconButton,{onClick:n,disabled:g,iconProps:{iconName:"Cancel",styles:{root:{fontSize:"12px"}}},className:_.removeButton,ariaLabel:p}))},t.PeoplePickerItem=i.styled(t.PeoplePickerItemBase,c.getStyles,void 0,{scope:"PeoplePickerItem"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(30),a=n(807),l=i.classNamesFunction();t.PeoplePickerItemSuggestionBase=function(e){var t=e.personaProps,n=e.suggestionsProps,i=e.compact,a=e.styles,c=e.theme,u=e.className,d=l(a,{theme:c,className:n&&n.suggestionsItemClassName||u}),p=d.subComponentStyles&&d.subComponentStyles.persona?d.subComponentStyles.persona:void 0;return r.createElement("div",{className:d.root},r.createElement(s.Persona,o.__assign({size:s.PersonaSize.size24,styles:p,className:d.personaWrapper,showSecondaryText:!i},t)))},t.PeoplePickerItemSuggestion=i.styled(t.PeoplePickerItemSuggestionBase,a.getStyles,void 0,{scope:"PeoplePickerItemSuggestion"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r={root:"ms-BasePicker",text:"ms-BasePicker-text",itemsWrapper:"ms-BasePicker-itemsWrapper",input:"ms-BasePicker-input"};t.getStyles=function(e){var t,n=e.className,i=e.theme,s=e.isFocused,a=e.inputClassName,l=e.disabled;if(!i)throw new Error("theme is undefined or null in base BasePicker getStyles function.");var c=i.semanticColors,u=i.effects,d=i.fonts,p=c.inputBorder,f=c.inputBorderHovered,h=c.inputFocusBorderAlt,m=o.getGlobalClassNames(r,i);return{root:[m.root,n],text:[m.text,{display:"flex",position:"relative",flexWrap:"wrap",alignItems:"center",boxSizing:"border-box",minWidth:180,minHeight:30,border:"1px solid "+p,borderRadius:u.roundedCorner2},!s&&!l&&{selectors:{":hover":{borderColor:f}}},s&&!l&&o.getInputFocusStyle(h,u.roundedCorner2),l&&{borderColor:"rgba(218, 218, 218, 0.29)",selectors:(t={":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:"rgba(218, 218, 218, 0.29)"}},t[o.HighContrastSelector]={borderColor:"GrayText",selectors:{":after":{background:"none"}}},t)}],itemsWrapper:[m.itemsWrapper,{display:"flex",flexWrap:"wrap",maxWidth:"100%"}],input:[m.input,d.medium,{height:30,border:"none",flexGrow:1,outline:"none",padding:"0 6px 0",alignSelf:"flex-end",borderRadius:u.roundedCorner2,backgroundColor:"transparent",color:c.inputText,selectors:{"::-ms-clear":{display:"none"}}},a],screenReaderText:o.hiddenContentStyle}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2),i=n(9),s=n(809),a=r.classNamesFunction();t.TagItemBase=function(e){var t=e.theme,n=e.styles,r=e.selected,s=e.disabled,l=e.enableTagFocusInDisabledPicker,c=e.children,u=e.className,d=e.index,p=e.onRemoveItem,f=e.removeButtonAriaLabel,h=e.title,m=void 0===h?"string"==typeof e.children?e.children:e.item.name:h,g=a(n,{theme:t,className:u,selected:r,disabled:s});return o.createElement("div",{className:g.root,role:"listitem",key:d,"data-selection-index":d,"data-is-focusable":(l||!s)&&!0},o.createElement("span",{className:g.text,"aria-label":m,title:m},c),o.createElement(i.IconButton,{onClick:p,disabled:s,iconProps:{iconName:"Cancel",styles:{root:{fontSize:"12px"}}},className:g.close,ariaLabel:f}))},t.TagItem=r.styled(t.TagItemBase,s.getStyles,void 0,{scope:"TagItem"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2),i=n(810),s=r.classNamesFunction();t.TagItemSuggestionBase=function(e){var t=e.styles,n=e.theme,r=e.children,i=s(t,{theme:n});return o.createElement("div",{className:i.suggestionTextOverflow}," ",r," ")},t.TagItemSuggestion=r.styled(t.TagItemSuggestionBase,i.getStyles,void 0,{scope:"TagItemSuggestion"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(20).loadStyles([{rawString:".resultContent_125d61f0{display:table-row}.resultContent_125d61f0 .resultItem_125d61f0{display:table-cell;vertical-align:bottom}.peoplePickerPersona_125d61f0{width:180px}.peoplePickerPersona_125d61f0 .ms-Persona-details{width:100%}.peoplePicker_125d61f0 .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_125d61f0{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}"}]),t.resultContent="resultContent_125d61f0",t.resultItem="resultItem_125d61f0",t.peoplePickerPersona="peoplePickerPersona_125d61f0",t.peoplePicker="peoplePicker_125d61f0",t.peoplePickerPersonaContent="peoplePickerPersonaContent_125d61f0"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(818),i=n(819);t.Grid=o.styled(r.GridBase,i.getStyles)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onClick=function(){var e=t.props,n=e.onClick,o=e.disabled,r=e.item;n&&!o&&n(r)},t._onMouseEnter=function(e){var n=t.props,o=n.onHover,r=n.disabled,i=n.item,s=n.onMouseEnter;s&&s(e)||!o||r||o(i)},t._onMouseMove=function(e){var n=t.props,o=n.onHover,r=n.disabled,i=n.item,s=n.onMouseMove;s&&s(e)||!o||r||o(i)},t._onMouseLeave=function(e){var n=t.props,o=n.onHover,r=n.disabled,i=n.onMouseLeave;i&&i(e)||!o||r||o()},t._onFocus=function(){var e=t.props,n=e.onFocus,o=e.disabled,r=e.item;n&&!o&&n(r)},t}return o.__extends(t,e),t.prototype.render=function(){var e,t=this.props,n=t.item,o=t.id,a=t.className,l=t.role,c=t.selected,u=t.disabled,d=t.onRenderItem,p=t.cellDisabledStyle,f=t.cellIsSelectedStyle,h=t.index,m=t.label,g=t.getClassNames;return r.createElement(s.CommandButton,{id:o,"data-index":h,"data-is-focusable":!0,disabled:u,className:i.css(a,(e={},e[""+f]=c,e[""+p]=u,e)),onClick:this._onClick,onMouseEnter:this._onMouseEnter,onMouseMove:this._onMouseMove,onMouseLeave:this._onMouseLeave,onFocus:this._onFocus,role:l,"aria-selected":c,ariaLabel:m,title:m,getClassNames:g},d(n))},t.defaultProps={disabled:!1,id:i.getId("gridCell")},t}(r.Component);t.GridCell=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(345),a=n(346),l=n(144),c=n(349),u=i.classNamesFunction(),d=function(e){function t(t){var n=e.call(this,t)||this;return n._hoverCard=r.createRef(),n.dismiss=function(e){n._async.clearTimeout(n._openTimerId),n._async.clearTimeout(n._dismissTimerId),e?n._dismissTimerId=n._async.setTimeout((function(){n._setDismissedState()}),n.props.cardDismissDelay):n._setDismissedState()},n._cardOpen=function(e){n._shouldBlockHoverCard()||"keydown"===e.type&&e.which!==n.props.openHotKey||(n._async.clearTimeout(n._dismissTimerId),"mouseenter"===e.type&&(n._currentMouseTarget=e.currentTarget),n._executeCardOpen(e))},n._executeCardOpen=function(e){n._async.clearTimeout(n._openTimerId),n._openTimerId=n._async.setTimeout((function(){n.setState((function(t){return t.isHoverCardVisible?t:{isHoverCardVisible:!0,mode:l.ExpandingCardMode.compact,openMode:"keydown"===e.type?s.OpenCardMode.hotKey:s.OpenCardMode.hover}}))}),n.props.cardOpenDelay)},n._cardDismiss=function(e,t){if(e){if(!(t instanceof MouseEvent))return;if("keydown"===t.type&&t.which!==i.KeyCodes.escape)return;n.props.sticky||n._currentMouseTarget!==t.currentTarget&&t.which!==i.KeyCodes.escape||n.dismiss(!0)}else{if(n.props.sticky&&!(t instanceof MouseEvent)&&t.nativeEvent instanceof MouseEvent&&"mouseleave"===t.type)return;n.dismiss(!0)}},n._setDismissedState=function(){n.setState({isHoverCardVisible:!1,mode:l.ExpandingCardMode.compact,openMode:s.OpenCardMode.hover})},n._instantOpenAsExpanded=function(e){n._async.clearTimeout(n._dismissTimerId),n.setState((function(e){return e.isHoverCardVisible?e:{isHoverCardVisible:!0,mode:l.ExpandingCardMode.expanded}}))},n._setEventListeners=function(){var e=n.props,t=e.trapFocus,o=e.instantOpenOnClick,r=e.eventListenerTarget,i=r?n._getTargetElement(r):n._getTargetElement(n.props.target),s=n._nativeDismissEvent;i&&(n._events.on(i,"mouseenter",n._cardOpen),n._events.on(i,"mouseleave",s),t?n._events.on(i,"keydown",n._cardOpen):(n._events.on(i,"focus",n._cardOpen),n._events.on(i,"blur",s)),o?n._events.on(i,"click",n._instantOpenAsExpanded):(n._events.on(i,"mousedown",s),n._events.on(i,"keydown",s)))},i.initializeComponentRef(n),n._async=new i.Async(n),n._events=new i.EventGroup(n),n._nativeDismissEvent=n._cardDismiss.bind(n,!0),n._childDismissEvent=n._cardDismiss.bind(n,!1),n.state={isHoverCardVisible:!1,mode:l.ExpandingCardMode.compact,openMode:s.OpenCardMode.hover},n}return o.__extends(t,e),t.prototype.componentDidMount=function(){this._setEventListeners()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.componentDidUpdate=function(e,t){var n=this;e.target!==this.props.target&&(this._events.off(),this._setEventListeners()),t.isHoverCardVisible!==this.state.isHoverCardVisible&&(this.state.isHoverCardVisible?(this._async.setTimeout((function(){n.setState({mode:l.ExpandingCardMode.expanded},(function(){n.props.onCardExpand&&n.props.onCardExpand()}))}),this.props.expandedCardOpenDelay),this.props.onCardVisible&&this.props.onCardVisible()):(this.setState({mode:l.ExpandingCardMode.compact}),this.props.onCardHide&&this.props.onCardHide()))},t.prototype.render=function(){var e=this.props,t=e.expandingCardProps,n=e.children,l=e.id,d=e.setAriaDescribedBy,p=void 0===d||d,f=e.styles,h=e.theme,m=e.className,g=e.type,v=e.plainCardProps,_=e.trapFocus,y=e.setInitialFocus,b=this.state,S=b.isHoverCardVisible,C=b.mode,x=b.openMode,k=l||i.getId("hoverCard");this._classNames=u(f,{theme:h,className:m});var w=o.__assign(o.__assign({},i.getNativeProps(this.props,i.divProperties)),{id:k,trapFocus:!!_,firstFocus:y||x===s.OpenCardMode.hotKey,targetElement:this._getTargetElement(this.props.target),onEnter:this._cardOpen,onLeave:this._childDismissEvent}),P=o.__assign(o.__assign(o.__assign({},t),w),{mode:C}),E=o.__assign(o.__assign({},v),w);return r.createElement("div",{className:this._classNames.host,ref:this._hoverCard,"aria-describedby":p&&S?k:void 0,"data-is-focusable":!Boolean(this.props.target)},n,S&&(g===s.HoverCardType.expanding?r.createElement(a.ExpandingCard,o.__assign({},P)):r.createElement(c.PlainCard,o.__assign({},E))))},t.prototype._getTargetElement=function(e){switch(typeof e){case"string":return i.getDocument().querySelector(e);case"object":return e;default:return this._hoverCard.current||void 0}},t.prototype._shouldBlockHoverCard=function(){return!(!this.props.shouldBlockHoverCard||!this.props.shouldBlockHoverCard())},t.defaultProps={cardOpenDelay:500,cardDismissDelay:100,expandedCardOpenDelay:1500,instantOpenOnClick:!1,setInitialFocus:!1,openHotKey:i.KeyCodes.c,type:s.HoverCardType.expanding},t}(r.Component);t.HoverCardBase=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.hover=0]="hover",e[e.hotKey=1]="hotKey"}(t.OpenCardMode||(t.OpenCardMode={})),function(e){e.plain="PlainCard",e.expanding="ExpandingCard"}(t.HoverCardType||(t.HoverCardType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(824),i=n(347);t.ExpandingCard=o.styled(i.ExpandingCardBase,r.getStyles,void 0,{scope:"ExpandingCard"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(144),a=n(348),l=i.classNamesFunction(),c=function(e){function t(t){var n=e.call(this,t)||this;return n._expandedElem=r.createRef(),n._onKeyDown=function(e){e.which===i.KeyCodes.escape&&n.props.onLeave&&n.props.onLeave(e)},n._onRenderCompactCard=function(){return r.createElement("div",{className:n._classNames.compactCard},n.props.onRenderCompactCard(n.props.renderData))},n._onRenderExpandedCard=function(){return!n.state.firstFrameRendered&&n._async.requestAnimationFrame((function(){n.setState({firstFrameRendered:!0})})),r.createElement("div",{className:n._classNames.expandedCard,ref:n._expandedElem},r.createElement("div",{className:n._classNames.expandedCardScroll},n.props.onRenderExpandedCard&&n.props.onRenderExpandedCard(n.props.renderData)))},n._checkNeedsScroll=function(){var e=n.props.expandedCardHeight;n._async.requestAnimationFrame((function(){n._expandedElem.current&&n._expandedElem.current.scrollHeight>=e&&n.setState({needsScroll:!0})}))},n._async=new i.Async(n),i.initializeComponentRef(n),n.state={firstFrameRendered:!1,needsScroll:!1},n}return o.__extends(t,e),t.prototype.componentDidMount=function(){this._checkNeedsScroll()},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=this.props,t=e.styles,n=e.compactCardHeight,i=e.expandedCardHeight,c=e.theme,u=e.mode,d=e.className,p=this.state,f=p.needsScroll,h=p.firstFrameRendered,m=n+i;this._classNames=l(t,{theme:c,compactCardHeight:n,className:d,expandedCardHeight:i,needsScroll:f,expandedCardFirstFrameRendered:u===s.ExpandingCardMode.expanded&&h});var g=r.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this._onRenderCompactCard(),this._onRenderExpandedCard());return r.createElement(a.CardCallout,o.__assign({},this.props,{content:g,finalHeight:m,className:this._classNames.root}))},t.defaultProps={compactCardHeight:156,expandedCardHeight:384,directionalHintFixed:!0},t}(r.Component);t.ExpandingCardBase=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(14),a=n(21);t.CardCallout=function(e){var t=e.gapSpace,n=void 0===t?0:t,l=e.directionalHint,c=void 0===l?s.DirectionalHint.bottomLeftEdge:l,u=e.directionalHintFixed,d=e.targetElement,p=e.firstFocus,f=e.trapFocus,h=e.onLeave,m=e.className,g=e.finalHeight,v=e.content,_=e.calloutProps,y=o.__assign(o.__assign(o.__assign({},i.getNativeProps(e,i.divProperties)),{className:m,target:d,isBeakVisible:!1,directionalHint:c,directionalHintFixed:u,finalHeight:g,minPagePadding:24,onDismiss:h,gapSpace:n}),_);return r.createElement(r.Fragment,null,f?r.createElement(a.FocusTrapCallout,o.__assign({},y,{focusTrapProps:{forceFocusInsideTrap:!1,isClickableOutsideFocusTrap:!0,disableFirstFocus:!p}}),v):r.createElement(a.Callout,o.__assign({},y),v))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(825),i=n(350);t.PlainCard=o.styled(i.PlainCardBase,r.getStyles,void 0,{scope:"PlainCard"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(348),a=i.classNamesFunction(),l=function(e){function t(t){var n=e.call(this,t)||this;return n._onKeyDown=function(e){e.which===i.KeyCodes.escape&&n.props.onLeave&&n.props.onLeave(e)},i.initializeComponentRef(n),n}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme,i=e.className;this._classNames=a(t,{theme:n,className:i});var l=r.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this.props.onRenderPlainCard(this.props.renderData));return r.createElement(s.CardCallout,o.__assign({},this.props,{content:l,className:this._classNames.root}))},t}(r.Component);t.PlainCardBase=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(849),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.getStyles=function(e){var t,n=e.theme,r=e.disabled,i=e.visible;return{container:[{backgroundColor:n.palette.neutralDark},r&&{opacity:.5,selectors:(t={},t[o.HighContrastSelector]={color:"GrayText",opacity:1},t)},!i&&{visibility:"hidden"}],root:[n.fonts.medium,{textAlign:"center",paddingLeft:"3px",paddingRight:"3px",backgroundColor:n.palette.neutralDark,color:n.palette.neutralLight,minWidth:"11px",lineHeight:"17px",height:"17px",display:"inline-block"},r&&{color:n.palette.neutralTertiaryAlt}]}},t.getCalloutStyles=function(e){return{container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]}},t.getCalloutOffsetStyles=function(e){return function(n){return o.mergeStyleSets(t.getCalloutStyles(n),{root:[{marginLeft:e.left||e.x,marginTop:e.top||e.y}]})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(354),s=n(351),a=n(37),l=n(2),c=n(111),u=n(856),d=n(73),p=n(245),f=n(57),h={key:l.isMac()?"Control":"Meta",modifierKeys:[l.KeyCodes.alt]},m=h,g={key:"Escape"},v=l.classNamesFunction(),_=function(e){function t(t,n){var r=e.call(this,t,n)||this;r._keytipManager=c.KeytipManager.getInstance(),r._delayedKeytipQueue=[],r._keyHandled=!1,r._onDismiss=function(e){r.state.inKeytipMode&&r._exitKeytipMode(e)},r._onKeyDown=function(e){r._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":r.state.inKeytipMode&&(r._keyHandled=!0,r._exitKeytipMode(e));break;default:"Esc"===t?t="Escape":"OS"!==t&&"Win"!==t||(t="Meta");var n={key:t};n.modifierKeys=r._getModifierKey(t,e),r.processTransitionInput(n,e)}},r._onKeyPress=function(e){r.state.inKeytipMode&&!r._keyHandled&&(r.processInput(e.key.toLocaleLowerCase(),e),e.preventDefault(),e.stopPropagation())},r._onKeytipAdded=function(e){var t=e.keytip,n=e.uniqueID;if(r._keytipTree.addNode(t,n),r._setKeytips(),r._keytipTree.isCurrentKeytipParent(t)&&(r._addKeytipToQueue(d.sequencesToID(t.keySequences)),r._keytipTree.currentKeytip&&r._keytipTree.currentKeytip.hasDynamicChildren&&r._keytipTree.currentKeytip.children.indexOf(t.id)<0)){var o=r._keytipTree.getNode(r._keytipTree.currentKeytip.id);o&&(r._keytipTree.currentKeytip=o)}if(r._newCurrentKeytipSequences&&l.arraysEqual(t.keySequences,r._newCurrentKeytipSequences)&&r._triggerKeytipImmediately(t),r._isCurrentKeytipAnAlias(t)){var i=t.keySequences;t.overflowSetSequence&&(i=d.mergeOverflows(i,t.overflowSetSequence)),r._keytipTree.currentKeytip=r._keytipTree.getNode(d.sequencesToID(i))}},r._onKeytipUpdated=function(e){var t=e.keytip,n=e.uniqueID;r._keytipTree.updateNode(t,n),r._setKeytips(),r._keytipTree.isCurrentKeytipParent(t)&&r._addKeytipToQueue(d.sequencesToID(t.keySequences))},r._onKeytipRemoved=function(e){var t=e.keytip,n=e.uniqueID;r._removeKeytipFromQueue(d.sequencesToID(t.keySequences)),r._keytipTree.removeNode(t,n),r._setKeytips()},r._onPersistedKeytipAdded=function(e){var t=e.keytip,n=e.uniqueID;r._keytipTree.addNode(t,n,!0)},r._onPersistedKeytipRemoved=function(e){var t=e.keytip,n=e.uniqueID;r._keytipTree.removeNode(t,n)},r._onPersistedKeytipExecute=function(e){r._persistedKeytipExecute(e.overflowButtonSequences,e.keytipSequences)},r._setInKeytipMode=function(e){r.setState({inKeytipMode:e}),r._keytipManager.inKeytipMode=e},r._warnIfDuplicateKeytips=function(){var e=r._getDuplicateIds(r._keytipTree.getChildren());e.length&&l.warn("Duplicate keytips found for "+e.join(", "))},r._getDuplicateIds=function(e){var t={};return e.filter((function(e){return t[e]=t[e]?t[e]+1:1,2===t[e]}))},l.initializeComponentRef(r),r._events=new l.EventGroup(r),r._async=new l.Async(r);var i=o.__spreadArrays(r._keytipManager.getKeytips());return r.state={inKeytipMode:!1,keytips:i,visibleKeytips:r._getVisibleKeytips(i)},r._buildTree(),r._currentSequence="",r._events.on(r._keytipManager,f.KeytipEvents.KEYTIP_ADDED,r._onKeytipAdded),r._events.on(r._keytipManager,f.KeytipEvents.KEYTIP_UPDATED,r._onKeytipUpdated),r._events.on(r._keytipManager,f.KeytipEvents.KEYTIP_REMOVED,r._onKeytipRemoved),r._events.on(r._keytipManager,f.KeytipEvents.PERSISTED_KEYTIP_ADDED,r._onPersistedKeytipAdded),r._events.on(r._keytipManager,f.KeytipEvents.PERSISTED_KEYTIP_REMOVED,r._onPersistedKeytipRemoved),r._events.on(r._keytipManager,f.KeytipEvents.PERSISTED_KEYTIP_EXECUTE,r._onPersistedKeytipExecute),r}return o.__extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.content,l=t.styles,c=this.state,u=c.keytips,p=c.visibleKeytips;return this._classNames=v(l,{}),r.createElement(a.Layer,{styles:i.getLayerStyles},r.createElement("span",{id:f.KTP_LAYER_ID,className:this._classNames.innerContent},""+n+f.KTP_ARIA_SEPARATOR),u&&u.map((function(t,n){return r.createElement("span",{key:n,id:d.sequencesToID(t.keySequences),className:e._classNames.innerContent},t.keySequences.join(f.KTP_ARIA_SEPARATOR))})),p&&p.map((function(e){return r.createElement(s.Keytip,o.__assign({key:d.sequencesToID(e.keySequences)},e))})))},t.prototype.componentDidMount=function(){this._events.on(window,"mouseup",this._onDismiss,!0),this._events.on(window,"pointerup",this._onDismiss,!0),this._events.on(window,"resize",this._onDismiss),this._events.on(window,"keydown",this._onKeyDown,!0),this._events.on(window,"keypress",this._onKeyPress,!0),this._events.on(window,"scroll",this._onDismiss,!0),this._events.on(this._keytipManager,f.KeytipEvents.ENTER_KEYTIP_MODE,this._enterKeytipMode),this._events.on(this._keytipManager,f.KeytipEvents.EXIT_KEYTIP_MODE,this._exitKeytipMode)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.getCurrentSequence=function(){return this._currentSequence},t.prototype.getKeytipTree=function(){return this._keytipTree},t.prototype.processTransitionInput=function(e,t){var n=this._keytipTree.currentKeytip;p.transitionKeysContain(this.props.keytipExitSequences,e)&&n?(this._keyHandled=!0,this._exitKeytipMode(t)):p.transitionKeysContain(this.props.keytipReturnSequences,e)?n&&(this._keyHandled=!0,n.id===this._keytipTree.root.id?this._exitKeytipMode(t):(n.onReturn&&n.onReturn(this._getKtpExecuteTarget(n),this._getKtpTarget(n)),this._currentSequence="",this._keytipTree.currentKeytip=this._keytipTree.getNode(n.parent),this.showKeytips(this._keytipTree.getChildren()),this._warnIfDuplicateKeytips())):p.transitionKeysContain(this.props.keytipStartSequences,e)&&!n&&(this._keyHandled=!0,this._enterKeytipMode(),this._warnIfDuplicateKeytips())},t.prototype.processInput=function(e,t){var n=this._currentSequence+e,o=this._keytipTree.currentKeytip;if(o){var r=this._keytipTree.getExactMatchedNode(n,o);if(r){this._keytipTree.currentKeytip=o=r;var i=this._keytipTree.getChildren();return o.onExecute&&(o.onExecute(this._getKtpExecuteTarget(o),this._getKtpTarget(o)),o=this._keytipTree.currentKeytip),0!==i.length||o.hasDynamicChildren||o.hasMenu?(this.showKeytips(i),this._warnIfDuplicateKeytips()):this._exitKeytipMode(t),void(this._currentSequence="")}var s=this._keytipTree.getPartiallyMatchedNodes(n,o);if(s.length>0){var a=s.filter((function(e){return!e.persisted})).map((function(e){return e.id}));this.showKeytips(a),this._currentSequence=n}}},t.prototype.showKeytips=function(e){for(var t=0,n=this._keytipManager.getKeytips();t=0||o.overflowSetSequence&&e.indexOf(d.sequencesToID(d.mergeOverflows(o.keySequences,o.overflowSetSequence)))>=0?o.visible=!0:o.visible=!1}this._setKeytips()},t.prototype._enterKeytipMode=function(){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())},t.prototype._buildTree=function(){this._keytipTree=new u.KeytipTree;for(var e=0,t=Object.keys(this._keytipManager.keytips);e=0&&(this._delayedKeytipQueue.splice(n,1),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedQueueTimeout=this._async.setTimeout((function(){t._delayedKeytipQueue.length&&(t.showKeytips(t._delayedKeytipQueue),t._delayedKeytipQueue=[])}),300))},t.prototype._getKtpExecuteTarget=function(e){return l.getDocument().querySelector(d.ktpTargetFromId(e.id))},t.prototype._getKtpTarget=function(e){return l.getDocument().querySelector(d.ktpTargetFromSequences(e.keySequences))},t.prototype._isCurrentKeytipAnAlias=function(e){var t=this._keytipTree.currentKeytip;return!(!t||!t.overflowSetSequence&&!t.persisted||!l.arraysEqual(e.keySequences,t.keySequences))},t.defaultProps={keytipStartSequences:[h],keytipExitSequences:[m],keytipReturnSequences:[g],content:""},t}(r.Component);t.KeytipLayerBase=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.getLayerStyles=function(e){return{root:[{zIndex:o.ZIndexes.KeytipLayer}]}},t.getStyles=function(e){return{innerContent:[{position:"absolute",width:0,height:0,margin:0,padding:0,border:0,overflow:"hidden",visibility:"hidden"}]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=n(5),l=n(145),c=i.classNamesFunction(),u=function(e){function t(t){var n,o=e.call(this,t)||this;return o.ICON_MAP=((n={})[l.MessageBarType.info]="Info",n[l.MessageBarType.warning]="Info",n[l.MessageBarType.error]="ErrorBadge",n[l.MessageBarType.blocked]="Blocked2",n[l.MessageBarType.severeWarning]="Warning",n[l.MessageBarType.success]="Completed",n),o._getRegionProps=function(){var e=!!o._getActionsDiv()||!!o._getDismissDiv(),t={"aria-describedby":o.state.labelId,role:"region"};return e?t:{}},o._onClick=function(e){o.setState({expandSingleLine:!o.state.expandSingleLine})},i.initializeComponentRef(o),o.state={labelId:i.getId("MessageBar"),showContent:!1,expandSingleLine:!1},o}return o.__extends(t,e),t.prototype.render=function(){var e=this.props.isMultiline;return this._classNames=this._getClassNames(),e?this._renderMultiLine():this._renderSingleLine()},t.prototype._getActionsDiv=function(){return this.props.actions?r.createElement("div",{className:this._classNames.actions},this.props.actions):null},t.prototype._getDismissDiv=function(){var e=this.props,t=e.onDismiss,n=e.dismissIconProps;return t?r.createElement(s.IconButton,{disabled:!1,className:this._classNames.dismissal,onClick:t,iconProps:n||{iconName:"Clear"},title:this.props.dismissButtonAriaLabel,ariaLabel:this.props.dismissButtonAriaLabel}):null},t.prototype._getDismissSingleLine=function(){return this.props.onDismiss?r.createElement("div",{className:this._classNames.dismissSingleLine},this._getDismissDiv()):null},t.prototype._getExpandSingleLine=function(){return!this.props.actions&&this.props.truncated?r.createElement("div",{className:this._classNames.expandSingleLine},r.createElement(s.IconButton,{disabled:!1,className:this._classNames.expand,onClick:this._onClick,iconProps:{iconName:this.state.expandSingleLine?"DoubleChevronUp":"DoubleChevronDown"},ariaLabel:this.props.overflowButtonAriaLabel,"aria-expanded":this.state.expandSingleLine})):null},t.prototype._getIconSpan=function(){var e=this.props.messageBarIconProps;return r.createElement("div",{className:this._classNames.iconContainer,"aria-hidden":!0},e?r.createElement(a.Icon,o.__assign({},e,{className:i.css(this._classNames.icon,e.className)})):r.createElement(a.Icon,{iconName:this.ICON_MAP[this.props.messageBarType],className:this._classNames.icon}))},t.prototype._renderMultiLine=function(){return r.createElement("div",o.__assign({className:this._classNames.root},this._getRegionProps()),r.createElement("div",{className:this._classNames.content},this._getIconSpan(),this._renderInnerText(),this._getDismissDiv()),this._getActionsDiv())},t.prototype._renderSingleLine=function(){return r.createElement("div",o.__assign({className:this._classNames.root},this._getRegionProps()),r.createElement("div",{className:this._classNames.content},this._getIconSpan(),this._renderInnerText(),this._getExpandSingleLine(),this._getActionsDiv(),this._getDismissSingleLine()))},t.prototype._renderInnerText=function(){var e=i.getNativeProps(this.props,i.htmlElementProperties,["className"]);return r.createElement("div",{className:this._classNames.text,id:this.state.labelId,role:"status","aria-live":this._getAnnouncementPriority()},r.createElement("span",o.__assign({className:this._classNames.innerText},e),r.createElement(i.DelayedRender,null,r.createElement("span",null,this.props.children))))},t.prototype._getClassNames=function(){var e=this.props,t=e.theme,n=e.className,o=e.messageBarType,r=e.onDismiss,i=e.actions,s=e.truncated,a=e.isMultiline,u=this.state.expandSingleLine;return c(this.props.styles,{theme:t,messageBarType:o||l.MessageBarType.info,onDismiss:void 0!==r,actions:void 0!==i,truncated:s,isMultiline:a,expandSingleLine:u,className:n})},t.prototype._getAnnouncementPriority=function(){switch(this.props.messageBarType){case l.MessageBarType.blocked:case l.MessageBarType.error:case l.MessageBarType.severeWarning:return"assertive"}return"polite"},t.defaultProps={messageBarType:l.MessageBarType.info,onDismiss:void 0,isMultiline:!0},t}(r.Component);t.MessageBarBase=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(1),i=n(0),s=n(9),a=n(357),l=n(2),c=n(12),u=n(5),d=n(6);function p(e){return!!e&&!/^[a-z0-9+-.]+:\/\//i.test(e)}t.isRelativeUrl=p;var f=l.classNamesFunction(),h=function(e){function t(t){var n=e.call(this,t)||this;return n._focusZone=i.createRef(),n._onRenderLink=function(e){var t=n.props,o=t.styles,r=t.groups,s=t.theme,a=f(o,{theme:s,groups:r});return i.createElement("div",{className:a.linkText},e.name)},n._renderGroup=function(e,t){var o=n.props,s=o.styles,a=o.groups,l=o.theme,c=o.onRenderGroupHeader,u=void 0===c?n._renderGroupHeader:c,d=n._isGroupExpanded(e),p=f(s,{theme:l,isGroup:!0,isExpanded:d,groups:a}),h=r.__assign(r.__assign({},e),{isExpanded:d,onHeaderClick:function(t,o){n._onGroupHeaderClicked(e,t)}});return i.createElement("div",{key:t,className:p.group},h.name?u(h,n._renderGroupHeader):null,i.createElement("div",{className:p.groupContent},n._renderLinks(h.links,0)))},n._renderGroupHeader=function(e){var t=n.props,o=t.styles,r=t.groups,s=t.theme,a=t.expandButtonAriaLabel,l=e.isExpanded,c=f(o,{theme:s,isGroup:!0,isExpanded:l,groups:r}),d=(l?e.collapseAriaLabel:e.expandAriaLabel)||a,p=e.onHeaderClick,h=p?function(e){p(e,l)}:void 0;return i.createElement("button",{className:c.chevronButton,onClick:h,"aria-label":d,"aria-expanded":l},i.createElement(u.Icon,{className:c.chevronIcon,iconName:"ChevronDown"}),e.name)},l.initializeComponentRef(n),n.state={isGroupCollapsed:{},isLinkExpandStateChanged:!1,selectedKey:t.initialSelectedKey||t.selectedKey},n}return r.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.groups,o=e.className,r=e.isOnTop,s=e.theme;if(!n)return null;var a=n.map(this._renderGroup),l=f(t,{theme:s,className:o,isOnTop:r,groups:n});return i.createElement(c.FocusZone,{direction:c.FocusZoneDirection.vertical,componentRef:this._focusZone},i.createElement("nav",{role:"navigation",className:l.root,"aria-label":this.props.ariaLabel},a))},Object.defineProperty(t.prototype,"selectedKey",{get:function(){return this.state.selectedKey},enumerable:!0,configurable:!0}),t.prototype.focus=function(e){return void 0===e&&(e=!1),!(!this._focusZone||!this._focusZone.current)&&this._focusZone.current.focus(e)},t.prototype._renderNavLink=function(e,t,n){var o=this.props,r=o.styles,l=o.groups,c=o.theme,u=e.icon||e.iconProps,h=this._isLinkSelected(e),m=e.ariaCurrent,g=void 0===m?"page":m,v=f(r,{theme:c,isSelected:h,isDisabled:e.disabled,isButtonEntry:e.onClick&&!e.forceAnchor,leftPadding:14*n+3+(u?0:24),groups:l}),_=e.url&&e.target&&!p(e.url)?"noopener noreferrer":void 0,y=this.props.linkAs?d.composeComponentAs(this.props.linkAs,s.ActionButton):s.ActionButton,b=this.props.onRenderLink?d.composeRenderFunction(this.props.onRenderLink,this._onRenderLink):this._onRenderLink;return i.createElement(y,{className:v.link,styles:a.buttonStyles,href:e.url||(e.forceAnchor?"#":void 0),iconProps:e.iconProps||{iconName:e.icon},onClick:e.onClick?this._onNavButtonLinkClicked.bind(this,e):this._onNavAnchorLinkClicked.bind(this,e),title:void 0!==e.title?e.title:e.name,target:e.target,rel:_,disabled:e.disabled,"aria-current":h?g:void 0,"aria-label":e.ariaLabel?e.ariaLabel:void 0,link:e},b(e))},t.prototype._renderCompositeLink=function(e,t,n){var o=r.__assign({},l.getNativeProps(e,l.divProperties,["onClick"])),s=this.props,a=s.expandButtonAriaLabel,c=s.styles,d=s.groups,p=s.theme,h=f(c,{theme:p,isExpanded:!!e.isExpanded,isSelected:this._isLinkSelected(e),isLink:!0,isDisabled:e.disabled,position:14*n+1,groups:d}),m="";return e.links&&e.links.length>0&&(m=e.collapseAriaLabel||e.expandAriaLabel?e.isExpanded?e.collapseAriaLabel:e.expandAriaLabel:a?e.name+" "+a:e.name),i.createElement("div",r.__assign({},o,{key:e.key||t,className:h.compositeLink}),e.links&&e.links.length>0?i.createElement("button",{className:h.chevronButton,onClick:this._onLinkExpandClicked.bind(this,e),"aria-label":m,"aria-expanded":e.isExpanded?"true":"false"},i.createElement(u.Icon,{className:h.chevronIcon,iconName:"ChevronDown"})):null,this._renderNavLink(e,t,n))},t.prototype._renderLink=function(e,t,n){var o=this.props,r=o.styles,s=o.groups,a=o.theme,l=f(r,{theme:a,groups:s});return i.createElement("li",{key:e.key||t,role:"listitem",className:l.navItem},this._renderCompositeLink(e,t,n),e.isExpanded?this._renderLinks(e.links,++n):null)},t.prototype._renderLinks=function(e,t){var n=this;if(!e||!e.length)return null;var o=e.map((function(e,o){return n._renderLink(e,o,t)})),r=this.props,s=r.styles,a=r.groups,l=r.theme,c=f(s,{theme:l,groups:a});return i.createElement("ul",{role:"list",className:c.navItems},o)},t.prototype._onGroupHeaderClicked=function(e,t){e.onHeaderClick&&e.onHeaderClick(t,this._isGroupExpanded(e)),this._toggleCollapsed(e),t&&(t.preventDefault(),t.stopPropagation())},t.prototype._onLinkExpandClicked=function(e,t){var n=this.props.onLinkExpandClick;n&&n(t,e),t.defaultPrevented||(e.isExpanded=!e.isExpanded,this.setState({isLinkExpandStateChanged:!0})),t.preventDefault(),t.stopPropagation()},t.prototype._preventBounce=function(e,t){!e.url&&e.forceAnchor&&t.preventDefault()},t.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})},t.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})},t.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===l.getWindow()||!e.url)return!1;(o=o||document.createElement("a")).href=e.url||"";var t=o.href;return location.href===t||(location.protocol+"//"+location.host+location.pathname===t||!!location.hash&&(location.hash===e.url||(o.href=location.hash.substring(1),o.href===t)))},t.prototype._isGroupExpanded=function(e){return e.name&&this.state.isGroupCollapsed.hasOwnProperty(e.name)?!this.state.isGroupCollapsed[e.name]:void 0===e.collapseByDefault||!e.collapseByDefault},t.prototype._toggleCollapsed=function(e){var t;if(e.name){var n=r.__assign(r.__assign({},this.state.isGroupCollapsed),((t={})[e.name]=this._isGroupExpanded(e),t));this.setState({isGroupCollapsed:n})}},t.defaultProps={groups:null},t}(i.Component);t.NavBase=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r={root:"ms-Nav",linkText:"ms-Nav-linkText",compositeLink:"ms-Nav-compositeLink",link:"ms-Nav-link",chevronButton:"ms-Nav-chevronButton",chevronIcon:"ms-Nav-chevron",navItem:"ms-Nav-navItem",navItems:"ms-Nav-navItems",group:"ms-Nav-group",groupContent:"ms-Nav-groupContent"};t.buttonStyles={textContainer:{overflow:"hidden"},label:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"}},t.getStyles=function(e){var t,n=e.className,i=e.theme,s=e.isOnTop,a=e.isExpanded,l=e.isGroup,c=e.isLink,u=e.isSelected,d=e.isDisabled,p=e.isButtonEntry,f=e.navHeight,h=void 0===f?44:f,m=e.position,g=e.leftPadding,v=void 0===g?20:g,_=e.leftPaddingExpanded,y=void 0===_?28:_,b=e.rightPadding,S=void 0===b?20:b,C=i.palette,x=i.semanticColors,k=i.fonts,w=o.getGlobalClassNames(r,i);return{root:[w.root,n,k.medium,{overflowY:"auto",userSelect:"none",WebkitOverflowScrolling:"touch"},s&&[{position:"absolute"},o.AnimationClassNames.slideRightIn40]],linkText:[w.linkText,{margin:"0 4px",overflow:"hidden",verticalAlign:"middle",textAlign:"left",textOverflow:"ellipsis"}],compositeLink:[w.compositeLink,{display:"block",position:"relative",color:x.bodyText},a&&"is-expanded",u&&"is-selected",d&&"is-disabled",d&&{color:x.disabledText}],link:[w.link,o.getFocusStyle(i),{display:"block",position:"relative",height:h,width:"100%",lineHeight:h+"px",textDecoration:"none",cursor:"pointer",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",paddingLeft:v,paddingRight:S,color:x.bodyText,selectors:(t={},t[o.HighContrastSelector]={border:0,selectors:{":focus":{border:"1px solid WindowText"}}},t)},!d&&{selectors:{".ms-Nav-compositeLink:hover &":{backgroundColor:x.bodyBackgroundHovered}}},u&&{color:x.bodyTextChecked,fontWeight:o.FontWeights.semibold,backgroundColor:x.bodyBackgroundChecked,selectors:{"&:after":{borderLeft:"2px solid "+C.themePrimary,content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}},d&&{color:x.disabledText},p&&{color:C.themePrimary}],chevronButton:[w.chevronButton,o.getFocusStyle(i),k.small,{display:"block",textAlign:"left",lineHeight:h+"px",margin:"5px 0",padding:"0px, "+S+"px, 0px, "+y+"px",border:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",cursor:"pointer",color:x.bodyText,backgroundColor:"transparent",selectors:{"&:visited":{color:x.bodyText}}},l&&{fontSize:k.large.fontSize,width:"100%",height:h,borderBottom:"1px solid "+x.bodyDivider},c&&{display:"block",width:y-2,height:h-2,position:"absolute",top:"1px",left:m+"px",zIndex:o.ZIndexes.Nav,padding:0,margin:0},u&&{color:C.themePrimary,backgroundColor:C.neutralLighterAlt,selectors:{"&:after":{borderLeft:"2px solid "+C.themePrimary,content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}}],chevronIcon:[w.chevronIcon,{position:"absolute",left:"8px",height:h,lineHeight:h+"px",fontSize:k.small.fontSize,transition:"transform .1s linear"},a&&{transform:"rotate(-180deg)"},c&&{top:0}],navItem:[w.navItem,{padding:0}],navItems:[w.navItems,{listStyleType:"none",padding:0,margin:0}],group:[w.group,a&&"is-expanded"],groupContent:[w.groupContent,{display:"none",marginBottom:"40px"},o.AnimationClassNames.slideDownIn20,a&&{display:"block"}]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=n(12),l=n(359),c=n(146),u=n(146),d=n(5),p=i.classNamesFunction(),f=function(e){function t(t){var n=e.call(this,t)||this;n._focusZone=r.createRef(),n._renderPivotLink=function(e,t,i){var a,l=t.itemKey,c=t.headerButtonProps,u=e.keyToTabIdMapping[l],d=t.onRenderItemLink,p=i===l;a=d?d(t,n._renderLinkContent):n._renderLinkContent(t);var f=t.headerText||"";return f+=t.itemCount?" ("+t.itemCount+")":"",f+=t.itemIcon?" xx":"",r.createElement(s.CommandButton,o.__assign({},c,{id:u,key:l,className:p?n._classNames.linkIsSelected:n._classNames.link,onClick:n._onLinkClick.bind(n,l),onKeyDown:n._onKeyDown.bind(n,l),"aria-label":t.ariaLabel,role:"tab","aria-selected":p,name:t.headerText,keytipProps:t.keytipProps,"data-content":f}),a)},n._renderLinkContent=function(e){var t=e.itemCount,o=e.itemIcon,i=e.headerText,s=n._classNames;return r.createElement("span",{className:s.linkContent},void 0!==o&&r.createElement("span",{className:s.icon},r.createElement(d.Icon,{iconName:o})),void 0!==i&&r.createElement("span",{className:s.text}," ",e.headerText),void 0!==t&&r.createElement("span",{className:s.count}," (",t,")"))},i.initializeComponentRef(n),n._pivotId=i.getId("Pivot");var a,l=n._getPivotLinks(t).links,c=t.defaultSelectedKey,u=void 0===c?t.initialSelectedKey:c,p=t.defaultSelectedIndex,f=void 0===p?t.initialSelectedIndex:p;return u?a=u:"number"==typeof f?a=l[f].itemKey:l.length&&(a=l[0].itemKey),n.state={selectedKey:a},n}return o.__extends(t,e),t.prototype.focus=function(){this._focusZone.current&&this._focusZone.current.focus()},t.prototype.render=function(){var e=this,t=this._getPivotLinks(this.props),n=this._getSelectedKey(t),s=i.getNativeProps(this.props,i.divProperties);return this._classNames=this._getClassNames(this.props),r.createElement("div",o.__assign({role:"toolbar"},s),this._renderPivotLinks(t,n),n&&t.links.map((function(o){return(!0===o.alwaysRender||n===o.itemKey)&&e._renderPivotItem(t,o.itemKey,n===o.itemKey)})))},t.prototype._getSelectedKey=function(e){var t=this.props.selectedKey;if(this._isKeyValid(e,t)||null===t)return t;var n=this.state.selectedKey;return this._isKeyValid(e,n)?n:e.links.length?e.links[0].itemKey:void 0},t.prototype._renderPivotLinks=function(e,t){var n=this,o=e.links.map((function(o){return n._renderPivotLink(e,o,t)}));return r.createElement(a.FocusZone,{className:this._classNames.root,role:"tablist",componentRef:this._focusZone,direction:a.FocusZoneDirection.horizontal},o)},t.prototype._renderPivotItem=function(e,t,n){if(this.props.headersOnly||!t)return null;var o=e.keyToIndexMapping[t],i=e.keyToTabIdMapping[t];return r.createElement("div",{role:"tabpanel",hidden:!n,key:t,"aria-hidden":!n,"aria-labelledby":i,className:this._classNames.itemContainer},r.Children.toArray(this.props.children)[o])},t.prototype._getPivotLinks=function(e){var t=this,n={links:[],keyToIndexMapping:{},keyToTabIdMapping:{}};return r.Children.map(r.Children.toArray(e.children),(function(e,r){if(h(e)){var s=e,a=s.props,l=a.linkText,c=o.__rest(a,["linkText"]),u=s.props.itemKey||r.toString();n.links.push(o.__assign(o.__assign({headerText:l},c),{itemKey:u})),n.keyToIndexMapping[u]=r,n.keyToTabIdMapping[u]=t._getTabId(u,r)}else i.warn("The children of a Pivot component must be of type PivotItem to be rendered.")})),n},t.prototype._getTabId=function(e,t){return this.props.getTabId?this.props.getTabId(e,t):this._pivotId+"-Tab"+t},t.prototype._isKeyValid=function(e,t){return null!=t&&void 0!==e.keyToIndexMapping[t]},t.prototype._onLinkClick=function(e,t){t.preventDefault(),this._updateSelectedItem(e,t)},t.prototype._onKeyDown=function(e,t){t.which===i.KeyCodes.enter&&(t.preventDefault(),this._updateSelectedItem(e))},t.prototype._updateSelectedItem=function(e,t){this.setState({selectedKey:e});var n=this._getPivotLinks(this.props);if(this.props.onLinkClick&&n.keyToIndexMapping[e]>=0){var o=n.keyToIndexMapping[e],i=r.Children.toArray(this.props.children)[o];h(i)&&this.props.onLinkClick(i,t)}},t.prototype._getClassNames=function(e){var t=e.theme,n=e.linkSize===u.PivotLinkSize.large,o=e.linkFormat===c.PivotLinkFormat.tabs;return p(e.styles,{theme:t,rootIsLarge:n,rootIsTabs:o})},t}(r.Component);function h(e){return!!e&&"object"==typeof e&&!!e.type&&e.type.name===l.PivotItem.name}t.PivotBase=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=function(e){function t(t){var n=e.call(this,t)||this;return i.initializeComponentRef(n),i.warnDeprecations("PivotItem",t,{linkText:"headerText"}),n}return o.__extends(t,e),t.prototype.render=function(){return r.createElement("div",o.__assign({},i.getNativeProps(this.props,i.divProperties)),this.props.children)},t}(r.Component);t.PivotItem=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2).classNamesFunction(),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderProgress=function(e){var n=t.props,o=n.ariaValueText,s=n.barHeight,a=n.className,l=n.styles,c=n.theme,u="number"==typeof t.props.percentComplete?Math.min(100,Math.max(0,100*t.props.percentComplete)):void 0,d=i(l,{theme:c,className:a,barHeight:s,indeterminate:void 0===u}),p={width:void 0!==u?u+"%":void 0,transition:void 0!==u&&u<.01?"none":void 0},f=void 0!==u?0:void 0,h=void 0!==u?100:void 0,m=void 0!==u?Math.floor(u):void 0;return r.createElement("div",{className:d.itemProgress},r.createElement("div",{className:d.progressTrack}),r.createElement("div",{className:d.progressBar,style:p,role:"progressbar","aria-valuemin":f,"aria-valuemax":h,"aria-valuenow":m,"aria-valuetext":o}))},t}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.barHeight,n=e.className,s=e.label,a=void 0===s?this.props.title:s,l=e.description,c=e.styles,u=e.theme,d=e.progressHidden,p=e.onRenderProgress,f=void 0===p?this._onRenderProgress:p,h="number"==typeof this.props.percentComplete?Math.min(100,Math.max(0,100*this.props.percentComplete)):void 0,m=i(c,{theme:u,className:n,barHeight:t,indeterminate:void 0===h});return r.createElement("div",{className:m.root},a?r.createElement("div",{className:m.itemName},a):null,d?null:f(o.__assign(o.__assign({},this.props),{percentComplete:h}),this._onRenderProgress),l?r.createElement("div",{className:m.itemDescription},l):null)},t.defaultProps={label:"",description:"",width:180},t}(r.Component);t.ProgressIndicatorBase=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(5),a=n(12),l=n(362),c=i.classNamesFunction(),u=function(e){var t=e.icon||"FavoriteStarFill";return r.createElement("div",{className:e.classNames.ratingStar,key:e.id},r.createElement(s.Icon,{className:e.classNames.ratingStarBack,iconName:t}),!e.disabled&&r.createElement(s.Icon,{className:e.classNames.ratingStarFront,iconName:t,style:{width:e.fillPercentage+"%"}}))},d=function(e){function t(t){var n=e.call(this,t)||this;return i.initializeComponentRef(n),i.warnDeprecations("Rating",t,{onChanged:"onChange"}),n._id=i.getId("Rating"),n._min=n.props.allowZeroStars?0:1,void 0!==n.props.min&&1!==n.props.min&&(n._min=n.props.min),n._labelId=i.getId("RatingLabel"),n.state={rating:n._getInitialValue(t)},n}return o.__extends(t,e),t.prototype.render=function(){var e,t,n,s=this.props,d=s.disabled,p=s.getAriaLabel,f=s.styles,h=s.max,m=s.readOnly,g=s.size,v=s.theme,_=s.icon,y=void 0===_?"FavoriteStarFill":_,b=s.unselectedIcon,S=void 0===b?"FavoriteStar":b,C=this._id,x=[],k=[],w=this._getRating(),P=i.getNativeProps(this.props,i.divProperties);this._classNames=c(f,{disabled:d,readOnly:m,theme:v});for(var E=this._min;E<=h;E++)if(0!==E){var I=this._getFillingPercentage(E),T={fillPercentage:I,disabled:d,classNames:this._classNames,icon:I>0?y:S};k.push(this._getStarId(E-1)),x.push(r.createElement("button",o.__assign({className:i.css(this._classNames.ratingButton,(e={},e[this._classNames.ratingStarIsLarge]=g===l.RatingSize.Large,e[this._classNames.ratingStarIsSmall]=g!==l.RatingSize.Large,e)),id:k[E-1],key:E},E===Math.ceil(w)?{"data-is-current":!0}:{},{onFocus:this._onFocus.bind(this,E),onClick:this._onFocus.bind(this,E),disabled:!(!d&&!m),role:"presentation",type:"button"}),this._getLabel(E),r.createElement(u,o.__assign({key:E+"rating"},T))))}var D=p?p(w||0,h):void 0,M=m?{allowFocusRoot:!0,disabled:!0,"aria-label":D,"aria-readonly":!0,"data-is-focusable":!0,tabIndex:0}:void 0;return r.createElement("div",o.__assign({className:i.css("ms-Rating-star",this._classNames.root,(t={},t[this._classNames.rootIsLarge]=g===l.RatingSize.Large,t[this._classNames.rootIsSmall]=g!==l.RatingSize.Large,t)),"aria-label":m?"":D,id:C},P),r.createElement(a.FocusZone,o.__assign({direction:a.FocusZoneDirection.horizontal,className:i.css(this._classNames.ratingFocusZone,(n={},n[this._classNames.rootIsLarge]=g===l.RatingSize.Large,n[this._classNames.rootIsSmall]=g!==l.RatingSize.Large,n)),defaultActiveElement:w?k[Math.ceil(w)-1]&&"#"+k[Math.ceil(w)-1]:void 0},M),x))},t.prototype._getStarId=function(e){return this._id+"-star-"+e},t.prototype._onFocus=function(e,t){if(Math.ceil(this.state.rating)!==e){this.setState({rating:e});var n=this.props,o=n.onChange,r=n.onChanged;o&&o(t,e),r&&r(e)}},t.prototype._getLabel=function(e){var t=this.props.ariaLabelFormat||"";return r.createElement("span",{id:this._labelId+"-"+e,className:this._classNames.labelText},i.format(t,e,this.props.max))},t.prototype._getInitialValue=function(e){return void 0===e.rating?this._min:null!==e.rating?this._getClampedRating(e.rating):void 0},t.prototype._getClampedRating=function(e){return Math.min(Math.max(e,this._min),this.props.max)},t.prototype._getRating=function(){return void 0!==this.props.rating?this._getClampedRating(this.props.rating):void 0!==this.state.rating&&null!==this.state.rating?this._getClampedRating(this.state.rating):0},t.prototype._getFillingPercentage=function(e){var t=this._getRating(),n=Math.ceil(t),o=100;return e===t?o=100:e===n?o=t%1*100:e>n&&(o=0),o},t.defaultProps={min:1,max:5},t}(r.Component);t.RatingBase=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Small=0]="Small",e[e.Large=1]="Large"}(t.RatingSize||(t.RatingSize={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(147),a=i.classNamesFunction(),l=function(e){function t(t){var n=e.call(this,t)||this;return n._root=r.createRef(),n._stickyAboveRef=r.createRef(),n._stickyBelowRef=r.createRef(),n._contentContainer=r.createRef(),n.subscribe=function(e){n._subscribers.add(e)},n.unsubscribe=function(e){n._subscribers.delete(e)},n.addSticky=function(e){n._stickies.add(e),n.contentContainer&&(e.setDistanceFromTop(n.contentContainer),n.sortSticky(e))},n.removeSticky=function(e){n._stickies.delete(e),n._removeStickyFromContainers(e),n.notifySubscribers()},n.sortSticky=function(e,t){n.stickyAbove&&n.stickyBelow&&(t&&n._removeStickyFromContainers(e),e.canStickyTop&&e.stickyContentTop&&n._addToStickyContainer(e,n.stickyAbove,e.stickyContentTop),e.canStickyBottom&&e.stickyContentBottom&&n._addToStickyContainer(e,n.stickyBelow,e.stickyContentBottom))},n.updateStickyRefHeights=function(){var e=n._stickies,t=0,o=0;e.forEach((function(e){var r=e.state,i=r.isStickyTop,s=r.isStickyBottom;e.nonStickyContent&&(i&&(t+=e.nonStickyContent.offsetHeight),s&&(o+=e.nonStickyContent.offsetHeight),n._checkStickyStatus(e))})),n.setState({stickyTopHeight:t,stickyBottomHeight:o})},n.notifySubscribers=function(){n.contentContainer&&n._subscribers.forEach((function(e){e(n.contentContainer,n.stickyBelow)}))},n.getScrollPosition=function(){return n.contentContainer?n.contentContainer.scrollTop:0},n.syncScrollSticky=function(e){e&&n.contentContainer&&e.syncScroll(n.contentContainer)},n._getScrollablePaneContext=function(){return{scrollablePane:{subscribe:n.subscribe,unsubscribe:n.unsubscribe,addSticky:n.addSticky,removeSticky:n.removeSticky,updateStickyRefHeights:n.updateStickyRefHeights,sortSticky:n.sortSticky,notifySubscribers:n.notifySubscribers,syncScrollSticky:n.syncScrollSticky}}},n._addToStickyContainer=function(e,t,o){if(t.children.length){if(!t.contains(o)){var r=[].slice.call(t.children),i=[];n._stickies.forEach((function(o){(t===n.stickyAbove&&e.canStickyTop||e.canStickyBottom)&&i.push(o)}));for(var s=void 0,a=0,l=i.sort((function(e,t){return(e.state.distanceFromTop||0)-(t.state.distanceFromTop||0)})).filter((function(e){var o=t===n.stickyAbove?e.stickyContentTop:e.stickyContentBottom;if(o)return r.indexOf(o)>-1}));a=(e.state.distanceFromTop||0)){s=c;break}}var u=null;s&&(u=t===n.stickyAbove?s.stickyContentTop:s.stickyContentBottom),t.insertBefore(o,u)}}else t.appendChild(o)},n._removeStickyFromContainers=function(e){n.stickyAbove&&e.stickyContentTop&&n.stickyAbove.contains(e.stickyContentTop)&&n.stickyAbove.removeChild(e.stickyContentTop),n.stickyBelow&&e.stickyContentBottom&&n.stickyBelow.contains(e.stickyContentBottom)&&n.stickyBelow.removeChild(e.stickyContentBottom)},n._onWindowResize=function(){var e=n._getScrollbarWidth(),t=n._getScrollbarHeight();n.setState({scrollbarWidth:e,scrollbarHeight:t}),n.notifySubscribers()},n._getStickyContainerStyle=function(e,t){return o.__assign(o.__assign({height:e},i.getRTL(n.props.theme)?{right:"0",left:(n.state.scrollbarWidth||n._getScrollbarWidth()||0)+"px"}:{left:"0",right:(n.state.scrollbarWidth||n._getScrollbarWidth()||0)+"px"}),t?{top:"0"}:{bottom:(n.state.scrollbarHeight||n._getScrollbarHeight()||0)+"px"})},n._onScroll=function(){var e=n.contentContainer;e&&n._stickies.forEach((function(t){t.syncScroll(e)})),n._notifyThrottled()},n._subscribers=new Set,n._stickies=new Set,i.initializeComponentRef(n),n._async=new i.Async(n),n._events=new i.EventGroup(n),n.state={stickyTopHeight:0,stickyBottomHeight:0,scrollbarWidth:0,scrollbarHeight:0},n._notifyThrottled=n._async.throttle(n.notifySubscribers,50),n}return o.__extends(t,e),Object.defineProperty(t.prototype,"root",{get:function(){return this._root.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyAbove",{get:function(){return this._stickyAboveRef.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyBelow",{get:function(){return this._stickyBelowRef.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentContainer",{get:function(){return this._contentContainer.current},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){var e=this,t=this.props.initialScrollPosition;this._events.on(this.contentContainer,"scroll",this._onScroll),this._events.on(window,"resize",this._onWindowResize),this.contentContainer&&t&&(this.contentContainer.scrollTop=t),this.setStickiesDistanceFromTop(),this._stickies.forEach((function(t){e.sortSticky(t)})),this.notifySubscribers(),"MutationObserver"in window&&(this._mutationObserver=new MutationObserver((function(t){var n=e._getScrollbarHeight();if(n!==e.state.scrollbarHeight&&e.setState({scrollbarHeight:n}),e.notifySubscribers(),t.some(function(e){return null!==this.stickyAbove&&null!==this.stickyBelow&&(this.stickyAbove.contains(e.target)||this.stickyBelow.contains(e.target))}.bind(e)))e.updateStickyRefHeights();else{var o=[];e._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}))},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._mutationObserver&&this._mutationObserver.disconnect()},t.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},t.prototype.componentDidUpdate=function(e,t){var n=this.props.initialScrollPosition;this.contentContainer&&"number"==typeof n&&e.initialScrollPosition!==n&&(this.contentContainer.scrollTop=n),t.stickyTopHeight===this.state.stickyTopHeight&&t.stickyBottomHeight===this.state.stickyBottomHeight||this.notifySubscribers(),this._async.setTimeout(this._onWindowResize,0)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.theme,l=e.styles,c=this.state,u=c.stickyTopHeight,d=c.stickyBottomHeight,p=a(l,{theme:n,className:t,scrollbarVisibility:this.props.scrollbarVisibility});return r.createElement("div",o.__assign({},i.getNativeProps(this.props,i.divProperties),{ref:this._root,className:p.root}),r.createElement("div",{"aria-hidden":"true",ref:this._stickyAboveRef,className:p.stickyAbove,style:this._getStickyContainerStyle(u,!0)}),r.createElement("div",{ref:this._contentContainer,className:p.contentContainer,"data-is-scrollable":!0},r.createElement(s.ScrollablePaneContext.Provider,{value:this._getScrollablePaneContext()},this.props.children)),r.createElement("div",{"aria-hidden":"true",className:p.stickyBelow,style:this._getStickyContainerStyle(d,!1)},r.createElement("div",{ref:this._stickyBelowRef,className:p.stickyBelowItems})))},t.prototype.setStickiesDistanceFromTop=function(){var e=this;this.contentContainer&&this._stickies.forEach((function(t){t.setDistanceFromTop(e.contentContainer)}))},t.prototype.forceLayoutUpdate=function(){this._onWindowResize()},t.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())},t.prototype._getScrollbarWidth=function(){var e=this.contentContainer;return e?e.offsetWidth-e.clientWidth:0},t.prototype._getScrollbarHeight=function(){var e=this.contentContainer;return e?e.offsetHeight-e.clientHeight:0},t}(r.Component);t.ScrollablePaneBase=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=n(5),l=i.classNamesFunction(),c=function(e){function t(t){var n=e.call(this,t)||this;return n._rootElement=r.createRef(),n._inputElement=r.createRef(),n._onClickFocus=function(){var e=n._inputElement.current;e&&(n.focus(),e.selectionStart=e.selectionEnd=0)},n._onFocusCapture=function(e){n.setState({hasFocus:!0}),n.props.onFocus&&n.props.onFocus(e)},n._onClearClick=function(e){var t=n.props.clearButtonProps;t&&t.onClick&&t.onClick(e),e.defaultPrevented||n._onClear(e)},n._onKeyDown=function(e){switch(e.which){case i.KeyCodes.escape:n.props.onEscape&&n.props.onEscape(e),e.defaultPrevented||n._onClear(e);break;case i.KeyCodes.enter:if(n.props.onSearch){n.props.onSearch(n.state.value);break}return;default:if(n.props.onKeyDown&&n.props.onKeyDown(e),!e.defaultPrevented)return}e.preventDefault(),e.stopPropagation()},n._onBlur=function(e){n.setState({hasFocus:!1}),n.props.onBlur&&n.props.onBlur(e)},n._onInputChange=function(e){var t=e.target.value;t!==n._latestValue&&(n._latestValue=t,n.setState({value:t}),n._callOnChange(e,t))},i.initializeComponentRef(n),i.warnDeprecations("SearchBox",t,{labelText:"placeholder",defaultValue:"value"}),n._latestValue=t.value||"",n._fallbackId=i.getId("SearchBox"),n.state={value:n._latestValue,hasFocus:!1},n}return o.__extends(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){void 0!==e.value&&(this._latestValue=e.value,this.setState({value:e.value||""}))},t.prototype.render=function(){var e=this.props,t=e.ariaLabel,n=e.placeholder,c=e.className,u=e.disabled,d=e.underlined,p=e.styles,f=e.labelText,h=e.theme,m=e.clearButtonProps,g=e.disableAnimation,v=e.iconProps,_=e.id,y=void 0===_?this._fallbackId:_,b=this.state,S=b.value,C=b.hasFocus,x=void 0!==n?n:f,k=l(p,{theme:h,className:c,underlined:d,hasFocus:C,disabled:u,hasInput:S.length>0,disableAnimation:g}),w=i.getNativeProps(this.props,i.inputProperties,["className","placeholder","onFocus","onBlur","value"]);return r.createElement("div",{role:"search",ref:this._rootElement,className:k.root,onFocusCapture:this._onFocusCapture},r.createElement("div",{className:k.iconContainer,onClick:this._onClickFocus,"aria-hidden":!0},r.createElement(a.Icon,o.__assign({iconName:"Search"},v,{className:k.icon}))),r.createElement("input",o.__assign({},w,{id:y,className:k.field,placeholder:x,onChange:this._onInputChange,onInput:this._onInputChange,onBlur:this._onBlur,onKeyDown:this._onKeyDown,value:S,disabled:u,role:"searchbox","aria-label":t,ref:this._inputElement})),S.length>0&&r.createElement("div",{className:k.clearButton},r.createElement(s.IconButton,o.__assign({onBlur:this._onBlur,styles:{root:{height:"auto"},icon:{fontSize:"12px"}},iconProps:{iconName:"Clear"}},m,{onClick:this._onClearClick}))))},t.prototype.focus=function(){this._inputElement.current&&this._inputElement.current.focus()},t.prototype.hasFocus=function(){return!!this.state.hasFocus},t.prototype._onClear=function(e){this.props.onClear&&this.props.onClear(e),e.defaultPrevented||(this._latestValue="",this.setState({value:""}),this._callOnChange(void 0,""),e.stopPropagation(),e.preventDefault(),this.focus())},t.prototype._callOnChange=function(e,t){var n=this.props,o=n.onChange,r=n.onChanged;r&&r(t),o&&o(e,t)},t.defaultProps={disableAnimation:!1,clearButtonProps:{ariaLabel:"Clear text"}},t}(r.Component);t.SearchBoxBase=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(142),s=n(2),a=function(e){function t(t){var n=e.call(this,t)||this;n.addItems=function(e){var t=n.props.onItemSelected?n.props.onItemSelected(e):e,o=t,r=t;if(r&&r.then)r.then((function(e){var t=n.state.items.concat(e);n.updateItems(t)}));else{var i=n.state.items.concat(o);n.updateItems(i)}},n.removeItemAt=function(e){var t=n.state.items;if(n._canRemoveItem(t[e])&&e>-1){n.props.onItemsDeleted&&n.props.onItemsDeleted([t[e]]);var o=t.slice(0,e).concat(t.slice(e+1));n.updateItems(o)}},n.removeItem=function(e){var t=n.state.items.indexOf(e);n.removeItemAt(t)},n.replaceItem=function(e,t){var o=n.state.items,r=o.indexOf(e);if(r>-1){var i=o.slice(0,r).concat(t).concat(o.slice(r+1));n.updateItems(i)}},n.removeItems=function(e){var t=n.state.items,o=e.filter((function(e){return n._canRemoveItem(e)})),r=t.filter((function(e){return-1===o.indexOf(e)})),i=o[0],s=t.indexOf(i);n.props.onItemsDeleted&&n.props.onItemsDeleted(o),n.updateItems(r,s)},n.onCopy=function(e){if(n.props.onCopyItems&&n.selection.getSelectedCount()>0){var t=n.selection.getSelection();n.copyItems(t)}},n.renderItems=function(){var e=n.props.removeButtonAriaLabel,t=n.props.onRenderItem;return n.state.items.map((function(o,r){return t({item:o,index:r,key:o.key?o.key:r,selected:n.selection.isIndexSelected(r),onRemoveItem:function(){return n.removeItem(o)},onItemChange:n.onItemChange,removeButtonAriaLabel:e,onCopyItem:function(e){return n.copyItems([e])}})}))},n.onSelectionChanged=function(){n.forceUpdate()},n.onItemChange=function(e,t){var o=n.state.items;if(t>=0){var r=o;r[t]=e,n.updateItems(r)}},s.initializeComponentRef(n);var o=t.selectedItems||t.defaultSelectedItems||[];return n.state={items:o},n.selection=n.props.selection?n.props.selection:new i.Selection({onSelectionChanged:n.onSelectionChanged}),n}return o.__extends(t,e),Object.defineProperty(t.prototype,"items",{get:function(){return this.state.items},enumerable:!0,configurable:!0}),t.prototype.removeSelectedItems=function(){this.state.items.length&&this.selection.getSelectedCount()>0&&this.removeItems(this.selection.getSelection())},t.prototype.updateItems=function(e,t){var n=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},(function(){n._onSelectedItemsUpdated(e,t)}))},t.prototype.hasSelectedItems=function(){return this.selection.getSelectedCount()>0},t.prototype.unselectAll=function(){this.selection.setAllSelected(!1)},t.prototype.highlightedItems=function(){return this.selection.getSelection()},t.prototype.UNSAFE_componentWillUpdate=function(e,t){t.items&&t.items!==this.state.items&&this.selection.setItems(t.items)},t.prototype.componentDidMount=function(){this.selection.setItems(this.state.items)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=e.selectedItems;t&&this.setState({items:t}),e.selection&&(this.selection=e.selection)},t.prototype.render=function(){return this.renderItems()},t.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},t.prototype.copyItems=function(e){if(this.props.onCopyItems){var t=this.props.onCopyItems(e),n=document.createElement("input");document.body.appendChild(n);try{if(n.value=t,n.select(),!document.execCommand("copy"))throw new Error}catch(e){}finally{document.body.removeChild(n)}}},t.prototype._onSelectedItemsUpdated=function(e,t){this.onChange(e)},t.prototype._canRemoveItem=function(e){return!this.props.canRemoveItem||this.props.canRemoveItem(e)},t}(r.Component);t.BaseSelectedItemsList=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(30),a=n(9),l=n(893),c=function(e){function t(t){var n=e.call(this,t)||this;return n.persona=r.createRef(),i.initializeComponentRef(n),n.state={contextualMenuVisible:!1},n}return o.__extends(t,e),t.prototype.render=function(){var e,t,n=this.props,c=n.item,u=n.onExpandItem,d=n.onRemoveItem,p=n.removeButtonAriaLabel,f=n.index,h=n.selected,m=i.getId();return r.createElement("div",{ref:this.persona,className:i.css("ms-PickerPersona-container",l.personaContainer,(e={},e["is-selected "+l.personaContainerIsSelected]=h,e),(t={},t["is-invalid "+l.validationError]=!c.isValid,t)),"data-is-focusable":!0,"data-is-sub-focuszone":!0,"data-selection-index":f,role:"listitem","aria-labelledby":"selectedItemPersona-"+m},r.createElement("div",{hidden:!c.canExpand||void 0===u},r.createElement(a.IconButton,{onClick:this._onClickIconButton(u),iconProps:{iconName:"Add",style:{fontSize:"14px"}},className:i.css("ms-PickerItem-removeButton",l.expandButton,l.actionButton),ariaLabel:p})),r.createElement("div",{className:i.css(l.personaWrapper)},r.createElement("div",{className:i.css("ms-PickerItem-content",l.itemContent),id:"selectedItemPersona-"+m},r.createElement(s.Persona,o.__assign({},c,{onRenderCoin:this.props.renderPersonaCoin,onRenderPrimaryText:this.props.renderPrimaryText,size:s.PersonaSize.size32}))),r.createElement(a.IconButton,{onClick:this._onClickIconButton(d),iconProps:{iconName:"Cancel",style:{fontSize:"14px"}},className:i.css("ms-PickerItem-removeButton",l.removeButton,l.actionButton),ariaLabel:p})))},t.prototype._onClickIconButton=function(e){return function(t){t.stopPropagation(),t.preventDefault(),e&&e()}},t}(r.Component);t.ExtendedSelectedItem=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2).classNamesFunction();t.SeparatorBase=function(e){var t=e.styles,n=e.theme,i=e.className,s=e.vertical,a=e.alignContent,l=r(t,{theme:n,className:i,alignContent:a,vertical:s});return o.createElement("div",{className:l.root},o.createElement("div",{className:l.content,role:"separator","aria-orientation":s?"vertical":"horizontal"},e.children))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(901),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(370),a=i.classNamesFunction(),l=function(e){function t(t){var n=e.call(this,t)||this;return i.initializeComponentRef(n),n.state={contentLoaded:t.isDataLoaded},n._async=new i.Async(n),n}return o.__extends(t,e),t.prototype.componentDidUpdate=function(e){var t=this,n=this.props.isDataLoaded;n!==e.isDataLoaded&&(this._async.clearTimeout(this._lastTimeoutId),n?this._lastTimeoutId=this._async.setTimeout((function(){t.setState({contentLoaded:n})}),200):this.setState({contentLoaded:n}))},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=this.props,t=e.styles,n=e.shimmerElements,l=e.children,c=e.isDataLoaded,u=e.width,d=e.className,p=e.customElementsGroup,f=e.theme,h=e.ariaLabel,m=e.shimmerColors,g=this.state.contentLoaded;this._classNames=a(t,{theme:f,isDataLoaded:c,className:d,transitionAnimationInterval:200,shimmerColor:m&&m.shimmer,shimmerWaveColor:m&&m.shimmerWave});var v=i.getNativeProps(this.props,i.divProperties);return r.createElement("div",o.__assign({},v,{className:this._classNames.root}),!g&&r.createElement("div",{style:{width:u||"100%"},className:this._classNames.shimmerWrapper},r.createElement("div",{className:this._classNames.shimmerGradient}),p||r.createElement(s.ShimmerElementsGroup,{shimmerElements:n,backgroundColor:m&&m.background})),l&&r.createElement("div",{className:this._classNames.dataWrapper},l),h&&!c&&r.createElement("div",{role:"status","aria-live":"polite"},r.createElement(i.DelayedRender,null,r.createElement("div",{className:this._classNames.screenReaderText},h))))},t.defaultProps={isDataLoaded:!1},t}(r.Component);t.ShimmerBase=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(371),i=n(907);t.ShimmerElementsGroup=o.styled(r.ShimmerElementsGroupBase,i.getStyles,void 0,{scope:"ShimmerElementsGroup"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(372),a=n(373),l=n(375),c=n(377),u=i.classNamesFunction();t.ShimmerElementsGroupBase=function(e){var t=e.styles,n=e.width,i=void 0===n?"auto":n,p=e.shimmerElements,f=e.rowHeight,h=void 0===f?function(e){return e.map((function(e){switch(e.type){case s.ShimmerElementType.circle:e.height||(e.height=s.ShimmerElementsDefaultHeights.circle);case s.ShimmerElementType.line:e.height||(e.height=s.ShimmerElementsDefaultHeights.line);case s.ShimmerElementType.gap:e.height||(e.height=s.ShimmerElementsDefaultHeights.gap)}return e})).reduce((function(e,t){return t.height&&t.height>e?t.height:e}),0)}(p||[]):f,m=e.flexWrap,g=void 0!==m&&m,v=e.theme,_=e.backgroundColor,y=u(t,{theme:v,flexWrap:g});return r.createElement("div",{style:{width:i},className:y.root},function(e,t,n){return e?e.map((function(e,i){var u=e.type,p=o.__rest(e,["type"]),f=p.verticalAlign,h=p.height,m=d(f,u,h,t,n);switch(e.type){case s.ShimmerElementType.circle:return r.createElement(c.ShimmerCircle,o.__assign({key:i},p,{styles:m}));case s.ShimmerElementType.gap:return r.createElement(l.ShimmerGap,o.__assign({key:i},p,{styles:m}));case s.ShimmerElementType.line:return r.createElement(a.ShimmerLine,o.__assign({key:i},p,{styles:m}))}})):r.createElement(a.ShimmerLine,{height:s.ShimmerElementsDefaultHeights.line})}(p,_,h))};var d=i.memoizeFunction((function(e,t,n,r,i){var a,l=i&&n?i-n:0;if(e&&"center"!==e?e&&"top"===e?a={borderBottomWidth:l+"px",borderTopWidth:"0px"}:e&&"bottom"===e&&(a={borderBottomWidth:"0px",borderTopWidth:l+"px"}):a={borderBottomWidth:(l?Math.floor(l/2):0)+"px",borderTopWidth:(l?Math.ceil(l/2):0)+"px"},r)switch(t){case s.ShimmerElementType.circle:return{root:o.__assign(o.__assign({},a),{borderColor:r}),svg:{fill:r}};case s.ShimmerElementType.gap:return{root:o.__assign(o.__assign({},a),{borderColor:r,backgroundColor:r})};case s.ShimmerElementType.line:return{root:o.__assign(o.__assign({},a),{borderColor:r}),topLeftCorner:{fill:r},topRightCorner:{fill:r},bottomLeftCorner:{fill:r},bottomRightCorner:{fill:r}}}return{root:a}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.line=1]="line",e[e.circle=2]="circle",e[e.gap=3]="gap"}(t.ShimmerElementType||(t.ShimmerElementType={})),function(e){e[e.line=16]="line",e[e.gap=16]="gap",e[e.circle=24]="circle"}(t.ShimmerElementsDefaultHeights||(t.ShimmerElementsDefaultHeights={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(374),i=n(904);t.ShimmerLine=o.styled(r.ShimmerLineBase,i.getStyles,void 0,{scope:"ShimmerLine"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2).classNamesFunction();t.ShimmerLineBase=function(e){var t=e.height,n=e.styles,i=e.width,s=void 0===i?"100%":i,a=e.borderStyle,l=e.theme,c=r(n,{theme:l,height:t,borderStyle:a});return o.createElement("div",{style:{width:s,minWidth:"number"==typeof s?s+"px":"auto"},className:c.root},o.createElement("svg",{width:"2",height:"2",className:c.topLeftCorner},o.createElement("path",{d:"M0 2 A 2 2, 0, 0, 1, 2 0 L 0 0 Z"})),o.createElement("svg",{width:"2",height:"2",className:c.topRightCorner},o.createElement("path",{d:"M0 0 A 2 2, 0, 0, 1, 2 2 L 2 0 Z"})),o.createElement("svg",{width:"2",height:"2",className:c.bottomRightCorner},o.createElement("path",{d:"M2 0 A 2 2, 0, 0, 1, 0 2 L 2 2 Z"})),o.createElement("svg",{width:"2",height:"2",className:c.bottomLeftCorner},o.createElement("path",{d:"M2 2 A 2 2, 0, 0, 1, 0 0 L 0 2 Z"})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(376),i=n(905);t.ShimmerGap=o.styled(r.ShimmerGapBase,i.getStyles,void 0,{scope:"ShimmerGap"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2).classNamesFunction();t.ShimmerGapBase=function(e){var t=e.height,n=e.styles,i=e.width,s=void 0===i?"10px":i,a=e.borderStyle,l=e.theme,c=r(n,{theme:l,height:t,borderStyle:a});return o.createElement("div",{style:{width:s,minWidth:"number"==typeof s?s+"px":"auto"},className:c.root})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(906),i=n(378);t.ShimmerCircle=o.styled(i.ShimmerCircleBase,r.getStyles,void 0,{scope:"ShimmerCircle"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2).classNamesFunction();t.ShimmerCircleBase=function(e){var t=e.height,n=e.styles,i=e.borderStyle,s=e.theme,a=r(n,{theme:s,height:t,borderStyle:i});return o.createElement("div",{className:a.root},o.createElement("svg",{viewBox:"0 0 10 10",width:t,height:t,className:a.svg},o.createElement("path",{d:"M0,0 L10,0 L10,10 L0,10 L0,0 Z M0,5 C0,7.76142375 2.23857625,10 5,10 C7.76142375,10 10,7.76142375 10,5 C10,2.23857625 7.76142375,2.22044605e-16 5,0 C2.23857625,-2.22044605e-16 0,2.23857625 0,5 L0,5 Z"})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(61),a=n(299),l=n(368),c=n(49),u=n(23),d=i.classNamesFunction(),p=function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderShimmerPlaceholder=function(e,t){var o=n.props.onRenderCustomPlaceholder,i=o?o(t,e,n._renderDefaultShimmerPlaceholder):n._renderDefaultShimmerPlaceholder(t);return r.createElement(l.Shimmer,{customElementsGroup:i})},n._renderDefaultShimmerPlaceholder=function(e){var t=e.columns,n=e.compact,o=e.selectionMode,i=e.checkboxVisibility,a=e.cellStyleProps,d=void 0===a?u.DEFAULT_CELL_STYLE_PROPS:a,p=u.DEFAULT_ROW_HEIGHTS.rowHeight,f=u.DEFAULT_ROW_HEIGHTS.compactRowHeight,h=n?f:p+1,m=[];return o!==s.SelectionMode.none&&i!==c.CheckboxVisibility.hidden&&m.push(r.createElement(l.ShimmerElementsGroup,{key:"checkboxGap",shimmerElements:[{type:l.ShimmerElementType.gap,width:"40px",height:h}]})),t.map((function(e,t){var n=[],o=d.cellLeftPadding+d.cellRightPadding+e.calculatedWidth+(e.isPadded?d.cellExtraRightPadding:0);n.push({type:l.ShimmerElementType.gap,width:d.cellLeftPadding,height:h}),e.isIconOnly?(n.push({type:l.ShimmerElementType.line,width:e.calculatedWidth,height:e.calculatedWidth}),n.push({type:l.ShimmerElementType.gap,width:d.cellRightPadding,height:h})):(n.push({type:l.ShimmerElementType.line,width:.95*e.calculatedWidth,height:7}),n.push({type:l.ShimmerElementType.gap,width:d.cellRightPadding+(e.calculatedWidth-.95*e.calculatedWidth)+(e.isPadded?d.cellExtraRightPadding:0),height:h})),m.push(r.createElement(l.ShimmerElementsGroup,{key:t,width:o+"px",shimmerElements:n}))})),m.push(r.createElement(l.ShimmerElementsGroup,{key:"endGap",width:"100%",shimmerElements:[{type:l.ShimmerElementType.gap,width:"100%",height:h}]})),r.createElement("div",{style:{display:"flex"}},m)},n._shimmerItems=t.shimmerLines?new Array(t.shimmerLines):new Array(10),n}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.detailsListStyles,n=e.enableShimmer,s=e.items,l=e.listProps,c=(e.onRenderCustomPlaceholder,e.removeFadingOverlay),u=(e.shimmerLines,e.styles),p=e.theme,f=e.ariaLabelForGrid,h=e.ariaLabelForShimmer,m=o.__rest(e,["detailsListStyles","enableShimmer","items","listProps","onRenderCustomPlaceholder","removeFadingOverlay","shimmerLines","styles","theme","ariaLabelForGrid","ariaLabelForShimmer"]),g=l&&l.className;this._classNames=d(u,{theme:p});var v=o.__assign(o.__assign({},l),{className:n&&!c?i.css(this._classNames.root,g):g});return r.createElement(a.DetailsList,o.__assign({},m,{styles:t,items:n?this._shimmerItems:s,isPlaceholderData:n,ariaLabelForGrid:n&&h||f,onRenderMissingItem:this._onRenderShimmerPlaceholder,listProps:v}))},t}(r.Component);t.ShimmeredDetailsListBase=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(2),a=n(31),l=s.classNamesFunction();t.ONKEYDOWN_TIMEOUT_DURATION=1e3;var c=function(e){function n(n){var o=e.call(this,n)||this;o._disposables=[],o._sliderLine=r.createRef(),o._thumb=r.createRef(),o._onKeyDownTimer=-1,o._getAriaValueText=function(e){var t=o.props.ariaValueText;if(void 0!==e)return t?t(e):e.toString()},o._onMouseDownOrTouchStart=function(e){"mousedown"===e.type?o._disposables.push(i.on(window,"mousemove",o._onMouseMoveOrTouchMove,!0),i.on(window,"mouseup",o._onMouseUpOrTouchEnd,!0)):"touchstart"===e.type&&o._disposables.push(i.on(window,"touchmove",o._onMouseMoveOrTouchMove,!0),i.on(window,"touchend",o._onMouseUpOrTouchEnd,!0)),o._onMouseMoveOrTouchMove(e,!0)},o._onMouseMoveOrTouchMove=function(e,t){if(o._sliderLine.current){var n,r,s,a=o.props,l=a.max,c=a.min,u=a.step,d=(l-c)/u,p=o._sliderLine.current.getBoundingClientRect(),f=(o.props.vertical?p.height:p.width)/d;if(o.props.vertical){var h=o._getPosition(e,o.props.vertical);n=(p.bottom-h)/f}else{var m=o._getPosition(e,o.props.vertical);n=(i.getRTL(o.props.theme)?p.right-m:m-p.left)/f}n>Math.floor(d)?s=r=l:n<0?s=r=c:(s=c+u*n,r=c+u*Math.round(n)),o._updateValue(r,s),t||(e.preventDefault(),e.stopPropagation())}},o._onMouseUpOrTouchEnd=function(e){o.setState({renderedValue:void 0}),o.props.onChanged&&o.props.onChanged(e,o.state.value),o._disposeListeners()},o._disposeListeners=function(){o._disposables.forEach((function(e){return e()})),o._disposables=[]},o._onKeyDown=function(e){var t=o.state.value,n=o.props,r=n.max,s=n.min,a=n.step,l=0;switch(e.which){case i.getRTLSafeKeyCode(i.KeyCodes.left,o.props.theme):case i.KeyCodes.down:l=-a,o._clearOnKeyDownTimer(),o._setOnKeyDownTimer(e);break;case i.getRTLSafeKeyCode(i.KeyCodes.right,o.props.theme):case i.KeyCodes.up:l=a,o._clearOnKeyDownTimer(),o._setOnKeyDownTimer(e);break;case i.KeyCodes.home:t=s;break;case i.KeyCodes.end:t=r;break;default:return}var c=Math.min(r,Math.max(s,t+l));o._updateValue(c,c),e.preventDefault(),e.stopPropagation()},o._clearOnKeyDownTimer=function(){o._async.clearTimeout(o._onKeyDownTimer)},o._setOnKeyDownTimer=function(e){o._onKeyDownTimer=o._async.setTimeout((function(){o.props.onChanged&&o.props.onChanged(e,o.state.value)}),t.ONKEYDOWN_TIMEOUT_DURATION)},o._async=new i.Async(o),i.initializeComponentRef(o),i.warnMutuallyExclusive("SliderBase",o.props,{value:"defaultValue"}),o._id=i.getId("Slider");var s=void 0!==n.value?n.value:void 0!==n.defaultValue?n.defaultValue:n.min;return o.state={value:s,renderedValue:void 0},o}return o.__extends(n,e),n.prototype.componentWillUnmount=function(){this._async.dispose(),this._disposeListeners()},n.prototype.render=function(){var e,t,n,c,u,d=this.props,p=d.ariaLabel,f=d.className,h=d.disabled,m=d.label,g=d.max,v=d.min,_=d.showValue,y=d.buttonProps,b=d.vertical,S=d.valueFormat,C=d.styles,x=d.theme,k=d.originFromZero,w=this.value,P=this.renderedValue,E=v===g?0:(P-v)/(g-v)*100,I=v>=0?0:-v/(g-v)*100,T=b?"height":"width",D=h?{}:{onMouseDown:this._onMouseDownOrTouchStart},M=h?{}:{onTouchStart:this._onMouseDownOrTouchStart},O=h?{}:{onKeyDown:this._onKeyDown},R=l(C,{className:f,disabled:h,vertical:b,showTransitions:P===w,showValue:_,theme:x}),N=y?s.getNativeProps(y,s.divProperties):void 0;return r.createElement("div",{className:R.root},m&&r.createElement(a.Label,o.__assign({className:R.titleLabel},p?{}:{htmlFor:this._id},{disabled:h}),m),r.createElement("div",{className:R.container},r.createElement("div",o.__assign({id:this._id,"aria-valuenow":w,"aria-valuemin":v,"aria-valuemax":g,"aria-valuetext":this._getAriaValueText(w),"aria-label":p||m,"aria-disabled":h},D,M,O,N,{className:i.css(R.slideBox,y.className),role:"slider",tabIndex:h?void 0:0,"data-is-focusable":!h}),r.createElement("div",{ref:this._sliderLine,className:R.line},k&&r.createElement("span",{className:i.css(R.zeroTick),style:this._getStyleUsingOffsetPercent(b,I)}),r.createElement("span",{ref:this._thumb,className:R.thumb,style:this._getStyleUsingOffsetPercent(b,E)}),k?r.createElement(r.Fragment,null,r.createElement("span",{className:i.css(R.lineContainer,R.inactiveSection),style:(e={},e[T]=Math.min(E,I)+"%",e)}),r.createElement("span",{className:i.css(R.lineContainer,R.activeSection),style:(t={},t[T]=Math.abs(I-E)+"%",t)}),r.createElement("span",{className:i.css(R.lineContainer,R.inactiveSection),style:(n={},n[T]=Math.min(100-E,100-I)+"%",n)})):r.createElement(r.Fragment,null,r.createElement("span",{className:i.css(R.lineContainer,R.activeSection),style:(c={},c[T]=E+"%",c)}),r.createElement("span",{className:i.css(R.lineContainer,R.inactiveSection),style:(u={},u[T]=100-E+"%",u)})))),_&&r.createElement(a.Label,{className:R.valueLabel,disabled:h},S?S(w):w)),r.createElement(i.FocusRects,null))},n.prototype.focus=function(){this._thumb.current&&this._thumb.current.focus()},Object.defineProperty(n.prototype,"value",{get:function(){var e=this.props.value,t=void 0===e?this.state.value:e;return void 0===this.props.min||void 0===this.props.max||void 0===t?void 0:Math.max(this.props.min,Math.min(this.props.max,t))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"renderedValue",{get:function(){var e=this.state.renderedValue;return void 0===e?this.value:e},enumerable:!0,configurable:!0}),n.prototype._getStyleUsingOffsetPercent=function(e,t){var n;return(n={})[e?"bottom":i.getRTL(this.props.theme)?"right":"left"]=t+"%",n},n.prototype._getPosition=function(e,t){var n;switch(e.type){case"mousedown":case"mousemove":n=t?e.clientY:e.clientX;break;case"touchstart":case"touchmove":n=t?e.touches[0].clientY:e.touches[0].clientX}return n},n.prototype._updateValue=function(e,t){var n=this,o=this.props,r=o.step,i=o.snapToStep,s=0;if(isFinite(r))for(;Math.round(r*Math.pow(10,s))/Math.pow(10,s)!==r;)s++;var a=parseFloat(e.toFixed(s)),l=a!==this.state.value;i&&(t=a),this.setState({value:a,renderedValue:t},(function(){l&&n.props.onChange&&n.props.onChange(n.state.value)}))},n.defaultProps={step:1,min:0,max:10,showValue:!0,disabled:!1,vertical:!1,buttonProps:{},originFromZero:!1},n}(r.Component);t.SliderBase=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(920),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(85),i=n(927);t.StackItem=r.createComponent((function(e){var t=e.children;if(o.Children.count(t)<1)return null;var n=r.getSlots(e,{root:"div"});return r.withSlots(n.root,null,t)}),{displayName:"StackItem",styles:i.StackItemStyles}),t.default=t.StackItem},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(13),s=n(6),a=n(384);function l(e,t){void 0===t&&(t={});var n=t.defaultProp,l=void 0===n?"children":n;return function(t,n,c,u,d){if(r.isValidElement(n))return n;var p=function(e,t){for(var n=[],o=2;o0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return u(t[e],n,o[e],o.slots&&o.slots[e],o._defaultStyles&&o._defaultStyles[e],o.theme)};r.isSlot=!0,n[e]=r}};for(var i in t)r(i);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);t.assign=o.__assign},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Both=0]="Both",e[e.Header=1]="Header",e[e.Footer=2]="Footer"}(t.StickyPositionType||(t.StickyPositionType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(342),a=n(387),l=n(6),c=i.classNamesFunction(),u=function(e){function t(t){var n,s=e.call(this,t)||this;return s.navigationIdleDelay=250,s._getItemsWithIndex=l.memoizeFunction((function(e){return e.map((function(e,t){return o.__assign(o.__assign({},e),{index:t})}))})),s._onSwatchColorPickerBlur=function(){s.props.onCellFocused&&(s._cellFocused=!1,s.props.onCellFocused())},s._renderOption=function(e){var t=s.props,n=s._id;return r.createElement(a.ColorPickerGridCell,{item:e,idPrefix:n,color:e.color,styles:t.getColorGridCellStyles,disabled:t.disabled,onClick:s._onCellClick,onHover:s._onGridCellHovered,onFocus:s._onGridCellFocused,selected:void 0!==s.state.selectedIndex&&s.state.selectedIndex===e.index,circle:"circle"===t.cellShape,label:e.label,onMouseEnter:s._onMouseEnter,onMouseMove:s._onMouseMove,onMouseLeave:s._onMouseLeave,onWheel:s._onWheel,onKeyDown:s._onKeyDown,height:t.cellHeight,width:t.cellWidth,borderWidth:t.cellBorderWidth})},s._onMouseEnter=function(e){return s.props.focusOnHover?(s.isNavigationIdle&&!s.props.disabled&&e.currentTarget.focus(),!0):!s.isNavigationIdle||!!s.props.disabled},s._onMouseMove=function(e){if(!s.props.focusOnHover)return!s.isNavigationIdle||!!s.props.disabled;var t=e.currentTarget;return!s.isNavigationIdle||document&&t===document.activeElement||t.focus(),!0},s._onMouseLeave=function(e){var t=s.props.mouseLeaveParentSelector;if(s.props.focusOnHover&&t&&s.isNavigationIdle&&!s.props.disabled)for(var n=document.querySelectorAll(t),o=0;o=0&&t!==s.state.selectedIndex&&(s.props.onCellFocused&&s._cellFocused&&(s._cellFocused=!1,s.props.onCellFocused()),s.props.onColorChanged&&s.props.onColorChanged(e.id,e.color),!0!==s.props.isControlled&&s.setState({selectedIndex:t}))}},s._id=t.id||i.getId("swatchColorPicker"),s.isNavigationIdle=!0,s.async=new i.Async(s),t.selectedId&&(n=s._getSelectedIndex(t.colorCells,t.selectedId)),s.state={selectedIndex:n},s}return o.__extends(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){void 0!==e.selectedId&&this.setState({selectedIndex:this._getSelectedIndex(e.colorCells,e.selectedId)})},t.prototype.componentWillUnmount=function(){this.props.onCellFocused&&this._cellFocused&&(this._cellFocused=!1,this.props.onCellFocused()),this.async.dispose()},t.prototype.render=function(){var e=this.props,t=e.colorCells,n=e.columnCount,i=e.ariaPosInSet,a=void 0===i?this.props.positionInSet:i,l=e.ariaSetSize,u=void 0===l?this.props.setSize:l,d=e.shouldFocusCircularNavigate,p=e.className,f=e.doNotContainWithinFocusZone,h=e.styles,m=e.cellMargin,g=c(h,{theme:this.props.theme,className:p,cellMargin:m});return t.length<1||n<1?null:r.createElement(s.Grid,o.__assign({},this.props,{id:this._id,items:this._getItemsWithIndex(t),columnCount:n,onRenderItem:this._renderOption,ariaPosInSet:a,ariaSetSize:u,shouldFocusCircularNavigate:d,doNotContainWithinFocusZone:f,onBlur:this._onSwatchColorPickerBlur,theme:this.props.theme,styles:{root:g.root,tableCell:g.tableCell,focusedContainer:g.focusedContainer}}))},t.prototype._getSelectedIndex=function(e,t){var n=i.findIndex(e,(function(e){return e.id===t}));return n>=0?n:void 0},t.defaultProps={cellShape:"circle",disabled:!1,shouldFocusCircularNavigate:!0,cellMargin:10},t}(r.Component);t.SwatchColorPickerBase=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(388),i=n(937);t.ColorPickerGridCell=o.styled(r.ColorPickerGridCellBase,i.getStyles,void 0,{scope:"ColorPickerGridCell"},!0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(3),s=n(2),a=n(39),l=n(343),c=n(254),u=s.memoizeFunction((function(e,t,n,o,r,s,a,l,u){var d=c.getStyles(e);return i.mergeStyleSets({root:["ms-Button",d.root,n,t,a&&["is-checked",d.rootChecked],s&&["is-disabled",d.rootDisabled],!s&&!a&&{selectors:{":hover":d.rootHovered,":focus":d.rootFocused,":active":d.rootPressed}},s&&a&&[d.rootCheckedDisabled],!s&&a&&{selectors:{":hover":d.rootCheckedHovered,":active":d.rootCheckedPressed}}],flexContainer:["ms-Button-flexContainer",d.flexContainer]})})),d=s.classNamesFunction(),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t}(l.GridCell),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderColorOption=function(e){return r.createElement("svg",{className:t._classNames.svg,viewBox:"0 0 20 20",fill:a.getColorFromString(e.color).str},t.props.circle?r.createElement("circle",{cx:"50%",cy:"50%",r:"50%"}):r.createElement("rect",{width:"100%",height:"100%"}))},t}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.idPrefix,o=void 0===n?this.props.id:n,i=e.selected,s=e.disabled,a=e.styles,l=e.theme,c=e.circle,f=e.color,h=e.onClick,m=e.onHover,g=e.onFocus,v=e.onMouseEnter,_=e.onMouseMove,y=e.onMouseLeave,b=e.onWheel,S=e.onKeyDown,C=e.height,x=e.width,k=e.borderWidth;return this._classNames=d(a,{theme:l,disabled:s,selected:i,circle:c,isWhite:this._isWhiteCell(f),height:C,width:x,borderWidth:k}),r.createElement(p,{item:t,id:o+"-"+t.id+"-"+t.index,key:t.id,disabled:s,role:"gridcell",onRenderItem:this._onRenderColorOption,selected:i,onClick:h,onHover:m,onFocus:g,label:t.label,className:this._classNames.colorCell,getClassNames:u,index:t.index,onMouseEnter:v,onMouseMove:_,onMouseLeave:y,onWheel:b,onKeyDown:S})},t.prototype._isWhiteCell=function(e){return"ffffff"===a.getColorFromString(e).hex},t.defaultProps={circle:!0,disabled:!1,selected:!1},t}(r.PureComponent);t.ColorPickerGridCellBase=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(390),a=n(21),l=n(14),c=i.classNamesFunction(),u=function(e){function t(t){var n=e.call(this,t)||this;return n.rootElement=r.createRef(),i.initializeComponentRef(n),n.state={},n._defaultCalloutProps={beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1,directionalHint:l.DirectionalHint.rightCenter},n}return o.__extends(t,e),t.prototype.focus=function(){this.rootElement.current&&this.rootElement.current.focus()},t.prototype.render=function(){var e=this.props,t=e.calloutProps,n=e.targetElement,i=e.onDismiss,l=e.hasCloseButton,u=void 0===l?this.props.hasCloseIcon:l,d=e.isWide,p=e.styles,f=e.theme,h=e.target,m=o.__assign(o.__assign({},this._defaultCalloutProps),t),g={theme:f,isWide:d,calloutProps:o.__assign(o.__assign({},m),{theme:m.theme}),hasCloseButton:u},v=c(p,g),_=v.subComponentStyles?v.subComponentStyles.callout:void 0;return r.createElement(a.Callout,o.__assign({target:h||n,onDismiss:i},m,{className:v.root,styles:_,hideOverflow:!0}),r.createElement("div",{ref:this.rootElement},r.createElement(s.TeachingBubbleContent,o.__assign({},this.props))))},t.defaultProps={calloutProps:{beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1,directionalHint:l.DirectionalHint.rightCenter}},t}(r.Component);t.TeachingBubbleBase=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(391),i=n(392);t.TeachingBubbleContent=o.styled(r.TeachingBubbleContentBase,i.getStyles,void 0,{scope:"TeachingBubbleContent"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=n(43),l=n(381),c=n(56),u=i.classNamesFunction(),d=function(e){function t(t){var n=e.call(this,t)||this;return n.rootElement=r.createRef(),n._onKeyDown=function(e){n.props.onDismiss&&e.which===i.KeyCodes.escape&&n.props.onDismiss()},i.initializeComponentRef(n),n.state={},n}return o.__extends(t,e),t.prototype.componentDidMount=function(){this.props.onDismiss&&document.addEventListener("keydown",this._onKeyDown,!1)},t.prototype.componentWillUnmount=function(){this.props.onDismiss&&document.removeEventListener("keydown",this._onKeyDown)},t.prototype.focus=function(){this.rootElement.current&&this.rootElement.current.focus()},t.prototype.render=function(){var e,t,n,i,d,p=this.props,f=p.children,h=p.illustrationImage,m=p.primaryButtonProps,g=p.secondaryButtonProps,v=p.headline,_=p.hasCondensedHeadline,y=p.hasCloseButton,b=void 0===y?this.props.hasCloseIcon:y,S=p.onDismiss,C=p.closeButtonAriaLabel,x=p.hasSmallHeadline,k=p.isWide,w=p.styles,P=p.theme,E=p.ariaDescribedBy,I=p.ariaLabelledBy,T=p.footerContent,D=p.focusTrapZoneProps,M=u(w,{theme:P,hasCondensedHeadline:_,hasSmallHeadline:x,hasCloseButton:b,hasHeadline:!!v,isWide:k,primaryButtonClassName:m?m.className:void 0,secondaryButtonClassName:g?g.className:void 0});if(h&&h.src&&(e=r.createElement("div",{className:M.imageContent},r.createElement(a.Image,o.__assign({},h)))),v){var O="string"==typeof v?"p":"div";t=r.createElement("div",{className:M.header},r.createElement(O,{role:"heading",className:M.headline,id:I},v))}if(f){var R="string"==typeof f?"p":"div";n=r.createElement("div",{className:M.body},r.createElement(R,{className:M.subText,id:E},f))}return(m||g||T)&&(i=r.createElement(l.Stack,{className:M.footer,horizontal:!0,horizontalAlign:T?"space-between":"end"},r.createElement(l.Stack.Item,{align:"center"},r.createElement("span",null,T)),r.createElement(l.Stack.Item,null,g&&r.createElement(s.DefaultButton,o.__assign({},g,{className:M.secondaryButton})),m&&r.createElement(s.PrimaryButton,o.__assign({},m,{className:M.primaryButton}))))),b&&(d=r.createElement(s.IconButton,{className:M.closeButton,iconProps:{iconName:"Cancel"},title:C,ariaLabel:C,onClick:S})),r.createElement("div",{className:M.content,ref:this.rootElement,role:"dialog",tabIndex:-1,"aria-labelledby":I,"aria-describedby":E,"data-is-focusable":!0},e,r.createElement(c.FocusTrapZone,o.__assign({isClickableOutsideFocusTrap:!0},D),r.createElement("div",{className:M.bodyContent},t,n,i,d)))},t.defaultProps={hasCondensedHeadline:!1,imageProps:{imageFit:a.ImageFit.cover,width:364,height:130}},t}(r.Component);t.TeachingBubbleContentBase=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(3),i=n(2),s={root:"ms-TeachingBubble",body:"ms-TeachingBubble-body",bodyContent:"ms-TeachingBubble-bodycontent",closeButton:"ms-TeachingBubble-closebutton",content:"ms-TeachingBubble-content",footer:"ms-TeachingBubble-footer",header:"ms-TeachingBubble-header",headerIsCondensed:"ms-TeachingBubble-header--condensed",headerIsSmall:"ms-TeachingBubble-header--small",headerIsLarge:"ms-TeachingBubble-header--large",headline:"ms-TeachingBubble-headline",image:"ms-TeachingBubble-image",primaryButton:"ms-TeachingBubble-primaryButton",secondaryButton:"ms-TeachingBubble-secondaryButton",subText:"ms-TeachingBubble-subText",button:"ms-Button",buttonLabel:"ms-Button-label"},a=i.memoizeFunction((function(){return r.keyframes({"0%":{opacity:0,animationTimingFunction:r.AnimationVariables.easeFunction1,transform:"scale3d(.90,.90,.90)"},"100%":{opacity:1,transform:"scale3d(1,1,1)"}})})),l=function(e,t){var n=t||{},o=n.calloutWidth,r=n.calloutMaxWidth;return[{display:"block",maxWidth:364,border:0,outline:"transparent",width:o||"calc(100% + 1px)",animationName:""+a(),animationDuration:"300ms",animationTimingFunction:"linear",animationFillMode:"both"},e&&{maxWidth:r||456}]},c=function(e,t,n){return t?[e.headerIsCondensed,{marginBottom:14}]:[n&&e.headerIsSmall,!n&&e.headerIsLarge,{selectors:{":not(:last-child)":{marginBottom:14}}}]};t.getStyles=function(e){var t,n,i,a=e.hasCondensedHeadline,u=e.hasSmallHeadline,d=e.hasCloseButton,p=e.hasHeadline,f=e.isWide,h=e.primaryButtonClassName,m=e.secondaryButtonClassName,g=e.theme,v=e.calloutProps,_=void 0===v?{className:void 0,theme:g}:v,y=!a&&!u,b=g.palette,S=g.semanticColors,C=g.fonts,x=r.getGlobalClassNames(s,g);return{root:[x.root,C.medium,_.className],body:[x.body,d&&!p&&{marginRight:24},{selectors:{":not(:last-child)":{marginBottom:20}}}],bodyContent:[x.bodyContent,{padding:"20px 24px 20px 24px"}],closeButton:[x.closeButton,{position:"absolute",right:0,top:0,margin:"15px 15px 0 0",borderRadius:0,color:b.white,fontSize:C.small.fontSize,selectors:{":hover":{background:b.themeDarkAlt,color:b.white},":active":{background:b.themeDark,color:b.white},":focus":{border:"1px solid "+S.variantBorder}}}],content:o.__spreadArrays([x.content],l(f),[f&&{display:"flex"}]),footer:[x.footer,{display:"flex",flex:"auto",alignItems:"center",color:b.white,selectors:(t={},t["."+x.button+":not(:first-child)"]={marginLeft:10},t)}],header:o.__spreadArrays([x.header],c(x,a,u),[d&&{marginRight:24},(a||u)&&[C.medium,{fontWeight:r.FontWeights.semibold}]]),headline:[x.headline,{margin:0,color:b.white,fontWeight:r.FontWeights.semibold},y&&[{fontSize:C.xLarge.fontSize}]],imageContent:[x.header,x.image,f&&{display:"flex",alignItems:"center",maxWidth:154}],primaryButton:[x.primaryButton,h,{backgroundColor:b.white,borderColor:b.white,color:b.themePrimary,whiteSpace:"nowrap",selectors:(n={},n["."+x.buttonLabel]=C.medium,n[":hover"]={backgroundColor:b.themeLighter,borderColor:b.themeLighter,color:b.themePrimary},n[":focus"]={backgroundColor:b.themeLighter,borderColor:b.white},n[":active"]={backgroundColor:b.white,borderColor:b.white,color:b.themePrimary},n)}],secondaryButton:[x.secondaryButton,m,{backgroundColor:b.themePrimary,borderColor:b.white,whiteSpace:"nowrap",selectors:(i={},i["."+x.buttonLabel]=[C.medium,{color:b.white}],i["&:hover, &:focus"]={backgroundColor:b.themeDarkAlt,borderColor:b.white},i[":active"]={backgroundColor:b.themePrimary,borderColor:b.white},i)}],subText:[x.subText,{margin:0,fontSize:C.medium.fontSize,color:b.white,fontWeight:r.FontWeights.regular}],subComponentStyles:{callout:{root:o.__spreadArrays(l(f,_),[C.medium]),beak:[{background:b.themePrimary}],calloutMain:[{background:b.themePrimary}]}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(85),s=n(2);t.TextView=function(e){if(0===r.Children.count(e.children))return null;e.block,e.className;var t=e.as,n=void 0===t?"span":t,a=(e.variant,e.nowrap,o.__rest(e,["block","className","as","variant","nowrap"])),l=i.getSlots(e,{root:n});return i.withSlots(l.root,o.__assign({},s.getNativeProps(a,s.htmlElementProperties)))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextStyles=function(e,t){var n=e.as,o=e.className,r=e.block,i=e.nowrap,s=e.variant,a=t.fonts[s||"medium"];return{root:[t.fonts.medium,{display:r?"td"===n?"table-cell":"block":"inline",fontFamily:a.fontFamily,fontSize:a.fontSize,fontWeight:a.fontWeight,color:a.color,mozOsxFontSmoothing:a.MozOsxFontSmoothing,webkitFontSmoothing:a.WebkitFontSmoothing},i&&{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},o]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(31),a=n(22),l=i.classNamesFunction(),c=function(e){function t(t){var n=e.call(this,t)||this;return n._toggleButton=r.createRef(),n._onClick=function(e){var t=n.props,o=t.disabled,r=t.checked,i=t.onChange,s=t.onChanged,a=t.onClick,l=n.state.checked;o||(void 0===r&&n.setState({checked:!l}),i&&i(e,!l),s&&s(!l),a&&a(e))},i.initializeComponentRef(n),i.warnMutuallyExclusive("Toggle",t,{checked:"defaultChecked"}),i.warnDeprecations("Toggle",t,{onAriaLabel:"ariaLabel",offAriaLabel:void 0,onChanged:"onChange"}),n.state={checked:!(!t.checked&&!t.defaultChecked)},n._id=t.id||i.getId("Toggle"),n}return o.__extends(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.checked?null:{checked:!!e.checked}},Object.defineProperty(t.prototype,"checked",{get:function(){return this.state.checked},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.as,c=void 0===n?"div":n,u=t.className,d=t.theme,p=t.disabled,f=t.keytipProps,h=t.label,m=t.ariaLabel,g=t.onAriaLabel,v=t.offAriaLabel,_=t.offText,y=t.onText,b=t.styles,S=t.inlineLabel,C=this.state.checked,x=C?y:_,k=C?g:v,w=i.getNativeProps(this.props,i.inputProperties,["defaultChecked"]),P=l(b,{theme:d,className:u,disabled:p,checked:C,inlineLabel:S,onOffMissing:!y&&!_}),E=this._id+"-label",I=this._id+"-stateText",T=void 0;m||k||(h?T=E:x&&(T=I));var D=this.props.role?this.props.role:"switch",M=function(t){return void 0===t&&(t={}),r.createElement("button",o.__assign({},w,t,{className:P.pill,disabled:p,id:e._id,type:"button",role:D,ref:e._toggleButton,"aria-disabled":p,"aria-checked":C,"aria-label":m||k,"data-is-focusable":!0,onChange:e._noop,onClick:e._onClick,"aria-labelledby":T}),r.createElement("span",{className:P.thumb}))},O=f?r.createElement(a.KeytipData,{keytipProps:f,ariaDescribedBy:w["aria-describedby"],disabled:p},(function(e){return M(e)})):M();return r.createElement(c,{className:P.root,hidden:w.hidden},h&&r.createElement(s.Label,{htmlFor:this._id,className:P.label,id:E},h),r.createElement("div",{className:P.container},O,x&&r.createElement(s.Label,{htmlFor:this._id,className:P.text,id:I},x)),r.createElement(i.FocusRects,null))},t.prototype.focus=function(){this._toggleButton.current&&this._toggleButton.current.focus()},t.prototype._noop=function(){},t}(r.Component);t.ToggleBase=c},function(e,t,n){(function(t){void 0===t||"renderer"===t.type||!0===t.browser||t.__nwjs?e.exports=n(418):e.exports=n(420)}).call(this,n(34))},function(e,t,n){"use strict";const o=new WeakMap,r=new WeakMap,i=new WeakMap,s=Symbol("anyProducer"),a=Promise.resolve(),l=Symbol("listenerAdded"),c=Symbol("listenerRemoved");function u(e){if("string"!=typeof e&&"symbol"!=typeof e)throw new TypeError("eventName must be a string or a symbol")}function d(e){if("function"!=typeof e)throw new TypeError("listener must be a function")}function p(e,t){const n=r.get(e);return n.has(t)||n.set(t,new Set),n.get(t)}function f(e,t){const n="string"==typeof t?t:s,o=i.get(e);return o.has(n)||o.set(n,new Set),o.get(n)}function h(e,t){t=Array.isArray(t)?t:[t];let n=!1,o=()=>{},r=[];const i={enqueue(e){r.push(e),o()},finish(){n=!0,o()}};for(const n of t)f(e,n).add(i);return{async next(){return r?0===r.length?n?(r=void 0,this.next()):(await new Promise(e=>{o=e}),this.next()):{done:!1,value:await r.shift()}:{done:!0}},async return(n){r=void 0;for(const n of t)f(e,n).delete(i);return o(),arguments.length>0?{done:!0,value:await n}:{done:!0}},[Symbol.asyncIterator](){return this}}}function m(e){if(void 0===e)return _;if(!Array.isArray(e))throw new TypeError("`methodNames` must be an array of strings");for(const t of e)if(!_.includes(t)){if("string"!=typeof t)throw new TypeError("`methodNames` element must be a string");throw new Error(t+" is not Emittery method")}return e}const g=e=>e===l||e===c;class v{static mixin(e,t){return t=m(t),n=>{if("function"!=typeof n)throw new TypeError("`target` must be function");for(const e of t)if(void 0!==n.prototype[e])throw new Error(`The property \`${e}\` already exists on \`target\``);Object.defineProperty(n.prototype,e,{enumerable:!1,get:function(){return Object.defineProperty(this,e,{enumerable:!1,value:new v}),this[e]}});const o=t=>function(...n){return this[e][t](...n)};for(const e of t)Object.defineProperty(n.prototype,e,{enumerable:!1,value:o(e)});return n}}constructor(){o.set(this,new Set),r.set(this,new Map),i.set(this,new Map)}on(e,t){d(t),e=Array.isArray(e)?e:[e];for(const n of e)u(n),p(this,n).add(t),g(n)||this.emit(l,{eventName:n,listener:t});return this.off.bind(this,e,t)}off(e,t){d(t),e=Array.isArray(e)?e:[e];for(const n of e)u(n),p(this,n).delete(t),g(n)||this.emit(c,{eventName:n,listener:t})}once(e){return new Promise(t=>{const n=this.on(e,e=>{n(),t(e)})})}events(e){e=Array.isArray(e)?e:[e];for(const t of e)u(t);return h(this,e)}async emit(e,t){u(e),function(e,t,n){const o=i.get(e);if(o.has(t))for(const e of o.get(t))e.enqueue(n);if(o.has(s)){const e=Promise.all([t,n]);for(const t of o.get(s))t.enqueue(e)}}(this,e,t);const n=p(this,e),r=o.get(this),l=[...n],c=g(e)?[]:[...r];await a,await Promise.all([...l.map(async e=>{if(n.has(e))return e(t)}),...c.map(async n=>{if(r.has(n))return n(e,t)})])}async emitSerial(e,t){u(e);const n=p(this,e),r=o.get(this),i=[...n],s=[...r];await a;for(const e of i)n.has(e)&&await e(t);for(const n of s)r.has(n)&&await n(e,t)}onAny(e){return d(e),o.get(this).add(e),this.emit(l,{listener:e}),this.offAny.bind(this,e)}anyEvent(){return h(this)}offAny(e){d(e),this.emit(c,{listener:e}),o.get(this).delete(e)}clearListeners(e){e=Array.isArray(e)?e:[e];for(const t of e)if("string"==typeof t){p(this,t).clear();const e=f(this,t);for(const t of e)t.finish();e.clear()}else{o.get(this).clear();for(const e of r.get(this).values())e.clear();for(const e of i.get(this).values()){for(const t of e)t.finish();e.clear()}}}listenerCount(e){e=Array.isArray(e)?e:[e];let t=0;for(const n of e)if("string"!=typeof n){void 0!==n&&u(n),t+=o.get(this).size;for(const e of r.get(this).values())t+=e.size;for(const e of i.get(this).values())t+=e.size}else t+=o.get(this).size+p(this,n).size+f(this,n).size+f(this).size;return t}bindMethods(e,t){if("object"!=typeof e||null===e)throw new TypeError("`target` must be an object");t=m(t);for(const n of t){if(void 0!==e[n])throw new Error(`The property \`${n}\` already exists on \`target\``);Object.defineProperty(e,n,{enumerable:!1,value:this[n].bind(this)})}}}const _=Object.getOwnPropertyNames(v.prototype).filter(e=>"constructor"!==e);v.Typed=class extends v{},Object.defineProperty(v.Typed,"Typed",{enumerable:!1,value:void 0}),Object.defineProperty(v,"listenerAdded",{value:l,writable:!1,enumerable:!0,configurable:!1}),Object.defineProperty(v,"listenerRemoved",{value:c,writable:!1,enumerable:!0,configurable:!1}),e.exports=v},function(e,t,n){(function(e){!function(t){"use strict";function n(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function o(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function r(e,t,n){r.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function i(e,t){i.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function s(e,t){s.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function a(e,t,n){a.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:n,enumerable:!0})}function l(e,t,n){var o=e.slice((n||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,o),e}function c(e){var t=void 0===e?"undefined":x(e);return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function u(e,t,n,o,d,p,f){f=f||[];var h=(d=d||[]).slice(0);if(void 0!==p){if(o){if("function"==typeof o&&o(h,p))return;if("object"===(void 0===o?"undefined":x(o))){if(o.prefilter&&o.prefilter(h,p))return;if(o.normalize){var m=o.normalize(h,p,e,t);m&&(e=m[0],t=m[1])}}}h.push(p)}"regexp"===c(e)&&"regexp"===c(t)&&(e=e.toString(),t=t.toString());var g=void 0===e?"undefined":x(e),v=void 0===t?"undefined":x(t),_="undefined"!==g||f&&f[f.length-1].lhs&&f[f.length-1].lhs.hasOwnProperty(p),y="undefined"!==v||f&&f[f.length-1].rhs&&f[f.length-1].rhs.hasOwnProperty(p);if(!_&&y)n(new i(h,t));else if(!y&&_)n(new s(h,e));else if(c(e)!==c(t))n(new r(h,e,t));else if("date"===c(e)&&e-t!=0)n(new r(h,e,t));else if("object"===g&&null!==e&&null!==t)if(f.filter((function(t){return t.lhs===e})).length)e!==t&&n(new r(h,e,t));else{if(f.push({lhs:e,rhs:t}),Array.isArray(e)){var b;for(e.length,b=0;b=t.length?n(new a(h,b,new s(void 0,e[b]))):u(e[b],t[b],n,o,h,b,f);for(;b=0?(u(e[r],t[r],n,o,h,r,f),C=l(C,s)):u(e[r],void 0,n,o,h,r,f)})),C.forEach((function(e){u(void 0,t[e],n,o,h,e,f)}))}f.length=f.length-1}else e!==t&&("number"===g&&isNaN(e)&&isNaN(t)||n(new r(h,e,t)))}function d(e,t,n,o){return o=o||[],u(e,t,(function(e){e&&o.push(e)}),n),o.length?o:void 0}function p(e,t,n){if(e&&t&&n&&n.kind){for(var o=e,r=-1,i=n.path?n.path.length-1:0;++r0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},E,e),n=t.logger,o=t.stateTransformer,r=t.errorTransformer,i=t.predicate,s=t.logErrors,a=t.diffPredicate;if(void 0===n)return function(){return function(e){return function(t){return e(t)}}};if(e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var l=[];return function(e){var n=e.getState;return function(e){return function(c){if("function"==typeof i&&!i(n,c))return e(c);var u={};l.push(u),u.started=C.now(),u.startedTime=new Date,u.prevState=o(n()),u.action=c;var d=void 0;if(s)try{d=e(c)}catch(e){u.error=r(e)}else d=e(c);u.took=C.now()-u.started,u.nextState=o(n());var p=t.diff&&"function"==typeof a?a(n,c):t.diff;if(g(l,Object.assign({},t,{diff:p})),l.length=0,u.error)throw u.error;return d}}}}var _,y,b=function(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e},S=function(e){return b(e.getHours(),2)+":"+b(e.getMinutes(),2)+":"+b(e.getSeconds(),2)+"."+b(e.getMilliseconds(),3)},C="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},t=e.dispatch,n=e.getState;return"function"==typeof t||"function"==typeof n?v()({dispatch:t,getState:n}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};t.defaults=E,t.createLogger=v,t.logger=I,t.default=I,Object.defineProperty(t,"__esModule",{value:!0})}(t)}).call(this,n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(456),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={},t}return o.__extends(t,e),t.prototype.componentDidCatch=function(e,t){this.setState({error:e,info:t}),(this.props.onError||i.noop)(e,t)},t.prototype.render=function(){var e=this.props,t=this.state,n=e.renderError,o=e.children;return t.error?"function"==typeof n?n(t):null:o},t}(r.Component);t.ErrorBoundary=s,t.withErrorBoundary=function(e,t){return function(n){return i.h(s,t,i.h(e,n))}}},function(e,t,n){"use strict";const o=n(953),r=async(e,t)=>{let n;t={interval:20,timeout:1/0,...t};const r=new Promise((o,r)=>{const i=async()=>{try{const r=await e();if("boolean"!=typeof r)throw new TypeError("Expected condition to return a boolean");!0===r?o():n=setTimeout(i,t.interval)}catch(e){r(e)}};i()});if(t.timeout!==1/0)try{return await o(r,t.timeout)}catch(e){throw n&&clearTimeout(n),e}return r};e.exports=r,e.exports.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.default=function(e,t){var n=o.useRef((function(){}));o.useEffect((function(){n.current=e})),o.useEffect((function(){if(null!==t){var e=setInterval((function(){return n.current()}),t||0);return function(){return clearInterval(e)}}}),[t])}},function(e){e.exports=JSON.parse('{"name":"etoro-better-ui","version":"0.25.2","description":"","main":"index.js","scripts":{"dev":"webpack -w","build":"NODE_ENV=production webpack","server":"concurrently \'http-server -p 8087 -c-1 src_dist\'","auto:changelog":"standard-version","changelog":"npx conventional-changelog-cli -i CHANGELOG.md -p angular -s -r 0"},"author":"lezi.chen","license":"ISC","devDependencies":{"@babel/core":"^7.10.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.10.4","@babel/plugin-proposal-optional-chaining":"^7.10.4","@babel/preset-env":"^7.10.4","@types/angular":"^1.7.2","@types/debug":"^4.1.5","@types/fork-ts-checker-webpack-plugin":"^0.4.5","@types/google.analytics":"0.0.40","@types/jest":"^26.0.3","@types/jquery":"^3.5.0","@types/lodash":"^4.14.157","@types/react":"^16.9.41","@types/react-dom":"^16.9.8","@types/redux-logger":"^3.0.8","@types/redux-thunk":"^2.1.0","@types/webpack-bundle-analyzer":"^3.8.0","@typescript-eslint/eslint-plugin":"^3.5.0","@typescript-eslint/parser":"^3.5.0","babel-eslint":"^10.1.0","babel-loader":"^8.1.0","babel-plugin-import":"^1.13.0","babel-plugin-lodash":"^3.3.4","clean-webpack-plugin":"^3.0.0","concurrently":"^5.2.0","css-loader":"^3.6.0","dotenv-webpack":"^1.8.0","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.20.3","fork-ts-checker-webpack-plugin":"^5.0.6","friendly-errors-webpack-plugin":"^1.7.0","globby":"^11.0.1","http-server":"^0.12.3","prettier":"^2.0.5","progress-bar-webpack-plugin":"^2.1.0","scss-loader":"0.0.1","standard-version":"^8.0.0","style-loader":"^1.2.1","ts-loader":"^7.0.5","typescript":"^3.9.6","webpack":"^4.43.0","webpack-bundle-analyzer":"^3.8.0","webpack-cli":"^3.3.12","webpack-node-externals":"^1.7.2"},"dependencies":{"@blueprintjs/docs-theme":"^3.6.2","@fluentui/react":"^7.121.9","@reduxjs/toolkit":"^1.4.0","@types/react-redux":"^7.1.9","cogo-toast":"^4.2.3","debug":"^4.1.1","emittery":"^0.7.0","immer":"^7.0.5","jest":"^26.1.0","libreact":"^2.13.3","lodash":"^4.17.15","p-wait-for":"^3.1.0","query-string":"^6.13.1","rc-tooltip":"^4.2.1","react":"^16.13.1","react-dom":"^16.13.1","react-redux":"^7.2.0","react-use":"^15.3.2","redux":"^4.0.5","redux-devtools-extension":"^2.13.8","redux-logger":"^3.0.6","redux-thunk":"^2.3.0","ts-jest":"^26.1.1"}}')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(62),r=n(0),i=o.__importDefault(n(959));t.default=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=[]);var o=i.default(e,t),s=o[0],a=o[1],l=o[2];return r.useEffect(l,n),[s,a]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(62),r=n(0),i=o.__importDefault(n(960));t.default=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={loading:!1});var s=r.useRef(0),a=i.default(),l=r.useState(n),c=l[0],u=l[1];return[c,r.useCallback((function(){for(var t=[],n=0;n{"%%"!==e&&(o++,"%c"===e&&(r=o))}),t.splice(r,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==o&&"env"in o&&(e=o.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(152)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n(34))},function(e,t){var n=1e3,o=6e4,r=60*o,i=24*r;function s(e,t,n,o){var r=t>=1.5*n;return Math.round(e/n)+" "+o+(r?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*o;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return s(e,t,i,"day");if(t>=r)return s(e,t,r,"hour");if(t>=o)return s(e,t,o,"minute");if(t>=n)return s(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=r)return Math.round(e/r)+"h";if(t>=o)return Math.round(e/o)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){(function(o){const r=n(421),i=n(153);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let o=0;o=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(o.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase());let r=o.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[n]=r,e},{}),e.exports=n(152)(t);const{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).replace(/\s*\n\s*/g," ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}}).call(this,n(34))},function(e,t){t.isatty=function(){return!1},t.ReadStream=function(){throw new Error("tty.ReadStream is not implemented")},t.WriteStream=function(){throw new Error("tty.ReadStream is not implemented")}},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t,n){try{var o=n(153);if("function"!=typeof o.inherits)throw"";e.exports=o.inherits}catch(t){e.exports=n(424)}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";(function(t){const o=n(426),r=n(427),i=t.env;let s;function a(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===s)return 0;if(r("color=16m")||r("color=full")||r("color=truecolor"))return 3;if(r("color=256"))return 2;if(e&&!e.isTTY&&!0!==s)return 0;const n=s?1:0;if("win32"===t.platform){const e=o.release().split(".");return Number(t.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}return"CI"in i?["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in i)||"codeship"===i.CI_NAME?1:n:"TEAMCITY_VERSION"in i?/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0:3}(e))}r("no-color")||r("no-colors")||r("color=false")?s=!1:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(s=!0),"FORCE_COLOR"in i&&(s=0===i.FORCE_COLOR.length||0!==parseInt(i.FORCE_COLOR,10)),e.exports={supportsColor:a,stdout:a(t.stdout),stderr:a(t.stderr)}}).call(this,n(34))},function(e,t){t.endianness=function(){return"LE"},t.hostname=function(){return"undefined"!=typeof location?location.hostname:""},t.loadavg=function(){return[]},t.uptime=function(){return 0},t.freemem=function(){return Number.MAX_VALUE},t.totalmem=function(){return Number.MAX_VALUE},t.cpus=function(){return[]},t.type=function(){return"Browser"},t.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},t.networkInterfaces=t.getNetworkInterfaces=function(){return{}},t.arch=function(){return"javascript"},t.platform=function(){return"browser"},t.tmpdir=t.tmpDir=function(){return"/tmp"},t.EOL="\n",t.homedir=function(){return"/"}},function(e,t,n){"use strict";(function(t){e.exports=(e,n)=>{n=n||t.argv;const o=e.startsWith("-")?"":1===e.length?"-":"--",r=n.indexOf(o+e),i=n.indexOf("--");return-1!==r&&(-1===i||r=0)s(a.split(" "));else{var l=i.argsFromClassName(a);l?s(l):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?s(a):"object"==typeof a&&r.push(a)}}return s(e),{classes:n,objects:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(6),i=n(13),s=r.GlobalSettings.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),a=i.Stylesheet.getInstance();a&&a.onReset&&a.onReset((function(){for(var e in s)s.hasOwnProperty(e)&&s[e].subset&&(s[e].subset.className=void 0)}));var l=function(e){return e.toLowerCase()};t.registerIcons=function(e,t){var n=o.__assign(o.__assign({},e),{isRegistered:!1,className:void 0}),r=e.icons;for(var i in t=t?o.__assign(o.__assign({},s.__options),t):s.__options,r)if(r.hasOwnProperty(i)){var a=r[i],c=l(i);s[c]?d(i):s[c]={code:a,subset:n}}},t.unregisterIcons=function(e){for(var t=s.__options,n=function(e){var n=l(e);s[n]?delete s[n]:t.disableWarnings||r.warn('The icon "'+e+'" tried to unregister but was not registered.'),s.__remapped[n]&&delete s.__remapped[n],Object.keys(s.__remapped).forEach((function(e){s.__remapped[e]===n&&delete s.__remapped[e]}))},o=0,i=e;o10?" (+ "+(c.length-10)+" more)":"")),u=void 0,c=[]}),2e3)))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(19),r=function(){function e(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}return e.prototype.dispose=function(){var e;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(e,t){var n=this,o=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),o=setTimeout((function(){try{n._timeoutIds&&delete n._timeoutIds[o],e.apply(n._parent)}catch(e){n._onErrorHandler&&n._onErrorHandler(e)}}),t),this._timeoutIds[o]=!0),o},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e,t){var n=this,r=0,i=o.getWindow(t);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});r=i.setTimeout((function(){try{n._immediateIds&&delete n._immediateIds[r],e.apply(n._parent)}catch(e){n._logError(e)}}),0),this._immediateIds[r]=!0}return r},e.prototype.clearImmediate=function(e,t){var n=o.getWindow(t);this._immediateIds&&this._immediateIds[e]&&(n.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var n=this,o=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),o=setInterval((function(){try{e.apply(n._parent)}catch(e){n._logError(e)}}),t),this._intervalIds[o]=!0),o},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,n){var o=this;if(this._isDisposed)return this._noop;var r,i,s=t||0,a=!0,l=!0,c=0,u=null;n&&"boolean"==typeof n.leading&&(a=n.leading),n&&"boolean"==typeof n.trailing&&(l=n.trailing);var d=function(t){var n=(new Date).getTime(),p=n-c,f=a?s-p:s;return p>=s&&(!t||a)?(c=n,u&&(o.clearTimeout(u),u=null),r=e.apply(o._parent,i)):null===u&&l&&(u=o.setTimeout(d,f)),r};return function(){for(var e=[],t=0;t=a&&(n=!0),d=t);var r=t-d,s=a-r,h=t-p,v=!1;return null!==u&&(h>=u&&f?v=!0:s=Math.min(s,u-h)),r>=a||v||n?m(t):null!==f&&e||!c||(f=o.setTimeout(g,s)),i},v=function(){return!!f},_=function(){for(var e=[],t=0;t0&&e.preventDefault(),o.scrollHeight-Math.ceil(o.scrollTop)<=o.clientHeight&&t<0&&e.preventDefault()}}),{passive:!1}),o=e}},t.allowOverscrollOnElement=function(e,t){if(e){t.on(e,"touchmove",(function(e){e.stopPropagation()}),{passive:!1})}};var c=function(e){e.preventDefault()};function u(e){for(var n=e,o=r.getDocument(e);n&&n!==o.body;){if("true"===n.getAttribute(t.DATA_IS_SCROLLABLE_ATTRIBUTE))return n;n=n.parentElement}for(n=e;n&&n!==o.body;){if("false"!==n.getAttribute(t.DATA_IS_SCROLLABLE_ATTRIBUTE)){var i=getComputedStyle(n),a=i?i.getPropertyValue("overflow-y"):"";if(a&&("scroll"===a||"auto"===a))return n}n=n.parentElement}return n&&n!==o.body||(n=s.getWindow(e)),n}t.disableBodyScroll=function(){var e=r.getDocument();e&&e.body&&!a&&(e.body.classList.add(l),e.body.addEventListener("touchmove",c,{passive:!1,capture:!1})),a++},t.enableBodyScroll=function(){if(a>0){var e=r.getDocument();e&&e.body&&1===a&&(e.body.classList.remove(l),e.body.removeEventListener("touchmove",c)),a--}},t.getScrollbarWidth=function(){if(void 0===o){var e=document.createElement("div");e.style.setProperty("width","100px"),e.style.setProperty("height","100px"),e.style.setProperty("overflow","scroll"),e.style.setProperty("position","absolute"),e.style.setProperty("top","-9999px"),document.body.appendChild(e),o=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return o},t.findScrollableParent=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRect=function(e){var t;return e&&(e===window?t={left:0,top:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:e.getBoundingClientRect&&(t=e.getBoundingClientRect())),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(54);t.warnConditionallyRequiredProps=function(e,t,n,o,r){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(54);t.warnMutuallyExclusive=function(e,t,n){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(54);t.warnDeprecations=function(e,t,n){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(19),r=0,i=function(){function e(){}return e.getValue=function(e,t){var n=s();return void 0===n[e]&&(n[e]="function"==typeof t?t():t),n[e]},e.setValue=function(e,t){var n=s(),o=n.__callbacks__,r=n[e];if(t!==r){n[e]=t;var i={oldValue:r,value:t,key:e};for(var a in o)o.hasOwnProperty(a)&&o[a](i)}return t},e.addChangeListener=function(e){var t=e.__id__,n=a();t||(t=e.__id__=String(r++)),n[t]=e},e.removeChangeListener=function(e){delete a()[e.__id__]},e}();function s(){var e,t=o.getWindow()||{};return t.__globalSettings__||(t.__globalSettings__=((e={}).__callbacks__={},e)),t.__globalSettings__}function a(){return s().__callbacks__}t.GlobalSettings=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appendFunction=function(e){for(var t=[],n=1;n=0||0===l.indexOf("data-")||0===l.indexOf("aria-"))||n&&-1!==(null===(o=n)||void 0===o?void 0:o.indexOf(l))||(i[l]=e[l])}return i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SELECTION_CHANGE="change",function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.multiple=2]="multiple"}(t.SelectionMode||(t.SelectionMode={})),function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(t.SelectionDirection||(t.SelectionDirection={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultEffects={elevation4:"0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",elevation8:"0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",elevation16:"0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",elevation64:"0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)",roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r;!function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web",e.Armenian="Segoe UI Web (Armenian)",e.Georgian="Segoe UI Web (Georgian)"}(o=t.LocalizedFontNames||(t.LocalizedFontNames={})),function(e){e.Arabic="'"+o.Arabic+"'",e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'"+o.Cyrillic+"'",e.EastEuropean="'"+o.EastEuropean+"'",e.Greek="'"+o.Greek+"'",e.Hebrew="'"+o.Hebrew+"'",e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'"+o.Selawik+"'",e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'"+o.Vietnamese+"'",e.WestEuropean="'"+o.WestEuropean+"'",e.Armenian="'"+o.Armenian+"'",e.Georgian="'"+o.Georgian+"'"}(r=t.LocalizedFontFamilies||(t.LocalizedFontFamilies={}));var i,s,a="'Segoe UI', '"+o.WestEuropean+"'",l={ar:r.Arabic,bg:r.Cyrillic,cs:r.EastEuropean,el:r.Greek,et:r.EastEuropean,he:r.Hebrew,hi:r.Hindi,hr:r.EastEuropean,hu:r.EastEuropean,ja:r.Japanese,kk:r.EastEuropean,ko:r.Korean,lt:r.EastEuropean,lv:r.EastEuropean,pl:r.EastEuropean,ru:r.Cyrillic,sk:r.EastEuropean,"sr-latn":r.EastEuropean,th:r.Thai,tr:r.EastEuropean,uk:r.Cyrillic,vi:r.Vietnamese,"zh-hans":r.ChineseSimplified,"zh-hant":r.ChineseTraditional,hy:r.Armenian,ka:r.Georgian};function c(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}!function(e){e.mini="10px",e.xSmall="10px",e.small="12px",e.smallPlus="12px",e.medium="14px",e.mediumPlus="16px",e.icon="16px",e.large="18px",e.xLarge="20px",e.xLargePlus="24px",e.xxLarge="28px",e.xxLargePlus="32px",e.superLarge="42px",e.mega="68px"}(i=t.FontSizes||(t.FontSizes={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(s=t.FontWeights||(t.FontWeights={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(t.IconFontSizes||(t.IconFontSizes={})),t.createFontStyles=function(e){var t=function(e){for(var t in l)if(l.hasOwnProperty(t)&&e&&0===t.indexOf(e))return l[t];return a}(e)+", 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif";return{tiny:c(i.mini,s.regular,t),xSmall:c(i.xSmall,s.regular,t),small:c(i.small,s.regular,t),smallPlus:c(i.smallPlus,s.regular,t),medium:c(i.medium,s.regular,t),mediumPlus:c(i.mediumPlus,s.regular,t),large:c(i.large,s.regular,t),xLarge:c(i.xLarge,s.semibold,t),xLargePlus:c(i.xLargePlus,s.semibold,t),xxLarge:c(i.xxLarge,s.semibold,t),xxLargePlus:c(i.xxLargePlus,s.semibold,t),superLarge:c(i.superLarge,s.semibold,t),mega:c(i.mega,s.semibold,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HighContrastSelector="@media screen and (-ms-high-contrast: active)",t.HighContrastSelectorWhite="@media screen and (-ms-high-contrast: black-on-white)",t.HighContrastSelectorBlack="@media screen and (-ms-high-contrast: white-on-black)",t.EdgeChromiumHighContrastSelector="@media screen and (forced-colors: active)",t.ScreenWidthMinSmall=320,t.ScreenWidthMinMedium=480,t.ScreenWidthMinLarge=640,t.ScreenWidthMinXLarge=1024,t.ScreenWidthMinXXLarge=1366,t.ScreenWidthMinXXXLarge=1920,t.ScreenWidthMaxSmall=t.ScreenWidthMinMedium-1,t.ScreenWidthMaxMedium=t.ScreenWidthMinLarge-1,t.ScreenWidthMaxLarge=t.ScreenWidthMinXLarge-1,t.ScreenWidthMaxXLarge=t.ScreenWidthMinXXLarge-1,t.ScreenWidthMaxXXLarge=t.ScreenWidthMinXXXLarge-1,t.ScreenWidthMinUhfMobile=768,t.getScreenSelector=function(e,t){return"@media only screen and (min-width: "+e+"px) and (max-width: "+t+"px)"},t.getEdgeChromiumNoHighContrastAdjustSelector=function(){var e;return(e={})[t.EdgeChromiumHighContrastSelector]={forcedColorAdjust:"none"},e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(t.ZIndexes||(t.ZIndexes={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(6),i=n(104),s=n(103),a=n(562),l=n(20),c=n(207),u=f({palette:s.DefaultPalette,semanticColors:h(s.DefaultPalette,!1,!1),fonts:i.DefaultFontStyles,isInverted:!1,disableGlobalClassNames:!1}),d=[];function p(){var e,n,o;if(!r.Customizations.getSettings([t.ThemeSettingName]).theme){var i=r.getWindow();(null===(o=null===(n=i)||void 0===n?void 0:n.FabricConfig)||void 0===o?void 0:o.theme)&&(u=f(i.FabricConfig.theme)),r.Customizations.applySettings(((e={})[t.ThemeSettingName]=u,e))}}function f(e,t){void 0===t&&(t=!1);var n=o.__assign(o.__assign({},s.DefaultPalette),e.palette);e.palette&&e.palette.accent||(n.accent=n.themePrimary);var l=o.__assign(o.__assign({},h(n,!!e.isInverted,t)),e.semanticColors),u=o.__assign({},i.DefaultFontStyles);if(e.defaultFontStyle)for(var d=0,p=Object.keys(u);d=0&&(r[e].splice(n,1),0===r[e].length&&delete r[e])}},t.notifyHostChanged=function(e){r[e]&&r[e].forEach((function(e){return e()}))},t.setDefaultTarget=function(e){o=e},t.getDefaultTarget=function(){return o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.zero=0]="zero",e[e.medium=1]="medium",e[e.long=2]="long"}(t.TooltipDelay||(t.TooltipDelay={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(3),s=n(2),a=n(227),l=n(214),c=n(225),u=s.classNamesFunction(),d=function(e){function t(n){var o=e.call(this,n)||this;return o._tooltipHost=r.createRef(),o._defaultTooltipId=s.getId("tooltip"),o.show=function(){o._toggleTooltip(!0)},o.dismiss=function(){o._hideTooltip()},o._getTargetElement=function(){if(o._tooltipHost.current){var e=o.props.overflowMode;if(void 0!==e)switch(e){case a.TooltipOverflowMode.Parent:return o._tooltipHost.current.parentElement;case a.TooltipOverflowMode.Self:return o._tooltipHost.current}return o._tooltipHost.current}},o._onTooltipMouseEnter=function(e){var n=o.props,r=n.overflowMode,i=n.delay;if(t._currentVisibleTooltip&&t._currentVisibleTooltip!==o&&t._currentVisibleTooltip.dismiss(),t._currentVisibleTooltip=o,void 0!==r){var a=o._getTargetElement();if(a&&!s.hasOverflow(a))return}if(!e.target||!s.portalContainsElement(e.target,o._getTargetElement()))if(o._clearDismissTimer(),o._clearOpenTimer(),i!==c.TooltipDelay.zero){o.setState({isAriaPlaceholderRendered:!0});var l=o._getDelayTime(i);o._openTimerId=o._async.setTimeout((function(){o._toggleTooltip(!0)}),l)}else o._toggleTooltip(!0)},o._onTooltipMouseLeave=function(e){var n=o.props.closeDelay;o._clearDismissTimer(),o._clearOpenTimer(),n?o._dismissTimerId=o._async.setTimeout((function(){o._toggleTooltip(!1)}),n):o._toggleTooltip(!1),t._currentVisibleTooltip===o&&(t._currentVisibleTooltip=void 0)},o._onTooltipKeyDown=function(e){e.which===s.KeyCodes.escape&&o._hideTooltip()},o._clearDismissTimer=function(){o._async.clearTimeout(o._dismissTimerId)},o._clearOpenTimer=function(){o._async.clearTimeout(o._openTimerId)},o._hideTooltip=function(){o._clearOpenTimer(),o._clearDismissTimer(),o._toggleTooltip(!1)},o._toggleTooltip=function(e){o.state.isTooltipVisible!==e&&o.setState({isAriaPlaceholderRendered:!1,isTooltipVisible:e},(function(){return o.props.onTooltipToggle&&o.props.onTooltipToggle(e)}))},o._getDelayTime=function(e){switch(e){case c.TooltipDelay.medium:return 300;case c.TooltipDelay.long:return 500;default:return 0}},s.initializeComponentRef(o),o.state={isAriaPlaceholderRendered:!1,isTooltipVisible:!1},o._async=new s.Async(o),o}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.calloutProps,n=e.children,a=e.content,c=e.directionalHint,d=e.directionalHintForRTL,p=e.hostClassName,f=e.id,h=e.setAriaDescribedBy,m=void 0===h||h,g=e.tooltipProps,v=e.styles,_=e.theme;this._classNames=u(v,{theme:_,className:p});var y=this.state,b=y.isAriaPlaceholderRendered,S=y.isTooltipVisible,C=f||this._defaultTooltipId,x=!!(a||g&&g.onRenderContent&&g.onRenderContent()),k=S&&x,w=m&&S&&x?C:void 0;return r.createElement("div",o.__assign({className:this._classNames.root,ref:this._tooltipHost},{onFocusCapture:this._onTooltipMouseEnter},{onBlurCapture:this._hideTooltip},{onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,"aria-describedby":w}),n,k&&r.createElement(l.Tooltip,o.__assign({id:C,content:a,targetElement:this._getTargetElement(),directionalHint:c,directionalHintForRTL:d,calloutProps:s.assign({},t,{onDismiss:this._hideTooltip,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave}),onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},s.getNativeProps(this.props,s.divProperties),g)),b&&r.createElement("div",{id:C,style:i.hiddenContentStyle},a))},t.prototype.componentWillUnmount=function(){t._currentVisibleTooltip&&t._currentVisibleTooltip===this&&(t._currentVisibleTooltip=void 0),this._async.dispose()},t.defaultProps={delay:c.TooltipDelay.medium},t}(r.Component);t.TooltipHostBase=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Parent=0]="Parent",e[e.Self=1]="Self"}(t.TooltipOverflowMode||(t.TooltipOverflowMode={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(229),i=n(596);t.PersonaCoin=o.styled(r.PersonaCoinBase,i.getStyles,void 0,{scope:"PersonaCoin"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(3),a=n(589),l=n(5),c=n(43),u=n(41),d=n(236),p=n(42),f=i.classNamesFunction({cacheSize:100}),h=function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderCoin=function(e){var t=n.props,o=t.coinSize,i=t.styles,s=t.imageUrl,a=t.imageAlt,l=t.imageShouldFadeIn,u=t.imageShouldStartVisible,d=t.theme,h=t.showUnknownPersonaCoin;if(!s)return null;var m=n.props.size,g=f(i,{theme:d,size:m,showUnknownPersonaCoin:h}),v=o||p.sizeToPixels[m];return r.createElement(c.Image,{className:g.image,imageFit:c.ImageFit.cover,src:s,width:v,height:v,alt:a,shouldFadeIn:l,shouldStartVisible:u,onLoadingStateChange:n._onPhotoLoadingStateChange})},n._onRenderInitials=function(e){var t=e.imageInitials,o=e.allowPhoneInitials;if(e.showUnknownPersonaCoin)return r.createElement(l.Icon,{iconName:"Help"});var s=i.getRTL(n.props.theme);return""!==(t=t||i.getInitials(n._getText(),s,o))?r.createElement("span",null,t):r.createElement(l.Icon,{iconName:"Contact"})},n._onPhotoLoadingStateChange=function(e){n.setState({isImageLoaded:e===c.ImageLoadState.loaded,isImageError:e===c.ImageLoadState.error}),n.props.onPhotoLoadingStateChange&&n.props.onPhotoLoadingStateChange(e)},n.state={isImageLoaded:!1,isImageError:!1},n}return o.__extends(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.imageUrl!==this.props.imageUrl&&this.setState({isImageLoaded:!1,isImageError:!1})},t.prototype.render=function(){var e=this.props,t=e.className,n=e.coinProps,c=e.showUnknownPersonaCoin,p=e.coinSize,h=e.styles,m=e.imageUrl,g=e.isOutOfOffice,v=e.onRenderCoin,_=void 0===v?this._onRenderCoin:v,y=e.onRenderPersonaCoin,b=void 0===y?_:y,S=e.onRenderInitials,C=void 0===S?this._onRenderInitials:S,x=e.presence,k=e.presenceTitle,w=e.presenceColors,P=e.showInitialsUntilImageLoads,E=e.theme,I=this.props.size,T=i.getNativeProps(this.props,i.divProperties),D=i.getNativeProps(n||{},i.divProperties),M=p?{width:p,height:p}:void 0,O=c,R={coinSize:p,isOutOfOffice:g,presence:x,presenceTitle:k,presenceColors:w,size:I,theme:E},N=f(h,{theme:E,className:n&&n.className?n.className:t,size:I,coinSize:p,showUnknownPersonaCoin:c}),F=Boolean(!this.state.isImageLoaded&&(P&&m||!m||this.state.isImageError||O));return r.createElement("div",o.__assign({role:"presentation"},T,{className:N.coin}),I!==u.PersonaSize.size8&&I!==u.PersonaSize.size10&&I!==u.PersonaSize.tiny?r.createElement("div",o.__assign({role:"presentation"},D,{className:N.imageArea,style:M}),F&&r.createElement("div",{className:s.mergeStyles(N.initials,!c&&{backgroundColor:d.getPersonaInitialsColor(this.props)}),style:M,"aria-hidden":"true"},C(this.props,this._onRenderInitials)),!O&&b(this.props,this._onRenderCoin),r.createElement(a.PersonaPresence,o.__assign({},R))):this.props.presence?r.createElement(a.PersonaPresence,o.__assign({},R)):r.createElement(l.Icon,{iconName:"Contact",className:N.size10WithoutPresenceIcon}),this.props.children)},t.prototype._getText=function(){return this.props.text||this.props.primaryText||""},t.defaultProps={size:u.PersonaSize.size48,presence:u.PersonaPresence.none,imageAlt:""},t}(r.Component);t.PersonaCoinBase=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(5),a=n(41),l=n(42),c=i.classNamesFunction({cacheSize:100}),u=function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderIcon=function(e,t){return r.createElement(s.Icon,{className:e,iconName:d(n.props.presence,n.props.isOutOfOffice),style:t})},n}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.coinSize,n=e.isOutOfOffice,o=e.styles,i=e.presence,s=e.theme,u=e.presenceTitle,d=e.presenceColors,p=l.sizeBoolean(this.props.size),f=!(p.isSize8||p.isSize10||p.isSize16||p.isSize24||p.isSize28||p.isSize32)&&(!t||t>32),h=t?t/3<40?t/3+"px":"40px":"",m=t?{fontSize:t?t/6<20?t/6+"px":"20px":"",lineHeight:h}:void 0,g=t?{width:h,height:h}:void 0,v=c(o,{theme:s,presence:i,size:this.props.size,isOutOfOffice:n,presenceColors:d});return i===a.PersonaPresence.none?null:r.createElement("div",{role:"presentation",className:v.presence,style:g,title:u},f&&this._onRenderIcon(v.presenceIcon,m))},t}(r.Component);function d(e,t){if(e){switch(a.PersonaPresence[e]){case"online":return"SkypeCheck";case"away":return t?"SkypeArrow":"SkypeClock";case"dnd":return"SkypeMinus";case"offline":return t?"SkypeArrow":""}return""}}t.PersonaPresenceBase=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(591),t),o.__exportStar(n(232),t),o.__exportStar(n(233),t),o.__exportStar(n(235),t),o.__exportStar(n(593),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(233),s=n(107),a=n(108),l=n(2),c=n(235),u=l.classNamesFunction({cacheSize:100}),d=function(e){function t(t){var n=e.call(this,t)||this;return n.onImageLoadingStateChange=function(e){n.props.imageProps&&n.props.imageProps.onLoadingStateChange&&n.props.imageProps.onLoadingStateChange(e),e===a.ImageLoadState.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,a=e.styles,d=e.iconName,p=e.imageErrorAs,f=e.theme,h="string"==typeof d&&0===d.length,m=!!this.props.imageProps||this.props.iconType===i.IconType.image||this.props.iconType===i.IconType.Image,g=c.getIconContent(d)||{},v=g.iconClassName,_=g.children,y=u(a,{theme:f,className:n,iconClassName:v,isImage:m,isPlaceholder:h}),b=m?"span":"i",S=l.getNativeProps(this.props,l.htmlElementProperties,["aria-label"]),C=this.state.imageLoadError,x=o.__assign(o.__assign({},this.props.imageProps),{onLoadingStateChange:this.onImageLoadingStateChange}),k=C&&p||s.Image,w=this.props["aria-label"]||this.props.ariaLabel,P=w?{"aria-label":w}:{"aria-hidden":!this.props["aria-labelledby"]&&!x["aria-labelledby"]};return r.createElement(b,o.__assign({"data-icon-name":d},P,S,{className:y.root}),m?r.createElement(k,o.__assign({},x)):t||_)},t}(r.Component);t.IconBase=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(t.IconType||(t.IconType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(108),a=i.classNamesFunction(),l=function(e){function t(t){var n=e.call(this,t)||this;return n._coverStyle=s.ImageCoverStyle.portrait,n._imageElement=r.createRef(),n._frameElement=r.createRef(),n._onImageLoaded=function(e){var t=n.props,o=t.src,r=t.onLoad;r&&r(e),n._computeCoverStyle(n.props),o&&n.setState({loadState:s.ImageLoadState.loaded})},n._onImageError=function(e){n.props.onError&&n.props.onError(e),n.setState({loadState:s.ImageLoadState.error})},n.state={loadState:s.ImageLoadState.notLoaded},n}return o.__extends(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.src!==this.props.src?this.setState({loadState:s.ImageLoadState.notLoaded}):this.state.loadState===s.ImageLoadState.loaded&&this._computeCoverStyle(e)},t.prototype.componentDidUpdate=function(e,t){this._checkImageLoaded(),this.props.onLoadingStateChange&&t.loadState!==this.state.loadState&&this.props.onLoadingStateChange(this.state.loadState)},t.prototype.render=function(){var e=i.getNativeProps(this.props,i.imgProperties,["width","height"]),t=this.props,n=t.src,l=t.alt,c=t.width,u=t.height,d=t.shouldFadeIn,p=t.shouldStartVisible,f=t.className,h=t.imageFit,m=t.role,g=t.maximizeFrame,v=t.styles,_=t.theme,y=this.state.loadState,b=void 0!==this.props.coverStyle?this.props.coverStyle:this._coverStyle,S=a(v,{theme:_,className:f,width:c,height:u,maximizeFrame:g,shouldFadeIn:d,shouldStartVisible:p,isLoaded:y===s.ImageLoadState.loaded||y===s.ImageLoadState.notLoaded&&this.props.shouldStartVisible,isLandscape:b===s.ImageCoverStyle.landscape,isCenter:h===s.ImageFit.center,isCenterContain:h===s.ImageFit.centerContain,isCenterCover:h===s.ImageFit.centerCover,isContain:h===s.ImageFit.contain,isCover:h===s.ImageFit.cover,isNone:h===s.ImageFit.none,isError:y===s.ImageLoadState.error,isNotImageFit:void 0===h});return r.createElement("div",{className:S.root,style:{width:c,height:u},ref:this._frameElement},r.createElement("img",o.__assign({},e,{onLoad:this._onImageLoaded,onError:this._onImageError,key:"fabricImage"+this.props.src||"",className:S.image,ref:this._imageElement,src:n,alt:l,role:m})))},t.prototype._checkImageLoaded=function(){var e=this.props.src;this.state.loadState===s.ImageLoadState.notLoaded&&(!!this._imageElement.current&&(e&&this._imageElement.current.naturalWidth>0&&this._imageElement.current.naturalHeight>0||this._imageElement.current.complete&&t._svgRegex.test(e))&&(this._computeCoverStyle(this.props),this.setState({loadState:s.ImageLoadState.loaded})))},t.prototype._computeCoverStyle=function(e){var t=e.imageFit,n=e.width,o=e.height;if((t===s.ImageFit.cover||t===s.ImageFit.contain||t===s.ImageFit.centerContain||t===s.ImageFit.centerCover)&&void 0===this.props.coverStyle&&this._imageElement.current&&this._frameElement.current){var r=void 0;r="number"==typeof n&&"number"==typeof o&&t!==s.ImageFit.centerContain&&t!==s.ImageFit.centerCover?n/o:this._frameElement.current.clientWidth/this._frameElement.current.clientHeight;var i=this._imageElement.current.naturalWidth/this._imageElement.current.naturalHeight;this._coverStyle=i>r?s.ImageCoverStyle.landscape:s.ImageCoverStyle.portrait}},t.defaultProps={shouldFadeIn:!0},t._svgRegex=/\.svg$/i,t}(r.Component);t.ImageBase=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(109),s=n(2),a=n(3);t.getIconContent=s.memoizeFunction((function(e){var t=a.getIcon(e)||{subset:{},code:void 0},n=t.code,o=t.subset;return n?{children:n,iconClassName:o.className,fontFamily:o.fontFace&&o.fontFace.fontFamily}:null}),void 0,!0),t.FontIcon=function(e){var n=e.iconName,a=e.className,l=e.style,c=void 0===l?{}:l,u=t.getIconContent(n)||{},d=u.iconClassName,p=u.children,f=u.fontFamily,h=s.getNativeProps(e,s.htmlElementProperties),m=e["aria-label"]?{}:{role:"presentation","aria-hidden":!0};return r.createElement("i",o.__assign({"data-icon-name":n},m,h,{className:s.css(i.MS_ICON,i.classNames.root,d,!n&&i.classNames.placeholder,a),style:o.__assign({fontFamily:f},c)}),p)},t.getFontIcon=s.memoizeFunction((function(e,n,o){return t.FontIcon({iconName:e,className:n,"aria-label":o})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(41),r=[o.PersonaInitialsColor.lightBlue,o.PersonaInitialsColor.blue,o.PersonaInitialsColor.darkBlue,o.PersonaInitialsColor.teal,o.PersonaInitialsColor.green,o.PersonaInitialsColor.darkGreen,o.PersonaInitialsColor.lightPink,o.PersonaInitialsColor.pink,o.PersonaInitialsColor.magenta,o.PersonaInitialsColor.purple,o.PersonaInitialsColor.orange,o.PersonaInitialsColor.lightRed,o.PersonaInitialsColor.darkRed,o.PersonaInitialsColor.violet,o.PersonaInitialsColor.gold,o.PersonaInitialsColor.burgundy,o.PersonaInitialsColor.warmGray,o.PersonaInitialsColor.cyan,o.PersonaInitialsColor.rust,o.PersonaInitialsColor.coolGray],i=r.length;function s(e){var t=e.primaryText,n=e.text,s=e.initialsColor;return"string"==typeof s?s:function(e){switch(e){case o.PersonaInitialsColor.lightBlue:return"#4F6BED";case o.PersonaInitialsColor.blue:return"#0078D4";case o.PersonaInitialsColor.darkBlue:return"#004E8C";case o.PersonaInitialsColor.teal:return"#038387";case o.PersonaInitialsColor.lightGreen:case o.PersonaInitialsColor.green:return"#498205";case o.PersonaInitialsColor.darkGreen:return"#0B6A0B";case o.PersonaInitialsColor.lightPink:return"#C239B3";case o.PersonaInitialsColor.pink:return"#E3008C";case o.PersonaInitialsColor.magenta:return"#881798";case o.PersonaInitialsColor.purple:return"#5C2E91";case o.PersonaInitialsColor.orange:return"#CA5010";case o.PersonaInitialsColor.red:return"#EE1111";case o.PersonaInitialsColor.lightRed:return"#D13438";case o.PersonaInitialsColor.darkRed:return"#A4262C";case o.PersonaInitialsColor.transparent:return"transparent";case o.PersonaInitialsColor.violet:return"#8764B8";case o.PersonaInitialsColor.gold:return"#986F0B";case o.PersonaInitialsColor.burgundy:return"#750B1C";case o.PersonaInitialsColor.warmGray:return"#7A7574";case o.PersonaInitialsColor.cyan:return"#005B70";case o.PersonaInitialsColor.rust:return"#8E562E";case o.PersonaInitialsColor.coolGray:return"#69797E";case o.PersonaInitialsColor.black:return"#1D1D1D";case o.PersonaInitialsColor.gray:return"#393939"}}(s=void 0!==s?s:function(e){var t=o.PersonaInitialsColor.blue;if(!e)return t;for(var n=0,s=e.length-1;s>=0;s--){var a=e.charCodeAt(s),l=s%8;n^=(a<>8-l)}return t=r[n%i]}(n||t))}t.initialsColorPropToColorCode=function(e){return s(e)},t.getPersonaInitialsColor=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(110),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=function(e){function t(t){var n=e.call(this,t)||this;return n._inputElement=r.createRef(),n._autoFillEnabled=!0,n._isComposing=!1,n._onCompositionStart=function(e){n._isComposing=!0,n._autoFillEnabled=!1},n._onCompositionUpdate=function(){i.isIE11()&&n._updateValue(n._getCurrentInputValue(),!0)},n._onCompositionEnd=function(e){var t=n._getCurrentInputValue();n._tryEnableAutofill(t,n.value,!1,!0),n._isComposing=!1,n._async.setTimeout((function(){n._updateValue(n._getCurrentInputValue(),!1)}),0)},n._onClick=function(){n._value&&""!==n._value&&n._autoFillEnabled&&(n._autoFillEnabled=!1)},n._onKeyDown=function(e){if(n.props.onKeyDown&&n.props.onKeyDown(e),!e.nativeEvent.isComposing)switch(e.which){case i.KeyCodes.backspace:n._autoFillEnabled=!1;break;case i.KeyCodes.left:case i.KeyCodes.right:n._autoFillEnabled&&(n._value=n.state.displayValue,n._autoFillEnabled=!1);break;default:n._autoFillEnabled||-1!==n.props.enableAutofillOnKeyPress.indexOf(e.which)&&(n._autoFillEnabled=!0)}},n._onInputChanged=function(e){var t=n._getCurrentInputValue(e);if(n._isComposing||n._tryEnableAutofill(t,n._value,e.nativeEvent.isComposing),!i.isIE11()||!n._isComposing){var o=e.nativeEvent.isComposing,r=void 0===o?n._isComposing:o;n._updateValue(t,r)}},n._onChanged=function(){},n._updateValue=function(e,t){(e||e!==n._value)&&(n._value=n.props.onInputChange?n.props.onInputChange(e,t):e,n.setState({displayValue:n._getDisplayValue(n._value,n.props.suggestedDisplayValue)},(function(){return n._notifyInputChange(n._value,t)})))},i.initializeComponentRef(n),n._async=new i.Async(n),n._value=t.defaultVisibleValue||"",n.state={displayValue:t.defaultVisibleValue||""},n}return o.__extends(t,e),Object.defineProperty(t.prototype,"cursorLocation",{get:function(){if(this._inputElement.current){var e=this._inputElement.current;return"forward"!==e.selectionDirection?e.selectionEnd:e.selectionStart}return-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isValueSelected",{get:function(){return Boolean(this.inputElement&&this.inputElement.selectionStart!==this.inputElement.selectionEnd)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._inputElement.current?this._inputElement.current.selectionStart:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._inputElement.current?this._inputElement.current.selectionEnd:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputElement",{get:function(){return this._inputElement.current},enumerable:!0,configurable:!0}),t.prototype.UNSAFE_componentWillReceiveProps=function(e){if(this.props.updateValueInWillReceiveProps){var t=this.props.updateValueInWillReceiveProps();null!==t&&t!==this._value&&(this._value=t)}var n=this._getDisplayValue(this._value,e.suggestedDisplayValue);"string"==typeof n&&this.setState({displayValue:n})},t.prototype.componentDidUpdate=function(){var e=this._value,t=this.props,n=t.suggestedDisplayValue,o=t.shouldSelectFullInputValueInComponentDidUpdate,r=0;if(!t.preventValueSelection&&this._autoFillEnabled&&e&&n&&this._doesTextStartWith(n,e)){var i=!1;if(o&&(i=o()),i&&this._inputElement.current)this._inputElement.current.setSelectionRange(0,n.length,"backward");else{for(;r0&&this._inputElement.current&&this._inputElement.current.setSelectionRange(r,n.length,"backward")}}},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=this.state.displayValue,t=i.getNativeProps(this.props,i.inputProperties);return r.createElement("input",o.__assign({autoCapitalize:"off",autoComplete:"off","aria-autocomplete":"both"},t,{ref:this._inputElement,value:e,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}))},t.prototype.focus=function(){this._inputElement.current&&this._inputElement.current.focus()},t.prototype.clear=function(){this._autoFillEnabled=!0,this._updateValue("",!1),this._inputElement.current&&this._inputElement.current.setSelectionRange(0,0)},t.prototype._getCurrentInputValue=function(e){return e&&e.target&&e.target.value?e.target.value:this.inputElement&&this.inputElement.value?this.inputElement.value:""},t.prototype._tryEnableAutofill=function(e,t,n,o){!n&&e&&this._inputElement.current&&this._inputElement.current.selectionStart===e.length&&!this._autoFillEnabled&&(e.length>t.length||o)&&(this._autoFillEnabled=!0)},t.prototype._notifyInputChange=function(e,t){this.props.onInputValueChange&&this.props.onInputValueChange(e,t)},t.prototype._getDisplayValue=function(e,t){var n=e;return t&&e&&this._doesTextStartWith(t,n)&&this._autoFillEnabled&&(n=t),n},t.prototype._doesTextStartWith=function(e,t){return!(!e||!t)&&0===e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())},t.defaultProps={enableAutofillOnKeyPress:[i.KeyCodes.down,i.KeyCodes.up]},t}(r.Component);t.Autofill=s;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t}(s);t.BaseAutoFill=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(599),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=i.classNamesFunction(),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.message,n=e.styles,a=e.as,l=void 0===a?"div":a,c=e.className,u=s(n,{className:c});return r.createElement(l,o.__assign({role:"status",className:u.root},i.getNativeProps(this.props,i.divProperties,["className"])),r.createElement(i.DelayedRender,null,r.createElement("div",{className:u.screenReaderText},t)))},t.defaultProps={"aria-live":"polite"},t}(r.Component);t.AnnouncedBase=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(12),a=n(72),l=n(5),c=n(9),u=n(14),d=n(115),p=n(71),f=i.classNamesFunction(),h=function(){return null},m={styles:function(e){return{root:{selectors:{"&.is-disabled":{color:e.theme.semanticColors.bodyText}}}}}},g=function(e){function t(t){var n=e.call(this,t)||this;return n._focusZone=r.createRef(),n._onReduceData=function(e){var t=e.renderedItems,n=e.renderedOverflowItems,r=e.props.overflowIndex,i=t[r];if(i)return(t=o.__spreadArrays(t)).splice(r,1),n=o.__spreadArrays(n,[i]),o.__assign(o.__assign({},e),{renderedItems:t,renderedOverflowItems:n})},n._onGrowData=function(e){var t=e.renderedItems,n=e.renderedOverflowItems,r=e.props,i=r.overflowIndex,s=r.maxDisplayedItems,a=(n=o.__spreadArrays(n)).pop();if(a&&!(t.length>=s))return(t=o.__spreadArrays(t)).splice(i,0,a),o.__assign(o.__assign({},e),{renderedItems:t,renderedOverflowItems:n})},n._onRenderBreadcrumb=function(e){var t=e.props,a=t.ariaLabel,d=t.dividerAs,p=void 0===d?l.Icon:d,f=t.onRenderItem,g=void 0===f?n._onRenderItem:f,v=t.overflowAriaLabel,_=t.overflowIndex,y=t.onRenderOverflowIcon,b=e.renderedOverflowItems,S=e.renderedItems,C=b.map((function(e){var t=!(!e.onClick&&!e.href);return{name:e.text,key:e.key,onClick:e.onClick?n._onBreadcrumbClicked.bind(n,e):null,href:e.href,disabled:!t,itemProps:t?void 0:m}})),x=S.length-1,k=b&&0!==b.length,w=S.map((function(e,t){return r.createElement("li",{className:n._classNames.listItem,key:e.key||String(t)},g(e,n._onRenderItem),(t!==x||k&&t===_-1)&&r.createElement(p,{className:n._classNames.chevron,iconName:i.getRTL(n.props.theme)?"ChevronLeft":"ChevronRight",item:e}))}));if(k){var P=y?{}:{iconName:"More"},E=y||h;w.splice(_,0,r.createElement("li",{className:n._classNames.overflow,key:"overflow"},r.createElement(c.IconButton,{className:n._classNames.overflowButton,iconProps:P,role:"button","aria-haspopup":"true",ariaLabel:v,onRenderMenuIcon:E,menuProps:{items:C,directionalHint:u.DirectionalHint.bottomLeftEdge}}),_!==x+1&&r.createElement(p,{className:n._classNames.chevron,iconName:i.getRTL(n.props.theme)?"ChevronLeft":"ChevronRight",item:b[b.length-1]})))}var I=i.getNativeProps(n.props,i.htmlElementProperties,["className"]);return r.createElement("div",o.__assign({className:n._classNames.root,role:"navigation","aria-label":a},I),r.createElement(s.FocusZone,o.__assign({componentRef:n._focusZone,direction:s.FocusZoneDirection.horizontal},n.props.focusZoneProps),r.createElement("ol",{className:n._classNames.list},w)))},n._onRenderItem=function(e){if(e.onClick||e.href)return r.createElement(a.Link,{as:e.as,className:n._classNames.itemLink,href:e.href,"aria-current":e.isCurrentItem?"page":void 0,onClick:n._onBreadcrumbClicked.bind(n,e)},r.createElement(p.TooltipHost,o.__assign({content:e.text,overflowMode:p.TooltipOverflowMode.Parent},n.props.tooltipHostProps),e.text));var t=e.as||"span";return r.createElement(t,{className:n._classNames.item},r.createElement(p.TooltipHost,o.__assign({content:e.text,overflowMode:p.TooltipOverflowMode.Parent},n.props.tooltipHostProps),e.text))},n._onBreadcrumbClicked=function(e,t){e.onClick&&e.onClick(t,e)},i.initializeComponentRef(n),n._validateProps(t),n}return o.__extends(t,e),t.prototype.focus=function(){this._focusZone.current&&this._focusZone.current.focus()},t.prototype.render=function(){this._validateProps(this.props);var e=this.props,t=e.onReduceData,n=void 0===t?this._onReduceData:t,i=e.onGrowData,s=void 0===i?this._onGrowData:i,a=e.overflowIndex,l=e.maxDisplayedItems,c=e.items,u=e.className,p=e.theme,h=e.styles,m=o.__spreadArrays(c),g=m.splice(a,m.length-l),v={props:this.props,renderedItems:m,renderedOverflowItems:g};return this._classNames=f(h,{className:u,theme:p}),r.createElement(d.ResizeGroup,{onRenderData:this._onRenderBreadcrumb,onReduceData:n,onGrowData:s,data:v})},t.prototype._validateProps=function(e){var t=e.maxDisplayedItems,n=e.overflowIndex,o=e.items;if(n<0||t>1&&n>t-1||o.length>0&&n>o.length-1)throw new Error("Breadcrumb: overflowIndex out of range")},t.defaultProps={items:[],maxDisplayedItems:999,overflowIndex:0},t}(r.Component);t.BreadcrumbBase=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);n(606),o.__exportStar(n(607),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FocusZoneTabbableElements={none:0,all:1,inputOnly:2},function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(t.FocusZoneDirection||(t.FocusZoneDirection={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(22),a=i.classNamesFunction(),l=function(e){function t(t){var n=e.call(this,t)||this;return n._link=r.createRef(),n._renderContent=function(e){void 0===e&&(e={});var t=n.props,i=t.disabled,s=t.children,l=t.className,c=t.href,u=t.theme,d=t.styles,p=a(d,{className:l,isButton:!c,isDisabled:i,theme:u}),f=n._getRootType(n.props);return r.createElement(f,o.__assign({},e,n._adjustPropsForRootType(f,n.props),{className:p.root,onClick:n._onClick,ref:n._link,"aria-disabled":i}),s)},n._onClick=function(e){var t=n.props,o=t.onClick;t.disabled?e.preventDefault():o&&o(e)},i.initializeComponentRef(n),n}return o.__extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.disabled,o=t.keytipProps;return o?r.createElement(s.KeytipData,{keytipProps:o,ariaDescribedBy:this.props["aria-describedby"],disabled:n},(function(t){return e._renderContent(t)})):this._renderContent()},t.prototype.focus=function(){var e=this._link.current;e&&e.focus&&e.focus()},t.prototype._adjustPropsForRootType=function(e,t){t.children,t.as;var n=t.disabled,r=t.target,i=t.href,s=(t.theme,t.getStyles,t.styles,t.componentRef,t.keytipProps,o.__rest(t,["children","as","disabled","target","href","theme","getStyles","styles","componentRef","keytipProps"]));return"string"==typeof e?"a"===e?o.__assign({target:r,href:n?void 0:i},s):"button"===e?o.__assign({type:"button",disabled:n},s):o.__assign(o.__assign({},s),{disabled:n}):o.__assign({target:r,href:i,disabled:n},s)},t.prototype._getRootType=function(e){return e.as?e.as:e.href?"a":"button"},t}(r.Component);t.LinkBase=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.useConstCallback=function(e){var t=o.useRef();return t.current||(t.current=e),t.current}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2);function r(e,t){if(e.key!==t.key)return!1;var n=e.modifierKeys,o=t.modifierKeys;if(!n&&o||n&&!o)return!1;if(n&&o){if(n.length!==o.length)return!1;n=n.sort(),o=o.sort();for(var r=0;r0){for(var Y=0,q=0,Z=s;q0?r.createElement("li",{role:"presentation",key:c.key||e.key||"section-"+n},r.createElement("div",o.__assign({},d),r.createElement("ul",{className:this._classNames.list},c.topDivider&&this._renderSeparator(n,t,!0,!0),u&&this._renderListItem(u,e.key||n,t,e.title),c.items.map((function(e,t){return l._renderMenuItem(e,t,t,c.items.length,s,a)})),c.bottomDivider&&this._renderSeparator(n,t,!1,!0)))):void 0}},t.prototype._renderListItem=function(e,t,n,o){return r.createElement("li",{role:"presentation",title:o,key:t,className:n.item},e)},t.prototype._renderSeparator=function(e,t,n,o){return o||e>0?r.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},t.prototype._renderNormalItem=function(e,t,n,r,i,s,a){return e.onRender?e.onRender(o.__assign({"aria-posinset":r+1,"aria-setsize":i},e),this.dismiss):e.href?this._renderAnchorMenuItem(e,t,n,r,i,s,a):e.split&&c.hasSubmenu(e)?this._renderSplitButton(e,t,n,r,i,s,a):this._renderButtonItem(e,t,n,r,i,s,a)},t.prototype._renderHeaderMenuItem=function(e,t,n,i,s){var a=this.props.contextualMenuItemAs,c=void 0===a?p.ContextualMenuItem:a,u=e.itemProps,d=e.id,f=u&&l.getNativeProps(u,l.divProperties);return r.createElement("div",o.__assign({id:d,className:this._classNames.header},f,{style:e.style}),r.createElement(c,o.__assign({item:e,classNames:t,index:n,onCheckmarkClick:i?this._onItemClick:void 0,hasIcons:s},u)))},t.prototype._renderAnchorMenuItem=function(e,t,n,o,i,s,a){var l=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return r.createElement(f.ContextualMenuAnchor,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onAnchorClick,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:c,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderButtonItem=function(e,t,n,o,i,s,a){var l=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return r.createElement(f.ContextualMenuButton,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:c,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderSplitButton=function(e,t,n,o,i,s,a){var l=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return r.createElement(f.ContextualMenuSplitButton,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:i,hasCheckmarks:s,hasIcons:a,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss,expandedMenuItemKey:c,onTap:this._onPointerAndTouchEvent})},t.prototype._isAltOrMeta=function(e){return e.which===l.KeyCodes.alt||"Meta"===e.key},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._updateFocusOnMouseEvent=function(e,t,n){var o=this,r=n||t.currentTarget,i=this.props.subMenuHoverDelay,s=void 0===i?250:i;e.key!==this.state.expandedMenuItemKey&&(void 0!==this._enterTimerId&&(this._async.clearTimeout(this._enterTimerId),this._enterTimerId=void 0),void 0===this.state.expandedMenuItemKey&&r.focus(),c.hasSubmenu(e)?(t.stopPropagation(),this._enterTimerId=this._async.setTimeout((function(){r.focus(),o.setState({expandedByMouseClick:!0}),o._onItemSubMenuExpand(e,r),o._enterTimerId=void 0}),s)):this._enterTimerId=this._async.setTimeout((function(){o._onSubMenuDismiss(t),r.focus(),o._enterTimerId=void 0}),s))},t.prototype._getSubmenuProps=function(){var e=this.state,t=e.submenuTarget,n=e.expandedMenuItemKey,o=this._findItemByKey(n),r=null;return o&&(r={items:_(o),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:l.getRTL(this.props.theme)?s.DirectionalHint.leftTopEdge:s.DirectionalHint.rightTopEdge,className:this.props.className,gapSpace:0,isBeakVisible:!1},o.subMenuProps&&l.assign(r,o.subMenuProps)),r},t.prototype._findItemByKey=function(e){var t=this.props.items;return this._findItemByKeyFromItems(e,t)},t.prototype._findItemByKeyFromItems=function(e,t){for(var n=0,o=t;nn;){var l=t(s);if(void 0===l)return{renderedData:s,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(a=r.getCachedMeasurement(l)))return{dataToMeasure:l,resizeDirection:"shrink"};s=l}return{renderedData:s,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(e,t,a,l){if(void 0!==l||void 0!==t.dataToMeasure){if(l){if(n&&t.renderedData&&!t.dataToMeasure)return o.__assign(o.__assign({},t),function(e,t,r,i){var s;return s=e>n?i?{resizeDirection:"grow",dataToMeasure:i(r)}:{resizeDirection:"shrink",dataToMeasure:t}:{resizeDirection:"shrink",dataToMeasure:r},n=e,o.__assign(o.__assign({},s),{measureContainer:!1})}(l,e.data,t.renderedData,e.onGrowData));n=l}var c=o.__assign(o.__assign({},t),{measureContainer:!1});return t.dataToMeasure&&(c="grow"===t.resizeDirection&&e.onGrowData?o.__assign(o.__assign({},c),function(e,t,a,l){for(var c=e,u=i(e,a);uthis._targetElementRect.left-n&&ethis._targetElementRect.top-n&&t=o.MAX_HEX_LENGTH?e.substring(0,o.MAX_HEX_LENGTH):e.substring(0,o.MIN_HEX_LENGTH)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(48),i=n(10);t.updateT=function(e,t){var n=i.MAX_COLOR_ALPHA-t;return o.__assign(o.__assign({},e),{t:t,a:n,str:r._rgbaOrHexString(e.r,e.g,e.b,n,e.hex)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(129),a=n(693),l=n(695),c=n(10),u=n(39),d=n(47),p=n(26),f=n(126),h=n(277),m=n(125),g=n(127),v=n(276),_=n(281),y=i.classNamesFunction(),b=["hex","r","g","b","a","t"],S=function(e){function t(n){var r=e.call(this,n)||this;r._onSVChanged=function(e,t){r._updateColor(e,t)},r._onHChanged=function(e,t){r._updateColor(e,m.updateH(r.state.color,t))},r._onATChanged=function(e,t){var n="transparency"===r.props.alphaType?h.updateT:f.updateA;r._updateColor(e,n(r.state.color,Math.round(t)))},r._onBlur=function(e){var t,n=r.state,i=n.color,s=n.editingColor;if(s){var a=s.value,l=s.component,m="hex"===l,_="a"===l,y="t"===l,b=m?c.MIN_HEX_LENGTH:c.MIN_RGBA_LENGTH;if(a.length>=b&&(m||!isNaN(Number(a)))){var S=void 0;if(m)S=u.getColorFromString("#"+v.correctHex(a));else if(_||y){S=(_?f.updateA:h.updateT)(i,p.clamp(Number(a),c.MAX_COLOR_ALPHA))}else S=d.getColorFromRGBA(g.correctRGB(o.__assign(o.__assign({},i),((t={})[l]=Number(a),t))));r._updateColor(e,S)}else r.setState({editingColor:void 0})}},i.initializeComponentRef(r);var s=n.strings;i.warnDeprecations("ColorPicker",n,{hexLabel:"strings.hex",redLabel:"strings.red",greenLabel:"strings.green",blueLabel:"strings.blue",alphaLabel:"strings.alpha",alphaSliderHidden:"alphaType"}),s.hue&&i.warn("ColorPicker property 'strings.hue' was used but has been deprecated. Use 'strings.hueAriaLabel' instead."),r.state={color:C(n)||u.getColorFromString("#ffffff")},r._textChangeHandlers={};for(var a=0,l=b;a=0&&a>=0&&this.setSelectionRange(s,a));var l=u(e,t),c=this.value;l!==c&&(this._warnControlledUsage(e),this.state.errorMessage&&!o.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),this._lastChangeValue=void 0,d(o)&&this._delayedValidate(c))},t.prototype.render=function(){var e=this.props,t=e.borderless,n=e.className,i=e.disabled,c=e.iconProps,u=e.inputClassName,d=e.label,p=e.multiline,f=e.required,h=e.underlined,m=e.prefix,g=e.resizable,v=e.suffix,_=e.theme,y=e.styles,b=e.autoAdjustHeight,S=e.onRenderPrefix,C=void 0===S?this._onRenderPrefix:S,x=e.onRenderSuffix,k=void 0===x?this._onRenderSuffix:x,w=e.onRenderLabel,P=void 0===w?this._onRenderLabel:w,E=e.onRenderDescription,I=void 0===E?this._onRenderDescription:E,T=this.state.isFocused,D=this._errorMessage;return this._classNames=l(y,{theme:_,className:n,disabled:i,focused:T,required:f,multiline:p,hasLabel:!!d,hasErrorMessage:!!D,borderless:t,resizable:g,hasIcon:!!c,underlined:h,inputClassName:u,autoAdjustHeight:b}),r.createElement("div",{className:this._classNames.root},r.createElement("div",{className:this._classNames.wrapper},P(this.props,this._onRenderLabel),r.createElement("div",{className:this._classNames.fieldGroup},(void 0!==m||this.props.onRenderPrefix)&&r.createElement("div",{className:this._classNames.prefix},C(this.props,this._onRenderPrefix)),p?this._renderTextArea():this._renderInput(),c&&r.createElement(s.Icon,o.__assign({className:this._classNames.icon},c)),(void 0!==v||this.props.onRenderSuffix)&&r.createElement("div",{className:this._classNames.suffix},k(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&r.createElement("span",{id:this._descriptionId},I(this.props,this._onRenderDescription),D&&r.createElement("div",{role:"alert"},r.createElement(a.DelayedRender,null,r.createElement("p",{className:this._classNames.errorMessage},r.createElement("span",{"data-automation-id":"error-message"},D))))))},t.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},t.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},t.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},t.prototype.setSelectionStart=function(e){this._textElement.current&&(this._textElement.current.selectionStart=e)},t.prototype.setSelectionEnd=function(e){this._textElement.current&&(this._textElement.current.selectionEnd=e)},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!0,configurable:!0}),t.prototype.setSelectionRange=function(e,t){this._textElement.current&&this._textElement.current.setSelectionRange(e,t)},t.prototype._warnControlledUsage=function(e){a.warnControlledUsage({componentId:this._id,componentName:"TextField",props:this.props,oldProps:e,valueProp:"value",defaultValueProp:"defaultValue",onChangeProp:"onChange",readOnlyProp:"readOnly"}),null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,a.warn("Warning: 'value' prop on 'TextField' should not be null. Consider using an empty string to clear the component or undefined to indicate an uncontrolled component."))},Object.defineProperty(t.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isControlled",{get:function(){return a.isControlled(this.props,"value")},enumerable:!0,configurable:!0}),t.prototype._onRenderPrefix=function(e){var t=e.prefix;return r.createElement("span",{style:{paddingBottom:"1px"}},t)},t.prototype._onRenderSuffix=function(e){var t=e.suffix;return r.createElement("span",{style:{paddingBottom:"1px"}},t)},Object.defineProperty(t.prototype,"_errorMessage",{get:function(){var e=this.props.errorMessage;return(void 0===e?this.state.errorMessage:e)||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!0,configurable:!0}),t.prototype._renderTextArea=function(){var e=a.getNativeProps(this.props,a.textAreaProperties,["defaultValue"]),t=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return r.createElement("textarea",o.__assign({id:this._id},e,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":t,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._renderInput=function(){var e=a.getNativeProps(this.props,a.inputProperties,["defaultValue"]),t=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return r.createElement("input",o.__assign({type:"text",id:this._id,"aria-labelledby":t},e,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":this.props.ariaLabel,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!d(this.props)){this._latestValidateValue=e;var n=this.props.onGetErrorMessage,o=n&&n(e||"");if(void 0!==o)if("string"!=typeof o&&"then"in o){var r=++this._lastValidation;o.then((function(n){r===t._lastValidation&&t.setState({errorMessage:n}),t._notifyAfterValidate(e,n)}))}else this.setState({errorMessage:o}),this._notifyAfterValidate(e,o);else this._notifyAfterValidate(e,"")}},t.prototype._notifyAfterValidate=function(e,t){e===this.value&&this.props.onNotifyValidationResult&&this.props.onNotifyValidationResult(t,e)},t.prototype._adjustInputHeight=function(){if(this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline){var e=this._textElement.current;e.style.height="",e.style.height=e.scrollHeight+"px"}},t.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},t}(r.Component);function u(e,t){var n=e.value,o=void 0===n?t.uncontrolledValue:n;return"number"==typeof o?String(o):o}function d(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}t.TextFieldBase=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(10),a=n(123),l=n(124),c=n(26),u=i.classNamesFunction(),d=function(e){function t(t){var n=e.call(this,t)||this;return n._disposables=[],n._root=r.createRef(),n._isAdjustingSaturation=!0,n._descriptionId=i.getId("ColorRectangle-description"),n._onKeyDown=function(e){var t=n.state.color,o=t.s,r=t.v,a=e.shiftKey?10:1;switch(e.which){case i.KeyCodes.up:n._isAdjustingSaturation=!1,r+=a;break;case i.KeyCodes.down:n._isAdjustingSaturation=!1,r-=a;break;case i.KeyCodes.left:n._isAdjustingSaturation=!0,o-=a;break;case i.KeyCodes.right:n._isAdjustingSaturation=!0,o+=a;break;default:return}n._updateColor(e,l.updateSV(t,c.clamp(o,s.MAX_COLOR_SATURATION),c.clamp(r,s.MAX_COLOR_VALUE)))},n._onMouseDown=function(e){n._disposables.push(i.on(window,"mousemove",n._onMouseMove,!0),i.on(window,"mouseup",n._disposeListeners,!0)),n._onMouseMove(e)},n._onMouseMove=function(e){if(n._root.current){var t=p(e,n.state.color,n._root.current);t&&n._updateColor(e,t)}},n._disposeListeners=function(){n._disposables.forEach((function(e){return e()})),n._disposables=[]},i.initializeComponentRef(n),n.state={color:t.color},n}return o.__extends(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this.state.color},enumerable:!0,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){e!==this.props&&this.props.color&&this.setState({color:this.props.color})},t.prototype.componentWillUnmount=function(){this._disposeListeners()},t.prototype.render=function(){var e=this.props,t=e.minSize,n=e.theme,o=e.className,i=e.styles,l=e.ariaValueFormat,c=e.ariaLabel,d=e.ariaDescription,p=this.state.color,f=u(i,{theme:n,className:o,minSize:t}),h=l.replace("{0}",String(p.s)).replace("{1}",String(p.v));return r.createElement("div",{ref:this._root,tabIndex:0,className:f.root,style:{backgroundColor:a.getFullColorString(p)},onMouseDown:this._onMouseDown,onKeyDown:this._onKeyDown,role:"slider","aria-valuetext":h,"aria-valuenow":this._isAdjustingSaturation?p.s:p.v,"aria-valuemin":0,"aria-valuemax":s.MAX_COLOR_VALUE,"aria-label":c,"aria-describedby":this._descriptionId,"data-is-focusable":!0},r.createElement("div",{className:f.description,id:this._descriptionId},d),r.createElement("div",{className:f.light}),r.createElement("div",{className:f.dark}),r.createElement("div",{className:f.thumb,style:{left:p.s+"%",top:s.MAX_COLOR_VALUE-p.v+"%",backgroundColor:p.str}}))},t.prototype._updateColor=function(e,t){var n=this.props.onChange,o=this.state.color;t.s===o.s&&t.v===o.v||(n&&n(e,t),e.defaultPrevented||(this.setState({color:t}),e.preventDefault()))},t.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."},t}(r.Component);function p(e,t,n){var o=n.getBoundingClientRect(),r=(e.clientX-o.left)/o.width,i=(e.clientY-o.top)/o.height;return l.updateSV(t,c.clamp(Math.round(r*s.MAX_COLOR_SATURATION),s.MAX_COLOR_SATURATION),c.clamp(Math.round(s.MAX_COLOR_VALUE-i*s.MAX_COLOR_VALUE),s.MAX_COLOR_VALUE))}t.ColorRectangleBase=d,t._getNewColor=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r,i=n(1),s=n(0),a=n(110),l=n(2),c=n(21),u=n(117),d=n(9),p=n(14),f=n(701),h=n(702),m=n(22),g=n(31),v=n(131);!function(e){e[e.backward=-1]="backward",e[e.none=0]="none",e[e.forward=1]="forward"}(o||(o={})),function(e){e[e.clearAll=-2]="clearAll",e[e.default=-1]="default"}(r||(r={}));var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t.prototype.render=function(){return this.props.render()},t.prototype.shouldComponentUpdate=function(e){return!l.shallowCompare(i.__assign(i.__assign({},this.props),{render:void 0}),i.__assign(i.__assign({},e),{render:void 0}))},t}(s.Component),y=function(e){function t(t){var n=e.call(this,t)||this;n._root=s.createRef(),n._autofill=s.createRef(),n._comboBoxWrapper=s.createRef(),n._comboBoxMenu=s.createRef(),n._selectedElement=s.createRef(),n.focus=function(e,t){n._autofill.current&&(t?l.focusAsync(n._autofill.current):n._autofill.current.focus(),e&&n.setState({isOpen:!0})),n._hasFocus()||n.setState({focusState:"focused"})},n.dismissMenu=function(){n.state.isOpen&&n.setState({isOpen:!1})},n._onUpdateValueInAutofillWillReceiveProps=function(){var e=n._autofill.current;if(!e)return null;if(null===e.value||void 0===e.value)return null;var t=n._normalizeToString(n._currentVisibleValue);return e.value!==t?t||"":e.value},n._renderComboBoxWrapper=function(e,t,o){void 0===o&&(o={});var r=n.props,c=r.label,u=r.disabled,p=r.ariaLabel,f=r.ariaDescribedBy,h=r.required,m=r.errorMessage,g=r.allowFreeform,v=r.buttonIconProps,_=r.isButtonAriaHidden,y=void 0===_||_,b=r.title,S=r.placeholder,C=r.tabIndex,x=r.autofill,k=r.iconButtonProps,w=n.state,P=w.isOpen,E=w.suggestedDisplayValue,I=n._hasFocus()&&n.props.multiSelect&&e?e:S;return s.createElement("div",{"data-ktp-target":o["data-ktp-target"],ref:n._comboBoxWrapper,id:n._id+"wrapper",className:n._classNames.root},s.createElement(a.Autofill,i.__assign({"data-ktp-execute-target":o["data-ktp-execute-target"],"data-is-interactable":!u,componentRef:n._autofill,id:n._id+"-input",className:n._classNames.input,type:"text",onFocus:n._onFocus,onBlur:n._onBlur,onKeyDown:n._onInputKeyDown,onKeyUp:n._onInputKeyUp,onClick:n._onAutofillClick,onTouchStart:n._onTouchStart,onInputValueChange:n._onInputChange,"aria-expanded":P,"aria-autocomplete":n._getAriaAutoCompleteValue(),role:"combobox",readOnly:u||!g,"aria-labelledby":c&&n._id+"-label","aria-label":p&&!c?p:void 0,"aria-describedby":void 0!==m?l.mergeAriaAttributeValues(f,o["aria-describedby"],t):l.mergeAriaAttributeValues(f,o["aria-describedby"]),"aria-activedescendant":n._getAriaActiveDescendantValue(),"aria-required":h,"aria-disabled":u,"aria-owns":P?n._id+"-list":void 0,spellCheck:!1,defaultVisibleValue:n._currentVisibleValue,suggestedDisplayValue:E,updateValueInWillReceiveProps:n._onUpdateValueInAutofillWillReceiveProps,shouldSelectFullInputValueInComponentDidUpdate:n._onShouldSelectFullInputValueInAutofillComponentDidUpdate,title:b,preventValueSelection:!n._hasFocus(),placeholder:I,tabIndex:C},x)),s.createElement(d.IconButton,i.__assign({className:"ms-ComboBox-CaretDown-button",styles:n._getCaretButtonStyles(),role:"presentation","aria-hidden":y,"data-is-focusable":!1,tabIndex:-1,onClick:n._onComboBoxClick,onBlur:n._onBlur,iconProps:v,disabled:u,checked:P},k)))},n._onShouldSelectFullInputValueInAutofillComponentDidUpdate=function(){return n._currentVisibleValue===n.state.suggestedDisplayValue},n._getVisibleValue=function(){var e=n.props,t=e.text,o=e.allowFreeform,r=e.autoComplete,i=n.state,s=i.selectedIndices,a=i.currentPendingValueValidIndex,l=i.currentOptions,c=i.currentPendingValue,u=i.suggestedDisplayValue,d=i.isOpen,p=n._indexWithinBounds(l,a);if((!d||!p)&&t&&null==c)return t;if(n.props.multiSelect){if(n._hasFocus()){var f=-1;return"on"===r&&p&&(f=a),n._getPendingString(c,l,f)}return n._getMultiselectDisplayString(s,l,u)}f=n._getFirstSelectedIndex();return o?("on"===r&&p&&(f=a),n._getPendingString(c,l,f)):p&&"on"===r?(f=a,n._normalizeToString(c)):!n.state.isOpen&&c?n._indexWithinBounds(l,f)?c:n._normalizeToString(u):n._indexWithinBounds(l,f)?l[f].text:n._normalizeToString(u)},n._onInputChange=function(e){n.props.disabled?n._handleInputWhenDisabled(null):n.props.allowFreeform?n._processInputChangeWithFreeform(e):n._processInputChangeWithoutFreeform(e)},n._onFocus=function(){n._autofill.current&&n._autofill.current.inputElement&&n._autofill.current.inputElement.select(),n._hasFocus()||n.setState({focusState:"focusing"})},n._onResolveOptions=function(){if(n.props.onResolveOptions){var e=n.props.onResolveOptions(i.__spreadArrays(n.state.currentOptions));if(Array.isArray(e))n.setState({currentOptions:e});else if(e&&e.then){var t=n._currentPromise=e;t.then((function(e){t===n._currentPromise&&n.setState({currentOptions:e})}))}}},n._onBlur=function(e){var t=e.relatedTarget;if(null===e.relatedTarget&&(t=document.activeElement),t&&(n._root.current&&n._root.current.contains(t)||n._comboBoxMenu.current&&(n._comboBoxMenu.current.contains(t)||l.findElementRecursive(n._comboBoxMenu.current,(function(e){return e===t})))))return e.preventDefault(),void e.stopPropagation();n._hasFocus()&&(n.setState({focusState:"none"}),n.props.multiSelect&&!n.props.allowFreeform||n._submitPendingValue(e))},n._onRenderContainer=function(e){var t=e.onRenderList,o=e.calloutProps,r=e.dropdownWidth,a=e.dropdownMaxWidth,u=e.onRenderUpperContent,d=void 0===u?n._onRenderUpperContent:u,f=e.onRenderLowerContent,h=void 0===f?n._onRenderLowerContent:f,m=e.useComboBoxAsMenuWidth,g=e.persistMenu,v=e.shouldRestoreFocus,_=void 0===v||v,y=n.state.isOpen,b=m&&n._comboBoxWrapper.current?n._comboBoxWrapper.current.clientWidth+2:void 0;return s.createElement(c.Callout,i.__assign({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHint:p.DirectionalHint.bottomLeftEdge,directionalHintFixed:!1},o,{onLayerMounted:n._onLayerMounted,className:l.css(n._classNames.callout,o?o.className:void 0),target:n._comboBoxWrapper.current,onDismiss:n._onDismiss,onMouseDown:n._onCalloutMouseDown,onScroll:n._onScroll,setInitialFocus:!1,calloutWidth:m&&n._comboBoxWrapper.current?b&&b:r,calloutMaxWidth:a||b,hidden:g?!y:void 0,shouldRestoreFocus:_}),d(n.props,n._onRenderUpperContent),s.createElement("div",{className:n._classNames.optionsContainerWrapper,ref:n._comboBoxMenu},t(i.__assign({},e),n._onRenderList)),h(n.props,n._onRenderLowerContent))},n._onLayerMounted=function(){n._onCalloutLayerMounted(),n.props.calloutProps&&n.props.calloutProps.onLayerMounted&&n.props.calloutProps.onLayerMounted()},n._onRenderLabel=function(e){var t=e.props,o=t.label,r=t.disabled,i=t.required;return o?s.createElement(g.Label,{id:n._id+"-label",disabled:r,required:i,className:n._classNames.label},o,e.multiselectAccessibleText&&s.createElement("span",{className:n._classNames.screenReaderText},e.multiselectAccessibleText)):null},n._onRenderList=function(e){var t=e.onRenderItem,o=e.options,r=n._id;return s.createElement("div",{id:r+"-list",className:n._classNames.optionsContainer,"aria-labelledby":r+"-label",role:"listbox"},o.map((function(e){return t(e,n._onRenderItem)})))},n._onRenderItem=function(e){switch(e.itemType){case v.SelectableOptionMenuItemType.Divider:return n._renderSeparator(e);case v.SelectableOptionMenuItemType.Header:return n._renderHeader(e);default:return n._renderOption(e)}},n._onRenderLowerContent=function(){return null},n._onRenderUpperContent=function(){return null},n._renderOption=function(e){var t=n.props.onRenderOption,o=void 0===t?n._onRenderOptionContent:t,r=n._id,i=n._isOptionSelected(e.index),a=n._isOptionChecked(e.index),l=n._getCurrentOptionStyles(e),c=h.getComboBoxOptionClassNames(n._getCurrentOptionStyles(e)),p=n._getPreviewText(e),f=function(){return o(e,n._onRenderOptionContent)};return s.createElement(_,{key:e.key,index:e.index,disabled:e.disabled,isSelected:i,isChecked:a,text:e.text,render:function(){return n.props.multiSelect?s.createElement(u.Checkbox,{id:r+"-list"+e.index,ariaLabel:n._getPreviewText(e),key:e.key,"data-index":e.index,styles:l,className:"ms-ComboBox-option","data-is-focusable":!0,onChange:n._onItemClick(e),label:e.text,role:"option",checked:a,title:p,disabled:e.disabled,onRenderLabel:f,inputProps:{"aria-selected":i?"true":"false"}}):s.createElement(d.CommandButton,{id:r+"-list"+e.index,key:e.key,"data-index":e.index,styles:l,checked:i,className:"ms-ComboBox-option",onClick:n._onItemClick(e),onMouseEnter:n._onOptionMouseEnter.bind(n,e.index),onMouseMove:n._onOptionMouseMove.bind(n,e.index),onMouseLeave:n._onOptionMouseLeave,role:"option","aria-selected":i?"true":"false",ariaLabel:n._getPreviewText(e),disabled:e.disabled,title:p},s.createElement("span",{className:c.optionTextWrapper,ref:i?n._selectedElement:void 0},o(e,n._onRenderOptionContent)))},data:e.data})},n._onCalloutMouseDown=function(e){e.preventDefault()},n._onScroll=function(){n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(n._async.clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),n._scrollIdleTimeoutId=n._async.setTimeout((function(){n._isScrollIdle=!0}),250)},n._onRenderOptionContent=function(e){var t=h.getComboBoxOptionClassNames(n._getCurrentOptionStyles(e));return s.createElement("span",{className:t.optionText},e.text)},n._onDismiss=function(){var e=n.props.onMenuDismiss;e&&e(),n.props.persistMenu&&n._onCalloutLayerMounted(),n._setOpenStateAndFocusOnClose(!1,!1),n._resetSelectedIndex()},n._onAfterClearPendingInfo=function(){n._processingClearPendingInfo=!1},n._onInputKeyDown=function(e){var t=n.props,i=t.disabled,s=t.allowFreeform,a=t.autoComplete,c=n.state,u=c.isOpen,d=c.currentOptions,p=c.currentPendingValueValidIndexOnHover;if(n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e),i)n._handleInputWhenDisabled(e);else{var f=n._getPendingSelectedIndex(!1);switch(e.which){case l.KeyCodes.enter:n._autofill.current&&n._autofill.current.inputElement&&n._autofill.current.inputElement.select(),n._submitPendingValue(e),n.props.multiSelect&&u?n.setState({currentPendingValueValidIndex:f}):(u||(!s||void 0===n.state.currentPendingValue||null===n.state.currentPendingValue||n.state.currentPendingValue.length<=0)&&n.state.currentPendingValueValidIndex<0)&&n.setState({isOpen:!u});break;case l.KeyCodes.tab:return n.props.multiSelect||n._submitPendingValue(e),void(u&&n._setOpenStateAndFocusOnClose(!u,!1));case l.KeyCodes.escape:if(n._resetSelectedIndex(),!u)return;n.setState({isOpen:!1});break;case l.KeyCodes.up:if(p===r.clearAll&&(f=n.state.currentOptions.length),e.altKey||e.metaKey){if(u){n._setOpenStateAndFocusOnClose(!u,!0);break}return}n._setPendingInfoFromIndexAndDirection(f,o.backward);break;case l.KeyCodes.down:e.altKey||e.metaKey?n._setOpenStateAndFocusOnClose(!0,!0):(p===r.clearAll&&(f=-1),n._setPendingInfoFromIndexAndDirection(f,o.forward));break;case l.KeyCodes.home:case l.KeyCodes.end:if(s)return;f=-1;var h=o.forward;e.which===l.KeyCodes.end&&(f=d.length,h=o.backward),n._setPendingInfoFromIndexAndDirection(f,h);break;case l.KeyCodes.space:if(!s&&"off"===a)break;default:if(e.which>=112&&e.which<=123)return;if(e.keyCode===l.KeyCodes.alt||"Meta"===e.key)return;if(!s&&"on"===a){n._onInputChange(e.key);break}return}e.stopPropagation(),e.preventDefault()}},n._onInputKeyUp=function(e){var t=n.props,o=t.disabled,r=t.allowFreeform,i=t.autoComplete,s=n.state.isOpen,a=n._lastKeyDownWasAltOrMeta&&n._isAltOrMeta(e);n._lastKeyDownWasAltOrMeta=!1;var c=a&&!(l.isMac()||l.isIOS());if(o)n._handleInputWhenDisabled(e);else switch(e.which){case l.KeyCodes.space:return void(r||"off"!==i||n._setOpenStateAndFocusOnClose(!s,!!s));default:return void(c&&s?n._setOpenStateAndFocusOnClose(!s,!0):("focusing"===n.state.focusState&&n.props.openOnKeyboardFocus&&n.setState({isOpen:!0}),"focused"!==n.state.focusState&&n.setState({focusState:"focused"})))}},n._onOptionMouseLeave=function(){n._shouldIgnoreMouseEvent()||n.props.persistMenu&&!n.state.isOpen||n.setState({currentPendingValueValidIndexOnHover:r.clearAll})},n._onComboBoxClick=function(){var e=n.props.disabled,t=n.state.isOpen;e||(n._setOpenStateAndFocusOnClose(!t,!1),n.setState({focusState:"focused"}))},n._onAutofillClick=function(){var e=n.props,t=e.disabled;e.allowFreeform&&!t?n.focus(n.state.isOpen||n._processingTouch):n._onComboBoxClick()},n._onTouchStart=function(){n._comboBoxWrapper.current&&!("onpointerdown"in n._comboBoxWrapper)&&n._handleTouchAndPointerEvent()},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},l.initializeComponentRef(n),n._async=new l.Async(n),n._events=new l.EventGroup(n),l.warnMutuallyExclusive("ComboBox",t,{defaultSelectedKey:"selectedKey",text:"defaultSelectedKey",selectedKey:"value",dropdownWidth:"useComboBoxAsMenuWidth"}),n._id=t.id||l.getId("ComboBox");var f=n._buildDefaultSelectedKeys(t.defaultSelectedKey,t.selectedKey);n._isScrollIdle=!0,n._processingTouch=!1,n._gotMouseMove=!1,n._processingClearPendingInfo=!1;var m=n._getSelectedIndices(t.options,f);return n.state={isOpen:!1,selectedIndices:m,focusState:"none",suggestedDisplayValue:void 0,currentOptions:n.props.options,currentPendingValueValidIndex:-1,currentPendingValue:void 0,currentPendingValueValidIndexOnHover:r.default},n}return i.__extends(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.state,t=e.currentOptions,n=e.selectedIndices;return v.getAllSelectedOptions(t,n)},enumerable:!0,configurable:!0}),t.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))},t.prototype.UNSAFE_componentWillReceiveProps=function(e){if(e.selectedKey!==this.props.selectedKey||e.text!==this.props.text||e.options!==this.props.options){var t=this._buildSelectedKeys(e.selectedKey),n=this._getSelectedIndices(e.options,t);this.setState({selectedIndices:n,currentOptions:e.options}),null===e.selectedKey&&this.setState({suggestedDisplayValue:void 0})}},t.prototype.componentDidUpdate=function(e,t){var n=this,o=this.props,r=o.allowFreeform,i=o.text,s=o.onMenuOpen,a=o.onMenuDismissed,l=this.state,c=l.isOpen,u=l.selectedIndices,d=l.currentPendingValueValidIndex;!c||t.isOpen&&t.currentPendingValueValidIndex===d||this._async.setTimeout((function(){return n._scrollIntoView()}),0),this._hasFocus()&&(c||t.isOpen&&!c&&this._focusInputAfterClose&&this._autofill.current&&document.activeElement!==this._autofill.current.inputElement)&&this.focus(void 0,!0),this._focusInputAfterClose&&(t.isOpen&&!c||this._hasFocus()&&(!c&&!this.props.multiSelect&&t.selectedIndices&&u&&t.selectedIndices[0]!==u[0]||!r||i!==e.text))&&this._onFocus(),this._notifyPendingValueChanged(t),c&&!t.isOpen&&s&&s(),!c&&t.isOpen&&a&&a()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this,t=this._id+"-error",n=this.props,o=n.className,r=n.disabled,a=n.required,c=n.errorMessage,u=n.onRenderContainer,d=void 0===u?this._onRenderContainer:u,p=n.onRenderLabel,g=void 0===p?this._onRenderLabel:p,v=n.onRenderList,_=void 0===v?this._onRenderList:v,y=n.onRenderItem,b=void 0===y?this._onRenderItem:y,S=n.onRenderOption,C=void 0===S?this._onRenderOptionContent:S,x=n.allowFreeform,k=n.styles,w=n.theme,P=n.keytipProps,E=n.persistMenu,I=n.multiSelect,T=this.state,D=T.isOpen,M=T.suggestedDisplayValue;this._currentVisibleValue=this._getVisibleValue();var O=I?this._getMultiselectDisplayString(this.state.selectedIndices,this.state.currentOptions,M):void 0,R=l.getNativeProps(this.props,l.divProperties,["onChange","value"]),N=!!(c&&c.length>0);this._classNames=this.props.getClassNames?this.props.getClassNames(w,!!D,!!r,!!a,!!this._hasFocus(),!!x,!!N,o):h.getClassNames(f.getStyles(w,k),o,!!D,!!r,!!a,!!this._hasFocus(),!!x,!!N);var F=P?s.createElement(m.KeytipData,{keytipProps:P,disabled:r},(function(n){return e._renderComboBoxWrapper(O,t,n)})):this._renderComboBoxWrapper(O,t);return s.createElement("div",i.__assign({},R,{ref:this._root,className:this._classNames.container}),g({props:this.props,multiselectAccessibleText:O},this._onRenderLabel),F,(E||D)&&d(i.__assign(i.__assign({},this.props),{onRenderList:_,onRenderItem:b,onRenderOption:C,options:this.state.currentOptions.map((function(e,t){return i.__assign(i.__assign({},e),{index:t})})),onDismiss:this._onDismiss}),this._onRenderContainer),s.createElement("div",{role:"region","aria-live":"polite","aria-atomic":"true",id:t,className:N?this._classNames.errorMessage:""},void 0!==c?c:""))},t.prototype._getPendingString=function(e,t,n){return null!=e?e:this._indexWithinBounds(t,n)?t[n].text:""},t.prototype._getMultiselectDisplayString=function(e,t,n){for(var o=[],r=0;e&&r0&&(s+=", "),s+=o[r];return s},t.prototype._indexWithinBounds=function(e,t){return!!e&&(t>=0&&t0){var l=this._getPreviewText(s[0]);a=l.toLocaleLowerCase()!==e?l:"",o=s[0].index}}else 1===(s=n.map((function(e,t){return i.__assign(i.__assign({},e),{index:t})})).filter((function(e){return e.itemType!==v.SelectableOptionMenuItemType.Header&&e.itemType!==v.SelectableOptionMenuItemType.Divider})).filter((function(n){return t._getPreviewText(n).toLocaleLowerCase()===e}))).length&&(o=s[0].index);this._setPendingInfo(r,o,a)},t.prototype._processInputChangeWithoutFreeform=function(e){var t=this,n=this.state,o=n.currentPendingValue,r=n.currentPendingValueValidIndex,s=n.currentOptions;if("on"===this.props.autoComplete&&""!==e){void 0!==this._lastReadOnlyAutoCompleteChangeTimeoutId&&(this._async.clearTimeout(this._lastReadOnlyAutoCompleteChangeTimeoutId),this._lastReadOnlyAutoCompleteChangeTimeoutId=void 0,e=this._normalizeToString(o)+e);var a=e;e=e.toLocaleLowerCase();var l=s.map((function(e,t){return i.__assign(i.__assign({},e),{index:t})})).filter((function(e){return e.itemType!==v.SelectableOptionMenuItemType.Header&&e.itemType!==v.SelectableOptionMenuItemType.Divider})).filter((function(t){return 0===t.text.toLocaleLowerCase().indexOf(e)}));return l.length>0&&this._setPendingInfo(a,l[0].index,this._getPreviewText(l[0])),void(this._lastReadOnlyAutoCompleteChangeTimeoutId=this._async.setTimeout((function(){t._lastReadOnlyAutoCompleteChangeTimeoutId=void 0}),1e3))}var c=r>=0?r:this._getFirstSelectedIndex();this._setPendingInfoFromIndex(c)},t.prototype._getFirstSelectedIndex=function(){return this.state.selectedIndices&&this.state.selectedIndices.length>0?this.state.selectedIndices[0]:-1},t.prototype._getNextSelectableIndex=function(e,t){var n=this.state.currentOptions,r=e+t;if(r=Math.max(0,Math.min(n.length-1,r)),!this._indexWithinBounds(n,r))return-1;var i=n[r];if(i.itemType===v.SelectableOptionMenuItemType.Header||i.itemType===v.SelectableOptionMenuItemType.Divider||!0===i.hidden){if(t===o.none||!(r>0&&t=0&&ro.none))return e;r=this._getNextSelectableIndex(r,t)}return r},t.prototype._setSelectedIndex=function(e,t,n){var r=this;void 0===n&&(n=o.none);var s=this.props,a=s.onChange,l=s.onPendingValueChanged,c=this.state.currentOptions,u=this.state.selectedIndices,d=u?u.slice():[];if(e=this._getNextSelectableIndex(e,n),this._indexWithinBounds(c,e)){if(this.props.multiSelect||d.length<1||1===d.length&&d[0]!==e){var p=i.__assign({},c[e]);if(!p||p.disabled)return;if(this.props.multiSelect?(p.selected=void 0!==p.selected?!p.selected:d.indexOf(e)<0,p.selected&&d.indexOf(e)<0?d.push(e):!p.selected&&d.indexOf(e)>=0&&(d=d.filter((function(t){return t!==e})))):d[0]=e,t.persist(),this.props.selectedKey||null===this.props.selectedKey)this._hasPendingValue&&l&&(l(),this._hasPendingValue=!1),a&&a(t,p,e,void 0);else{var f=c.slice();f[e]=p,this.setState({selectedIndices:d,currentOptions:f},(function(){r._hasPendingValue&&l&&(l(),r._hasPendingValue=!1),a&&a(t,p,e,void 0)}))}}this.props.multiSelect&&this.state.isOpen||this._clearPendingInfo()}},t.prototype._submitPendingValue=function(e){var t=this.props,n=t.onChange,o=t.allowFreeform,r=t.autoComplete,i=this.state,s=i.currentPendingValue,a=i.currentPendingValueValidIndex,c=i.currentOptions,u=i.currentPendingValueValidIndexOnHover,d=this.state.selectedIndices;if(!this._processingClearPendingInfo){if(o){if(null==s)return void(u>=0&&(this._setSelectedIndex(u,e),this._clearPendingInfo()));if(this._indexWithinBounds(c,a)){var p=this._getPreviewText(c[a]).toLocaleLowerCase();if(s.toLocaleLowerCase()===p||r&&0===p.indexOf(s.toLocaleLowerCase())&&this._autofill.current&&this._autofill.current.isValueSelected&&s.length+(this._autofill.current.selectionEnd-this._autofill.current.selectionStart)===p.length||this._autofill.current&&this._autofill.current.inputElement&&this._autofill.current.inputElement.value.toLocaleLowerCase()===p){if(this._setSelectedIndex(a,e),this.props.multiSelect&&this.state.isOpen)return;return void this._clearPendingInfo()}}if(n)n&&n(e,void 0,void 0,s);else{var f={key:s||l.getId(),text:this._normalizeToString(s)};this.props.multiSelect&&(f.selected=!0);var h=c.concat([f]);d&&(this.props.multiSelect||(d=[]),d.push(h.length-1)),this.setState({currentOptions:h,selectedIndices:d})}}else a>=0?this._setSelectedIndex(a,e):u>=0&&this._setSelectedIndex(u,e);this._clearPendingInfo()}},t.prototype._onCalloutLayerMounted=function(){this._gotMouseMove=!1},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t&&t>0?s.createElement("div",{role:"separator",key:n,className:this._classNames.divider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOptionContent:t;return s.createElement("div",{key:e.key,className:this._classNames.header},n(e,this._onRenderOptionContent))},t.prototype._isOptionSelected=function(e){return this.state.currentPendingValueValidIndexOnHover!==r.clearAll&&this._getPendingSelectedIndex(!0)===e},t.prototype._isOptionChecked=function(e){if(this.props.multiSelect&&void 0!==e&&this.state.selectedIndices){return this.state.selectedIndices.indexOf(e)>=0}return!1},t.prototype._getPendingSelectedIndex=function(e){var t=this.state,n=t.currentPendingValueValidIndexOnHover,o=t.currentPendingValueValidIndex,r=t.currentPendingValue;return n>=0?n:o>=0||e&&null!=r?o:this.props.multiSelect?0:this._getFirstSelectedIndex()},t.prototype._scrollIntoView=function(){var e=this.props,t=e.onScrollToItem,n=e.scrollSelectedToTop,o=this.state,r=o.currentPendingValueValidIndex,i=o.currentPendingValue;if(t)t(r>=0||""!==i?r:this._getFirstSelectedIndex());else if(this._selectedElement.current&&this._selectedElement.current.offsetParent)if(n)this._selectedElement.current.offsetParent.scrollIntoView(!0);else{var s=!0;if(this._comboBoxMenu.current&&this._comboBoxMenu.current.offsetParent){var a=this._comboBoxMenu.current.offsetParent.getBoundingClientRect(),l=this._selectedElement.current.offsetParent.getBoundingClientRect();if(a.top<=l.top&&a.top+a.height>=l.top+l.height)return;a.top+a.height<=l.top+l.height&&(s=!1)}this._selectedElement.current.offsetParent.scrollIntoView(s)}},t.prototype._onItemClick=function(e){var t=this,n=this.props.onItemClick,o=e.index;return function(r){n&&n(r,e,o),t._setSelectedIndex(o,r),t.props.multiSelect||(t._autofill.current&&t._autofill.current.focus(),t.setState({isOpen:!1}))}},t.prototype._getSelectedIndices=function(e,t){if(!e||!t)return[];var n={};e.forEach((function(e,t){e.selected&&(n[t]=!0)}));for(var o=function(t){var o=l.findIndex(e,(function(e){return e.key===t}));o>-1&&(n[o]=!0)},r=0,i=t;r0&&t=0&&e=n.length-1?e=-1:t===o.backward&&e<=0&&(e=n.length);var r=this._getNextSelectableIndex(e,t);e===r?t===o.forward?e=this._getNextSelectableIndex(-1,t):t===o.backward&&(e=this._getNextSelectableIndex(n.length,t)):e=r,this._indexWithinBounds(n,e)&&this._setPendingInfoFromIndex(e)},t.prototype._notifyPendingValueChanged=function(e){var t=this.props.onPendingValueChanged;if(t){var n=this.state,o=n.currentPendingValue,r=n.currentOptions,i=n.currentPendingValueValidIndex,s=n.currentPendingValueValidIndexOnHover,a=void 0,l=void 0;s!==e.currentPendingValueValidIndexOnHover&&this._indexWithinBounds(r,s)?a=s:i!==e.currentPendingValueValidIndex&&this._indexWithinBounds(r,i)?a=i:o!==e.currentPendingValue&&(l=o),(void 0!==a||void 0!==l||this._hasPendingValue)&&(t(void 0!==a?r[a]:void 0,a,l),this._hasPendingValue=void 0!==a||void 0!==l)}},t.prototype._setOpenStateAndFocusOnClose=function(e,t){this._focusInputAfterClose=t,this.setState({isOpen:e})},t.prototype._isAltOrMeta=function(e){return e.which===l.KeyCodes.alt||"Meta"===e.key},t.prototype._onOptionMouseEnter=function(e){this._shouldIgnoreMouseEvent()||this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._onOptionMouseMove=function(e){this._gotMouseMove=!0,this._isScrollIdle&&this.state.currentPendingValueValidIndexOnHover!==e&&this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._handleInputWhenDisabled=function(e){this.props.disabled&&(this.state.isOpen&&this.setState({isOpen:!1}),null!==e&&e.which!==l.KeyCodes.tab&&e.which!==l.KeyCodes.escape&&(e.which<112||e.which>123)&&(e.stopPropagation(),e.preventDefault()))},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0}),500)},t.prototype._getCaretButtonStyles=function(){var e=this.props.caretDownButtonStyles;return f.getCaretDownButtonStyles(this.props.theme,e)},t.prototype._getCurrentOptionStyles=function(e){var t=this.props.comboBoxOptionStyles,n=e.styles;return f.getOptionStyles(this.props.theme,t,n,this._isPendingOption(e),e.hidden)},t.prototype._getAriaActiveDescendantValue=function(){var e=this.state.isOpen&&this.state.selectedIndices&&this.state.selectedIndices.length>0?this._id+"-list"+this.state.selectedIndices[0]:void 0;return this.state.isOpen&&this._hasFocus()&&-1!==this.state.currentPendingValueValidIndex&&(e=this._id+"-list"+this.state.currentPendingValueValidIndex),e},t.prototype._getAriaAutoCompleteValue=function(){return!this.props.disabled&&"on"===this.props.autoComplete?this.props.allowFreeform?"inline":"both":"none"},t.prototype._isPendingOption=function(e){return e&&e.index===this.state.currentPendingValueValidIndex},t.prototype._buildDefaultSelectedKeys=function(e,t){var n=this._buildSelectedKeys(e);return n.length?n:this._buildSelectedKeys(t)},t.prototype._buildSelectedKeys=function(e){return void 0===e?[]:e instanceof Array?e:[e]},t.prototype._getPreviewText=function(e){return e.useAriaLabelAsText&&e.ariaLabel?e.ariaLabel:e.text},t.prototype._normalizeToString=function(e){return e||""},t.prototype._hasFocus=function(){return"none"!==this.state.focusState},t.defaultProps={options:[],allowFreeform:!1,autoComplete:"on",buttonIconProps:{iconName:"ChevronDown"}},t=i.__decorate([l.customizable("ComboBox",["theme","styles"],!0)],t)}(s.Component);t.ComboBox=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollToMode={auto:0,top:1,bottom:2,center:3}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(285),a=n(115),l=n(12),c=n(9),u=n(71),d=n(287),p=i.classNamesFunction(),f=function(e){function t(t){var n=e.call(this,t)||this;return n._overflowSet=r.createRef(),n._resizeGroup=r.createRef(),n._onRenderData=function(e){return r.createElement(l.FocusZone,{className:i.css(n._classNames.root),direction:l.FocusZoneDirection.horizontal,role:"menubar","aria-label":n.props.ariaLabel},r.createElement(s.OverflowSet,{componentRef:n._overflowSet,className:i.css(n._classNames.primarySet),doNotContainWithinFocusZone:!0,items:e.primaryItems,overflowItems:e.overflowItems.length?e.overflowItems:void 0,onRenderItem:n._onRenderItem,onRenderOverflowButton:n._onRenderOverflowButton}),e.farItems&&e.farItems.length>0&&r.createElement(s.OverflowSet,{className:i.css(n._classNames.secondarySet),doNotContainWithinFocusZone:!0,items:e.farItems,onRenderItem:n._onRenderItem,onRenderOverflowButton:i.nullRender}))},n._onRenderItem=function(e){if(e.onRender)return e.onRender(e,(function(){}));var t=e.text||e.name,s=o.__assign(o.__assign({allowDisabledFocus:!0,role:"menuitem"},e),{styles:d.getCommandButtonStyles(e.buttonStyles),className:i.css("ms-CommandBarItem-link",e.className),text:e.iconOnly?void 0:t,menuProps:e.subMenuProps,onClick:n._onButtonClick(e)});return e.iconOnly&&void 0!==t?r.createElement(u.TooltipHost,o.__assign({content:t},e.tooltipHostProps),n._commandButton(e,s)):n._commandButton(e,s)},n._commandButton=function(e,t){var s=n.props.buttonAs,a=e.commandBarButtonAs,l=c.CommandBarButton;return a&&(l=i.composeComponentAs(a,l)),s&&(l=i.composeComponentAs(s,l)),r.createElement(l,o.__assign({},t))},n._onRenderOverflowButton=function(e){var t=n.props.overflowButtonProps,s=void 0===t?{}:t,a=o.__spreadArrays(s.menuProps?s.menuProps.items:[],e),l=o.__assign(o.__assign({role:"menuitem"},s),{styles:o.__assign({menuIcon:{fontSize:"17px"}},s.styles),className:i.css("ms-CommandBar-overflowButton",s.className),menuProps:o.__assign(o.__assign({},s.menuProps),{items:a}),menuIconProps:o.__assign({iconName:"More"},s.menuIconProps)}),u=n.props.overflowButtonAs?i.composeComponentAs(n.props.overflowButtonAs,c.CommandBarButton):c.CommandBarButton;return r.createElement(u,o.__assign({},l))},n._onReduceData=function(e){var t=n.props,r=t.shiftOnReduce,i=t.onDataReduced,s=e.primaryItems,a=e.overflowItems,l=e.cacheKey,c=s[r?0:s.length-1];if(void 0!==c){c.renderedInOverflow=!0,a=o.__spreadArrays([c],a),s=r?s.slice(1):s.slice(0,-1);var u=o.__assign(o.__assign({},e),{primaryItems:s,overflowItems:a});return l=n._computeCacheKey({primaryItems:s,overflow:a.length>0}),i&&i(c),u.cacheKey=l,u}},n._onGrowData=function(e){var t=n.props,r=t.shiftOnReduce,i=t.onDataGrown,s=e.minimumOverflowItems,a=e.primaryItems,l=e.overflowItems,c=e.cacheKey,u=l[0];if(void 0!==u&&l.length>s){u.renderedInOverflow=!1,l=l.slice(1),a=r?o.__spreadArrays([u],a):o.__spreadArrays(a,[u]);var d=o.__assign(o.__assign({},e),{primaryItems:a,overflowItems:l});return c=n._computeCacheKey({primaryItems:a,overflow:l.length>0}),i&&i(u),d.cacheKey=c,d}},i.initializeComponentRef(n),n}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.items,n=e.overflowItems,s=e.farItems,l=e.styles,c=e.theme,u=e.dataDidRender,d=e.onReduceData,f=void 0===d?this._onReduceData:d,h=e.onGrowData,m=void 0===h?this._onGrowData:h,g={primaryItems:o.__spreadArrays(t),overflowItems:o.__spreadArrays(n),minimumOverflowItems:o.__spreadArrays(n).length,farItems:s,cacheKey:this._computeCacheKey({primaryItems:o.__spreadArrays(t),overflow:n&&n.length>0})};this._classNames=p(l,{theme:c});var v=i.getNativeProps(this.props,i.divProperties);return r.createElement(a.ResizeGroup,o.__assign({},v,{componentRef:this._resizeGroup,data:g,onReduceData:f,onGrowData:m,onRenderData:this._onRenderData,dataDidRender:u}))},t.prototype.focus=function(){var e=this._overflowSet.current;e&&e.focus()},t.prototype.remeasure=function(){this._resizeGroup.current&&this._resizeGroup.current.remeasure()},t.prototype._onButtonClick=function(e){return function(t){e.inactive||e.onClick&&e.onClick(t,e)}},t.prototype._computeCacheKey=function(e){var t=e.primaryItems,n=e.overflow;return[t&&t.reduce((function(e,t){var n=t.cacheKey;return e+(void 0===n?t.key:n)}),""),n?"overflow":""].join("")},t.defaultProps={items:[],overflowItems:[]},t}(r.Component);t.CommandBarBase=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(710),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(242),s=n(2),a=n(112),l=s.classNamesFunction(),c=function(e){function t(t){var n=e.call(this,t)||this;return n._focusZone=r.createRef(),n._persistedKeytips={},n._keytipManager=a.KeytipManager.getInstance(),n._divContainer=r.createRef(),n._onRenderItems=function(e){return e.map((function(e,t){return r.createElement("div",{key:e.key,className:n._classNames.item},n.props.onRenderItem(e))}))},n._onRenderOverflowButtonWrapper=function(e){var t={className:n._classNames.overflowButton},i=n.props.keytipSequences,s=[];return i?e.forEach((function(e){var t=e.keytipProps;if(t){var r={content:t.content,keySequences:t.keySequences,disabled:t.disabled||!(!e.disabled&&!e.isDisabled),hasDynamicChildren:t.hasDynamicChildren,hasMenu:t.hasMenu};t.hasDynamicChildren||n._getSubMenuForItem(e)?r.onExecute=n._keytipManager.menuExecute.bind(n._keytipManager,i,e.keytipProps.keySequences):r.onExecute=t.onExecute,n._persistedKeytips[r.content]=r;var a=o.__assign(o.__assign({},e),{keytipProps:o.__assign(o.__assign({},t),{overflowSetSequence:i})});s.push(a)}else s.push(e)})):s=e,r.createElement("div",o.__assign({},t),n.props.onRenderOverflowButton(s))},s.initializeComponentRef(n),s.warnMutuallyExclusive("OverflowSet",t,{doNotContainWithinFocusZone:"focusZoneProps"}),n}return o.__extends(t,e),t.prototype.render=function(){var e,t,n=this.props,a=n.items,c=n.overflowItems,u=n.className,d=n.focusZoneProps,p=n.styles,f=n.vertical,h=n.doNotContainWithinFocusZone,m=n.role,g=n.overflowSide,v=void 0===g?"end":g;this._classNames=l(p,{className:u,vertical:f}),h?(e="div",t=o.__assign(o.__assign({},s.getNativeProps(this.props,s.divProperties)),{ref:this._divContainer})):(e=i.FocusZone,t=o.__assign(o.__assign(o.__assign({},s.getNativeProps(this.props,s.divProperties)),d),{componentRef:this._focusZone,direction:f?i.FocusZoneDirection.vertical:i.FocusZoneDirection.horizontal}));var _=c&&c.length>0;return r.createElement(e,o.__assign({role:m||"group","aria-orientation":"menubar"===m?!0===f?"vertical":"horizontal":void 0},t,{className:this._classNames.root}),"start"===v&&_&&this._onRenderOverflowButtonWrapper(c),a&&this._onRenderItems(a),"end"===v&&_&&this._onRenderOverflowButtonWrapper(c))},t.prototype.focus=function(e){var t=!1;return this.props.doNotContainWithinFocusZone?this._divContainer.current&&(t=s.focusFirstChild(this._divContainer.current)):this._focusZone.current&&(t=this._focusZone.current.focus(e)),t},t.prototype.focusElement=function(e){var t=!1;return!!e&&(this.props.doNotContainWithinFocusZone?this._divContainer.current&&s.elementContains(this._divContainer.current,e)&&(e.focus(),t=document.activeElement===e):this._focusZone.current&&(t=this._focusZone.current.focusElement(e)),t)},t.prototype.componentDidMount=function(){this._registerPersistedKeytips()},t.prototype.componentWillUnmount=function(){this._unregisterPersistedKeytips()},t.prototype.UNSAFE_componentWillUpdate=function(){this._unregisterPersistedKeytips()},t.prototype.componentDidUpdate=function(){this._registerPersistedKeytips()},t.prototype._registerPersistedKeytips=function(){var e=this;Object.keys(this._persistedKeytips).forEach((function(t){var n=e._persistedKeytips[t],o=e._keytipManager.register(n,!0);e._persistedKeytips[o]=n,delete e._persistedKeytips[t]}))},t.prototype._unregisterPersistedKeytips=function(){var e=this;Object.keys(this._persistedKeytips).forEach((function(t){e._keytipManager.unregister(e._persistedKeytips[t],t,!0)})),this._persistedKeytips={}},t.prototype._getSubMenuForItem=function(e){return this.props.itemSubMenuProvider?this.props.itemSubMenuProvider(e):e.subMenuProps?e.subMenuProps.items:void 0},t}(r.Component);t.OverflowSetBase=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(2);t.getStyles=function(e){var t=e.className,n=e.theme,o=n.semanticColors;return{root:[n.fonts.medium,"ms-CommandBar",{display:"flex",backgroundColor:o.bodyBackground,padding:"0 14px 0 24px",height:44},t],primarySet:["ms-CommandBar-primaryCommand",{flexGrow:"1",display:"flex",alignItems:"stretch"}],secondarySet:["ms-CommandBar-secondaryCommand",{flexShrink:"0",display:"flex",alignItems:"stretch"}]}},t.getCommandButtonStyles=r.memoizeFunction((function(e){var t={height:"100%"},n={whiteSpace:"nowrap"},r=e||{},i=r.root,s=r.label,a=o.__rest(r,["root","label"]);return o.__assign(o.__assign({},a),{root:i?[t,i]:t,label:s?[n,s]:n})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(261),a=n(79),l=n(21),c=n(14),u=n(129),d=n(80),p=n(56),f=i.classNamesFunction(),h={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",prevMonthAriaLabel:"Go to previous month",nextMonthAriaLabel:"Go to next month",prevYearAriaLabel:"Go to previous year",nextYearAriaLabel:"Go to next year",prevYearRangeAriaLabel:"Previous year range",nextYearRangeAriaLabel:"Next year range",closeButtonAriaLabel:"Close date picker",weekNumberFormatString:"Week number {0}"},m=function(e){function t(t){var n=e.call(this,t)||this;return n._calendar=r.createRef(),n._datePickerDiv=r.createRef(),n._textField=r.createRef(),n._onSelectDate=function(e){var t=n.props,o=t.formatDate,r=t.onSelectDate;n.props.calendarProps&&n.props.calendarProps.onSelectDate&&n.props.calendarProps.onSelectDate(e),n.setState({selectedDate:e,formattedDate:o&&e?o(e):""}),r&&r(e),n._calendarDismissed()},n._onCalloutPositioned=function(){var e=!0;n.props.calloutProps&&void 0!==n.props.calloutProps.setInitialFocus&&(e=n.props.calloutProps.setInitialFocus),n._calendar.current&&e&&n._calendar.current.focus()},n._onTextFieldFocus=function(e){n.props.disableAutoFocus||n.props.allowTextInput||(n._preventFocusOpeningPicker?n._preventFocusOpeningPicker=!1:n._showDatePickerPopup())},n._onTextFieldBlur=function(e){n._validateTextInput()},n._onTextFieldChanged=function(e,t){var o=n.props,r=o.allowTextInput,i=o.textField;if(r){n.state.isDatePickerShown&&n._dismissDatePickerPopup();var s=n.props,a=s.isRequired,l=s.strings;n.setState({errorMessage:a&&!t?l.isRequiredErrorMessage||" ":void 0,formattedDate:t})}i&&i.onChange&&i.onChange(e,t)},n._onTextFieldKeyDown=function(e){switch(e.which){case i.KeyCodes.enter:e.preventDefault(),e.stopPropagation(),n.state.isDatePickerShown?n.props.allowTextInput&&n._dismissDatePickerPopup():(n._validateTextInput(),n._showDatePickerPopup());break;case i.KeyCodes.escape:n._handleEscKey(e)}},n._onTextFieldClick=function(e){n.props.disableAutoFocus||n.state.isDatePickerShown||n.props.disabled?n.props.allowTextInput&&n._dismissDatePickerPopup():n._showDatePickerPopup()},n._onIconClick=function(e){e.stopPropagation(),n.state.isDatePickerShown||n.props.disabled?n.props.allowTextInput&&n._dismissDatePickerPopup():n._showDatePickerPopup()},n._dismissDatePickerPopup=function(){n.state.isDatePickerShown&&n.setState({isDatePickerShown:!1},(function(){n._validateTextInput()}))},n._calendarDismissed=function(){n._preventFocusOpeningPicker=!0,n._dismissDatePickerPopup()},n._handleEscKey=function(e){n.state.isDatePickerShown&&e.stopPropagation(),n._calendarDismissed()},n._validateTextInput=function(){var e=n.props,t=e.isRequired,o=e.allowTextInput,r=e.strings,i=e.parseDateFromString,s=e.onSelectDate,a=e.formatDate,l=e.minDate,c=e.maxDate,u=n.state.formattedDate;if(!n.state.isDatePickerShown)if(o){var d=null;if(u){if(n.state.selectedDate&&!n.state.errorMessage&&a&&a(n.state.selectedDate)===u)return;!(d=i(u))||isNaN(d.getTime())?(a&&(d=n.state.selectedDate,n.setState({formattedDate:a(d).toString()})),n.setState({errorMessage:r.invalidInputErrorMessage||" "})):n._isDateOutOfBounds(d,l,c)?n.setState({errorMessage:r.isOutOfBoundsErrorMessage||" "}):(n.setState({selectedDate:d,errorMessage:""}),a&&a(d)!==u&&n.setState({formattedDate:a(d).toString()}))}else n.setState({errorMessage:t?r.isRequiredErrorMessage||" ":""});s&&s(d)}else t&&!u?n.setState({errorMessage:r.isRequiredErrorMessage||" "}):n.setState({errorMessage:""})},i.initializeComponentRef(n),n.state=n._getDefaultState(),n._id=t.id||i.getId("DatePicker"),n._preventFocusOpeningPicker=!1,n}return o.__extends(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=e.formatDate,n=e.value;if(!(d.compareDates(this.props.minDate,e.minDate)&&d.compareDates(this.props.maxDate,e.maxDate)&&this.props.isRequired===e.isRequired&&d.compareDates(this.state.selectedDate,n)&&this.props.formatDate===t)){this._setErrorMessage(!0,e),this._id=e.id||this._id;var o=this.state.selectedDate;d.compareDates(o,n)&&this.props.formatDate===t||this.setState({selectedDate:n||void 0,formattedDate:t&&n?t(n):""})}},t.prototype.componentDidUpdate=function(e,t){t.isDatePickerShown&&!this.state.isDatePickerShown&&this.props.onAfterMenuDismiss&&this.props.onAfterMenuDismiss()},t.prototype.render=function(){var e=this.props,t=e.firstDayOfWeek,n=e.strings,a=e.label,d=e.theme,h=e.className,m=e.styles,g=e.initialPickerDate,v=e.isRequired,_=e.disabled,y=e.ariaLabel,b=e.pickerAriaLabel,S=e.placeholder,C=e.allowTextInput,x=e.borderless,k=e.minDate,w=e.maxDate,P=e.showCloseButton,E=e.calendarProps,I=e.calloutProps,T=e.textField,D=e.underlined,M=e.allFocusable,O=e.calendarAs,R=void 0===O?s.Calendar:O,N=e.tabIndex,F=this.state,A=F.isDatePickerShown,B=F.formattedDate,L=F.selectedDate,H=f(m,{theme:d,className:h,disabled:_,label:!!a,isDatePickerShown:A}),z=i.getId("DatePicker-Callout"),j=i.getNativeProps(this.props,i.divProperties,["value"]),W=T&&T.iconProps;return r.createElement("div",o.__assign({},j,{className:H.root}),r.createElement("div",{ref:this._datePickerDiv,"aria-haspopup":"true","aria-owns":A?z:void 0},r.createElement(u.TextField,o.__assign({role:"combobox",label:a,"aria-expanded":A,ariaLabel:y,"aria-controls":A?z:void 0,required:v,disabled:_,errorMessage:this._getErrorMessage(),placeholder:S,borderless:x,value:B,componentRef:this._textField,underlined:D,tabIndex:N,readOnly:!C},T,{id:this._id+"-label",className:i.css(H.textField,T&&T.className),iconProps:o.__assign(o.__assign({iconName:"Calendar"},W),{className:i.css(H.icon,W&&W.className),onClick:this._onIconClick}),onKeyDown:this._onTextFieldKeyDown,onFocus:this._onTextFieldFocus,onBlur:this._onTextFieldBlur,onClick:this._onTextFieldClick,onChange:this._onTextFieldChanged}))),A&&r.createElement(l.Callout,o.__assign({id:z,role:"dialog",ariaLabel:b,isBeakVisible:!1,gapSpace:0,doNotLayer:!1,target:this._datePickerDiv.current,directionalHint:c.DirectionalHint.bottomLeftEdge},I,{className:i.css(H.callout,I&&I.className),onDismiss:this._calendarDismissed,onPositioned:this._onCalloutPositioned}),r.createElement(p.FocusTrapZone,{isClickableOutsideFocusTrap:!0,disableFirstFocus:this.props.disableAutoFocus,forceFocusInsideTrap:!1},r.createElement(R,o.__assign({},E,{onSelectDate:this._onSelectDate,onDismiss:this._calendarDismissed,isMonthPickerVisible:this.props.isMonthPickerVisible,showMonthPickerAsOverlay:this.props.showMonthPickerAsOverlay,today:this.props.today,value:L||g,firstDayOfWeek:t,strings:n,highlightCurrentMonth:this.props.highlightCurrentMonth,highlightSelectedMonth:this.props.highlightSelectedMonth,showWeekNumbers:this.props.showWeekNumbers,firstWeekOfYear:this.props.firstWeekOfYear,showGoToToday:this.props.showGoToToday,dateTimeFormatter:this.props.dateTimeFormatter,minDate:k,maxDate:w,componentRef:this._calendar,showCloseButton:P,allFocusable:M})))))},t.prototype.focus=function(){this._textField.current&&this._textField.current.focus()},t.prototype.reset=function(){this.setState(this._getDefaultState())},t.prototype._setErrorMessage=function(e,t){var n=t||this.props,o=n.isRequired,r=n.strings,i=n.value,s=n.minDate,a=n.maxDate,l=n.initialPickerDate||!o||i?void 0:r.isRequiredErrorMessage||" ";return!l&&i&&(l=this._isDateOutOfBounds(i,s,a)?r.isOutOfBoundsErrorMessage||" ":void 0),e&&this.setState({errorMessage:l}),l},t.prototype._showDatePickerPopup=function(){this.state.isDatePickerShown||(this._preventFocusOpeningPicker=!0,this.setState({isDatePickerShown:!0}))},t.prototype._getDefaultState=function(e){return void 0===e&&(e=this.props),{selectedDate:e.value||void 0,formattedDate:e.formatDate&&e.value?e.formatDate(e.value):"",isDatePickerShown:!1,errorMessage:this._setErrorMessage(!1)}},t.prototype._isDateOutOfBounds=function(e,t,n){return!!t&&d.compareDatePart(t,e)>0||!!n&&d.compareDatePart(n,e)<0},t.prototype._getErrorMessage=function(){if(!this.state.isDatePickerShown)return this.state.errorMessage},t.defaultProps={allowTextInput:!1,formatDate:function(e){return e?e.toDateString():""},parseDateFromString:function(e){var t=Date.parse(e);return t?new Date(t):null},firstDayOfWeek:s.DayOfWeek.Sunday,initialPickerDate:new Date,isRequired:!1,isMonthPickerVisible:!0,showMonthPickerAsOverlay:!1,strings:h,highlightCurrentMonth:!1,highlightSelectedMonth:!1,borderless:!1,pickerAriaLabel:"Calendar",showWeekNumbers:!1,firstWeekOfYear:a.FirstWeekOfYear.FirstDay,showGoToToday:!0,dateTimeFormatter:void 0,showCloseButton:!1,underlined:!1,allFocusable:!1},t}(r.Component);t.DatePickerBase=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.hidden=0]="hidden",e[e.visible=1]="visible"}(t.CollapseAllVisibility||(t.CollapseAllVisibility={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(291),i=n(133);t.DetailsHeader=o.styled(r.DetailsHeaderBase,i.getStyles,void 0,{scope:"DetailsHeader"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(16),s=n(2),a=n(49),l=n(12),c=n(5),u=n(37),d=n(27),p=n(83),f=n(136),h=n(61),m=n(733),g=n(734),v=n(137),_=s.classNamesFunction(),y=[],b=function(e){function t(t){var n=e.call(this,t)||this;return n._rootComponent=r.createRef(),n._draggedColumnIndex=-1,n._dropHintDetails={},n._updateDroppingState=function(e,t){n._draggedColumnIndex>=0&&"drop"!==t.type&&!e&&n._resetDropHints()},n._onDragOver=function(e,t){n._draggedColumnIndex>=0&&(t.stopPropagation(),n._computeDropHintToBeShown(t.clientX))},n._onDrop=function(e,t){var o=n._getColumnReorderProps();if(n._draggedColumnIndex>=0&&t){var r=n._draggedColumnIndex>n._currentDropHintIndex?n._currentDropHintIndex:n._currentDropHintIndex-1,i=n._isValidCurrentDropHintIndex();if(t.stopPropagation(),i)if(n._onDropIndexInfo.sourceIndex=n._draggedColumnIndex,n._onDropIndexInfo.targetIndex=r,o.onColumnDrop){var s={draggedIndex:n._draggedColumnIndex,targetIndex:r};o.onColumnDrop(s)}else o.handleColumnReorder&&o.handleColumnReorder(n._draggedColumnIndex,r)}n._resetDropHints(),n._dropHintDetails={},n._draggedColumnIndex=-1},n._updateDragInfo=function(e,t){var o=n._getColumnReorderProps(),r=e.itemIndex;if(r>=0)n._draggedColumnIndex=n._isCheckboxColumnHidden()?r-1:r-2,n._getDropHintPositions(),o.onColumnDragStart&&o.onColumnDragStart(!0);else if(t&&n._draggedColumnIndex>=0&&(n._resetDropHints(),n._draggedColumnIndex=-1,n._dropHintDetails={},o.onColumnDragEnd)){var i=n._isEventOnHeader(t);o.onColumnDragEnd({dropLocation:i},t)}},n._getDropHintPositions=function(){for(var e,t=n.props.columns,o=void 0===t?y:t,r=n._getColumnReorderProps(),i=0,s=0,a=r.frozenColumnCountFromStart||0,l=r.frozenColumnCountFromEnd||0,c=a;c=0&&(n._resetDropHints(),n._updateDropHintElement(n._dropHintDetails[f].dropHintElementRef,"inline-block"),n._currentDropHintIndex=f)}},n._renderColumnSizer=function(e){var t,o=e.columnIndex,i=n.props.columns,a=void 0===i?y:i,l=a[o],c=n.state.columnResizeDetails,u=n._classNames;return l.isResizable?r.createElement("div",{key:l.key+"_sizer","aria-hidden":!0,role:"button","data-is-focusable":!1,onClick:k,"data-sizer-index":o,onBlur:n._onSizerBlur,className:s.css(u.cellSizer,o=0&&this._onDropIndexInfo.targetIndex>=0){var t=e.columns,n=void 0===t?y:t,o=this.props.columns,r=void 0===o?y:o;n[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})},t.prototype.componentWillUnmount=function(){this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this._dragDropHelper.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this,t=this.props,n=t.columns,o=void 0===n?y:n,i=t.ariaLabel,m=t.ariaLabelForToggleAllGroupsButton,b=t.ariaLabelForSelectAllCheckbox,S=t.selectAllVisibility,C=t.ariaLabelForSelectionColumn,x=t.indentWidth,k=t.onColumnClick,w=t.onColumnContextMenu,P=t.onRenderColumnHeaderTooltip,E=void 0===P?this._onRenderColumnHeaderTooltip:P,I=t.styles,T=t.selectionMode,D=t.theme,M=t.onRenderDetailsCheckbox,O=t.groupNestingDepth,R=t.useFastIcons,N=t.checkboxVisibility,F=t.className,A=this.state,B=A.isAllSelected,L=A.columnResizeDetails,H=A.isSizing,z=A.isAllCollapsed,j=S!==v.SelectAllVisibility.none,W=S===v.SelectAllVisibility.hidden,V=N===a.CheckboxVisibility.always,K=this._getColumnReorderProps(),U=K&&K.frozenColumnCountFromStart?K.frozenColumnCountFromStart:0,G=K&&K.frozenColumnCountFromEnd?K.frozenColumnCountFromEnd:0;this._classNames=_(I,{theme:D,isAllSelected:B,isSelectAllHidden:S===v.SelectAllVisibility.hidden,isResizingColumn:!!L&&H,isSizing:H,isAllCollapsed:z,isCheckboxHidden:W,className:F});var Y=this._classNames,q=R?c.FontIcon:c.Icon,Z=s.getRTL(D);return r.createElement(l.FocusZone,{role:"row","aria-label":i,className:Y.root,componentRef:this._rootComponent,ref:this._onRootRef,onMouseMove:this._onRootMouseMove,"data-automationid":"DetailsHeader",direction:l.FocusZoneDirection.horizontal},j?[r.createElement("div",{key:"__checkbox",className:Y.cellIsCheck,"aria-labelledby":this._id+"-check",onClick:W?void 0:this._onSelectAllClicked,"aria-colindex":1,role:"columnheader"},E({hostClassName:Y.checkTooltip,id:this._id+"-checkTooltip",setAriaDescribedBy:!1,content:b,children:r.createElement(f.DetailsRowCheck,{id:this._id+"-check","aria-label":T===h.SelectionMode.multiple?b:C,"aria-describedby":W?C&&!this.props.onRenderColumnHeaderTooltip?this._id+"-checkTooltip":void 0:b&&!this.props.onRenderColumnHeaderTooltip?this._id+"-checkTooltip":void 0,"data-is-focusable":!W||void 0,isHeader:!0,selected:B,anySelected:!1,canSelect:!W,className:Y.check,onRenderDetailsCheckbox:M,useFastIcons:R,isVisible:V})},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:b&&!W?r.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:Y.accessibleLabel,"aria-hidden":!0},b):C&&W?r.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:Y.accessibleLabel,"aria-hidden":!0},C):null]:null,O>0&&this.props.collapseAllVisibility===p.CollapseAllVisibility.visible?r.createElement("div",{className:Y.cellIsGroupExpander,onClick:this._onToggleCollapseAll,"data-is-focusable":!0,"aria-label":m,"aria-expanded":!z,role:m?"button":void 0},r.createElement(q,{className:Y.collapseButton,iconName:Z?"ChevronLeftMed":"ChevronRightMed"})):null,r.createElement(d.GroupSpacer,{indentWidth:x,count:O-1}),o.map((function(t,n){var i=!!K&&(n>=U&&n=0},t.prototype._isCheckboxColumnHidden=function(){var e=this.props,t=e.selectionMode,n=e.checkboxVisibility;return t===h.SelectionMode.none||n===a.CheckboxVisibility.hidden},t.prototype._resetDropHints=function(){this._currentDropHintIndex>=0&&(this._updateDropHintElement(this._dropHintDetails[this._currentDropHintIndex].dropHintElementRef,"none"),this._currentDropHintIndex=-1)},t.prototype._updateDropHintElement=function(e,t){e.childNodes[1].style.display=t,e.childNodes[0].style.display=t},t.prototype._isEventOnHeader=function(e){if(this._rootElement){var t=this._rootElement.getBoundingClientRect();if(e.clientX>t.left&&e.clientXt.top&&e.clientY=o:t>=n&&t<=o}function C(e,t,n){return e?t>=n:t<=n}function x(e,t,n){return e?t<=n:t>=n}function k(e){e.stopPropagation()}t.DetailsHeaderBase=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(293),a=n(60),l=n(33),c=n(23),u=i.classNamesFunction(),d=c.DEFAULT_ROW_HEIGHTS.rowHeight,p=c.DEFAULT_ROW_HEIGHTS.compactRowHeight,f=function(e){function t(t){var n=e.call(this,t)||this;return n._list=r.createRef(),n._renderGroup=function(e,t){var i=n.props,a=i.dragDropEvents,l=i.dragDropHelper,c=i.eventsToRegister,u=i.groupProps,d=i.items,p=i.listProps,f=i.onRenderCell,h=i.selectionMode,m=i.selection,g=i.viewport,v=i.onShouldVirtualize,_=i.groups,y=i.compact,b={onToggleSelectGroup:n._onToggleSelectGroup,onToggleCollapse:n._onToggleCollapse,onToggleSummarize:n._onToggleSummarize},S=o.__assign(o.__assign({},u.headerProps),b),C=o.__assign(o.__assign({},u.showAllProps),b),x=o.__assign(o.__assign({},u.footerProps),b),k=n._getGroupNestingDepth();return!u.showEmptyGroups&&e&&0===e.count?null:r.createElement(s.GroupedListSection,{ref:"group_"+t,key:n._getGroupKey(e,t),dragDropEvents:a,dragDropHelper:l,eventsToRegister:c,footerProps:x,getGroupItemLimit:u&&u.getGroupItemLimit,group:e,groupIndex:t,groupNestingDepth:k,groupProps:u,headerProps:S,listProps:p,items:d,onRenderCell:f,onRenderGroupHeader:u.onRenderHeader,onRenderGroupShowAll:u.onRenderShowAll,onRenderGroupFooter:u.onRenderFooter,selectionMode:h,selection:m,showAllProps:C,viewport:g,onShouldVirtualize:v,groupedListClassNames:n._classNames,groups:_,compact:y})},n._getDefaultGroupItemLimit=function(e){return e.count},n._getGroupItemLimit=function(e){var t=n.props.groupProps;return(t&&t.getGroupItemLimit?t.getGroupItemLimit:n._getDefaultGroupItemLimit)(e)},n._getGroupHeight=function(e){var t=n.props.compact?p:d;return t+(e.isCollapsed?0:t*n._getGroupItemLimit(e))},n._getPageHeight=function(e){var t=n.state.groups,o=n.props.getGroupHeight,r=void 0===o?n._getGroupHeight:o,i=t&&t[e];return i?r(i,e):0},n._onToggleCollapse=function(e){var t=n.props.groupProps,o=t&&t.headerProps&&t.headerProps.onToggleCollapse;e&&(o&&o(e),e.isCollapsed=!e.isCollapsed,n._updateIsSomeGroupExpanded(),n.forceUpdate())},n._onToggleSelectGroup=function(e){var t=n.props,o=t.selection,r=t.selectionMode;e&&o&&r===l.SelectionMode.multiple&&o.toggleRangeSelected(e.startIndex,e.count)},n._onToggleSummarize=function(e){var t=n.props.groupProps,o=t&&t.showAllProps&&t.showAllProps.onToggleSummarize;o?o(e):(e&&(e.isShowingAll=!e.isShowingAll),n.forceUpdate())},n._getPageSpecification=function(e){var t=n.state.groups,o=t&&t[e];return{key:o&&o.key}},i.initializeComponentRef(n),n._isSomeGroupExpanded=n._computeIsSomeGroupExpanded(t.groups),n.state={lastWidth:0,groups:t.groups},n}return o.__extends(t,e),t.prototype.scrollToIndex=function(e,t,n){this._list.current&&this._list.current.scrollToIndex(e,t,n)},t.prototype.getStartItemIndexInView=function(){return this._list.current.getStartItemIndexInView()||0},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.groups,o=t.selectionMode,r=t.compact,i=!1;e.groups!==n&&(this.setState({groups:e.groups}),i=!0),e.selectionMode===o&&e.compact===r||(i=!0),i&&this._forceListUpdates()},t.prototype.componentDidMount=function(){var e=this.props,t=e.groupProps,n=e.groups,o=void 0===n?[]:n;t&&t.isAllGroupsCollapsed&&this._setGroupsCollapsedState(o,t.isAllGroupsCollapsed)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.usePageCache,o=e.onShouldVirtualize,s=e.theme,l=e.styles,c=e.compact,d=e.listProps,p=void 0===d?{}:d,f=this.state.groups;this._classNames=u(l,{theme:s,className:t,compact:c});var h=p.version;return r.createElement("div",{className:this._classNames.root,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},r.createElement(i.FocusRects,null),f?r.createElement(a.List,{ref:this._list,role:"presentation",items:f,onRenderCell:this._renderGroup,getItemCountForPage:this._returnOne,getPageHeight:this._getPageHeight,getPageSpecification:this._getPageSpecification,usePageCache:n,onShouldVirtualize:o,version:h}):this._renderGroup(void 0,0))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this._forceListUpdates()},t.prototype.toggleCollapseAll=function(e){var t=this.state.groups,n=void 0===t?[]:t,o=this.props.groupProps,r=o&&o.onToggleCollapseAll;n.length>0&&(r&&r(e),this._setGroupsCollapsedState(n,e),this._updateIsSomeGroupExpanded(),this.forceUpdate())},t.prototype._setGroupsCollapsedState=function(e,t){for(var n=0;n0;)e++,t=t[0].children;return e},t.prototype._forceListUpdates=function(e){var t=(e=e||this.state.groups)?e.length:1;if(this._list.current){this._list.current.forceUpdate();for(var n=0;n0||d&&d.showEmptyGroups?r.createElement(t,{ref:"subGroup_"+n,key:s._getGroupKey(e,n),dragDropEvents:i,dragDropHelper:a,eventsToRegister:l,footerProps:m,getGroupItemLimit:c,group:e,groupIndex:n,groupNestingDepth:E,groupProps:d,headerProps:f,items:p,listProps:g,onRenderCell:v,selection:_,selectionMode:y,showAllProps:h,viewport:b,onRenderGroupHeader:S,onRenderGroupShowAll:C,onRenderGroupFooter:x,onShouldVirtualize:k,groups:w?w.children:[],compact:P}):null},s._getGroupDragDropOptions=function(){var e=s.props,t=e.group,n=e.groupIndex,o=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:-1,context:{data:t,index:n,isGroup:!0},updateDropState:s._updateDroppingState,canDrag:o.canDrag,canDrop:o.canDrop,onDrop:o.onDrop,onDragStart:o.onDragStart,onDragEnter:o.onDragEnter,onDragLeave:o.onDragLeave,onDragEnd:o.onDragEnd,onDragOver:o.onDragOver}},s._updateDroppingState=function(e,t){var n=s.state.isDropping,o=s.props,r=o.dragDropEvents,i=o.group;n!==e&&(n?r&&r.onDragLeave&&r.onDragLeave(i,t):r&&r.onDragEnter&&(s._droppingClassName=r.onDragEnter(i,t)),s.setState({isDropping:e}))};var u=n.selection,d=n.group;return i.initializeComponentRef(s),s._id=i.getId("GroupedListSection"),s.state={isDropping:!1,isSelected:!(!u||!d)&&u.isRangeSelected(d.startIndex,d.count)},s._events=new i.EventGroup(s),s}return o.__extends(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,n=e.selection;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())),n&&this._events.on(n,s.SELECTION_CHANGE,this._onSelectionChange)},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._dragDropSubscription&&this._dragDropSubscription.dispose()},t.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())))},t.prototype.render=function(){var e=this.props,t=e.getGroupItemLimit,n=e.group,s=e.groupIndex,a=e.headerProps,l=e.showAllProps,c=e.footerProps,d=e.viewport,p=e.selectionMode,f=e.onRenderGroupHeader,h=void 0===f?this._onRenderGroupHeader:f,m=e.onRenderGroupShowAll,g=void 0===m?this._onRenderGroupShowAll:m,v=e.onRenderGroupFooter,_=void 0===v?this._onRenderGroupFooter:v,y=e.onShouldVirtualize,b=e.groupedListClassNames,S=e.groups,C=e.compact,x=e.listProps,k=void 0===x?{}:x,w=this.state.isSelected,P=n&&t?t(n):1/0,E=n&&!n.children&&!n.isCollapsed&&!n.isShowingAll&&(n.count>P||n.hasMoreData),I=n&&n.children&&n.children.length>0,T=k.version,D={group:n,groupIndex:s,groupLevel:n?n.level:0,isSelected:w,selected:w,viewport:d,selectionMode:p,groups:S,compact:C},M={groupedListId:this._id,ariaSetSize:S?S.length:void 0,ariaPosInSet:void 0!==s?s+1:void 0},O=o.__assign(o.__assign(o.__assign({},a),D),M),R=o.__assign(o.__assign({},l),D),N=o.__assign(o.__assign({},c),D),F=!!this.props.dragDropHelper&&this._getGroupDragDropOptions().canDrag(n)&&!!this.props.dragDropEvents.canDragGroups;return r.createElement("div",o.__assign({ref:this._root},F&&{draggable:!0},{className:i.css(b&&b.group,this._getDroppingClassName()),role:"presentation"}),h(O,this._onRenderGroupHeader),n&&n.isCollapsed?null:I?r.createElement(u.List,{role:"presentation",ref:this._list,items:n?n.children:[],onRenderCell:this._renderSubGroup,getItemCountForPage:this._returnOne,onShouldVirtualize:y,version:T,id:this._id}):this._onRenderGroup(P),n&&n.isCollapsed?null:E&&g(R,this._onRenderGroupShowAll),_(N,this._onRenderGroupFooter))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this.forceListUpdate()},t.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,n=0;n0&&(r.EventGroup.raise(this._dragData.dropTarget.root,"dragleave"),r.EventGroup.raise(i,"dragenter"),this._dragData.dropTarget=e)}},e.prototype._onMouseLeave=function(e,t){this._isDragging&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key===e.key&&(r.EventGroup.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 n=0,o=Object.keys(this._activeTargets);ni.left&&t.clientXi.top&&t.clientY=0&&(i&&i(r[s],s,t),n.setState({focusedItemIndex:s}))}},n._onBlur=function(e){n.setState({focusedItemIndex:-1})},n.isRightArrow=function(e){return e.which===i.getRTLSafeKeyCode(i.KeyCodes.right,n.props.theme)},i.initializeComponentRef(n),n._async=new i.Async(n),n._activeRows={},n._columnOverrides={},n.state={focusedItemIndex:-1,lastWidth:0,adjustedColumns:n._getAdjustedColumns(t),isSizing:!1,isDropping:!1,isCollapsed:t.groupProps&&t.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:t.groupProps&&!t.groupProps.isAllGroupsCollapsed,version:{}},n._selection=t.selection||new d.Selection({onSelectionChanged:void 0,getKey:t.getKey,selectionMode:t.selectionMode}),n.props.disableSelectionZone||n._selection.setItems(t.items,!1),n._dragDropHelper=t.dragDropEvents?new p.DragDropHelper({selection:n._selection,minimumPixelsForDrag:t.minimumPixelsForDrag}):void 0,n._initialFocusedIndex=t.initialFocusedIndex,n}return o.__extends(t,e),t.prototype.scrollToIndex=function(e,t,n){this._list.current&&this._list.current.scrollToIndex(e,t,n),this._groupedList.current&&this._groupedList.current.scrollToIndex(e,t,n)},t.prototype.focusIndex=function(e,t,n,o){void 0===t&&(t=!1);var r=this.props.items[e];if(r){this.scrollToIndex(e,n,o);var i=this._getItemKey(r,e),s=this._activeRows[i];s&&this._setFocusToRow(s,t)}},t.prototype.getStartItemIndexInView=function(){return this._list&&this._list.current?this._list.current.getStartItemIndexInView():this._groupedList&&this._groupedList.current?this._groupedList.current.getStartItemIndexInView():0},t.prototype.componentWillUnmount=function(){this._dragDropHelper&&this._dragDropHelper.dispose(),this._async.dispose()},t.prototype.componentDidUpdate=function(e,t){if(void 0!==this._initialFocusedIndex&&(s=this.props.items[this._initialFocusedIndex])){var n=this._getItemKey(s,this._initialFocusedIndex);(o=this._activeRows[n])&&this._setFocusToRowIfPending(o)}if(this.props.items!==e.items&&this.props.items.length>0&&-1!==this.state.focusedItemIndex&&!i.elementContains(this._root.current,document.activeElement,!1)){var o,r=this.state.focusedItemIndex0;)e++,t=t[0].children;return e},t.prototype._setFocusToRowIfPending=function(e){var t=e.props.itemIndex;void 0!==this._initialFocusedIndex&&t===this._initialFocusedIndex&&(this._setFocusToRow(e),delete this._initialFocusedIndex)},t.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)},t.prototype._forceListUpdates=function(){this._groupedList.current&&this._groupedList.current.forceUpdate(),this._list.current&&this._list.current.forceUpdate()},t.prototype._notifyColumnsResized=function(){this.state.adjustedColumns.forEach((function(e){e.onColumnResize&&e.onColumnResize(e.currentWidth)}))},t.prototype._adjustColumns=function(e,t,n){var o=this._getAdjustedColumns(e,t,n),r=this.props.viewport,i=r&&r.width?r.width:0;o&&this.setState({adjustedColumns:o,lastWidth:i},this._notifyColumnsResized)},t.prototype._getAdjustedColumns=function(e,t,n){var o,r=this,i=e.items,a=e.layoutMode,l=e.selectionMode,c=e.viewport,u=c&&c.width?c.width:0,d=e.columns,p=this.props?this.props.columns:[],f=this.state?this.state.lastWidth:-1,h=this.state?this.state.lastSelectionMode:void 0;return t||f!==u||h!==l||p&&d!==p?(d=d||x(i,!0),a===s.DetailsListLayoutMode.fixedColumns?(o=this._getFixedColumns(d)).forEach((function(e){r._rememberCalculatedWidth(e,e.calculatedWidth)})):(o=void 0!==n?this._getJustifiedColumnsAfterResize(d,u,e,n):this._getJustifiedColumns(d,u,e,0)).forEach((function(e){r._getColumnOverride(e.key).currentWidth=e.calculatedWidth})),o):[]},t.prototype._getFixedColumns=function(e){var t=this;return e.map((function(e){var n=o.__assign(o.__assign({},e),t._columnOverrides[e.key]);return n.calculatedWidth||(n.calculatedWidth=n.maxWidth||n.minWidth||100),n}))},t.prototype._getJustifiedColumnsAfterResize=function(e,t,n,r){var i=this,s=e.slice(0,r);s.forEach((function(e){return e.calculatedWidth=i._getColumnOverride(e.key).currentWidth}));var a=s.reduce((function(e,t,o){return e+k(t,0===o,n)}),0),l=e.slice(r),c=t-a;return o.__spreadArrays(s,this._getJustifiedColumns(l,c,n,r))},t.prototype._getJustifiedColumns=function(e,t,n,r){for(var i=this,a=n.selectionMode,l=void 0===a?this._selection.mode:a,c=n.checkboxVisibility,u=l!==d.SelectionMode.none&&c!==s.CheckboxVisibility.hidden?_.CHECK_CELL_WIDTH:0,p=this._getGroupNestingDepth()*y.SPACER_WIDTH,f=0,h=t-(u+p),m=e.map((function(e,t){var s=o.__assign(o.__assign(o.__assign({},e),{calculatedWidth:e.minWidth||100}),i._columnOverrides[e.key]);return f+=k(s,t+r===0,n),s})),g=m.length-1;g>0&&f>h;){var v=(x=m[g]).minWidth||100,b=f-h;if(x.calculatedWidth-v>=b||!x.isCollapsible&&!x.isCollapsable){var S=x.calculatedWidth;x.calculatedWidth=Math.max(x.calculatedWidth-b,v),f-=S-x.calculatedWidth}else f-=k(x,!1,n),m.splice(g,1);g--}for(var C=0;C=0&&this._cellMeasurer.current){var s=this._cellMeasurer.current.getBoundingClientRect().width;i.onMeasureDone(s),this.setState({columnMeasureInfo:void 0})}o&&r&&!this._onDidMountCalled&&(this._onDidMountCalled=!0,r(this))},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.item,n=e.onWillUnmount;n&&t&&n(this),this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._events.dispose()},t.prototype.UNSAFE_componentWillReceiveProps=function(e){this.setState({selectionState:this._getSelectionState(e)})},t.prototype.shouldComponentUpdate=function(e,t){if(this.props.useReducedRowRenderer){var n=this._getSelectionState(e);return this.state.selectionState.isSelected!==n.isSelected||!s.shallowCompare(this.props,e)}return!0},t.prototype.render=function(){var e=this.props,t=e.className,n=e.columns,i=void 0===n?m:n,l=e.dragDropEvents,g=e.item,v=e.itemIndex,_=e.onRenderCheck,y=void 0===_?this._onRenderCheck:_,b=e.onRenderDetailsCheckbox,S=e.onRenderItemColumn,C=e.getCellValueKey,x=e.selectionMode,k=e.rowWidth,w=void 0===k?0:k,P=e.checkboxVisibility,E=e.getRowAriaLabel,I=e.getRowAriaDescribedBy,T=e.checkButtonAriaLabel,D=e.checkboxCellClassName,M=e.rowFieldsAs,O=void 0===M?u.DetailsRowFields:M,R=e.selection,N=e.indentWidth,F=e.enableUpdateAnimations,A=e.compact,B=e.theme,L=e.styles,H=e.cellsByColumn,z=e.groupNestingDepth,j=e.useFastIcons,W=void 0===j||j,V=e.cellStyleProps,K=this.state,U=K.columnMeasureInfo,G=K.isDropping,Y=this.state.selectionState,q=Y.isSelected,Z=void 0!==q&&q,$=Y.isSelectionModal,X=void 0!==$&&$,Q=l?!(!l.canDrag||!l.canDrag(g)):void 0,J=G?this._droppingClassNames||"is-dropping":"",ee=E?E(g):void 0,te=I?I(g):void 0,ne=!!R&&R.canSelectItem(g,v),oe=x===p.SelectionMode.multiple,re=x!==p.SelectionMode.none&&P!==a.CheckboxVisibility.hidden,ie=x===p.SelectionMode.none?void 0:Z;this._classNames=o.__assign(o.__assign({},this._classNames),h(L,{theme:B,isSelected:Z,canSelect:!oe,anySelected:X,checkboxCellClassName:D,droppingClassName:J,className:t,compact:A,enableUpdateAnimations:F,cellStyleProps:V}));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};s.shallowCompare(this._rowClassNames||{},se)||(this._rowClassNames=se);var ae=r.createElement(O,{rowClassNames:this._rowClassNames,cellsByColumn:H,columns:i,item:g,itemIndex:v,columnStartIndex:re?1:0,onRenderItemColumn:S,getCellValueKey:C,enableUpdateAnimations:F,cellStyleProps:V});return r.createElement(d.FocusZone,o.__assign({"data-is-focusable":!0},s.getNativeProps(this.props,s.divProperties),"boolean"==typeof Q?{"data-is-draggable":Q,draggable:Q}:{},{direction:d.FocusZoneDirection.horizontal,ref:this._onRootRef,componentRef:this._focusZone,role:"row","aria-label":ee,"aria-describedby":te,className:this._classNames.root,"data-selection-index":v,"data-selection-touch-invoke":!0,"data-item-index":v,"aria-rowindex":v+1,"data-automationid":"DetailsRow",style:{minWidth:w},"aria-selected":ie,allowFocusRoot:!0}),re&&r.createElement("div",{role:"gridcell","aria-colindex":1,"data-selection-toggle":!0,className:this._classNames.checkCell},y({selected:Z,anySelected:X,"aria-label":T,canSelect:ne,compact:A,className:this._classNames.check,theme:B,isVisible:P===a.CheckboxVisibility.always,onRenderDetailsCheckbox:b,useFastIcons:W})),r.createElement(c.GroupSpacer,{indentWidth:N,count:z-(this.props.collapseAllVisibility===f.CollapseAllVisibility.hidden?1:0)}),g&&ae,U&&r.createElement("span",{role:"presentation",className:s.css(this._classNames.cellMeasurer,this._classNames.cell),ref:this._cellMeasurer},r.createElement(O,{rowClassNames:this._rowClassNames,columns:[U.column],item:g,itemIndex:v,columnStartIndex:(re?1:0)+i.length,onRenderItemColumn:S,getCellValueKey:C})),r.createElement("span",{role:"checkbox",className:this._classNames.checkCover,"aria-checked":Z,"data-selection-toggle":!0}))},t.prototype.measureCell=function(e,t){var n=this.props.columns,r=void 0===n?m:n,i=o.__assign({},r[e]);i.minWidth=0,i.maxWidth=999999,delete i.calculatedWidth,this.setState({columnMeasureInfo:{index:e,column:i,onMeasureDone:t}})},t.prototype.focus=function(e){return void 0===e&&(e=!1),!!this._focusZone.current&&this._focusZone.current.focus(e)},t.prototype._onRenderCheck=function(e){return r.createElement(l.DetailsRowCheck,o.__assign({},e))},t.prototype._getSelectionState=function(e){var t=e.itemIndex,n=e.selection;return{isSelected:!!n&&n.isIndexSelected(t),isSelectionModal:!!n&&!!n.isModal&&n.isModal()}},t.prototype._getRowDragDropOptions=function(){var e=this.props,t=e.item,n=e.itemIndex,o=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:n,context:{data:t,index:n},canDrag:o.canDrag,canDrop:o.canDrop,onDragStart:o.onDragStart,updateDropState:this._updateDroppingState,onDrop:o.onDrop,onDragEnd:o.onDragEnd,onDragOver:o.onDragOver}},t}(r.Component);t.DetailsRowBase=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2),i=n(23);t.DetailsRowFields=function(e){var t=e.columns,n=e.columnStartIndex,s=e.rowClassNames,a=e.cellStyleProps,l=void 0===a?i.DEFAULT_CELL_STYLE_PROPS:a,c=e.item,u=e.itemIndex,d=e.onRenderItemColumn,p=e.getCellValueKey,f=e.cellsByColumn,h=e.enableUpdateAnimations,m=o.useRef(),g=m.current||(m.current={});return o.createElement("div",{className:s.fields,"data-automationid":"DetailsRowFields",role:"presentation"},t.map((function(e,t){var i=void 0===e.calculatedWidth?"auto":e.calculatedWidth+l.cellLeftPadding+l.cellRightPadding+(e.isPadded?l.cellExtraRightPadding:0),a=e.onRender,m=void 0===a?d:a,v=e.getValueKey,_=void 0===v?p:v,y=f&&e.key in f?f[e.key]:m?m(c,u,e):function(e,t){var n=e&&t&&t.fieldName?e[t.fieldName]:"";return null==n&&(n=""),"boolean"==typeof n?n.toString():n}(c,e),b=g[e.key],S=h&&_?_(c,u,e):void 0,C=!1;void 0!==S&&void 0!==b&&S!==b&&(C=!0),g[e.key]=S;var x=e.key+(void 0!==S?"-"+S:"");return o.createElement("div",{key:x,role:e.isRowHeader?"rowheader":"gridcell","aria-readonly":!0,"aria-colindex":t+n+1,className:r.css(e.className,e.isMultiline&&s.isMultiline,e.isRowHeader&&s.isRowHeader,s.cell,e.isPadded?s.cellPadded:s.cellUnpadded,C&&s.cellAnimation),style:{width:i},"data-automationid":"DetailsRowCell","data-automation-key":e.key},y)})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(740),t),o.__exportStar(n(306),t),o.__exportStar(n(313),t),o.__exportStar(n(314),t),o.__exportStar(n(315),t),o.__exportStar(n(316),t),o.__exportStar(n(138),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(138),a=n(307),l=n(38),c=i.classNamesFunction(),u=n(313),d={isDarkOverlay:!1,isBlocking:!1,className:"",containerClassName:"",topOffsetFixed:!1},p={type:s.DialogType.normal,className:"",topButtonsProps:[]},f=function(e){function t(t){var n=e.call(this,t)||this;return n._getSubTextId=function(){var e=n.props,t=e.ariaDescribedById,o=e.modalProps,r=e.dialogContentProps,i=e.subText,s=o&&o.subtitleAriaId||t;return s||(s=(r&&r.subText||i)&&n._defaultSubTextId),s},n._getTitleTextId=function(){var e=n.props,t=e.ariaLabelledById,o=e.modalProps,r=e.dialogContentProps,i=e.title,s=o&&o.titleAriaId||t;return s||(s=(r&&r.title||i)&&n._defaultTitleTextId),s},n._id=i.getId("Dialog"),n._defaultTitleTextId=n._id+"-title",n._defaultSubTextId=n._id+"-subText",n}return o.__extends(t,e),t.prototype.render=function(){var e,t,n,i,s=this.props,l=s.className,f=s.containerClassName,h=s.contentClassName,m=s.elementToFocusOnDismiss,g=s.firstFocusableSelector,v=s.forceFocusInsideTrap,_=s.styles,y=s.hidden,b=s.ignoreExternalFocusing,S=s.isBlocking,C=s.isClickableOutsideFocusTrap,x=s.isDarkOverlay,k=s.isOpen,w=s.onDismiss,P=s.onDismissed,E=s.onLayerDidMount,I=s.responsiveMode,T=s.subText,D=s.theme,M=s.title,O=s.topButtonsProps,R=s.type,N=s.minWidth,F=s.maxWidth,A=s.modalProps,B=o.__assign({},A?A.layerProps:{onLayerDidMount:E});E&&!B.onLayerDidMount&&(B.onLayerDidMount=E),A&&A.dragOptions&&!A.dragOptions.dragHandleSelector?(n="ms-Dialog-draggable-header",i=o.__assign(o.__assign({},A.dragOptions),{dragHandleSelector:"."+n})):i=A&&A.dragOptions;var L=o.__assign(o.__assign(o.__assign(o.__assign({},d),{className:l,containerClassName:f,isBlocking:S,isDarkOverlay:x,onDismissed:P}),A),{layerProps:B,dragOptions:i}),H=o.__assign(o.__assign(o.__assign({className:h,subText:T,title:M,topButtonsProps:O,type:R},p),this.props.dialogContentProps),{draggableHeaderClassName:n,titleProps:o.__assign({id:(null===(e=this.props.dialogContentProps)||void 0===e?void 0:e.titleId)||this._defaultTitleTextId},null===(t=this.props.dialogContentProps)||void 0===t?void 0:t.titleProps)}),z=c(_,{theme:D,className:L.className,containerClassName:L.containerClassName,hidden:y,dialogDefaultMinWidth:N,dialogDefaultMaxWidth:F});return r.createElement(a.Modal,o.__assign({elementToFocusOnDismiss:m,firstFocusableSelector:g,forceFocusInsideTrap:v,ignoreExternalFocusing:b,isClickableOutsideFocusTrap:C,onDismissed:L.onDismissed,responsiveMode:I},L,{isDarkOverlay:L.isDarkOverlay,isBlocking:L.isBlocking,isOpen:void 0!==k?k:!y,className:z.root,containerClassName:z.main,onDismiss:w||L.onDismiss,subtitleAriaId:this._getSubTextId(),titleAriaId:this._getTitleTextId()}),r.createElement(u.DialogContent,o.__assign({subTextId:this._defaultSubTextId,title:H.title,subText:H.subText,showCloseButton:L.isBlocking,topButtonsProps:H.topButtonsProps,type:H.type,onDismiss:w||H.onDismiss,className:H.className},H),this.props.children))},t.defaultProps={hidden:!0},t=o.__decorate([l.withResponsiveMode],t)}(r.Component);t.DialogBase=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(308),t);var o=n(308);t.default=o.Modal},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);o.__exportStar(n(741),t),o.__exportStar(n(309),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(106),a=n(310),l=n(139),c=n(37),u=n(219),d=n(38),p=n(216),f=n(231),h=n(745),m=n(6),g={eventBubblingEnabled:!1},v=i.classNamesFunction(),_=function(e){function t(t){var n=e.call(this,t)||this;n._focusTrapZone=r.createRef(),n._allowScrollOnModal=function(e){e?n._allowTouchBodyScroll?i.allowOverscrollOnElement(e,n._events):i.allowScrollOnElement(e,n._events):n._events.off(n._scrollableContent),n._scrollableContent=e},n._onModalContextMenuClose=function(){n.setState({isModalMenuOpen:!1})},n._onModalClose=function(){n._lastSetX=0,n._lastSetY=0,n.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1,isOpen:!1,x:0,y:0}),n.props.dragOptions&&n._hasRegisteredKeyUp&&n._events.off(window,"keyup",n._onKeyUp,!0),n.props.onDismissed&&n.props.onDismissed()},n._onDragStart=function(){n.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1})},n._onDrag=function(e,t){var o=n.state,r=o.x,i=o.y;n.setState({x:r+t.delta.x,y:i+t.delta.y})},n._onDragStop=function(){n.focus()},n._onKeyUp=function(e){e.altKey&&e.ctrlKey&&e.keyCode===i.KeyCodes.space&&i.elementContains(n._scrollableContent,e.target)&&(n.setState({isModalMenuOpen:!n.state.isModalMenuOpen}),e.preventDefault(),e.stopPropagation())},n._onKeyDown=function(e){if(e.altKey&&e.ctrlKey&&e.keyCode===i.KeyCodes.space)return e.preventDefault(),void e.stopPropagation();if(n.state.isModalMenuOpen&&(e.altKey||e.keyCode===i.KeyCodes.escape)&&n.setState({isModalMenuOpen:!1}),!n.state.isInKeyboardMoveMode||e.keyCode!==i.KeyCodes.escape&&e.keyCode!==i.KeyCodes.enter||(n.setState({isInKeyboardMoveMode:!1}),e.preventDefault(),e.stopPropagation()),n.state.isInKeyboardMoveMode){var t=!0,o=n._getMoveDelta(e);switch(e.keyCode){case i.KeyCodes.escape:n.setState({x:n._lastSetX,y:n._lastSetY});case i.KeyCodes.enter:n._lastSetX=0,n._lastSetY=0,n.setState({isInKeyboardMoveMode:!1});break;case i.KeyCodes.up:n.setState({y:n.state.y-o});break;case i.KeyCodes.down:n.setState({y:n.state.y+o});break;case i.KeyCodes.left:n.setState({x:n.state.x-o});break;case i.KeyCodes.right:n.setState({x:n.state.x+o});break;default:t=!1}t&&(e.preventDefault(),e.stopPropagation())}},n._onEnterKeyboardMoveMode=function(){n._lastSetX=n.state.x,n._lastSetY=n.state.y,n.setState({isInKeyboardMoveMode:!0,isModalMenuOpen:!1}),n._events.on(window,"keydown",n._onKeyDown,!0)},n._onExitKeyboardMoveMode=function(){n._lastSetX=0,n._lastSetY=0,n.setState({isInKeyboardMoveMode:!1}),n._events.off(window,"keydown",n._onKeyDown,!0)},n._registerForKeyUp=function(){n._hasRegisteredKeyUp||(n._events.on(window,"keyup",n._onKeyUp,!0),n._hasRegisteredKeyUp=!0)},n._async=new i.Async(n),n._events=new i.EventGroup(n),m.initializeComponentRef(n),i.warnDeprecations("Modal",t,{onLayerDidMount:"layerProps.onLayerDidMount"}),n.state={id:i.getId("Modal"),isOpen:t.isOpen,isVisible:t.isOpen,hasBeenOpened:t.isOpen,x:0,y:0},n._lastSetX=0,n._lastSetY=0;var o=n.props.allowTouchBodyScroll,s=void 0!==o&&o;return n._allowTouchBodyScroll=s,n}return o.__extends(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){if(clearTimeout(this._onModalCloseTimer),e.isOpen)if(this.state.isOpen){if(this.setState({hasBeenOpened:!0,isVisible:!0}),e.topOffsetFixed){var t=document.getElementsByClassName("ms-Dialog-main"),n=void 0;t.length>0&&(n=t[0].getBoundingClientRect(),this.setState({modalRectangleTop:n.top}))}}else this.setState({isOpen:!0}),e.dragOptions&&this._registerForKeyUp();!e.isOpen&&this.state.isOpen&&(this._onModalCloseTimer=this._async.setTimeout(this._onModalClose,1e3*parseFloat(a.animationDuration)),this.setState({isVisible:!1}))},t.prototype.componentDidMount=function(){this.state.isOpen&&this.state.isVisible&&this._registerForKeyUp()},t.prototype.componentDidUpdate=function(e,t){e.isOpen||t.isVisible||this.setState({isVisible:!0})},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this.props,t=e.className,n=e.containerClassName,i=e.scrollableContentClassName,a=e.elementToFocusOnDismiss,m=e.firstFocusableSelector,_=e.forceFocusInsideTrap,y=e.ignoreExternalFocusing,b=e.isBlocking,S=e.isClickableOutsideFocusTrap,C=e.isDarkOverlay,x=e.onDismiss,k=e.layerProps,w=e.overlay,P=e.responsiveMode,E=e.titleAriaId,I=e.styles,T=e.subtitleAriaId,D=e.theme,M=e.topOffsetFixed,O=e.onLayerDidMount,R=e.isModeless,N=e.dragOptions,F=e.enableAriaHiddenSiblings,A=this.state,B=A.isOpen,L=A.isVisible,H=A.hasBeenOpened,z=A.modalRectangleTop,j=A.x,W=A.y,V=A.isInKeyboardMoveMode;if(!B)return null;var K=void 0===k?"":k.className,U=v(I,{theme:D,className:t,containerClassName:n,scrollableContentClassName:i,isOpen:B,isVisible:L,hasBeenOpened:H,modalRectangleTop:z,topOffsetFixed:M,isModeless:R,layerClassName:K,isDefaultDragHandle:N&&!N.dragHandleSelector}),G=o.__assign(o.__assign(o.__assign({},g),this.props.layerProps),{onLayerDidMount:k&&k.onLayerDidMount?k.onLayerDidMount:O,insertFirst:R,className:U.layer}),Y=r.createElement(s.FocusTrapZone,{componentRef:this._focusTrapZone,className:U.main,elementToFocusOnDismiss:a,isClickableOutsideFocusTrap:R||S||!b,ignoreExternalFocusing:y,forceFocusInsideTrap:R?!R:_,firstFocusableSelector:m,focusPreviouslyFocusedInnerElement:!0,onBlur:V?this._onExitKeyboardMoveMode:void 0,enableAriaHiddenSiblings:F},N&&V&&r.createElement("div",{className:U.keyboardMoveIconContainer},N.keyboardMoveIconProps?r.createElement(f.Icon,o.__assign({},N.keyboardMoveIconProps)):r.createElement(f.Icon,{iconName:"move",className:U.keyboardMoveIcon})),r.createElement("div",{ref:this._allowScrollOnModal,className:U.scrollableContent,"data-is-scrollable":!0},N&&this.state.isModalMenuOpen&&r.createElement(N.menu,{items:[{key:"move",text:N.moveMenuItemText,onClick:this._onEnterKeyboardMoveMode},{key:"close",text:N.closeMenuItemText,onClick:this._onModalClose}],onDismiss:this._onModalContextMenuClose,alignTargetEdge:!0,coverTarget:!0,directionalHint:p.DirectionalHint.topLeftEdge,directionalHintFixed:!0,shouldFocusOnMount:!0,target:this._scrollableContent}),this.props.children));return P>=d.ResponsiveMode.small?r.createElement(c.Layer,o.__assign({},G),r.createElement(u.Popup,{role:R||!b?"dialog":"alertdialog","aria-modal":!R,ariaLabelledBy:E,ariaDescribedBy:T,onDismiss:x,shouldRestoreFocus:!y},r.createElement("div",{className:U.root},!R&&r.createElement(l.Overlay,o.__assign({isDarkThemed:C,onClick:b?void 0:x,allowTouchBodyScroll:this._allowTouchBodyScroll},w)),N?r.createElement(h.DraggableZone,{handleSelector:N.dragHandleSelector||"."+U.main.split(" ")[0],preventDragSelector:"button",onStart:this._onDragStart,onDragChange:this._onDrag,onStop:this._onDragStop,position:{x:j,y:W}},Y):Y))):null},t.prototype.focus=function(){this._focusTrapZone.current&&this._focusTrapZone.current.focus()},t.prototype._getMoveDelta=function(e){var t=10;return e.shiftKey?e.ctrlKey||(t=50):e.ctrlKey&&(t=1),t},t.defaultProps={isOpen:!1,isDarkOverlay:!0,isBlocking:!1,className:"",containerClassName:""},t=o.__decorate([d.withResponsiveMode],t)}(r.Component);t.ModalBase=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.animationDuration=o.AnimationVariables.durationValue2;var r={root:"ms-Modal",main:"ms-Dialog-main",scrollableContent:"ms-Modal-scrollableContent",isOpen:"is-open",layer:"ms-Modal-Layer"};t.getStyles=function(e){var n,i=e.className,s=e.containerClassName,a=e.scrollableContentClassName,l=e.isOpen,c=e.isVisible,u=e.hasBeenOpened,d=e.modalRectangleTop,p=e.theme,f=e.topOffsetFixed,h=e.isModeless,m=e.layerClassName,g=e.isDefaultDragHandle,v=p.palette,_=p.effects,y=p.fonts,b=o.getGlobalClassNames(r,p);return{root:[b.root,y.medium,{backgroundColor:"transparent",position:h?"absolute":"fixed",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,pointerEvents:"none",transition:"opacity "+t.animationDuration},f&&u&&{alignItems:"flex-start"},l&&b.isOpen,c&&{opacity:1,pointerEvents:"auto"},i],main:[b.main,{boxShadow:_.elevation64,borderRadius:_.roundedCorner2,backgroundColor:v.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:h?o.ZIndexes.Layer:void 0},f&&u&&{top:d},g&&{cursor:"move"},s],scrollableContent:[b.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:(n={},n["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:window.innerHeight},n)},a],layer:h&&[m,b.layer,{position:"static",width:"unset",height:"unset"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:y.xLargePlus.fontSize,width:"24px"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=i.classNamesFunction(),a=function(e){function t(t){var n=e.call(this,t)||this;i.initializeComponentRef(n);var o=n.props.allowTouchBodyScroll,r=void 0!==o&&o;return n._allowTouchBodyScroll=r,n}return o.__extends(t,e),t.prototype.componentDidMount=function(){!this._allowTouchBodyScroll&&i.disableBodyScroll()},t.prototype.componentWillUnmount=function(){!this._allowTouchBodyScroll&&i.enableBodyScroll()},t.prototype.render=function(){var e=this.props,t=e.isDarkThemed,n=e.className,a=e.theme,l=e.styles,c=i.getNativeProps(this.props,i.divProperties),u=s(l,{theme:a,className:n,isDark:t});return r.createElement("div",o.__assign({},c,{className:u.root}))},t}(r.Component);t.OverlayBase=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(3);t.getClassNames=o.memoizeFunction((function(e,t){return{root:r.mergeStyles(e,t&&{touchAction:"none",selectors:{"& *":{userSelect:"none"}}})}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(314),i=n(748);t.DialogContent=o.styled(r.DialogContentBase,i.getStyles,void 0,{scope:"DialogContent"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(138),a=n(9),l=n(315),c=n(38),u=i.classNamesFunction(),d=r.createElement(l.DialogFooter,null).type,p=function(e){function t(t){var n=e.call(this,t)||this;return i.initializeComponentRef(n),i.warnDeprecations("DialogContent",t,{titleId:"titleProps.id"}),n}return o.__extends(t,e),t.prototype.render=function(){var e,t=this.props,n=t.showCloseButton,l=t.className,c=t.closeButtonAriaLabel,d=t.onDismiss,p=t.subTextId,f=t.subText,h=t.titleProps,m=void 0===h?{}:h,g=t.titleId,v=t.title,_=t.type,y=t.styles,b=t.theme,S=t.draggableHeaderClassName,C=u(y,{theme:b,className:l,isLargeHeader:_===s.DialogType.largeHeader,isClose:_===s.DialogType.close,draggableHeaderClassName:S}),x=this._groupChildren();return f&&(e=r.createElement("p",{className:C.subText,id:p},f)),r.createElement("div",{className:C.content},r.createElement("div",{className:C.header},r.createElement("div",o.__assign({id:g,role:"heading","aria-level":1},m,{className:i.css(C.title,m.className)}),v),r.createElement("div",{className:C.topButton},this.props.topButtonsProps.map((function(e,t){return r.createElement(a.IconButton,o.__assign({key:e.uniqueId||t},e))})),(_===s.DialogType.close||n&&_!==s.DialogType.largeHeader)&&r.createElement(a.IconButton,{className:C.button,iconProps:{iconName:"Cancel"},ariaLabel:c,onClick:d,title:c}))),r.createElement("div",{className:C.inner},r.createElement("div",{className:C.innerContent},e,x.contents),x.footers))},t.prototype._groupChildren=function(){var e={footers:[],contents:[]};return r.Children.map(this.props.children,(function(t){"object"==typeof t&&null!==t&&t.type===d?e.footers.push(t):e.contents.push(t)})),e},t.defaultProps={showCloseButton:!1,className:"",topButtonsProps:[],closeButtonAriaLabel:"Close"},t=o.__decorate([c.withResponsiveMode],t)}(r.Component);t.DialogContentBase=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(316),i=n(747);t.DialogFooter=o.styled(r.DialogFooterBase,i.getStyles,void 0,{scope:"DialogFooter"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=i.classNamesFunction(),a=function(e){function t(t){var n=e.call(this,t)||this;return i.initializeComponentRef(n),n}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.styles,o=e.theme;return this._classNames=s(n,{theme:o,className:t}),r.createElement("div",{className:this._classNames.actions},r.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))},t.prototype._renderChildrenAsActions=function(){var e=this;return r.Children.map(this.props.children,(function(t){return t?r.createElement("span",{className:e._classNames.action},t):null}))},t}(r.Component);t.DialogFooterBase=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.normal=0]="normal",e[e.compact=1]="compact"}(t.DocumentCardType||(t.DocumentCardType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=n(2);t.DocumentCardPreviewGlobalClassNames={root:"ms-DocumentCardPreview",icon:"ms-DocumentCardPreview-icon",iconContainer:"ms-DocumentCardPreview-iconContainer"},t.getStyles=function(e){var n,i,s=e.theme,a=e.className,l=e.isFileList,c=s.palette,u=s.fonts,d=o.getGlobalClassNames(t.DocumentCardPreviewGlobalClassNames,s);return{root:[d.root,u.small,{backgroundColor:l?c.white:c.neutralLighterAlt,borderBottom:"1px solid "+c.neutralLight,overflow:"hidden",position:"relative"},a],previewIcon:[d.iconContainer,{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}],icon:[d.icon,{left:"10px",bottom:"10px",position:"absolute"}],fileList:{padding:"16px 16px 0 16px",listStyleType:"none",margin:0,selectors:{li:{height:"16px",lineHeight:"16px",marginBottom:"8px",overflow:"hidden"}}},fileListIcon:{display:"inline-block",marginRight:"8px"},fileListLink:[o.getFocusStyle(s,{highContrastStyle:{border:"1px solid WindowText",outline:"none"}}),{boxSizing:"border-box",color:c.neutralDark,overflow:"hidden",display:"inline-block",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"calc(100% - 24px)",selectors:(n={":hover":{color:c.themePrimary}},n["."+r.IsFocusVisibleClassName+" &:focus"]={selectors:(i={},i[o.HighContrastSelector]={outline:"none"},i)},n)}],fileListOverflowText:{padding:"0px 16px 8px 16px",display:"block"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.DocumentCardActivityGlobalClassNames={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"},t.getStyles=function(e){var n=e.theme,r=e.className,i=e.multiplePeople,s=n.palette,a=n.fonts,l=o.getGlobalClassNames(t.DocumentCardActivityGlobalClassNames,n);return{root:[l.root,i&&l.multiplePeople,{padding:"8px 16px",position:"relative"},r],avatars:[l.avatars,{marginLeft:"-2px",height:"32px"}],avatar:[l.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 "+s.white,borderRadius:"50%"},":nth-of-type(2)":i&&{marginLeft:"-16px"}}}],details:[l.details,{left:i?"72px":"56px",height:32,position:"absolute",top:8,width:"calc(100% - 72px)"}],name:[l.name,{display:"block",fontSize:a.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:s.neutralPrimary,fontWeight:o.FontWeights.semibold}],activity:[l.activity,{display:"block",fontSize:a.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:s.neutralSecondary}]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.DocumentCardTitleGlobalClassNames={root:"ms-DocumentCardTitle"},t.getStyles=function(e){var n=e.theme,r=e.className,i=e.showAsSecondaryTitle,s=n.palette,a=n.fonts;return{root:[o.getGlobalClassNames(t.DocumentCardTitleGlobalClassNames,n).root,i?a.medium:a.large,{padding:"8px 16px",display:"block",overflow:"hidden",wordWrap:"break-word",height:i?"45px":"38px",lineHeight:i?"18px":"21px",color:i?s.neutralSecondary:s.neutralPrimary},r]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.DocumentCardLocationGlobalClassNames={root:"ms-DocumentCardLocation"},t.getStyles=function(e){var n=e.theme,r=e.className,i=n.palette,s=n.fonts;return{root:[o.getGlobalClassNames(t.DocumentCardLocationGlobalClassNames,n).root,s.small,{color:i.themePrimary,display:"block",fontWeight:o.FontWeights.semibold,overflow:"hidden",padding:"8px 16px",position:"relative",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",selectors:{":hover":{color:i.themePrimary,cursor:"pointer"}}},r]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(21),a=n(117),l=n(9),c=n(14),u=n(141),d=n(781),p=n(12),f=n(5),h=n(31),m=n(22),g=n(323),v=n(38),_=n(131),y=i.classNamesFunction(),b=function(e){function t(t){var n=e.call(this,t)||this;n._host=r.createRef(),n._focusZone=r.createRef(),n._dropDown=r.createRef(),n._scrollIdleDelay=250,n._sizePosCache=new d.DropdownSizePosCache,n._requestAnimationFrame=i.safeRequestAnimationFrame(n),n._onChange=function(e,t,r,i,s){var a=n.props,l=a.onChange,c=a.onChanged;if(l||c){var u=s?o.__assign(o.__assign({},t[r]),{selected:!i}):t[r];l&&l(o.__assign(o.__assign({},e),{target:n._dropDown.current}),u,r),c&&c(u,r)}},n._onRenderTitle=function(e){var t=n.props.multiSelectDelimiter,o=void 0===t?", ":t,i=e.map((function(e){return e.text})).join(o);return r.createElement(r.Fragment,null,i)},n._onRenderPlaceholder=function(e){return n._placeholder?r.createElement(r.Fragment,null,n._placeholder):null},n._onRenderContainer=function(e){var t=e.calloutProps,i=e.panelProps,a=n.props,l=a.responsiveMode,u=a.dropdownWidth,d=l<=v.ResponsiveMode.medium,p=n._classNames.subComponentStyles?n._classNames.subComponentStyles.panel:void 0;return d?r.createElement(g.Panel,o.__assign({isOpen:!0,isLightDismiss:!0,onDismiss:n._onDismiss,hasCloseButton:!1,styles:p},i),n._renderFocusableList(e)):r.createElement(s.Callout,o.__assign({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:c.DirectionalHint.bottomLeftEdge},t,{className:n._classNames.callout,target:n._dropDown.current,onDismiss:n._onDismiss,onScroll:n._onScroll,onPositioned:n._onPositioned,calloutWidth:u||(n._dropDown.current?n._dropDown.current.clientWidth:0)}),n._renderFocusableList(e))},n._onRenderCaretDown=function(e){return r.createElement(f.Icon,{className:n._classNames.caretDown,iconName:"ChevronDown","aria-hidden":!0})},n._onRenderList=function(e){var t=e.onRenderItem,i=void 0===t?n._onRenderItem:t,s={items:[]},a=[],l=function(){var e=s.id?[r.createElement("div",{role:"group",key:s.id,"aria-labelledby":s.id},s.items)]:s.items;a=o.__spreadArrays(a,e),s={items:[]}};return e.options.forEach((function(e,t){!function(e,t){switch(e.itemType){case _.SelectableOptionMenuItemType.Header:s.items.length>0&&l();var r=n._id+e.key;s.items.push(i(o.__assign(o.__assign({id:r},e),{index:t}),n._onRenderItem)),s.id=r;break;case _.SelectableOptionMenuItemType.Divider:t>0&&s.items.push(i(o.__assign(o.__assign({},e),{index:t}),n._onRenderItem)),s.items.length>0&&l();break;default:s.items.push(i(o.__assign(o.__assign({},e),{index:t}),n._onRenderItem))}}(e,t)})),s.items.length>0&&l(),r.createElement(r.Fragment,null,a)},n._onRenderItem=function(e){switch(e.itemType){case _.SelectableOptionMenuItemType.Divider:return n._renderSeparator(e);case _.SelectableOptionMenuItemType.Header:return n._renderHeader(e);default:return n._renderOption(e)}},n._renderOption=function(e){var t=n.props.onRenderOption,o=void 0===t?n._onRenderOption:t,i=n.state.selectedIndices,s=void 0===i?[]:i,c=!(void 0===e.index||!s)&&s.indexOf(e.index)>-1,u=e.hidden?n._classNames.dropdownItemHidden:c&&!0===e.disabled?n._classNames.dropdownItemSelectedAndDisabled:c?n._classNames.dropdownItemSelected:!0===e.disabled?n._classNames.dropdownItemDisabled:n._classNames.dropdownItem,d=e.title,p=void 0===d?e.text:d,f=n._classNames.subComponentStyles?n._classNames.subComponentStyles.multiSelectItem:void 0;return n.props.multiSelect?r.createElement(a.Checkbox,{id:n._listId+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,onChange:n._onItemClick(e),inputProps:{onMouseEnter:n._onItemMouseEnter.bind(n,e),onMouseLeave:n._onMouseItemLeave.bind(n,e),onMouseMove:n._onItemMouseMove.bind(n,e)},label:e.text,title:p,onRenderLabel:n._onRenderItemLabel.bind(n,e),className:u,role:"option","aria-selected":c?"true":"false",checked:c,styles:f,ariaPositionInSet:n._sizePosCache.positionInSet(e.index),ariaSetSize:n._sizePosCache.optionSetSize}):r.createElement(l.CommandButton,{id:n._listId+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:u,onClick:n._onItemClick(e),onMouseEnter:n._onItemMouseEnter.bind(n,e),onMouseLeave:n._onMouseItemLeave.bind(n,e),onMouseMove:n._onItemMouseMove.bind(n,e),role:"option","aria-selected":c?"true":"false",ariaLabel:e.ariaLabel,title:p,"aria-posinset":n._sizePosCache.positionInSet(e.index),"aria-setsize":n._sizePosCache.optionSetSize},o(e,n._onRenderOption))},n._onRenderOption=function(e){return r.createElement("span",{className:n._classNames.dropdownOptionText},e.text)},n._onRenderItemLabel=function(e){var t=n.props.onRenderOption;return(void 0===t?n._onRenderOption:t)(e,n._onRenderOption)},n._onPositioned=function(e){n._focusZone.current&&n._requestAnimationFrame((function(){var e=n.state.selectedIndices;if(n._focusZone.current)if(e&&e[0]&&!n.props.options[e[0]].disabled){var t=i.getDocument().getElementById(n._id+"-list"+e[0]);t&&n._focusZone.current.focusElement(t)}else n._focusZone.current.focus()})),n.state.calloutRenderEdge&&n.state.calloutRenderEdge===e.targetEdge||n.setState({calloutRenderEdge:e.targetEdge})},n._onItemClick=function(e){return function(t){e.disabled||(n.setSelectedIndex(t,e.index),n.props.multiSelect||n.setState({isOpen:!1}))}},n._onScroll=function(){n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),n._scrollIdleTimeoutId=setTimeout((function(){n._isScrollIdle=!0}),n._scrollIdleDelay)},n._onMouseItemLeave=function(e,t){if(!n._shouldIgnoreMouseEvent()&&n._host.current)if(n._host.current.setActive)try{n._host.current.setActive()}catch(e){}else n._host.current.focus()},n._onDismiss=function(){n.setState({isOpen:!1})},n._onDropdownBlur=function(e){n._isDisabled()||(n.setState({hasFocus:!1}),n.state.isOpen||n.props.onBlur&&n.props.onBlur(e))},n._onDropdownKeyDown=function(e){if(!n._isDisabled()&&(n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e),!n.props.onKeyDown||(n.props.onKeyDown(e),!e.defaultPrevented))){var t,o=n.state.selectedIndices.length?n.state.selectedIndices[0]:-1,r=e.altKey||e.metaKey,s=n.state.isOpen;switch(e.which){case i.KeyCodes.enter:n.setState({isOpen:!s});break;case i.KeyCodes.escape:if(!s)return;n.setState({isOpen:!1});break;case i.KeyCodes.up:if(r){if(s){n.setState({isOpen:!1});break}return}n.props.multiSelect?n.setState({isOpen:!0}):n._isDisabled()||(t=n._moveIndex(e,-1,o-1,o));break;case i.KeyCodes.down:r&&(e.stopPropagation(),e.preventDefault()),r&&!s||n.props.multiSelect?n.setState({isOpen:!0}):n._isDisabled()||(t=n._moveIndex(e,1,o+1,o));break;case i.KeyCodes.home:n.props.multiSelect||(t=n._moveIndex(e,1,0,o));break;case i.KeyCodes.end:n.props.multiSelect||(t=n._moveIndex(e,-1,n.props.options.length-1,o));break;case i.KeyCodes.space:break;default:return}t!==o&&(e.stopPropagation(),e.preventDefault())}},n._onDropdownKeyUp=function(e){if(!n._isDisabled()){var t=n._shouldHandleKeyUp(e),o=n.state.isOpen;if(!n.props.onKeyUp||(n.props.onKeyUp(e),!e.defaultPrevented)){switch(e.which){case i.KeyCodes.space:n.setState({isOpen:!o});break;default:return void(t&&o&&n.setState({isOpen:!1}))}e.stopPropagation(),e.preventDefault()}}},n._onZoneKeyDown=function(e){var t;n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e);var o=e.altKey||e.metaKey;switch(e.which){case i.KeyCodes.up:o?n.setState({isOpen:!1}):n._host.current&&(t=i.getLastFocusable(n._host.current,n._host.current.lastChild,!0));break;case i.KeyCodes.home:case i.KeyCodes.end:case i.KeyCodes.pageUp:case i.KeyCodes.pageDown:break;case i.KeyCodes.down:!o&&n._host.current&&(t=i.getFirstFocusable(n._host.current,n._host.current.firstChild,!0));break;case i.KeyCodes.escape:n.setState({isOpen:!1});break;case i.KeyCodes.tab:return void n.setState({isOpen:!1});default:return}t&&t.focus(),e.stopPropagation(),e.preventDefault()},n._onZoneKeyUp=function(e){n._shouldHandleKeyUp(e)&&n.state.isOpen&&(n.setState({isOpen:!1}),e.preventDefault())},n._onDropdownClick=function(e){if(!n.props.onClick||(n.props.onClick(e),!e.defaultPrevented)){var t=n.state.isOpen;n._isDisabled()||n._shouldOpenOnFocus()||n.setState({isOpen:!t}),n._isFocusedByClick=!1}},n._onDropdownMouseDown=function(){n._isFocusedByClick=!0},n._onFocus=function(e){var t=n.state,o=t.isOpen,r=t.selectedIndices,i=n.props.multiSelect;if(!n._isDisabled()){n._isFocusedByClick||o||0!==r.length||i||n._moveIndex(e,1,0,-1),n.props.onFocus&&n.props.onFocus(e);var s={hasFocus:!0};n._shouldOpenOnFocus()&&(s.isOpen=!0),n.setState(s)}},n._isDisabled=function(){var e=n.props.disabled,t=n.props.isDisabled;return void 0===e&&(e=t),e},n._onRenderLabel=function(e){var t=e.label,o=e.required,i=e.disabled,s=n._classNames.subComponentStyles?n._classNames.subComponentStyles.label:void 0;return t?r.createElement(h.Label,{className:n._classNames.label,id:n._labelId,required:o,styles:s,disabled:i},t):null},i.initializeComponentRef(n);var u,p=t.multiSelect,m=t.selectedKey,y=t.selectedKeys,b=t.defaultSelectedKey,S=t.defaultSelectedKeys,C=t.options;return n._id=t.id||i.getId("Dropdown"),n._labelId=n._id+"-label",n._listId=n._id+"-list",n._optionId=n._id+"-option",n._isScrollIdle=!0,u=p?n._getSelectedIndexes(C,void 0!==S?S:y):n._getSelectedIndexes(C,void 0!==b?b:m),n._sizePosCache.updateOptions(C),n.state={isOpen:!1,selectedIndices:u,hasFocus:!1,calloutRenderEdge:void 0},n}return o.__extends(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props.options,t=this.state.selectedIndices;return _.getAllSelectedOptions(e,t)},enumerable:!0,configurable:!0}),t.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t,n=e.options!==this.props.options;void 0===e[t=e.multiSelect?n&&void 0!==e.defaultSelectedKeys?"defaultSelectedKeys":"selectedKeys":n&&void 0!==e.defaultSelectedKey?"defaultSelectedKey":"selectedKey"]||e[t]===this.props[t]&&!n||this.setState({selectedIndices:this._getSelectedIndexes(e.options,e[t])}),e.options!==this.props.options&&this._sizePosCache.updateOptions(e.options)},t.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this.props.onDismiss&&this.props.onDismiss())},t.prototype.render=function(){var e=this,t=this._id,n=this.props,s=n.className,a=n.label,l=n.options,c=n.ariaLabel,u=n.required,d=n.errorMessage,p=n.keytipProps,f=n.styles,h=n.theme,g=n.panelProps,v=n.calloutProps,b=n.multiSelect,S=n.onRenderTitle,C=void 0===S?this._onRenderTitle:S,x=n.onRenderContainer,k=void 0===x?this._onRenderContainer:x,w=n.onRenderCaretDown,P=void 0===w?this._onRenderCaretDown:w,E=n.onRenderLabel,I=void 0===E?this._onRenderLabel:E,T=this.state,D=T.isOpen,M=T.selectedIndices,O=T.calloutRenderEdge,R=n.onRenderPlaceholder||n.onRenderPlaceHolder||this._onRenderPlaceholder,N=_.getAllSelectedOptions(l,M),F=i.getNativeProps(n,i.divProperties),A=this._isDisabled(),B=t+"-errorMessage",L=A?void 0:D&&1===M.length&&M[0]>=0?this._listId+M[0]:void 0,H=b?{role:"button"}:{role:"listbox",childRole:"option",ariaSetSize:this._sizePosCache.optionSetSize,ariaPosInSet:this._sizePosCache.positionInSet(M[0]),ariaSelected:void 0!==M[0]||void 0};this._classNames=y(f,{theme:h,className:s,hasError:!!(d&&d.length>0),hasLabel:!!a,isOpen:D,required:u,disabled:A,isRenderingPlaceholder:!N.length,panelClassName:g?g.className:void 0,calloutClassName:v?v.className:void 0,calloutRenderEdge:O});var z=!!d&&d.length>0;return r.createElement("div",{className:this._classNames.root},I(this.props,this._onRenderLabel),r.createElement(m.KeytipData,{keytipProps:p,disabled:A},(function(s){return r.createElement("div",o.__assign({},s,{"data-is-focusable":!A,ref:e._dropDown,id:t,tabIndex:A?-1:0,role:H.role,"aria-haspopup":"listbox","aria-expanded":D?"true":"false","aria-label":c,"aria-labelledby":a&&!c?i.mergeAriaAttributeValues(e._labelId,e._optionId):void 0,"aria-describedby":i.mergeAriaAttributeValues(s["aria-describedby"],z?e._id+"-errorMessage":void 0),"aria-activedescendant":L,"aria-required":u,"aria-disabled":A,"aria-owns":D?e._listId:void 0},F,{className:e._classNames.dropdown,onBlur:e._onDropdownBlur,onKeyDown:e._onDropdownKeyDown,onKeyUp:e._onDropdownKeyUp,onClick:e._onDropdownClick,onMouseDown:e._onDropdownMouseDown,onFocus:e._onFocus}),r.createElement("span",{id:e._optionId,className:e._classNames.title,"aria-live":"polite","aria-atomic":!0,"aria-invalid":z,role:H.childRole,"aria-setsize":H.ariaSetSize,"aria-posinset":H.ariaPosInSet,"aria-selected":H.ariaSelected},N.length?C(N,e._onRenderTitle):R(n,e._onRenderPlaceholder)),r.createElement("span",{className:e._classNames.caretDownWrapper},P(n,e._onRenderCaretDown)))})),D&&k(o.__assign(o.__assign({},n),{onDismiss:this._onDismiss}),this._onRenderContainer),z&&r.createElement("div",{role:"alert",id:B,className:this._classNames.errorMessage},d))},t.prototype.focus=function(e){this._dropDown.current&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},t.prototype.setSelectedIndex=function(e,t){var n=this,o=this.props,r=o.options,i=o.selectedKey,s=o.selectedKeys,a=o.multiSelect,l=o.notifyOnReselect,c=this.state.selectedIndices,u=void 0===c?[]:c,d=!!u&&u.indexOf(t)>-1,p=[];if(t=Math.max(0,Math.min(r.length-1,t)),void 0===i&&void 0===s){if(a||l||t!==u[0]){if(a)if(p=u?this._copyArray(u):[],d){var f=p.indexOf(t);f>-1&&p.splice(f,1)}else p.push(t);else p=[t];e.persist(),this.setState({selectedIndices:p},(function(){n._onChange(e,r,t,d,a)}))}}else this._onChange(e,r,t,d,a)},Object.defineProperty(t.prototype,"_placeholder",{get:function(){return this.props.placeholder||this.props.placeHolder},enumerable:!0,configurable:!0}),t.prototype._copyArray=function(e){for(var t=[],n=0,o=e;n=r.length?n=0:n<0&&(n=r.length-1);for(var i=0;r[n].itemType===u.DropdownMenuItemType.Header||r[n].itemType===u.DropdownMenuItemType.Divider||r[n].disabled;){if(i>=r.length)return o;n+t<0?n=r.length:n+t>=r.length&&(n=-1),n+=t,i++}return this.setSelectedIndex(e,n),n},t.prototype._renderFocusableList=function(e){var t=e.onRenderList,n=void 0===t?this._onRenderList:t,o=e.label,i=e.ariaLabel,s=e.multiSelect;return r.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},r.createElement(p.FocusZone,{ref:this._focusZone,direction:p.FocusZoneDirection.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":i,"aria-labelledby":o&&!i?this._labelId:void 0,"aria-multiselectable":s},n(e,this._onRenderList)))},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t>0?r.createElement("div",{role:"separator",key:n,className:this._classNames.dropdownDivider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOption:t,o=e.key,i=e.id;return r.createElement("div",{id:i,key:o,className:this._classNames.dropdownItemHeader},n(e,this._onRenderOption))},t.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},t.prototype._onItemMouseMove=function(e,t){var n=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&document.activeElement!==n&&n.focus()},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._getSelectedIndexes=function(e,t){if(void 0===t)return this.props.multiSelect?this._getAllSelectedIndices(e):-1!==(i=this._getSelectedIndex(e,null))?[i]:[];if(!Array.isArray(t))return-1!==(i=this._getSelectedIndex(e,t))?[i]:[];for(var n=[],o=0,r=t;o0,p=d?i:i.slice(0,u),f=(d?s:i.slice(u))||[];return r.createElement("div",{className:c.root},this.onRenderAriaDescription(),r.createElement("div",{className:c.itemContainer},a?this._getAddNewElement():null,r.createElement("ul",{className:c.members,"aria-label":l},this._onRenderVisiblePersonas(p,0===f.length&&1===i.length)),e?this._getOverflowElement(f):null))},t.prototype.onRenderAriaDescription=function(){var e=this.props.ariaDescription,t=this._classNames;return e&&r.createElement("span",{className:t.screenReaderOnly,id:this._ariaDescriptionId},e)},t.prototype._onRenderVisiblePersonas=function(e,t){var n=this,o=this.props,i=o.onRenderPersona,s=void 0===i?this._getPersonaControl:i,a=o.onRenderPersonaCoin,l=void 0===a?this._getPersonaCoinControl:a;return e.map((function(e,o){var i=t?s(e,n._getPersonaControl):l(e,n._getPersonaCoinControl);return r.createElement("li",{key:(t?"persona":"personaCoin")+"-"+o,className:n._classNames.member},e.onClick?n._getElementWithOnClickEvent(i,e,o):n._getElementWithoutOnClickEvent(i,e,o))}))},t.prototype._getElementWithOnClickEvent=function(e,t,n){var s=t.keytipProps;return r.createElement(a.FacepileButton,o.__assign({},i.getNativeProps(t,i.buttonProperties),this._getElementProps(t,n),{keytipProps:s,onClick:this._onPersonaClick.bind(this,t)}),e)},t.prototype._getElementWithoutOnClickEvent=function(e,t,n){return r.createElement("div",o.__assign({},i.getNativeProps(t,i.buttonProperties),this._getElementProps(t,n)),e)},t.prototype._getElementProps=function(e,t){var n=this._classNames;return{key:(e.imageUrl?"i":"")+t,"data-is-focusable":!0,className:n.itemButton,title:e.personaName,onMouseMove:this._onPersonaMouseMove.bind(this,e),onMouseOut:this._onPersonaMouseOut.bind(this,e)}},t.prototype._getOverflowElement=function(e){switch(this.props.overflowButtonType){case s.OverflowButtonType.descriptive:return this._getDescriptiveOverflowElement(e);case s.OverflowButtonType.downArrow:return this._getIconElement("ChevronDown");case s.OverflowButtonType.more:return this._getIconElement("More");default:return null}},t.prototype._getDescriptiveOverflowElement=function(e){var t=this.props.personaSize;if(!e||e.length<1)return null;var n=e.map((function(e){return e.personaName})).join(", "),i=o.__assign({title:n},this.props.overflowButtonProps),s=Math.max(e.length,0),l=this._classNames;return r.createElement(a.FacepileButton,o.__assign({},i,{ariaDescription:i.title,className:l.descriptiveOverflowButton}),r.createElement(u.PersonaCoin,{size:t,onRenderInitials:this._renderInitialsNotPictured(s),initialsColor:u.PersonaInitialsColor.transparent}))},t.prototype._getIconElement=function(e){var t=this.props,n=t.overflowButtonProps,i=t.personaSize,s=this._classNames;return r.createElement(a.FacepileButton,o.__assign({},n,{className:s.overflowButton}),r.createElement(u.PersonaCoin,{size:i,onRenderInitials:this._renderInitials(e,!0),initialsColor:u.PersonaInitialsColor.transparent}))},t.prototype._getAddNewElement=function(){var e=this.props,t=e.addButtonProps,n=e.personaSize,i=this._classNames;return r.createElement(a.FacepileButton,o.__assign({},t,{className:i.addButton}),r.createElement(u.PersonaCoin,{size:n,onRenderInitials:this._renderInitials("AddFriend")}))},t.prototype._onPersonaClick=function(e,t){e.onClick(t,e),t.preventDefault(),t.stopPropagation()},t.prototype._onPersonaMouseMove=function(e,t){e.onMouseMove&&e.onMouseMove(t,e)},t.prototype._onPersonaMouseOut=function(e,t){e.onMouseOut&&e.onMouseOut(t,e)},t.prototype._renderInitials=function(e,t){var n=this._classNames;return function(){return r.createElement(l.Icon,{iconName:e,className:t?n.overflowInitialsIcon:""})}},t.prototype._renderInitialsNotPictured=function(e){var t=this._classNames;return function(){return r.createElement("span",{className:t.overflowInitialsIcon},e<100?"+"+e:"99+")}},t.defaultProps={maxDisplayablePersonas:5,personas:[],overflowPersonas:[],personaSize:u.PersonaSize.size32},t}(r.Component);t.FacepileBase=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(800),s=n(2),a=n(21),l=n(328),c=i,u=function(e){function t(t){var n=e.call(this,t)||this;return n.root=r.createRef(),n.suggestionsControl=r.createRef(),n.SuggestionsControlOfProperType=l.SuggestionsControl,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 s.KeyCodes.escape:n.hidePicker(),e.preventDefault(),e.stopPropagation();break;case s.KeyCodes.tab:case s.KeyCodes.enter:!e.shiftKey&&!e.ctrlKey&&n.suggestionsControl.current&&n.suggestionsControl.current.handleKeyDown(t)?(e.preventDefault(),e.stopPropagation()):n._onValidateInput();break;case s.KeyCodes.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 s.KeyCodes.up:case s.KeyCodes.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 s.Async(n),s.initializeComponentRef(n),n.suggestionStore=t.suggestionsStore,n.state={queryString:"",didBind:!1},n}return o.__extends(t,e),Object.defineProperty(t.prototype,"inputText",{get:function(){return this.state.queryString},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"suggestions",{get:function(){return this.suggestionStore.suggestions},enumerable:!0,configurable:!0}),t.prototype.forceResolveSuggestion=function(){this.suggestionsControl.current&&this.suggestionsControl.current.hasSuggestionSelected()?this.completeSuggestion():this._onValidateInput()},Object.defineProperty(t.prototype,"currentSelectedSuggestionIndex",{get:function(){return this.suggestionsControl.current?this.suggestionsControl.current.currentSuggestionIndex:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isSuggestionsShown",{get:function(){return void 0!==this.state.suggestionsVisible&&this.state.suggestionsVisible},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){this._bindToInputElement(),this.isComponentMounted=!0,this._onResolveSuggestions=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},t.prototype.componentDidUpdate=function(){this._bindToInputElement()},t.prototype.componentWillUnmount=function(){this._unbindFromInputElement(),this.isComponentMounted=!1},t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.suggestionItems&&this.updateSuggestions(e.suggestionItems)},t.prototype.updateSuggestions=function(e,t){void 0===t&&(t=!1),this.suggestionStore.updateSuggestions(e),t&&this.forceUpdate()},t.prototype.render=function(){var e=this.props.className;return r.createElement("div",{ref:this.root,className:s.css("ms-BasePicker ms-BaseFloatingPicker",e||"")},this.renderSuggestions())},t.prototype.renderSuggestions=function(){var e=this.SuggestionsControlOfProperType;return this.state.suggestionsVisible?r.createElement(a.Callout,o.__assign({className:c.callout,isBeakVisible:!1,gapSpace:5,target:this.props.inputElement,onDismiss:this.hidePicker,directionalHint:a.DirectionalHint.bottomLeftEdge,directionalHintForRTL:a.DirectionalHint.bottomRightEdge,calloutWidth:this.props.calloutWidth?this.props.calloutWidth:0},this.props.pickerCalloutProps),r.createElement(e,o.__assign({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},t.prototype.onSelectionChange=function(){this.forceUpdate()},t.prototype.updateValue=function(e){""===e?this.updateSuggestionWithZeroState():this._onResolveSuggestions(e)},t.prototype.updateSuggestionWithZeroState=function(){if(this.props.onZeroQuerySuggestion){var e=(0,this.props.onZeroQuerySuggestion)(this.props.selectedItems);this.updateSuggestionsList(e)}else this.hidePicker()},t.prototype.updateSuggestionsList=function(e){var t=this,n=e,o=e;if(Array.isArray(n))this.updateSuggestions(n,!0);else if(o&&o.then){var r=this.currentPromise=o;r.then((function(e){r===t.currentPromise&&t.isComponentMounted&&t.updateSuggestions(e,!0)}))}},t.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},t.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)}},t.prototype._onResolveSuggestions=function(e){var t=this.props.onResolveSuggestions(e,this.props.selectedItems);this._updateSuggestionsVisible(!0),null!==t&&this.updateSuggestionsList(t)},t.prototype._updateSuggestionsVisible=function(e){e?this.showPicker():this.hidePicker()},t.prototype._bindToInputElement=function(){this.props.inputElement&&!this.state.didBind&&(this.props.inputElement.addEventListener("keydown",this.onKeyDown),this.setState({didBind:!0}))},t.prototype._unbindFromInputElement=function(){this.props.inputElement&&this.state.didBind&&(this.props.inputElement.removeEventListener("keydown",this.onKeyDown),this.setState({didBind:!1}))},t}(r.Component);t.BaseFloatingPicker=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(1),i=n(0),s=n(2),a=n(329),l=n(812),c=n(3),u=l;!function(e){e[e.header=0]="header",e[e.suggestion=1]="suggestion",e[e.footer=2]="footer"}(o=t.SuggestionItemType||(t.SuggestionItemType={}));var d=function(e){function t(t){var n=e.call(this,t)||this;return s.initializeComponentRef(n),n}return r.__extends(t,e),t.prototype.render=function(){var e,t=this.props,n=t.renderItem,o=t.onExecute,r=t.isSelected,a=t.id,l=t.className;return o?i.createElement("div",{id:a,onClick:o,className:s.css("ms-Suggestions-sectionButton",l,u.actionButton,(e={},e["is-selected "+u.buttonSelected]=r,e))},n()):i.createElement("div",{id:a,className:s.css("ms-Suggestions-section",l,u.suggestionsTitle)},n())},t}(i.Component);t.SuggestionsHeaderFooterItem=d;var p=function(e){function t(t){var n=e.call(this,t)||this;return n._selectedElement=i.createRef(),n._suggestions=i.createRef(),n.SuggestionsOfProperType=a.SuggestionsCore,s.initializeComponentRef(n),n.state={selectedHeaderIndex:-1,selectedFooterIndex:-1,suggestions:t.suggestions},n}return r.__extends(t,e),t.prototype.componentDidMount=function(){this.resetSelectedItem()},t.prototype.componentDidUpdate=function(){this.scrollSelected()},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this;e.suggestions&&this.setState({suggestions:e.suggestions},(function(){t.resetSelectedItem()}))},t.prototype.componentWillUnmount=function(){var e;null===(e=this._suggestions.current)||void 0===e||e.deselectAllSuggestions()},t.prototype.render=function(){var e=this.props,t=e.className,n=e.headerItemsProps,o=e.footerItemsProps,r=e.suggestionsAvailableAlertText,a=c.mergeStyles(c.hiddenContentStyle),l=this.state.suggestions&&this.state.suggestions.length>0&&r;return i.createElement("div",{className:s.css("ms-Suggestions",t||"",u.root)},n&&this.renderHeaderItems(),this._renderSuggestions(),o&&this.renderFooterItems(),l?i.createElement("span",{role:"alert","aria-live":"polite",className:a},r):null)},Object.defineProperty(t.prototype,"currentSuggestion",{get:function(){var e;return(null===(e=this._suggestions.current)||void 0===e?void 0:e.getCurrentItem())||void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentSuggestionIndex",{get:function(){return this._suggestions.current?this._suggestions.current.currentIndex:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.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:!0,configurable:!0}),t.prototype.hasSuggestionSelected=function(){var e;return(null===(e=this._suggestions.current)||void 0===e?void 0:e.hasSuggestionSelected())||!1},t.prototype.hasSelection=function(){var e=this.state,t=e.selectedHeaderIndex,n=e.selectedFooterIndex;return-1!==t||this.hasSuggestionSelected()||-1!==n},t.prototype.executeSelectedAction=function(){var e,t=this.props,n=t.headerItemsProps,o=t.footerItemsProps,r=this.state,i=r.selectedHeaderIndex,s=r.selectedFooterIndex;if(n&&-1!==i&&it+1)return null===(n=this._suggestions.current)||void 0===n||n.setSelectedSuggestion(t+1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var i=e===o.header,s=i?this.props.headerItemsProps:this.props.footerItemsProps;if(s&&s.length>t+1)for(var a=t+1;a0)return null===(n=this._suggestions.current)||void 0===n||n.setSelectedSuggestion(i-1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var i,s=e===o.header,a=s?this.props.headerItemsProps:this.props.footerItemsProps;if(a)if((i=void 0!==t?t:a.length)>0)for(var l=i-1;l>=0;l--){var c=a[l];if(c.onExecute&&c.shouldShow())return this.setState({selectedHeaderIndex:s?l:-1}),this.setState({selectedFooterIndex:s?-1:l}),null===(r=this._suggestions.current)||void 0===r||r.deselectAllSuggestions(),!0}}return!1},t.prototype._getCurrentIndexForType=function(e){switch(e){case o.header:return this.state.selectedHeaderIndex;case o.suggestion:return this._suggestions.current.currentIndex;case o.footer:return this.state.selectedFooterIndex}},t.prototype._getNextItemSectionType=function(e){switch(e){case o.header:return o.suggestion;case o.suggestion:return o.footer;case o.footer:return o.header}},t.prototype._getPreviousItemSectionType=function(e){switch(e){case o.header:return o.footer;case o.suggestion:return o.header;case o.footer:return o.suggestion}},t}(i.Component);t.SuggestionsControl=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(330),a=n(811),l=function(e){function t(t){var n=e.call(this,t)||this;return n._selectedElement=r.createRef(),n.SuggestionsItemOfProperType=s.SuggestionsItem,n._onClickTypedSuggestionsItem=function(e,t){return function(o){n.props.onSuggestionClick(o,e,t)}},n._onRemoveTypedSuggestionsItem=function(e,t){return function(o){(0,n.props.onSuggestionRemove)(o,e,t),o.stopPropagation()}},i.initializeComponentRef(n),n.currentIndex=-1,n}return o.__extends(t,e),t.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(t.prototype,"selectedElement",{get:function(){return this._selectedElement.current||void 0},enumerable:!0,configurable:!0}),t.prototype.getCurrentItem=function(){return this.props.suggestions[this.currentIndex]},t.prototype.getSuggestionAtIndex=function(e){return this.props.suggestions[e]},t.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())},t.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()},t.prototype.componentDidUpdate=function(){this.scrollSelected()},t.prototype.render=function(){var e=this,t=this.props,n=t.onRenderSuggestion,o=t.suggestionsItemClassName,s=t.resultsMaximumNumber,l=t.showRemoveButtons,c=t.suggestionsContainerAriaLabel,u=this.SuggestionsItemOfProperType,d=this.props.suggestions;return s&&(d=d.slice(0,s)),r.createElement("div",{className:i.css("ms-Suggestions-container",a.suggestionsContainer),id:"suggestion-list",role:"list","aria-label":c},d.map((function(t,i){return r.createElement("div",{ref:t.selected||i===e.currentIndex?e._selectedElement:void 0,key:t.item.key?t.item.key:i,id:"sug-"+i,role:"listitem","aria-label":t.ariaLabel},r.createElement(u,{id:"sug-item"+i,suggestionModel:t,RenderSuggestion:n,onClick:e._onClickTypedSuggestionsItem(t.item,i),className:o,showRemoveButton:l,onRemoveItem:e._onRemoveTypedSuggestionsItem(t.item,i),isSelectedOverride:i===e.currentIndex}))})))},t.prototype.scrollSelected=function(){var e;void 0!==(null===(e=this._selectedElement.current)||void 0===e?void 0:e.scrollIntoView)&&this._selectedElement.current.scrollIntoView(!1)},t}(r.Component);t.SuggestionsCore=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(801),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=n(134),l=n(239),c=n(332),u=n(333),d=n(335),p=n(334),f=i.classNamesFunction(),h=i.styled(u.SuggestionsItem,d.getStyles,void 0,{scope:"SuggestionItem"}),m=function(e){function t(t){var n=e.call(this,t)||this;return n._forceResolveButton=r.createRef(),n._searchForMoreButton=r.createRef(),n._selectedElement=r.createRef(),n.tryHandleKeyDown=function(e,t){var o=!1,r=null,s=n.state.selectedActionType,a=n.props.suggestions.length;if(e===i.KeyCodes.down)switch(s){case c.SuggestionActionType.forceResolve:a>0?(n._refocusOnSuggestions(e),r=c.SuggestionActionType.none):r=n._searchForMoreButton.current?c.SuggestionActionType.searchMore:c.SuggestionActionType.forceResolve;break;case c.SuggestionActionType.searchMore:n._forceResolveButton.current?r=c.SuggestionActionType.forceResolve:a>0?(n._refocusOnSuggestions(e),r=c.SuggestionActionType.none):r=c.SuggestionActionType.searchMore;break;case c.SuggestionActionType.none:-1===t&&n._forceResolveButton.current&&(r=c.SuggestionActionType.forceResolve)}else if(e===i.KeyCodes.up)switch(s){case c.SuggestionActionType.forceResolve:n._searchForMoreButton.current?r=c.SuggestionActionType.searchMore:a>0&&(n._refocusOnSuggestions(e),r=c.SuggestionActionType.none);break;case c.SuggestionActionType.searchMore:a>0?(n._refocusOnSuggestions(e),r=c.SuggestionActionType.none):n._forceResolveButton.current&&(r=c.SuggestionActionType.forceResolve);break;case c.SuggestionActionType.none:-1===t&&n._searchForMoreButton.current&&(r=c.SuggestionActionType.searchMore)}return null!==r&&(n.setState({selectedActionType:r}),o=!0),o},n._getAlertText=function(){var e=n.props,t=e.isLoading,o=e.isSearching,r=e.suggestions,i=e.suggestionsAvailableAlertText,s=e.noResultsFoundText;if(!t&&!o){if(r.length>0)return i||"";if(s)return s}return""},n._getMoreResults=function(){n.props.onGetMoreResults&&n.props.onGetMoreResults()},n._forceResolve=function(){n.props.createGenericItem&&n.props.createGenericItem()},n._shouldShowForceResolve=function(){return!!n.props.showForceResolve&&n.props.showForceResolve()},n._onClickTypedSuggestionsItem=function(e,t){return function(o){n.props.onSuggestionClick(o,e,t)}},n._refocusOnSuggestions=function(e){"function"==typeof n.props.refocusSuggestions&&n.props.refocusSuggestions(e)},n._onRemoveTypedSuggestionsItem=function(e,t){return function(o){(0,n.props.onSuggestionRemove)(o,e,t),o.stopPropagation()}},i.initializeComponentRef(n),n.state={selectedActionType:c.SuggestionActionType.none},n}return o.__extends(t,e),t.prototype.componentDidMount=function(){this.scrollSelected(),this.activeSelectedElement=this._selectedElement?this._selectedElement.current:null},t.prototype.componentDidUpdate=function(){this._selectedElement.current&&this.activeSelectedElement!==this._selectedElement.current&&(this.scrollSelected(),this.activeSelectedElement=this._selectedElement.current)},t.prototype.render=function(){var e,t,n=this,u=this.props,d=u.forceResolveText,h=u.mostRecentlyUsedHeaderText,m=u.searchForMoreText,g=u.className,v=u.moreSuggestionsAvailable,_=u.noResultsFoundText,y=u.suggestions,b=u.isLoading,S=u.isSearching,C=u.loadingText,x=u.onRenderNoResultFound,k=u.searchingText,w=u.isMostRecentlyUsedVisible,P=u.resultsMaximumNumber,E=u.resultsFooterFull,I=u.resultsFooter,T=u.isResultsFooterVisible,D=void 0===T||T,M=u.suggestionsHeaderText,O=u.suggestionsClassName,R=u.theme,N=u.styles,F=u.suggestionsListId;this._classNames=N?f(N,{theme:R,className:g,suggestionsClassName:O,forceResolveButtonSelected:this.state.selectedActionType===c.SuggestionActionType.forceResolve,searchForMoreButtonSelected:this.state.selectedActionType===c.SuggestionActionType.searchMore}):{root:i.css("ms-Suggestions",g,p.root),title:i.css("ms-Suggestions-title",p.suggestionsTitle),searchForMoreButton:i.css("ms-SearchMore-button",p.actionButton,(e={},e["is-selected "+p.buttonSelected]=this.state.selectedActionType===c.SuggestionActionType.searchMore,e)),forceResolveButton:i.css("ms-forceResolve-button",p.actionButton,(t={},t["is-selected "+p.buttonSelected]=this.state.selectedActionType===c.SuggestionActionType.forceResolve,t)),suggestionsAvailable:i.css("ms-Suggestions-suggestionsAvailable",p.suggestionsAvailable),suggestionsContainer:i.css("ms-Suggestions-container",p.suggestionsContainer,O),noSuggestions:i.css("ms-Suggestions-none",p.suggestionsNone)};var A=this._classNames.subComponentStyles?this._classNames.subComponentStyles.spinner:void 0,B=N?{styles:A}:{className:i.css("ms-Suggestions-spinner",p.suggestionsSpinner)},L=function(){return _?r.createElement("div",{className:n._classNames.noSuggestions},_):null},H=M;w&&h&&(H=h);var z=void 0;D&&(z=y.length>=P?E:I);var j=!(y&&y.length||b),W=j||b?{role:"dialog",id:F}:{};return r.createElement("div",o.__assign({className:this._classNames.root},W),r.createElement(l.Announced,{message:this._getAlertText(),"aria-live":"polite"}),H?r.createElement("div",{className:this._classNames.title},H):null,d&&this._shouldShowForceResolve()&&r.createElement(s.CommandButton,{componentRef:this._forceResolveButton,className:this._classNames.forceResolveButton,onClick:this._forceResolve,"data-automationid":"sug-forceResolve"},d),b&&r.createElement(a.Spinner,o.__assign({},B,{label:C})),j?x?x(void 0,L):L():this._renderSuggestions(),m&&v&&r.createElement(s.CommandButton,{componentRef:this._searchForMoreButton,className:this._classNames.searchForMoreButton,iconProps:{iconName:"Search"},onClick:this._getMoreResults},m),S?r.createElement(a.Spinner,o.__assign({},B,{label:k})):null,!z||v||w||S?null:r.createElement("div",{className:this._classNames.title},z(this.props)))},t.prototype.hasSuggestedAction=function(){return!!this._searchForMoreButton.current||!!this._forceResolveButton.current},t.prototype.hasSuggestedActionSelected=function(){return this.state.selectedActionType!==c.SuggestionActionType.none},t.prototype.executeSelectedAction=function(){switch(this.state.selectedActionType){case c.SuggestionActionType.forceResolve:this._forceResolve();break;case c.SuggestionActionType.searchMore:this._getMoreResults()}},t.prototype.focusAboveSuggestions=function(){this._forceResolveButton.current?this.setState({selectedActionType:c.SuggestionActionType.forceResolve}):this._searchForMoreButton.current&&this.setState({selectedActionType:c.SuggestionActionType.searchMore})},t.prototype.focusBelowSuggestions=function(){this._searchForMoreButton.current?this.setState({selectedActionType:c.SuggestionActionType.searchMore}):this._forceResolveButton.current&&this.setState({selectedActionType:c.SuggestionActionType.forceResolve})},t.prototype.focusSearchForMoreButton=function(){this._searchForMoreButton.current&&this._searchForMoreButton.current.focus()},t.prototype.scrollSelected=function(){this._selectedElement.current&&void 0!==this._selectedElement.current.scrollIntoView&&this._selectedElement.current.scrollIntoView(!1)},t.prototype._renderSuggestions=function(){var e=this,t=this.props,n=t.onRenderSuggestion,o=t.removeSuggestionAriaLabel,i=t.suggestionsItemClassName,s=t.resultsMaximumNumber,a=t.showRemoveButtons,l=t.suggestionsContainerAriaLabel,c=t.suggestionsListId,u=this.props.suggestions,d=h,p=-1;return u.some((function(e,t){return!!e.selected&&(p=t,!0)})),s&&(u=p>=s?u.slice(p-s+1,p+1):u.slice(0,s)),0===u.length?null:r.createElement("div",{className:this._classNames.suggestionsContainer,id:c,role:"listbox","aria-label":l},u.map((function(t,s){return r.createElement("div",{ref:t.selected?e._selectedElement:void 0,key:t.item.key?t.item.key:s,id:"sug-"+s,"aria-selected":t.selected,role:"option","aria-label":t.ariaLabel},r.createElement(d,{suggestionModel:t,RenderSuggestion:n,onClick:e._onClickTypedSuggestionsItem(t.item,s),className:i,showRemoveButton:a,removeButtonAriaLabel:o,onRemoveItem:e._onRemoveTypedSuggestionsItem(t.item,s)}))})))},t}(r.Component);t.Suggestions=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.none=0]="none",e[e.forceResolve=1]="forceResolve",e[e.searchMore=2]="searchMore"}(t.SuggestionActionType||(t.SuggestionActionType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=n(334),l=i.classNamesFunction(),c=function(e){function t(t){var n=e.call(this,t)||this;return i.initializeComponentRef(n),n}return o.__extends(t,e),t.prototype.render=function(){var e,t=this.props,n=t.suggestionModel,o=t.RenderSuggestion,c=t.onClick,u=t.className,d=t.onRemoveItem,p=t.isSelectedOverride,f=t.removeButtonAriaLabel,h=t.styles,m=t.theme,g=h?l(h,{theme:m,className:u,suggested:n.selected||p}):{root:i.css("ms-Suggestions-item",a.suggestionsItem,(e={},e["is-suggested "+a.suggestionsItemIsSuggested]=n.selected||p,e),u),itemButton:i.css("ms-Suggestions-itemButton",a.itemButton),closeButton:i.css("ms-Suggestions-closeButton",a.closeButton)};return r.createElement("div",{className:g.root},r.createElement(s.CommandButton,{onClick:c,className:g.itemButton},o(n.item,this.props)),this.props.showRemoveButton?r.createElement(s.IconButton,{iconProps:{iconName:"Cancel",styles:{root:{fontSize:"12px"}}},title:f,ariaLabel:f,onClick:d,className:g.closeButton}):null)},t}(r.Component);t.SuggestionsItem=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(20).loadStyles([{rawString:".root_2185d12d{min-width:260px}.suggestionsItem_2185d12d{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_2185d12d:hover{background:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:"}.suggestionsItem_2185d12d:hover .closeButton_2185d12d{display:block}.suggestionsItem_2185d12d.suggestionsItemIsSuggested_2185d12d{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsItem_2185d12d.suggestionsItemIsSuggested_2185d12d:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:"}@media screen and (-ms-high-contrast:active){.suggestionsItem_2185d12d.suggestionsItemIsSuggested_2185d12d:hover{background:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active){.suggestionsItem_2185d12d.suggestionsItemIsSuggested_2185d12d{background:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsItem_2185d12d.suggestionsItemIsSuggested_2185d12d .closeButton_2185d12d:hover{background:"},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:"}@media screen and (-ms-high-contrast:active){.suggestionsItem_2185d12d.suggestionsItemIsSuggested_2185d12d .itemButton_2185d12d{color:HighlightText}}.suggestionsItem_2185d12d .closeButton_2185d12d{display:none;color:"},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:"}.suggestionsItem_2185d12d .closeButton_2185d12d:hover{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.actionButton_2185d12d{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_2185d12d{padding-left:8px}[dir=rtl] .actionButton_2185d12d{padding-right:8px}html[dir=ltr] .actionButton_2185d12d{text-align:left}html[dir=rtl] .actionButton_2185d12d{text-align:right}.actionButton_2185d12d:hover{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";cursor:pointer}.actionButton_2185d12d:active,.actionButton_2185d12d:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_2185d12d .ms-Button-icon{font-size:16px;width:25px}.actionButton_2185d12d .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_2185d12d .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_2185d12d{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.suggestionsTitle_2185d12d{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_2185d12d{overflow-y:auto;overflow-x:hidden;max-height:300px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsNone_2185d12d{text-align:center;color:#797775;font-size:12px;line-height:30px}.suggestionsSpinner_2185d12d{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_2185d12d{padding-left:14px}html[dir=rtl] .suggestionsSpinner_2185d12d{padding-right:14px}html[dir=ltr] .suggestionsSpinner_2185d12d{text-align:left}html[dir=rtl] .suggestionsSpinner_2185d12d{text-align:right}.suggestionsSpinner_2185d12d .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_2185d12d .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_2185d12d .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_2185d12d.itemButton_2185d12d{width:100%;padding:0;min-width:0;height:100%}@media screen and (-ms-high-contrast:active){.itemButton_2185d12d.itemButton_2185d12d{color:WindowText}}.itemButton_2185d12d.itemButton_2185d12d:hover{color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.closeButton_2185d12d.closeButton_2185d12d{padding:0 4px;height:auto;width:32px}@media screen and (-ms-high-contrast:active){.closeButton_2185d12d.closeButton_2185d12d{color:WindowText}}.closeButton_2185d12d.closeButton_2185d12d:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.suggestionsAvailable_2185d12d{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]),t.root="root_2185d12d",t.suggestionsItem="suggestionsItem_2185d12d",t.closeButton="closeButton_2185d12d",t.suggestionsItemIsSuggested="suggestionsItemIsSuggested_2185d12d",t.itemButton="itemButton_2185d12d",t.actionButton="actionButton_2185d12d",t.buttonSelected="buttonSelected_2185d12d",t.suggestionsTitle="suggestionsTitle_2185d12d",t.suggestionsContainer="suggestionsContainer_2185d12d",t.suggestionsNone="suggestionsNone_2185d12d",t.suggestionsSpinner="suggestionsSpinner_2185d12d",t.suggestionsAvailable="suggestionsAvailable_2185d12d"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.SuggestionsItemGlobalClassNames={root:"ms-Suggestions-item",itemButton:"ms-Suggestions-itemButton",closeButton:"ms-Suggestions-closeButton",isSuggested:"is-suggested"},t.getStyles=function(e){var n,r,i,s=e.className,a=e.theme,l=e.suggested,c=a.palette,u=a.semanticColors,d=o.getGlobalClassNames(t.SuggestionsItemGlobalClassNames,a);return{root:[d.root,{display:"flex",alignItems:"stretch",boxSizing:"border-box",width:"100%",position:"relative",selectors:{"&:hover":{background:u.menuItemBackgroundHovered},"&:hover .ms-Suggestions-closeButton":{display:"block"}}},s],itemButton:[d.itemButton,{width:"100%",padding:0,border:"none",height:"100%",minWidth:0,overflow:"hidden",selectors:(n={},n[o.HighContrastSelector]={color:"WindowText",selectors:{":hover":{background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"}}},n[":hover"]={color:u.menuItemTextHovered},n)},l&&[d.isSuggested,{background:u.menuItemBackgroundPressed,selectors:(r={":hover":{background:u.menuDivider}},r[o.HighContrastSelector]={background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"},r)}]],closeButton:[d.closeButton,{display:"none",color:c.neutralSecondary,padding:"0 4px",height:"auto",width:32,selectors:(i={":hover, :active":{background:c.neutralTertiaryAlt,color:c.neutralDark}},i[o.HighContrastSelector]={color:"WindowText"},i)},l&&{selectors:{":hover, :active":{background:c.neutralTertiary,color:c.neutralPrimary}}}]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(){var e=this;this._isSuggestionModel=function(e){return void 0!==e.item},this._ensureSuggestionModel=function(t){return e._isSuggestionModel(t)?t:{item:t,selected:!1,ariaLabel:t.name||t.primaryText}},this.suggestions=[],this.currentIndex=-1}return e.prototype.updateSuggestions=function(e,t){e&&e.length>0?(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])):(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}();t.SuggestionsController=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(30),a=n(9),l=n(84),c=n(806),u=i.classNamesFunction();t.PeoplePickerItemBase=function(e){var t=e.item,n=e.onRemoveItem,c=e.index,d=e.selected,p=e.removeButtonAriaLabel,f=e.styles,h=e.theme,m=e.className,g=e.disabled,v=i.getId(),_=u(f,{theme:h,className:m,selected:d,disabled:g,invalid:t.ValidationState===l.ValidationState.warning}),y=_.subComponentStyles?_.subComponentStyles.persona:void 0,b=_.subComponentStyles?_.subComponentStyles.personaCoin:void 0;return r.createElement("div",{className:_.root,"data-is-focusable":!g,"data-is-sub-focuszone":!0,"data-selection-index":c,role:"listitem","aria-labelledby":"selectedItemPersona-"+v},r.createElement("div",{className:_.itemContent,id:"selectedItemPersona-"+v},r.createElement(s.Persona,o.__assign({size:s.PersonaSize.size24,styles:y,coinProps:{styles:b}},t))),r.createElement(a.IconButton,{onClick:n,disabled:g,iconProps:{iconName:"Cancel",styles:{root:{fontSize:"12px"}}},className:_.removeButton,ariaLabel:p}))},t.PeoplePickerItem=i.styled(t.PeoplePickerItemBase,c.getStyles,void 0,{scope:"PeoplePickerItem"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(30),a=n(807),l=i.classNamesFunction();t.PeoplePickerItemSuggestionBase=function(e){var t=e.personaProps,n=e.suggestionsProps,i=e.compact,a=e.styles,c=e.theme,u=e.className,d=l(a,{theme:c,className:n&&n.suggestionsItemClassName||u}),p=d.subComponentStyles&&d.subComponentStyles.persona?d.subComponentStyles.persona:void 0;return r.createElement("div",{className:d.root},r.createElement(s.Persona,o.__assign({size:s.PersonaSize.size24,styles:p,className:d.personaWrapper,showSecondaryText:!i},t)))},t.PeoplePickerItemSuggestion=i.styled(t.PeoplePickerItemSuggestionBase,a.getStyles,void 0,{scope:"PeoplePickerItemSuggestion"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r={root:"ms-BasePicker",text:"ms-BasePicker-text",itemsWrapper:"ms-BasePicker-itemsWrapper",input:"ms-BasePicker-input"};t.getStyles=function(e){var t,n=e.className,i=e.theme,s=e.isFocused,a=e.inputClassName,l=e.disabled;if(!i)throw new Error("theme is undefined or null in base BasePicker getStyles function.");var c=i.semanticColors,u=i.effects,d=i.fonts,p=c.inputBorder,f=c.inputBorderHovered,h=c.inputFocusBorderAlt,m=o.getGlobalClassNames(r,i);return{root:[m.root,n],text:[m.text,{display:"flex",position:"relative",flexWrap:"wrap",alignItems:"center",boxSizing:"border-box",minWidth:180,minHeight:30,border:"1px solid "+p,borderRadius:u.roundedCorner2},!s&&!l&&{selectors:{":hover":{borderColor:f}}},s&&!l&&o.getInputFocusStyle(h,u.roundedCorner2),l&&{borderColor:"rgba(218, 218, 218, 0.29)",selectors:(t={":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:"rgba(218, 218, 218, 0.29)"}},t[o.HighContrastSelector]={borderColor:"GrayText",selectors:{":after":{background:"none"}}},t)}],itemsWrapper:[m.itemsWrapper,{display:"flex",flexWrap:"wrap",maxWidth:"100%"}],input:[m.input,d.medium,{height:30,border:"none",flexGrow:1,outline:"none",padding:"0 6px 0",alignSelf:"flex-end",borderRadius:u.roundedCorner2,backgroundColor:"transparent",color:c.inputText,selectors:{"::-ms-clear":{display:"none"}}},a],screenReaderText:o.hiddenContentStyle}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2),i=n(9),s=n(809),a=r.classNamesFunction();t.TagItemBase=function(e){var t=e.theme,n=e.styles,r=e.selected,s=e.disabled,l=e.enableTagFocusInDisabledPicker,c=e.children,u=e.className,d=e.index,p=e.onRemoveItem,f=e.removeButtonAriaLabel,h=e.title,m=void 0===h?"string"==typeof e.children?e.children:e.item.name:h,g=a(n,{theme:t,className:u,selected:r,disabled:s});return o.createElement("div",{className:g.root,role:"listitem",key:d,"data-selection-index":d,"data-is-focusable":(l||!s)&&!0},o.createElement("span",{className:g.text,"aria-label":m,title:m},c),o.createElement(i.IconButton,{onClick:p,disabled:s,iconProps:{iconName:"Cancel",styles:{root:{fontSize:"12px"}}},className:g.close,ariaLabel:f}))},t.TagItem=r.styled(t.TagItemBase,s.getStyles,void 0,{scope:"TagItem"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2),i=n(810),s=r.classNamesFunction();t.TagItemSuggestionBase=function(e){var t=e.styles,n=e.theme,r=e.children,i=s(t,{theme:n});return o.createElement("div",{className:i.suggestionTextOverflow}," ",r," ")},t.TagItemSuggestion=r.styled(t.TagItemSuggestionBase,i.getStyles,void 0,{scope:"TagItemSuggestion"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(20).loadStyles([{rawString:".resultContent_125d61f0{display:table-row}.resultContent_125d61f0 .resultItem_125d61f0{display:table-cell;vertical-align:bottom}.peoplePickerPersona_125d61f0{width:180px}.peoplePickerPersona_125d61f0 .ms-Persona-details{width:100%}.peoplePicker_125d61f0 .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_125d61f0{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}"}]),t.resultContent="resultContent_125d61f0",t.resultItem="resultItem_125d61f0",t.peoplePickerPersona="peoplePickerPersona_125d61f0",t.peoplePicker="peoplePicker_125d61f0",t.peoplePickerPersonaContent="peoplePickerPersonaContent_125d61f0"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(818),i=n(819);t.Grid=o.styled(r.GridBase,i.getStyles)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onClick=function(){var e=t.props,n=e.onClick,o=e.disabled,r=e.item;n&&!o&&n(r)},t._onMouseEnter=function(e){var n=t.props,o=n.onHover,r=n.disabled,i=n.item,s=n.onMouseEnter;s&&s(e)||!o||r||o(i)},t._onMouseMove=function(e){var n=t.props,o=n.onHover,r=n.disabled,i=n.item,s=n.onMouseMove;s&&s(e)||!o||r||o(i)},t._onMouseLeave=function(e){var n=t.props,o=n.onHover,r=n.disabled,i=n.onMouseLeave;i&&i(e)||!o||r||o()},t._onFocus=function(){var e=t.props,n=e.onFocus,o=e.disabled,r=e.item;n&&!o&&n(r)},t}return o.__extends(t,e),t.prototype.render=function(){var e,t=this.props,n=t.item,o=t.id,a=t.className,l=t.role,c=t.selected,u=t.disabled,d=t.onRenderItem,p=t.cellDisabledStyle,f=t.cellIsSelectedStyle,h=t.index,m=t.label,g=t.getClassNames;return r.createElement(s.CommandButton,{id:o,"data-index":h,"data-is-focusable":!0,disabled:u,className:i.css(a,(e={},e[""+f]=c,e[""+p]=u,e)),onClick:this._onClick,onMouseEnter:this._onMouseEnter,onMouseMove:this._onMouseMove,onMouseLeave:this._onMouseLeave,onFocus:this._onFocus,role:l,"aria-selected":c,ariaLabel:m,title:m,getClassNames:g},d(n))},t.defaultProps={disabled:!1,id:i.getId("gridCell")},t}(r.Component);t.GridCell=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(346),a=n(347),l=n(145),c=n(350),u=i.classNamesFunction(),d=function(e){function t(t){var n=e.call(this,t)||this;return n._hoverCard=r.createRef(),n.dismiss=function(e){n._async.clearTimeout(n._openTimerId),n._async.clearTimeout(n._dismissTimerId),e?n._dismissTimerId=n._async.setTimeout((function(){n._setDismissedState()}),n.props.cardDismissDelay):n._setDismissedState()},n._cardOpen=function(e){n._shouldBlockHoverCard()||"keydown"===e.type&&e.which!==n.props.openHotKey||(n._async.clearTimeout(n._dismissTimerId),"mouseenter"===e.type&&(n._currentMouseTarget=e.currentTarget),n._executeCardOpen(e))},n._executeCardOpen=function(e){n._async.clearTimeout(n._openTimerId),n._openTimerId=n._async.setTimeout((function(){n.setState((function(t){return t.isHoverCardVisible?t:{isHoverCardVisible:!0,mode:l.ExpandingCardMode.compact,openMode:"keydown"===e.type?s.OpenCardMode.hotKey:s.OpenCardMode.hover}}))}),n.props.cardOpenDelay)},n._cardDismiss=function(e,t){if(e){if(!(t instanceof MouseEvent))return;if("keydown"===t.type&&t.which!==i.KeyCodes.escape)return;n.props.sticky||n._currentMouseTarget!==t.currentTarget&&t.which!==i.KeyCodes.escape||n.dismiss(!0)}else{if(n.props.sticky&&!(t instanceof MouseEvent)&&t.nativeEvent instanceof MouseEvent&&"mouseleave"===t.type)return;n.dismiss(!0)}},n._setDismissedState=function(){n.setState({isHoverCardVisible:!1,mode:l.ExpandingCardMode.compact,openMode:s.OpenCardMode.hover})},n._instantOpenAsExpanded=function(e){n._async.clearTimeout(n._dismissTimerId),n.setState((function(e){return e.isHoverCardVisible?e:{isHoverCardVisible:!0,mode:l.ExpandingCardMode.expanded}}))},n._setEventListeners=function(){var e=n.props,t=e.trapFocus,o=e.instantOpenOnClick,r=e.eventListenerTarget,i=r?n._getTargetElement(r):n._getTargetElement(n.props.target),s=n._nativeDismissEvent;i&&(n._events.on(i,"mouseenter",n._cardOpen),n._events.on(i,"mouseleave",s),t?n._events.on(i,"keydown",n._cardOpen):(n._events.on(i,"focus",n._cardOpen),n._events.on(i,"blur",s)),o?n._events.on(i,"click",n._instantOpenAsExpanded):(n._events.on(i,"mousedown",s),n._events.on(i,"keydown",s)))},i.initializeComponentRef(n),n._async=new i.Async(n),n._events=new i.EventGroup(n),n._nativeDismissEvent=n._cardDismiss.bind(n,!0),n._childDismissEvent=n._cardDismiss.bind(n,!1),n.state={isHoverCardVisible:!1,mode:l.ExpandingCardMode.compact,openMode:s.OpenCardMode.hover},n}return o.__extends(t,e),t.prototype.componentDidMount=function(){this._setEventListeners()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.componentDidUpdate=function(e,t){var n=this;e.target!==this.props.target&&(this._events.off(),this._setEventListeners()),t.isHoverCardVisible!==this.state.isHoverCardVisible&&(this.state.isHoverCardVisible?(this._async.setTimeout((function(){n.setState({mode:l.ExpandingCardMode.expanded},(function(){n.props.onCardExpand&&n.props.onCardExpand()}))}),this.props.expandedCardOpenDelay),this.props.onCardVisible&&this.props.onCardVisible()):(this.setState({mode:l.ExpandingCardMode.compact}),this.props.onCardHide&&this.props.onCardHide()))},t.prototype.render=function(){var e=this.props,t=e.expandingCardProps,n=e.children,l=e.id,d=e.setAriaDescribedBy,p=void 0===d||d,f=e.styles,h=e.theme,m=e.className,g=e.type,v=e.plainCardProps,_=e.trapFocus,y=e.setInitialFocus,b=this.state,S=b.isHoverCardVisible,C=b.mode,x=b.openMode,k=l||i.getId("hoverCard");this._classNames=u(f,{theme:h,className:m});var w=o.__assign(o.__assign({},i.getNativeProps(this.props,i.divProperties)),{id:k,trapFocus:!!_,firstFocus:y||x===s.OpenCardMode.hotKey,targetElement:this._getTargetElement(this.props.target),onEnter:this._cardOpen,onLeave:this._childDismissEvent}),P=o.__assign(o.__assign(o.__assign({},t),w),{mode:C}),E=o.__assign(o.__assign({},v),w);return r.createElement("div",{className:this._classNames.host,ref:this._hoverCard,"aria-describedby":p&&S?k:void 0,"data-is-focusable":!Boolean(this.props.target)},n,S&&(g===s.HoverCardType.expanding?r.createElement(a.ExpandingCard,o.__assign({},P)):r.createElement(c.PlainCard,o.__assign({},E))))},t.prototype._getTargetElement=function(e){switch(typeof e){case"string":return i.getDocument().querySelector(e);case"object":return e;default:return this._hoverCard.current||void 0}},t.prototype._shouldBlockHoverCard=function(){return!(!this.props.shouldBlockHoverCard||!this.props.shouldBlockHoverCard())},t.defaultProps={cardOpenDelay:500,cardDismissDelay:100,expandedCardOpenDelay:1500,instantOpenOnClick:!1,setInitialFocus:!1,openHotKey:i.KeyCodes.c,type:s.HoverCardType.expanding},t}(r.Component);t.HoverCardBase=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.hover=0]="hover",e[e.hotKey=1]="hotKey"}(t.OpenCardMode||(t.OpenCardMode={})),function(e){e.plain="PlainCard",e.expanding="ExpandingCard"}(t.HoverCardType||(t.HoverCardType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(824),i=n(348);t.ExpandingCard=o.styled(i.ExpandingCardBase,r.getStyles,void 0,{scope:"ExpandingCard"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(145),a=n(349),l=i.classNamesFunction(),c=function(e){function t(t){var n=e.call(this,t)||this;return n._expandedElem=r.createRef(),n._onKeyDown=function(e){e.which===i.KeyCodes.escape&&n.props.onLeave&&n.props.onLeave(e)},n._onRenderCompactCard=function(){return r.createElement("div",{className:n._classNames.compactCard},n.props.onRenderCompactCard(n.props.renderData))},n._onRenderExpandedCard=function(){return!n.state.firstFrameRendered&&n._async.requestAnimationFrame((function(){n.setState({firstFrameRendered:!0})})),r.createElement("div",{className:n._classNames.expandedCard,ref:n._expandedElem},r.createElement("div",{className:n._classNames.expandedCardScroll},n.props.onRenderExpandedCard&&n.props.onRenderExpandedCard(n.props.renderData)))},n._checkNeedsScroll=function(){var e=n.props.expandedCardHeight;n._async.requestAnimationFrame((function(){n._expandedElem.current&&n._expandedElem.current.scrollHeight>=e&&n.setState({needsScroll:!0})}))},n._async=new i.Async(n),i.initializeComponentRef(n),n.state={firstFrameRendered:!1,needsScroll:!1},n}return o.__extends(t,e),t.prototype.componentDidMount=function(){this._checkNeedsScroll()},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=this.props,t=e.styles,n=e.compactCardHeight,i=e.expandedCardHeight,c=e.theme,u=e.mode,d=e.className,p=this.state,f=p.needsScroll,h=p.firstFrameRendered,m=n+i;this._classNames=l(t,{theme:c,compactCardHeight:n,className:d,expandedCardHeight:i,needsScroll:f,expandedCardFirstFrameRendered:u===s.ExpandingCardMode.expanded&&h});var g=r.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this._onRenderCompactCard(),this._onRenderExpandedCard());return r.createElement(a.CardCallout,o.__assign({},this.props,{content:g,finalHeight:m,className:this._classNames.root}))},t.defaultProps={compactCardHeight:156,expandedCardHeight:384,directionalHintFixed:!0},t}(r.Component);t.ExpandingCardBase=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(14),a=n(21);t.CardCallout=function(e){var t=e.gapSpace,n=void 0===t?0:t,l=e.directionalHint,c=void 0===l?s.DirectionalHint.bottomLeftEdge:l,u=e.directionalHintFixed,d=e.targetElement,p=e.firstFocus,f=e.trapFocus,h=e.onLeave,m=e.className,g=e.finalHeight,v=e.content,_=e.calloutProps,y=o.__assign(o.__assign(o.__assign({},i.getNativeProps(e,i.divProperties)),{className:m,target:d,isBeakVisible:!1,directionalHint:c,directionalHintFixed:u,finalHeight:g,minPagePadding:24,onDismiss:h,gapSpace:n}),_);return r.createElement(r.Fragment,null,f?r.createElement(a.FocusTrapCallout,o.__assign({},y,{focusTrapProps:{forceFocusInsideTrap:!1,isClickableOutsideFocusTrap:!0,disableFirstFocus:!p}}),v):r.createElement(a.Callout,o.__assign({},y),v))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(825),i=n(351);t.PlainCard=o.styled(i.PlainCardBase,r.getStyles,void 0,{scope:"PlainCard"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(349),a=i.classNamesFunction(),l=function(e){function t(t){var n=e.call(this,t)||this;return n._onKeyDown=function(e){e.which===i.KeyCodes.escape&&n.props.onLeave&&n.props.onLeave(e)},i.initializeComponentRef(n),n}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme,i=e.className;this._classNames=a(t,{theme:n,className:i});var l=r.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this.props.onRenderPlainCard(this.props.renderData));return r.createElement(s.CardCallout,o.__assign({},this.props,{content:l,className:this._classNames.root}))},t}(r.Component);t.PlainCardBase=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(849),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.getStyles=function(e){var t,n=e.theme,r=e.disabled,i=e.visible;return{container:[{backgroundColor:n.palette.neutralDark},r&&{opacity:.5,selectors:(t={},t[o.HighContrastSelector]={color:"GrayText",opacity:1},t)},!i&&{visibility:"hidden"}],root:[n.fonts.medium,{textAlign:"center",paddingLeft:"3px",paddingRight:"3px",backgroundColor:n.palette.neutralDark,color:n.palette.neutralLight,minWidth:"11px",lineHeight:"17px",height:"17px",display:"inline-block"},r&&{color:n.palette.neutralTertiaryAlt}]}},t.getCalloutStyles=function(e){return{container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]}},t.getCalloutOffsetStyles=function(e){return function(n){return o.mergeStyleSets(t.getCalloutStyles(n),{root:[{marginLeft:e.left||e.x,marginTop:e.top||e.y}]})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(355),s=n(352),a=n(37),l=n(2),c=n(112),u=n(856),d=n(73),p=n(246),f=n(57),h={key:l.isMac()?"Control":"Meta",modifierKeys:[l.KeyCodes.alt]},m=h,g={key:"Escape"},v=l.classNamesFunction(),_=function(e){function t(t,n){var r=e.call(this,t,n)||this;r._keytipManager=c.KeytipManager.getInstance(),r._delayedKeytipQueue=[],r._keyHandled=!1,r._onDismiss=function(e){r.state.inKeytipMode&&r._exitKeytipMode(e)},r._onKeyDown=function(e){r._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":r.state.inKeytipMode&&(r._keyHandled=!0,r._exitKeytipMode(e));break;default:"Esc"===t?t="Escape":"OS"!==t&&"Win"!==t||(t="Meta");var n={key:t};n.modifierKeys=r._getModifierKey(t,e),r.processTransitionInput(n,e)}},r._onKeyPress=function(e){r.state.inKeytipMode&&!r._keyHandled&&(r.processInput(e.key.toLocaleLowerCase(),e),e.preventDefault(),e.stopPropagation())},r._onKeytipAdded=function(e){var t=e.keytip,n=e.uniqueID;if(r._keytipTree.addNode(t,n),r._setKeytips(),r._keytipTree.isCurrentKeytipParent(t)&&(r._addKeytipToQueue(d.sequencesToID(t.keySequences)),r._keytipTree.currentKeytip&&r._keytipTree.currentKeytip.hasDynamicChildren&&r._keytipTree.currentKeytip.children.indexOf(t.id)<0)){var o=r._keytipTree.getNode(r._keytipTree.currentKeytip.id);o&&(r._keytipTree.currentKeytip=o)}if(r._newCurrentKeytipSequences&&l.arraysEqual(t.keySequences,r._newCurrentKeytipSequences)&&r._triggerKeytipImmediately(t),r._isCurrentKeytipAnAlias(t)){var i=t.keySequences;t.overflowSetSequence&&(i=d.mergeOverflows(i,t.overflowSetSequence)),r._keytipTree.currentKeytip=r._keytipTree.getNode(d.sequencesToID(i))}},r._onKeytipUpdated=function(e){var t=e.keytip,n=e.uniqueID;r._keytipTree.updateNode(t,n),r._setKeytips(),r._keytipTree.isCurrentKeytipParent(t)&&r._addKeytipToQueue(d.sequencesToID(t.keySequences))},r._onKeytipRemoved=function(e){var t=e.keytip,n=e.uniqueID;r._removeKeytipFromQueue(d.sequencesToID(t.keySequences)),r._keytipTree.removeNode(t,n),r._setKeytips()},r._onPersistedKeytipAdded=function(e){var t=e.keytip,n=e.uniqueID;r._keytipTree.addNode(t,n,!0)},r._onPersistedKeytipRemoved=function(e){var t=e.keytip,n=e.uniqueID;r._keytipTree.removeNode(t,n)},r._onPersistedKeytipExecute=function(e){r._persistedKeytipExecute(e.overflowButtonSequences,e.keytipSequences)},r._setInKeytipMode=function(e){r.setState({inKeytipMode:e}),r._keytipManager.inKeytipMode=e},r._warnIfDuplicateKeytips=function(){var e=r._getDuplicateIds(r._keytipTree.getChildren());e.length&&l.warn("Duplicate keytips found for "+e.join(", "))},r._getDuplicateIds=function(e){var t={};return e.filter((function(e){return t[e]=t[e]?t[e]+1:1,2===t[e]}))},l.initializeComponentRef(r),r._events=new l.EventGroup(r),r._async=new l.Async(r);var i=o.__spreadArrays(r._keytipManager.getKeytips());return r.state={inKeytipMode:!1,keytips:i,visibleKeytips:r._getVisibleKeytips(i)},r._buildTree(),r._currentSequence="",r._events.on(r._keytipManager,f.KeytipEvents.KEYTIP_ADDED,r._onKeytipAdded),r._events.on(r._keytipManager,f.KeytipEvents.KEYTIP_UPDATED,r._onKeytipUpdated),r._events.on(r._keytipManager,f.KeytipEvents.KEYTIP_REMOVED,r._onKeytipRemoved),r._events.on(r._keytipManager,f.KeytipEvents.PERSISTED_KEYTIP_ADDED,r._onPersistedKeytipAdded),r._events.on(r._keytipManager,f.KeytipEvents.PERSISTED_KEYTIP_REMOVED,r._onPersistedKeytipRemoved),r._events.on(r._keytipManager,f.KeytipEvents.PERSISTED_KEYTIP_EXECUTE,r._onPersistedKeytipExecute),r}return o.__extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.content,l=t.styles,c=this.state,u=c.keytips,p=c.visibleKeytips;return this._classNames=v(l,{}),r.createElement(a.Layer,{styles:i.getLayerStyles},r.createElement("span",{id:f.KTP_LAYER_ID,className:this._classNames.innerContent},""+n+f.KTP_ARIA_SEPARATOR),u&&u.map((function(t,n){return r.createElement("span",{key:n,id:d.sequencesToID(t.keySequences),className:e._classNames.innerContent},t.keySequences.join(f.KTP_ARIA_SEPARATOR))})),p&&p.map((function(e){return r.createElement(s.Keytip,o.__assign({key:d.sequencesToID(e.keySequences)},e))})))},t.prototype.componentDidMount=function(){this._events.on(window,"mouseup",this._onDismiss,!0),this._events.on(window,"pointerup",this._onDismiss,!0),this._events.on(window,"resize",this._onDismiss),this._events.on(window,"keydown",this._onKeyDown,!0),this._events.on(window,"keypress",this._onKeyPress,!0),this._events.on(window,"scroll",this._onDismiss,!0),this._events.on(this._keytipManager,f.KeytipEvents.ENTER_KEYTIP_MODE,this._enterKeytipMode),this._events.on(this._keytipManager,f.KeytipEvents.EXIT_KEYTIP_MODE,this._exitKeytipMode)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.getCurrentSequence=function(){return this._currentSequence},t.prototype.getKeytipTree=function(){return this._keytipTree},t.prototype.processTransitionInput=function(e,t){var n=this._keytipTree.currentKeytip;p.transitionKeysContain(this.props.keytipExitSequences,e)&&n?(this._keyHandled=!0,this._exitKeytipMode(t)):p.transitionKeysContain(this.props.keytipReturnSequences,e)?n&&(this._keyHandled=!0,n.id===this._keytipTree.root.id?this._exitKeytipMode(t):(n.onReturn&&n.onReturn(this._getKtpExecuteTarget(n),this._getKtpTarget(n)),this._currentSequence="",this._keytipTree.currentKeytip=this._keytipTree.getNode(n.parent),this.showKeytips(this._keytipTree.getChildren()),this._warnIfDuplicateKeytips())):p.transitionKeysContain(this.props.keytipStartSequences,e)&&!n&&(this._keyHandled=!0,this._enterKeytipMode(),this._warnIfDuplicateKeytips())},t.prototype.processInput=function(e,t){var n=this._currentSequence+e,o=this._keytipTree.currentKeytip;if(o){var r=this._keytipTree.getExactMatchedNode(n,o);if(r){this._keytipTree.currentKeytip=o=r;var i=this._keytipTree.getChildren();return o.onExecute&&(o.onExecute(this._getKtpExecuteTarget(o),this._getKtpTarget(o)),o=this._keytipTree.currentKeytip),0!==i.length||o.hasDynamicChildren||o.hasMenu?(this.showKeytips(i),this._warnIfDuplicateKeytips()):this._exitKeytipMode(t),void(this._currentSequence="")}var s=this._keytipTree.getPartiallyMatchedNodes(n,o);if(s.length>0){var a=s.filter((function(e){return!e.persisted})).map((function(e){return e.id}));this.showKeytips(a),this._currentSequence=n}}},t.prototype.showKeytips=function(e){for(var t=0,n=this._keytipManager.getKeytips();t=0||o.overflowSetSequence&&e.indexOf(d.sequencesToID(d.mergeOverflows(o.keySequences,o.overflowSetSequence)))>=0?o.visible=!0:o.visible=!1}this._setKeytips()},t.prototype._enterKeytipMode=function(){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())},t.prototype._buildTree=function(){this._keytipTree=new u.KeytipTree;for(var e=0,t=Object.keys(this._keytipManager.keytips);e=0&&(this._delayedKeytipQueue.splice(n,1),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedQueueTimeout=this._async.setTimeout((function(){t._delayedKeytipQueue.length&&(t.showKeytips(t._delayedKeytipQueue),t._delayedKeytipQueue=[])}),300))},t.prototype._getKtpExecuteTarget=function(e){return l.getDocument().querySelector(d.ktpTargetFromId(e.id))},t.prototype._getKtpTarget=function(e){return l.getDocument().querySelector(d.ktpTargetFromSequences(e.keySequences))},t.prototype._isCurrentKeytipAnAlias=function(e){var t=this._keytipTree.currentKeytip;return!(!t||!t.overflowSetSequence&&!t.persisted||!l.arraysEqual(e.keySequences,t.keySequences))},t.defaultProps={keytipStartSequences:[h],keytipExitSequences:[m],keytipReturnSequences:[g],content:""},t}(r.Component);t.KeytipLayerBase=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);t.getLayerStyles=function(e){return{root:[{zIndex:o.ZIndexes.KeytipLayer}]}},t.getStyles=function(e){return{innerContent:[{position:"absolute",width:0,height:0,margin:0,padding:0,border:0,overflow:"hidden",visibility:"hidden"}]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=n(5),l=n(146),c=i.classNamesFunction(),u=function(e){function t(t){var n,o=e.call(this,t)||this;return o.ICON_MAP=((n={})[l.MessageBarType.info]="Info",n[l.MessageBarType.warning]="Info",n[l.MessageBarType.error]="ErrorBadge",n[l.MessageBarType.blocked]="Blocked2",n[l.MessageBarType.severeWarning]="Warning",n[l.MessageBarType.success]="Completed",n),o._getRegionProps=function(){var e=!!o._getActionsDiv()||!!o._getDismissDiv(),t={"aria-describedby":o.state.labelId,role:"region"};return e?t:{}},o._onClick=function(e){o.setState({expandSingleLine:!o.state.expandSingleLine})},i.initializeComponentRef(o),o.state={labelId:i.getId("MessageBar"),showContent:!1,expandSingleLine:!1},o}return o.__extends(t,e),t.prototype.render=function(){var e=this.props.isMultiline;return this._classNames=this._getClassNames(),e?this._renderMultiLine():this._renderSingleLine()},t.prototype._getActionsDiv=function(){return this.props.actions?r.createElement("div",{className:this._classNames.actions},this.props.actions):null},t.prototype._getDismissDiv=function(){var e=this.props,t=e.onDismiss,n=e.dismissIconProps;return t?r.createElement(s.IconButton,{disabled:!1,className:this._classNames.dismissal,onClick:t,iconProps:n||{iconName:"Clear"},title:this.props.dismissButtonAriaLabel,ariaLabel:this.props.dismissButtonAriaLabel}):null},t.prototype._getDismissSingleLine=function(){return this.props.onDismiss?r.createElement("div",{className:this._classNames.dismissSingleLine},this._getDismissDiv()):null},t.prototype._getExpandSingleLine=function(){return!this.props.actions&&this.props.truncated?r.createElement("div",{className:this._classNames.expandSingleLine},r.createElement(s.IconButton,{disabled:!1,className:this._classNames.expand,onClick:this._onClick,iconProps:{iconName:this.state.expandSingleLine?"DoubleChevronUp":"DoubleChevronDown"},ariaLabel:this.props.overflowButtonAriaLabel,"aria-expanded":this.state.expandSingleLine})):null},t.prototype._getIconSpan=function(){var e=this.props.messageBarIconProps;return r.createElement("div",{className:this._classNames.iconContainer,"aria-hidden":!0},e?r.createElement(a.Icon,o.__assign({},e,{className:i.css(this._classNames.icon,e.className)})):r.createElement(a.Icon,{iconName:this.ICON_MAP[this.props.messageBarType],className:this._classNames.icon}))},t.prototype._renderMultiLine=function(){return r.createElement("div",o.__assign({className:this._classNames.root},this._getRegionProps()),r.createElement("div",{className:this._classNames.content},this._getIconSpan(),this._renderInnerText(),this._getDismissDiv()),this._getActionsDiv())},t.prototype._renderSingleLine=function(){return r.createElement("div",o.__assign({className:this._classNames.root},this._getRegionProps()),r.createElement("div",{className:this._classNames.content},this._getIconSpan(),this._renderInnerText(),this._getExpandSingleLine(),this._getActionsDiv(),this._getDismissSingleLine()))},t.prototype._renderInnerText=function(){var e=i.getNativeProps(this.props,i.htmlElementProperties,["className"]);return r.createElement("div",{className:this._classNames.text,id:this.state.labelId,role:"status","aria-live":this._getAnnouncementPriority()},r.createElement("span",o.__assign({className:this._classNames.innerText},e),r.createElement(i.DelayedRender,null,r.createElement("span",null,this.props.children))))},t.prototype._getClassNames=function(){var e=this.props,t=e.theme,n=e.className,o=e.messageBarType,r=e.onDismiss,i=e.actions,s=e.truncated,a=e.isMultiline,u=this.state.expandSingleLine;return c(this.props.styles,{theme:t,messageBarType:o||l.MessageBarType.info,onDismiss:void 0!==r,actions:void 0!==i,truncated:s,isMultiline:a,expandSingleLine:u,className:n})},t.prototype._getAnnouncementPriority=function(){switch(this.props.messageBarType){case l.MessageBarType.blocked:case l.MessageBarType.error:case l.MessageBarType.severeWarning:return"assertive"}return"polite"},t.defaultProps={messageBarType:l.MessageBarType.info,onDismiss:void 0,isMultiline:!0},t}(r.Component);t.MessageBarBase=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(1),i=n(0),s=n(9),a=n(358),l=n(2),c=n(12),u=n(5),d=n(6);function p(e){return!!e&&!/^[a-z0-9+-.]+:\/\//i.test(e)}t.isRelativeUrl=p;var f=l.classNamesFunction(),h=function(e){function t(t){var n=e.call(this,t)||this;return n._focusZone=i.createRef(),n._onRenderLink=function(e){var t=n.props,o=t.styles,r=t.groups,s=t.theme,a=f(o,{theme:s,groups:r});return i.createElement("div",{className:a.linkText},e.name)},n._renderGroup=function(e,t){var o=n.props,s=o.styles,a=o.groups,l=o.theme,c=o.onRenderGroupHeader,u=void 0===c?n._renderGroupHeader:c,d=n._isGroupExpanded(e),p=f(s,{theme:l,isGroup:!0,isExpanded:d,groups:a}),h=r.__assign(r.__assign({},e),{isExpanded:d,onHeaderClick:function(t,o){n._onGroupHeaderClicked(e,t)}});return i.createElement("div",{key:t,className:p.group},h.name?u(h,n._renderGroupHeader):null,i.createElement("div",{className:p.groupContent},n._renderLinks(h.links,0)))},n._renderGroupHeader=function(e){var t=n.props,o=t.styles,r=t.groups,s=t.theme,a=t.expandButtonAriaLabel,l=e.isExpanded,c=f(o,{theme:s,isGroup:!0,isExpanded:l,groups:r}),d=(l?e.collapseAriaLabel:e.expandAriaLabel)||a,p=e.onHeaderClick,h=p?function(e){p(e,l)}:void 0;return i.createElement("button",{className:c.chevronButton,onClick:h,"aria-label":d,"aria-expanded":l},i.createElement(u.Icon,{className:c.chevronIcon,iconName:"ChevronDown"}),e.name)},l.initializeComponentRef(n),n.state={isGroupCollapsed:{},isLinkExpandStateChanged:!1,selectedKey:t.initialSelectedKey||t.selectedKey},n}return r.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.groups,o=e.className,r=e.isOnTop,s=e.theme;if(!n)return null;var a=n.map(this._renderGroup),l=f(t,{theme:s,className:o,isOnTop:r,groups:n});return i.createElement(c.FocusZone,{direction:c.FocusZoneDirection.vertical,componentRef:this._focusZone},i.createElement("nav",{role:"navigation",className:l.root,"aria-label":this.props.ariaLabel},a))},Object.defineProperty(t.prototype,"selectedKey",{get:function(){return this.state.selectedKey},enumerable:!0,configurable:!0}),t.prototype.focus=function(e){return void 0===e&&(e=!1),!(!this._focusZone||!this._focusZone.current)&&this._focusZone.current.focus(e)},t.prototype._renderNavLink=function(e,t,n){var o=this.props,r=o.styles,l=o.groups,c=o.theme,u=e.icon||e.iconProps,h=this._isLinkSelected(e),m=e.ariaCurrent,g=void 0===m?"page":m,v=f(r,{theme:c,isSelected:h,isDisabled:e.disabled,isButtonEntry:e.onClick&&!e.forceAnchor,leftPadding:14*n+3+(u?0:24),groups:l}),_=e.url&&e.target&&!p(e.url)?"noopener noreferrer":void 0,y=this.props.linkAs?d.composeComponentAs(this.props.linkAs,s.ActionButton):s.ActionButton,b=this.props.onRenderLink?d.composeRenderFunction(this.props.onRenderLink,this._onRenderLink):this._onRenderLink;return i.createElement(y,{className:v.link,styles:a.buttonStyles,href:e.url||(e.forceAnchor?"#":void 0),iconProps:e.iconProps||{iconName:e.icon},onClick:e.onClick?this._onNavButtonLinkClicked.bind(this,e):this._onNavAnchorLinkClicked.bind(this,e),title:void 0!==e.title?e.title:e.name,target:e.target,rel:_,disabled:e.disabled,"aria-current":h?g:void 0,"aria-label":e.ariaLabel?e.ariaLabel:void 0,link:e},b(e))},t.prototype._renderCompositeLink=function(e,t,n){var o=r.__assign({},l.getNativeProps(e,l.divProperties,["onClick"])),s=this.props,a=s.expandButtonAriaLabel,c=s.styles,d=s.groups,p=s.theme,h=f(c,{theme:p,isExpanded:!!e.isExpanded,isSelected:this._isLinkSelected(e),isLink:!0,isDisabled:e.disabled,position:14*n+1,groups:d}),m="";return e.links&&e.links.length>0&&(m=e.collapseAriaLabel||e.expandAriaLabel?e.isExpanded?e.collapseAriaLabel:e.expandAriaLabel:a?e.name+" "+a:e.name),i.createElement("div",r.__assign({},o,{key:e.key||t,className:h.compositeLink}),e.links&&e.links.length>0?i.createElement("button",{className:h.chevronButton,onClick:this._onLinkExpandClicked.bind(this,e),"aria-label":m,"aria-expanded":e.isExpanded?"true":"false"},i.createElement(u.Icon,{className:h.chevronIcon,iconName:"ChevronDown"})):null,this._renderNavLink(e,t,n))},t.prototype._renderLink=function(e,t,n){var o=this.props,r=o.styles,s=o.groups,a=o.theme,l=f(r,{theme:a,groups:s});return i.createElement("li",{key:e.key||t,role:"listitem",className:l.navItem},this._renderCompositeLink(e,t,n),e.isExpanded?this._renderLinks(e.links,++n):null)},t.prototype._renderLinks=function(e,t){var n=this;if(!e||!e.length)return null;var o=e.map((function(e,o){return n._renderLink(e,o,t)})),r=this.props,s=r.styles,a=r.groups,l=r.theme,c=f(s,{theme:l,groups:a});return i.createElement("ul",{role:"list",className:c.navItems},o)},t.prototype._onGroupHeaderClicked=function(e,t){e.onHeaderClick&&e.onHeaderClick(t,this._isGroupExpanded(e)),this._toggleCollapsed(e),t&&(t.preventDefault(),t.stopPropagation())},t.prototype._onLinkExpandClicked=function(e,t){var n=this.props.onLinkExpandClick;n&&n(t,e),t.defaultPrevented||(e.isExpanded=!e.isExpanded,this.setState({isLinkExpandStateChanged:!0})),t.preventDefault(),t.stopPropagation()},t.prototype._preventBounce=function(e,t){!e.url&&e.forceAnchor&&t.preventDefault()},t.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})},t.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})},t.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===l.getWindow()||!e.url)return!1;(o=o||document.createElement("a")).href=e.url||"";var t=o.href;return location.href===t||(location.protocol+"//"+location.host+location.pathname===t||!!location.hash&&(location.hash===e.url||(o.href=location.hash.substring(1),o.href===t)))},t.prototype._isGroupExpanded=function(e){return e.name&&this.state.isGroupCollapsed.hasOwnProperty(e.name)?!this.state.isGroupCollapsed[e.name]:void 0===e.collapseByDefault||!e.collapseByDefault},t.prototype._toggleCollapsed=function(e){var t;if(e.name){var n=r.__assign(r.__assign({},this.state.isGroupCollapsed),((t={})[e.name]=this._isGroupExpanded(e),t));this.setState({isGroupCollapsed:n})}},t.defaultProps={groups:null},t}(i.Component);t.NavBase=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r={root:"ms-Nav",linkText:"ms-Nav-linkText",compositeLink:"ms-Nav-compositeLink",link:"ms-Nav-link",chevronButton:"ms-Nav-chevronButton",chevronIcon:"ms-Nav-chevron",navItem:"ms-Nav-navItem",navItems:"ms-Nav-navItems",group:"ms-Nav-group",groupContent:"ms-Nav-groupContent"};t.buttonStyles={textContainer:{overflow:"hidden"},label:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"}},t.getStyles=function(e){var t,n=e.className,i=e.theme,s=e.isOnTop,a=e.isExpanded,l=e.isGroup,c=e.isLink,u=e.isSelected,d=e.isDisabled,p=e.isButtonEntry,f=e.navHeight,h=void 0===f?44:f,m=e.position,g=e.leftPadding,v=void 0===g?20:g,_=e.leftPaddingExpanded,y=void 0===_?28:_,b=e.rightPadding,S=void 0===b?20:b,C=i.palette,x=i.semanticColors,k=i.fonts,w=o.getGlobalClassNames(r,i);return{root:[w.root,n,k.medium,{overflowY:"auto",userSelect:"none",WebkitOverflowScrolling:"touch"},s&&[{position:"absolute"},o.AnimationClassNames.slideRightIn40]],linkText:[w.linkText,{margin:"0 4px",overflow:"hidden",verticalAlign:"middle",textAlign:"left",textOverflow:"ellipsis"}],compositeLink:[w.compositeLink,{display:"block",position:"relative",color:x.bodyText},a&&"is-expanded",u&&"is-selected",d&&"is-disabled",d&&{color:x.disabledText}],link:[w.link,o.getFocusStyle(i),{display:"block",position:"relative",height:h,width:"100%",lineHeight:h+"px",textDecoration:"none",cursor:"pointer",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",paddingLeft:v,paddingRight:S,color:x.bodyText,selectors:(t={},t[o.HighContrastSelector]={border:0,selectors:{":focus":{border:"1px solid WindowText"}}},t)},!d&&{selectors:{".ms-Nav-compositeLink:hover &":{backgroundColor:x.bodyBackgroundHovered}}},u&&{color:x.bodyTextChecked,fontWeight:o.FontWeights.semibold,backgroundColor:x.bodyBackgroundChecked,selectors:{"&:after":{borderLeft:"2px solid "+C.themePrimary,content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}},d&&{color:x.disabledText},p&&{color:C.themePrimary}],chevronButton:[w.chevronButton,o.getFocusStyle(i),k.small,{display:"block",textAlign:"left",lineHeight:h+"px",margin:"5px 0",padding:"0px, "+S+"px, 0px, "+y+"px",border:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",cursor:"pointer",color:x.bodyText,backgroundColor:"transparent",selectors:{"&:visited":{color:x.bodyText}}},l&&{fontSize:k.large.fontSize,width:"100%",height:h,borderBottom:"1px solid "+x.bodyDivider},c&&{display:"block",width:y-2,height:h-2,position:"absolute",top:"1px",left:m+"px",zIndex:o.ZIndexes.Nav,padding:0,margin:0},u&&{color:C.themePrimary,backgroundColor:C.neutralLighterAlt,selectors:{"&:after":{borderLeft:"2px solid "+C.themePrimary,content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}}],chevronIcon:[w.chevronIcon,{position:"absolute",left:"8px",height:h,lineHeight:h+"px",fontSize:k.small.fontSize,transition:"transform .1s linear"},a&&{transform:"rotate(-180deg)"},c&&{top:0}],navItem:[w.navItem,{padding:0}],navItems:[w.navItems,{listStyleType:"none",padding:0,margin:0}],group:[w.group,a&&"is-expanded"],groupContent:[w.groupContent,{display:"none",marginBottom:"40px"},o.AnimationClassNames.slideDownIn20,a&&{display:"block"}]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=n(12),l=n(360),c=n(147),u=n(147),d=n(5),p=i.classNamesFunction(),f=function(e){function t(t){var n=e.call(this,t)||this;n._focusZone=r.createRef(),n._renderPivotLink=function(e,t,i){var a,l=t.itemKey,c=t.headerButtonProps,u=e.keyToTabIdMapping[l],d=t.onRenderItemLink,p=i===l;a=d?d(t,n._renderLinkContent):n._renderLinkContent(t);var f=t.headerText||"";return f+=t.itemCount?" ("+t.itemCount+")":"",f+=t.itemIcon?" xx":"",r.createElement(s.CommandButton,o.__assign({},c,{id:u,key:l,className:p?n._classNames.linkIsSelected:n._classNames.link,onClick:n._onLinkClick.bind(n,l),onKeyDown:n._onKeyDown.bind(n,l),"aria-label":t.ariaLabel,role:"tab","aria-selected":p,name:t.headerText,keytipProps:t.keytipProps,"data-content":f}),a)},n._renderLinkContent=function(e){var t=e.itemCount,o=e.itemIcon,i=e.headerText,s=n._classNames;return r.createElement("span",{className:s.linkContent},void 0!==o&&r.createElement("span",{className:s.icon},r.createElement(d.Icon,{iconName:o})),void 0!==i&&r.createElement("span",{className:s.text}," ",e.headerText),void 0!==t&&r.createElement("span",{className:s.count}," (",t,")"))},i.initializeComponentRef(n),n._pivotId=i.getId("Pivot");var a,l=n._getPivotLinks(t).links,c=t.defaultSelectedKey,u=void 0===c?t.initialSelectedKey:c,p=t.defaultSelectedIndex,f=void 0===p?t.initialSelectedIndex:p;return u?a=u:"number"==typeof f?a=l[f].itemKey:l.length&&(a=l[0].itemKey),n.state={selectedKey:a},n}return o.__extends(t,e),t.prototype.focus=function(){this._focusZone.current&&this._focusZone.current.focus()},t.prototype.render=function(){var e=this,t=this._getPivotLinks(this.props),n=this._getSelectedKey(t),s=i.getNativeProps(this.props,i.divProperties);return this._classNames=this._getClassNames(this.props),r.createElement("div",o.__assign({role:"toolbar"},s),this._renderPivotLinks(t,n),n&&t.links.map((function(o){return(!0===o.alwaysRender||n===o.itemKey)&&e._renderPivotItem(t,o.itemKey,n===o.itemKey)})))},t.prototype._getSelectedKey=function(e){var t=this.props.selectedKey;if(this._isKeyValid(e,t)||null===t)return t;var n=this.state.selectedKey;return this._isKeyValid(e,n)?n:e.links.length?e.links[0].itemKey:void 0},t.prototype._renderPivotLinks=function(e,t){var n=this,o=e.links.map((function(o){return n._renderPivotLink(e,o,t)}));return r.createElement(a.FocusZone,{className:this._classNames.root,role:"tablist",componentRef:this._focusZone,direction:a.FocusZoneDirection.horizontal},o)},t.prototype._renderPivotItem=function(e,t,n){if(this.props.headersOnly||!t)return null;var o=e.keyToIndexMapping[t],i=e.keyToTabIdMapping[t];return r.createElement("div",{role:"tabpanel",hidden:!n,key:t,"aria-hidden":!n,"aria-labelledby":i,className:this._classNames.itemContainer},r.Children.toArray(this.props.children)[o])},t.prototype._getPivotLinks=function(e){var t=this,n={links:[],keyToIndexMapping:{},keyToTabIdMapping:{}};return r.Children.map(r.Children.toArray(e.children),(function(e,r){if(h(e)){var s=e,a=s.props,l=a.linkText,c=o.__rest(a,["linkText"]),u=s.props.itemKey||r.toString();n.links.push(o.__assign(o.__assign({headerText:l},c),{itemKey:u})),n.keyToIndexMapping[u]=r,n.keyToTabIdMapping[u]=t._getTabId(u,r)}else i.warn("The children of a Pivot component must be of type PivotItem to be rendered.")})),n},t.prototype._getTabId=function(e,t){return this.props.getTabId?this.props.getTabId(e,t):this._pivotId+"-Tab"+t},t.prototype._isKeyValid=function(e,t){return null!=t&&void 0!==e.keyToIndexMapping[t]},t.prototype._onLinkClick=function(e,t){t.preventDefault(),this._updateSelectedItem(e,t)},t.prototype._onKeyDown=function(e,t){t.which===i.KeyCodes.enter&&(t.preventDefault(),this._updateSelectedItem(e))},t.prototype._updateSelectedItem=function(e,t){this.setState({selectedKey:e});var n=this._getPivotLinks(this.props);if(this.props.onLinkClick&&n.keyToIndexMapping[e]>=0){var o=n.keyToIndexMapping[e],i=r.Children.toArray(this.props.children)[o];h(i)&&this.props.onLinkClick(i,t)}},t.prototype._getClassNames=function(e){var t=e.theme,n=e.linkSize===u.PivotLinkSize.large,o=e.linkFormat===c.PivotLinkFormat.tabs;return p(e.styles,{theme:t,rootIsLarge:n,rootIsTabs:o})},t}(r.Component);function h(e){return!!e&&"object"==typeof e&&!!e.type&&e.type.name===l.PivotItem.name}t.PivotBase=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=function(e){function t(t){var n=e.call(this,t)||this;return i.initializeComponentRef(n),i.warnDeprecations("PivotItem",t,{linkText:"headerText"}),n}return o.__extends(t,e),t.prototype.render=function(){return r.createElement("div",o.__assign({},i.getNativeProps(this.props,i.divProperties)),this.props.children)},t}(r.Component);t.PivotItem=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2).classNamesFunction(),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderProgress=function(e){var n=t.props,o=n.ariaValueText,s=n.barHeight,a=n.className,l=n.styles,c=n.theme,u="number"==typeof t.props.percentComplete?Math.min(100,Math.max(0,100*t.props.percentComplete)):void 0,d=i(l,{theme:c,className:a,barHeight:s,indeterminate:void 0===u}),p={width:void 0!==u?u+"%":void 0,transition:void 0!==u&&u<.01?"none":void 0},f=void 0!==u?0:void 0,h=void 0!==u?100:void 0,m=void 0!==u?Math.floor(u):void 0;return r.createElement("div",{className:d.itemProgress},r.createElement("div",{className:d.progressTrack}),r.createElement("div",{className:d.progressBar,style:p,role:"progressbar","aria-valuemin":f,"aria-valuemax":h,"aria-valuenow":m,"aria-valuetext":o}))},t}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.barHeight,n=e.className,s=e.label,a=void 0===s?this.props.title:s,l=e.description,c=e.styles,u=e.theme,d=e.progressHidden,p=e.onRenderProgress,f=void 0===p?this._onRenderProgress:p,h="number"==typeof this.props.percentComplete?Math.min(100,Math.max(0,100*this.props.percentComplete)):void 0,m=i(c,{theme:u,className:n,barHeight:t,indeterminate:void 0===h});return r.createElement("div",{className:m.root},a?r.createElement("div",{className:m.itemName},a):null,d?null:f(o.__assign(o.__assign({},this.props),{percentComplete:h}),this._onRenderProgress),l?r.createElement("div",{className:m.itemDescription},l):null)},t.defaultProps={label:"",description:"",width:180},t}(r.Component);t.ProgressIndicatorBase=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(5),a=n(12),l=n(363),c=i.classNamesFunction(),u=function(e){var t=e.icon||"FavoriteStarFill";return r.createElement("div",{className:e.classNames.ratingStar,key:e.id},r.createElement(s.Icon,{className:e.classNames.ratingStarBack,iconName:t}),!e.disabled&&r.createElement(s.Icon,{className:e.classNames.ratingStarFront,iconName:t,style:{width:e.fillPercentage+"%"}}))},d=function(e){function t(t){var n=e.call(this,t)||this;return i.initializeComponentRef(n),i.warnDeprecations("Rating",t,{onChanged:"onChange"}),n._id=i.getId("Rating"),n._min=n.props.allowZeroStars?0:1,void 0!==n.props.min&&1!==n.props.min&&(n._min=n.props.min),n._labelId=i.getId("RatingLabel"),n.state={rating:n._getInitialValue(t)},n}return o.__extends(t,e),t.prototype.render=function(){var e,t,n,s=this.props,d=s.disabled,p=s.getAriaLabel,f=s.styles,h=s.max,m=s.readOnly,g=s.size,v=s.theme,_=s.icon,y=void 0===_?"FavoriteStarFill":_,b=s.unselectedIcon,S=void 0===b?"FavoriteStar":b,C=this._id,x=[],k=[],w=this._getRating(),P=i.getNativeProps(this.props,i.divProperties);this._classNames=c(f,{disabled:d,readOnly:m,theme:v});for(var E=this._min;E<=h;E++)if(0!==E){var I=this._getFillingPercentage(E),T={fillPercentage:I,disabled:d,classNames:this._classNames,icon:I>0?y:S};k.push(this._getStarId(E-1)),x.push(r.createElement("button",o.__assign({className:i.css(this._classNames.ratingButton,(e={},e[this._classNames.ratingStarIsLarge]=g===l.RatingSize.Large,e[this._classNames.ratingStarIsSmall]=g!==l.RatingSize.Large,e)),id:k[E-1],key:E},E===Math.ceil(w)?{"data-is-current":!0}:{},{onFocus:this._onFocus.bind(this,E),onClick:this._onFocus.bind(this,E),disabled:!(!d&&!m),role:"presentation",type:"button"}),this._getLabel(E),r.createElement(u,o.__assign({key:E+"rating"},T))))}var D=p?p(w||0,h):void 0,M=m?{allowFocusRoot:!0,disabled:!0,"aria-label":D,"aria-readonly":!0,"data-is-focusable":!0,tabIndex:0}:void 0;return r.createElement("div",o.__assign({className:i.css("ms-Rating-star",this._classNames.root,(t={},t[this._classNames.rootIsLarge]=g===l.RatingSize.Large,t[this._classNames.rootIsSmall]=g!==l.RatingSize.Large,t)),"aria-label":m?"":D,id:C},P),r.createElement(a.FocusZone,o.__assign({direction:a.FocusZoneDirection.horizontal,className:i.css(this._classNames.ratingFocusZone,(n={},n[this._classNames.rootIsLarge]=g===l.RatingSize.Large,n[this._classNames.rootIsSmall]=g!==l.RatingSize.Large,n)),defaultActiveElement:w?k[Math.ceil(w)-1]&&"#"+k[Math.ceil(w)-1]:void 0},M),x))},t.prototype._getStarId=function(e){return this._id+"-star-"+e},t.prototype._onFocus=function(e,t){if(Math.ceil(this.state.rating)!==e){this.setState({rating:e});var n=this.props,o=n.onChange,r=n.onChanged;o&&o(t,e),r&&r(e)}},t.prototype._getLabel=function(e){var t=this.props.ariaLabelFormat||"";return r.createElement("span",{id:this._labelId+"-"+e,className:this._classNames.labelText},i.format(t,e,this.props.max))},t.prototype._getInitialValue=function(e){return void 0===e.rating?this._min:null!==e.rating?this._getClampedRating(e.rating):void 0},t.prototype._getClampedRating=function(e){return Math.min(Math.max(e,this._min),this.props.max)},t.prototype._getRating=function(){return void 0!==this.props.rating?this._getClampedRating(this.props.rating):void 0!==this.state.rating&&null!==this.state.rating?this._getClampedRating(this.state.rating):0},t.prototype._getFillingPercentage=function(e){var t=this._getRating(),n=Math.ceil(t),o=100;return e===t?o=100:e===n?o=t%1*100:e>n&&(o=0),o},t.defaultProps={min:1,max:5},t}(r.Component);t.RatingBase=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Small=0]="Small",e[e.Large=1]="Large"}(t.RatingSize||(t.RatingSize={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(148),a=i.classNamesFunction(),l=function(e){function t(t){var n=e.call(this,t)||this;return n._root=r.createRef(),n._stickyAboveRef=r.createRef(),n._stickyBelowRef=r.createRef(),n._contentContainer=r.createRef(),n.subscribe=function(e){n._subscribers.add(e)},n.unsubscribe=function(e){n._subscribers.delete(e)},n.addSticky=function(e){n._stickies.add(e),n.contentContainer&&(e.setDistanceFromTop(n.contentContainer),n.sortSticky(e))},n.removeSticky=function(e){n._stickies.delete(e),n._removeStickyFromContainers(e),n.notifySubscribers()},n.sortSticky=function(e,t){n.stickyAbove&&n.stickyBelow&&(t&&n._removeStickyFromContainers(e),e.canStickyTop&&e.stickyContentTop&&n._addToStickyContainer(e,n.stickyAbove,e.stickyContentTop),e.canStickyBottom&&e.stickyContentBottom&&n._addToStickyContainer(e,n.stickyBelow,e.stickyContentBottom))},n.updateStickyRefHeights=function(){var e=n._stickies,t=0,o=0;e.forEach((function(e){var r=e.state,i=r.isStickyTop,s=r.isStickyBottom;e.nonStickyContent&&(i&&(t+=e.nonStickyContent.offsetHeight),s&&(o+=e.nonStickyContent.offsetHeight),n._checkStickyStatus(e))})),n.setState({stickyTopHeight:t,stickyBottomHeight:o})},n.notifySubscribers=function(){n.contentContainer&&n._subscribers.forEach((function(e){e(n.contentContainer,n.stickyBelow)}))},n.getScrollPosition=function(){return n.contentContainer?n.contentContainer.scrollTop:0},n.syncScrollSticky=function(e){e&&n.contentContainer&&e.syncScroll(n.contentContainer)},n._getScrollablePaneContext=function(){return{scrollablePane:{subscribe:n.subscribe,unsubscribe:n.unsubscribe,addSticky:n.addSticky,removeSticky:n.removeSticky,updateStickyRefHeights:n.updateStickyRefHeights,sortSticky:n.sortSticky,notifySubscribers:n.notifySubscribers,syncScrollSticky:n.syncScrollSticky}}},n._addToStickyContainer=function(e,t,o){if(t.children.length){if(!t.contains(o)){var r=[].slice.call(t.children),i=[];n._stickies.forEach((function(o){(t===n.stickyAbove&&e.canStickyTop||e.canStickyBottom)&&i.push(o)}));for(var s=void 0,a=0,l=i.sort((function(e,t){return(e.state.distanceFromTop||0)-(t.state.distanceFromTop||0)})).filter((function(e){var o=t===n.stickyAbove?e.stickyContentTop:e.stickyContentBottom;if(o)return r.indexOf(o)>-1}));a=(e.state.distanceFromTop||0)){s=c;break}}var u=null;s&&(u=t===n.stickyAbove?s.stickyContentTop:s.stickyContentBottom),t.insertBefore(o,u)}}else t.appendChild(o)},n._removeStickyFromContainers=function(e){n.stickyAbove&&e.stickyContentTop&&n.stickyAbove.contains(e.stickyContentTop)&&n.stickyAbove.removeChild(e.stickyContentTop),n.stickyBelow&&e.stickyContentBottom&&n.stickyBelow.contains(e.stickyContentBottom)&&n.stickyBelow.removeChild(e.stickyContentBottom)},n._onWindowResize=function(){var e=n._getScrollbarWidth(),t=n._getScrollbarHeight();n.setState({scrollbarWidth:e,scrollbarHeight:t}),n.notifySubscribers()},n._getStickyContainerStyle=function(e,t){return o.__assign(o.__assign({height:e},i.getRTL(n.props.theme)?{right:"0",left:(n.state.scrollbarWidth||n._getScrollbarWidth()||0)+"px"}:{left:"0",right:(n.state.scrollbarWidth||n._getScrollbarWidth()||0)+"px"}),t?{top:"0"}:{bottom:(n.state.scrollbarHeight||n._getScrollbarHeight()||0)+"px"})},n._onScroll=function(){var e=n.contentContainer;e&&n._stickies.forEach((function(t){t.syncScroll(e)})),n._notifyThrottled()},n._subscribers=new Set,n._stickies=new Set,i.initializeComponentRef(n),n._async=new i.Async(n),n._events=new i.EventGroup(n),n.state={stickyTopHeight:0,stickyBottomHeight:0,scrollbarWidth:0,scrollbarHeight:0},n._notifyThrottled=n._async.throttle(n.notifySubscribers,50),n}return o.__extends(t,e),Object.defineProperty(t.prototype,"root",{get:function(){return this._root.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyAbove",{get:function(){return this._stickyAboveRef.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyBelow",{get:function(){return this._stickyBelowRef.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentContainer",{get:function(){return this._contentContainer.current},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){var e=this,t=this.props.initialScrollPosition;this._events.on(this.contentContainer,"scroll",this._onScroll),this._events.on(window,"resize",this._onWindowResize),this.contentContainer&&t&&(this.contentContainer.scrollTop=t),this.setStickiesDistanceFromTop(),this._stickies.forEach((function(t){e.sortSticky(t)})),this.notifySubscribers(),"MutationObserver"in window&&(this._mutationObserver=new MutationObserver((function(t){var n=e._getScrollbarHeight();if(n!==e.state.scrollbarHeight&&e.setState({scrollbarHeight:n}),e.notifySubscribers(),t.some(function(e){return null!==this.stickyAbove&&null!==this.stickyBelow&&(this.stickyAbove.contains(e.target)||this.stickyBelow.contains(e.target))}.bind(e)))e.updateStickyRefHeights();else{var o=[];e._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}))},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._mutationObserver&&this._mutationObserver.disconnect()},t.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},t.prototype.componentDidUpdate=function(e,t){var n=this.props.initialScrollPosition;this.contentContainer&&"number"==typeof n&&e.initialScrollPosition!==n&&(this.contentContainer.scrollTop=n),t.stickyTopHeight===this.state.stickyTopHeight&&t.stickyBottomHeight===this.state.stickyBottomHeight||this.notifySubscribers(),this._async.setTimeout(this._onWindowResize,0)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.theme,l=e.styles,c=this.state,u=c.stickyTopHeight,d=c.stickyBottomHeight,p=a(l,{theme:n,className:t,scrollbarVisibility:this.props.scrollbarVisibility});return r.createElement("div",o.__assign({},i.getNativeProps(this.props,i.divProperties),{ref:this._root,className:p.root}),r.createElement("div",{"aria-hidden":"true",ref:this._stickyAboveRef,className:p.stickyAbove,style:this._getStickyContainerStyle(u,!0)}),r.createElement("div",{ref:this._contentContainer,className:p.contentContainer,"data-is-scrollable":!0},r.createElement(s.ScrollablePaneContext.Provider,{value:this._getScrollablePaneContext()},this.props.children)),r.createElement("div",{"aria-hidden":"true",className:p.stickyBelow,style:this._getStickyContainerStyle(d,!1)},r.createElement("div",{ref:this._stickyBelowRef,className:p.stickyBelowItems})))},t.prototype.setStickiesDistanceFromTop=function(){var e=this;this.contentContainer&&this._stickies.forEach((function(t){t.setDistanceFromTop(e.contentContainer)}))},t.prototype.forceLayoutUpdate=function(){this._onWindowResize()},t.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())},t.prototype._getScrollbarWidth=function(){var e=this.contentContainer;return e?e.offsetWidth-e.clientWidth:0},t.prototype._getScrollbarHeight=function(){var e=this.contentContainer;return e?e.offsetHeight-e.clientHeight:0},t}(r.Component);t.ScrollablePaneBase=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=n(5),l=i.classNamesFunction(),c=function(e){function t(t){var n=e.call(this,t)||this;return n._rootElement=r.createRef(),n._inputElement=r.createRef(),n._onClickFocus=function(){var e=n._inputElement.current;e&&(n.focus(),e.selectionStart=e.selectionEnd=0)},n._onFocusCapture=function(e){n.setState({hasFocus:!0}),n.props.onFocus&&n.props.onFocus(e)},n._onClearClick=function(e){var t=n.props.clearButtonProps;t&&t.onClick&&t.onClick(e),e.defaultPrevented||n._onClear(e)},n._onKeyDown=function(e){switch(e.which){case i.KeyCodes.escape:n.props.onEscape&&n.props.onEscape(e),e.defaultPrevented||n._onClear(e);break;case i.KeyCodes.enter:if(n.props.onSearch){n.props.onSearch(n.state.value);break}return;default:if(n.props.onKeyDown&&n.props.onKeyDown(e),!e.defaultPrevented)return}e.preventDefault(),e.stopPropagation()},n._onBlur=function(e){n.setState({hasFocus:!1}),n.props.onBlur&&n.props.onBlur(e)},n._onInputChange=function(e){var t=e.target.value;t!==n._latestValue&&(n._latestValue=t,n.setState({value:t}),n._callOnChange(e,t))},i.initializeComponentRef(n),i.warnDeprecations("SearchBox",t,{labelText:"placeholder",defaultValue:"value"}),n._latestValue=t.value||"",n._fallbackId=i.getId("SearchBox"),n.state={value:n._latestValue,hasFocus:!1},n}return o.__extends(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){void 0!==e.value&&(this._latestValue=e.value,this.setState({value:e.value||""}))},t.prototype.render=function(){var e=this.props,t=e.ariaLabel,n=e.placeholder,c=e.className,u=e.disabled,d=e.underlined,p=e.styles,f=e.labelText,h=e.theme,m=e.clearButtonProps,g=e.disableAnimation,v=e.iconProps,_=e.id,y=void 0===_?this._fallbackId:_,b=this.state,S=b.value,C=b.hasFocus,x=void 0!==n?n:f,k=l(p,{theme:h,className:c,underlined:d,hasFocus:C,disabled:u,hasInput:S.length>0,disableAnimation:g}),w=i.getNativeProps(this.props,i.inputProperties,["className","placeholder","onFocus","onBlur","value"]);return r.createElement("div",{role:"search",ref:this._rootElement,className:k.root,onFocusCapture:this._onFocusCapture},r.createElement("div",{className:k.iconContainer,onClick:this._onClickFocus,"aria-hidden":!0},r.createElement(a.Icon,o.__assign({iconName:"Search"},v,{className:k.icon}))),r.createElement("input",o.__assign({},w,{id:y,className:k.field,placeholder:x,onChange:this._onInputChange,onInput:this._onInputChange,onBlur:this._onBlur,onKeyDown:this._onKeyDown,value:S,disabled:u,role:"searchbox","aria-label":t,ref:this._inputElement})),S.length>0&&r.createElement("div",{className:k.clearButton},r.createElement(s.IconButton,o.__assign({onBlur:this._onBlur,styles:{root:{height:"auto"},icon:{fontSize:"12px"}},iconProps:{iconName:"Clear"}},m,{onClick:this._onClearClick}))))},t.prototype.focus=function(){this._inputElement.current&&this._inputElement.current.focus()},t.prototype.hasFocus=function(){return!!this.state.hasFocus},t.prototype._onClear=function(e){this.props.onClear&&this.props.onClear(e),e.defaultPrevented||(this._latestValue="",this.setState({value:""}),this._callOnChange(void 0,""),e.stopPropagation(),e.preventDefault(),this.focus())},t.prototype._callOnChange=function(e,t){var n=this.props,o=n.onChange,r=n.onChanged;r&&r(t),o&&o(e,t)},t.defaultProps={disableAnimation:!1,clearButtonProps:{ariaLabel:"Clear text"}},t}(r.Component);t.SearchBoxBase=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(143),s=n(2),a=function(e){function t(t){var n=e.call(this,t)||this;n.addItems=function(e){var t=n.props.onItemSelected?n.props.onItemSelected(e):e,o=t,r=t;if(r&&r.then)r.then((function(e){var t=n.state.items.concat(e);n.updateItems(t)}));else{var i=n.state.items.concat(o);n.updateItems(i)}},n.removeItemAt=function(e){var t=n.state.items;if(n._canRemoveItem(t[e])&&e>-1){n.props.onItemsDeleted&&n.props.onItemsDeleted([t[e]]);var o=t.slice(0,e).concat(t.slice(e+1));n.updateItems(o)}},n.removeItem=function(e){var t=n.state.items.indexOf(e);n.removeItemAt(t)},n.replaceItem=function(e,t){var o=n.state.items,r=o.indexOf(e);if(r>-1){var i=o.slice(0,r).concat(t).concat(o.slice(r+1));n.updateItems(i)}},n.removeItems=function(e){var t=n.state.items,o=e.filter((function(e){return n._canRemoveItem(e)})),r=t.filter((function(e){return-1===o.indexOf(e)})),i=o[0],s=t.indexOf(i);n.props.onItemsDeleted&&n.props.onItemsDeleted(o),n.updateItems(r,s)},n.onCopy=function(e){if(n.props.onCopyItems&&n.selection.getSelectedCount()>0){var t=n.selection.getSelection();n.copyItems(t)}},n.renderItems=function(){var e=n.props.removeButtonAriaLabel,t=n.props.onRenderItem;return n.state.items.map((function(o,r){return t({item:o,index:r,key:o.key?o.key:r,selected:n.selection.isIndexSelected(r),onRemoveItem:function(){return n.removeItem(o)},onItemChange:n.onItemChange,removeButtonAriaLabel:e,onCopyItem:function(e){return n.copyItems([e])}})}))},n.onSelectionChanged=function(){n.forceUpdate()},n.onItemChange=function(e,t){var o=n.state.items;if(t>=0){var r=o;r[t]=e,n.updateItems(r)}},s.initializeComponentRef(n);var o=t.selectedItems||t.defaultSelectedItems||[];return n.state={items:o},n.selection=n.props.selection?n.props.selection:new i.Selection({onSelectionChanged:n.onSelectionChanged}),n}return o.__extends(t,e),Object.defineProperty(t.prototype,"items",{get:function(){return this.state.items},enumerable:!0,configurable:!0}),t.prototype.removeSelectedItems=function(){this.state.items.length&&this.selection.getSelectedCount()>0&&this.removeItems(this.selection.getSelection())},t.prototype.updateItems=function(e,t){var n=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},(function(){n._onSelectedItemsUpdated(e,t)}))},t.prototype.hasSelectedItems=function(){return this.selection.getSelectedCount()>0},t.prototype.unselectAll=function(){this.selection.setAllSelected(!1)},t.prototype.highlightedItems=function(){return this.selection.getSelection()},t.prototype.UNSAFE_componentWillUpdate=function(e,t){t.items&&t.items!==this.state.items&&this.selection.setItems(t.items)},t.prototype.componentDidMount=function(){this.selection.setItems(this.state.items)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=e.selectedItems;t&&this.setState({items:t}),e.selection&&(this.selection=e.selection)},t.prototype.render=function(){return this.renderItems()},t.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},t.prototype.copyItems=function(e){if(this.props.onCopyItems){var t=this.props.onCopyItems(e),n=document.createElement("input");document.body.appendChild(n);try{if(n.value=t,n.select(),!document.execCommand("copy"))throw new Error}catch(e){}finally{document.body.removeChild(n)}}},t.prototype._onSelectedItemsUpdated=function(e,t){this.onChange(e)},t.prototype._canRemoveItem=function(e){return!this.props.canRemoveItem||this.props.canRemoveItem(e)},t}(r.Component);t.BaseSelectedItemsList=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(30),a=n(9),l=n(893),c=function(e){function t(t){var n=e.call(this,t)||this;return n.persona=r.createRef(),i.initializeComponentRef(n),n.state={contextualMenuVisible:!1},n}return o.__extends(t,e),t.prototype.render=function(){var e,t,n=this.props,c=n.item,u=n.onExpandItem,d=n.onRemoveItem,p=n.removeButtonAriaLabel,f=n.index,h=n.selected,m=i.getId();return r.createElement("div",{ref:this.persona,className:i.css("ms-PickerPersona-container",l.personaContainer,(e={},e["is-selected "+l.personaContainerIsSelected]=h,e),(t={},t["is-invalid "+l.validationError]=!c.isValid,t)),"data-is-focusable":!0,"data-is-sub-focuszone":!0,"data-selection-index":f,role:"listitem","aria-labelledby":"selectedItemPersona-"+m},r.createElement("div",{hidden:!c.canExpand||void 0===u},r.createElement(a.IconButton,{onClick:this._onClickIconButton(u),iconProps:{iconName:"Add",style:{fontSize:"14px"}},className:i.css("ms-PickerItem-removeButton",l.expandButton,l.actionButton),ariaLabel:p})),r.createElement("div",{className:i.css(l.personaWrapper)},r.createElement("div",{className:i.css("ms-PickerItem-content",l.itemContent),id:"selectedItemPersona-"+m},r.createElement(s.Persona,o.__assign({},c,{onRenderCoin:this.props.renderPersonaCoin,onRenderPrimaryText:this.props.renderPrimaryText,size:s.PersonaSize.size32}))),r.createElement(a.IconButton,{onClick:this._onClickIconButton(d),iconProps:{iconName:"Cancel",style:{fontSize:"14px"}},className:i.css("ms-PickerItem-removeButton",l.removeButton,l.actionButton),ariaLabel:p})))},t.prototype._onClickIconButton=function(e){return function(t){t.stopPropagation(),t.preventDefault(),e&&e()}},t}(r.Component);t.ExtendedSelectedItem=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2).classNamesFunction();t.SeparatorBase=function(e){var t=e.styles,n=e.theme,i=e.className,s=e.vertical,a=e.alignContent,l=r(t,{theme:n,className:i,alignContent:a,vertical:s});return o.createElement("div",{className:l.root},o.createElement("div",{className:l.content,role:"separator","aria-orientation":s?"vertical":"horizontal"},e.children))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(901),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(371),a=i.classNamesFunction(),l=function(e){function t(t){var n=e.call(this,t)||this;return i.initializeComponentRef(n),n.state={contentLoaded:t.isDataLoaded},n._async=new i.Async(n),n}return o.__extends(t,e),t.prototype.componentDidUpdate=function(e){var t=this,n=this.props.isDataLoaded;n!==e.isDataLoaded&&(this._async.clearTimeout(this._lastTimeoutId),n?this._lastTimeoutId=this._async.setTimeout((function(){t.setState({contentLoaded:n})}),200):this.setState({contentLoaded:n}))},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=this.props,t=e.styles,n=e.shimmerElements,l=e.children,c=e.isDataLoaded,u=e.width,d=e.className,p=e.customElementsGroup,f=e.theme,h=e.ariaLabel,m=e.shimmerColors,g=this.state.contentLoaded;this._classNames=a(t,{theme:f,isDataLoaded:c,className:d,transitionAnimationInterval:200,shimmerColor:m&&m.shimmer,shimmerWaveColor:m&&m.shimmerWave});var v=i.getNativeProps(this.props,i.divProperties);return r.createElement("div",o.__assign({},v,{className:this._classNames.root}),!g&&r.createElement("div",{style:{width:u||"100%"},className:this._classNames.shimmerWrapper},r.createElement("div",{className:this._classNames.shimmerGradient}),p||r.createElement(s.ShimmerElementsGroup,{shimmerElements:n,backgroundColor:m&&m.background})),l&&r.createElement("div",{className:this._classNames.dataWrapper},l),h&&!c&&r.createElement("div",{role:"status","aria-live":"polite"},r.createElement(i.DelayedRender,null,r.createElement("div",{className:this._classNames.screenReaderText},h))))},t.defaultProps={isDataLoaded:!1},t}(r.Component);t.ShimmerBase=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(372),i=n(907);t.ShimmerElementsGroup=o.styled(r.ShimmerElementsGroupBase,i.getStyles,void 0,{scope:"ShimmerElementsGroup"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(373),a=n(374),l=n(376),c=n(378),u=i.classNamesFunction();t.ShimmerElementsGroupBase=function(e){var t=e.styles,n=e.width,i=void 0===n?"auto":n,p=e.shimmerElements,f=e.rowHeight,h=void 0===f?function(e){return e.map((function(e){switch(e.type){case s.ShimmerElementType.circle:e.height||(e.height=s.ShimmerElementsDefaultHeights.circle);case s.ShimmerElementType.line:e.height||(e.height=s.ShimmerElementsDefaultHeights.line);case s.ShimmerElementType.gap:e.height||(e.height=s.ShimmerElementsDefaultHeights.gap)}return e})).reduce((function(e,t){return t.height&&t.height>e?t.height:e}),0)}(p||[]):f,m=e.flexWrap,g=void 0!==m&&m,v=e.theme,_=e.backgroundColor,y=u(t,{theme:v,flexWrap:g});return r.createElement("div",{style:{width:i},className:y.root},function(e,t,n){return e?e.map((function(e,i){var u=e.type,p=o.__rest(e,["type"]),f=p.verticalAlign,h=p.height,m=d(f,u,h,t,n);switch(e.type){case s.ShimmerElementType.circle:return r.createElement(c.ShimmerCircle,o.__assign({key:i},p,{styles:m}));case s.ShimmerElementType.gap:return r.createElement(l.ShimmerGap,o.__assign({key:i},p,{styles:m}));case s.ShimmerElementType.line:return r.createElement(a.ShimmerLine,o.__assign({key:i},p,{styles:m}))}})):r.createElement(a.ShimmerLine,{height:s.ShimmerElementsDefaultHeights.line})}(p,_,h))};var d=i.memoizeFunction((function(e,t,n,r,i){var a,l=i&&n?i-n:0;if(e&&"center"!==e?e&&"top"===e?a={borderBottomWidth:l+"px",borderTopWidth:"0px"}:e&&"bottom"===e&&(a={borderBottomWidth:"0px",borderTopWidth:l+"px"}):a={borderBottomWidth:(l?Math.floor(l/2):0)+"px",borderTopWidth:(l?Math.ceil(l/2):0)+"px"},r)switch(t){case s.ShimmerElementType.circle:return{root:o.__assign(o.__assign({},a),{borderColor:r}),svg:{fill:r}};case s.ShimmerElementType.gap:return{root:o.__assign(o.__assign({},a),{borderColor:r,backgroundColor:r})};case s.ShimmerElementType.line:return{root:o.__assign(o.__assign({},a),{borderColor:r}),topLeftCorner:{fill:r},topRightCorner:{fill:r},bottomLeftCorner:{fill:r},bottomRightCorner:{fill:r}}}return{root:a}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.line=1]="line",e[e.circle=2]="circle",e[e.gap=3]="gap"}(t.ShimmerElementType||(t.ShimmerElementType={})),function(e){e[e.line=16]="line",e[e.gap=16]="gap",e[e.circle=24]="circle"}(t.ShimmerElementsDefaultHeights||(t.ShimmerElementsDefaultHeights={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(375),i=n(904);t.ShimmerLine=o.styled(r.ShimmerLineBase,i.getStyles,void 0,{scope:"ShimmerLine"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2).classNamesFunction();t.ShimmerLineBase=function(e){var t=e.height,n=e.styles,i=e.width,s=void 0===i?"100%":i,a=e.borderStyle,l=e.theme,c=r(n,{theme:l,height:t,borderStyle:a});return o.createElement("div",{style:{width:s,minWidth:"number"==typeof s?s+"px":"auto"},className:c.root},o.createElement("svg",{width:"2",height:"2",className:c.topLeftCorner},o.createElement("path",{d:"M0 2 A 2 2, 0, 0, 1, 2 0 L 0 0 Z"})),o.createElement("svg",{width:"2",height:"2",className:c.topRightCorner},o.createElement("path",{d:"M0 0 A 2 2, 0, 0, 1, 2 2 L 2 0 Z"})),o.createElement("svg",{width:"2",height:"2",className:c.bottomRightCorner},o.createElement("path",{d:"M2 0 A 2 2, 0, 0, 1, 0 2 L 2 2 Z"})),o.createElement("svg",{width:"2",height:"2",className:c.bottomLeftCorner},o.createElement("path",{d:"M2 2 A 2 2, 0, 0, 1, 0 0 L 0 2 Z"})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(377),i=n(905);t.ShimmerGap=o.styled(r.ShimmerGapBase,i.getStyles,void 0,{scope:"ShimmerGap"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2).classNamesFunction();t.ShimmerGapBase=function(e){var t=e.height,n=e.styles,i=e.width,s=void 0===i?"10px":i,a=e.borderStyle,l=e.theme,c=r(n,{theme:l,height:t,borderStyle:a});return o.createElement("div",{style:{width:s,minWidth:"number"==typeof s?s+"px":"auto"},className:c.root})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(906),i=n(379);t.ShimmerCircle=o.styled(i.ShimmerCircleBase,r.getStyles,void 0,{scope:"ShimmerCircle"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(2).classNamesFunction();t.ShimmerCircleBase=function(e){var t=e.height,n=e.styles,i=e.borderStyle,s=e.theme,a=r(n,{theme:s,height:t,borderStyle:i});return o.createElement("div",{className:a.root},o.createElement("svg",{viewBox:"0 0 10 10",width:t,height:t,className:a.svg},o.createElement("path",{d:"M0,0 L10,0 L10,10 L0,10 L0,0 Z M0,5 C0,7.76142375 2.23857625,10 5,10 C7.76142375,10 10,7.76142375 10,5 C10,2.23857625 7.76142375,2.22044605e-16 5,0 C2.23857625,-2.22044605e-16 0,2.23857625 0,5 L0,5 Z"})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(61),a=n(300),l=n(369),c=n(49),u=n(23),d=i.classNamesFunction(),p=function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderShimmerPlaceholder=function(e,t){var o=n.props.onRenderCustomPlaceholder,i=o?o(t,e,n._renderDefaultShimmerPlaceholder):n._renderDefaultShimmerPlaceholder(t);return r.createElement(l.Shimmer,{customElementsGroup:i})},n._renderDefaultShimmerPlaceholder=function(e){var t=e.columns,n=e.compact,o=e.selectionMode,i=e.checkboxVisibility,a=e.cellStyleProps,d=void 0===a?u.DEFAULT_CELL_STYLE_PROPS:a,p=u.DEFAULT_ROW_HEIGHTS.rowHeight,f=u.DEFAULT_ROW_HEIGHTS.compactRowHeight,h=n?f:p+1,m=[];return o!==s.SelectionMode.none&&i!==c.CheckboxVisibility.hidden&&m.push(r.createElement(l.ShimmerElementsGroup,{key:"checkboxGap",shimmerElements:[{type:l.ShimmerElementType.gap,width:"40px",height:h}]})),t.map((function(e,t){var n=[],o=d.cellLeftPadding+d.cellRightPadding+e.calculatedWidth+(e.isPadded?d.cellExtraRightPadding:0);n.push({type:l.ShimmerElementType.gap,width:d.cellLeftPadding,height:h}),e.isIconOnly?(n.push({type:l.ShimmerElementType.line,width:e.calculatedWidth,height:e.calculatedWidth}),n.push({type:l.ShimmerElementType.gap,width:d.cellRightPadding,height:h})):(n.push({type:l.ShimmerElementType.line,width:.95*e.calculatedWidth,height:7}),n.push({type:l.ShimmerElementType.gap,width:d.cellRightPadding+(e.calculatedWidth-.95*e.calculatedWidth)+(e.isPadded?d.cellExtraRightPadding:0),height:h})),m.push(r.createElement(l.ShimmerElementsGroup,{key:t,width:o+"px",shimmerElements:n}))})),m.push(r.createElement(l.ShimmerElementsGroup,{key:"endGap",width:"100%",shimmerElements:[{type:l.ShimmerElementType.gap,width:"100%",height:h}]})),r.createElement("div",{style:{display:"flex"}},m)},n._shimmerItems=t.shimmerLines?new Array(t.shimmerLines):new Array(10),n}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.detailsListStyles,n=e.enableShimmer,s=e.items,l=e.listProps,c=(e.onRenderCustomPlaceholder,e.removeFadingOverlay),u=(e.shimmerLines,e.styles),p=e.theme,f=e.ariaLabelForGrid,h=e.ariaLabelForShimmer,m=o.__rest(e,["detailsListStyles","enableShimmer","items","listProps","onRenderCustomPlaceholder","removeFadingOverlay","shimmerLines","styles","theme","ariaLabelForGrid","ariaLabelForShimmer"]),g=l&&l.className;this._classNames=d(u,{theme:p});var v=o.__assign(o.__assign({},l),{className:n&&!c?i.css(this._classNames.root,g):g});return r.createElement(a.DetailsList,o.__assign({},m,{styles:t,items:n?this._shimmerItems:s,isPlaceholderData:n,ariaLabelForGrid:n&&h||f,onRenderMissingItem:this._onRenderShimmerPlaceholder,listProps:v}))},t}(r.Component);t.ShimmeredDetailsListBase=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(2),a=n(31),l=s.classNamesFunction();t.ONKEYDOWN_TIMEOUT_DURATION=1e3;var c=function(e){function n(n){var o=e.call(this,n)||this;o._disposables=[],o._sliderLine=r.createRef(),o._thumb=r.createRef(),o._onKeyDownTimer=-1,o._getAriaValueText=function(e){var t=o.props.ariaValueText;if(void 0!==e)return t?t(e):e.toString()},o._onMouseDownOrTouchStart=function(e){"mousedown"===e.type?o._disposables.push(i.on(window,"mousemove",o._onMouseMoveOrTouchMove,!0),i.on(window,"mouseup",o._onMouseUpOrTouchEnd,!0)):"touchstart"===e.type&&o._disposables.push(i.on(window,"touchmove",o._onMouseMoveOrTouchMove,!0),i.on(window,"touchend",o._onMouseUpOrTouchEnd,!0)),o._onMouseMoveOrTouchMove(e,!0)},o._onMouseMoveOrTouchMove=function(e,t){if(o._sliderLine.current){var n,r,s,a=o.props,l=a.max,c=a.min,u=a.step,d=(l-c)/u,p=o._sliderLine.current.getBoundingClientRect(),f=(o.props.vertical?p.height:p.width)/d;if(o.props.vertical){var h=o._getPosition(e,o.props.vertical);n=(p.bottom-h)/f}else{var m=o._getPosition(e,o.props.vertical);n=(i.getRTL(o.props.theme)?p.right-m:m-p.left)/f}n>Math.floor(d)?s=r=l:n<0?s=r=c:(s=c+u*n,r=c+u*Math.round(n)),o._updateValue(r,s),t||(e.preventDefault(),e.stopPropagation())}},o._onMouseUpOrTouchEnd=function(e){o.setState({renderedValue:void 0}),o.props.onChanged&&o.props.onChanged(e,o.state.value),o._disposeListeners()},o._disposeListeners=function(){o._disposables.forEach((function(e){return e()})),o._disposables=[]},o._onKeyDown=function(e){var t=o.state.value,n=o.props,r=n.max,s=n.min,a=n.step,l=0;switch(e.which){case i.getRTLSafeKeyCode(i.KeyCodes.left,o.props.theme):case i.KeyCodes.down:l=-a,o._clearOnKeyDownTimer(),o._setOnKeyDownTimer(e);break;case i.getRTLSafeKeyCode(i.KeyCodes.right,o.props.theme):case i.KeyCodes.up:l=a,o._clearOnKeyDownTimer(),o._setOnKeyDownTimer(e);break;case i.KeyCodes.home:t=s;break;case i.KeyCodes.end:t=r;break;default:return}var c=Math.min(r,Math.max(s,t+l));o._updateValue(c,c),e.preventDefault(),e.stopPropagation()},o._clearOnKeyDownTimer=function(){o._async.clearTimeout(o._onKeyDownTimer)},o._setOnKeyDownTimer=function(e){o._onKeyDownTimer=o._async.setTimeout((function(){o.props.onChanged&&o.props.onChanged(e,o.state.value)}),t.ONKEYDOWN_TIMEOUT_DURATION)},o._async=new i.Async(o),i.initializeComponentRef(o),i.warnMutuallyExclusive("SliderBase",o.props,{value:"defaultValue"}),o._id=i.getId("Slider");var s=void 0!==n.value?n.value:void 0!==n.defaultValue?n.defaultValue:n.min;return o.state={value:s,renderedValue:void 0},o}return o.__extends(n,e),n.prototype.componentWillUnmount=function(){this._async.dispose(),this._disposeListeners()},n.prototype.render=function(){var e,t,n,c,u,d=this.props,p=d.ariaLabel,f=d.className,h=d.disabled,m=d.label,g=d.max,v=d.min,_=d.showValue,y=d.buttonProps,b=d.vertical,S=d.valueFormat,C=d.styles,x=d.theme,k=d.originFromZero,w=this.value,P=this.renderedValue,E=v===g?0:(P-v)/(g-v)*100,I=v>=0?0:-v/(g-v)*100,T=b?"height":"width",D=h?{}:{onMouseDown:this._onMouseDownOrTouchStart},M=h?{}:{onTouchStart:this._onMouseDownOrTouchStart},O=h?{}:{onKeyDown:this._onKeyDown},R=l(C,{className:f,disabled:h,vertical:b,showTransitions:P===w,showValue:_,theme:x}),N=y?s.getNativeProps(y,s.divProperties):void 0;return r.createElement("div",{className:R.root},m&&r.createElement(a.Label,o.__assign({className:R.titleLabel},p?{}:{htmlFor:this._id},{disabled:h}),m),r.createElement("div",{className:R.container},r.createElement("div",o.__assign({id:this._id,"aria-valuenow":w,"aria-valuemin":v,"aria-valuemax":g,"aria-valuetext":this._getAriaValueText(w),"aria-label":p||m,"aria-disabled":h},D,M,O,N,{className:i.css(R.slideBox,y.className),role:"slider",tabIndex:h?void 0:0,"data-is-focusable":!h}),r.createElement("div",{ref:this._sliderLine,className:R.line},k&&r.createElement("span",{className:i.css(R.zeroTick),style:this._getStyleUsingOffsetPercent(b,I)}),r.createElement("span",{ref:this._thumb,className:R.thumb,style:this._getStyleUsingOffsetPercent(b,E)}),k?r.createElement(r.Fragment,null,r.createElement("span",{className:i.css(R.lineContainer,R.inactiveSection),style:(e={},e[T]=Math.min(E,I)+"%",e)}),r.createElement("span",{className:i.css(R.lineContainer,R.activeSection),style:(t={},t[T]=Math.abs(I-E)+"%",t)}),r.createElement("span",{className:i.css(R.lineContainer,R.inactiveSection),style:(n={},n[T]=Math.min(100-E,100-I)+"%",n)})):r.createElement(r.Fragment,null,r.createElement("span",{className:i.css(R.lineContainer,R.activeSection),style:(c={},c[T]=E+"%",c)}),r.createElement("span",{className:i.css(R.lineContainer,R.inactiveSection),style:(u={},u[T]=100-E+"%",u)})))),_&&r.createElement(a.Label,{className:R.valueLabel,disabled:h},S?S(w):w)),r.createElement(i.FocusRects,null))},n.prototype.focus=function(){this._thumb.current&&this._thumb.current.focus()},Object.defineProperty(n.prototype,"value",{get:function(){var e=this.props.value,t=void 0===e?this.state.value:e;return void 0===this.props.min||void 0===this.props.max||void 0===t?void 0:Math.max(this.props.min,Math.min(this.props.max,t))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"renderedValue",{get:function(){var e=this.state.renderedValue;return void 0===e?this.value:e},enumerable:!0,configurable:!0}),n.prototype._getStyleUsingOffsetPercent=function(e,t){var n;return(n={})[e?"bottom":i.getRTL(this.props.theme)?"right":"left"]=t+"%",n},n.prototype._getPosition=function(e,t){var n;switch(e.type){case"mousedown":case"mousemove":n=t?e.clientY:e.clientX;break;case"touchstart":case"touchmove":n=t?e.touches[0].clientY:e.touches[0].clientX}return n},n.prototype._updateValue=function(e,t){var n=this,o=this.props,r=o.step,i=o.snapToStep,s=0;if(isFinite(r))for(;Math.round(r*Math.pow(10,s))/Math.pow(10,s)!==r;)s++;var a=parseFloat(e.toFixed(s)),l=a!==this.state.value;i&&(t=a),this.setState({value:a,renderedValue:t},(function(){l&&n.props.onChange&&n.props.onChange(n.state.value)}))},n.defaultProps={step:1,min:0,max:10,showValue:!0,disabled:!1,vertical:!1,buttonProps:{},originFromZero:!1},n}(r.Component);t.SliderBase=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1).__exportStar(n(920),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=n(85),i=n(927);t.StackItem=r.createComponent((function(e){var t=e.children;if(o.Children.count(t)<1)return null;var n=r.getSlots(e,{root:"div"});return r.withSlots(n.root,null,t)}),{displayName:"StackItem",styles:i.StackItemStyles}),t.default=t.StackItem},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(13),s=n(6),a=n(385);function l(e,t){void 0===t&&(t={});var n=t.defaultProp,l=void 0===n?"children":n;return function(t,n,c,u,d){if(r.isValidElement(n))return n;var p=function(e,t){for(var n=[],o=2;o0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return u(t[e],n,o[e],o.slots&&o.slots[e],o._defaultStyles&&o._defaultStyles[e],o.theme)};r.isSlot=!0,n[e]=r}};for(var i in t)r(i);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1);t.assign=o.__assign},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Both=0]="Both",e[e.Header=1]="Header",e[e.Footer=2]="Footer"}(t.StickyPositionType||(t.StickyPositionType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(343),a=n(388),l=n(6),c=i.classNamesFunction(),u=function(e){function t(t){var n,s=e.call(this,t)||this;return s.navigationIdleDelay=250,s._getItemsWithIndex=l.memoizeFunction((function(e){return e.map((function(e,t){return o.__assign(o.__assign({},e),{index:t})}))})),s._onSwatchColorPickerBlur=function(){s.props.onCellFocused&&(s._cellFocused=!1,s.props.onCellFocused())},s._renderOption=function(e){var t=s.props,n=s._id;return r.createElement(a.ColorPickerGridCell,{item:e,idPrefix:n,color:e.color,styles:t.getColorGridCellStyles,disabled:t.disabled,onClick:s._onCellClick,onHover:s._onGridCellHovered,onFocus:s._onGridCellFocused,selected:void 0!==s.state.selectedIndex&&s.state.selectedIndex===e.index,circle:"circle"===t.cellShape,label:e.label,onMouseEnter:s._onMouseEnter,onMouseMove:s._onMouseMove,onMouseLeave:s._onMouseLeave,onWheel:s._onWheel,onKeyDown:s._onKeyDown,height:t.cellHeight,width:t.cellWidth,borderWidth:t.cellBorderWidth})},s._onMouseEnter=function(e){return s.props.focusOnHover?(s.isNavigationIdle&&!s.props.disabled&&e.currentTarget.focus(),!0):!s.isNavigationIdle||!!s.props.disabled},s._onMouseMove=function(e){if(!s.props.focusOnHover)return!s.isNavigationIdle||!!s.props.disabled;var t=e.currentTarget;return!s.isNavigationIdle||document&&t===document.activeElement||t.focus(),!0},s._onMouseLeave=function(e){var t=s.props.mouseLeaveParentSelector;if(s.props.focusOnHover&&t&&s.isNavigationIdle&&!s.props.disabled)for(var n=document.querySelectorAll(t),o=0;o=0&&t!==s.state.selectedIndex&&(s.props.onCellFocused&&s._cellFocused&&(s._cellFocused=!1,s.props.onCellFocused()),s.props.onColorChanged&&s.props.onColorChanged(e.id,e.color),!0!==s.props.isControlled&&s.setState({selectedIndex:t}))}},s._id=t.id||i.getId("swatchColorPicker"),s.isNavigationIdle=!0,s.async=new i.Async(s),t.selectedId&&(n=s._getSelectedIndex(t.colorCells,t.selectedId)),s.state={selectedIndex:n},s}return o.__extends(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){void 0!==e.selectedId&&this.setState({selectedIndex:this._getSelectedIndex(e.colorCells,e.selectedId)})},t.prototype.componentWillUnmount=function(){this.props.onCellFocused&&this._cellFocused&&(this._cellFocused=!1,this.props.onCellFocused()),this.async.dispose()},t.prototype.render=function(){var e=this.props,t=e.colorCells,n=e.columnCount,i=e.ariaPosInSet,a=void 0===i?this.props.positionInSet:i,l=e.ariaSetSize,u=void 0===l?this.props.setSize:l,d=e.shouldFocusCircularNavigate,p=e.className,f=e.doNotContainWithinFocusZone,h=e.styles,m=e.cellMargin,g=c(h,{theme:this.props.theme,className:p,cellMargin:m});return t.length<1||n<1?null:r.createElement(s.Grid,o.__assign({},this.props,{id:this._id,items:this._getItemsWithIndex(t),columnCount:n,onRenderItem:this._renderOption,ariaPosInSet:a,ariaSetSize:u,shouldFocusCircularNavigate:d,doNotContainWithinFocusZone:f,onBlur:this._onSwatchColorPickerBlur,theme:this.props.theme,styles:{root:g.root,tableCell:g.tableCell,focusedContainer:g.focusedContainer}}))},t.prototype._getSelectedIndex=function(e,t){var n=i.findIndex(e,(function(e){return e.id===t}));return n>=0?n:void 0},t.defaultProps={cellShape:"circle",disabled:!1,shouldFocusCircularNavigate:!0,cellMargin:10},t}(r.Component);t.SwatchColorPickerBase=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(389),i=n(937);t.ColorPickerGridCell=o.styled(r.ColorPickerGridCellBase,i.getStyles,void 0,{scope:"ColorPickerGridCell"},!0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(3),s=n(2),a=n(39),l=n(344),c=n(255),u=s.memoizeFunction((function(e,t,n,o,r,s,a,l,u){var d=c.getStyles(e);return i.mergeStyleSets({root:["ms-Button",d.root,n,t,a&&["is-checked",d.rootChecked],s&&["is-disabled",d.rootDisabled],!s&&!a&&{selectors:{":hover":d.rootHovered,":focus":d.rootFocused,":active":d.rootPressed}},s&&a&&[d.rootCheckedDisabled],!s&&a&&{selectors:{":hover":d.rootCheckedHovered,":active":d.rootCheckedPressed}}],flexContainer:["ms-Button-flexContainer",d.flexContainer]})})),d=s.classNamesFunction(),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t}(l.GridCell),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderColorOption=function(e){return r.createElement("svg",{className:t._classNames.svg,viewBox:"0 0 20 20",fill:a.getColorFromString(e.color).str},t.props.circle?r.createElement("circle",{cx:"50%",cy:"50%",r:"50%"}):r.createElement("rect",{width:"100%",height:"100%"}))},t}return o.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.idPrefix,o=void 0===n?this.props.id:n,i=e.selected,s=e.disabled,a=e.styles,l=e.theme,c=e.circle,f=e.color,h=e.onClick,m=e.onHover,g=e.onFocus,v=e.onMouseEnter,_=e.onMouseMove,y=e.onMouseLeave,b=e.onWheel,S=e.onKeyDown,C=e.height,x=e.width,k=e.borderWidth;return this._classNames=d(a,{theme:l,disabled:s,selected:i,circle:c,isWhite:this._isWhiteCell(f),height:C,width:x,borderWidth:k}),r.createElement(p,{item:t,id:o+"-"+t.id+"-"+t.index,key:t.id,disabled:s,role:"gridcell",onRenderItem:this._onRenderColorOption,selected:i,onClick:h,onHover:m,onFocus:g,label:t.label,className:this._classNames.colorCell,getClassNames:u,index:t.index,onMouseEnter:v,onMouseMove:_,onMouseLeave:y,onWheel:b,onKeyDown:S})},t.prototype._isWhiteCell=function(e){return"ffffff"===a.getColorFromString(e).hex},t.defaultProps={circle:!0,disabled:!1,selected:!1},t}(r.PureComponent);t.ColorPickerGridCellBase=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(391),a=n(21),l=n(14),c=i.classNamesFunction(),u=function(e){function t(t){var n=e.call(this,t)||this;return n.rootElement=r.createRef(),i.initializeComponentRef(n),n.state={},n._defaultCalloutProps={beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1,directionalHint:l.DirectionalHint.rightCenter},n}return o.__extends(t,e),t.prototype.focus=function(){this.rootElement.current&&this.rootElement.current.focus()},t.prototype.render=function(){var e=this.props,t=e.calloutProps,n=e.targetElement,i=e.onDismiss,l=e.hasCloseButton,u=void 0===l?this.props.hasCloseIcon:l,d=e.isWide,p=e.styles,f=e.theme,h=e.target,m=o.__assign(o.__assign({},this._defaultCalloutProps),t),g={theme:f,isWide:d,calloutProps:o.__assign(o.__assign({},m),{theme:m.theme}),hasCloseButton:u},v=c(p,g),_=v.subComponentStyles?v.subComponentStyles.callout:void 0;return r.createElement(a.Callout,o.__assign({target:h||n,onDismiss:i},m,{className:v.root,styles:_,hideOverflow:!0}),r.createElement("div",{ref:this.rootElement},r.createElement(s.TeachingBubbleContent,o.__assign({},this.props))))},t.defaultProps={calloutProps:{beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1,directionalHint:l.DirectionalHint.rightCenter}},t}(r.Component);t.TeachingBubbleBase=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n(392),i=n(393);t.TeachingBubbleContent=o.styled(r.TeachingBubbleContentBase,i.getStyles,void 0,{scope:"TeachingBubbleContent"})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(9),a=n(43),l=n(382),c=n(56),u=i.classNamesFunction(),d=function(e){function t(t){var n=e.call(this,t)||this;return n.rootElement=r.createRef(),n._onKeyDown=function(e){n.props.onDismiss&&e.which===i.KeyCodes.escape&&n.props.onDismiss()},i.initializeComponentRef(n),n.state={},n}return o.__extends(t,e),t.prototype.componentDidMount=function(){this.props.onDismiss&&document.addEventListener("keydown",this._onKeyDown,!1)},t.prototype.componentWillUnmount=function(){this.props.onDismiss&&document.removeEventListener("keydown",this._onKeyDown)},t.prototype.focus=function(){this.rootElement.current&&this.rootElement.current.focus()},t.prototype.render=function(){var e,t,n,i,d,p=this.props,f=p.children,h=p.illustrationImage,m=p.primaryButtonProps,g=p.secondaryButtonProps,v=p.headline,_=p.hasCondensedHeadline,y=p.hasCloseButton,b=void 0===y?this.props.hasCloseIcon:y,S=p.onDismiss,C=p.closeButtonAriaLabel,x=p.hasSmallHeadline,k=p.isWide,w=p.styles,P=p.theme,E=p.ariaDescribedBy,I=p.ariaLabelledBy,T=p.footerContent,D=p.focusTrapZoneProps,M=u(w,{theme:P,hasCondensedHeadline:_,hasSmallHeadline:x,hasCloseButton:b,hasHeadline:!!v,isWide:k,primaryButtonClassName:m?m.className:void 0,secondaryButtonClassName:g?g.className:void 0});if(h&&h.src&&(e=r.createElement("div",{className:M.imageContent},r.createElement(a.Image,o.__assign({},h)))),v){var O="string"==typeof v?"p":"div";t=r.createElement("div",{className:M.header},r.createElement(O,{role:"heading",className:M.headline,id:I},v))}if(f){var R="string"==typeof f?"p":"div";n=r.createElement("div",{className:M.body},r.createElement(R,{className:M.subText,id:E},f))}return(m||g||T)&&(i=r.createElement(l.Stack,{className:M.footer,horizontal:!0,horizontalAlign:T?"space-between":"end"},r.createElement(l.Stack.Item,{align:"center"},r.createElement("span",null,T)),r.createElement(l.Stack.Item,null,g&&r.createElement(s.DefaultButton,o.__assign({},g,{className:M.secondaryButton})),m&&r.createElement(s.PrimaryButton,o.__assign({},m,{className:M.primaryButton}))))),b&&(d=r.createElement(s.IconButton,{className:M.closeButton,iconProps:{iconName:"Cancel"},title:C,ariaLabel:C,onClick:S})),r.createElement("div",{className:M.content,ref:this.rootElement,role:"dialog",tabIndex:-1,"aria-labelledby":I,"aria-describedby":E,"data-is-focusable":!0},e,r.createElement(c.FocusTrapZone,o.__assign({isClickableOutsideFocusTrap:!0},D),r.createElement("div",{className:M.bodyContent},t,n,i,d)))},t.defaultProps={hasCondensedHeadline:!1,imageProps:{imageFit:a.ImageFit.cover,width:364,height:130}},t}(r.Component);t.TeachingBubbleContentBase=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(3),i=n(2),s={root:"ms-TeachingBubble",body:"ms-TeachingBubble-body",bodyContent:"ms-TeachingBubble-bodycontent",closeButton:"ms-TeachingBubble-closebutton",content:"ms-TeachingBubble-content",footer:"ms-TeachingBubble-footer",header:"ms-TeachingBubble-header",headerIsCondensed:"ms-TeachingBubble-header--condensed",headerIsSmall:"ms-TeachingBubble-header--small",headerIsLarge:"ms-TeachingBubble-header--large",headline:"ms-TeachingBubble-headline",image:"ms-TeachingBubble-image",primaryButton:"ms-TeachingBubble-primaryButton",secondaryButton:"ms-TeachingBubble-secondaryButton",subText:"ms-TeachingBubble-subText",button:"ms-Button",buttonLabel:"ms-Button-label"},a=i.memoizeFunction((function(){return r.keyframes({"0%":{opacity:0,animationTimingFunction:r.AnimationVariables.easeFunction1,transform:"scale3d(.90,.90,.90)"},"100%":{opacity:1,transform:"scale3d(1,1,1)"}})})),l=function(e,t){var n=t||{},o=n.calloutWidth,r=n.calloutMaxWidth;return[{display:"block",maxWidth:364,border:0,outline:"transparent",width:o||"calc(100% + 1px)",animationName:""+a(),animationDuration:"300ms",animationTimingFunction:"linear",animationFillMode:"both"},e&&{maxWidth:r||456}]},c=function(e,t,n){return t?[e.headerIsCondensed,{marginBottom:14}]:[n&&e.headerIsSmall,!n&&e.headerIsLarge,{selectors:{":not(:last-child)":{marginBottom:14}}}]};t.getStyles=function(e){var t,n,i,a=e.hasCondensedHeadline,u=e.hasSmallHeadline,d=e.hasCloseButton,p=e.hasHeadline,f=e.isWide,h=e.primaryButtonClassName,m=e.secondaryButtonClassName,g=e.theme,v=e.calloutProps,_=void 0===v?{className:void 0,theme:g}:v,y=!a&&!u,b=g.palette,S=g.semanticColors,C=g.fonts,x=r.getGlobalClassNames(s,g);return{root:[x.root,C.medium,_.className],body:[x.body,d&&!p&&{marginRight:24},{selectors:{":not(:last-child)":{marginBottom:20}}}],bodyContent:[x.bodyContent,{padding:"20px 24px 20px 24px"}],closeButton:[x.closeButton,{position:"absolute",right:0,top:0,margin:"15px 15px 0 0",borderRadius:0,color:b.white,fontSize:C.small.fontSize,selectors:{":hover":{background:b.themeDarkAlt,color:b.white},":active":{background:b.themeDark,color:b.white},":focus":{border:"1px solid "+S.variantBorder}}}],content:o.__spreadArrays([x.content],l(f),[f&&{display:"flex"}]),footer:[x.footer,{display:"flex",flex:"auto",alignItems:"center",color:b.white,selectors:(t={},t["."+x.button+":not(:first-child)"]={marginLeft:10},t)}],header:o.__spreadArrays([x.header],c(x,a,u),[d&&{marginRight:24},(a||u)&&[C.medium,{fontWeight:r.FontWeights.semibold}]]),headline:[x.headline,{margin:0,color:b.white,fontWeight:r.FontWeights.semibold},y&&[{fontSize:C.xLarge.fontSize}]],imageContent:[x.header,x.image,f&&{display:"flex",alignItems:"center",maxWidth:154}],primaryButton:[x.primaryButton,h,{backgroundColor:b.white,borderColor:b.white,color:b.themePrimary,whiteSpace:"nowrap",selectors:(n={},n["."+x.buttonLabel]=C.medium,n[":hover"]={backgroundColor:b.themeLighter,borderColor:b.themeLighter,color:b.themePrimary},n[":focus"]={backgroundColor:b.themeLighter,borderColor:b.white},n[":active"]={backgroundColor:b.white,borderColor:b.white,color:b.themePrimary},n)}],secondaryButton:[x.secondaryButton,m,{backgroundColor:b.themePrimary,borderColor:b.white,whiteSpace:"nowrap",selectors:(i={},i["."+x.buttonLabel]=[C.medium,{color:b.white}],i["&:hover, &:focus"]={backgroundColor:b.themeDarkAlt,borderColor:b.white},i[":active"]={backgroundColor:b.themePrimary,borderColor:b.white},i)}],subText:[x.subText,{margin:0,fontSize:C.medium.fontSize,color:b.white,fontWeight:r.FontWeights.regular}],subComponentStyles:{callout:{root:o.__spreadArrays(l(f,_),[C.medium]),beak:[{background:b.themePrimary}],calloutMain:[{background:b.themePrimary}]}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(85),s=n(2);t.TextView=function(e){if(0===r.Children.count(e.children))return null;e.block,e.className;var t=e.as,n=void 0===t?"span":t,a=(e.variant,e.nowrap,o.__rest(e,["block","className","as","variant","nowrap"])),l=i.getSlots(e,{root:n});return i.withSlots(l.root,o.__assign({},s.getNativeProps(a,s.htmlElementProperties)))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextStyles=function(e,t){var n=e.as,o=e.className,r=e.block,i=e.nowrap,s=e.variant,a=t.fonts[s||"medium"];return{root:[t.fonts.medium,{display:r?"td"===n?"table-cell":"block":"inline",fontFamily:a.fontFamily,fontSize:a.fontSize,fontWeight:a.fontWeight,color:a.color,mozOsxFontSmoothing:a.MozOsxFontSmoothing,webkitFontSmoothing:a.WebkitFontSmoothing},i&&{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},o]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(2),s=n(31),a=n(22),l=i.classNamesFunction(),c=function(e){function t(t){var n=e.call(this,t)||this;return n._toggleButton=r.createRef(),n._onClick=function(e){var t=n.props,o=t.disabled,r=t.checked,i=t.onChange,s=t.onChanged,a=t.onClick,l=n.state.checked;o||(void 0===r&&n.setState({checked:!l}),i&&i(e,!l),s&&s(!l),a&&a(e))},i.initializeComponentRef(n),i.warnMutuallyExclusive("Toggle",t,{checked:"defaultChecked"}),i.warnDeprecations("Toggle",t,{onAriaLabel:"ariaLabel",offAriaLabel:void 0,onChanged:"onChange"}),n.state={checked:!(!t.checked&&!t.defaultChecked)},n._id=t.id||i.getId("Toggle"),n}return o.__extends(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.checked?null:{checked:!!e.checked}},Object.defineProperty(t.prototype,"checked",{get:function(){return this.state.checked},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.as,c=void 0===n?"div":n,u=t.className,d=t.theme,p=t.disabled,f=t.keytipProps,h=t.label,m=t.ariaLabel,g=t.onAriaLabel,v=t.offAriaLabel,_=t.offText,y=t.onText,b=t.styles,S=t.inlineLabel,C=this.state.checked,x=C?y:_,k=C?g:v,w=i.getNativeProps(this.props,i.inputProperties,["defaultChecked"]),P=l(b,{theme:d,className:u,disabled:p,checked:C,inlineLabel:S,onOffMissing:!y&&!_}),E=this._id+"-label",I=this._id+"-stateText",T=void 0;m||k||(h?T=E:x&&(T=I));var D=this.props.role?this.props.role:"switch",M=function(t){return void 0===t&&(t={}),r.createElement("button",o.__assign({},w,t,{className:P.pill,disabled:p,id:e._id,type:"button",role:D,ref:e._toggleButton,"aria-disabled":p,"aria-checked":C,"aria-label":m||k,"data-is-focusable":!0,onChange:e._noop,onClick:e._onClick,"aria-labelledby":T}),r.createElement("span",{className:P.thumb}))},O=f?r.createElement(a.KeytipData,{keytipProps:f,ariaDescribedBy:w["aria-describedby"],disabled:p},(function(e){return M(e)})):M();return r.createElement(c,{className:P.root,hidden:w.hidden},h&&r.createElement(s.Label,{htmlFor:this._id,className:P.label,id:E},h),r.createElement("div",{className:P.container},O,x&&r.createElement(s.Label,{htmlFor:this._id,className:P.text,id:I},x)),r.createElement(i.FocusRects,null))},t.prototype.focus=function(){this._toggleButton.current&&this._toggleButton.current.focus()},t.prototype._noop=function(){},t}(r.Component);t.ToggleBase=c},function(e,t,n){(function(t){void 0===t||"renderer"===t.type||!0===t.browser||t.__nwjs?e.exports=n(418):e.exports=n(420)}).call(this,n(34))},function(e,t,n){"use strict";const o=new WeakMap,r=new WeakMap,i=new WeakMap,s=Symbol("anyProducer"),a=Promise.resolve(),l=Symbol("listenerAdded"),c=Symbol("listenerRemoved");function u(e){if("string"!=typeof e&&"symbol"!=typeof e)throw new TypeError("eventName must be a string or a symbol")}function d(e){if("function"!=typeof e)throw new TypeError("listener must be a function")}function p(e,t){const n=r.get(e);return n.has(t)||n.set(t,new Set),n.get(t)}function f(e,t){const n="string"==typeof t?t:s,o=i.get(e);return o.has(n)||o.set(n,new Set),o.get(n)}function h(e,t){t=Array.isArray(t)?t:[t];let n=!1,o=()=>{},r=[];const i={enqueue(e){r.push(e),o()},finish(){n=!0,o()}};for(const n of t)f(e,n).add(i);return{async next(){return r?0===r.length?n?(r=void 0,this.next()):(await new Promise(e=>{o=e}),this.next()):{done:!1,value:await r.shift()}:{done:!0}},async return(n){r=void 0;for(const n of t)f(e,n).delete(i);return o(),arguments.length>0?{done:!0,value:await n}:{done:!0}},[Symbol.asyncIterator](){return this}}}function m(e){if(void 0===e)return _;if(!Array.isArray(e))throw new TypeError("`methodNames` must be an array of strings");for(const t of e)if(!_.includes(t)){if("string"!=typeof t)throw new TypeError("`methodNames` element must be a string");throw new Error(t+" is not Emittery method")}return e}const g=e=>e===l||e===c;class v{static mixin(e,t){return t=m(t),n=>{if("function"!=typeof n)throw new TypeError("`target` must be function");for(const e of t)if(void 0!==n.prototype[e])throw new Error(`The property \`${e}\` already exists on \`target\``);Object.defineProperty(n.prototype,e,{enumerable:!1,get:function(){return Object.defineProperty(this,e,{enumerable:!1,value:new v}),this[e]}});const o=t=>function(...n){return this[e][t](...n)};for(const e of t)Object.defineProperty(n.prototype,e,{enumerable:!1,value:o(e)});return n}}constructor(){o.set(this,new Set),r.set(this,new Map),i.set(this,new Map)}on(e,t){d(t),e=Array.isArray(e)?e:[e];for(const n of e)u(n),p(this,n).add(t),g(n)||this.emit(l,{eventName:n,listener:t});return this.off.bind(this,e,t)}off(e,t){d(t),e=Array.isArray(e)?e:[e];for(const n of e)u(n),p(this,n).delete(t),g(n)||this.emit(c,{eventName:n,listener:t})}once(e){return new Promise(t=>{const n=this.on(e,e=>{n(),t(e)})})}events(e){e=Array.isArray(e)?e:[e];for(const t of e)u(t);return h(this,e)}async emit(e,t){u(e),function(e,t,n){const o=i.get(e);if(o.has(t))for(const e of o.get(t))e.enqueue(n);if(o.has(s)){const e=Promise.all([t,n]);for(const t of o.get(s))t.enqueue(e)}}(this,e,t);const n=p(this,e),r=o.get(this),l=[...n],c=g(e)?[]:[...r];await a,await Promise.all([...l.map(async e=>{if(n.has(e))return e(t)}),...c.map(async n=>{if(r.has(n))return n(e,t)})])}async emitSerial(e,t){u(e);const n=p(this,e),r=o.get(this),i=[...n],s=[...r];await a;for(const e of i)n.has(e)&&await e(t);for(const n of s)r.has(n)&&await n(e,t)}onAny(e){return d(e),o.get(this).add(e),this.emit(l,{listener:e}),this.offAny.bind(this,e)}anyEvent(){return h(this)}offAny(e){d(e),this.emit(c,{listener:e}),o.get(this).delete(e)}clearListeners(e){e=Array.isArray(e)?e:[e];for(const t of e)if("string"==typeof t){p(this,t).clear();const e=f(this,t);for(const t of e)t.finish();e.clear()}else{o.get(this).clear();for(const e of r.get(this).values())e.clear();for(const e of i.get(this).values()){for(const t of e)t.finish();e.clear()}}}listenerCount(e){e=Array.isArray(e)?e:[e];let t=0;for(const n of e)if("string"!=typeof n){void 0!==n&&u(n),t+=o.get(this).size;for(const e of r.get(this).values())t+=e.size;for(const e of i.get(this).values())t+=e.size}else t+=o.get(this).size+p(this,n).size+f(this,n).size+f(this).size;return t}bindMethods(e,t){if("object"!=typeof e||null===e)throw new TypeError("`target` must be an object");t=m(t);for(const n of t){if(void 0!==e[n])throw new Error(`The property \`${n}\` already exists on \`target\``);Object.defineProperty(e,n,{enumerable:!1,value:this[n].bind(this)})}}}const _=Object.getOwnPropertyNames(v.prototype).filter(e=>"constructor"!==e);v.Typed=class extends v{},Object.defineProperty(v.Typed,"Typed",{enumerable:!1,value:void 0}),Object.defineProperty(v,"listenerAdded",{value:l,writable:!1,enumerable:!0,configurable:!1}),Object.defineProperty(v,"listenerRemoved",{value:c,writable:!1,enumerable:!0,configurable:!1}),e.exports=v},function(e,t,n){(function(e){!function(t){"use strict";function n(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function o(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function r(e,t,n){r.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function i(e,t){i.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function s(e,t){s.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function a(e,t,n){a.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:n,enumerable:!0})}function l(e,t,n){var o=e.slice((n||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,o),e}function c(e){var t=void 0===e?"undefined":x(e);return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function u(e,t,n,o,d,p,f){f=f||[];var h=(d=d||[]).slice(0);if(void 0!==p){if(o){if("function"==typeof o&&o(h,p))return;if("object"===(void 0===o?"undefined":x(o))){if(o.prefilter&&o.prefilter(h,p))return;if(o.normalize){var m=o.normalize(h,p,e,t);m&&(e=m[0],t=m[1])}}}h.push(p)}"regexp"===c(e)&&"regexp"===c(t)&&(e=e.toString(),t=t.toString());var g=void 0===e?"undefined":x(e),v=void 0===t?"undefined":x(t),_="undefined"!==g||f&&f[f.length-1].lhs&&f[f.length-1].lhs.hasOwnProperty(p),y="undefined"!==v||f&&f[f.length-1].rhs&&f[f.length-1].rhs.hasOwnProperty(p);if(!_&&y)n(new i(h,t));else if(!y&&_)n(new s(h,e));else if(c(e)!==c(t))n(new r(h,e,t));else if("date"===c(e)&&e-t!=0)n(new r(h,e,t));else if("object"===g&&null!==e&&null!==t)if(f.filter((function(t){return t.lhs===e})).length)e!==t&&n(new r(h,e,t));else{if(f.push({lhs:e,rhs:t}),Array.isArray(e)){var b;for(e.length,b=0;b=t.length?n(new a(h,b,new s(void 0,e[b]))):u(e[b],t[b],n,o,h,b,f);for(;b=0?(u(e[r],t[r],n,o,h,r,f),C=l(C,s)):u(e[r],void 0,n,o,h,r,f)})),C.forEach((function(e){u(void 0,t[e],n,o,h,e,f)}))}f.length=f.length-1}else e!==t&&("number"===g&&isNaN(e)&&isNaN(t)||n(new r(h,e,t)))}function d(e,t,n,o){return o=o||[],u(e,t,(function(e){e&&o.push(e)}),n),o.length?o:void 0}function p(e,t,n){if(e&&t&&n&&n.kind){for(var o=e,r=-1,i=n.path?n.path.length-1:0;++r0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},E,e),n=t.logger,o=t.stateTransformer,r=t.errorTransformer,i=t.predicate,s=t.logErrors,a=t.diffPredicate;if(void 0===n)return function(){return function(e){return function(t){return e(t)}}};if(e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var l=[];return function(e){var n=e.getState;return function(e){return function(c){if("function"==typeof i&&!i(n,c))return e(c);var u={};l.push(u),u.started=C.now(),u.startedTime=new Date,u.prevState=o(n()),u.action=c;var d=void 0;if(s)try{d=e(c)}catch(e){u.error=r(e)}else d=e(c);u.took=C.now()-u.started,u.nextState=o(n());var p=t.diff&&"function"==typeof a?a(n,c):t.diff;if(g(l,Object.assign({},t,{diff:p})),l.length=0,u.error)throw u.error;return d}}}}var _,y,b=function(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e},S=function(e){return b(e.getHours(),2)+":"+b(e.getMinutes(),2)+":"+b(e.getSeconds(),2)+"."+b(e.getMilliseconds(),3)},C="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},t=e.dispatch,n=e.getState;return"function"==typeof t||"function"==typeof n?v()({dispatch:t,getState:n}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};t.defaults=E,t.createLogger=v,t.logger=I,t.default=I,Object.defineProperty(t,"__esModule",{value:!0})}(t)}).call(this,n(29))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n(0),i=n(456),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={},t}return o.__extends(t,e),t.prototype.componentDidCatch=function(e,t){this.setState({error:e,info:t}),(this.props.onError||i.noop)(e,t)},t.prototype.render=function(){var e=this.props,t=this.state,n=e.renderError,o=e.children;return t.error?"function"==typeof n?n(t):null:o},t}(r.Component);t.ErrorBoundary=s,t.withErrorBoundary=function(e,t){return function(n){return i.h(s,t,i.h(e,n))}}},function(e,t,n){"use strict";const o=n(953),r=async(e,t)=>{let n;t={interval:20,timeout:1/0,...t};const r=new Promise((o,r)=>{const i=async()=>{try{const r=await e();if("boolean"!=typeof r)throw new TypeError("Expected condition to return a boolean");!0===r?o():n=setTimeout(i,t.interval)}catch(e){r(e)}};i()});if(t.timeout!==1/0)try{return await o(r,t.timeout)}catch(e){throw n&&clearTimeout(n),e}return r};e.exports=r,e.exports.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.default=function(e,t){var n=o.useRef((function(){}));o.useEffect((function(){n.current=e})),o.useEffect((function(){if(null!==t){var e=setInterval((function(){return n.current()}),t||0);return function(){return clearInterval(e)}}}),[t])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(62),r=n(0),i=o.__importDefault(n(959));t.default=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=[]);var o=i.default(e,t),s=o[0],a=o[1],l=o[2];return r.useEffect(l,n),[s,a]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(62),r=n(0),i=o.__importDefault(n(960));t.default=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={loading:!1});var s=r.useRef(0),a=i.default(),l=r.useState(n),c=l[0],u=l[1];return[c,r.useCallback((function(){for(var t=[],n=0;n{"%%"!==e&&(o++,"%c"===e&&(r=o))}),t.splice(r,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==o&&"env"in o&&(e=o.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(153)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n(34))},function(e,t){var n=1e3,o=6e4,r=60*o,i=24*r;function s(e,t,n,o){var r=t>=1.5*n;return Math.round(e/n)+" "+o+(r?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*o;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return s(e,t,i,"day");if(t>=r)return s(e,t,r,"hour");if(t>=o)return s(e,t,o,"minute");if(t>=n)return s(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=r)return Math.round(e/r)+"h";if(t>=o)return Math.round(e/o)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){(function(o){const r=n(421),i=n(154);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let o=0;o=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(o.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase());let r=o.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[n]=r,e},{}),e.exports=n(153)(t);const{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).replace(/\s*\n\s*/g," ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}}).call(this,n(34))},function(e,t){t.isatty=function(){return!1},t.ReadStream=function(){throw new Error("tty.ReadStream is not implemented")},t.WriteStream=function(){throw new Error("tty.ReadStream is not implemented")}},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t,n){try{var o=n(154);if("function"!=typeof o.inherits)throw"";e.exports=o.inherits}catch(t){e.exports=n(424)}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";(function(t){const o=n(426),r=n(427),i=t.env;let s;function a(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===s)return 0;if(r("color=16m")||r("color=full")||r("color=truecolor"))return 3;if(r("color=256"))return 2;if(e&&!e.isTTY&&!0!==s)return 0;const n=s?1:0;if("win32"===t.platform){const e=o.release().split(".");return Number(t.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}return"CI"in i?["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in i)||"codeship"===i.CI_NAME?1:n:"TEAMCITY_VERSION"in i?/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0:3}(e))}r("no-color")||r("no-colors")||r("color=false")?s=!1:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(s=!0),"FORCE_COLOR"in i&&(s=0===i.FORCE_COLOR.length||0!==parseInt(i.FORCE_COLOR,10)),e.exports={supportsColor:a,stdout:a(t.stdout),stderr:a(t.stderr)}}).call(this,n(34))},function(e,t){t.endianness=function(){return"LE"},t.hostname=function(){return"undefined"!=typeof location?location.hostname:""},t.loadavg=function(){return[]},t.uptime=function(){return 0},t.freemem=function(){return Number.MAX_VALUE},t.totalmem=function(){return Number.MAX_VALUE},t.cpus=function(){return[]},t.type=function(){return"Browser"},t.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},t.networkInterfaces=t.getNetworkInterfaces=function(){return{}},t.arch=function(){return"javascript"},t.platform=function(){return"browser"},t.tmpdir=t.tmpDir=function(){return"/tmp"},t.EOL="\n",t.homedir=function(){return"/"}},function(e,t,n){"use strict";(function(t){e.exports=(e,n)=>{n=n||t.argv;const o=e.startsWith("-")?"":1===e.length?"-":"--",r=n.indexOf(o+e),i=n.indexOf("--");return-1!==r&&(-1===i||rD.length&&D.push(e)}function R(e,t,n){return null==e?0:function e(t,n,o,r){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var l=!1;if(null===t)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case s:l=!0}}if(l)return o(r,t,""===n?"."+N(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;cD.length&&D.push(e)}function R(e,t,n){return null==e?0:function e(t,n,o,r){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var l=!1;if(null===t)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case s:l=!0}}if(l)return o(r,t,""===n?"."+N(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c