!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports.FluentUIReact=t(require("React"),require("ReactDOM")):e.FluentUIReact=t(e.React,e.ReactDOM)}(self,(function(e,t){return function(){"use strict";var o={883:function(t){t.exports=e},845:function(e){e.exports=t}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}r.d=function(e,t){for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i),r.d(i,{ActionButton:function(){return eh},ActivityItem:function(){return Ji},AnimationClassNames:function(){return it},AnimationDirection:function(){return vh},AnimationStyles:function(){return Ye},AnimationVariables:function(){return qe},Announced:function(){return ya},AnnouncedBase:function(){return ba},Async:function(){return sa},AutoScroll:function(){return jk},Autofill:function(){return ha},BaseButton:function(){return ap},BaseComponent:function(){return yl},BaseExtendedPeoplePicker:function(){return RS},BaseExtendedPicker:function(){return PS},BaseFloatingPeoplePicker:function(){return Sx},BaseFloatingPicker:function(){return _x},BasePeoplePicker:function(){return aI},BasePeopleSelectedItemsList:function(){return RD},BasePicker:function(){return Gw},BasePickerListBelow:function(){return Uw},BaseSelectedItemsList:function(){return hD},BaseSlots:function(){return kT},Breadcrumb:function(){return Jp},BreadcrumbBase:function(){return Gp},Button:function(){return lh},ButtonGlobalClassNames:function(){return np},ButtonGrid:function(){return gh},ButtonGridCell:function(){return Sh},ButtonType:function(){return qp},CHECK_CELL_WIDTH:function(){return jb},COACHMARK_ATTRIBUTE_NAME:function(){return jf},Calendar:function(){return Um},Callout:function(){return Tu},CalloutContent:function(){return qc},CalloutContentBase:function(){return Vc},Check:function(){return of},CheckBase:function(){return ef},Checkbox:function(){return uf},CheckboxBase:function(){return rf},CheckboxVisibility:function(){return Rb},ChoiceGroup:function(){return Pf},ChoiceGroupBase:function(){return Df},ChoiceGroupOption:function(){return Sf},Coachmark:function(){return Xf},CoachmarkBase:function(){return Yf},CollapseAllVisibility:function(){return Mb},ColorClassNames:function(){return mo},ColorPicker:function(){return Tv},ColorPickerBase:function(){return Sv},ColorPickerGridCell:function(){return JE},ColorPickerGridCellBase:function(){return XE},ColumnActionsMode:function(){return Db},ColumnDragEndLocation:function(){return Tb},ComboBox:function(){return Vv},CommandBar:function(){return _b},CommandBarBase:function(){return Cb},CommandBarButton:function(){return uh},CommandButton:function(){return dh},CommunicationColors:function(){return AP},CompactPeoplePicker:function(){return hI},CompactPeoplePickerBase:function(){return cI},CompoundButton:function(){return ah},ConstrainMode:function(){return Eb},ContextualMenu:function(){return op},ContextualMenuBase:function(){return jd},ContextualMenuItem:function(){return Yu},ContextualMenuItemBase:function(){return Lu},ContextualMenuItemType:function(){return xl},Customizations:function(){return Ot},Customizer:function(){return $c},CustomizerContext:function(){return ir},DATAKTP_ARIA_TARGET:function(){return td},DATAKTP_EXECUTE_TARGET:function(){return ed},DATAKTP_TARGET:function(){return $u},DATA_IS_SCROLLABLE_ATTRIBUTE:function(){return ms},DATA_PORTAL_ATTRIBUTE:function(){return Ss},DAYS_IN_WEEK:function(){return xh},DEFAULT_CELL_STYLE_PROPS:function(){return Fb},DEFAULT_MASK_CHAR:function(){return DT},DEFAULT_ROW_HEIGHTS:function(){return Lb},DatePicker:function(){return Bb},DatePickerBase:function(){return wb},DateRangeType:function(){return _h},DayOfWeek:function(){return bh},DefaultButton:function(){return rh},DefaultEffects:function(){return Qt},DefaultFontStyles:function(){return St},DefaultPalette:function(){return Dt},DefaultSpacing:function(){return no},DelayedRender:function(){return ga},Depths:function(){return Bt},DetailsColumn:function(){return $b},DetailsColumnBase:function(){return Xb},DetailsHeader:function(){return yy},DetailsHeaderBase:function(){return my},DetailsList:function(){return xC},DetailsListBase:function(){return vC},DetailsListLayoutMode:function(){return Pb},DetailsRow:function(){return Iy},DetailsRowBase:function(){return ky},DetailsRowCheck:function(){return uy},DetailsRowFields:function(){return Cy},DetailsRowGlobalClassNames:function(){return Ab},Dialog:function(){return t_},DialogBase:function(){return $C},DialogContent:function(){return YC},DialogContentBase:function(){return jC},DialogFooter:function(){return KC},DialogFooterBase:function(){return WC},DialogType:function(){return CC},DirectionalHint:function(){return Il},DocumentCard:function(){return d_},DocumentCardActions:function(){return f_},DocumentCardActivity:function(){return b_},DocumentCardDetails:function(){return S_},DocumentCardImage:function(){return D_},DocumentCardLocation:function(){return P_},DocumentCardLogo:function(){return B_},DocumentCardPreview:function(){return L_},DocumentCardStatus:function(){return W_},DocumentCardTitle:function(){return G_},DocumentCardType:function(){return ZC},DragDropHelper:function(){return dy},Dropdown:function(){return wS},DropdownBase:function(){return hS},DropdownMenuItemType:function(){return Iv},EdgeChromiumHighContrastSelector:function(){return Oo},ElementType:function(){return jp},EventGroup:function(){return fl},ExpandingCard:function(){return Ux},ExpandingCardBase:function(){return Gx},ExpandingCardMode:function(){return Hx},ExtendedPeoplePicker:function(){return MS},ExtendedSelectedItem:function(){return ID},Fabric:function(){return iu},FabricBase:function(){return ou},FabricPerformance:function(){return qT},FabricSlots:function(){return wT},Facepile:function(){return KS},FacepileBase:function(){return WS},FirstWeekOfYear:function(){return Ch},FloatingPeoplePicker:function(){return xx},FluentTheme:function(){return GP},FocusRects:function(){return $s},FocusRectsContext:function(){return Qs},FocusRectsProvider:function(){return Qc},FocusTrapCallout:function(){return Jm},FocusTrapZone:function(){return Qm},FocusZone:function(){return Vs},FocusZoneDirection:function(){return fa},FocusZoneTabbableElements:function(){return Ca},FontClassNames:function(){return It},FontIcon:function(){return ki},FontSizes:function(){return ot},FontWeights:function(){return nt},GetGroupCount:function(){return dC},GlobalSettings:function(){return Rt},GroupFooter:function(){return eC},GroupHeader:function(){return Yy},GroupShowAll:function(){return Qy},GroupSpacer:function(){return zb},GroupedList:function(){return aC},GroupedListBase:function(){return iC},GroupedListSection:function(){return tC},GroupedListV2_unstable:function(){return Lx},HEADER_HEIGHT:function(){return Vb},HEX_REGEX:function(){return sg},HighContrastSelector:function(){return Fo},HighContrastSelectorBlack:function(){return Ho},HighContrastSelectorWhite:function(){return Lo},HoverCard:function(){return $x},HoverCardBase:function(){return Jx},HoverCardType:function(){return Wx},Icon:function(){return Ei},IconBase:function(){return Di},IconButton:function(){return yp},IconFontSizes:function(){return rt},IconType:function(){return Qr},Image:function(){return hi},ImageBase:function(){return di},ImageCoverStyle:function(){return $r},ImageFit:function(){return Jr},ImageIcon:function(){return wl},ImageLoadState:function(){return ei},InjectionMode:function(){return R},IsFocusVisibleClassName:function(){return on},KTP_ARIA_SEPARATOR:function(){return nd},KTP_FULL_PREFIX:function(){return Ju},KTP_LAYER_ID:function(){return od},KTP_PREFIX:function(){return Xu},KTP_SEPARATOR:function(){return Qu},KeyCodes:function(){return ur},KeyboardSpinDirection:function(){return gE},Keytip:function(){return Ek},KeytipData:function(){return pd},KeytipEvents:function(){return Pu},KeytipLayer:function(){return Hk},KeytipLayerBase:function(){return Lk},KeytipManager:function(){return id},Label:function(){return hf},LabelBase:function(){return pf},Layer:function(){return Eu},LayerBase:function(){return ku},LayerHost:function(){return Gk},Link:function(){return ll},LinkBase:function(){return al},List:function(){return sb},ListPeoplePicker:function(){return mI},ListPeoplePickerBase:function(){return uI},LocalizedFontFamilies:function(){return tt},LocalizedFontNames:function(){return et},MAX_COLOR_ALPHA:function(){return og},MAX_COLOR_HUE:function(){return Jf},MAX_COLOR_RGB:function(){return eg},MAX_COLOR_RGBA:function(){return tg},MAX_COLOR_SATURATION:function(){return Qf},MAX_COLOR_VALUE:function(){return $f},MAX_HEX_LENGTH:function(){return rg},MAX_RGBA_LENGTH:function(){return ag},MIN_HEX_LENGTH:function(){return ng},MIN_RGBA_LENGTH:function(){return ig},MarqueeSelection:function(){return tw},MaskedTextField:function(){return ET},MeasuredContext:function(){return Sp},MemberListPeoplePicker:function(){return sI},MergeStylesRootProvider:function(){return vP},MergeStylesShadowRootProvider:function(){return Ds},MessageBar:function(){return vw},MessageBarBase:function(){return uw},MessageBarButton:function(){return hh},MessageBarType:function(){return Qk},Modal:function(){return OC},ModalBase:function(){return HC},MonthOfYear:function(){return yh},MotionAnimations:function(){return KP},MotionDurations:function(){return WP},MotionTimings:function(){return VP},Nav:function(){return kw},NavBase:function(){return xw},NeutralColors:function(){return FP},NormalPeoplePicker:function(){return pI},NormalPeoplePickerBase:function(){return lI},OpenCardMode:function(){return zx},OverflowButtonType:function(){return IS},OverflowSet:function(){return gb},OverflowSetBase:function(){return mb},Overlay:function(){return TC},OverlayBase:function(){return DC},Panel:function(){return uS},PanelBase:function(){return eS},PanelType:function(){return o_},PeoplePickerItem:function(){return Jw},PeoplePickerItemBase:function(){return Qw},PeoplePickerItemSuggestion:function(){return nI},PeoplePickerItemSuggestionBase:function(){return oI},Persona:function(){return OS},PersonaBase:function(){return LS},PersonaCoin:function(){return Qi},PersonaCoinBase:function(){return qi},PersonaInitialsColor:function(){return yi},PersonaPresence:function(){return bi},PersonaSize:function(){return vi},Pivot:function(){return HI},PivotBase:function(){return NI},PivotItem:function(){return TI},PivotLinkFormat:function(){return BI},PivotLinkSize:function(){return AI},PlainCard:function(){return Xx},PlainCardBase:function(){return Zx},Popup:function(){return Tc},Position:function(){return Rl},PositioningContainer:function(){return Ff},PrimaryButton:function(){return sh},ProgressIndicator:function(){return UI},ProgressIndicatorBase:function(){return WI},PulsingBeaconAnimationStyles:function(){return So},RGBA_REGEX:function(){return lg},Rating:function(){return JI},RatingBase:function(){return QI},RatingSize:function(){return OI},Rectangle:function(){return Wl},RectangleEdge:function(){return Pl},ResizeGroup:function(){return Tp},ResizeGroupBase:function(){return Dp},ResizeGroupDirection:function(){return hp},ResponsiveMode:function(){return xd},SELECTION_CHANGE:function(){return ry},ScreenWidthMaxLarge:function(){return Yo},ScreenWidthMaxMedium:function(){return qo},ScreenWidthMaxSmall:function(){return jo},ScreenWidthMaxXLarge:function(){return Zo},ScreenWidthMaxXXLarge:function(){return Xo},ScreenWidthMinLarge:function(){return Vo},ScreenWidthMinMedium:function(){return Wo},ScreenWidthMinSmall:function(){return zo},ScreenWidthMinUhfMobile:function(){return Qo},ScreenWidthMinXLarge:function(){return Ko},ScreenWidthMinXXLarge:function(){return Go},ScreenWidthMinXXXLarge:function(){return Uo},ScrollToMode:function(){return $v},ScrollablePane:function(){return rD},ScrollablePaneBase:function(){return nD},ScrollablePaneContext:function(){return tD},ScrollbarVisibility:function(){return eD},SearchBox:function(){return pD},SearchBoxBase:function(){return uD},SelectAllVisibility:function(){return cy},SelectableOptionMenuItemType:function(){return Iv},SelectedPeopleList:function(){return MD},Selection:function(){return My},SelectionDirection:function(){return ny},SelectionMode:function(){return oy},SelectionZone:function(){return Ry},SemanticColorSlots:function(){return IT},Separator:function(){return AD},SeparatorBase:function(){return BD},Shade:function(){return vg},SharedColors:function(){return LP},Shimmer:function(){return sE},ShimmerBase:function(){return aE},ShimmerCircle:function(){return $D},ShimmerCircleBase:function(){return JD},ShimmerElementType:function(){return FD},ShimmerElementsDefaultHeights:function(){return LD},ShimmerElementsGroup:function(){return rE},ShimmerElementsGroupBase:function(){return tE},ShimmerGap:function(){return ZD},ShimmerGapBase:function(){return qD},ShimmerLine:function(){return UD},ShimmerLineBase:function(){return KD},ShimmeredDetailsList:function(){return dE},ShimmeredDetailsListBase:function(){return cE},Slider:function(){return bE},SliderBase:function(){return fE},SpinButton:function(){return DE},Spinner:function(){return Gy},SpinnerBase:function(){return Wy},SpinnerSize:function(){return By},SpinnerType:function(){return Ay},Stack:function(){return UE},StackItem:function(){return VE},Sticky:function(){return jE},StickyPositionType:function(){return GE},Stylesheet:function(){return F},SuggestionActionType:function(){return _w},SuggestionItemType:function(){return cx},Suggestions:function(){return Pw},SuggestionsControl:function(){return yx},SuggestionsController:function(){return Bw},SuggestionsCore:function(){return lx},SuggestionsHeaderFooterItem:function(){return bx},SuggestionsItem:function(){return ix},SuggestionsStore:function(){return wx},SwatchColorPicker:function(){return oT},SwatchColorPickerBase:function(){return eT},TagItem:function(){return CI},TagItemBase:function(){return yI},TagItemSuggestion:function(){return wI},TagItemSuggestionBase:function(){return kI},TagPicker:function(){return DI},TagPickerBase:function(){return II},TeachingBubble:function(){return mT},TeachingBubbleBase:function(){return hT},TeachingBubbleContent:function(){return uT},TeachingBubbleContentBase:function(){return rT},Text:function(){return vT},TextField:function(){return cv},TextFieldBase:function(){return nv},TextStyles:function(){return gT},TextView:function(){return fT},ThemeContext:function(){return DP},ThemeGenerator:function(){return PT},ThemeProvider:function(){return zP},ThemeSettingName:function(){return so},TimeConstants:function(){return Ih},TimePicker:function(){return LT},Toggle:function(){return UT},ToggleBase:function(){return KT},Tooltip:function(){return Fp},TooltipBase:function(){return Ap},TooltipDelay:function(){return Np},TooltipHost:function(){return zp},TooltipHostBase:function(){return Hp},TooltipOverflowMode:function(){return Ep},ValidationState:function(){return Nw},VerticalDivider:function(){return gd},VirtualizedComboBox:function(){return cb},WeeklyDayPicker:function(){return IP},WindowContext:function(){return la},WindowProvider:function(){return da},ZIndexes:function(){return tn},addDays:function(){return Dh},addDirectionalKeyCode:function(){return Us},addElementAtIndex:function(){return Da},addMonths:function(){return Th},addWeeks:function(){return Eh},addYears:function(){return Ph},allowOverscrollOnElement:function(){return gs},allowScrollOnElement:function(){return fs},anchorProperties:function(){return Nr},appendFunction:function(){return ea},arraysEqual:function(){return Ta},asAsync:function(){return ZT},assertNever:function(){return XT},assign:function(){return ul},audioProperties:function(){return Tr},baseElementEvents:function(){return wr},baseElementProperties:function(){return Ir},buildClassMap:function(){return se},buildColumns:function(){return bC},buildKeytipConfigMap:function(){return Ok},buttonProperties:function(){return Br},calculatePrecision:function(){return Zk},canAnyMenuItemsCheck:function(){return Vd},canUseDOM:function(){return pt},clamp:function(){return cg},classNamesFunction:function(){return Cr},cleanupDefaultLayerHost:function(){return bu},colGroupProperties:function(){return Kr},colProperties:function(){return Gr},compareDatePart:function(){return Lh},compareDates:function(){return Fh},composeComponentAs:function(){return Bl},composeRenderFunction:function(){return El},concatStyleSets:function(){return Ln},concatStyleSetsWithProps:function(){return Hn},constructKeytip:function(){return zk},correctHSV:function(){return Ag},correctHex:function(){return Fg},correctRGB:function(){return Lg},createArray:function(){return xa},createDefaultLayerHost:function(){return vu},createFontStyles:function(){return dt},createGenericItem:function(){return dI},createItem:function(){return kx},createMemoizer:function(){return Mo},createMergedRef:function(){return Pa},createTheme:function(){return ro},css:function(){return gi},cssColor:function(){return zg},customizable:function(){return pp},defaultCalendarNavigationIcons:function(){return _m},defaultCalendarStrings:function(){return ym},defaultDatePickerStrings:function(){return Sb},defaultDayPickerStrings:function(){return Cm},defaultWeeklyDayPickerNavigationIcons:function(){return SP},defaultWeeklyDayPickerStrings:function(){return _P},disableBodyScroll:function(){return bs},divProperties:function(){return Zr},doesElementContainFocus:function(){return $a},elementContains:function(){return Fa},elementContainsAttribute:function(){return Aa},enableBodyScroll:function(){return ys},extendComponent:function(){return ta},filteredAssign:function(){return dl},find:function(){return Sa},findElementRecursive:function(){return Ba},findIndex:function(){return _a},findScrollableParent:function(){return _s},fitContentToBounds:function(){return Yk},flatten:function(){return Ea},focusAsync:function(){return os},focusClear:function(){return ln},focusFirstChild:function(){return Ua},fontFace:function(){return at},formProperties:function(){return Ur},format:function(){return Qh},getActivityItemClassNames:function(){return Gn},getActivityItemStyles:function(){return Qn},getAllSelectedOptions:function(){return Hv},getAriaDescribedBy:function(){return ud},getBackgroundShade:function(){return Ng},getBasePickerStyles:function(){return iI},getBoundsFromTargetWindow:function(){return xc},getCellStyles:function(){return Kb},getChildren:function(){return Ov},getColorFromHSV:function(){return Kg},getColorFromRGBA:function(){return mg},getColorFromString:function(){return Gg},getCommandBarStyles:function(){return vb},getCommandButtonStyles:function(){return bb},getContextualMenuItemClassNames:function(){return ju},getContextualMenuItemStyles:function(){return qu},getContrastRatio:function(){return Bg},getDatePartHashValue:function(){return Uh},getDateRangeArray:function(){return Hh},getDetailsColumnStyles:function(){return Jb},getDetailsHeaderStyles:function(){return Gb},getDetailsListStyles:function(){return SC},getDetailsRowCheckStyles:function(){return qb},getDetailsRowStyles:function(){return Ob},getDistanceBetweenPoints:function(){return qk},getDocument:function(){return ht},getEdgeChromiumNoHighContrastAdjustSelector:function(){return en},getElementIndexPath:function(){return rs},getEndDateOfWeek:function(){return Kh},getFadedOverflowStyle:function(){return yn},getFirstFocusable:function(){return Wa},getFirstTabbable:function(){return Ka},getFirstVisibleElementFromSelector:function(){return xk},getFocusOutlineStyle:function(){return cn},getFocusStyle:function(){return sn},getFocusableByIndexPath:function(){return ns},getFontIcon:function(){return wi},getFullColorString:function(){return Ug},getGlobalClassNames:function(){return Ao},getHighContrastNoAdjustStyle:function(){return $o},getIcon:function(){return Pn},getIconClassName:function(){return Fn},getIconContent:function(){return xi},getId:function(){return us},getInitialResponsiveMode:function(){return Rd},getInitials:function(){return ai},getInputFocusStyle:function(){return un},getLanguage:function(){return Ct},getLastFocusable:function(){return Va},getLastTabbable:function(){return Ga},getLayerCount:function(){return hu},getLayerHost:function(){return mu},getLayerHostSelector:function(){return _u},getLayerStyles:function(){return Du},getMaxHeight:function(){return _c},getMeasurementCache:function(){return Cp},getMenuItemStyles:function(){return Wu},getMonthEnd:function(){return Mh},getMonthStart:function(){return Rh},getNativeElementProps:function(){return ty},getNativeProps:function(){return Xr},getNextElement:function(){return qa},getNextResizeGroupStateProvider:function(){return _p},getOppositeEdge:function(){return Sc},getParent:function(){return Na},getPeoplePickerItemStyles:function(){return Zw},getPeoplePickerItemSuggestionStyles:function(){return eI},getPersonaInitialsColor:function(){return Ki},getPlaceholderStyles:function(){return _n},getPreviousElement:function(){return ja},getPropsWithDefaults:function(){return xr},getRTL:function(){return pr},getRTLSafeKeyCode:function(){return mr},getRect:function(){return sC},getResourceUrl:function(){return JT},getResponsiveMode:function(){return Bd},getScreenSelector:function(){return Jo},getScrollbarWidth:function(){return Cs},getShade:function(){return Mg},getShimmeredDetailsListStyles:function(){return uE},getSplitButtonClassNames:function(){return ip},getStartDateOfWeek:function(){return Vh},getSubmenuItems:function(){return Wd},getSuggestionsItemStyles:function(){return Iw},getSuggestionsStyles:function(){return Mw},getTagItemStyles:function(){return vI},getTagItemSuggestionStyles:function(){return SI},getTextFieldStyles:function(){return lv},getTheme:function(){return co},getThemedContext:function(){return mn},getVirtualParent:function(){return Ma},getWeekNumber:function(){return Wh},getWeekNumbersInMonth:function(){return zh},getWindow:function(){return gt},getYearEnd:function(){return Bh},getYearStart:function(){return Nh},hasHorizontalOverflow:function(){return Pp},hasOverflow:function(){return Mp},hasVerticalOverflow:function(){return Rp},hiddenContentStyle:function(){return vo},hoistMethods:function(){return _d},hoistStatics:function(){return wd},hsl2hsv:function(){return Hg},hsl2rgb:function(){return Og},hsv2hex:function(){return Vg},hsv2hsl:function(){return fg},hsv2rgb:function(){return gg},htmlElementProperties:function(){return Dr},iframeProperties:function(){return jr},imageProperties:function(){return Yr},imgProperties:function(){return qr},initializeComponentRef:function(){return oa},initializeFocusRects:function(){return eP},initializeIcons:function(){return Sk},initializeResponsiveMode:function(){return Pd},inputProperties:function(){return Ar},isControlled:function(){return $g},isDark:function(){return Rg},isDirectionalKeyCode:function(){return Gs},isElementFocusSubZone:function(){return Ja},isElementFocusZone:function(){return Qa},isElementTabbable:function(){return Xa},isElementVisible:function(){return Ya},isElementVisibleAndNotHidden:function(){return Za},isIE11:function(){return $i},isIOS:function(){return Ml},isInDateRangeArray:function(){return Oh},isMac:function(){return Tl},isRelativeUrl:function(){return Cw},isValidShade:function(){return Eg},isVirtualElement:function(){return Ra},keyframes:function(){return le},ktpTargetFromId:function(){return cd},ktpTargetFromSequences:function(){return ld},labelProperties:function(){return Er},liProperties:function(){return Mr},loadTheme:function(){return ho},makeStyles:function(){return NP},mapEnumByName:function(){return pl},memoize:function(){return Po},memoizeFunction:function(){return Ro},merge:function(){return Jt},mergeAriaAttributeValues:function(){return Sl},mergeCustomizations:function(){return Jc},mergeOverflows:function(){return sd},mergeScopedSettings:function(){return pn},mergeSettings:function(){return dn},mergeStyleSets:function(){return On},mergeStyles:function(){return ie},mergeThemes:function(){return oo},modalize:function(){return wc},noWrap:function(){return gn},normalize:function(){return fn},notifyHostChanged:function(){return yu},nullRender:function(){return _l},olProperties:function(){return Rr},omit:function(){return ml},on:function(){return Ol},optionProperties:function(){return Hr},personaPresenceSize:function(){return Si},personaSize:function(){return _i},portalContainsElement:function(){return ks},positionCallout:function(){return yc},positionCard:function(){return Cc},positionElement:function(){return bc},precisionRound:function(){return Xk},presenceBoolean:function(){return Ri},raiseClick:function(){return bP},registerDefaultFontFaces:function(){return wt},registerIconAlias:function(){return Tn},registerIcons:function(){return Dn},registerLayer:function(){return du},registerLayerHost:function(){return fu},registerOnThemeChangeCallback:function(){return uo},removeDirectionalKeyCode:function(){return js},removeIndex:function(){return wa},removeOnThemeChangeCallback:function(){return po},replaceElement:function(){return Ia},resetControlledWarnings:function(){return Qg},resetIds:function(){return ds},resetMemoizations:function(){return To},rgb2hex:function(){return dg},rgb2hsv:function(){return ug},safeRequestAnimationFrame:function(){return U_},safeSetTimeout:function(){return yP},selectProperties:function(){return Lr},sequencesToID:function(){return ad},setBaseUrl:function(){return $T},setFocusVisibility:function(){return an},setIconOptions:function(){return Rn},setLanguage:function(){return _t},setLayerHostSelector:function(){return Cu},setMemoizeWeakMap:function(){return Eo},setMonth:function(){return Ah},setPortalAttribute:function(){return xs},setRTL:function(){return hr},setResponsiveMode:function(){return Td},setSSR:function(){return CP},setVirtualParent:function(){return au},setWarningCallback:function(){return xn},shallowCompare:function(){return cl},shouldWrapFocus:function(){return es},sizeBoolean:function(){return Ti},sizeToPixels:function(){return Pi},styled:function(){return lr},tableProperties:function(){return Or},tdProperties:function(){return Vr},textAreaProperties:function(){return Fr},thProperties:function(){return Wr},themeRulesStandardCreator:function(){return TT},toMatrix:function(){return ka},trProperties:function(){return zr},transitionKeysAreEqual:function(){return Rk},transitionKeysContain:function(){return Mk},unhoistMethods:function(){return Sd},unregisterIcons:function(){return En},unregisterLayer:function(){return pu},unregisterLayerHost:function(){return gu},updateA:function(){return jg},updateH:function(){return qg},updateRGB:function(){return Yg},updateSV:function(){return Zg},updateT:function(){return Xg},useAdoptedStylesheet:function(){return dP},useAdoptedStylesheetEx:function(){return pP},useCustomizationSettings:function(){return ar},useDocument:function(){return ua},useFocusRects:function(){return Js},useHasMergeStylesShadowRootContext:function(){return sp},useHeightOffset:function(){return Af},useKeytipRef:function(){return Wk},useMergeStylesHooks:function(){return rr},useMergeStylesRootStylesheets:function(){return uP},useMergeStylesShadowRootContext:function(){return lp},useResponsiveMode:function(){return Ad},useShadowConfig:function(){return mP},useStyled:function(){return fP},useTheme:function(){return EP},useWindow:function(){return ca},values:function(){return hl},videoProperties:function(){return Pr},warn:function(){return Sn},warnConditionallyRequiredProps:function(){return gl},warnControlledUsage:function(){return Jg},warnDeprecations:function(){return vl},warnMutuallyExclusive:function(){return bl},withResponsiveMode:function(){return Md},withViewport:function(){return uC}});var a={};r.r(a),r.d(a,{pickerInput:function(){return ES},pickerText:function(){return DS}});var s={};r.r(s),r.d(s,{callout:function(){return GS}});var l={};r.r(l),r.d(l,{actionButton:function(){return XS},buttonSelected:function(){return QS},closeButton:function(){return qS},itemButton:function(){return ZS},root:function(){return US},suggestionsAvailable:function(){return ox},suggestionsContainer:function(){return $S},suggestionsItem:function(){return jS},suggestionsItemIsSuggested:function(){return YS},suggestionsNone:function(){return ex},suggestionsSpinner:function(){return tx},suggestionsTitle:function(){return JS}});var c={};r.r(c),r.d(c,{suggestionsContainer:function(){return ax}});var u={};r.r(u),r.d(u,{actionButton:function(){return dx},buttonSelected:function(){return px},itemButton:function(){return fx},root:function(){return ux},screenReaderOnly:function(){return gx},suggestionsSpinner:function(){return mx},suggestionsTitle:function(){return hx}});var d={};r.r(d),r.d(d,{inputDisabled:function(){return Hw},inputFocused:function(){return Lw},picker:function(){return Aw},pickerInput:function(){return Ow},pickerItems:function(){return zw},pickerText:function(){return Fw},screenReaderOnly:function(){return Ww}});var p={};r.r(p),r.d(p,{actionButton:function(){return gD},expandButton:function(){return _D},hover:function(){return fD},itemContainer:function(){return kD},itemContent:function(){return yD},personaContainer:function(){return mD},personaContainerIsSelected:function(){return vD},personaDetails:function(){return xD},personaWrapper:function(){return SD},removeButton:function(){return CD},validationError:function(){return bD}});var h=function(e,t){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},h(e,t)};function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var f=function(){return f=Object.assign||function(e){for(var t,o=1,n=arguments.length;o=0;s--)(r=e[s])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}function b(e,t,o){if(o||2===arguments.length)for(var n,r=0,i=t.length;r=0)e(s.split(" "));else{var l=i.argsFromClassName(s);l?e(l):-1===n.indexOf(s)&&n.push(s)}else Array.isArray(s)?e(s):"object"==typeof s&&r.push(s)}}(t),{classes:n,objects:r}}function D(e){y!==e&&(y=e)}function E(){return void 0===y&&(y="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),y}function T(){return{rtl:E(),shadowConfig:x}}y=E();var P,R={none:0,insertNode:1,appendChild:2},M="__stylesheet__",N="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),B={};try{B=window||{}}catch(z){}var A,F=function(){function e(e,t){var o,n,r,i,a,s;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=f({injectionMode:"undefined"==typeof document?R.none:R.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(o=null==t?void 0:t.classNameToArgs)&&void 0!==o?o:this._classNameToArgs,this._counter=null!==(n=null==t?void 0:t.counter)&&void 0!==n?n:this._counter,this._keyToClassName=null!==(i=null!==(r=this._config.classNameCache)&&void 0!==r?r:null==t?void 0:t.keyToClassName)&&void 0!==i?i:this._keyToClassName,this._preservedRules=null!==(a=null==t?void 0:t.preservedRules)&&void 0!==a?a:this._preservedRules,this._rules=null!==(s=null==t?void 0:t.rules)&&void 0!==s?s:this._rules}return e.getInstance=function(t){if(P=B[M],B[S])return B[S].getInstance(t);if(!P||P._lastStyleElement&&P._lastStyleElement.ownerDocument!==document){var o=(null==B?void 0:B.FabricConfig)||{},n=new e(o.mergeStyles,o.serializedStylesheet);P=n,B[M]=n}return P},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=f(f({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,o=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(o,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,o,n){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:o,rules:n}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(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,t,o){void 0===o&&(o=_);var n=this._config.injectionMode,r=n!==R.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),r)switch(n){case R.insertNode:this._insertRuleIntoSheet(r.sheet,e);break;case R.appendChild:r.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(t){return t({key:o,sheet:r?r.sheet:void 0,rule:e})}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,o=t.head,n=t.createElement("style"),r=null;n.setAttribute("data-merge-styles","true");var i=this._config.cspSettings;if(i&&i.nonce&&n.setAttribute("nonce",i.nonce),this._lastStyleElement)r=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();r=a?a.nextElementSibling:o.childNodes[0]}return o.insertBefore(n,o.contains(r)?r:null),this._lastStyleElement=n,n},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||(this._styleElement=this._createStyleElement(),N||(this._config.window||window).requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),L={},H={"user-select":1};function O(e,t){var o=function(){var e;if(!A){var t="undefined"!=typeof document?document:void 0,o="undefined"!=typeof navigator?navigator:void 0,n=null===(e=null==o?void 0:o.userAgent)||void 0===e?void 0:e.toLowerCase();A=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(n&&n.indexOf("firefox")>-1),isOpera:!!(n&&n.indexOf("opera")>-1),isMs:!(!o||!/rv:11.0/i.test(o.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return A}(),n=e[t];if(H[n]){var r=e[t+1];H[n]&&(o.isWebkit&&e.push("-webkit-"+n,r),o.isMoz&&e.push("-moz-"+n,r),o.isMs&&e.push("-ms-"+n,r),o.isOpera&&e.push("-o-"+n,r))}}var z,W=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function V(e,t){var o=e[t],n=e[t+1];if("number"==typeof n){var r=W.indexOf(o)>-1,i=o.indexOf("--")>-1,a=r||i?"":"px";e[t+1]="".concat(n).concat(a)}}var K="left",G="right",U="@noflip",j=((z={})[K]=G,z[G]=K,z),q={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function Y(e,t,o){if(e.rtl){var n=t[o];if(!n)return;var r=t[o+1];if("string"==typeof r&&r.indexOf(U)>=0)t[o+1]=r.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(n.indexOf(K)>=0)t[o]=n.replace(K,G);else if(n.indexOf(G)>=0)t[o]=n.replace(G,K);else if(String(r).indexOf(K)>=0)t[o+1]=r.replace(K,G);else if(String(r).indexOf(G)>=0)t[o+1]=r.replace(G,K);else if(j[n])t[o]=j[n];else if(q[r])t[o+1]=q[r];else switch(n){case"margin":case"padding":t[o+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(r);break;case"box-shadow":t[o+1]=function(e,t){var o=e.split(" "),n=parseInt(o[0],10);return o[0]=o[0].replace(String(n),String(-1*n)),o.join(" ")}(r)}}}var Z="displayName",X=/\:global\((.+?)\)/g;function Q(e,t){return e.indexOf(":global(")>=0?e.replace(X,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function J(e,t,o,n,r){void 0===t&&(t={__order:[]}),0===o.indexOf("@")?$([n],t,o=o+"{"+e,r):o.indexOf(",")>-1?function(e){if(!X.test(e))return e;for(var t=[],o=/\:global\((.+?)\)/g,n=null;n=o.exec(e);)n[1].indexOf(",")>-1&&t.push([n.index,n.index+n[0].length,n[1].split(",").map((function(e){return":global(".concat(e.trim(),")")})).join(", ")]);return t.reverse().reduce((function(e,t){var o=t[0],n=t[1],r=t[2];return e.slice(0,o)+r+e.slice(n)}),e)}(o).split(",").map((function(e){return e.trim()})).forEach((function(o){return $([n],t,Q(o,e),r)})):$([n],t,Q(o,e),r)}function $(e,t,o,n){void 0===t&&(t={__order:[]}),void 0===o&&(o="&");var r,i=t[o];i||(i={},t[o]=i,t.__order.push(o));for(var a=0,s=e;a=0||0===r.indexOf(":")?null!=d&&J(o,t,u,d,n):void 0!==d&&("margin"===u||"padding"===u?ee(i,u,d):i[u]=d)}}return t}function ee(e,t,o){var n="string"==typeof o?function(e){for(var t=[],o=0,n=0,r=0;ro&&t.push(e.substring(o,r)),o=r+1)}return oo&&t.push({rawString:e.substring(o,r)}),t.push({theme:n[1],defaultValue:n[2]}),o=Gt.lastIndex}t.push({rawString:e.substring(o)})}return t}(e),n=Kt.runState,r=n.mode,i=n.buffer,a=n.flushTimer;t||1===r?(i.push(o),a||(Kt.runState.flushTimer=setTimeout((function(){Kt.runState.flushTimer=0,jt((function(){var e=Kt.runState.buffer.slice();Kt.runState.buffer=[];var t=[].concat.apply([],e);t.length>0&&Yt(t)}))}),0))):Yt(o)}))}function Yt(e,t){Kt.loadStyles?Kt.loadStyles(Xt(e).styleString,e):function(e){if("undefined"!=typeof document){var t=document.getElementsByTagName("head")[0],o=document.createElement("style"),n=Xt(e),r=n.styleString,i=n.themable;o.setAttribute("data-load-themed-styles","true"),o.type="text/css",Vt&&o.setAttribute("nonce",Vt),o.appendChild(document.createTextNode(r)),Kt.perf.count++,t.appendChild(o);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1),a.args={newStyle:o},document.dispatchEvent(a);var s={styleElement:o,themableStyle:e};i?Kt.registeredThemableStyles.push(s):Kt.registeredStyles.push(s)}}(e)}function Zt(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function Xt(e){var t=Kt.theme,o=!1;return{styleString:(e||[]).map((function(e){var n=e.theme;if(n){o=!0;var r=t?t[n]:void 0,i=e.defaultValue||"inherit";return t&&!r&&console&&!(n in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'+n+'". Falling back to "'+i+'".'),r||i}return e.rawString})).join(""),themable:o}}!function(e){e.depth0="0 0 0 0 transparent",e.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",e.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",e.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",e.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)"}(Bt||(Bt={}));var Qt={elevation4:Bt.depth4,elevation8:Bt.depth8,elevation16:Bt.depth16,elevation64:Bt.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"};function Jt(e){for(var t=[],o=1;o-1;e[n]=i?r:$t(e[n]||{},r,o)}}return o.pop(),e}function eo(e,t,o,n,r){return void 0===r&&(r=!1),function(e,t){var o="";return!0===t&&(o=" /* @deprecated */"),e.listTextColor=e.listText+o,e.menuItemBackgroundChecked+=o,e.warningHighlight+=o,e.warningText=e.messageText+o,e.successText+=o,e}(to(e,t,f({primaryButtonBorder:"transparent",errorText:n?"#F1707B":"#a4262c",messageText:n?"#F3F2F1":"#323130",messageLink:n?"#6CB8F6":"#005A9E",messageLinkHovered:n?"#82C7FF":"#004578",infoIcon:n?"#C8C6C4":"#605e5c",errorIcon:n?"#F1707B":"#A80000",blockingIcon:n?"#442726":"#FDE7E9",warningIcon:n?"#C8C6C4":"#797775",severeWarningIcon:n?"#FCE100":"#D83B01",successIcon:n?"#92C353":"#107C10",infoBackground:n?"#323130":"#f3f2f1",errorBackground:n?"#442726":"#FDE7E9",blockingBackground:n?"#442726":"#FDE7E9",warningBackground:n?"#433519":"#FFF4CE",severeWarningBackground:n?"#4F2A0F":"#FED9CC",successBackground:n?"#393D1B":"#DFF6DD",warningHighlight:n?"#fff100":"#ffb900",successText:n?"#92c353":"#107C10"},o),n),r)}function to(e,t,o,n,r){void 0===r&&(r=!1);var i={},a=e||{},s=a.white,l=a.black,c=a.themePrimary,u=a.themeDark,d=a.themeDarker,p=a.themeDarkAlt,h=a.themeLighter,m=a.neutralLight,g=a.neutralLighter,v=a.neutralDark,b=a.neutralQuaternary,y=a.neutralQuaternaryAlt,C=a.neutralPrimary,_=a.neutralSecondary,S=a.neutralSecondaryAlt,x=a.neutralTertiary,k=a.neutralTertiaryAlt,w=a.neutralLighterAlt,I=a.accent;return s&&(i.bodyBackground=s,i.bodyFrameBackground=s,i.accentButtonText=s,i.buttonBackground=s,i.primaryButtonText=s,i.primaryButtonTextHovered=s,i.primaryButtonTextPressed=s,i.inputBackground=s,i.inputForegroundChecked=s,i.listBackground=s,i.menuBackground=s,i.cardStandoutBackground=s),l&&(i.bodyTextChecked=l,i.buttonTextCheckedHovered=l),c&&(i.link=c,i.primaryButtonBackground=c,i.inputBackgroundChecked=c,i.inputIcon=c,i.inputFocusBorderAlt=c,i.menuIcon=c,i.menuHeader=c,i.accentButtonBackground=c),u&&(i.primaryButtonBackgroundPressed=u,i.inputBackgroundCheckedHovered=u,i.inputIconHovered=u),d&&(i.linkHovered=d),p&&(i.primaryButtonBackgroundHovered=p),h&&(i.inputPlaceholderBackgroundChecked=h),m&&(i.bodyBackgroundChecked=m,i.bodyFrameDivider=m,i.bodyDivider=m,i.variantBorder=m,i.buttonBackgroundCheckedHovered=m,i.buttonBackgroundPressed=m,i.listItemBackgroundChecked=m,i.listHeaderBackgroundPressed=m,i.menuItemBackgroundPressed=m,i.menuItemBackgroundChecked=m),g&&(i.bodyBackgroundHovered=g,i.buttonBackgroundHovered=g,i.buttonBackgroundDisabled=g,i.buttonBorderDisabled=g,i.primaryButtonBackgroundDisabled=g,i.disabledBackground=g,i.listItemBackgroundHovered=g,i.listHeaderBackgroundHovered=g,i.menuItemBackgroundHovered=g),b&&(i.primaryButtonTextDisabled=b,i.disabledSubtext=b),y&&(i.listItemBackgroundCheckedHovered=y),x&&(i.disabledBodyText=x,i.variantBorderHovered=(null==o?void 0:o.variantBorderHovered)||x,i.buttonTextDisabled=x,i.inputIconDisabled=x,i.disabledText=x),C&&(i.bodyText=C,i.actionLink=C,i.buttonText=C,i.inputBorderHovered=C,i.inputText=C,i.listText=C,i.menuItemText=C),w&&(i.bodyStandoutBackground=w,i.defaultStateBackground=w),v&&(i.actionLinkHovered=v,i.buttonTextHovered=v,i.buttonTextChecked=v,i.buttonTextPressed=v,i.inputTextHovered=v,i.menuItemTextHovered=v),_&&(i.bodySubtext=_,i.focusBorder=_,i.inputBorder=_,i.smallInputBorder=_,i.inputPlaceholderText=_),S&&(i.buttonBorder=S),k&&(i.disabledBodySubtext=k,i.disabledBorder=k,i.buttonBackgroundChecked=k,i.menuDivider=k),I&&(i.accentButtonBackground=I),(null==t?void 0:t.elevation4)&&(i.cardShadow=t.elevation4),!n&&(null==t?void 0:t.elevation8)?i.cardShadowHovered=t.elevation8:i.variantBorderHovered&&(i.cardShadowHovered="0 0 1px "+i.variantBorderHovered),f(f({},i),o)}function oo(e,t){var o,n,r;void 0===t&&(t={});var i=Jt({},e,t,{semanticColors:to(t.palette,t.effects,t.semanticColors,void 0===t.isInverted?e.isInverted:t.isInverted)});if((null===(o=t.palette)||void 0===o?void 0:o.themePrimary)&&!(null===(n=t.palette)||void 0===n?void 0:n.accent)&&(i.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var a=0,s=Object.keys(i.fonts);a0&&(void 0===(r=1)&&(r=3),3!==r&&2!==r||(Zt(Kt.registeredStyles),Kt.registeredStyles=[]),3!==r&&1!==r||(Zt(Kt.registeredThemableStyles),Kt.registeredThemableStyles=[]),Yt([].concat.apply([],e)))}var r}()}(f(f(f(f({},io.palette),io.semanticColors),io.effects),function(e){for(var t={},o=0,n=Object.keys(e.fonts);o0&&i>t)&&(r=No(),i=0,a=ko),c=r;for(var u=0;u10?" (+ ".concat(Mn.length-10," more)"):"")),Nn=void 0,Mn=[]}),2e3)))}var An={display:"inline-block"};function Fn(e){var t="",o=Pn(e);return o&&(t=ie(o.subset.className,An,{selectors:{"::before":{content:'"'.concat(o.code,'"')}}})),t}function Ln(){for(var e=[],t=0;t0){o.subComponentStyles={};var p=o.subComponentStyles,h=function(e){if(n.hasOwnProperty(e)){var t=n[e];p[e]=function(e){return Ln.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var c in n)h(c)}return o}function Hn(e){for(var t=[],o=1;o(e.cacheSize||fr)){var m=gt();(null===(s=null==m?void 0:m.FabricConfig)||void 0===s?void 0:s.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is ".concat(o,"/").concat(n,".")),console.trace()),t.get(c).clear(),o=0,e.disableCaching=!0}return u[yr]}}function _r(e,t){return t=function(e){switch(e){case void 0:return"__undefined__";case null:return"__null__";default:return e}}(t),e.has(t)||e.set(t,new Map),e.get(t)}function Sr(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var o=0,n=t.__cachedInputs__;o=0||0===s.indexOf("data-")||0===s.indexOf("aria-"))||o&&-1!==(null==o?void 0:o.indexOf(s))||(r[s]=e[s])}return r}var Qr,Jr,$r,ei,ti=/[\(\[\{\<][^\)\]\}\>]*[\)\]\}\>]/g,oi=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,ni=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,ri=/\s+/g,ii=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function ai(e,t,o){return e?(e=function(e){return(e=(e=(e=e.replace(ti,"")).replace(oi,"")).replace(ri," ")).trim()}(e),ii.test(e)||!o&&ni.test(e)?"":function(e,t){var o="",n=e.split(" ");return 2===n.length?(o+=n[0].charAt(0).toUpperCase(),o+=n[1].charAt(0).toUpperCase()):3===n.length?(o+=n[0].charAt(0).toUpperCase(),o+=n[2].charAt(0).toUpperCase()):0!==n.length&&(o+=n[0].charAt(0).toUpperCase()),t&&o.length>1?o.charAt(1)+o.charAt(0):o}(e,t)):""}!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(Qr||(Qr={})),function(e){e[e.center=0]="center",e[e.contain=1]="contain",e[e.cover=2]="cover",e[e.none=3]="none",e[e.centerCover=4]="centerCover",e[e.centerContain=5]="centerContain"}(Jr||(Jr={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}($r||($r={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(ei||(ei={}));var si=pt()?C.useLayoutEffect:C.useEffect;function li(){for(var e=[],t=0;t0&&t.current.naturalHeight>0||t.current.complete&&ui.test(i))&&l(ei.loaded)})),C.useEffect((function(){null==o||o(s)}),[s]);var c=C.useCallback((function(e){null==n||n(e),i&&l(ei.loaded)}),[i,n]),u=C.useCallback((function(e){null==r||r(e),l(ei.error)}),[r]);return[s,c,u]}(e,n),i=r[0],a=r[1],s=r[2],l=Xr(e,qr,["width","height"]),c=e.src,u=e.alt,d=e.width,p=e.height,h=e.shouldFadeIn,m=void 0===h||h,g=e.shouldStartVisible,v=e.className,b=e.imageFit,y=e.role,_=e.maximizeFrame,S=e.styles,x=e.theme,k=e.loading,w=function(e,t,o,n){var r=C.useRef(t),i=C.useRef();return(void 0===i||r.current===ei.notLoaded&&t===ei.loaded)&&(i.current=function(e,t,o,n){var r=e.imageFit,i=e.width,a=e.height;if(void 0!==e.coverStyle)return e.coverStyle;if(t===ei.loaded&&(r===Jr.cover||r===Jr.contain||r===Jr.centerContain||r===Jr.centerCover)&&o.current&&n.current){var s;if(s="number"==typeof i&&"number"==typeof a&&r!==Jr.centerContain&&r!==Jr.centerCover?i/a:n.current.clientWidth/n.current.clientHeight,o.current.naturalWidth/o.current.naturalHeight>s)return $r.landscape}return $r.portrait}(e,t,o,n)),r.current=t,i.current}(e,i,n,o),I=ci(S,{theme:x,className:v,width:d,height:p,maximizeFrame:_,shouldFadeIn:m,shouldStartVisible:g,isLoaded:i===ei.loaded||i===ei.notLoaded&&e.shouldStartVisible,isLandscape:w===$r.landscape,isCenter:b===Jr.center,isCenterContain:b===Jr.centerContain,isCenterCover:b===Jr.centerCover,isContain:b===Jr.contain,isCover:b===Jr.cover,isNone:b===Jr.none,isError:i===ei.error,isNotImageFit:void 0===b});return C.createElement("div",{className:I.root,style:{width:d,height:p},ref:o},C.createElement("img",f({},l,{onLoad:a,onError:s,key:"fabricImage"+e.src||"",className:I.image,ref:li(n,t),src:c,alt:u,role:y,loading:k})))}));di.displayName="ImageBase";var pi={root:"ms-Image",rootMaximizeFrame:"ms-Image--maximizeFrame",image:"ms-Image-image",imageCenter:"ms-Image-image--center",imageContain:"ms-Image-image--contain",imageCover:"ms-Image-image--cover",imageCenterContain:"ms-Image-image--centerContain",imageCenterCover:"ms-Image-image--centerCover",imageNone:"ms-Image-image--none",imageLandscape:"ms-Image-image--landscape",imagePortrait:"ms-Image-image--portrait"},hi=lr(di,(function(e){var t=e.className,o=e.width,n=e.height,r=e.maximizeFrame,i=e.isLoaded,a=e.shouldFadeIn,s=e.shouldStartVisible,l=e.isLandscape,c=e.isCenter,u=e.isContain,d=e.isCover,p=e.isCenterContain,h=e.isCenterCover,m=e.isNone,f=e.isError,g=e.isNotImageFit,v=e.theme,b=Ao(pi,v),y={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},C=gt(),_=void 0!==C&&void 0===C.navigator.msMaxTouchPoints,S=u&&l||d&&!l?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[b.root,v.fonts.medium,{overflow:"hidden"},r&&[b.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&a&&!s&&it.fadeIn400,(c||u||d||p||h)&&{position:"relative"},t],image:[b.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],c&&[b.imageCenter,y],u&&[b.imageContain,_&&{width:"100%",height:"100%",objectFit:"contain"},!_&&S,!_&&y],d&&[b.imageCover,_&&{width:"100%",height:"100%",objectFit:"cover"},!_&&S,!_&&y],p&&[b.imageCenterContain,l&&{maxWidth:"100%"},!l&&{maxHeight:"100%"},y],h&&[b.imageCenterCover,l&&{maxHeight:"100%"},!l&&{maxWidth:"100%"},y],m&&[b.imageNone,{width:"auto",height:"auto"}],g&&[!!o&&!n&&{height:"auto",width:"100%"},!o&&!!n&&{height:"100%",width:"auto"},!!o&&!!n&&{height:"100%",width:"100%"}],l&&b.imageLandscape,!l&&b.imagePortrait,!i&&"is-notLoaded",a&&"is-fadeIn",f&&"is-error"]}}),void 0,{scope:"Image"},!0);hi.displayName="Image";var mi=On({root:{display:"inline-block",textDecoration:"inherit"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),fi="ms-Icon";function gi(){for(var e=[],t=0;t32),p=o?o/3<40?o/3+"px":"40px":"",h=o?{fontSize:o?o/6<20?o/6+"px":"20px":"",lineHeight:p}:void 0,m=o?{width:p,height:p}:void 0,f=Mi(r,{theme:a,presence:i,size:e.size,isOutOfOffice:n,presenceColors:l});return i===bi.none?null:C.createElement("div",{role:"presentation",className:f.presence,style:m,title:s,ref:c},d&&C.createElement(Ei,{className:f.presenceIcon,iconName:Bi(e.presence,e.isOutOfOffice),style:h}))}));function Bi(e,t){if(e){var o="SkypeArrow";switch(bi[e]){case"online":return"SkypeCheck";case"away":return t?o:"SkypeClock";case"dnd":return"SkypeMinus";case"offline":return t?o:""}return""}}Ni.displayName="PersonaPresenceBase";var Ai={presence:"ms-Persona-presence",presenceIcon:"ms-Persona-presenceIcon"};function Fi(e){return{color:e,borderColor:e}}function Li(e,t){return{selectors:{":before":{border:"".concat(e," solid ").concat(t)}}}}function Hi(e){return{height:e,width:e}}function Oi(e){return{backgroundColor:e}}var zi=lr(Ni,(function(e){var t,o,n,r,i,a,s=e.theme,l=e.presenceColors,c=s.semanticColors,u=s.fonts,d=Ao(Ai,s),p=Ti(e.size),h=Ri(e.presence),m=l&&l.available||"#6BB700",g=l&&l.away||"#FFAA44",v=l&&l.busy||"#C43148",b=l&&l.dnd||"#C50F1F",y=l&&l.offline||"#8A8886",C=l&&l.oof||"#B4009E",_=l&&l.background||c.bodyBackground,S=h.isOffline||e.isOutOfOffice&&(h.isAvailable||h.isBusy||h.isAway||h.isDoNotDisturb),x=p.isSize72||p.isSize100?"2px":"1px";return{presence:[d.presence,f(f({position:"absolute",height:Si.size12,width:Si.size12,borderRadius:"50%",top:"auto",right:"-2px",bottom:"-2px",border:"2px solid ".concat(_),textAlign:"center",boxSizing:"content-box",backgroundClip:"border-box"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:(t={},t[Fo]={borderColor:"Window",backgroundColor:"WindowText"},t)}),(p.isSize8||p.isSize10)&&{right:"auto",top:"7px",left:0,border:0,selectors:(o={},o[Fo]={top:"9px",border:"1px solid WindowText"},o)},(p.isSize8||p.isSize10||p.isSize24||p.isSize28||p.isSize32)&&Hi(Si.size8),(p.isSize40||p.isSize48)&&Hi(Si.size12),p.isSize16&&{height:Si.size6,width:Si.size6,borderWidth:"1.5px"},p.isSize56&&Hi(Si.size16),p.isSize72&&Hi(Si.size20),p.isSize100&&Hi(Si.size28),p.isSize120&&Hi(Si.size32),h.isAvailable&&{backgroundColor:m,selectors:(n={},n[Fo]=Oi("Highlight"),n)},h.isAway&&Oi(g),h.isBlocked&&[{selectors:(r={":after":p.isSize40||p.isSize48||p.isSize72||p.isSize100?{content:'""',width:"100%",height:x,backgroundColor:v,transform:"translateY(-50%) rotate(-45deg)",position:"absolute",top:"50%",left:0}:void 0},r[Fo]={selectors:{":after":{width:"calc(100% - 4px)",left:"2px",backgroundColor:"Window"}}},r)}],h.isBusy&&Oi(v),h.isDoNotDisturb&&Oi(b),h.isOffline&&Oi(y),(S||h.isBlocked)&&[{backgroundColor:_,selectors:(i={":before":{content:'""',width:"100%",height:"100%",position:"absolute",top:0,left:0,border:"".concat(x," solid ").concat(v),borderRadius:"50%",boxSizing:"border-box"}},i[Fo]={backgroundColor:"WindowText",selectors:{":before":{width:"calc(100% - 2px)",height:"calc(100% - 2px)",top:"1px",left:"1px",borderColor:"Window"}}},i)}],S&&h.isAvailable&&Li(x,m),S&&h.isBusy&&Li(x,v),S&&h.isAway&&Li(x,C),S&&h.isDoNotDisturb&&Li(x,b),S&&h.isOffline&&Li(x,y),S&&h.isOffline&&e.isOutOfOffice&&Li(x,C)],presenceIcon:[d.presenceIcon,{color:_,fontSize:"6px",lineHeight:Si.size12,verticalAlign:"top",selectors:(a={},a[Fo]={color:"Window"},a)},p.isSize56&&{fontSize:"8px",lineHeight:Si.size16},p.isSize72&&{fontSize:u.small.fontSize,lineHeight:Si.size20},p.isSize100&&{fontSize:u.medium.fontSize,lineHeight:Si.size28},p.isSize120&&{fontSize:u.medium.fontSize,lineHeight:Si.size32},h.isAway&&{position:"relative",left:S?void 0:"1px"},S&&h.isAvailable&&Fi(m),S&&h.isBusy&&Fi(v),S&&h.isAway&&Fi(C),S&&h.isDoNotDisturb&&Fi(b),S&&h.isOffline&&Fi(y),S&&h.isOffline&&e.isOutOfOffice&&Fi(C)]}}),void 0,{scope:"PersonaPresence"}),Wi=[yi.lightBlue,yi.blue,yi.darkBlue,yi.teal,yi.green,yi.darkGreen,yi.lightPink,yi.pink,yi.magenta,yi.purple,yi.orange,yi.lightRed,yi.darkRed,yi.violet,yi.gold,yi.burgundy,yi.warmGray,yi.cyan,yi.rust,yi.coolGray],Vi=Wi.length;function Ki(e){var t=e.primaryText,o=e.text,n=e.initialsColor;return"string"==typeof n?n:function(e){switch(e){case yi.lightBlue:return"#4F6BED";case yi.blue:return"#0078D4";case yi.darkBlue:return"#004E8C";case yi.teal:return"#038387";case yi.lightGreen:case yi.green:return"#498205";case yi.darkGreen:return"#0B6A0B";case yi.lightPink:return"#C239B3";case yi.pink:return"#E3008C";case yi.magenta:return"#881798";case yi.purple:return"#5C2E91";case yi.orange:return"#CA5010";case yi.red:return"#EE1111";case yi.lightRed:return"#D13438";case yi.darkRed:return"#A4262C";case yi.transparent:return"transparent";case yi.violet:return"#8764B8";case yi.gold:return"#986F0B";case yi.burgundy:return"#750B1C";case yi.warmGray:return"#7A7574";case yi.cyan:return"#005B70";case yi.rust:return"#8E562E";case yi.coolGray:return"#69797E";case yi.black:return"#1D1D1D";case yi.gray:return"#393939"}}(n=void 0!==n?n:function(e){var t=yi.blue;if(!e)return t;for(var o=0,n=e.length-1;n>=0;n--){var r=e.charCodeAt(n),i=n%8;o^=(r<>8-i)}return Wi[o%Vi]}(o||t))}var Gi=Cr({cacheSize:100}),Ui=Ro((function(e,t,o,n,r,i){return ie(e,!i&&{backgroundColor:Ki({text:n,initialsColor:t,primaryText:r}),color:o})})),ji={size:vi.size48,presence:bi.none,imageAlt:""},qi=C.forwardRef((function(e,t){var o=xr(ji,e),n=function(e){var t=e.onPhotoLoadingStateChange,o=e.imageUrl,n=C.useState(ei.notLoaded),r=n[0],i=n[1];return C.useEffect((function(){i(ei.notLoaded)}),[o]),[r,function(e){i(e),null==t||t(e)}]}(o),r=n[0],i=n[1],a=Yi(i),s=o.className,l=o.coinProps,c=o.showUnknownPersonaCoin,u=o.coinSize,d=o.styles,p=o.imageUrl,h=o.initialsColor,m=o.initialsTextColor,g=o.isOutOfOffice,v=o.onRenderCoin,b=void 0===v?a:v,y=o.onRenderPersonaCoin,_=void 0===y?b:y,S=o.onRenderInitials,x=void 0===S?Zi:S,k=o.presence,w=o.presenceTitle,I=o.presenceColors,D=o.primaryText,E=o.showInitialsUntilImageLoads,T=o.text,P=o.theme,R=o.size,M=Xr(o,Zr),N=Xr(l||{},Zr),B=u?{width:u,height:u}:void 0,A=c,F={coinSize:u,isOutOfOffice:g,presence:k,presenceTitle:w,presenceColors:I,size:R,theme:P},L=Gi(d,{theme:P,className:l&&l.className?l.className:s,size:R,coinSize:u,showUnknownPersonaCoin:c}),H=Boolean(r!==ei.loaded&&(E&&p||!p||r===ei.error||A));return C.createElement("div",f({role:"presentation"},M,{className:L.coin,ref:t}),R!==vi.size8&&R!==vi.size10&&R!==vi.tiny?C.createElement("div",f({role:"presentation"},N,{className:L.imageArea,style:B}),H&&C.createElement("div",{className:Ui(L.initials,h,m,T,D,c),style:B,"aria-hidden":"true"},x(o,Zi)),!A&&_(o,a),C.createElement(zi,f({},F))):o.presence?C.createElement(zi,f({},F)):C.createElement(Ei,{iconName:"Contact",className:L.size10WithoutPresenceIcon}),o.children)}));qi.displayName="PersonaCoinBase";var Yi=function(e){return function(t){var o=t.coinSize,n=t.styles,r=t.imageUrl,i=t.imageAlt,a=t.imageShouldFadeIn,s=t.imageShouldStartVisible,l=t.theme,c=t.showUnknownPersonaCoin,u=t.size,d=void 0===u?ji.size:u;if(!r)return null;var p=Gi(n,{theme:l,size:d,showUnknownPersonaCoin:c}),h=o||Pi[d];return C.createElement(hi,{className:p.image,imageFit:Jr.cover,src:r,width:h,height:h,alt:i,shouldFadeIn:a,shouldStartVisible:s,onLoadingStateChange:e})}},Zi=function(e){var t=e.imageInitials,o=e.allowPhoneInitials,n=e.showUnknownPersonaCoin,r=e.text,i=e.primaryText,a=e.theme;if(n)return C.createElement(Ei,{iconName:"Help"});var s=pr(a);return""!==(t=t||ai(r||i||"",s,o))?C.createElement("span",null,t):C.createElement(Ei,{iconName:"Contact"})},Xi={coin:"ms-Persona-coin",imageArea:"ms-Persona-imageArea",image:"ms-Persona-image",initials:"ms-Persona-initials",size8:"ms-Persona--size8",size10:"ms-Persona--size10",size16:"ms-Persona--size16",size24:"ms-Persona--size24",size28:"ms-Persona--size28",size32:"ms-Persona--size32",size40:"ms-Persona--size40",size48:"ms-Persona--size48",size56:"ms-Persona--size56",size72:"ms-Persona--size72",size100:"ms-Persona--size100",size120:"ms-Persona--size120"},Qi=lr(qi,(function(e){var t,o=e.className,n=e.theme,r=e.coinSize,i=n.palette,a=n.fonts,s=Ti(e.size),l=Ao(Xi,n),c=r||e.size&&Pi[e.size]||48;return{coin:[l.coin,a.medium,s.isSize8&&l.size8,s.isSize10&&l.size10,s.isSize16&&l.size16,s.isSize24&&l.size24,s.isSize28&&l.size28,s.isSize32&&l.size32,s.isSize40&&l.size40,s.isSize48&&l.size48,s.isSize56&&l.size56,s.isSize72&&l.size72,s.isSize100&&l.size100,s.isSize120&&l.size120,o],size10WithoutPresenceIcon:{fontSize:a.xSmall.fontSize,position:"absolute",top:"5px",right:"auto",left:0},imageArea:[l.imageArea,{position:"relative",textAlign:"center",flex:"0 0 auto",height:c,width:c},c<=10&&{overflow:"visible",background:"transparent",height:0,width:0}],image:[l.image,{marginRight:"10px",position:"absolute",top:0,left:0,width:"100%",height:"100%",border:0,borderRadius:"50%",perspective:"1px"},c<=10&&{overflow:"visible",background:"transparent",height:0,width:0},c>10&&{height:c,width:c}],initials:[l.initials,{borderRadius:"50%",color:e.showUnknownPersonaCoin?"rgb(168, 0, 0)":i.white,fontSize:a.large.fontSize,fontWeight:nt.semibold,lineHeight:48===c?46:c,height:c,selectors:(t={},t[Fo]=f(f({border:"1px solid WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"WindowText",boxSizing:"border-box",backgroundColor:"Window !important"}),t.i={fontWeight:nt.semibold},t)},e.showUnknownPersonaCoin&&{backgroundColor:"rgb(234, 234, 234)"},c<32&&{fontSize:a.xSmall.fontSize},c>=32&&c<40&&{fontSize:a.medium.fontSize},c>=40&&c<56&&{fontSize:a.mediumPlus.fontSize},c>=56&&c<72&&{fontSize:a.xLarge.fontSize},c>=72&&c<100&&{fontSize:a.xxLarge.fontSize},c>=100&&{fontSize:a.superLarge.fontSize}]}}),void 0,{scope:"PersonaCoin"}),Ji=function(e){function t(t){var o=e.call(this,t)||this;return o._onRenderIcon=function(e){return e.activityPersonas?o._onRenderPersonaArray(e):o.props.activityIcon},o._onRenderActivityDescription=function(e){var t=o._getClassNames(e),n=e.activityDescription||e.activityDescriptionText;return n?C.createElement("span",{className:t.activityText},n):null},o._onRenderComments=function(e){var t=o._getClassNames(e),n=e.comments||e.commentText;return!e.isCompact&&n?C.createElement("div",{className:t.commentText},n):null},o._onRenderTimeStamp=function(e){var t=o._getClassNames(e);return!e.isCompact&&e.timeStamp?C.createElement("div",{className:t.timeStamp},e.timeStamp):null},o._onRenderPersonaArray=function(e){var t=o._getClassNames(e),n=null,r=e.activityPersonas;if(r[0].imageUrl||r[0].imageInitials){var i=[],a=r.length>1||e.isCompact,s=e.isCompact?3:4,l=void 0;e.isCompact&&(l={display:"inline-block",width:"10px",minWidth:"10px",overflow:"visible"}),r.filter((function(e,t){return t-1};function ea(e){for(var t=[],o=1;o=a&&(!t||s)?(c=o,u&&(n.clearTimeout(u),u=null),r=e.apply(n._parent,i)):null===u&&l&&(u=n.setTimeout(d,h)),r};return function(){for(var e=[],t=0;t=s&&(o=!0),d=t);var r=t-d,a=s-r,m=t-p,v=!1;return null!==u&&(m>=u&&h?v=!0:a=Math.min(a,u-m)),r>=s||v||o?f(t):null!==h&&e||!c||(h=n.setTimeout(g,a)),i},v=function(){return!!h},b=function(){for(var e=[],t=0;t0&&this._inputElement.current.setSelectionRange(s,i.length,pa)}}else this._inputElement.current&&(null===o||this._autoFillEnabled||this.state.isComposing||this._inputElement.current.setSelectionRange(o.start,o.end,o.dir))}},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=Xr(this.props,Ar),t=f(f({},this.props.style),{fontFamily:"inherit"});return C.createElement("input",f({autoCapitalize:"off",autoComplete:"off","aria-autocomplete":"both"},e,{style:t,ref:this._inputElement,value:this._getDisplayValue(),onCompositionStart:this._onCompositionStart,onCompositionUpdate:this._onCompositionUpdate,onCompositionEnd:this._onCompositionEnd,onChange:this._onChanged,onInput:this._onInputChanged,onKeyDown:this._onKeyDown,onClick:this.props.onClick?this.props.onClick:this._onClick,"data-lpignore":!0}))},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.getSnapshotBeforeUpdate=function(){var e,t,o=this._inputElement.current;return o&&o.selectionStart!==this.value.length?{start:null!==(e=o.selectionStart)&&void 0!==e?e:o.value.length,end:null!==(t=o.selectionEnd)&&void 0!==t?t:o.value.length,dir:o.selectionDirection||"backward"}:null},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,o,n){!o&&e&&this._inputElement.current&&this._inputElement.current.selectionStart===e.length&&!this._autoFillEnabled&&(e.length>t.length||n)&&(this._autoFillEnabled=!0)},t.prototype._getDisplayValue=function(){return this._autoFillEnabled?(e=this.value,t=this.props.suggestedDisplayValue,o=e,t&&e&&ma(t,o)&&(o=t),o):this.value;var e,t,o},t.prototype._getControlledValue=function(){var e=this.props.value;return void 0===e||"string"==typeof e?e:(console.warn("props.value of Autofill should be a string, but it is ".concat(e," with type of ").concat(typeof e)),e.toString())},t.defaultProps={enableAutofillOnKeyPress:[ur.down,ur.up]},t.contextType=la,t}(C.Component);function ma(e,t){return!(!e||!t)&&0===e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())}var fa,ga=function(e){function t(t){var o=e.call(this,t)||this;return o.state={isRendered:void 0===gt()},o}return m(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout((function(){e.setState({isRendered:!0})}),t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?C.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(C.Component),va=Cr(),ba=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.message,o=e.styles,n=e.as,r=void 0===n?"div":n,i=e.className,a=va(o,{className:i});return C.createElement(r,f({role:"status",className:a.root},Xr(this.props,Zr,["className"])),C.createElement(ga,null,C.createElement("div",{className:a.screenReaderText},t)))},t.defaultProps={"aria-live":"polite"},t}(C.Component),ya=lr(ba,(function(e){return{root:e.className,screenReaderText:vo}}),void 0,{scope:"Announced"}),Ca={none:0,all:1,inputOnly:2};function _a(e,t,o){void 0===o&&(o=0);for(var n=-1,r=o;e&&r=0,s=!(!o||!e.shadowRoot||!e.shadowRoot.delegatesFocus),l=!!e&&"false"!==i&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===i||a||s);return t?-1!==n&&l:l}function Qa(e){return!!(e&&e.getAttribute&&e.getAttribute(Oa))}function Ja(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute(za))}function $a(e){var t=ht(e),o=t&&t.activeElement;return!(!o||!Fa(e,o))}function es(e,t,o){return"true"!==Aa(e,t,null!=o?o:ht())}var ts=void 0;function os(e){if(e){var t=gt(e);t&&(void 0!==ts&&t.cancelAnimationFrame(ts),ts=t.requestAnimationFrame((function(){e&&e.focus(),ts=void 0})))}}function ns(e,t){for(var o=e,n=0,r=t;n0)&&e.preventDefault(),r.scrollHeight-Math.abs(Math.ceil(s))<=r.clientHeight&&(l?t>0:t<0)&&e.preventDefault()}}),{passive:!1}),r=e}},gs=function(e,t){e&&t.on(e,"touchmove",(function(e){e.stopPropagation()}),{passive:!1})},vs=function(e){e.preventDefault()};function bs(){var e=ht();e&&e.body&&!ps&&(e.body.classList.add(hs),e.body.addEventListener("touchmove",vs,{passive:!1,capture:!1})),ps++}function ys(){if(ps>0){var e=ht();e&&e.body&&1===ps&&(e.body.classList.remove(hs),e.body.removeEventListener("touchmove",vs)),ps--}}function Cs(e){if(void 0===ls){var t=null!=e?e:ht(),o=t.createElement("div");o.style.setProperty("width","100px"),o.style.setProperty("height","100px"),o.style.setProperty("overflow","scroll"),o.style.setProperty("position","absolute"),o.style.setProperty("top","-9999px"),t.body.appendChild(o),ls=o.offsetWidth-o.clientWidth,t.body.removeChild(o)}return ls}function _s(e){for(var t=e,o=ht(e);t&&t!==o.body;){if("true"===t.getAttribute(ms))return t;t=t.parentElement}for(t=e;t&&t!==o.body;){if("false"!==t.getAttribute(ms)){var n=getComputedStyle(t),r=n?n.getPropertyValue("overflow-y"):"";if(r&&("scroll"===r||"auto"===r))return t}t=t.parentElement}return t&&t!==o.body||(t=gt(e)),t}var Ss="data-portal-element";function xs(e){e.setAttribute(Ss,"true")}function ks(e,t,o){var n,r=Ba(e,(function(e){var o;return t===e||!!(null===(o=e.hasAttribute)||void 0===o?void 0:o.call(e,Ss))}),o);return null!==r&&!!(null===(n=r.hasAttribute)||void 0===n?void 0:n.call(r,Ss))}var ws,Is=C.createContext(void 0),Ds=function(e){var t=e.shadowRoot,o=g(e,["shadowRoot"]),n=C.useMemo((function(){return{stylesheets:new Map,shadowRoot:t}}),[t]);return C.createElement(Is.Provider,f({value:n},o),C.createElement(Es,null),o.children)},Es=function(e){return(0,rr().useAdoptedStylesheet)(_),null},Ts="data-is-focusable",Ps="data-focuszone-id",Rs="tabindex",Ms="data-no-vertical-wrap",Ns="data-no-horizontal-wrap",Bs=999999999,As=-999999999;function Fs(e,t){var o;"function"==typeof MouseEvent?o=new MouseEvent("click",{ctrlKey:null==t?void 0:t.ctrlKey,metaKey:null==t?void 0:t.metaKey,shiftKey:null==t?void 0:t.shiftKey,altKey:null==t?void 0:t.altKey,bubbles:null==t?void 0:t.bubbles,cancelable:null==t?void 0:t.cancelable}):(o=document.createEvent("MouseEvents")).initMouseEvent("click",!!t&&t.bubbles,!!t&&t.cancelable,window,0,0,0,0,0,!!t&&t.ctrlKey,!!t&&t.altKey,!!t&&t.shiftKey,!!t&&t.metaKey,0,null),e.dispatchEvent(o)}var Ls,Hs={},Os=new Set,zs=["text","number","password","email","tel","url","search","textarea"],Ws=!1,Vs=function(e){function t(o){var n,r,i,a,s=e.call(this,o)||this;s._root=C.createRef(),s._mergedRef=Pa(),s._onFocus=function(e){if(!s._portalContainsElement(e.target)){var t,o=s.props,n=o.onActiveElementChanged,r=o.doNotAllowFocusEventToPropagate,i=o.stopFocusPropagation,a=o.onFocusNotification,l=o.onFocus,c=o.shouldFocusInnerElementWhenReceivedFocus,u=o.defaultTabbableElement,d=s._isImmediateDescendantOfZone(e.target);if(d)t=e.target;else for(var p=e.target;p&&p!==s._root.current;){if(Xa(p,void 0,s._inShadowRoot)&&s._isImmediateDescendantOfZone(p)){t=p;break}p=Na(p,Ws)}if(c&&e.target===s._root.current){var h=u&&"function"==typeof u&&s._root.current&&u(s._root.current);h&&Xa(h,void 0,s._inShadowRoot)?(t=h,h.focus()):(s.focus(!0),s._activeElement&&(t=null))}var m=!s._activeElement;t&&t!==s._activeElement&&((d||m)&&s._setFocusAlignment(t,!0,!0),s._activeElement=t,m&&s._updateTabIndexes()),n&&n(s._activeElement,e),(i||r)&&e.stopPropagation(),l?l(e):a&&a()}},s._onBlur=function(){s._setParkedFocus(!1)},s._onMouseDown=function(e){if(!s._portalContainsElement(e.target)&&!s.props.disabled){for(var t=e.target,o=[];t&&t!==s._root.current;)o.push(t),t=Na(t,Ws);for(;o.length&&((t=o.pop())&&Xa(t,void 0,s._inShadowRoot)&&s._setActiveElement(t,!0),!Qa(t)););}},s._onKeyDown=function(e,t){if(!s._portalContainsElement(e.target)){var o=s.props,n=o.direction,r=o.disabled,i=o.isInnerZoneKeystroke,a=o.pagingSupportDisabled,l=o.shouldEnterInnerZone;if(!(r||(s.props.onKeyDown&&s.props.onKeyDown(e),e.isDefaultPrevented()||s._getDocument().activeElement===s._root.current&&s._isInnerZone))){if((l&&l(e)||i&&i(e))&&s._isImmediateDescendantOfZone(e.target)){var c=s._getFirstInnerZone();if(c){if(!c.focus(!0))return}else{if(!Ja(e.target))return;if(!s.focusElement(qa(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case ur.space:if(s._shouldRaiseClicksOnSpace&&s._tryInvokeClickForFocusable(e.target,e))break;return;case ur.left:if(n!==fa.vertical&&(s._preventDefaultWhenHandled(e),s._moveFocusLeft(t)))break;return;case ur.right:if(n!==fa.vertical&&(s._preventDefaultWhenHandled(e),s._moveFocusRight(t)))break;return;case ur.up:if(n!==fa.horizontal&&(s._preventDefaultWhenHandled(e),s._moveFocusUp()))break;return;case ur.down:if(n!==fa.horizontal&&(s._preventDefaultWhenHandled(e),s._moveFocusDown()))break;return;case ur.pageDown:if(!a&&s._moveFocusPaging(!0))break;return;case ur.pageUp:if(!a&&s._moveFocusPaging(!1))break;return;case ur.tab:if(s.props.allowTabKey||s.props.handleTabKey===Ca.all||s.props.handleTabKey===Ca.inputOnly&&s._isElementInput(e.target)){var u=!1;if(s._processingTabKey=!0,u=n!==fa.vertical&&s._shouldWrapFocus(s._activeElement,Ns)?(pr(t)?!e.shiftKey:e.shiftKey)?s._moveFocusLeft(t):s._moveFocusRight(t):e.shiftKey?s._moveFocusUp():s._moveFocusDown(),s._processingTabKey=!1,u)break;s.props.shouldResetActiveElementWhenTabFromZone&&(s._activeElement=null)}return;case ur.home:if(s._isContentEditableElement(e.target)||s._isElementInput(e.target)&&!s._shouldInputLoseFocus(e.target,!1))return!1;var d=s._root.current&&s._root.current.firstChild;if(s._root.current&&d&&s.focusElement(qa(s._root.current,d,!0)))break;return;case ur.end:if(s._isContentEditableElement(e.target)||s._isElementInput(e.target)&&!s._shouldInputLoseFocus(e.target,!0))return!1;var p=s._root.current&&s._root.current.lastChild;if(s._root.current&&s.focusElement(ja(s._root.current,p,!0,!0,!0)))break;return;case ur.enter:if(s._shouldRaiseClicksOnEnter&&s._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},s._getHorizontalDistanceFromCenter=function(e,t,o){var n=s._focusAlignment.left||s._focusAlignment.x||0,r=Math.floor(o.top),i=Math.floor(t.bottom),a=Math.floor(o.bottom),l=Math.floor(t.top);return e&&r>i||!e&&a=o.left&&n<=o.left+o.width?0:Math.abs(o.left+o.width/2-n):s._shouldWrapFocus(s._activeElement,Ms)?Bs:As},oa(s),s._id=us("FocusZone"),s._focusAlignment={left:0,top:0},s._processingTabKey=!1;var l=null===(r=null!==(n=o.shouldRaiseClicks)&&void 0!==n?n:t.defaultProps.shouldRaiseClicks)||void 0===r||r;return s._shouldRaiseClicksOnEnter=null!==(i=o.shouldRaiseClicksOnEnter)&&void 0!==i?i:l,s._shouldRaiseClicksOnSpace=null!==(a=o.shouldRaiseClicksOnSpace)&&void 0!==a?a:l,s}return m(t,e),t.getOuterZones=function(){return Os.size},t._onKeyDownCapture=function(e){e.which===ur.tab&&Os.forEach((function(e){return e._updateTabIndexes()}))},t.prototype.componentDidMount=function(){var e,o=this._root.current;if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),Hs[this._id]=this,o){for(var n=Na(o,Ws);n&&n!==this._getDocument().body&&1===n.nodeType;){if(Qa(n)){this._isInnerZone=!0;break}n=Na(n,Ws)}this._isInnerZone||(Os.add(this),this._root.current&&this._root.current.addEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0),this._updateTabIndexes(),this.props.defaultTabbableElement&&"string"==typeof this.props.defaultTabbableElement?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement)),this.props.shouldFocusOnMount&&this.focus()}},t.prototype.componentDidUpdate=function(){var e,t=this._root.current,o=this._getDocument();if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),(this._activeElement&&!Fa(this._root.current,this._activeElement,Ws)||this._defaultFocusElement&&!Fa(this._root.current,this._defaultFocusElement,Ws))&&(this._activeElement=null,this._defaultFocusElement=null,this._updateTabIndexes()),!this.props.preventFocusRestoration&&o&&this._lastIndexPath&&(o.activeElement===o.body||null===o.activeElement||o.activeElement===t)){var n=ns(t,this._lastIndexPath);n?(this._setActiveElement(n,!0),n.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete Hs[this._id],this._isInnerZone||(Os.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},t.prototype.render=function(){var e=this,t=this.props,o=t.as,n=t.elementType,r=t.rootProps,i=t.ariaDescribedBy,a=t.ariaLabelledBy,s=t.className,l=Xr(this.props,Dr),c=o||n||"div";this._evaluateFocusBeforeRender();var u=co();return C.createElement(c,f({"aria-labelledby":a,"aria-describedby":i},l,r,{className:gi((ws||(ws=ie({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),ws),s),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(t){return e._onKeyDown(t,u)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},t.prototype.focus=function(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute(Ts)&&this._isInnerZone){var o=this._getOwnerZone(this._root.current);if(o!==this._root.current){var n=Hs[o.getAttribute(Ps)];return!!n&&n.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&Fa(this._root.current,this._activeElement)&&Xa(this._activeElement,void 0,this._inShadowRoot)&&(!t||Za(this._activeElement)))return this._activeElement.focus(),!0;var r=this._root.current.firstChild;return this.focusElement(qa(this._root.current,r,!0,void 0,void 0,void 0,void 0,void 0,t))}return!1},t.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement(ja(this._root.current,e,!0,!0,!0))}return!1},t.prototype.focusElement=function(e,t){var o=this.props,n=o.onBeforeFocus,r=o.shouldReceiveFocus;return!(r&&!r(e)||n&&!n(e)||!e||(this._setActiveElement(e,t),this._activeElement&&this._activeElement.focus(),0))},t.prototype.setFocusAlignment=function(e){this._focusAlignment=e},Object.defineProperty(t.prototype,"defaultFocusElement",{get:function(){return this._defaultFocusElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeElement",{get:function(){return this._activeElement},enumerable:!1,configurable:!0}),t.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var o=t.activeElement;if(o!==e){var n=Fa(e,o,!1);this._lastIndexPath=n?rs(e,o):void 0}}},t.prototype._setParkedFocus=function(e){var t=this._root.current;t&&this._isParked!==e&&(this._isParked=e,e?(this.props.allowFocusRoot||(this._parkedTabIndex=t.getAttribute("tabindex"),t.setAttribute("tabindex","-1")),t.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(t.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):t.removeAttribute("tabindex")))},t.prototype._setActiveElement=function(e,t){var o=this._activeElement;this._activeElement=e,o&&(Qa(o)&&this._updateTabIndexes(o),o.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},t.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()},t.prototype._tryInvokeClickForFocusable=function(e,t){var o=e;if(o===this._root.current)return!1;do{if("BUTTON"===o.tagName||"A"===o.tagName||"INPUT"===o.tagName||"TEXTAREA"===o.tagName||"SUMMARY"===o.tagName)return!1;if(this._isImmediateDescendantOfZone(o)&&"true"===o.getAttribute(Ts)&&"true"!==o.getAttribute("data-disable-click-on-enter"))return Fs(o,t),!0;o=Na(o,Ws)}while(o!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(Qa(e))return Hs[e.getAttribute(Ps)];for(var t=e.firstElementChild;t;){if(Qa(t))return Hs[t.getAttribute(Ps)];var o=this._getFirstInnerZone(t);if(o)return o;t=t.nextElementSibling}return null},t.prototype._moveFocus=function(e,t,o,n){void 0===n&&(n=!0);var r=this._activeElement,i=-1,a=void 0,s=!1,l=this.props.direction===fa.bidirectional;if(!r||!this._root.current)return!1;if(this._isElementInput(r)&&!this._shouldInputLoseFocus(r,e))return!1;var c=l?r.getBoundingClientRect():null;do{if(r=e?qa(this._root.current,r):ja(this._root.current,r),!l){a=r;break}if(r){var u=t(c,r.getBoundingClientRect());if(-1===u&&-1===i){a=r;break}if(u>-1&&(-1===i||u=0&&u<0)break}}while(r);if(a&&a!==this._activeElement)s=!0,this.focusElement(a);else if(this.props.isCircularNavigation&&n)return e?this.focusElement(qa(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(ja(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return s},t.prototype._moveFocusDown=function(){var e=this,t=-1,o=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,(function(n,r){var i=-1,a=Math.floor(r.top),s=Math.floor(n.bottom);return a=s||a===t)&&(t=a,i=o>=r.left&&o<=r.left+r.width?0:Math.abs(r.left+r.width/2-o)),i)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,o=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,(function(n,r){var i=-1,a=Math.floor(r.bottom),s=Math.floor(r.top),l=Math.floor(n.top);return a>l?e._shouldWrapFocus(e._activeElement,Ms)?Bs:As:((-1===t&&a<=l||s===t)&&(t=s,i=o>=r.left&&o<=r.left+r.width?0:Math.abs(r.left+r.width/2-o)),i)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusLeft=function(e){var t=this,o=this._shouldWrapFocus(this._activeElement,Ns);return!!this._moveFocus(pr(e),(function(n,r){var i=-1;return(pr(e)?parseFloat(r.top.toFixed(3))parseFloat(n.top.toFixed(3)))&&r.right<=n.right&&t.props.direction!==fa.vertical?i=n.right-r.right:o||(i=As),i}),void 0,o)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(e){var t=this,o=this._shouldWrapFocus(this._activeElement,Ns);return!!this._moveFocus(!pr(e),(function(n,r){var i=-1;return(pr(e)?parseFloat(r.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)):parseFloat(r.top.toFixed(3))=n.left&&t.props.direction!==fa.vertical?i=r.left-n.left:o||(i=As),i}),void 0,o)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0);var o=this._activeElement;if(!o||!this._root.current)return!1;if(this._isElementInput(o)&&!this._shouldInputLoseFocus(o,e))return!1;var n=_s(o);if(!n)return!1;var r=-1,i=void 0,a=-1,s=-1,l=n.clientHeight,c=o.getBoundingClientRect();do{if(o=e?qa(this._root.current,o):ja(this._root.current,o)){var u=o.getBoundingClientRect(),d=Math.floor(u.top),p=Math.floor(c.bottom),h=Math.floor(u.bottom),m=Math.floor(c.top),f=this._getHorizontalDistanceFromCenter(e,c,u);if(e&&d>p+l||!e&&h-1&&(e&&d>a?(a=d,r=f,i=o):!e&&h-1){var o=e.selectionStart,n=o!==e.selectionEnd,r=e.value,i=e.readOnly;if(n||o>0&&!t&&!i||o!==r.length&&t&&!i||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},t.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||es(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&ks(e,this._root.current)},t.prototype._getDocument=function(){return ht(this._root.current)},t.contextType=Is,t.defaultProps={isCircularNavigation:!1,direction:fa.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},t}(C.Component),Ks=((Ls={})[ur.up]=1,Ls[ur.down]=1,Ls[ur.left]=1,Ls[ur.right]=1,Ls[ur.home]=1,Ls[ur.end]=1,Ls[ur.tab]=1,Ls[ur.pageUp]=1,Ls[ur.pageDown]=1,Ls);function Gs(e){return!!Ks[e]}function Us(e){Ks[e]=1}function js(e){delete Ks[e]}var qs=new WeakMap,Ys=new WeakMap;function Zs(e,t){var o,n=qs.get(e);return o=n?n+t:1,qs.set(e,o),o}function Xs(e){var t=Ys.get(e);return t||(t={onMouseDown:function(t){return el(t,e.registeredProviders)},onPointerDown:function(t){return tl(t,e.registeredProviders)},onKeyDown:function(t){return ol(t,e.registeredProviders)},onKeyUp:function(t){return nl(t,e.registeredProviders)}},Ys.set(e,t),t)}var Qs=C.createContext(void 0);function Js(e){var t=C.useContext(Qs);C.useEffect((function(){var o,n,r,i,a=gt(null==e?void 0:e.current);if(a&&!0!==(null===(o=a.FabricConfig)||void 0===o?void 0:o.disableFocusRects)){var s,l,c,u,d=a;if((null===(n=null==t?void 0:t.providerRef)||void 0===n?void 0:n.current)&&(null===(i=null===(r=null==t?void 0:t.providerRef)||void 0===r?void 0:r.current)||void 0===i?void 0:i.addEventListener)){d=t.providerRef.current;var p=Xs(t);s=p.onMouseDown,l=p.onPointerDown,c=p.onKeyDown,u=p.onKeyUp}else s=el,l=tl,c=ol,u=nl;var h=Zs(d,1);return h<=1&&(d.addEventListener("mousedown",s,!0),d.addEventListener("pointerdown",l,!0),d.addEventListener("keydown",c,!0),d.addEventListener("keyup",u,!0)),function(){var e;a&&!0!==(null===(e=a.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(h=Zs(d,-1))&&(d.removeEventListener("mousedown",s,!0),d.removeEventListener("pointerdown",l,!0),d.removeEventListener("keydown",c,!0),d.removeEventListener("keyup",u,!0))}}}),[t,e])}var $s=function(e){return Js(e.rootRef),null};function el(e,t){an(!1,e.target,t)}function tl(e,t){"mouse"!==e.pointerType&&an(!1,e.target,t)}function ol(e,t){Gs(e.which)&&an(!0,e.target,t)}function nl(e,t){Gs(e.which)&&an(!0,e.target,t)}var rl=Cr(),il=function(e,t){t.as;var o=t.disabled,n=t.target,r=t.href,i=(t.theme,t.getStyles,t.styles,t.componentRef,t.underline,g(t,["as","disabled","target","href","theme","getStyles","styles","componentRef","underline"]));return"string"==typeof e?"a"===e?f({target:n,href:o?void 0:r},i):"button"===e?f({type:"button",disabled:o},i):f(f({},i),{disabled:o}):f({target:n,href:r,disabled:o},i)},al=C.forwardRef((function(e,t){var o=function(e,t){var o=e.as,n=e.className,r=e.disabled,i=e.href,a=e.onClick,s=e.styles,l=e.theme,c=e.underline,u=C.useRef(null),d=li(u,t);(function(e,t){C.useImperativeHandle(e.componentRef,(function(){return{focus:function(){t.current&&t.current.focus()}}}),[t])})(e,u),Js(u);var p=rl(s,{className:n,isButton:!i,isDisabled:r,isUnderlined:c,theme:l}),h=o||(i?"a":"button");return{state:{},slots:{root:h},slotProps:{root:f(f({},il(h,e)),{"aria-disabled":r,className:p.root,onClick:function(e){r?e.preventDefault():a&&a(e)},ref:d})}}}(e,t),n=o.slots,r=o.slotProps;return C.createElement(n.root,f({},r.root))}));al.displayName="LinkBase";var sl={root:"ms-Link"},ll=lr(al,(function(e){var t,o,n,r,i,a,s,l=e.className,c=e.isButton,u=e.isDisabled,d=e.isUnderlined,p=e.theme,h=p.semanticColors,m=h.link,f=h.linkHovered,g=h.disabledText,v=h.focusBorder,b=Ao(sl,p);return{root:[b.root,p.fonts.medium,{color:m,outline:"none",fontSize:"inherit",fontWeight:"inherit",textDecoration:d?"underline":"none",selectors:(t={},t[".".concat(on," &:focus, :host(.").concat(on,") &:focus")]={boxShadow:"0 0 0 1px ".concat(v," inset"),outline:"1px auto ".concat(v),selectors:(o={},o[Fo]={outline:"1px solid WindowText"},o)},t[Fo]={borderBottom:"none"},t)},c&&{background:"none",backgroundColor:"transparent",border:"none",cursor:"pointer",display:"inline",margin:0,overflow:"inherit",padding:0,textAlign:"left",textOverflow:"inherit",userSelect:"text",borderBottom:"1px solid transparent",selectors:(n={},n[Fo]={color:"LinkText",forcedColorAdjust:"none"},n)},!c&&{selectors:(r={},r[Fo]={MsHighContrastAdjust:"auto",forcedColorAdjust:"auto"},r)},u&&["is-disabled",{color:g,cursor:"default"},{selectors:(i={"&:link, &:visited":{pointerEvents:"none"}},i[Fo]={color:"GrayText"},i)}],!u&&{selectors:{"&:active, &:hover, &:active:hover":{color:f,textDecoration:"underline",selectors:(a={},a[Fo]={color:"LinkText"},a)},"&:focus":{color:m,selectors:(s={},s[Fo]={color:"LinkText"},s)}}},b.root,l]}}),void 0,{scope:"Link"});function cl(e,t){if(!e||!t)return!e&&!t;for(var o in e)if(e.hasOwnProperty(o)&&(!t.hasOwnProperty(o)||t[o]!==e[o]))return!1;for(var o in t)if(t.hasOwnProperty(o)&&!e.hasOwnProperty(o))return!1;return!0}function ul(e){for(var t=[],o=1;o-1)for(var a=o.split(/[ ,]+/),s=0;s1?e[1]:""}return this.__className},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new sa(this),this._disposables.push(this.__async)),this.__async},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new fl(this),this._disposables.push(this.__events)),this.__events},enumerable:!1,configurable:!0}),t.prototype._resolveRef=function(e){var t=this;return this.__resolves||(this.__resolves={}),this.__resolves[e]||(this.__resolves[e]=function(o){return t[e]=o}),this.__resolves[e]},t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),e&&t&&e.componentRef!==t.componentRef&&(this._setComponentRef(e.componentRef,null),this._setComponentRef(t.componentRef,this))},t.prototype._warnDeprecations=function(e){this.className,this.props},t.prototype._warnMutuallyExclusive=function(e){this.className,this.props},t.prototype._warnConditionallyRequiredProps=function(e,t,o){this.className,this.props},t.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))},t}(C.Component);function Cl(e,t,o){var n=e[o],r=t[o];(n||r)&&(e[o]=function(){for(var e,t=[],o=0;ot.bottom||e.leftt.right)}function Ul(e,t){var o=[];return e.topt.bottom&&o.push(Pl.bottom),e.leftt.right&&o.push(Pl.right),o}function jl(e,t){return e[Pl[t]]}function ql(e,t,o){return e[Pl[t]]=o,e}function Yl(e,t){var o=ac(t);return(jl(e,o.positiveEdge)+jl(e,o.negativeEdge))/2}function Zl(e,t){return e>0?t:-1*t}function Xl(e,t){return Zl(e,jl(t,e))}function Ql(e,t,o){return Zl(o,jl(e,o)-jl(t,o))}function Jl(e,t,o,n){void 0===n&&(n=!0);var r=jl(e,t)-o,i=ql(e,t,o);return n&&(i=ql(e,-1*t,jl(e,-1*t)-r)),i}function $l(e,t,o,n){return void 0===n&&(n=0),Jl(e,o,jl(t,o)+Zl(o,n))}function ec(e,t,o){return Xl(o,e)>Xl(o,t)}function tc(e,t){for(var o=0,n=0,r=Ul(e,t);n=n}function nc(e,t,o,n){for(var r=0,i=e;rMath.abs(Ql(e,o,-1*t))?-1*t:t}function lc(e,t,o,n,r,i,a,s){var l={},c=dc(t),u=i?o:-1*o,d=r||ac(o).positiveEdge;return a&&!function(e,t,o){return void 0!==o&&jl(e,t)===jl(o,t)}(e,Sc(d),n)||(d=sc(e,d,n)),l[Pl[u]]=Ql(e,c,u),l[Pl[d]]=Ql(e,c,d),s&&(l[Pl[-1*u]]=Ql(e,c,-1*u),l[Pl[-1*d]]=Ql(e,c,-1*d)),l}function cc(e,t,o){var n=Yl(t,e),r=Yl(o,e),i=ac(e),a=i.positiveEdge,s=i.negativeEdge;return n<=r?a:s}function uc(e,t,o,n,r,i,a,s,l){void 0===i&&(i=!1);var c=ic(e,t,n,r,l);return Gl(c,o)?{elementRectangle:c,targetEdge:n.targetEdge,alignmentEdge:n.alignmentEdge}:function(e,t,o,n,r,i,a,s,l){void 0===r&&(r=!1),void 0===a&&(a=0);var c=n.alignmentEdge,u=n.alignTargetEdge,d={elementRectangle:e,targetEdge:n.targetEdge,alignmentEdge:c};s||l||(d=function(e,t,o,n,r,i,a){void 0===r&&(r=!1),void 0===a&&(a=0);var s=[Pl.left,Pl.right,Pl.bottom,Pl.top];pr()&&(s[0]*=-1,s[1]*=-1);for(var l,c=e,u=n.targetEdge,d=n.alignmentEdge,p=u,h=d,m=0;m<4;m++){if(ec(c,o,u))return{elementRectangle:c,targetEdge:u,alignmentEdge:d};if(r&&oc(t,o,u,i)){switch(u){case Pl.bottom:c.bottom=o.bottom;break;case Pl.top:c.top=o.top}return{elementRectangle:c,targetEdge:u,alignmentEdge:d,forcedInBounds:!0}}var f=tc(c,o);(!l||f0&&(s.indexOf(-1*u)>-1?u*=-1:(d=u,u=s.slice(-1)[0]),c=ic(e,t,{targetEdge:u,alignmentEdge:d},a))}return{elementRectangle:c=ic(e,t,{targetEdge:p,alignmentEdge:h},a),targetEdge:p,alignmentEdge:h}}(e,t,o,n,r,i,a));var p=Ul(d.elementRectangle,o),h=s?-d.targetEdge:void 0;if(p.length>0)if(u)if(d.alignmentEdge&&p.indexOf(-1*d.alignmentEdge)>-1){var m=function(e,t,o,n){var r=e.alignmentEdge,i=e.targetEdge,a=-1*r;return{elementRectangle:ic(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},o,n),targetEdge:i,alignmentEdge:a}}(d,t,a,l);if(Gl(m.elementRectangle,o))return m;d=nc(Ul(m.elementRectangle,o),d,o,h)}else d=nc(p,d,o,h);else d=nc(p,d,o,h);return d}(c,t,o,n,i,a,r,s,l)}function dc(e){var t=e.getBoundingClientRect();return new Wl(t.left,t.right,t.top,t.bottom)}function pc(e){return new Wl(e.left,e.right,e.top,e.bottom)}function hc(e,t,o,n,r,i){void 0===r&&(r=!1);var a=e.gapSpace?e.gapSpace:0,s=function(e,t){var o;if(t){if(t.preventDefault){var n=t;o=new Wl(n.clientX,n.clientX,n.clientY,n.clientY)}else if(t.getBoundingClientRect)o=dc(t);else{var r=t,i=r.left||r.x,a=r.top||r.y,s=r.right||i,l=r.bottom||a;o=new Wl(i,s,a,l)}if(!Gl(o,e))for(var c=0,u=Ul(o,e);cMath.abs(jl(h,g)),b[Pl[g]]=jl(h,g),b[Pl[y]]=Ql(h,v,y),{elementPosition:f({},b),closestEdge:cc(p.targetEdge,h,v),targetEdge:g,hideBeak:!C});return f(f({},mc(S,t,_,e.coverTarget,a)),{beakPosition:x})}function vc(e){var t,o,n,r,i=e,a=e,s=e,l=null!==(t=s.left)&&void 0!==t?t:s.x,c=null!==(o=s.top)&&void 0!==o?o:s.y,u=null!==(n=s.right)&&void 0!==n?n:l,d=null!==(r=s.bottom)&&void 0!==r?r:c;return i.stopPropagation?new Wl(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==l&&void 0!==c?new Wl(l,u,c,d):dc(a)}function bc(e,t,o,n,r){return function(e,t,o,n,r){var i=null!=r?r:gt(),a=e.bounds?pc(e.bounds):new Wl(0,i.innerWidth-Cs(),0,i.innerHeight);return mc(hc(e,o,a,n),t,a,e.coverTarget)}(e,t,o,n,r)}function yc(e,t,o,n,r,i,a){return gc(e,t,o,n,r,i,void 0,a)}function Cc(e,t,o,n,r){return function(e,t,o,n,r){return gc(e,t,o,n,!1,void 0,!0,null!=r?r:gt())}(e,t,o,n,r)}function _c(e,t,o,n,r,i){void 0===o&&(o=0);var a=null!=i?i:gt();return function(e,t,o,n,r){var i,a=Kl[t],s=r?-1*a.targetEdge:a.targetEdge;return(i=s===Pl.top?jl(e,a.targetEdge)-n.top-o:s===Pl.bottom?n.bottom-jl(e,a.targetEdge)-o:n.bottom-e.top-o)>0?i:n.height}(vc(e),t,o,n?pc(n):new Wl(0,a.innerWidth-Cs(),0,a.innerHeight),r)}function Sc(e){return-1*e}function xc(e,t){return function(e,t){var o=void 0;if(t.getWindowSegments&&(o=t.getWindowSegments()),void 0===o||o.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var n=0,r=0;if(null!==e&&e.getBoundingClientRect){var i=e.getBoundingClientRect();n=(i.left+i.right)/2,r=(i.top+i.bottom)/2}else null!==e&&(n=e.left||e.x,r=e.top||e.y);for(var a={top:0,left:0,right:0,bottom:0,width:0,height:0},s=0,l=o;s=n&&r&&c.top<=r&&c.bottom>=r&&(a={top:c.top,left:c.left,right:c.right,bottom:c.bottom,width:c.width,height:c.height})}return a}(e,t)}var kc=["TEMPLATE","STYLE","SCRIPT"];function wc(e){var t=ht(e);if(!t)return function(){};for(var o=[];e!==t.body&&e.parentElement;){for(var n=0,r=e.parentElement.children;n0&&s>a&&(n=s-a>1)}r!==n&&i(n)}})),function(){return o.dispose()}})),r}(o,n),m=C.useCallback((function(e){e.which===ur.escape&&p&&(p(e),e.preventDefault(),e.stopPropagation())}),[p]);return Dc(ca(),"keydown",m),C.createElement("div",f({ref:r},Xr(o,Zr),{className:a,role:i,"aria-label":s,"aria-labelledby":l,"aria-describedby":c,onKeyDown:m,style:f({overflowY:h?"scroll":void 0,outline:"none"},u)}),d)}));function Pc(e){var t=C.useRef();return void 0===t.current&&(t.current={value:"function"==typeof e?e():e}),t.current.value}function Rc(e,t){var o,n,r,i=C.useRef(),a=C.useRef(null),s=ca();if(!e||e!==i.current||"string"==typeof e){var l=null==t?void 0:t.current;if(e)if("string"==typeof e)if(null===(o=null==l?void 0:l.getRootNode())||void 0===o?void 0:o.host)a.current=null!==(r=null===(n=null==l?void 0:l.getRootNode())||void 0===n?void 0:n.querySelector(e))&&void 0!==r?r:null;else{var c=ht(l);a.current=c?c.querySelector(e):null}else a.current="stopPropagation"in e||"getBoundingClientRect"in e?e:"current"in e?e.current:e;i.current=e}return[a,s]}Tc.displayName="Popup";var Mc,Nc=function(){var e;return null!==(e=ua())&&void 0!==e?e:"undefined"!=typeof document?document:void 0},Bc=function(){var e;return null!==(e=ca())&&void 0!==e?e:"undefined"!=typeof window?window:void 0},Ac=function(e){var t,o;return null!==(o=null===(t=null==e?void 0:e.window)||void 0===t?void 0:t.document)&&void 0!==o?o:"undefined"!=typeof document?document:void 0},Fc=function(e){var t;return null!==(t=null==e?void 0:e.window)&&void 0!==t?t:"undefined"!=typeof window?window:void 0},Lc=((Mc={})[Pl.top]=it.slideUpIn10,Mc[Pl.bottom]=it.slideDownIn10,Mc[Pl.left]=it.slideLeftIn10,Mc[Pl.right]=it.slideRightIn10,Mc),Hc={opacity:0,filter:"opacity(0)",pointerEvents:"none"},Oc=["role","aria-roledescription"],zc={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:Il.bottomAutoEdge},Wc=Cr({disableCaching:!0});var Vc=C.memo(C.forwardRef((function(e,t){var o=xr(zc,e),n=o.styles,r=o.style,i=o.ariaLabel,a=o.ariaDescribedBy,s=o.ariaLabelledBy,l=o.className,c=o.isBeakVisible,u=o.children,d=o.beakWidth,p=o.calloutWidth,h=o.calloutMaxWidth,m=o.calloutMinWidth,g=o.doNotLayer,v=o.finalHeight,b=o.hideOverflow,y=void 0===b?!!v:b,_=o.backgroundColor,S=o.calloutMaxHeight,x=o.onScroll,k=o.shouldRestoreFocus,w=void 0===k||k,I=o.target,D=o.hidden,E=o.onLayerMounted,T=o.popupProps,P=C.useRef(null),R=li(C.useRef(null),null==T?void 0:T.ref),M=C.useState(null),N=M[0],B=M[1],A=C.useCallback((function(e){B(e)}),[]),F=li(P,t),L=Rc(o.target,{current:N}),H=L[0],O=L[1],z=function(e,t,o){var n=e.bounds,r=e.minPagePadding,i=void 0===r?zc.minPagePadding:r,a=e.target,s=C.useState(!1),l=s[0],c=s[1],u=C.useRef(),d=C.useCallback((function(){if(!u.current||l){var e="function"==typeof n?o?n(a,o):void 0:n;!e&&o&&(e={top:(e=xc(t.current,o)).top+i,left:e.left+i,right:e.right-i,bottom:e.bottom-i,width:e.width-2*i,height:e.height-2*i}),u.current=e,l&&c(!1)}return u.current}),[n,i,a,t,o,l]),p=Ic();return Dc(o,"resize",p.debounce((function(){c(!0)}),500,{leading:!0})),d}(o,H,O),W=function(e,t,o,n,r,i){var a,s=C.useState(),l=s[0],c=s[1],u=C.useRef(0),d=C.useRef(),p=Ic(),h=e.hidden,m=e.target,g=e.finalHeight,v=e.calloutMaxHeight,b=e.onPositioned,y=e.directionalHint,_=e.hideOverflow,S=e.preferScrollResizePositioning,x=Bc(),k=C.useRef();k.current!==i.current&&(k.current=i.current,a=i.current?null==x?void 0:x.getComputedStyle(i.current):void 0);var w=null==a?void 0:a.overflowY;return C.useEffect((function(){if(!h){var i=p.requestAnimationFrame((function(){var i,a,s,p;if(t.current&&o){var h=f(f({},e),{target:n.current,bounds:r()}),y=o.cloneNode(!0);y.style.maxHeight=v?"".concat(v):"",y.style.visibility="hidden",null===(i=o.parentElement)||void 0===i||i.appendChild(y);var C=d.current===m?l:void 0,k=S&&!(_||"clip"===w||"hidden"===w),I=g?Cc(h,t.current,y,C,x):yc(h,t.current,y,C,k,void 0,x);null===(a=o.parentElement)||void 0===a||a.removeChild(y),!l&&I||l&&I&&(p=I,!Gc((s=l).elementPosition,p.elementPosition)||!Gc(s.beakPosition.elementPosition,p.beakPosition.elementPosition))&&u.current<5?(u.current++,c(I)):u.current>0&&(u.current=0,null==b||b(l))}}),o);return d.current=m,function(){p.cancelAnimationFrame(i),d.current=void 0}}c(void 0),u.current=0}),[h,y,p,o,v,t,n,g,r,b,l,e,m,_,S,w,x]),l}(o,P,N,H,z,R),V=function(e,t,o,n){var r,i=e.calloutMaxHeight,a=e.finalHeight,s=e.directionalHint,l=e.directionalHintFixed,c=e.hidden,u=e.gapSpace,d=e.beakWidth,p=e.isBeakVisible,h=e.coverTarget,m=C.useState(),f=m[0],g=m[1],v=null!==(r=null==n?void 0:n.elementPosition)&&void 0!==r?r:{},b=v.top,y=v.bottom,_=(null==o?void 0:o.current)?vc(o.current):void 0;return C.useEffect((function(){var e,o,r=null!==(e=t())&&void 0!==e?e:{},a=r.top,s=r.bottom;(null==n?void 0:n.targetEdge)===Pl.top&&(null==_?void 0:_.top)&&!h&&(s=_.top-function(e,t,o){return fc(e,t,o)}(p,d,u)),"number"==typeof b&&s?o=s-b:"number"==typeof y&&"number"==typeof a&&s&&(o=s-a-y),g(!i&&!c||i&&o&&i>o?o:i||void 0)}),[y,i,a,s,l,t,c,n,b,u,d,p,_,h]),f}(o,z,H,W),K=function(e,t,o,n,r){var i=e.hidden,a=e.onDismiss,s=e.preventDismissOnScroll,l=e.preventDismissOnResize,c=e.preventDismissOnLostFocus,u=e.dismissOnTargetClick,d=e.shouldDismissOnWindowFocus,p=e.preventDismissOnEvent,h=C.useRef(!1),m=Ic(),f=Pc([function(){h.current=!0},function(){h.current=!1}]),g=!!t;return C.useEffect((function(){var e=function(e){g&&!s&&v(e)},t=function(e){l||p&&p(e)||null==a||a(e)},f=function(e){c||v(e)},v=function(e){var t=e.composedPath?e.composedPath():[],i=t.length>0?t[0]:e.target,s=o.current&&!Fa(o.current,i);if(s&&h.current)h.current=!1;else if(!n.current&&s||e.target!==r&&s&&(!n.current||"stopPropagation"in n.current||u||i!==n.current&&!Fa(n.current,i))){if(p&&p(e))return;null==a||a(e)}},b=function(e){d&&((!p||p(e))&&(p||c)||(null==r?void 0:r.document.hasFocus())||null!==e.relatedTarget||null==a||a(e))},y=new Promise((function(o){m.setTimeout((function(){if(!i&&r){var n=[Ol(r,"scroll",e,!0),Ol(r,"resize",t,!0),Ol(r.document.documentElement,"focus",f,!0),Ol(r.document.documentElement,"click",f,!0),Ol(r,"blur",b,!0)];o((function(){n.forEach((function(e){return e()}))}))}}),0)}));return function(){y.then((function(e){return e()}))}}),[i,m,o,n,r,a,d,u,c,l,s,g,p]),f}(o,W,P,H,O),G=K[0],U=K[1],j=(null==W?void 0:W.elementPosition.top)&&(null==W?void 0:W.elementPosition.bottom),q=f(f({},null==W?void 0:W.elementPosition),{maxHeight:V});if(j&&(q.bottom=void 0),function(e,t,o){var n=e.hidden,r=e.setInitialFocus,i=Ic(),a=!!t;C.useEffect((function(){if(!n&&r&&a&&o){var e=i.requestAnimationFrame((function(){return Ua(o)}),o);return function(){return i.cancelAnimationFrame(e)}}}),[n,a,i,o,r])}(o,W,N),C.useEffect((function(){D||null==E||E()}),[D]),!O)return null;var Y=y,Z=c&&!!I,X=Wc(n,{theme:o.theme,className:l,overflowYHidden:Y,calloutWidth:p,positions:W,beakWidth:d,backgroundColor:_,calloutMaxWidth:h,calloutMinWidth:m,doNotLayer:g}),Q=f(f({maxHeight:S||"100%"},r),Y&&{overflowY:"hidden"}),J=o.hidden?{visibility:"hidden"}:void 0;return C.createElement("div",{ref:F,className:X.container,style:J},C.createElement("div",f({},Xr(o,Zr,Oc),{className:gi(X.root,W&&W.targetEdge&&Lc[W.targetEdge]),style:W?f({},q):Hc,tabIndex:-1,ref:A}),Z&&C.createElement("div",{className:X.beak,style:Kc(W)}),Z&&C.createElement("div",{className:X.beakCurtain}),C.createElement(Tc,f({role:o.role,"aria-roledescription":o["aria-roledescription"],ariaDescribedBy:a,ariaLabel:i,ariaLabelledBy:s,className:X.calloutMain,onDismiss:o.onDismiss,onMouseDown:G,onMouseUp:U,onRestoreFocus:o.onRestoreFocus,onScroll:x,shouldRestoreFocus:w,style:Q},T,{ref:R}),u)))})),(function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||cl(e,t)}));function Kc(e){var t,o,n=f(f({},null===(t=null==e?void 0:e.beakPosition)||void 0===t?void 0:t.elementPosition),{display:(null===(o=null==e?void 0:e.beakPosition)||void 0===o?void 0:o.hideBeak)?"none":void 0});return n.top||n.bottom||n.left||n.right||(n.left=0,n.top=0),n}function Gc(e,t){for(var o in t)if(t.hasOwnProperty(o)){var n=e[o],r=t[o];if(void 0===n||void 0===r)return!1;if(n.toFixed(2)!==r.toFixed(2))return!1}return!0}function Uc(e){return{height:e,width:e}}Vc.displayName="CalloutContentBase";var jc={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},qc=lr(Vc,(function(e){var t,o=e.theme,n=e.className,r=e.overflowYHidden,i=e.calloutWidth,a=e.beakWidth,s=e.backgroundColor,l=e.calloutMaxWidth,c=e.calloutMinWidth,u=e.doNotLayer,d=Ao(jc,o),p=o.semanticColors,h=o.effects;return{container:[d.container,{position:"relative"}],root:[d.root,o.fonts.medium,{position:"absolute",display:"flex",zIndex:u?tn.Layer:void 0,boxSizing:"border-box",borderRadius:h.roundedCorner2,boxShadow:h.elevation16,selectors:(t={},t[Fo]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},n,!!i&&{width:i},!!l&&{maxWidth:l},!!c&&{minWidth:c}],beak:[d.beak,{position:"absolute",backgroundColor:p.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},Uc(a),s&&{backgroundColor:s}],beakCurtain:[d.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:p.menuBackground,borderRadius:h.roundedCorner2}],calloutMain:[d.calloutMain,{backgroundColor:p.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",width:"100%",borderRadius:h.roundedCorner2},r&&{overflowY:"hidden"},s&&{backgroundColor:s}]}}),void 0,{scope:"CalloutContent"}),Yc=C.createContext(void 0),Zc=function(){return function(){}};Yc.Provider;var Xc=r(845),Qc=function(e){var t=e.providerRef,o=e.layerRoot,n=C.useState([])[0],r=C.useContext(Qs),i=void 0!==r&&!o,a=C.useMemo((function(){return i?void 0:{providerRef:t,registeredProviders:n,registerProvider:function(e){n.push(e),null==r||r.registerProvider(e)},unregisterProvider:function(e){null==r||r.unregisterProvider(e);var t=n.indexOf(e);t>=0&&n.splice(t,1)}}}),[t,n,r,i]);return C.useEffect((function(){if(a)return a.registerProvider(a.providerRef),function(){return a.unregisterProvider(a.providerRef)}}),[a]),a?C.createElement(Qs.Provider,{value:a},e.children):C.createElement(C.Fragment,null,e.children)};function Jc(e,t){var o=(t||{}).customizations,n=void 0===o?{settings:{},scopedSettings:{}}:o;return{customizations:{settings:dn(n.settings,e.settings),scopedSettings:pn(n.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}var $c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return m(t,e),t.prototype.componentDidMount=function(){Ot.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){Ot.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return C.createElement(ir.Consumer,null,(function(o){var n=Jc(e.props,o);return t&&(n=t(n)),C.createElement(ir.Provider,{value:n},e.props.children)}))},t}(C.Component),eu=Cr(),tu=Ro((function(e,t){return ro(f(f({},e),{rtl:t}))})),ou=C.forwardRef((function(e,t){var o=e.className,n=e.theme,r=e.applyTheme,i=e.applyThemeToBody,a=e.styles,s=eu(a,{theme:n,applyTheme:r,className:o}),l=C.useRef(null);return function(e,t,o){var n=t.bodyThemed;C.useEffect((function(){if(e){var t=ht(o.current);if(t)return t.body.classList.add(n),function(){t.body.classList.remove(n)}}}),[n,e,o])}(i,s,l),C.createElement(C.Fragment,null,function(e,t,o,n){var r=t.root,i=e.as,a=void 0===i?"div":i,s=e.dir,l=e.theme,c=Xr(e,Zr,["dir"]),u=function(e){var t=e.theme,o=e.dir,n=pr(t)?"rtl":"ltr",r=pr()?"rtl":"ltr",i=o||n;return{rootDir:i!==n||i!==r?i:o,needsTheme:i!==n}}(e),d=u.rootDir,p=u.needsTheme,h=C.createElement(Qc,{providerRef:o},C.createElement(a,f({dir:d},c,{className:r,ref:li(o,n)})));return p&&(h=C.createElement($c,{settings:{theme:tu(l,"rtl"===s)}},h)),h}(e,s,l,t))}));ou.displayName="FabricBase";var nu={fontFamily:"inherit"},ru={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},iu=lr(ou,(function(e){var t=e.applyTheme,o=e.className,n=e.preventBlanketFontInheritance,r=e.theme;return{root:[Ao(ru,r).root,r.fonts.medium,{color:r.palette.neutralPrimary},!n&&{"& button":nu,"& input":nu,"& textarea":nu},t&&{color:r.semanticColors.bodyText,backgroundColor:r.semanticColors.bodyBackground},o],bodyThemed:[{backgroundColor:r.semanticColors.bodyBackground}]}}),void 0,{scope:"Fabric"});function au(e,t){var o=e,n=t;o._virtual||(o._virtual={children:[]});var r=o._virtual.parent;if(r&&r!==t){var i=r._virtual.children.indexOf(o);i>-1&&r._virtual.children.splice(i,1)}o._virtual.parent=n||void 0,n&&(n._virtual||(n._virtual={children:[]}),n._virtual.children.push(o))}var su={},lu={},cu="fluent-default-layer-host",uu="#".concat(cu);function du(e,t){su[e]||(su[e]=[]),su[e].push(t);var o=lu[e];if(o)for(var n=0,r=o;n=0&&(o.splice(n,1),0===o.length&&delete su[e])}var r=lu[e];if(r)for(var i=0,a=r;i=0&&o.splice(n,1),0===o.length&&delete lu[e]}}function vu(e,t){void 0===t&&(t=null);var o=e.createElement("div");return o.setAttribute("id",cu),o.style.cssText="position:fixed;z-index:1000000",t?t.appendChild(o):null==e||e.body.appendChild(o),o}function bu(e,t){void 0===t&&(t=null);var o=null!=t?t:e,n=o.querySelector("#".concat(cu));n&&o.removeChild(n)}function yu(e){su[e]&&su[e].forEach((function(e){return e()}))}function Cu(e){uu=e}function _u(){return uu}var Su,xu=Cr(),ku=C.forwardRef((function(e,t){var o,n=null!==(o=C.useContext(Yc))&&void 0!==o?o:Zc,r=C.useRef(null),i=li(r,t),a=C.useRef(),s=C.useRef(null),l=C.useContext(Qs),c=C.useState(!1),u=c[0],d=c[1],p=C.useCallback((function(e){var t,o=!!(null==(t=null==l?void 0:l.providerRef)?void 0:t.current)&&t.current.classList.contains(on);e&&o&&e.classList.add(on)}),[l]),h=e.children,m=e.className,g=e.eventBubblingEnabled,v=e.fabricProps,b=e.hostId,y=e.insertFirst,_=e.onLayerDidMount,S=void 0===_?function(){}:_,x=e.onLayerMounted,k=void 0===x?function(){}:x,w=e.onLayerWillUnmount,I=e.styles,D=e.theme,E=li(s,null==v?void 0:v.ref,p),T=xu(I,{theme:D,className:m,isNotHost:!b}),P=function(){null==w||w();var e=a.current;a.current=void 0,e&&e.parentNode&&e.parentNode.removeChild(e)},R=function(){var e,t,o,n,i=ht(r.current),s=(null===(t=null===(e=r.current)||void 0===e?void 0:e.getRootNode())||void 0===t?void 0:t.host)?null===(o=null==r?void 0:r.current)||void 0===o?void 0:o.getRootNode():void 0;if(i&&(i||s)){var l=function(e,t){var o,n;void 0===t&&(t=null);var r=null!=t?t:e;if(b){var i=mu(b);return i?null!==(o=i.rootRef.current)&&void 0!==o?o:null:null!==(n=r.getElementById(b))&&void 0!==n?n:null}var a=_u(),s=a?r.querySelector(a):null;return s||(s=vu(e,t)),s}(i,s);if(l){l.__tabsterElementFlags||(l.__tabsterElementFlags={}),l.__tabsterElementFlags.noDirectAriaHidden=!0,P();var c=(null!==(n=l.ownerDocument)&&void 0!==n?n:i).createElement("div");c.className=T.root,xs(c),au(c,r.current),y?l.insertBefore(c,l.firstChild):l.appendChild(c),a.current=c,d(!0)}}};return si((function(){R(),b&&du(b,R);var e=a.current?n(a.current):void 0;return function(){e&&e(),P(),b&&pu(b,R)}}),[b]),C.useEffect((function(){a.current&&u&&(null==k||k(),null==S||S(),d(!1))}),[u,k,S]),C.createElement("span",{className:"ms-layer",ref:i},a.current&&Xc.createPortal(C.createElement(Qc,{layerRoot:!0,providerRef:E},C.createElement(iu,f({},!g&&(Su||(Su={},["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","onTouchMove","onTouchStart","onTouchCancel","onTouchEnd","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit"].forEach((function(e){return Su[e]=wu}))),Su),v,{className:gi(T.content,null==v?void 0:v.className),ref:E}),h)),a.current))}));ku.displayName="LayerBase";var wu=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()},Iu={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},Du=function(e){var t=e.className,o=e.isNotHost,n=e.theme,r=Ao(Iu,n);return{root:[r.root,n.fonts.medium,o&&[r.rootNoHost,{position:"fixed",zIndex:tn.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[r.content,{visibility:"visible"}]}},Eu=lr(ku,Du,void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),Tu=C.forwardRef((function(e,t){var o=e.layerProps,n=e.doNotLayer,r=g(e,["layerProps","doNotLayer"]),i=C.createElement(qc,f({},r,{doNotLayer:n,ref:t}));return n?i:C.createElement(Eu,f({},o),i)}));Tu.displayName="Callout";var Pu,Ru=function(e){var t=e.item,o=e.classNames,n=t.iconProps;return C.createElement(Ei,f({},n,{className:o.icon}))},Mu=function(e){var t=e.item;return e.hasIcons?t.onRenderIcon?t.onRenderIcon(e,Ru):Ru(e):null},Nu=function(e){var t=e.onCheckmarkClick,o=e.item,n=e.classNames,r=Al(o);return t?C.createElement(Ei,{iconName:!1!==o.canCheck&&r?"CheckMark":"",className:n.checkmarkIcon,onClick:function(e){return t(o,e)}}):null},Bu=function(e){var t=e.item,o=e.classNames;return t.text||t.name?C.createElement("span",{className:o.label},t.text||t.name):null},Au=function(e){var t=e.item,o=e.classNames;return t.secondaryText?C.createElement("span",{className:o.secondaryText},t.secondaryText):null},Fu=function(e){var t=e.item,o=e.classNames,n=e.theme;return Fl(t)?C.createElement(Ei,f({iconName:pr(n)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:o.subMenuIcon})):null},Lu=function(e){function t(t){var o=e.call(this,t)||this;return o.openSubMenu=function(){var e=o.props,t=e.item,n=e.openSubMenu,r=e.getSubmenuTarget;if(r){var i=r();Fl(t)&&n&&i&&n(t,i)}},o.dismissSubMenu=function(){var e=o.props,t=e.item,n=e.dismissSubMenu;Fl(t)&&n&&n()},o.dismissMenu=function(e){var t=o.props.dismissMenu;t&&t(void 0,e)},oa(o),o}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.item,o=e.classNames,n=t.onRenderContent||this._renderLayout;return C.createElement("div",{className:t.split?o.linkContentMenu:o.linkContent},n(this.props,{renderCheckMarkIcon:Nu,renderItemIcon:Mu,renderItemName:Bu,renderSecondaryText:Au,renderSubMenuIcon:Fu}))},t.prototype._renderLayout=function(e,t){return C.createElement(C.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))},t}(C.Component),Hu=Ro((function(e){return On({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})})),Ou=36,zu=Jo(0,qo),Wu=Ro((function(e){var t,o,n,r,i,a=e.semanticColors,s=e.fonts,l=e.palette,c=a.menuItemBackgroundHovered,u=a.menuItemTextHovered,d=a.menuItemBackgroundPressed,p=a.bodyDivider;return Ln({item:[s.medium,{color:a.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:p,position:"relative"},root:[sn(e),s.medium,{color:a.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:Ou,lineHeight:Ou,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:a.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[Fo]={color:"GrayText",opacity:1},t)},rootHovered:{backgroundColor:c,color:u,selectors:{".ms-ContextualMenu-icon":{color:l.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootFocused:{backgroundColor:l.white},rootChecked:{selectors:{".ms-ContextualMenu-checkmarkIcon":{color:l.neutralPrimary}}},rootPressed:{backgroundColor:d,selectors:{".ms-ContextualMenu-icon":{color:l.themeDark},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootExpanded:{backgroundColor:d,color:a.bodyTextChecked,selectors:(o={".ms-ContextualMenu-submenuIcon":(n={},n[Fo]={color:"inherit"},n)},o[Fo]=f({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:Ou,fontSize:rt.medium,width:rt.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(r={},r[zu]={fontSize:rt.large,width:rt.large},r)},iconColor:{color:a.menuIcon},iconDisabled:{color:a.disabledBodyText},checkmarkIcon:{color:a.bodySubtext},subMenuIcon:{height:Ou,lineHeight:Ou,color:l.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:rt.small,selectors:(i={":hover":{color:l.neutralPrimary},":active":{color:l.neutralPrimary}},i[zu]={fontSize:rt.medium},i)},splitButtonFlexContainer:[sn(e),{display:"flex",height:Ou,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]})})),Vu="28px",Ku=Jo(0,qo),Gu=Ro((function(e){var t;return On(Hu(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[Ku]={right:32},t)},divider:{height:16,width:1}})})),Uu={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText",splitMenu:"ms-ContextualMenu-splitMenu",screenReaderText:"ms-ContextualMenu-screenReaderText"},ju=Ro((function(e,t,o,n,r,i,a,s,l,c,u,d){var p,h,m,f,g=Wu(e),v=Ao(Uu,e);return On({item:[v.item,g.item,a],divider:[v.divider,g.divider,s],root:[v.root,g.root,n&&[v.isChecked,g.rootChecked],r&&g.anchorLink,o&&[v.isExpanded,g.rootExpanded],t&&[v.isDisabled,g.rootDisabled],!t&&!o&&[{selectors:(p={":hover":g.rootHovered,":active":g.rootPressed},p[".".concat(on," &:focus, .").concat(on," &:focus:hover, :host(.").concat(on,") &:focus, :host(.").concat(on,") &:focus:hover")]=g.rootFocused,p[".".concat(on," &:hover, :host(.").concat(on,") &:hover")]={background:"inherit;"},p)}],d],splitPrimary:[g.root,{width:"calc(100% - ".concat(Vu,")")},n&&["is-checked",g.rootChecked],(t||u)&&["is-disabled",g.rootDisabled],!(t||u)&&!n&&[{selectors:(h={":hover":g.rootHovered},h[":hover ~ .".concat(v.splitMenu)]=g.rootHovered,h[":active"]=g.rootPressed,h[".".concat(on," &:focus, .").concat(on," &:focus:hover, :host(.").concat(on,") &:focus, :host(.").concat(on,") &:focus:hover")]=g.rootFocused,h[".".concat(on," &:hover, :host(.").concat(on,") &:hover")]={background:"inherit;"},h)}]],splitMenu:[v.splitMenu,g.root,{flexBasis:"0",padding:"0 8px",minWidth:Vu},o&&["is-expanded",g.rootExpanded],t&&["is-disabled",g.rootDisabled],!t&&!o&&[{selectors:(m={":hover":g.rootHovered,":active":g.rootPressed},m[".".concat(on," &:focus, .").concat(on," &:focus:hover, :host(.").concat(on,") &:focus, :host(.").concat(on,") &:focus:hover")]=g.rootFocused,m[".".concat(on," &:hover, :host(.").concat(on,") &:hover")]={background:"inherit;"},m)}]],anchorLink:g.anchorLink,linkContent:[v.linkContent,g.linkContent],linkContentMenu:[v.linkContentMenu,g.linkContent,{justifyContent:"center"}],icon:[v.icon,i&&g.iconColor,g.icon,l,t&&[v.isDisabled,g.iconDisabled]],iconColor:g.iconColor,checkmarkIcon:[v.checkmarkIcon,i&&g.checkmarkIcon,g.icon,l],subMenuIcon:[v.subMenuIcon,g.subMenuIcon,c,o&&{color:e.palette.neutralPrimary},t&&[g.iconDisabled]],label:[v.label,g.label],secondaryText:[v.secondaryText,g.secondaryText],splitContainer:[g.splitButtonFlexContainer,!t&&!n&&[{selectors:(f={},f[".".concat(on," &:focus, .").concat(on," &:focus:hover, :host(.").concat(on,") &:focus, :host(.").concat(on,") &:focus:hover")]=g.rootFocused,f)}]],screenReaderText:[v.screenReaderText,g.screenReaderText,vo,{visibility:"hidden"}]})})),qu=function(e){var t=e.theme,o=e.disabled,n=e.expanded,r=e.checked,i=e.isAnchorLink,a=e.knownIcon,s=e.itemClassName,l=e.dividerClassName,c=e.iconClassName,u=e.subMenuClassName,d=e.primaryDisabled,p=e.className;return ju(t,o,n,r,i,a,s,l,c,u,d,p)},Yu=lr(Lu,qu,void 0,{scope:"ContextualMenuItem"}),Zu=function(e){function t(t){var o=e.call(this,t)||this;return o._onItemMouseEnter=function(e){var t=o.props,n=t.item,r=t.onItemMouseEnter;r&&r(n,e,e.currentTarget)},o._onItemClick=function(e){var t=o.props,n=t.item,r=t.onItemClickBase;r&&r(n,e,e.currentTarget)},o._onItemMouseLeave=function(e){var t=o.props,n=t.item,r=t.onItemMouseLeave;r&&r(n,e)},o._onItemKeyDown=function(e){var t=o.props,n=t.item,r=t.onItemKeyDown;r&&r(n,e)},o._onItemMouseMove=function(e){var t=o.props,n=t.item,r=t.onItemMouseMove;r&&r(n,e,e.currentTarget)},o._getSubmenuTarget=function(){},oa(o),o}return m(t,e),t.prototype.shouldComponentUpdate=function(e){return!cl(e,this.props)},t}(C.Component),Xu="ktp",Qu="-",Ju=Xu+Qu,$u="data-ktp-target",ed="data-ktp-execute-target",td="data-ktp-aria-target",od="ktp-layer-id",nd=", ";function rd(e){var t=C.useRef();return C.useEffect((function(){t.current=e})),t.current}!function(e){e.KEYTIP_ADDED="keytipAdded",e.KEYTIP_REMOVED="keytipRemoved",e.KEYTIP_UPDATED="keytipUpdated",e.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded",e.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved",e.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute",e.ENTER_KEYTIP_MODE="enterKeytipMode",e.EXIT_KEYTIP_MODE="exitKeytipMode"}(Pu||(Pu={}));var id=function(){function e(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}return e.getInstance=function(){return this._instance},e.prototype.init=function(e){this.delayUpdatingKeytipChange=e},e.prototype.register=function(e,t){void 0===t&&(t=!1);var o=e;t||(o=this.addParentOverflow(e),this.sequenceMapping[o.keySequences.toString()]=o);var n=this._getUniqueKtp(o);if(t?this.persistedKeytips[n.uniqueID]=n:this.keytips[n.uniqueID]=n,this.inKeytipMode||!this.delayUpdatingKeytipChange){var r=t?Pu.PERSISTED_KEYTIP_ADDED:Pu.KEYTIP_ADDED;fl.raise(this,r,{keytip:o,uniqueID:n.uniqueID})}return n.uniqueID},e.prototype.update=function(e,t){var o=this.addParentOverflow(e),n=this._getUniqueKtp(o,t),r=this.keytips[t];r&&(n.keytip.visible=r.keytip.visible,this.keytips[t]=n,delete this.sequenceMapping[r.keytip.keySequences.toString()],this.sequenceMapping[n.keytip.keySequences.toString()]=n.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||fl.raise(this,Pu.KEYTIP_UPDATED,{keytip:n.keytip,uniqueID:n.uniqueID}))},e.prototype.unregister=function(e,t,o){void 0===o&&(o=!1),o?delete this.persistedKeytips[t]:delete this.keytips[t],!o&&delete this.sequenceMapping[e.keySequences.toString()];var n=o?Pu.PERSISTED_KEYTIP_REMOVED:Pu.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||fl.raise(this,n,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){fl.raise(this,Pu.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){fl.raise(this,Pu.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){var e=this;return Object.keys(this.keytips).map((function(t){return e.keytips[t].keytip}))},e.prototype.addParentOverflow=function(e){var t=b([],e.keySequences,!0);if(t.pop(),0!==t.length){var o=this.sequenceMapping[t.toString()];if(o&&o.overflowSetSequence)return f(f({},e),{overflowSetSequence:o.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){fl.raise(this,Pu.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=us()),{keytip:f({},e),uniqueID:t}},e._instance=new e,e}();function ad(e){return e.reduce((function(e,t){return e+Qu+t.split("").join(Qu)}),Xu)}function sd(e,t){var o=t.length,n=b([],t,!0).pop();return Da(b([],e,!0),o-1,n)}function ld(e){return"["+$u+'="'+ad(e)+'"]'}function cd(e){return"["+ed+'="'+e+'"]'}function ud(e){var t=" "+od;return e.length?t+" "+ad(e):t}function dd(e){var t=C.useRef(),o=e.keytipProps?f({disabled:e.disabled},e.keytipProps):void 0,n=Pc(id.getInstance()),r=rd(e);si((function(){t.current&&o&&((null==r?void 0:r.keytipProps)!==e.keytipProps||(null==r?void 0:r.disabled)!==e.disabled)&&n.update(o,t.current)})),si((function(){return o&&(t.current=n.register(o)),function(){o&&n.unregister(o,t.current)}}),[]);var i={ariaDescribedBy:e.ariaDescribedBy,keytipId:void 0};return o&&(i=function(e,t,o){var n=e.addParentOverflow(t),r=Sl(o,ud(n.keySequences)),i=b([],n.keySequences,!0);return n.overflowSetSequence&&(i=sd(i,n.overflowSetSequence)),{ariaDescribedBy:r,keytipId:ad(i)}}(n,o,e.ariaDescribedBy)),i}var pd=function(e){var t,o=e.children,n=dd(g(e,["children"])),r=n.keytipId,i=n.ariaDescribedBy;return o(((t={})[$u]=r,t[ed]=r,t["aria-describedby"]=i,t))},hd=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=C.createRef(),t._getMemoizedMenuButtonKeytipProps=Ro((function(e){return f(f({},e),{hasMenu:!0})})),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var o=t.props,n=o.item,r=o.onItemClick;r&&r(n,e)},t._renderAriaDescription=function(e,o){return e?C.createElement("span",{id:t._ariaDescriptionId,className:o},e):null},t}return m(t,e),t.prototype.render=function(){var e=this,t=this.props,o=t.item,n=t.classNames,r=t.index,i=t.focusableElementIndex,a=t.totalItemCount,s=t.hasCheckmarks,l=t.hasIcons,c=t.expandedMenuItemKey,u=t.onItemClick,d=t.openSubMenu,p=t.dismissSubMenu,h=t.dismissMenu,m=Yu;this.props.item.contextualMenuItemAs&&(m=Bl(this.props.item.contextualMenuItemAs,m)),this.props.contextualMenuItemAs&&(m=Bl(this.props.contextualMenuItemAs,m));var g=o.rel;o.target&&"_blank"===o.target.toLowerCase()&&(g=g||"nofollow noopener noreferrer");var v=Fl(o),b=Xr(o,Nr),y=Ll(o),_=o.itemProps,S=o.ariaDescription,x=o.keytipProps;x&&v&&(x=this._getMemoizedMenuButtonKeytipProps(x)),S&&(this._ariaDescriptionId=us());var k=Sl(o.ariaDescribedBy,S?this._ariaDescriptionId:void 0,b["aria-describedby"]),w={"aria-describedby":k};return C.createElement("div",null,C.createElement(pd,{keytipProps:o.keytipProps,ariaDescribedBy:k,disabled:y},(function(t){return C.createElement("a",f({},w,b,t,{ref:e._anchor,href:o.href,target:o.target,rel:g,className:n.root,role:"menuitem","aria-haspopup":v||void 0,"aria-expanded":v?o.key===c:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":Ll(o),style:o.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:v?e._onItemKeyDown:void 0}),C.createElement(m,f({componentRef:o.componentRef,item:o,classNames:n,index:r,onCheckmarkClick:s&&u?u:void 0,hasIcons:l,openSubMenu:d,dismissSubMenu:p,dismissMenu:h,getSubmenuTarget:e._getSubmenuTarget},_)),e._renderAriaDescription(S,n.screenReaderText))})))},t}(Zu),md=Cr(),fd=C.forwardRef((function(e,t){var o=e.styles,n=e.theme,r=e.getClassNames,i=e.className,a=md(o,{theme:n,getClassNames:r,className:i});return C.createElement("span",{className:a.wrapper,ref:t},C.createElement("span",{className:a.divider}))}));fd.displayName="VerticalDividerBase";var gd=lr(fd,(function(e){var t=e.theme,o=e.getClassNames,n=e.className;if(!t)throw new Error("Theme is undefined or null.");if(o){var r=o(t);return{wrapper:[r.wrapper],divider:[r.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},n],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}}),void 0,{scope:"VerticalDivider"}),vd=function(e){function t(t){var o=e.call(this,t)||this;return o._getMemoizedMenuButtonKeytipProps=Ro((function(e){return f(f({},e),{hasMenu:!0})})),o._onItemKeyDown=function(e){var t=o.props,n=t.item,r=t.onItemKeyDown;e.which===ur.enter?(o._executeItemClick(e),e.preventDefault(),e.stopPropagation()):r&&r(n,e)},o._getSubmenuTarget=function(){return o._splitButton},o._renderAriaDescription=function(e,t){return e?C.createElement("span",{id:o._ariaDescriptionId,className:t},e):null},o._onItemMouseEnterPrimary=function(e){var t=o.props,n=t.item,r=t.onItemMouseEnter;r&&r(f(f({},n),{subMenuProps:void 0,items:void 0}),e,o._splitButton)},o._onItemMouseEnterIcon=function(e){var t=o.props,n=t.item,r=t.onItemMouseEnter;r&&r(n,e,o._splitButton)},o._onItemMouseMovePrimary=function(e){var t=o.props,n=t.item,r=t.onItemMouseMove;r&&r(f(f({},n),{subMenuProps:void 0,items:void 0}),e,o._splitButton)},o._onItemMouseMoveIcon=function(e){var t=o.props,n=t.item,r=t.onItemMouseMove;r&&r(n,e,o._splitButton)},o._onIconItemClick=function(e){var t=o.props,n=t.item,r=t.onItemClickBase;r&&r(n,e,o._splitButton?o._splitButton:e.currentTarget)},o._executeItemClick=function(e){var t=o.props,n=t.item,r=t.executeItemClick,i=t.onItemClick;if(!n.disabled&&!n.isDisabled)return o._processingTouch&&!n.canCheck&&i?i(n,e):void(r&&r(n,e))},o._onTouchStart=function(e){o._splitButton&&!("onpointerdown"in o._splitButton)&&o._handleTouchAndPointerEvent(e)},o._onPointerDown=function(e){"touch"===e.pointerType&&(o._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},o._async=new sa(o),o._events=new fl(o),o._dismissLabelId=us(),o}return m(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e,t=this,o=this.props,n=o.item,r=o.classNames,i=o.index,a=o.focusableElementIndex,s=o.totalItemCount,l=o.hasCheckmarks,c=o.hasIcons,u=o.onItemMouseLeave,d=o.expandedMenuItemKey,p=Fl(n),h=n.keytipProps;h&&(h=this._getMemoizedMenuButtonKeytipProps(h));var m=n.ariaDescription;m&&(this._ariaDescriptionId=us());var g=null!==(e=Al(n))&&void 0!==e?e:void 0;return C.createElement(pd,{keytipProps:h,disabled:Ll(n)},(function(e){return C.createElement("div",{"data-ktp-target":e["data-ktp-target"],ref:function(e){return t._splitButton=e},role:Hl(n),"aria-label":n.ariaLabel,className:r.splitContainer,"aria-disabled":Ll(n),"aria-expanded":p?n.key===d:void 0,"aria-haspopup":!0,"aria-describedby":Sl(n.ariaDescribedBy,m?t._ariaDescriptionId:void 0,e["aria-describedby"]),"aria-checked":g,"aria-posinset":a+1,"aria-setsize":s,onMouseEnter:t._onItemMouseEnterPrimary,onMouseLeave:u?u.bind(t,f(f({},n),{subMenuProps:null,items:null})):void 0,onMouseMove:t._onItemMouseMovePrimary,onKeyDown:t._onItemKeyDown,onClick:t._executeItemClick,onTouchStart:t._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":n["aria-roledescription"]},t._renderSplitPrimaryButton(n,r,i,l,c),t._renderSplitDivider(n),t._renderSplitIconButton(n,r,i,e),t._renderAriaDescription(m,r.screenReaderText))}))},t.prototype._renderSplitPrimaryButton=function(e,t,o,n,r){var i=this.props,a=i.contextualMenuItemAs,s=void 0===a?Yu:a,l=i.onItemClick,c={key:e.key,disabled:Ll(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,secondaryText:e.secondaryText,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,id:this._dismissLabelId,onClick:e.onClick,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},u=e.itemProps;return C.createElement("button",f({},Xr(c,Br)),C.createElement(s,f({"data-is-focusable":!1,item:c,classNames:t,index:o,onCheckmarkClick:n&&l?l:void 0,hasIcons:r},u)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||Gu;return C.createElement(gd,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,o,n){var r=this.props,i=r.onItemMouseLeave,a=r.onItemMouseDown,s=r.openSubMenu,l=r.dismissSubMenu,c=r.dismissMenu,u=Yu;this.props.item.contextualMenuItemAs&&(u=Bl(this.props.item.contextualMenuItemAs,u)),this.props.contextualMenuItemAs&&(u=Bl(this.props.contextualMenuItemAs,u));var d={onClick:this._onIconItemClick,disabled:Ll(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key,"aria-labelledby":this._dismissLabelId},p=f(f({},Xr(d,Br)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:i?i.bind(this,e):void 0,onMouseDown:function(t){return a?a(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":n["data-ktp-execute-target"],"aria-haspopup":!0}),h=e.itemProps;return C.createElement("button",f({},p),C.createElement(u,f({componentRef:e.componentRef,item:d,classNames:t,index:o,hasIcons:!1,openSubMenu:s,dismissSubMenu:l,dismissMenu:c,getSubmenuTarget:this._getSubmenuTarget},h)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,o=this.props.onTap;o&&o(e),this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){t._processingTouch=!1,t._lastTouchTimeoutId=void 0}),500)},t}(Zu),bd=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=C.createRef(),t._getMemoizedMenuButtonKeytipProps=Ro((function(e){return f(f({},e),{hasMenu:!0})})),t._renderAriaDescription=function(e,o){return e?C.createElement("span",{id:t._ariaDescriptionId,className:o},e):null},t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return m(t,e),t.prototype.render=function(){var e=this,t=this.props,o=t.item,n=t.classNames,r=t.index,i=t.focusableElementIndex,a=t.totalItemCount,s=t.hasCheckmarks,l=t.hasIcons,c=t.contextualMenuItemAs,u=t.expandedMenuItemKey,d=t.onItemMouseDown,p=t.onItemClick,h=t.openSubMenu,m=t.dismissSubMenu,g=t.dismissMenu,v=Yu;o.contextualMenuItemAs&&(v=Bl(o.contextualMenuItemAs,v)),c&&(v=Bl(c,v));var b=Al(o),y=null!==b,_=Hl(o),S=Fl(o),x=o.itemProps,k=o.ariaLabel,w=o.ariaDescription,I=Xr(o,Br);delete I.disabled;var D=o.role||_;w&&(this._ariaDescriptionId=us());var E=Sl(o.ariaDescribedBy,w?this._ariaDescriptionId:void 0,I["aria-describedby"]),T={className:n.root,onClick:this._onItemClick,onKeyDown:S?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return d?d(o,e):void 0},onMouseMove:this._onItemMouseMove,href:o.href,title:o.title,"aria-label":k,"aria-describedby":E,"aria-haspopup":S||void 0,"aria-expanded":S?o.key===u:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":Ll(o),"aria-checked":"menuitemcheckbox"!==D&&"menuitemradio"!==D||!y?void 0:!!b,"aria-selected":"menuitem"===D&&y?!!b:void 0,role:D,style:o.style},P=o.keytipProps;return P&&S&&(P=this._getMemoizedMenuButtonKeytipProps(P)),C.createElement(pd,{keytipProps:P,ariaDescribedBy:E,disabled:Ll(o)},(function(t){return C.createElement("button",f({ref:e._btn},I,T,t),C.createElement(v,f({componentRef:o.componentRef,item:o,classNames:n,index:r,onCheckmarkClick:s&&p?p:void 0,hasIcons:l,openSubMenu:h,dismissSubMenu:m,dismissMenu:g,getSubmenuTarget:e._getSubmenuTarget},x)),e._renderAriaDescription(w,n.screenReaderText))}))},t}(Zu);function yd(e,t){var o=C.useRef(t);return o.current||(o.current=us(e)),o.current}var Cd=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];function _d(e,t,o){void 0===o&&(o=Cd);var n=[],r=function(r){"function"!=typeof t[r]||void 0!==e[r]||o&&-1!==o.indexOf(r)||(n.push(r),e[r]=function(){for(var e=[],o=0;oEd[t];)t++}catch(e){t=Rd()}Dd=t}else{if(void 0===Id)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=Id}return t}var Ad=function(e,t){var o=C.useState(Rd()),n=o[0],r=o[1],i=C.useCallback((function(){var t=Bd(gt(e.current));n!==t&&r(t)}),[e,n]);return Dc(ca(),"resize",i),C.useEffect((function(){void 0===t&&i()}),[t]),null!=t?t:n},Fd=C.createContext({}),Ld=Cr(),Hd=Cr(),Od={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:Il.bottomAutoEdge,beakWidth:16};function zd(e){for(var t=0,o=0,n=e;o0){var m=0;return C.createElement("li",{role:"presentation",key:a.key||e.key||"section-".concat(n)},C.createElement("div",f({},c),C.createElement("ul",{className:o.list,role:"presentation"},a.topDivider&&Q(n,t,!0,!0),l&&X(l,e.key||n,t,e.title),a.items.map((function(e,t){var n=Y(e,t,m,zd(a.items),r,i,o);if(e.itemType!==xl.Divider&&e.itemType!==xl.Header){var s=e.customOnRenderListLength?e.customOnRenderListLength:1;m+=s}return n})),a.bottomDivider&&Q(n,t,!1,!0))))}}},X=function(e,t,o,n){return C.createElement("li",{role:"presentation",title:n,key:t,className:o.item},e)},Q=function(e,t,o,n){return n||e>0?C.createElement("li",{role:"separator",key:"separator-"+e+(void 0===o?"":o?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},J=function(e,t,o,n,i,a,s){if(e.onRender)return e.onRender(f({"aria-posinset":n+1,"aria-setsize":i},e),l);var c={item:e,classNames:t,index:o,focusableElementIndex:n,totalItemCount:i,hasCheckmarks:a,hasIcons:s,contextualMenuItemAs:r.contextualMenuItemAs,onItemMouseEnter:z,onItemMouseLeave:V,onItemMouseMove:W,onItemMouseDown:Yd,executeItemClick:U,onItemKeyDown:H,expandedMenuItemKey:m,openSubMenu:v,dismissSubMenu:y,dismissMenu:l};if(e.href){var u=hd;return e.contextualMenuItemWrapperAs&&(u=Bl(e.contextualMenuItemWrapperAs,u)),C.createElement(u,f({},c,{onItemClick:G}))}if(e.split&&Fl(e)){var d=vd;return e.contextualMenuItemWrapperAs&&(d=Bl(e.contextualMenuItemWrapperAs,d)),C.createElement(d,f({},c,{onItemClick:K,onItemClickBase:j,onTap:T}))}var p=bd;return e.contextualMenuItemWrapperAs&&(p=Bl(e.contextualMenuItemWrapperAs,p)),C.createElement(p,f({},c,{onItemClick:K,onItemClickBase:j}))},$=function(e,t,o,n,i,a){var s=Yu;e.contextualMenuItemAs&&(s=Bl(e.contextualMenuItemAs,s)),r.contextualMenuItemAs&&(s=Bl(r.contextualMenuItemAs,s));var l=e.itemProps,c=e.id,u=l&&Xr(l,Zr);return C.createElement("div",f({id:c,className:o.header},u,{style:e.style}),C.createElement(s,f({item:e,classNames:t,index:n,onCheckmarkClick:i?K:void 0,hasIcons:a},l)))},ee=r.isBeakVisible,te=r.items,oe=r.labelElementId,ne=r.id,re=r.className,ie=r.beakWidth,ae=r.directionalHint,se=r.directionalHintForRTL,le=r.alignTargetEdge,ce=r.gapSpace,ue=r.coverTarget,de=r.ariaLabel,pe=r.doNotLayer,he=r.target,me=r.bounds,fe=r.useTargetWidth,ge=r.useTargetAsMinWidth,ve=r.directionalHintFixed,be=r.shouldFocusOnMount,ye=r.shouldFocusOnContainer,Ce=r.title,_e=r.styles,Se=r.theme,xe=r.calloutProps,ke=r.onRenderSubMenu,we=void 0===ke?Zd:ke,Ie=r.onRenderMenuList,De=void 0===Ie?function(e,t){return q(e,Pe)}:Ie,Ee=r.focusZoneProps,Te=r.getMenuClassNames,Pe=Te?Te(Se,re):Ld(_e,{theme:Se,className:re}),Re=function e(t){for(var o=0,n=t;o0){var Le=zd(te),He=Pe.subComponentStyles?Pe.subComponentStyles.callout:void 0;return C.createElement(Fd.Consumer,null,(function(e){return C.createElement(Tu,f({styles:He,onRestoreFocus:p},xe,{target:he||e.target,isBeakVisible:ee,beakWidth:ie,directionalHint:ae,directionalHintForRTL:se,gapSpace:ce,coverTarget:ue,doNotLayer:pe,className:gi("ms-ContextualMenu-Callout",xe&&xe.className),setInitialFocus:be,onDismiss:r.onDismiss||e.onDismiss,onScroll:I,bounds:me,directionalHintFixed:ve,alignTargetEdge:le,hidden:r.hidden||e.hidden,ref:t}),C.createElement("div",{style:N,ref:i,id:ne,className:Pe.container,tabIndex:ye?0:-1,onKeyDown:L,onKeyUp:F,onFocusCapture:k,"aria-label":de,"aria-labelledby":oe,role:"menu"},Ce&&C.createElement("div",{className:Pe.title}," ",Ce," "),te&&te.length?function(e,t){var o=r.focusZoneAs,n=void 0===o?Vs:o;return C.createElement(n,f({},t),e)}(De({ariaLabel:de,items:te,totalItemCount:Le,hasCheckmarks:Ne,hasIcons:Re,defaultMenuItemRenderer:function(e){return function(e,t){var o=e.index,n=e.focusableElementIndex,r=e.totalItemCount,i=e.hasCheckmarks,a=e.hasIcons;return Y(e,o,n,r,i,a,t)}(e,Pe)},labelElementId:oe},(function(e,t){return q(e,Pe)})),Me):null,Be&&we(Be,Zd)),C.createElement($s,null))}))}return null})),(function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||cl(e,t)}));function qd(e){return e.which===ur.alt||"Meta"===e.key}function Yd(e,t){var o;null===(o=e.onMouseDown)||void 0===o||o.call(e,e,t)}function Zd(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")}function Xd(e,t){for(var o=0,n=t;o span":{position:"relative",left:0,top:0}}],rootDisabled:[sn(e,{inset:1,highContrastStyle:c,borderColor:"transparent"}),{backgroundColor:s,borderColor:s,color:l,cursor:"default",":hover":mp,":focus":mp}],iconDisabled:(t={color:l},t[Fo]={color:"GrayText"},t),menuIconDisabled:(o={color:l},o[Fo]={color:"GrayText"},o),flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:fp(i.mediumPlus.fontSize),menuIcon:fp(i.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:vo}})),vp=Ro((function(e,t){var o,n,r,i,a,s,l,c,u,d,p,h,m,g,v,b,y,C=e.effects,_=e.palette,S=e.semanticColors,x={left:-2,top:-2,bottom:-2,right:-2,border:"none"},k={position:"absolute",width:1,right:31,top:8,bottom:8};return Ln({splitButtonContainer:[sn(e,{highContrastStyle:x,inset:2,pointerEvents:"none"}),{display:"inline-flex",".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none",flexGrow:"1"},".ms-Button--primary":(o={borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",flexGrow:"1",":hover":{border:"none"},":active":{border:"none"}},o[Fo]=f(f({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{":hover":{backgroundColor:"Highlight",border:"1px solid Highlight",borderRightWidth:"0",color:"HighlightText"},":active":{border:"1px solid Highlight"}}),o),".ms-Button--default + .ms-Button":(n={},n[Fo]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":f({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})}},n),'.ms-Button--default + .ms-Button[aria-expanded="true"]':(r={},r[Fo]={backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":f({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})},r),".ms-Button--primary + .ms-Button":(i={border:"none"},i[Fo]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{borderLeftWidth:"0",backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",".ms-Button-menuIcon":f(f({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"HighlightText"})}},i),'.ms-Button--primary + .ms-Button[aria-expanded="true"]':(a={},a[Fo]=f(f({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{".ms-Button-menuIcon":{color:"HighlightText"}}),a),".ms-Button.is-disabled":(s={},s[Fo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},s)}],splitButtonContainerHovered:{".ms-Button--default.is-disabled":(l={backgroundColor:S.buttonBackgroundDisabled,color:S.buttonTextDisabled},l[Fo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},l),".ms-Button--primary.is-disabled":(c={backgroundColor:S.primaryButtonBackgroundDisabled,color:S.primaryButtonTextDisabled},c[Fo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},c)},splitButtonContainerChecked:{".ms-Button--primary":(u={},u[Fo]=f({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)},splitButtonContainerCheckedHovered:{".ms-Button--primary":(d={},d[Fo]=f({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),d)},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(p={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:C.roundedCorner2,borderBottomRightRadius:C.roundedCorner2,border:"1px solid ".concat(_.neutralSecondaryAlt),borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0},p[Fo]={".ms-Button-menuIcon":{color:"WindowText"}},p),splitButtonDivider:f(f({},k),(h={},h[Fo]={backgroundColor:"WindowText"},h)),splitButtonDividerDisabled:f(f({},k),(m={},m[Fo]={backgroundColor:"GrayText"},m)),splitButtonMenuButtonDisabled:(g={pointerEvents:"none",border:"none",":hover":{cursor:"default"},".ms-Button--primary":(v={},v[Fo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},v),".ms-Button-menuIcon":(b={},b[Fo]={color:"GrayText"},b)},g[Fo]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},g),splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:(y={outline:"none",border:"none"},y[Fo]=f({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),y),splitButtonMenuFocused:f({},sn(e,{highContrastStyle:x,inset:2}))},t)})),bp=Ro((function(e,t){var o,n=gp(e),r=vp(e),i=e.palette;return Ln(n,{root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:(o={color:i.themeDarkAlt,backgroundColor:i.neutralLighter},o[Fo]={borderColor:"Highlight",color:"Highlight"},o),rootHasMenu:{width:"auto"},rootPressed:{color:i.themeDark,backgroundColor:i.neutralLight},rootExpanded:{color:i.themeDark,backgroundColor:i.neutralLight},rootChecked:{color:i.themeDark,backgroundColor:i.neutralLight},rootCheckedHovered:{color:i.themeDark,backgroundColor:i.neutralQuaternaryAlt},rootDisabled:{color:i.neutralTertiaryAlt}},r,t)})),yp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return C.createElement(ap,f({},this.props,{variantClassName:"ms-Button--icon",styles:bp(o,t),onRenderText:_l,onRenderDescription:_l}))},v([pp("IconButton",["theme","styles"],!0)],t)}(C.Component);!function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(hp||(hp={}));var Cp=function(){var e={};return{getCachedMeasurement:function(t){if(t&&t.cacheKey&&e.hasOwnProperty(t.cacheKey))return e[t.cacheKey]},addMeasurementToCache:function(t,o){t.cacheKey&&(e[t.cacheKey]=o)}}},_p=function(e){void 0===e&&(e=Cp());var t,o=e;function n(e,t){var n=o.getCachedMeasurement(e);if(void 0!==n)return n;var r=t();return o.addMeasurementToCache(e,r),r}function r(e,r,i){for(var a=e,s=n(e,i);s>t;){var l=r(a);if(void 0===l)return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(s=o.getCachedMeasurement(l)))return{dataToMeasure:l,resizeDirection:"shrink"};a=l}return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(e,i,a,s){if(void 0!==s||void 0!==i.dataToMeasure){if(s){if(t&&i.renderedData&&!i.dataToMeasure)return f(f({},i),function(e,o,n,r){var i;return i=e>t?r?{resizeDirection:"grow",dataToMeasure:r(n)}:{resizeDirection:"shrink",dataToMeasure:o}:{resizeDirection:"shrink",dataToMeasure:n},t=e,f(f({},i),{measureContainer:!1})}(s,e.data,i.renderedData,e.onGrowData));t=s}var l=f(f({},i),{measureContainer:!1});return i.dataToMeasure&&(l="grow"===i.resizeDirection&&e.onGrowData?f(f({},l),function(e,i,a,s){for(var l=e,c=n(e,a);c=i))return(t=b([],t,!0)).splice(r,0,a),f(f({},e),{renderedItems:t,renderedOverflowItems:o})},o._onRenderBreadcrumb=function(e){var t=e.props,n=t.ariaLabel,r=t.dividerAs,i=void 0===r?Ei:r,a=t.onRenderItem,s=t.overflowAriaLabel,l=t.overflowIndex,c=t.onRenderOverflowIcon,u=t.overflowButtonAs,d=e.renderedOverflowItems,p=e.renderedItems,h=d.map((function(e){var t=!(!e.onClick&&!e.href);return{text:e.text,name:e.text,key:e.key,onClick:e.onClick?o._onBreadcrumbClicked.bind(o,e):null,href:e.href,disabled:!t,itemProps:t?void 0:Kp}})),m=p.length-1,g=d&&0!==d.length,v=p.map((function(e,t){var n=o._onRenderItem;return e.onRender&&(n=El(e.onRender,n)),a&&(n=El(a,n)),C.createElement("li",{className:o._classNames.listItem,key:e.key||String(t)},n(e),(t!==m||g&&t===l-1)&&C.createElement(i,{className:o._classNames.chevron,iconName:pr(o.props.theme)?"ChevronLeft":"ChevronRight",item:e}))}));if(g){var b=c?{}:{iconName:"More"},y=c||Vp,_=u||yp;v.splice(l,0,C.createElement("li",{className:o._classNames.overflow,key:"overflow"},C.createElement(_,{className:o._classNames.overflowButton,iconProps:b,role:"button","aria-haspopup":"true",ariaLabel:s,onRenderMenuIcon:y,menuProps:{items:h,directionalHint:Il.bottomLeftEdge}}),l!==m+1&&C.createElement(i,{className:o._classNames.chevron,iconName:pr(o.props.theme)?"ChevronLeft":"ChevronRight",item:d[d.length-1]})))}var S=Xr(o.props,Dr,["className"]);return C.createElement("div",f({className:o._classNames.root,role:"navigation","aria-label":n},S),C.createElement(Vs,f({componentRef:o._focusZone,direction:fa.horizontal},o.props.focusZoneProps),C.createElement("ol",{className:o._classNames.list},v)))},o._onRenderItem=function(e){if(!e)return null;var t=e.as,n=e.href,r=e.onClick,i=e.isCurrentItem,a=e.text,s=e.onRenderContent,l=g(e,["as","href","onClick","isCurrentItem","text","onRenderContent"]),c=Up;if(s&&(c=El(s,c)),o.props.onRenderItemContent&&(c=El(o.props.onRenderItemContent,c)),r||n)return C.createElement(ll,f({},l,{as:t,className:o._classNames.itemLink,href:n,"aria-current":i?"page":void 0,onClick:o._onBreadcrumbClicked.bind(o,e)}),C.createElement(zp,f({content:a,overflowMode:Ep.Parent},o.props.tooltipHostProps),c(e)));var u=t||"span";return C.createElement(u,f({},l,{className:o._classNames.item}),C.createElement(zp,f({content:a,overflowMode:Ep.Parent},o.props.tooltipHostProps),c(e)))},o._onBreadcrumbClicked=function(e,t){e.onClick&&e.onClick(t,e)},oa(o),o._validateProps(t),o}return m(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,o=void 0===t?this._onReduceData:t,n=e.onGrowData,r=void 0===n?this._onGrowData:n,i=e.overflowIndex,a=e.maxDisplayedItems,s=e.items,l=e.className,c=e.theme,u=e.styles,d=b([],s,!0),p=d.splice(i,d.length-a),h={props:this.props,renderedItems:d,renderedOverflowItems:p};return this._classNames=Wp(u,{className:l,theme:c}),C.createElement(Tp,{onRenderData:this._onRenderBreadcrumb,onReduceData:o,onGrowData:r,data:h})},t.prototype._validateProps=function(e){var t=e.maxDisplayedItems,o=e.overflowIndex,n=e.items;if(o<0||t>1&&o>t-1||n.length>0&&o>n.length-1)throw new Error("Breadcrumb: overflowIndex out of range")},t.defaultProps={items:[],maxDisplayedItems:999,overflowIndex:0},t}(C.Component);function Up(e){return e?C.createElement(C.Fragment,null,e.text):null}var jp,qp,Yp={root:"ms-Breadcrumb",list:"ms-Breadcrumb-list",listItem:"ms-Breadcrumb-listItem",chevron:"ms-Breadcrumb-chevron",overflow:"ms-Breadcrumb-overflow",overflowButton:"ms-Breadcrumb-overflowButton",itemLink:"ms-Breadcrumb-itemLink",item:"ms-Breadcrumb-item"},Zp={whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},Xp=Jo(0,jo),Qp=Jo(Wo,qo),Jp=lr(Gp,(function(e){var t,o,n,r,i,a=e.className,s=e.theme,l=s.palette,c=s.semanticColors,u=s.fonts,d=Ao(Yp,s),p=c.menuItemBackgroundHovered,h=c.menuItemBackgroundPressed,m=l.neutralSecondary,g=nt.regular,v=l.neutralPrimary,b=l.neutralPrimary,y=nt.semibold,C=l.neutralSecondary,_=l.neutralSecondary,S={fontWeight:y,color:b},x={":hover":{color:v,backgroundColor:p,cursor:"pointer",selectors:(t={},t[Fo]={color:"Highlight",backgroundColor:"transparent"},t)},":active":{backgroundColor:h,color:v},"&:active:hover":{color:v,backgroundColor:h},"&:active, &:hover, &:active:hover":{textDecoration:"none"}},k={color:m,padding:"0 8px",lineHeight:36,fontSize:18,fontWeight:g};return{root:[d.root,u.medium,{margin:"11px 0 1px"},a],list:[d.list,{whiteSpace:"nowrap",padding:0,margin:0,display:"flex",alignItems:"stretch"}],listItem:[d.listItem,{listStyleType:"none",margin:"0",padding:"0",display:"flex",position:"relative",alignItems:"center",selectors:{"&:last-child .ms-Breadcrumb-itemLink":f(f({},S),(o={},o[Fo]={MsHighContrastAdjust:"auto",forcedColorAdjust:"auto"},o)),"&:last-child .ms-Breadcrumb-item":S}}],chevron:[d.chevron,{color:C,fontSize:u.small.fontSize,selectors:(n={},n[Fo]=f({color:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n[Qp]={fontSize:8},n[Xp]={fontSize:8},n)}],overflow:[d.overflow,{position:"relative",display:"flex",alignItems:"center"}],overflowButton:[d.overflowButton,sn(s,{highContrastStyle:{left:1,right:1,top:1,bottom:1}}),Zp,{fontSize:16,color:_,height:"100%",cursor:"pointer",selectors:f(f({},x),(r={},r[Xp]={padding:"4px 6px"},r[Qp]={fontSize:u.mediumPlus.fontSize},r))}],itemLink:[d.itemLink,sn(s),Zp,f(f({},k),{selectors:f((i={":focus":{color:l.neutralDark}},i[".".concat(on," &:focus, :host(.").concat(on,") &:focus")]={outline:"none"},i),x)})],item:[d.item,f(f({},k),{selectors:{":hover":{cursor:"default"}}})]}}),void 0,{scope:"Breadcrumb"}),$p=Ro((function(e,t){var o,n,r;return Ln(gp(e),{root:(o={padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},o[Fo]={borderColor:"Window"},o),rootHovered:(n={color:e.palette.themePrimary},n[Fo]={color:"Highlight"},n),iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:(r={color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent"},r[Fo]={color:"GrayText"},r),rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}},t)})),eh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return C.createElement(ap,f({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:$p(o,t),onRenderDescription:_l}))},v([pp("ActionButton",["theme","styles"],!0)],t)}(C.Component);function th(e){var t,o,n,r,i,a=e.semanticColors,s=e.palette,l=a.buttonBackground,c=a.buttonBackgroundPressed,u=a.buttonBackgroundHovered,d=a.buttonBackgroundDisabled,p=a.buttonText,h=a.buttonTextHovered,m=a.buttonTextDisabled,g=a.buttonTextChecked,v=a.buttonTextCheckedHovered;return{root:{backgroundColor:l,color:p},rootHovered:(t={backgroundColor:u,color:h},t[Fo]={borderColor:"Highlight",color:"Highlight"},t),rootPressed:{backgroundColor:c,color:g},rootExpanded:{backgroundColor:c,color:g},rootChecked:{backgroundColor:c,color:g},rootCheckedHovered:{backgroundColor:c,color:v},rootDisabled:(o={color:m,backgroundColor:d},o[Fo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},o),splitButtonContainer:(n={},n[Fo]={border:"none"},n),splitButtonMenuButton:{color:s.white,backgroundColor:"transparent",":hover":(r={backgroundColor:s.neutralLight},r[Fo]={color:"Highlight"},r)},splitButtonMenuButtonDisabled:{backgroundColor:a.buttonBackgroundDisabled,":hover":{backgroundColor:a.buttonBackgroundDisabled}},splitButtonDivider:f(f({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(i={backgroundColor:s.neutralTertiaryAlt},i[Fo]={backgroundColor:"WindowText"},i)),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:s.neutralQuaternaryAlt,":hover":{backgroundColor:s.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:s.neutralQuaternaryAlt,":hover":{backgroundColor:s.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:a.buttonText},splitButtonMenuIconDisabled:{color:a.buttonTextDisabled}}}function oh(e){var t,o,n,r,i,a,s,l,c,u=e.palette,d=e.semanticColors;return{root:(t={backgroundColor:d.primaryButtonBackground,border:"1px solid ".concat(d.primaryButtonBackground),color:d.primaryButtonText},t[Fo]=f({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[".".concat(on," &:focus, :host(.").concat(on,") &:focus")]={":after":{border:"none",outlineColor:u.white}},t),rootHovered:(o={backgroundColor:d.primaryButtonBackgroundHovered,border:"1px solid ".concat(d.primaryButtonBackgroundHovered),color:d.primaryButtonTextHovered},o[Fo]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},o),rootPressed:(n={backgroundColor:d.primaryButtonBackgroundPressed,border:"1px solid ".concat(d.primaryButtonBackgroundPressed),color:d.primaryButtonTextPressed},n[Fo]=f({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n),rootExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootChecked:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootDisabled:(r={color:d.primaryButtonTextDisabled,backgroundColor:d.primaryButtonBackgroundDisabled},r[Fo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},r),splitButtonContainer:(i={},i[Fo]={border:"none"},i),splitButtonDivider:f(f({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(a={backgroundColor:u.white},a[Fo]={backgroundColor:"Window"},a)),splitButtonMenuButton:(s={backgroundColor:d.primaryButtonBackground,color:d.primaryButtonText},s[Fo]={backgroundColor:"Canvas"},s[":hover"]=(l={backgroundColor:d.primaryButtonBackgroundHovered},l[Fo]={color:"Highlight"},l),s),splitButtonMenuButtonDisabled:{backgroundColor:d.primaryButtonBackgroundDisabled,":hover":{backgroundColor:d.primaryButtonBackgroundDisabled}},splitButtonMenuButtonChecked:{backgroundColor:d.primaryButtonBackgroundPressed,":hover":{backgroundColor:d.primaryButtonBackgroundPressed}},splitButtonMenuButtonExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,":hover":{backgroundColor:d.primaryButtonBackgroundPressed}},splitButtonMenuIcon:{color:d.primaryButtonText},splitButtonMenuIconDisabled:(c={color:u.neutralTertiary},c[Fo]={color:"GrayText"},c)}}!function(e){e[e.button=0]="button",e[e.anchor=1]="anchor"}(jp||(jp={})),function(e){e[e.normal=0]="normal",e[e.primary=1]="primary",e[e.hero=2]="hero",e[e.compound=3]="compound",e[e.command=4]="command",e[e.icon=5]="icon",e[e.default=6]="default"}(qp||(qp={}));var nh=Ro((function(e,t,o){var n=gp(e),r=vp(e);return Ln(n,{root:{minWidth:"80px",minHeight:"32px"},label:{fontWeight:nt.semibold}},o?oh(e):th(e),r,t)})),rh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,o=void 0!==t&&t,n=e.styles,r=e.theme;return C.createElement(ap,f({},this.props,{variantClassName:o?"ms-Button--primary":"ms-Button--default",styles:nh(r,n,o),onRenderDescription:_l}))},v([pp("DefaultButton",["theme","styles"],!0)],t)}(C.Component),ih=Ro((function(e,t,o){var n,r,i,a,s,l=e.fonts,c=e.palette,u=gp(e),d=vp(e),p={root:{maxWidth:"280px",minHeight:"72px",height:"auto",padding:"16px 12px"},flexContainer:{flexDirection:"row",alignItems:"flex-start",minWidth:"100%",margin:""},textContainer:{textAlign:"left"},icon:{fontSize:"2em",lineHeight:"1em",height:"1em",margin:"0px 8px 0px 0px",flexBasis:"1em",flexShrink:"0"},label:{margin:"0 0 5px",lineHeight:"100%",fontWeight:nt.semibold},description:[l.small,{lineHeight:"100%"}]},h={description:{color:c.neutralSecondary},descriptionHovered:{color:c.neutralDark},descriptionPressed:{color:"inherit"},descriptionChecked:{color:"inherit"},descriptionDisabled:{color:"inherit"}},m={description:(n={color:c.white},n[Fo]=f({backgroundColor:"WindowText",color:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n),descriptionHovered:(r={color:c.white},r[Fo]={backgroundColor:"Highlight",color:"Window"},r),descriptionPressed:(i={color:"inherit"},i[Fo]=f({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i),descriptionChecked:(a={color:"inherit"},a[Fo]=f({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a),descriptionDisabled:(s={color:"inherit"},s[Fo]={color:"inherit"},s)};return Ln(u,p,o?oh(e):th(e),o?m:h,d,t)})),ah=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,o=void 0!==t&&t,n=e.styles,r=e.theme;return C.createElement(ap,f({},this.props,{variantClassName:o?"ms-Button--compoundPrimary":"ms-Button--compound",styles:ih(r,n,o)}))},v([pp("CompoundButton",["theme","styles"],!0)],t)}(C.Component),sh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){return C.createElement(rh,f({},this.props,{primary:!0,onRenderDescription:_l}))},v([pp("PrimaryButton",["theme","styles"],!0)],t)}(C.Component),lh=function(e){function t(t){var o=e.call(this,t)||this;return Sn("The Button component has been deprecated. Use specific variants instead. (PrimaryButton, DefaultButton, IconButton, ActionButton, etc.)"),o}return m(t,e),t.prototype.render=function(){var e=this.props;switch(e.buttonType){case qp.command:return C.createElement(eh,f({},e));case qp.compound:return C.createElement(ah,f({},e));case qp.icon:return C.createElement(yp,f({},e));case qp.primary:return C.createElement(sh,f({},e));default:return C.createElement(rh,f({},e))}},t}(C.Component),ch=Ro((function(e,t,o,n){var r,i,a,s,l,c,u,d,p,h,m,g,v,b=gp(e),y=vp(e),C=e.palette,_=e.semanticColors;return Ln(b,y,{root:[sn(e,{inset:2,highContrastStyle:{left:4,top:4,bottom:4,right:4,border:"none"},borderColor:"transparent"}),e.fonts.medium,(r={minWidth:"40px",backgroundColor:C.white,color:C.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0},r[Fo]={border:"none"},r)],rootHovered:(i={backgroundColor:C.neutralLighter,color:C.neutralDark},i[Fo]={color:"Highlight"},i[".".concat(np.msButtonIcon)]={color:C.themeDarkAlt},i[".".concat(np.msButtonMenuIcon)]={color:C.neutralPrimary},i),rootPressed:(a={backgroundColor:C.neutralLight,color:C.neutralDark},a[".".concat(np.msButtonIcon)]={color:C.themeDark},a[".".concat(np.msButtonMenuIcon)]={color:C.neutralPrimary},a),rootChecked:(s={backgroundColor:C.neutralLight,color:C.neutralDark},s[".".concat(np.msButtonIcon)]={color:C.themeDark},s[".".concat(np.msButtonMenuIcon)]={color:C.neutralPrimary},s),rootCheckedHovered:(l={backgroundColor:C.neutralQuaternaryAlt},l[".".concat(np.msButtonIcon)]={color:C.themeDark},l[".".concat(np.msButtonMenuIcon)]={color:C.neutralPrimary},l),rootExpanded:(c={backgroundColor:C.neutralLight,color:C.neutralDark},c[".".concat(np.msButtonIcon)]={color:C.themeDark},c[".".concat(np.msButtonMenuIcon)]={color:C.neutralPrimary},c),rootExpandedHovered:{backgroundColor:C.neutralQuaternaryAlt},rootDisabled:(u={backgroundColor:C.white},u[".".concat(np.msButtonIcon)]=(d={color:_.disabledBodySubtext},d[Fo]=f({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),d),u[Fo]=f({color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u),splitButtonContainer:(p={height:"100%"},p[Fo]={border:"none"},p),splitButtonDividerDisabled:(h={},h[Fo]={backgroundColor:"Window"},h),splitButtonDivider:{backgroundColor:C.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:C.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:C.neutralSecondary,":hover":(m={backgroundColor:C.neutralLighter,color:C.neutralDark},m[Fo]={color:"Highlight"},m[".".concat(np.msButtonIcon)]={color:C.neutralPrimary},m),":active":(g={backgroundColor:C.neutralLight},g[".".concat(np.msButtonIcon)]={color:C.neutralPrimary},g)},splitButtonMenuButtonDisabled:(v={backgroundColor:C.white},v[Fo]=f({color:"GrayText",border:"none",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),v),splitButtonMenuButtonChecked:{backgroundColor:C.neutralLight,color:C.neutralDark,":hover":{backgroundColor:C.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:C.neutralLight,color:C.black,":hover":{backgroundColor:C.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:C.neutralPrimary},splitButtonMenuIconDisabled:{color:C.neutralTertiary},label:{fontWeight:"normal"},icon:{color:C.themePrimary},menuIcon:{color:C.neutralSecondary}},t)})),uh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return C.createElement(ap,f({},this.props,{variantClassName:"ms-Button--commandBar",styles:ch(o,t),onRenderDescription:_l}))},v([pp("CommandBarButton",["theme","styles"],!0)],t)}(C.Component),dh=eh,ph=Ro((function(e,t){return Ln({root:[sn(e,{inset:1,highContrastStyle:{outlineOffset:"-4px",outline:"1px solid Window"},borderColor:"transparent"}),{height:24}]},t)})),hh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return C.createElement(rh,f({},this.props,{styles:ph(o,t),onRenderDescription:_l}))},v([pp("MessageBarButton",["theme","styles"],!0)],t)}(C.Component),mh=Cr(),fh=C.forwardRef((function(e,t){var o=yd(void 0,e.id),n=e.items,r=e.columnCount,i=e.onRenderItem,a=e.isSemanticRadio,s=e.ariaPosInSet,l=void 0===s?e.positionInSet:s,c=e.ariaSetSize,u=void 0===c?e.setSize:c,d=e.styles,p=e.doNotContainWithinFocusZone,h=Xr(e,Dr,p?[]:["onBlur"]),m=mh(d,{theme:e.theme}),g=ka(n,r),v=C.createElement("table",f({"aria-posinset":l,"aria-setsize":u,id:o,role:a?"radiogroup":"grid"},h,{className:m.root}),C.createElement("tbody",{role:a?"presentation":"rowgroup"},g.map((function(e,t){return C.createElement("tr",{role:a?"presentation":"row",key:t},e.map((function(e,t){return C.createElement("td",{role:"presentation",key:t+"-cell",className:m.tableCell},i(e,t))})))}))));return p?v:C.createElement(Vs,{elementRef:t,isCircularNavigation:e.shouldFocusCircularNavigate,className:m.focusedContainer,onBlur:e.onBlur},v)})),gh=lr(fh,(function(e){return{root:{padding:2,outline:"none"},tableCell:{padding:0}}}));gh.displayName="ButtonGrid";var vh,bh,yh,Ch,_h,Sh=function(e){var t,o=yd("gridCell"),n=e.item,r=e.id,i=void 0===r?o:r,a=e.className,s=e.selected,l=e.disabled,c=void 0!==l&&l,u=e.onRenderItem,d=e.cellDisabledStyle,p=e.cellIsSelectedStyle,h=e.index,m=e.label,g=e.getClassNames,v=e.onClick,b=e.onHover,y=e.onMouseMove,_=e.onMouseLeave,S=e.onMouseEnter,x=e.onFocus,k=Xr(e,Br),w=C.useCallback((function(e){v&&!c&&v(n,e)}),[c,n,v]),I=C.useCallback((function(e){S&&S(e)||!b||c||b(n,e)}),[c,n,b,S]),D=C.useCallback((function(e){y&&y(e)||!b||c||b(n,e)}),[c,n,b,y]),E=C.useCallback((function(e){_&&_(e)||!b||c||b(void 0,e)}),[c,b,_]),T=C.useCallback((function(e){x&&!c&&x(n,e)}),[c,n,x]);return C.createElement(dh,f({id:i,"data-index":h,"data-is-focusable":!0,"aria-selected":s,ariaLabel:m,title:m},k,{className:gi(a,(t={},t[""+p]=s,t[""+d]=c,t)),onClick:w,onMouseEnter:I,onMouseMove:D,onMouseLeave:E,onFocus:T,getClassNames:g}),u(n))};!function(e){e[e.Horizontal=0]="Horizontal",e[e.Vertical=1]="Vertical"}(vh||(vh={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(bh||(bh={})),function(e){e[e.January=0]="January",e[e.February=1]="February",e[e.March=2]="March",e[e.April=3]="April",e[e.May=4]="May",e[e.June=5]="June",e[e.July=6]="July",e[e.August=7]="August",e[e.September=8]="September",e[e.October=9]="October",e[e.November=10]="November",e[e.December=11]="December"}(yh||(yh={})),function(e){e[e.FirstDay=0]="FirstDay",e[e.FirstFullWeek=1]="FirstFullWeek",e[e.FirstFourDayWeek=2]="FirstFourDayWeek"}(Ch||(Ch={})),function(e){e[e.Day=0]="Day",e[e.Week=1]="Week",e[e.Month=2]="Month",e[e.WorkWeek=3]="WorkWeek"}(_h||(_h={}));var xh=7,kh={formatDay:function(e){return e.getDate().toString()},formatMonth:function(e,t){return t.months[e.getMonth()]},formatYear:function(e){return e.getFullYear().toString()},formatMonthDayYear:function(e,t){return t.months[e.getMonth()]+" "+e.getDate()+", "+e.getFullYear()},formatMonthYear:function(e,t){return t.months[e.getMonth()]+" "+e.getFullYear()}},wh=f(f({},{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["S","M","T","W","T","F","S"]}),{goToToday:"Go to today",weekNumberFormatString:"Week number {0}",prevMonthAriaLabel:"Previous month",nextMonthAriaLabel:"Next month",prevYearAriaLabel:"Previous year",nextYearAriaLabel:"Next year",prevYearRangeAriaLabel:"Previous year range",nextYearRangeAriaLabel:"Next year range",closeButtonAriaLabel:"Close",selectedDateFormatString:"Selected date {0}",todayDateFormatString:"Today's date {0}",monthPickerHeaderAriaLabel:"{0}, change year",yearPickerHeaderAriaLabel:"{0}, change month",dayMarkedAriaLabel:"marked"}),Ih={MillisecondsInOneDay:864e5,MillisecondsIn1Sec:1e3,MillisecondsIn1Min:6e4,MillisecondsIn30Mins:18e5,MillisecondsIn1Hour:36e5,MinutesInOneDay:1440,MinutesInOneHour:60,DaysInOneWeek:7,MonthInOneYear:12,HoursInOneDay:24,SecondsInOneMinute:60,OffsetTo24HourFormat:12,TimeFormatRegex:/^(\d\d?):(\d\d):?(\d\d)? ?([ap]m)?/i};function Dh(e,t){var o=new Date(e.getTime());return o.setDate(o.getDate()+t),o}function Eh(e,t){return Dh(e,t*Ih.DaysInOneWeek)}function Th(e,t){var o=new Date(e.getTime()),n=o.getMonth()+t;return o.setMonth(n),o.getMonth()!==(n%Ih.MonthInOneYear+Ih.MonthInOneYear)%Ih.MonthInOneYear&&(o=Dh(o,-o.getDate())),o}function Ph(e,t){var o=new Date(e.getTime());return o.setFullYear(e.getFullYear()+t),o.getMonth()!==(e.getMonth()%Ih.MonthInOneYear+Ih.MonthInOneYear)%Ih.MonthInOneYear&&(o=Dh(o,-o.getDate())),o}function Rh(e){return new Date(e.getFullYear(),e.getMonth(),1,0,0,0,0)}function Mh(e){return new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0,0)}function Nh(e){return new Date(e.getFullYear(),0,1,0,0,0,0)}function Bh(e){return new Date(e.getFullYear()+1,0,0,0,0,0,0)}function Ah(e,t){return Th(e,t-e.getMonth())}function Fh(e,t){return!e&&!t||!(!e||!t)&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function Lh(e,t){return Uh(e)-Uh(t)}function Hh(e,t,o,n,r){void 0===r&&(r=1);var i,a=[],s=null;switch(n||(n=[bh.Monday,bh.Tuesday,bh.Wednesday,bh.Thursday,bh.Friday]),r=Math.max(r,1),t){case _h.Day:s=Dh(i=Gh(e),r);break;case _h.Week:case _h.WorkWeek:s=Dh(i=Vh(Gh(e),o),Ih.DaysInOneWeek);break;case _h.Month:s=Th(i=new Date(e.getFullYear(),e.getMonth(),1),1);break;default:throw new Error("Unexpected object: "+t)}var l=i;do{(t!==_h.WorkWeek||-1!==n.indexOf(l.getDay()))&&a.push(l),l=Dh(l,1)}while(!Fh(l,s));return a}function Oh(e,t){for(var o=0,n=t;o0&&(o-=Ih.DaysInOneWeek),Dh(e,o)}function Kh(e,t){var o=(t-1>=0?t-1:Ih.DaysInOneWeek-1)-e.getDay();return o<0&&(o+=Ih.DaysInOneWeek),Dh(e,o)}function Gh(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function Uh(e){return e.getDate()+(e.getMonth()<<5)+(e.getFullYear()<<9)}function jh(e,t,o){var n=qh(e)-1,r=e.getDay()-n%Ih.DaysInOneWeek,i=qh(new Date(e.getFullYear()-1,yh.December,31))-1,a=(t-r+2*Ih.DaysInOneWeek)%Ih.DaysInOneWeek;0!==a&&a>=o&&(a-=Ih.DaysInOneWeek);var s=n-a;return s<0&&(0!=(a=(t-(r-=i%Ih.DaysInOneWeek)+2*Ih.DaysInOneWeek)%Ih.DaysInOneWeek)&&a+1>=o&&(a-=Ih.DaysInOneWeek),s=i-a),Math.floor(s/Ih.DaysInOneWeek+1)}function qh(e){for(var t=e.getMonth(),o=e.getFullYear(),n=0,r=0;r=0}))),o&&(n=n.filter((function(e){return Lh(e,o)<=0}))),n},$h=function(e,t){var o=t.minDate;return!!o&&Lh(o,e)>=1},em=function(e,t){var o=t.maxDate;return!!o&&Lh(e,o)>=1},tm=function(e,t){var o=t.restrictedDates,n=t.minDate,r=t.maxDate;return!!(o||n||r)&&(o&&o.some((function(t){return Fh(t,e)}))||$h(e,t)||em(e,t))},om=function(e){var t=e.showWeekNumbers,o=e.strings,n=e.firstDayOfWeek,r=e.allFocusable,i=e.weeksToShow,a=e.weeks,s=e.classNames,l=o.shortDays.slice(),c=_a(a[1],(function(e){return 1===e.originalDate.getDate()}));return 1===i&&c>=0&&(l[(c+n)%xh]=o.shortMonths[a[1][c].originalDate.getMonth()]),C.createElement("tr",null,t&&C.createElement("th",{className:s.dayCell}),l.map((function(e,t){var i=(t+n)%xh,a=o.days[i];return C.createElement("th",{className:gi(s.dayCell,s.weekDayLabelCell),scope:"col",key:l[i]+" "+t,title:a,"aria-label":a,"data-is-focusable":!!r||void 0},l[i])})))},nm=function(e){var t=e.targetDate,o=e.initialDate,n=e.direction,r=g(e,["targetDate","initialDate","direction"]),i=t;if(!tm(t,r))return t;for(;0!==Lh(o,i)&&tm(i,r)&&!em(i,r)&&!$h(i,r);)i=Dh(i,n);return 0===Lh(o,i)||tm(i,r)?void 0:i},rm=function(e){var t,o=e.navigatedDate,n=e.dateTimeFormatter,r=e.allFocusable,i=e.strings,a=e.activeDescendantId,s=e.navigatedDayRef,l=e.calculateRoundedStyles,c=e.weeks,u=e.classNames,d=e.day,p=e.dayIndex,h=e.weekIndex,m=e.weekCorners,f=e.ariaHidden,g=e.customDayCellRef,v=e.dateRangeType,b=e.daysToSelectInDayView,y=e.onSelectDate,_=e.restrictedDates,S=e.minDate,x=e.maxDate,k=e.onNavigateDate,w=e.getDayInfosInRangeOfDay,I=e.getRefsFromDayInfos,D=null!==(t=null==m?void 0:m[h+"_"+p])&&void 0!==t?t:"",E=Fh(o,d.originalDate),T=d.originalDate.getDate()+", "+i.months[d.originalDate.getMonth()]+", "+d.originalDate.getFullYear();return d.isMarked&&(T=T+", "+i.dayMarkedAriaLabel),C.createElement("td",{className:gi(u.dayCell,m&&D,d.isSelected&&u.daySelected,d.isSelected&&"ms-CalendarDay-daySelected",!d.isInBounds&&u.dayOutsideBounds,!d.isInMonth&&u.dayOutsideNavigatedMonth),ref:function(e){null==g||g(e,d.originalDate,u),d.setRef(e),E&&(s.current=e)},"aria-hidden":f,"aria-disabled":!f&&!d.isInBounds,onClick:d.isInBounds&&!f?d.onSelected:void 0,onMouseOver:f?void 0:function(e){var t=w(d),o=I(t);o.forEach((function(e,n){var r;if(e&&(e.classList.add("ms-CalendarDay-hoverStyle"),!t[n].isSelected&&v===_h.Day&&b&&b>1)){e.classList.remove(u.bottomLeftCornerDate,u.bottomRightCornerDate,u.topLeftCornerDate,u.topRightCornerDate);var i=l(u,!1,!1,n>0,n1)){var i=l(u,!1,!1,n>0,n0)};return[function(e,n){var r={},i=n.slice(1,n.length-1);return i.forEach((function(n,a){n.forEach((function(n,s){var l=i[a-1]&&i[a-1][s]&&o(i[a-1][s].originalDate,n.originalDate,i[a-1][s].isSelected,n.isSelected),c=i[a+1]&&i[a+1][s]&&o(i[a+1][s].originalDate,n.originalDate,i[a+1][s].isSelected,n.isSelected),u=i[a][s-1]&&o(i[a][s-1].originalDate,n.originalDate,i[a][s-1].isSelected,n.isSelected),d=i[a][s+1]&&o(i[a][s+1].originalDate,n.originalDate,i[a][s+1].isSelected,n.isSelected),p=[];p.push(t(e,l,c,u,d)),p.push(function(e,t,o,n,r){var i=[];return t||i.push(e.datesAbove),o||i.push(e.datesBelow),n||i.push(pr()?e.datesRight:e.datesLeft),r||i.push(pr()?e.datesLeft:e.datesRight),i.join(" ")}(e,l,c,u,d)),r[a+"_"+s]=p.join(" ")}))})),r},t]}(e),c=l[0],u=l[1];C.useImperativeHandle(e.componentRef,(function(){return{focus:function(){var e,o;null===(o=null===(e=t.current)||void 0===e?void 0:e.focus)||void 0===o||o.call(e)}}}),[]);var d=e.styles,p=e.theme,h=e.className,m=e.dateRangeType,g=e.showWeekNumbers,v=e.labelledBy,b=e.lightenDaysOutsideNavigatedMonth,y=e.animationDirection,_=am(d,{theme:p,className:h,dateRangeType:m,showWeekNumbers:g,lightenDaysOutsideNavigatedMonth:void 0===b||b,animationDirection:y,animateBackwards:s}),S=c(_,a),x={weeks:a,navigatedDayRef:t,calculateRoundedStyles:u,activeDescendantId:o,classNames:_,weekCorners:S,getDayInfosInRangeOfDay:function(t){var o=function(e,t){if(t&&e===_h.WorkWeek){for(var o=t.slice().sort(),n=!0,r=1;rc,_=g===(new Date).getFullYear(),C.createElement(km,f({},e,{key:g,year:g,selected:v,current:_,disabled:y,onSelectYear:u,componentRef:v?h:_?m:void 0,theme:o})))),w++}return C.createElement(Vs,null,C.createElement("div",{className:S.gridContainer,role:"grid","aria-label":k},I.map((function(e,t){return C.createElement.apply(C,b(["div",{key:"yearPickerRow_"+t+"_"+r,role:"row",className:S.buttonRow}],e,!1))}))))};Im.displayName="CalendarYearGrid",function(e){e[e.Previous=0]="Previous",e[e.Next=1]="Next"}(wm||(wm={}));var Dm=function(e){var t,o=e.styles,n=e.theme,r=e.className,i=e.navigationIcons,a=void 0===i?_m:i,s=e.strings,l=void 0===s?xm:s,c=e.direction,u=e.onSelectPrev,d=e.onSelectNext,p=e.fromYear,h=e.toYear,m=e.maxYear,f=e.minYear,g=Sm(o,{theme:n,className:r}),v=c===wm.Previous?l.prevRangeAriaLabel:l.nextRangeAriaLabel,b=c===wm.Previous?-12:12,y=v?"string"==typeof v?v:v({fromYear:p+b,toYear:h+b}):void 0,_=c===wm.Previous?void 0!==f&&pm,S=function(){c===wm.Previous?null==u||u():null==d||d()},x=pr()?c===wm.Next:c===wm.Previous;return C.createElement("button",{className:gi(g.navigationButton,(t={},t[g.disabled]=_,t)),onClick:_?void 0:S,onKeyDown:_?void 0:function(e){e.which===ur.enter&&S()},type:"button",title:y,disabled:_},C.createElement(Ei,{iconName:x?a.leftNavigation:a.rightNavigation}))};Dm.displayName="CalendarYearNavArrow";var Em=function(e){var t=e.styles,o=e.theme,n=e.className,r=Sm(t,{theme:o,className:n});return C.createElement("div",{className:r.navigationButtonsContainer},C.createElement(Dm,f({},e,{direction:wm.Previous})),C.createElement(Dm,f({},e,{direction:wm.Next})))};Em.displayName="CalendarYearNav";var Tm=function(e){var t=e.styles,o=e.theme,n=e.className,r=e.fromYear,i=e.toYear,a=e.strings,s=void 0===a?xm:a,l=e.animateBackwards,c=e.animationDirection,u=function(){var t;null===(t=e.onHeaderSelect)||void 0===t||t.call(e,!0)},d=function(t){var o,n;return null!==(n=null===(o=e.onRenderYear)||void 0===o?void 0:o.call(e,t))&&void 0!==n?n:t},p=Sm(t,{theme:o,className:n,hasHeaderClickCallback:!!e.onHeaderSelect,animateBackwards:l,animationDirection:c});if(e.onHeaderSelect){var h=s.rangeAriaLabel,m=s.headerAriaLabelFormatString,f=h?"string"==typeof h?h:h(e):void 0,g=m?Qh(m,f):f;return C.createElement("button",{className:p.currentItemButton,onClick:u,onKeyDown:function(e){e.which!==ur.enter&&e.which!==ur.space||u()},"aria-label":g,role:"button",type:"button"},C.createElement("span",{"aria-live":"assertive","aria-atomic":"true"},d(r)," - ",d(i)))}return C.createElement("div",{className:p.current},d(r)," - ",d(i))};Tm.displayName="CalendarYearTitle";var Pm=function(e){var t,o=e.styles,n=e.theme,r=e.className,i=e.animateBackwards,a=e.animationDirection,s=e.onRenderTitle,l=Sm(o,{theme:n,className:r,hasHeaderClickCallback:!!e.onHeaderSelect,animateBackwards:i,animationDirection:a});return C.createElement("div",{className:l.headerContainer},null!==(t=null==s?void 0:s(e))&&void 0!==t?t:C.createElement(Tm,f({},e)),C.createElement(Em,f({},e)))};Pm.displayName="CalendarYearHeader";var Rm=function(e){var t=function(e){var t=e.selectedYear,o=e.navigatedYear,n=t||o||(new Date).getFullYear(),r=10*Math.floor(n/10),i=rd(r);return i&&i!==r?i>r:void 0}(e),o=function(e){var t=e.selectedYear,o=e.navigatedYear,n=C.useMemo((function(){return t||o||10*Math.floor((new Date).getFullYear()/10)}),[o,t]),r=C.useState(n),i=r[0],a=r[1];return C.useEffect((function(){a(n)}),[n]),[i,i+12-1,function(){a((function(e){return e+12}))},function(){a((function(e){return e-12}))}]}(e),n=o[0],r=o[1],i=o[2],a=o[3],s=C.useRef(null);C.useImperativeHandle(e.componentRef,(function(){return{focus:function(){var e,t;null===(t=null===(e=s.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}}}));var l=e.styles,c=e.theme,u=e.className,d=Sm(l,{theme:c,className:u});return C.createElement("div",{className:d.root},C.createElement(Pm,f({},e,{fromYear:n,toYear:r,onSelectPrev:a,onSelectNext:i,animateBackwards:t})),C.createElement(Im,f({},e,{fromYear:n,toYear:r,animateBackwards:t,componentRef:s})))};Rm.displayName="CalendarYearBase";var Mm=lr(Rm,(function(e){return vm(e)}),void 0,{scope:"CalendarYear"}),Nm=Cr(),Bm={styles:bm,strings:void 0,navigationIcons:_m,dateTimeFormatter:kh,yearPickerHidden:!1},Am=function(e){var t,o,n=xr(Bm,e),r=function(e){var t=e.componentRef,o=C.useRef(null),n=C.useRef(null),r=C.useRef(!1),i=C.useCallback((function(){n.current?n.current.focus():o.current&&o.current.focus()}),[]);return C.useImperativeHandle(t,(function(){return{focus:i}}),[i]),C.useEffect((function(){r.current&&(i(),r.current=!1)})),[o,n,function(){r.current=!0}]}(n),i=r[0],a=r[1],s=r[2],l=C.useState(!1),c=l[0],u=l[1],d=function(e){var t=e.navigatedDate.getFullYear(),o=rd(t);return void 0===o||o===t?void 0:o>t}(n),p=n.navigatedDate,h=n.selectedDate,m=n.strings,f=n.today,g=void 0===f?new Date:f,v=n.navigationIcons,b=n.dateTimeFormatter,y=n.minDate,_=n.maxDate,S=n.theme,x=n.styles,k=n.className,w=n.allFocusable,I=n.highlightCurrentMonth,D=n.highlightSelectedMonth,E=n.animationDirection,T=n.yearPickerHidden,P=n.onNavigateDate,R=function(e){return function(){return B(e)}},M=function(){P(Ph(p,1),!1)},N=function(){P(Ph(p,-1),!1)},B=function(e){var t;null===(t=n.onHeaderSelect)||void 0===t||t.call(n),P(Ah(p,e),!0)},A=function(){var e;T?null===(e=n.onHeaderSelect)||void 0===e||e.call(n):(s(),u(!0))},F=v.leftNavigation,L=v.rightNavigation,H=b,O=!y||Lh(y,Nh(p))<0,z=!_||Lh(Bh(p),_)<0,W=Nm(x,{theme:S,className:k,hasHeaderClickCallback:!!n.onHeaderSelect||!T,highlightCurrent:I,highlightSelected:D,animateBackwards:d,animationDirection:E});if(c){var V=function(e){var t=e.strings,o=e.navigatedDate,n=e.dateTimeFormatter,r=function(e){if(n){var t=new Date(o.getTime());return t.setFullYear(e),n.formatYear(t)}return String(e)},i=function(e){return"".concat(r(e.fromYear)," - ").concat(r(e.toYear))};return[r,{rangeAriaLabel:i,prevRangeAriaLabel:function(e){return t.prevYearRangeAriaLabel?"".concat(t.prevYearRangeAriaLabel," ").concat(i(e)):""},nextRangeAriaLabel:function(e){return t.nextYearRangeAriaLabel?"".concat(t.nextYearRangeAriaLabel," ").concat(i(e)):""},headerAriaLabelFormatString:t.yearPickerHeaderAriaLabel}]}(n),K=V[0],G=V[1];return C.createElement(Mm,{key:"calendarYear",minYear:y?y.getFullYear():void 0,maxYear:_?_.getFullYear():void 0,onSelectYear:function(e){if(s(),p.getFullYear()!==e){var t=new Date(p.getTime());t.setFullYear(e),_&&t>_?t=Ah(t,_.getMonth()):y&&t71||l.height>71),imageSize:l,focused:n}),b=Xr(m,Ar),y=b.className,_=g(b,["className"]),S=function(){return C.createElement("span",{id:t.labelId,className:"ms-ChoiceFieldLabel"},t.text)},x=function(){var e=t.imageAlt,o=void 0===e?"":e,n=t.selectedImageSrc,r=(t.onRenderLabel?El(t.onRenderLabel,S):S)(f(f({},t),{key:t.itemKey}));return C.createElement("label",{htmlFor:d,className:v.field},s&&C.createElement("div",{className:v.innerField},C.createElement("div",{className:v.imageWrapper},C.createElement(hi,f({src:s,alt:o},l))),C.createElement("div",{className:v.selectedImageWrapper},C.createElement(hi,f({src:n,alt:o},l)))),a&&C.createElement("div",{className:v.innerField},C.createElement("div",{className:v.iconWrapper},C.createElement(Ei,f({},a)))),s||a?C.createElement("div",{className:v.labelWrapper},r):r)},k=t.onRenderField,w=void 0===k?x:k;return C.createElement("div",{className:v.root},C.createElement("div",{className:v.choiceFieldWrapper},C.createElement("input",f({"aria-label":o,id:d,className:gi(v.input,y),type:"radio",name:h,disabled:c,checked:u,required:r},_,{onChange:function(e){var o;null===(o=t.onChange)||void 0===o||o.call(t,e,f(f({},t),{key:t.itemKey}))},onFocus:function(e){var o;null===(o=t.onFocus)||void 0===o||o.call(t,e,f(f({},t),{key:t.itemKey}))},onBlur:function(e){var o;null===(o=t.onBlur)||void 0===o||o.call(t,e)}})),w(f(f({},t),{key:t.itemKey}),x)))};gf.displayName="ChoiceGroupOption";var vf={root:"ms-ChoiceField",choiceFieldWrapper:"ms-ChoiceField-wrapper",input:"ms-ChoiceField-input",field:"ms-ChoiceField-field",innerField:"ms-ChoiceField-innerField",imageWrapper:"ms-ChoiceField-imageWrapper",iconWrapper:"ms-ChoiceField-iconWrapper",labelWrapper:"ms-ChoiceField-labelWrapper",checked:"is-checked"},bf="200ms",yf="cubic-bezier(.4, 0, .23, 1)";function Cf(e,t){var o,n;return["is-inFocus",{selectors:(o={},o[".".concat(on," &, :host(.").concat(on,") &")]={position:"relative",outline:"transparent",selectors:{"::-moz-focus-inner":{border:0},":after":{content:'""',top:-2,right:-2,bottom:-2,left:-2,pointerEvents:"none",border:"1px solid ".concat(e),position:"absolute",selectors:(n={},n[Fo]={borderColor:"WindowText",borderWidth:t?1:2},n)}}},o)}]}function _f(e,t,o){return[t,{paddingBottom:2,transitionProperty:"opacity",transitionDuration:bf,transitionTimingFunction:"ease",selectors:{".ms-Image":{display:"inline-block",borderStyle:"none"}}},(o?!e:e)&&["is-hidden",{position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",opacity:0}]]}var Sf=lr(gf,(function(e){var t,o,n,r,i,a=e.theme,s=e.hasIcon,l=e.hasImage,c=e.checked,u=e.disabled,d=e.imageIsLarge,p=e.focused,h=e.imageSize,m=a.palette,g=a.semanticColors,v=a.fonts,b=Ao(vf,a),y=m.neutralPrimary,C=g.inputBorderHovered,_=g.inputBackgroundChecked,S=m.themeDark,x=g.disabledBodySubtext,k=g.bodyBackground,w=m.neutralSecondary,I=g.inputBackgroundChecked,D=m.themeDark,E=g.disabledBodySubtext,T=m.neutralDark,P=g.focusBorder,R=g.inputBorderHovered,M=g.inputBackgroundChecked,N=m.themeDark,B=m.neutralLighter,A={selectors:{".ms-ChoiceFieldLabel":{color:T},":before":{borderColor:c?S:C},":after":[!s&&!l&&!c&&{content:'""',transitionProperty:"background-color",left:5,top:5,width:10,height:10,backgroundColor:w},c&&{borderColor:D,background:D}]}},F={borderColor:c?N:R,selectors:{":before":{opacity:1,borderColor:c?S:C}}},L=[{content:'""',display:"inline-block",backgroundColor:k,borderWidth:1,borderStyle:"solid",borderColor:y,width:20,height:20,fontWeight:"normal",position:"absolute",top:0,left:0,boxSizing:"border-box",transitionProperty:"border-color",transitionDuration:bf,transitionTimingFunction:yf,borderRadius:"50%"},u&&{borderColor:x,selectors:(t={},t[Fo]=f({borderColor:"GrayText",background:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},c&&{borderColor:u?x:_,selectors:(o={},o[Fo]={borderColor:"Highlight",background:"Window",forcedColorAdjust:"none"},o)},(s||l)&&{top:3,right:3,left:"auto",opacity:c?1:0}],H=[{content:'""',width:0,height:0,borderRadius:"50%",position:"absolute",left:10,right:0,transitionProperty:"border-width",transitionDuration:bf,transitionTimingFunction:yf,boxSizing:"border-box"},c&&{borderWidth:5,borderStyle:"solid",borderColor:u?E:I,background:I,left:5,top:5,width:10,height:10,selectors:(n={},n[Fo]={borderColor:"Highlight",forcedColorAdjust:"none"},n)},c&&(s||l)&&{top:8,right:8,left:"auto"}];return{root:[b.root,a.fonts.medium,{display:"flex",alignItems:"center",boxSizing:"border-box",color:g.bodyText,minHeight:26,border:"none",position:"relative",marginTop:8,selectors:{".ms-ChoiceFieldLabel":{display:"inline-block"}}},!s&&!l&&{selectors:{".ms-ChoiceFieldLabel":{paddingLeft:"26px"}}},l&&"ms-ChoiceField--image",s&&"ms-ChoiceField--icon",(s||l)&&{display:"inline-flex",fontSize:0,margin:"0 4px 4px 0",paddingLeft:0,backgroundColor:B,height:"100%"}],choiceFieldWrapper:[b.choiceFieldWrapper,p&&Cf(P,s||l)],input:[b.input,{position:"absolute",opacity:0,top:0,right:0,width:"100%",height:"100%",margin:0},u&&"is-disabled"],field:[b.field,c&&b.checked,{display:"inline-block",cursor:"pointer",marginTop:0,position:"relative",verticalAlign:"top",userSelect:"none",minHeight:20,selectors:{":hover":!u&&A,":focus":!u&&A,":before":L,":after":H}},s&&"ms-ChoiceField--icon",l&&"ms-ChoiceField-field--image",(s||l)&&{boxSizing:"content-box",cursor:"pointer",paddingTop:22,margin:0,textAlign:"center",transitionProperty:"all",transitionDuration:bf,transitionTimingFunction:"ease",border:"1px solid transparent",justifyContent:"center",alignItems:"center",display:"flex",flexDirection:"column"},c&&{borderColor:M},(s||l)&&!u&&{selectors:{":hover":F,":focus":F}},u&&{cursor:"default",selectors:{".ms-ChoiceFieldLabel":{color:g.disabledBodyText,selectors:(r={},r[Fo]=f({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)}}},c&&u&&{borderColor:B}],innerField:[b.innerField,l&&{height:h.height,width:h.width},(s||l)&&{position:"relative",display:"inline-block",paddingLeft:30,paddingRight:30},(s||l)&&d&&{paddingLeft:24,paddingRight:24},(s||l)&&u&&{opacity:.25,selectors:(i={},i[Fo]={color:"GrayText",opacity:1},i)}],imageWrapper:_f(!1,b.imageWrapper,c),selectedImageWrapper:_f(!0,b.imageWrapper,c),iconWrapper:[b.iconWrapper,{fontSize:32,lineHeight:32,height:32}],labelWrapper:[b.labelWrapper,v.medium,(s||l)&&{display:"block",position:"relative",margin:"4px 8px 2px 8px",height:32,lineHeight:15,maxWidth:2*h.width,overflow:"hidden",whiteSpace:"pre-wrap"}]}}),void 0,{scope:"ChoiceGroupOption"}),xf=Cr(),kf=function(e,t){return"".concat(t,"-").concat(e.key)},wf=function(e,t){return void 0===t?void 0:Sa(e,(function(e){return e.key===t}))},If=function(e,t,o,n,r){var i=wf(e,t)||e.filter((function(e){return!e.disabled}))[0],a=i&&(null==r?void 0:r.getElementById(kf(i,o)));a&&(a.focus(),an(!0,a,n))},Df=C.forwardRef((function(e,t){var o=e.className,n=e.theme,r=e.styles,i=e.options,a=void 0===i?[]:i,s=e.label,l=e.required,c=e.disabled,u=e.name,d=e.defaultSelectedKey,p=e.componentRef,h=e.onChange,m=yd("ChoiceGroup"),g=yd("ChoiceGroupLabel"),v=Xr(e,Zr,["onChange","className","required"]),b=xf(r,{theme:n,className:o,optionsContainIconOrImage:a.some((function(e){return!(!e.iconProps&&!e.imageSrc)}))}),y=e.ariaLabelledBy||(s?g:e["aria-labelledby"]),_=Om(e.selectedKey,d),S=_[0],x=_[1],k=C.useState(),w=k[0],I=k[1],D=C.useRef(null),E=li(D,t),T=C.useContext(Qs);!function(e,t,o,n,r){var i=Nc();C.useImperativeHandle(n,(function(){return{get checkedOption(){return wf(e,t)},focus:function(){If(e,t,o,r,i)}}}),[e,t,o,r,i])}(a,S,m,p,null==T?void 0:T.registeredProviders),Js(D);var P=C.useCallback((function(e,t){var o;t&&(I(t.itemKey),null===(o=t.onFocus)||void 0===o||o.call(t,e))}),[]),R=C.useCallback((function(e,t){var o;I(void 0),null===(o=null==t?void 0:t.onBlur)||void 0===o||o.call(t,e)}),[]),M=C.useCallback((function(e,t){var o;t&&(x(t.itemKey),null===(o=t.onChange)||void 0===o||o.call(t,e),null==h||h(e,wf(a,t.itemKey)))}),[h,a,x]),N=C.useCallback((function(e){(function(e){return e.relatedTarget instanceof HTMLElement&&"true"===e.relatedTarget.dataset.isFocusTrapZoneBumper})(e)&&If(a,S,m,null==T?void 0:T.registeredProviders)}),[a,S,m,T]);return C.createElement("div",f({className:b.root},v,{ref:E}),C.createElement("div",f({role:"radiogroup"},y&&{"aria-labelledby":y},{onFocus:N}),s&&C.createElement(hf,{className:b.label,required:l,id:g,disabled:c},s),C.createElement("div",{className:b.flexContainer},a.map((function(e){return C.createElement(Sf,f({itemKey:e.key},e,{key:e.key,onBlur:R,onFocus:P,onChange:M,focused:e.key===w,checked:e.key===S,disabled:e.disabled||c,id:kf(e,m),labelId:e.labelId||"".concat(g,"-").concat(e.key),name:u||m,required:l}))})))))}));Df.displayName="ChoiceGroup";var Ef,Tf={root:"ms-ChoiceFieldGroup",flexContainer:"ms-ChoiceFieldGroup-flexContainer"},Pf=lr(Df,(function(e){var t=e.className,o=e.optionsContainIconOrImage,n=e.theme,r=Ao(Tf,n);return{root:[t,r.root,n.fonts.medium,{display:"block"}],flexContainer:[r.flexContainer,o&&{display:"flex",flexDirection:"row",flexWrap:"wrap"}]}}),void 0,{scope:"ChoiceGroup"}),Rf=Ro((function(){var e;return On({root:[{position:"absolute",boxSizing:"border-box",border:"1px solid ${}",selectors:(e={},e[Fo]={border:"1px solid WindowText"},e)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}],container:{position:"relative"},main:{backgroundColor:"#ffffff",overflowX:"hidden",overflowY:"hidden",position:"relative"},overFlowYHidden:{overflowY:"hidden"}})})),Mf={opacity:0},Nf=((Ef={})[Pl.top]="slideUpIn20",Ef[Pl.bottom]="slideDownIn20",Ef[Pl.left]="slideLeftIn20",Ef[Pl.right]="slideRightIn20",Ef),Bf={preventDismissOnScroll:!1,offsetFromTarget:0,minPagePadding:8,directionalHint:Il.bottomAutoEdge};function Af(e,t){var o=e.finalHeight,n=C.useState({value:0}),r=n[0],i=n[1],a=Ic(),s=C.useRef(0),l=function(){t&&o&&(s.current=a.requestAnimationFrame((function(){if(t.current){var e=t.current.lastChild,n=e.scrollHeight-e.offsetHeight;i({value:r.value+n}),e.offsetHeightk?k:y,I=C.createElement("div",{ref:i,className:gi("ms-PositioningContainer",S.container)},C.createElement("div",{className:ie("ms-PositioningContainer-layerHost",S.root,g,x,!!b&&{width:b},v&&{zIndex:tn.Layer}),style:d?d.elementPosition:Mf,tabIndex:-1,ref:n},_,w));return v?I:C.createElement(Eu,f({},o.layerProps),I)}));function Lf(e){var t;return{root:[{position:"absolute",boxShadow:"inherit",border:"none",boxSizing:"border-box",transform:e.transform,width:e.width,height:e.height,left:e.left,top:e.top,right:e.right,bottom:e.bottom}],beak:{fill:e.color,display:"block",selectors:(t={},t[Fo]={fill:"windowtext"},t)}}}Ff.displayName="PositioningContainer";var Hf=10,Of=18,zf=C.forwardRef((function(e,t){var o,n,r,i,a,s,l=e.left,c=e.top,u=e.bottom,d=e.right,p=e.color,h=e.direction,m=void 0===h?Pl.top:h;switch(m===Pl.top||m===Pl.bottom?(o=Hf,n=Of):(o=Of,n=Hf),m){case Pl.top:default:r="".concat(9,", 0"),i="".concat(Of,", ").concat(Hf),a="0, ".concat(Hf),s="translateY(-100%)";break;case Pl.right:r="0, 0",i="".concat(Hf,", ").concat(Hf),a="0, ".concat(Of),s="translateX(100%)";break;case Pl.bottom:r="0, 0",i="".concat(Of,", 0"),a="".concat(9,", ").concat(Hf),s="translateY(100%)";break;case Pl.left:r="".concat(Hf,", 0"),i="0, ".concat(Hf),a="".concat(Hf,", ").concat(Of),s="translateX(-100%)"}var f=Cr()(Lf,{left:l,top:c,bottom:u,right:d,height:"".concat(o,"px"),width:"".concat(n,"px"),transform:s,color:p});return C.createElement("div",{className:f.root,role:"presentation",ref:t},C.createElement("svg",{height:o,width:n,className:f.beak},C.createElement("polygon",{points:r+" "+i+" "+a})))}));zf.displayName="Beak";var Wf=Ro((function(){return le({"0%":{transform:"translate(0, 0)",animationTimingFunction:"linear"},"78.57%":{transform:"translate(0, 0)",animationTimingFunction:"cubic-bezier(0.62, 0, 0.56, 1)"},"82.14%":{transform:"translate(0, -5px)",animationTimingFunction:"cubic-bezier(0.58, 0, 0, 1)"},"84.88%":{transform:"translate(0, 9px)",animationTimingFunction:"cubic-bezier(1, 0, 0.56, 1)"},"88.1%":{transform:"translate(0, -2px)",animationTimingFunction:"cubic-bezier(0.58, 0, 0.67, 1)"},"90.12%":{transform:"translate(0, 0)",animationTimingFunction:"linear"},"100%":{transform:"translate(0, 0)"}})})),Vf=Ro((function(){return le({"0%":{transform:" scale(0)",animationTimingFunction:"linear"},"14.29%":{transform:"scale(0)",animationTimingFunction:"cubic-bezier(0.84, 0, 0.52, 0.99)"},"16.67%":{transform:"scale(1.15)",animationTimingFunction:"cubic-bezier(0.48, -0.01, 0.52, 1.01)"},"19.05%":{transform:"scale(0.95)",animationTimingFunction:"cubic-bezier(0.48, 0.02, 0.52, 0.98)"},"21.43%":{transform:"scale(1)",animationTimingFunction:"linear"},"42.86%":{transform:"scale(1)",animationTimingFunction:"cubic-bezier(0.48, -0.02, 0.52, 1.02)"},"45.71%":{transform:"scale(0.8)",animationTimingFunction:"cubic-bezier(0.48, 0.01, 0.52, 0.99)"},"50%":{transform:"scale(1)",animationTimingFunction:"linear"},"90.12%":{transform:"scale(1)",animationTimingFunction:"cubic-bezier(0.48, -0.02, 0.52, 1.02)"},"92.98%":{transform:"scale(0.8)",animationTimingFunction:"cubic-bezier(0.48, 0.01, 0.52, 0.99)"},"97.26%":{transform:"scale(1)",animationTimingFunction:"linear"},"100%":{transform:"scale(1)"}})})),Kf=Ro((function(){return le({"0%":{transform:"rotate(0deg)",animationTimingFunction:"linear"},"83.33%":{transform:" rotate(0deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"83.93%":{transform:"rotate(15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"84.52%":{transform:"rotate(-15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"85.12%":{transform:"rotate(15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"85.71%":{transform:"rotate(-15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"86.31%":{transform:"rotate(0deg)",animationTimingFunction:"linear"},"100%":{transform:"rotate(0deg)"}})})),Gf=function(){var e=Pc({});return C.useEffect((function(){return function(){for(var t=0,o=Object.keys(e);te.left-n&&te.top-n&&ot?t:e}function ug(e,t,o){var n=NaN,r=Math.max(e,t,o),i=r-Math.min(e,t,o);return 0===i?n=0:e===r?n=(t-o)/i%6:t===r?n=(o-e)/i+2:o===r&&(n=(e-t)/i+4),(n=Math.round(60*n))<0&&(n+=360),{h:n,s:Math.round(100*(0===r?0:i/r)),v:Math.round(r/eg*100)}}function dg(e,t,o){return[pg(e),pg(t),pg(o)].join("")}function pg(e){var t=(e=cg(e,eg)).toString(16);return 1===t.length?"0"+t:t}function hg(e,t,o,n,r){return n===og||"number"!=typeof n?"#".concat(r):"rgba(".concat(e,", ").concat(t,", ").concat(o,", ").concat(n/og,")")}function mg(e){var t=e.a,o=void 0===t?og:t,n=e.b,r=e.g,i=e.r,a=ug(i,r,n),s=a.h,l=a.s,c=a.v,u=dg(i,r,n);return{a:o,b:n,g:r,h:s,hex:u,r:i,s:l,str:hg(i,r,n,o,u),v:c,t:og-o}}function fg(e,t,o){var n=(2-(t/=Qf))*(o/=$f),r=t*o;return{h:e,s:100*(r=(r/=n<=1?n:2-n)||0),l:100*(n/=2)}}function gg(e,t,o){var n=[],r=(o/=100)*(t/=100),i=e/60,a=r*(1-Math.abs(i%2-1)),s=o-r;switch(Math.floor(i)){case 0:n=[r,a,0];break;case 1:n=[a,r,0];break;case 2:n=[0,r,a];break;case 3:n=[0,a,r];break;case 4:n=[a,0,r];break;case 5:n=[r,0,a]}return{r:Math.round(eg*(n[0]+s)),g:Math.round(eg*(n[1]+s)),b:Math.round(eg*(n[2]+s))}}var vg,bg=[.027,.043,.082,.145,.184,.216,.349,.537],yg=[.537,.45,.349,.216,.184,.145,.082,.043],Cg=[.537,.349,.216,.184,.145,.082,.043,.027],_g=[.537,.45,.349,.216,.184,.145,.082,.043],Sg=[.88,.77,.66,.55,.44,.33,.22,.11],xg=[.11,.22,.33,.44,.55,.66,.77,.88],kg=[.96,.84,.7,.4,.12],wg=[.1,.24,.44],Ig=.2,Dg=.8;function Eg(e){return"number"==typeof e&&e>=vg.Unshaded&&e<=vg.Shade8}function Tg(e,t){return{h:e.h,s:e.s,v:cg(e.v-e.v*t,100,0)}}function Pg(e,t){return{h:e.h,s:cg(e.s-e.s*t,100,0),v:cg(e.v+(100-e.v)*t,100,0)}}function Rg(e){return fg(e.h,e.s,e.v).l<50}function Mg(e,t,o){if(void 0===o&&(o=!1),!e)return null;if(t===vg.Unshaded||!Eg(t))return e;var n=fg(e.h,e.s,e.v),r={h:e.h,s:e.s,v:e.v},i=t-1,a=Pg,s=Tg;return o&&(a=Tg,s=Pg),r=function(e){return e.r===eg&&e.g===eg&&e.b===eg}(e)?Tg(r,Cg[i]):function(e){return 0===e.r&&0===e.g&&0===e.b}(e)?Pg(r,_g[i]):n.l/100>Dg?s(r,xg[i]):n.l/1001?n/r:r/n}function Ag(e){return{h:cg(e.h,Jf),s:cg(e.s,Qf),v:cg(e.v,$f)}}function Fg(e){return!e||e.length=rg?e.substring(0,rg):e.substring(0,ng)}function Lg(e){return{r:cg(e.r,eg),g:cg(e.g,eg),b:cg(e.b,eg),a:"number"==typeof e.a?cg(e.a,og):e.a}}function Hg(e,t,o){var n=o+(t*=(o<50?o:100-o)/100);return{h:e,s:0===n?0:2*t/n*100,v:n}}function Og(e,t,o){var n=Hg(e,t,o);return gg(n.h,n.s,n.v)}function zg(e,t){if(e){var o=null!=t?t:ht();return Wg(e)||function(e){if("#"===e[0]&&7===e.length&&/^#[\da-fA-F]{6}$/.test(e))return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:og}}(e)||function(e){if("#"===e[0]&&4===e.length&&/^#[\da-fA-F]{3}$/.test(e))return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:og}}(e)||function(e){var t=e.match(/^hsl(a?)\(([\d., ]+)\)$/);if(t){var o=!!t[1],n=o?4:3,r=t[2].split(/ *, */).map(Number);if(r.length===n){var i=Og(r[0],r[1],r[2]);return i.a=o?100*r[3]:og,i}}}(e)||function(e,t){var o;if(void 0!==t){var n=t.createElement("div");n.style.backgroundColor=e,n.style.position="absolute",n.style.top="-9999px",n.style.left="-9999px",n.style.height="1px",n.style.width="1px",t.body.appendChild(n);var r=null===(o=t.defaultView)||void 0===o?void 0:o.getComputedStyle(n),i=r&&r.backgroundColor;if(t.body.removeChild(n),"rgba(0, 0, 0, 0)"!==i&&"transparent"!==i)return Wg(i);switch(e.trim()){case"transparent":case"#0000":case"#00000000":return{r:0,g:0,b:0,a:0}}}}(e,o)}}function Wg(e){if(e){var t=e.match(/^rgb(a?)\(([\d., ]+)\)$/);if(t){var o=!!t[1],n=o?4:3,r=t[2].split(/ *, */).map(Number);if(r.length===n)return{r:r[0],g:r[1],b:r[2],a:o?100*r[3]:og}}}}function Vg(e,t,o){var n=gg(e,t,o);return dg(n.r,n.g,n.b)}function Kg(e,t){var o=e.h,n=e.s,r=e.v;t="number"==typeof t?t:og;var i=gg(o,n,r),a=i.r,s=i.g,l=i.b,c=Vg(o,n,r);return{a:t,b:l,g:s,h:o,hex:c,r:a,s:n,str:hg(a,s,l,t,c),v:r,t:og-t}}function Gg(e,t){var o=zg(e,null!=t?t:ht());if(o)return f(f({},mg(o)),{str:e})}function Ug(e){return"#".concat(Vg(e.h,Qf,$f))}function jg(e,t){return f(f({},e),{a:t,t:og-t,str:hg(e.r,e.g,e.b,t,e.hex)})}function qg(e,t){var o=gg(t,e.s,e.v),n=o.r,r=o.g,i=o.b,a=dg(n,r,i);return f(f({},e),{h:t,r:n,g:r,b:i,hex:a,str:hg(n,r,i,e.a,a)})}function Yg(e,t,o){var n;return mg(((n={r:e.r,g:e.g,b:e.b,a:e.a})[t]=o,n))}function Zg(e,t,o){var n=gg(e.h,t,o),r=n.r,i=n.g,a=n.b,s=dg(r,i,a);return f(f({},e),{s:t,v:o,r:r,g:i,b:a,hex:s,str:hg(r,i,a,e.a,s)})}function Xg(e,t){var o=og-t;return f(f({},e),{t:t,a:o,str:hg(e.r,e.g,e.b,o,e.hex)})}function Qg(){}function Jg(e){}function $g(e,t){return void 0!==e[t]&&null!==e[t]}!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"}(vg||(vg={}));var ev,tv=Cr(),ov="TextField",nv=function(e){function t(t){var o=e.call(this,t)||this;o._textElement=C.createRef(),o._onFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({isFocused:!0},(function(){o.props.validateOnFocusIn&&o._validate(o.value)}))},o._onBlur=function(e){o.props.onBlur&&o.props.onBlur(e),o.setState({isFocused:!1},(function(){o.props.validateOnFocusOut&&o._validate(o.value)}))},o._onRenderLabel=function(e){var t=e.label,n=e.required,r=o._classNames.subComponentStyles?o._classNames.subComponentStyles.label:void 0;return t?C.createElement(hf,{required:n,htmlFor:o._id,styles:r,disabled:e.disabled,id:o._labelId},e.label):null},o._onRenderDescription=function(e){return e.description?C.createElement("span",{className:o._classNames.description},e.description):null},o._onRevealButtonClick=function(e){o.setState((function(e){return{isRevealingPassword:!e.isRevealingPassword}}))},o._onInputChange=function(e){var t,n,r=e.target.value,i=rv(o.props,o.state)||"";void 0!==r&&r!==o._lastChangeValue&&r!==i?(o._lastChangeValue=r,null===(n=(t=o.props).onChange)||void 0===n||n.call(t,e,r),o._isControlled||o.setState({uncontrolledValue:r})):o._lastChangeValue=void 0},oa(o),o._async=new sa(o),o._fallbackId=us(ov),o._descriptionId=us(ov+"Description"),o._labelId=us(ov+"Label"),o._prefixId=us(ov+"Prefix"),o._suffixId=us(ov+"Suffix"),o._warnControlledUsage();var n=t.defaultValue,r=void 0===n?"":n;return"number"==typeof r&&(r=String(r)),o.state={uncontrolledValue:o._isControlled?void 0:r,isFocused:!1,errorMessage:""},o._delayedValidate=o._async.debounce(o._validate,o.props.deferredValidationTime),o._lastValidation=0,o}return m(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return rv(this.props,this.state)},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._adjustInputHeight(),this.props.validateOnLoad&&this._validate(this.value)},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.getSnapshotBeforeUpdate=function(e,t){return{selection:[this.selectionStart,this.selectionEnd]}},t.prototype.componentDidUpdate=function(e,t,o){var n=this.props,r=(o||{}).selection,i=void 0===r?[null,null]:r,a=i[0],s=i[1];!!e.multiline!=!!n.multiline&&t.isFocused&&(this.focus(),null!==a&&null!==s&&a>=0&&s>=0&&this.setSelectionRange(a,s)),e.value!==n.value&&(this._lastChangeValue=void 0);var l=rv(e,t),c=this.value;l!==c&&(this._warnControlledUsage(e),this.state.errorMessage&&!n.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),iv(n)&&this._delayedValidate(c))},t.prototype.render=function(){var e=this.props,t=e.borderless,o=e.className,n=e.disabled,r=e.invalid,i=e.iconProps,a=e.inputClassName,s=e.label,l=e.multiline,c=e.required,u=e.underlined,d=e.prefix,p=e.resizable,h=e.suffix,m=e.theme,g=e.styles,v=e.autoAdjustHeight,b=e.canRevealPassword,y=e.revealPasswordAriaLabel,_=e.type,S=e.onRenderPrefix,x=void 0===S?this._onRenderPrefix:S,k=e.onRenderSuffix,w=void 0===k?this._onRenderSuffix:k,I=e.onRenderLabel,D=void 0===I?this._onRenderLabel:I,E=e.onRenderDescription,T=void 0===E?this._onRenderDescription:E,P=this.state,R=P.isFocused,M=P.isRevealingPassword,N=this._errorMessage,B="boolean"==typeof r?r:!!N,A=!!b&&"password"===_&&function(){if("boolean"!=typeof ev){var e=gt();if(null==e?void 0:e.navigator){var t=/Edg/.test(e.navigator.userAgent||"");ev=!($i()||t)}else ev=!0}return ev}(),F=this._classNames=tv(g,{theme:m,className:o,disabled:n,focused:R,required:c,multiline:l,hasLabel:!!s,hasErrorMessage:B,borderless:t,resizable:p,hasIcon:!!i,underlined:u,inputClassName:a,autoAdjustHeight:v,hasRevealButton:A});return C.createElement("div",{ref:this.props.elementRef,className:F.root},C.createElement("div",{className:F.wrapper},D(this.props,this._onRenderLabel),C.createElement("div",{className:F.fieldGroup},(void 0!==d||this.props.onRenderPrefix)&&C.createElement("div",{className:F.prefix,id:this._prefixId},x(this.props,this._onRenderPrefix)),l?this._renderTextArea():this._renderInput(),i&&C.createElement(Ei,f({className:F.icon},i)),A&&C.createElement("button",{"aria-label":y,className:F.revealButton,onClick:this._onRevealButtonClick,"aria-pressed":!!M,type:"button"},C.createElement("span",{className:F.revealSpan},C.createElement(Ei,{className:F.revealIcon,iconName:M?"Hide":"RedEye"}))),(void 0!==h||this.props.onRenderSuffix)&&C.createElement("div",{className:F.suffix,id:this._suffixId},w(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&C.createElement("span",{id:this._descriptionId},T(this.props,this._onRenderDescription),N&&C.createElement("div",{role:"alert"},C.createElement(ga,null,this._renderErrorMessage()))))},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:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),t.prototype.setSelectionRange=function(e,t){this._textElement.current&&this._textElement.current.setSelectionRange(e,t)},t.prototype._warnControlledUsage=function(e){this._id,this.props,null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,Sn("Warning: 'value' prop on '".concat(ov,"' 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:!1,configurable:!0}),Object.defineProperty(t.prototype,"_isControlled",{get:function(){return $g(this.props,"value")},enumerable:!1,configurable:!0}),t.prototype._onRenderPrefix=function(e){var t=e.prefix;return C.createElement("span",{style:{paddingBottom:"1px"}},t)},t.prototype._onRenderSuffix=function(e){var t=e.suffix;return C.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:!1,configurable:!0}),t.prototype._renderErrorMessage=function(){var e=this._errorMessage;return e?"string"==typeof e?C.createElement("p",{className:this._classNames.errorMessage},C.createElement("span",{"data-automation-id":"error-message"},e)):C.createElement("div",{className:this._classNames.errorMessage,"data-automation-id":"error-message"},e):null},Object.defineProperty(t.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!1,configurable:!0}),t.prototype._renderTextArea=function(){var e=this.props.invalid,t=void 0===e?!!this._errorMessage:e,o=Xr(this.props,Fr,["defaultValue"]),n=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return C.createElement("textarea",f({id:this._id},o,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":n,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":t,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._renderInput=function(){var e=this.props,t=e.ariaLabel,o=e.invalid,n=void 0===o?!!this._errorMessage:o,r=e.onRenderPrefix,i=e.onRenderSuffix,a=e.prefix,s=e.suffix,l=e.type,c=void 0===l?"text":l,u=[];e.label&&u.push(this._labelId),(void 0!==a||r)&&u.push(this._prefixId),(void 0!==s||i)&&u.push(this._suffixId);var d=f(f({type:this.state.isRevealingPassword?"text":c,id:this._id},Xr(this.props,Ar,["defaultValue","type"])),{"aria-labelledby":this.props["aria-labelledby"]||(u.length>0?u.join(" "):void 0),ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":t,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":n,onFocus:this._onFocus,onBlur:this._onBlur}),p=function(e){return C.createElement("input",f({},e))};return(this.props.onRenderInput||p)(d,p)},t.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!iv(this.props)){this._latestValidateValue=e;var o=this.props.onGetErrorMessage,n=o&&o(e||"");if(void 0!==n)if("string"!=typeof n&&"then"in n){var r=++this._lastValidation;n.then((function(o){r===t._lastValidation&&t.setState({errorMessage:o}),t._notifyAfterValidate(e,o)}))}else this.setState({errorMessage:n}),this._notifyAfterValidate(e,n);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(){var e,t;if(this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline){var o=null===(t=null===(e=this.props.scrollContainerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.scrollTop,n=this._textElement.current;n.style.height="",n.style.height=n.scrollHeight+"px",o&&(this.props.scrollContainerRef.current.scrollTop=o)}},t.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},t}(C.Component);function rv(e,t){var o=e.value,n=void 0===o?t.uncontrolledValue:o;return"number"==typeof n?String(n):n}function iv(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var av={root:"ms-TextField",description:"ms-TextField-description",errorMessage:"ms-TextField-errorMessage",field:"ms-TextField-field",fieldGroup:"ms-TextField-fieldGroup",prefix:"ms-TextField-prefix",suffix:"ms-TextField-suffix",wrapper:"ms-TextField-wrapper",revealButton:"ms-TextField-reveal",multiline:"ms-TextField--multiline",borderless:"ms-TextField--borderless",underlined:"ms-TextField--underlined",unresizable:"ms-TextField--unresizable",required:"is-required",disabled:"is-disabled",active:"is-active"};function sv(e){var t=e.underlined,o=e.disabled,n=e.focused,r=e.theme,i=r.palette,a=r.fonts;return function(){var e;return{root:[t&&o&&{color:i.neutralTertiary},t&&{fontSize:a.medium.fontSize,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},t&&n&&{selectors:(e={},e[Fo]={height:31},e)}]}}}function lv(e){var t,o,n,r,i,a,s,l,c,u,d,p,h=e.theme,m=e.className,g=e.disabled,v=e.focused,b=e.required,y=e.multiline,C=e.hasLabel,_=e.borderless,S=e.underlined,x=e.hasIcon,k=e.resizable,w=e.hasErrorMessage,I=e.inputClassName,D=e.autoAdjustHeight,E=e.hasRevealButton,T=h.semanticColors,P=h.effects,R=h.fonts,M=Ao(av,h),N={background:T.disabledBackground,color:g?T.disabledText:T.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0,selectors:(t={},t[Fo]={background:"Window",color:g?"GrayText":"WindowText"},t)},B=[{color:T.inputPlaceholderText,opacity:1,selectors:(o={},o[Fo]={color:"GrayText"},o)}],A={color:T.disabledText,selectors:(n={},n[Fo]={color:"GrayText"},n)};return{root:[M.root,R.medium,b&&M.required,g&&M.disabled,v&&M.active,y&&M.multiline,_&&M.borderless,S&&M.underlined,fn,{position:"relative"},m],wrapper:[M.wrapper,S&&[{display:"flex",borderBottom:"1px solid ".concat(w?T.errorText:T.inputBorder),width:"100%"},g&&{borderBottomColor:T.disabledBackground,selectors:(r={},r[Fo]=f({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},!g&&{selectors:{":hover":{borderBottomColor:w?T.errorText:T.inputBorderHovered,selectors:(i={},i[Fo]=f({borderBottomColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}}},v&&[{position:"relative"},un(w?T.errorText:T.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[M.fieldGroup,fn,{border:"1px solid ".concat(T.inputBorder),borderRadius:P.roundedCorner2,background:T.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative"},y&&{minHeight:"60px",height:"auto",display:"flex"},!v&&!g&&{selectors:{":hover":{borderColor:T.inputBorderHovered,selectors:(a={},a[Fo]=f({borderColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)}}},v&&!S&&un(w?T.errorText:T.inputFocusBorderAlt,P.roundedCorner2),g&&{borderColor:T.disabledBackground,selectors:(s={},s[Fo]=f({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s),cursor:"default"},_&&{border:"none"},_&&v&&{border:"none",selectors:{":after":{border:"none"}}},S&&{flex:"1 1 0px",border:"none",textAlign:"left"},S&&g&&{backgroundColor:"transparent"},w&&!S&&{borderColor:T.errorText,selectors:{"&:hover":{borderColor:T.errorText}}},!C&&b&&{selectors:(l={":before":{content:"'*'",color:T.errorText,position:"absolute",top:-5,right:-10}},l[Fo]={selectors:{":before":{color:"WindowText",right:-14}}},l)}],field:[R.medium,M.field,fn,{borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:T.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:(c={"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}},c[Fo]={background:"Window",color:g?"GrayText":"WindowText"},c)},_n(B),y&&!k&&[M.unresizable,{resize:"none"}],y&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},y&&D&&{overflow:"hidden"},x&&!E&&{paddingRight:24},y&&x&&{paddingRight:40},g&&[{backgroundColor:T.disabledBackground,color:T.disabledText,borderColor:T.disabledBackground},_n(A)],S&&{textAlign:"left"},v&&!_&&{selectors:(u={},u[Fo]={paddingLeft:11,paddingRight:11},u)},v&&y&&!_&&{selectors:(d={},d[Fo]={paddingTop:4},d)},I],icon:[y&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:rt.medium,lineHeight:18},g&&{color:T.disabledText}],description:[M.description,{color:T.bodySubtext,fontSize:R.xSmall.fontSize}],errorMessage:[M.errorMessage,it.slideDownIn20,R.small,{color:T.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[M.prefix,N],suffix:[M.suffix,N],revealButton:[M.revealButton,"ms-Button","ms-Button--icon",sn(h,{inset:1}),{height:30,width:32,border:"none",padding:"0px 4px",backgroundColor:"transparent",color:T.link,selectors:{":hover":{outline:0,color:T.primaryButtonBackgroundHovered,backgroundColor:T.buttonBackgroundHovered,selectors:(p={},p[Fo]={borderColor:"Highlight",color:"Highlight"},p)},":focus":{outline:0}}},x&&{marginRight:28}],revealSpan:{display:"flex",height:"100%",alignItems:"center"},revealIcon:{margin:"0px 4px",pointerEvents:"none",bottom:6,right:8,top:"auto",fontSize:rt.medium,lineHeight:18},subComponentStyles:{label:sv(e)}}}var cv=lr(nv,lv,void 0,{scope:"TextField"}),uv=Cr(),dv=function(e){function t(t){var o=e.call(this,t)||this;return o._disposables=[],o._root=C.createRef(),o._isAdjustingSaturation=!0,o._descriptionId=us("ColorRectangle-description"),o._onKeyDown=function(e){var t=o.state.color,n=t.s,r=t.v,i=e.shiftKey?10:1;switch(e.which){case ur.up:o._isAdjustingSaturation=!1,r+=i;break;case ur.down:o._isAdjustingSaturation=!1,r-=i;break;case ur.left:o._isAdjustingSaturation=!0,n-=i;break;case ur.right:o._isAdjustingSaturation=!0,n+=i;break;default:return}o._updateColor(e,Zg(t,cg(n,Qf),cg(r,$f)))},o._onMouseDown=function(e){var t=Fc(o.context);o._disposables.push(Ol(t,"mousemove",o._onMouseMove,!0),Ol(t,"mouseup",o._disposeListeners,!0)),o._onMouseMove(e)},o._onMouseMove=function(e){if(o._root.current){var t=pv(e,o.state.color,o._root.current);t&&o._updateColor(e,t)}},o._onTouchStart=function(e){o._root.current&&e.stopPropagation()},o._onTouchMove=function(e){if(o._root.current){var t=pv(e,o.state.color,o._root.current);t&&o._updateColor(e,t),e.preventDefault(),e.stopPropagation()}},o._disposeListeners=function(){o._disposables.forEach((function(e){return e()})),o._disposables=[]},oa(o),o.state={color:t.color},o}return m(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this.state.color},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){e!==this.props&&this.props.color&&this.setState({color:this.props.color})},t.prototype.componentDidMount=function(){this._root.current&&(this._root.current.addEventListener("touchstart",this._onTouchStart,{capture:!0,passive:!1}),this._root.current.addEventListener("touchmove",this._onTouchMove,{capture:!0,passive:!1}))},t.prototype.componentWillUnmount=function(){this._root.current&&(this._root.current.removeEventListener("touchstart",this._onTouchStart),this._root.current.removeEventListener("touchmove",this._onTouchMove)),this._disposeListeners()},t.prototype.render=function(){var e=this.props,t=e.minSize,o=e.theme,n=e.className,r=e.styles,i=e.ariaValueFormat,a=e.ariaLabel,s=e.ariaDescription,l=this.state.color,c=uv(r,{theme:o,className:n,minSize:t}),u=i.replace("{0}",String(l.s)).replace("{1}",String(l.v));return C.createElement("div",{ref:this._root,tabIndex:0,className:c.root,style:{backgroundColor:Ug(l)},onMouseDown:this._onMouseDown,onKeyDown:this._onKeyDown,role:"slider","aria-valuetext":u,"aria-valuenow":this._isAdjustingSaturation?l.s:l.v,"aria-valuemin":0,"aria-valuemax":$f,"aria-label":a,"aria-describedby":this._descriptionId,"data-is-focusable":!0},C.createElement("div",{className:c.description,id:this._descriptionId},s),C.createElement("div",{className:c.light}),C.createElement("div",{className:c.dark}),C.createElement("div",{className:c.thumb,style:{left:l.s+"%",top:$f-l.v+"%",backgroundColor:l.str}}))},t.prototype._updateColor=function(e,t){var o=this.props.onChange,n=this.state.color;t.s===n.s&&t.v===n.v||(o&&o(e,t),e.defaultPrevented||(this.setState({color:t}),e.preventDefault()))},t.contextType=la,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}(C.Component);function pv(e,t,o){var n=o.getBoundingClientRect(),r=void 0,i=e;if(i.touches){var a=i.touches[i.touches.length-1];void 0!==a.clientX&&void 0!==a.clientY&&(r={clientX:a.clientX,clientY:a.clientY})}if(!r){var s=e;void 0!==s.clientX&&void 0!==s.clientY&&(r={clientX:s.clientX,clientY:s.clientY})}if(r){var l=(r.clientX-n.left)/n.width,c=(r.clientY-n.top)/n.height;return Zg(t,cg(Math.round(l*Qf),Qf),cg(Math.round($f-c*$f),$f))}}var hv=lr(dv,(function(e){var t,o,n=e.className,r=e.theme,i=e.minSize,a=r.palette,s=r.effects;return{root:["ms-ColorPicker-colorRect",{position:"relative",marginBottom:8,border:"1px solid ".concat(a.neutralLighter),borderRadius:s.roundedCorner2,minWidth:i,minHeight:i,outline:"none",selectors:(t={},t[Fo]=f({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[".".concat(on," &:focus, :host(.").concat(on,") &:focus")]=(o={outline:"1px solid ".concat(a.neutralSecondary)},o["".concat(Fo)]={outline:"2px solid CanvasText"},o),t)},n],light:["ms-ColorPicker-light",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to right, white 0%, transparent 100%) /*@noflip*/"}],dark:["ms-ColorPicker-dark",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to bottom, transparent 0, #000 100%)"}],thumb:["ms-ColorPicker-thumb",{position:"absolute",width:20,height:20,background:"white",border:"1px solid ".concat(a.neutralSecondaryAlt),borderRadius:"50%",boxShadow:s.elevation8,transform:"translate(-50%, -50%)",selectors:{":before":{position:"absolute",left:0,right:0,top:0,bottom:0,border:"2px solid ".concat(a.white),borderRadius:"50%",boxSizing:"border-box",content:'""'}}}],description:vo}}),void 0,{scope:"ColorRectangle"}),mv=Cr(),fv=function(e){function t(t){var o=e.call(this,t)||this;return o._disposables=[],o._root=C.createRef(),o._onKeyDown=function(e){var t=o.value,n=o._maxValue,r=e.shiftKey?10:1;switch(e.which){case ur.left:t-=r;break;case ur.right:t+=r;break;case ur.home:t=0;break;case ur.end:t=n;break;default:return}o._updateValue(e,cg(t,n))},o._onMouseDown=function(e){var t=gt(o);t&&o._disposables.push(Ol(t,"mousemove",o._onMouseMove,!0),Ol(t,"mouseup",o._disposeListeners,!0)),o._onMouseMove(e)},o._onMouseMove=function(e){if(o._root.current){var t=o._maxValue,n=o._root.current.getBoundingClientRect(),r=(e.clientX-n.left)/n.width,i=cg(Math.round(r*t),t);o._updateValue(e,i)}},o._onTouchStart=function(e){o._root.current&&e.stopPropagation()},o._onTouchMove=function(e){if(o._root.current){var t=e.touches[e.touches.length-1];if(void 0!==t.clientX){var n=o._maxValue,r=o._root.current.getBoundingClientRect(),i=(t.clientX-r.left)/r.width,a=cg(Math.round(i*n),n);o._updateValue(e,a)}e.preventDefault(),e.stopPropagation()}},o._disposeListeners=function(){o._disposables.forEach((function(e){return e()})),o._disposables=[]},oa(o),"hue"===o._type||t.overlayColor||t.overlayStyle||Sn("ColorSlider: 'overlayColor' is required when 'type' is \"alpha\" or \"transparency\""),o.state={currentValue:t.value||0},o}return m(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.state.currentValue},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){e!==this.props&&void 0!==this.props.value&&this.setState({currentValue:this.props.value})},t.prototype.componentDidMount=function(){this._root.current&&(this._root.current.addEventListener("touchstart",this._onTouchStart,{capture:!0,passive:!1}),this._root.current.addEventListener("touchmove",this._onTouchMove,{capture:!0,passive:!1}))},t.prototype.componentWillUnmount=function(){this._root.current&&(this._root.current.removeEventListener("touchstart",this._onTouchStart),this._root.current.removeEventListener("touchmove",this._onTouchMove)),this._disposeListeners()},t.prototype.render=function(){var e=this._type,t=this._maxValue,o=this.props,n=o.overlayStyle,r=o.overlayColor,i=o.theme,a=o.className,s=o.styles,l=o.ariaLabel,c=void 0===l?e:l,u=this.value,d=mv(s,{theme:i,className:a,type:e}),p=100*u/t;return C.createElement("div",{ref:this._root,className:d.root,tabIndex:0,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,role:"slider","aria-valuenow":u,"aria-valuetext":String(u),"aria-valuemin":0,"aria-valuemax":t,"aria-label":c,"data-is-focusable":!0},!(!r&&!n)&&C.createElement("div",{className:d.sliderOverlay,style:r?{background:"transparency"===e?"linear-gradient(to right, #".concat(r,", transparent)"):"linear-gradient(to right, transparent, #".concat(r,")")}:n}),C.createElement("div",{className:d.sliderThumb,style:{left:p+"%"}}))},Object.defineProperty(t.prototype,"_type",{get:function(){var e=this.props,t=e.isAlpha,o=e.type;return void 0===o?t?"alpha":"hue":o},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_maxValue",{get:function(){return"hue"===this._type?Jf:og},enumerable:!1,configurable:!0}),t.prototype._updateValue=function(e,t){if(t!==this.value){var o=this.props.onChange;o&&o(e,t),e.defaultPrevented||(this.setState({currentValue:t}),e.preventDefault())}},t.defaultProps={value:0},t}(C.Component),gv={background:"linear-gradient(".concat(["to left","red 0","#f09 10%","#cd00ff 20%","#3200ff 30%","#06f 40%","#00fffd 50%","#0f6 60%","#35ff00 70%","#cdff00 80%","#f90 90%","red 100%"].join(","),")")},vv={backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJUlEQVQYV2N89erVfwY0ICYmxoguxjgUFKI7GsTH5m4M3w1ChQC1/Ca8i2n1WgAAAABJRU5ErkJggg==)"},bv=lr(fv,(function(e){var t,o,n=e.theme,r=e.className,i=e.type,a=void 0===i?"hue":i,s=e.isAlpha,l=void 0===s?"hue"!==a:s,c=n.palette,u=n.effects;return{root:["ms-ColorPicker-slider",{position:"relative",height:20,marginBottom:8,border:"1px solid ".concat(c.neutralLight),borderRadius:u.roundedCorner2,boxSizing:"border-box",outline:"none",forcedColorAdjust:"none",selectors:(t={},t[".".concat(on," &:focus")]=(o={outline:"1px solid ".concat(c.neutralSecondary)},o["".concat(Fo)]={outline:"2px solid CanvasText"},o),t)},l?vv:gv,r],sliderOverlay:["ms-ColorPicker-sliderOverlay",{content:"",position:"absolute",left:0,right:0,top:0,bottom:0}],sliderThumb:["ms-ColorPicker-thumb","is-slider",{position:"absolute",width:20,height:20,background:"white",border:"1px solid ".concat(c.neutralSecondaryAlt),borderRadius:"50%",boxShadow:u.elevation8,transform:"translate(-50%, -50%)",top:"50%",forcedColorAdjust:"auto"}]}}),void 0,{scope:"ColorSlider"}),yv=Cr(),Cv=["hex","r","g","b","a","t"],_v={hex:"hexError",r:"redError",g:"greenError",b:"blueError",a:"alphaError",t:"transparencyError"},Sv=function(e){function t(o){var n=e.call(this,o)||this;n._onSVChanged=function(e,t){n._updateColor(e,t)},n._onHChanged=function(e,t){n._updateColor(e,qg(n.state.color,t))},n._onATChanged=function(e,t){var o="transparency"===n.props.alphaType?Xg:jg;n._updateColor(e,o(n.state.color,Math.round(t)))},n._onBlur=function(e){var t,o=n.state,r=o.color,i=o.editingColor;if(i){var a=i.value,s=i.component,l="hex"===s,c="a"===s,u="t"===s,d=l?ng:ig;if(a.length>=d&&(l||!isNaN(Number(a)))){var p=void 0;p=l?Gg("#"+Fg(a)):c||u?(c?jg:Xg)(r,cg(Number(a),og)):mg(Lg(f(f({},r),((t={})[s]=Number(a),t)))),n._updateColor(e,p)}else n.setState({editingColor:void 0})}},oa(n);var r=o.strings;r.hue&&Sn("ColorPicker property 'strings.hue' was used but has been deprecated. Use 'strings.hueAriaLabel' instead."),n.state={color:xv(o)||Gg("#ffffff")},n._textChangeHandlers={};for(var i=0,a=Cv;i=ng&&o.length<=rg)){var n=_v[e];return this._strings[n]}}},t.prototype._onTextChange=function(e,t,o){var n,r=this.state.color,i="hex"===e,a="a"===e,s="t"===e;if(o=(o||"").substr(0,i?rg:ag),(i?sg:lg).test(o))if(""!==o&&(i?o.length===rg:a||s?Number(o)<=og:Number(o)<=eg))if(String(r[e])===o)this.state.editingColor&&this.setState({editingColor:void 0});else{var l=i?Gg("#"+o):s?Xg(r,Number(o)):mg(f(f({},r),((n={})[e]=Number(o),n)));this._updateColor(t,l)}else this.setState({editingColor:{component:e,value:o}})},t.prototype._updateColor=function(e,t){if(t){var o=this.state,n=o.color,r=o.editingColor;if(t.h!==n.h||t.str!==n.str||r){if(e&&this.props.onChange&&(this.props.onChange(e,t),e.defaultPrevented))return;this.setState({color:t,editingColor:void 0})}}},t.defaultProps={alphaType:"alpha",strings:{rootAriaLabelFormat:"Color picker, {0} selected.",hex:"Hex",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",transparency:"Transparency",hueAriaLabel:"Hue",svAriaLabel:dv.defaultProps.ariaLabel,svAriaValueFormat:dv.defaultProps.ariaValueFormat,svAriaDescription:dv.defaultProps.ariaDescription,hexError:"Hex values must be between 3 and 6 characters long",alphaError:"Alpha must be between 0 and 100",transparencyError:"Transparency must be between 0 and 100",redError:"Red must be between 0 and 255",greenError:"Green must be between 0 and 255",blueError:"Blue must be between 0 and 255"}},t}(C.Component);function xv(e){var t=e.color;return"string"==typeof t?Gg(t):t}var kv,wv,Iv,Dv,Ev,Tv=lr(Sv,(function(e){var t=e.className,o=e.theme,n=e.alphaType;return{root:["ms-ColorPicker",o.fonts.medium,{position:"relative",maxWidth:300},t],panel:["ms-ColorPicker-panel",{padding:"16px"}],table:["ms-ColorPicker-table",{tableLayout:"fixed",width:"100%",selectors:{"tbody td:last-of-type .ms-ColorPicker-input":{paddingRight:0}}}],tableHeader:[o.fonts.small,{selectors:{td:{paddingBottom:4}}}],tableHexCell:{width:"25%"},tableAlphaCell:"transparency"===n&&{width:"22%"},colorSquare:["ms-ColorPicker-colorSquare",{width:48,height:48,margin:"0 0 0 8px",border:"1px solid #c8c6c4",forcedColorAdjust:"none"}],flexContainer:{display:"flex"},flexSlider:{flexGrow:"1"},flexPreviewBox:{flexGrow:"0"},input:["ms-ColorPicker-input",{width:"100%",border:"none",boxSizing:"border-box",height:30,selectors:{"&.ms-TextField":{paddingRight:4},"& .ms-TextField-field":{minWidth:"auto",padding:5,textOverflow:"clip"}}}]}}),void 0,{scope:"ColorPicker"}),Pv=Ro((function(e){var t,o=e.semanticColors;return{backgroundColor:o.disabledBackground,color:o.disabledText,cursor:"default",selectors:(t={":after":{borderColor:o.disabledBackground}},t[Fo]={color:"GrayText",selectors:{":after":{borderColor:"GrayText"}}},t)}})),Rv={selectors:(kv={},kv[Fo]=f({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),kv)},Mv={selectors:(wv={},wv[Fo]=f({color:"WindowText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),wv)},Nv=Ro((function(e,t,o,n,r,i){var a,s=e.palette,l=e.semanticColors,c={textHoveredColor:l.menuItemTextHovered,textSelectedColor:s.neutralDark,textDisabledColor:l.disabledText,backgroundHoveredColor:l.menuItemBackgroundHovered,backgroundPressedColor:l.menuItemBackgroundPressed};return Ln({root:[e.fonts.medium,{backgroundColor:n?c.backgroundHoveredColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:r?"none":"block",width:"100%",height:"auto",minHeight:36,lineHeight:"20px",padding:"0 8px",position:"relative",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",selectors:f(f((a={},a[Fo]={border:"none",borderColor:"Background"},a),!r&&{"&.ms-Checkbox":{display:"flex",alignItems:"center"}}),{"&.ms-Button--command:hover:active":{backgroundColor:c.backgroundPressedColor},".ms-Checkbox-label":{width:"100%"}})},i?[{backgroundColor:"transparent",color:c.textSelectedColor,selectors:{":hover":[{backgroundColor:c.backgroundHoveredColor},Rv]}},sn(e,{inset:-1,isFocusedOnly:!1}),Rv]:[]],rootHovered:{backgroundColor:c.backgroundHoveredColor,color:c.textHoveredColor},rootFocused:{backgroundColor:c.backgroundHoveredColor},rootDisabled:{color:c.textDisabledColor,cursor:"default"},optionText:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:"0px",maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",display:"inline-block"},optionTextWrapper:{maxWidth:"100%",display:"flex",alignItems:"center"}},t,o)})),Bv=Ro((function(e,t){var o,n,r=e.semanticColors,i=e.fonts,a={buttonTextColor:r.bodySubtext,buttonTextHoveredCheckedColor:r.buttonTextChecked,buttonBackgroundHoveredColor:r.listItemBackgroundHovered,buttonBackgroundCheckedColor:r.listItemBackgroundChecked,buttonBackgroundCheckedHoveredColor:r.listItemBackgroundCheckedHovered},s={selectors:(o={},o[Fo]=f({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)};return Ln({root:{color:a.buttonTextColor,fontSize:i.small.fontSize,position:"absolute",top:0,height:"100%",lineHeight:30,width:32,textAlign:"center",cursor:"default",selectors:(n={},n[Fo]=f({backgroundColor:"ButtonFace",borderColor:"ButtonText",color:"ButtonText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)},icon:{fontSize:i.small.fontSize},rootHovered:[{backgroundColor:a.buttonBackgroundHoveredColor,color:a.buttonTextHoveredCheckedColor,cursor:"pointer"},s],rootPressed:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},s],rootChecked:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},s],rootCheckedHovered:[{backgroundColor:a.buttonBackgroundCheckedHoveredColor,color:a.buttonTextHoveredCheckedColor},s],rootDisabled:[Pv(e),{position:"absolute"}]},t)})),Av=Ro((function(e,t,o){var n,r,i,a,s,l,c=e.semanticColors,u=e.fonts,d=e.effects,p={textColor:c.inputText,borderColor:c.inputBorder,borderHoveredColor:c.inputBorderHovered,borderPressedColor:c.inputFocusBorderAlt,borderFocusedColor:c.inputFocusBorderAlt,backgroundColor:c.inputBackground,erroredColor:c.errorText},h={headerTextColor:c.menuHeader,dividerBorderColor:c.bodyDivider},m={selectors:(n={},n[Fo]={color:"GrayText"},n)},g=[{color:c.inputPlaceholderText},m],v=[{color:c.inputTextHovered},m],b=[{color:c.disabledText},m],y=f(f({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),C=un(p.borderPressedColor,d.roundedCorner2,"border",0);return Ln({container:{},label:{},labelDisabled:{},root:[e.fonts.medium,{boxShadow:"none",marginLeft:"0",paddingRight:32,paddingLeft:9,color:p.textColor,position:"relative",outline:"0",userSelect:"none",backgroundColor:p.backgroundColor,cursor:"text",display:"block",height:32,whiteSpace:"nowrap",textOverflow:"ellipsis",boxSizing:"border-box",selectors:{".ms-Label":{display:"inline-block",marginBottom:"8px"},"&.is-open":{selectors:(r={},r[Fo]=y,r)},":after":{pointerEvents:"none",content:"''",position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:"1px",borderStyle:"solid",borderColor:p.borderColor,borderRadius:d.roundedCorner2}}}],rootHovered:{selectors:(i={":after":{borderColor:p.borderHoveredColor},".ms-ComboBox-Input":[{color:c.inputTextHovered},_n(v),Mv]},i[Fo]=f(f({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),i)},rootPressed:[{position:"relative",selectors:(a={},a[Fo]=y,a)}],rootFocused:[{selectors:(s={".ms-ComboBox-Input":[{color:c.inputTextHovered},Mv]},s[Fo]=y,s)},C],rootDisabled:Pv(e),rootError:{selectors:{":after":{borderColor:p.erroredColor},":hover:after":{borderColor:c.inputBorderHovered}}},rootDisallowFreeForm:{},input:[_n(g),{backgroundColor:p.backgroundColor,color:p.textColor,boxSizing:"border-box",width:"100%",height:"100%",borderStyle:"none",outline:"none",font:"inherit",textOverflow:"ellipsis",padding:"0",selectors:{"::-ms-clear":{display:"none"}}},Mv],inputDisabled:[Pv(e),_n(b)],errorMessage:[e.fonts.small,{color:p.erroredColor,marginTop:"5px"}],callout:{boxShadow:d.elevation8},optionsContainerWrapper:{width:o},optionsContainer:{display:"block"},screenReaderText:vo,header:[u.medium,{fontWeight:nt.semibold,color:h.headerTextColor,backgroundColor:"none",borderStyle:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(l={},l[Fo]=f({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),l)}],divider:{height:1,backgroundColor:h.dividerBorderColor}},t)})),Fv=Ro((function(e,t,o,n,r,i,a,s){return{container:ie(e.__shadowConfig__,"ms-ComboBox-container",t,e.container),label:ie(e.__shadowConfig__,e.label,n&&e.labelDisabled),root:ie(e.__shadowConfig__,"ms-ComboBox",s?e.rootError:o&&"is-open",r&&"is-required",e.root,!a&&e.rootDisallowFreeForm,s&&!i?e.rootError:!n&&i&&e.rootFocused,!n&&{selectors:{":hover":s?e.rootError:!o&&!i&&e.rootHovered,":active":s?e.rootError:e.rootPressed,":focus":s?e.rootError:e.rootFocused}},n&&["is-disabled",e.rootDisabled]),input:ie(e.__shadowConfig__,"ms-ComboBox-Input",e.input,n&&e.inputDisabled),errorMessage:ie(e.__shadowConfig__,e.errorMessage),callout:ie(e.__shadowConfig__,"ms-ComboBox-callout",e.callout),optionsContainerWrapper:ie(e.__shadowConfig__,"ms-ComboBox-optionsContainerWrapper",e.optionsContainerWrapper),optionsContainer:ie(e.__shadowConfig__,"ms-ComboBox-optionsContainer",e.optionsContainer),header:ie(e.__shadowConfig__,"ms-ComboBox-header",e.header),divider:ie(e.__shadowConfig__,"ms-ComboBox-divider",e.divider),screenReaderText:ie(e.__shadowConfig__,e.screenReaderText)}})),Lv=Ro((function(e){return{optionText:ie(e.__shadowConfig__,"ms-ComboBox-optionText",e.optionText),root:ie(e.__shadowConfig__,"ms-ComboBox-option",e.root,{selectors:{":hover":e.rootHovered,":focus":e.rootFocused,":active":e.rootPressed}}),optionTextWrapper:ie(e.__shadowConfig__,e.optionTextWrapper)}}));function Hv(e,t){for(var o=[],n=0,r=t;n0&&c();var r=o._id+e.key;s.items.push(n(f(f({id:r},e),{index:t}),o._onRenderItem)),s.id=r;break;case Iv.Divider:t>0&&s.items.push(n(f(f({},e),{index:t}),o._onRenderItem)),s.items.length>0&&c();break;default:s.items.push(n(f(f({},e),{index:t}),o._onRenderItem))}}(e,t)})),s.items.length>0&&c();var u=o._id;return C.createElement("div",{id:u+"-list",className:o._classNames.optionsContainer,"aria-labelledby":r&&u+"-label","aria-label":i&&!r?i:void 0,"aria-multiselectable":a?"true":void 0,role:"listbox"},l)},o._onRenderItem=function(e){switch(e.itemType){case Iv.Divider:return o._renderSeparator(e);case Iv.Header:return o._renderHeader(e);default:return o._renderOption(e)}},o._onRenderLowerContent=function(){return null},o._onRenderUpperContent=function(){return null},o._renderOption=function(e){var t,n=o.props.onRenderOption,r=void 0===n?o._onRenderOptionContent:n,i=null!==(t=e.id)&&void 0!==t?t:o._id+"-list"+e.index,a=o._isOptionSelected(e.index),s=o._isOptionChecked(e.index),l=o._isOptionIndeterminate(e.index),c=o._getCurrentOptionStyles(e),u=Lv(c),d=e.title;return C.createElement(zv,{key:e.key,index:e.index,disabled:e.disabled,isSelected:a,isChecked:s,isIndeterminate:l,text:e.text,render:function(){return o.props.multiSelect?C.createElement(uf,{id:i,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:i+"-label",key:e.key,styles:c,className:"ms-ComboBox-option",onChange:o._onItemClick(e),label:e.text,checked:s,indeterminate:l,title:d,disabled:e.disabled,onRenderLabel:o._renderCheckboxLabel.bind(o,f(f({},e),{id:i+"-label"})),inputProps:f({"aria-selected":s?"true":"false",role:"option"},{"data-index":e.index,"data-is-focusable":!0})}):C.createElement(dh,{id:i,key:e.key,"data-index":e.index,styles:c,checked:a,className:"ms-ComboBox-option",onClick:o._onItemClick(e),onMouseEnter:o._onOptionMouseEnter.bind(o,e.index),onMouseMove:o._onOptionMouseMove.bind(o,e.index),onMouseLeave:o._onOptionMouseLeave,role:"option","aria-selected":a?"true":"false",ariaLabel:e.ariaLabel,disabled:e.disabled,title:d},C.createElement("span",{className:u.optionTextWrapper,ref:a?o._selectedElement:void 0},r(e,o._onRenderOptionContent)))},data:e.data})},o._onCalloutMouseDown=function(e){e.preventDefault()},o._onScroll=function(){var e;o._isScrollIdle||void 0===o._scrollIdleTimeoutId?o._isScrollIdle=!1:(o._async.clearTimeout(o._scrollIdleTimeoutId),o._scrollIdleTimeoutId=void 0),(null===(e=o.props.calloutProps)||void 0===e?void 0:e.onScroll)&&o.props.calloutProps.onScroll(),o._scrollIdleTimeoutId=o._async.setTimeout((function(){o._isScrollIdle=!0}),250)},o._onRenderOptionContent=function(e){var t=Lv(o._getCurrentOptionStyles(e));return C.createElement("span",{className:t.optionText},e.text)},o._onRenderMultiselectOptionContent=function(e){var t=Lv(o._getCurrentOptionStyles(e));return C.createElement("span",{id:e.id,"aria-hidden":"true",className:t.optionText},e.text)},o._onDismiss=function(){var e=o.props.onMenuDismiss;e&&e(),o.props.persistMenu&&o._onCalloutLayerMounted(),o._setOpenStateAndFocusOnClose(!1,!1),o._resetSelectedIndex()},o._onAfterClearPendingInfo=function(){o._processingClearPendingInfo=!1},o._onInputKeyDown=function(e){var t=o.props,n=t.disabled,r=t.allowFreeform,i=t.allowFreeInput,a=t.allowParentArrowNavigation,s=t.autoComplete,l=t.hoisted.currentOptions,c=o.state,u=c.isOpen,d=c.currentPendingValueValidIndexOnHover;if(o._lastKeyDownWasAltOrMeta=Jv(e),n)o._handleInputWhenDisabled(e);else{var p=o._getPendingSelectedIndex(!1);switch(e.which){case ur.enter:o._autofill.current&&o._autofill.current.inputElement&&o._autofill.current.inputElement.select(),o._submitPendingValue(e),o.props.multiSelect&&u?o.setState({currentPendingValueValidIndex:p}):(u||(!r||void 0===o.state.currentPendingValue||null===o.state.currentPendingValue||o.state.currentPendingValue.length<=0)&&o.state.currentPendingValueValidIndex<0)&&o.setState({isOpen:!u});break;case ur.tab:return o.props.multiSelect||o._submitPendingValue(e),void(u&&o._setOpenStateAndFocusOnClose(!u,!1));case ur.escape:if(o._resetSelectedIndex(),!u)return;o.setState({isOpen:!1});break;case ur.up:if(d===Ev.clearAll&&(p=o.props.hoisted.currentOptions.length),e.altKey||e.metaKey){if(u){o._setOpenStateAndFocusOnClose(!u,!0);break}return}e.preventDefault(),o._setPendingInfoFromIndexAndDirection(p,Dv.backward);break;case ur.down:e.altKey||e.metaKey?o._setOpenStateAndFocusOnClose(!0,!0):(d===Ev.clearAll&&(p=-1),e.preventDefault(),o._setPendingInfoFromIndexAndDirection(p,Dv.forward));break;case ur.home:case ur.end:if(r||i)return;p=-1;var h=Dv.forward;e.which===ur.end&&(p=l.length,h=Dv.backward),o._setPendingInfoFromIndexAndDirection(p,h);break;case ur.space:if(!r&&!i&&"off"===s)break;default:if(e.which>=112&&e.which<=123)return;if(e.keyCode===ur.alt||"Meta"===e.key)return;if(a&&(e.keyCode===ur.left||e.keyCode===ur.right))return;if(!r&&!i&&"on"===s){o._onInputChange(e.key);break}return}e.stopPropagation(),e.preventDefault()}},o._onInputKeyUp=function(e){var t=o.props,n=t.disabled,r=t.allowFreeform,i=t.allowFreeInput,a=t.autoComplete,s=o.state.isOpen,l=o._lastKeyDownWasAltOrMeta&&Jv(e);o._lastKeyDownWasAltOrMeta=!1;var c=l&&!(Tl()||Ml());n?o._handleInputWhenDisabled(e):e.which!==ur.space?c&&s?o._setOpenStateAndFocusOnClose(!s,!0):("focusing"===o.state.focusState&&o.props.openOnKeyboardFocus&&o.setState({isOpen:!0}),"focused"!==o.state.focusState&&o.setState({focusState:"focused"})):r||i||"off"!==a||o._setOpenStateAndFocusOnClose(!s,!!s)},o._onOptionMouseLeave=function(){o._shouldIgnoreMouseEvent()||o.props.persistMenu&&!o.state.isOpen||o.setState({currentPendingValueValidIndexOnHover:Ev.clearAll})},o._onComboBoxClick=function(){var e=o.props.disabled,t=o.state.isOpen;e||(o._setOpenStateAndFocusOnClose(!t,!1),o.setState({focusState:"focused"}))},o._onAutofillClick=function(){var e=o.props,t=e.disabled;e.allowFreeform&&!t?o.focus(o.state.isOpen||o._processingTouch):o._onComboBoxClick()},o._onTouchStart=function(){o._comboBoxWrapper.current&&!("onpointerdown"in o._comboBoxWrapper)&&o._handleTouchAndPointerEvent()},o._onPointerDown=function(e){"touch"===e.pointerType&&(o._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},oa(o),o._async=new sa(o),o._events=new fl(o),o._id=t.id||us("ComboBox"),o._isScrollIdle=!0,o._processingTouch=!1,o._gotMouseMove=!1,o._processingClearPendingInfo=!1,o.state={isOpen:!1,focusState:"none",currentPendingValueValidIndex:-1,currentPendingValue:void 0,currentPendingValueValidIndexOnHover:Ev.default},o}return m(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props.hoisted;return Hv(e.currentOptions,e.selectedIndices)},enumerable:!1,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.componentDidUpdate=function(e,t){var o,n,r,i=this,a=this.props,s=a.allowFreeform,l=a.allowFreeInput,c=a.text,u=a.onMenuOpen,d=a.onMenuDismissed,p=a.hoisted,h=p.currentOptions,m=p.selectedIndices,g=this.state,v=g.currentPendingValue,b=g.currentPendingValueValidIndex,y=g.isOpen;!y||t.isOpen&&t.currentPendingValueValidIndex===b||this._async.setTimeout((function(){return i._scrollIntoView()}),0);var C=Ac(this.context);this._hasFocus()&&(y||t.isOpen&&!y&&this._focusInputAfterClose&&this._autofill.current&&(null==C?void 0:C.activeElement)!==this._autofill.current.inputElement)&&this.focus(void 0,!0),this._focusInputAfterClose&&(t.isOpen&&!y||this._hasFocus()&&(!y&&!this.props.multiSelect&&e.hoisted.selectedIndices&&m&&e.hoisted.selectedIndices[0]!==m[0]||!s&&!l||c!==e.text))&&this._onFocus(),this._notifyPendingValueChanged(t),y&&!t.isOpen&&(this._overrideScrollDismiss=!0,this._async.clearTimeout(this._overrideScrollDimissTimeout),this._overrideScrollDimissTimeout=this._async.setTimeout((function(){i._overrideScrollDismiss=!1}),100),null==u||u()),!y&&t.isOpen&&d&&d();var _=b,S=h.map((function(e,t){return f(f({},e),{index:t})}));!cl(e.hoisted.currentOptions,h)&&v&&(_=this.props.allowFreeform||this.props.allowFreeInput?this._processInputChangeWithFreeform(v):this._updateAutocompleteIndexWithoutFreeform(v));var x=void 0;y&&this._hasFocus()&&-1!==_?x=null!==(o=S[_].id)&&void 0!==o?o:this._id+"-list"+_:y&&m.length&&(x=null!==(r=null===(n=S[m[0]])||void 0===n?void 0:n.id)&&void 0!==r?r:this._id+"-list"+m[0]),x!==this.state.ariaActiveDescendantValue&&this.setState({ariaActiveDescendantValue:x})},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this._id+"-error",t=this.props,o=t.className,n=t.disabled,r=t.required,i=t.errorMessage,a=t.onRenderContainer,s=void 0===a?this._onRenderContainer:a,l=t.onRenderLabel,c=void 0===l?this._onRenderLabel:l,u=t.onRenderList,d=void 0===u?this._onRenderList:u,p=t.onRenderItem,h=void 0===p?this._onRenderItem:p,m=t.onRenderOption,g=void 0===m?this._onRenderOptionContent:m,v=t.allowFreeform,b=t.styles,y=t.theme,_=t.persistMenu,S=t.multiSelect,x=t.hoisted,k=x.suggestedDisplayValue,w=x.selectedIndices,I=x.currentOptions,D=this.state.isOpen;this._currentVisibleValue=this._getVisibleValue();var E=S?this._getMultiselectDisplayString(w,I,k):void 0,T=Xr(this.props,Zr,["onChange","value","aria-describedby","aria-labelledby"]),P=!!(i&&i.length>0);this._classNames=this.props.getClassNames?this.props.getClassNames(y,!!D,!!n,!!r,!!this._hasFocus(),!!v,!!P,o):Fv(Av(y,b),o,!!D,!!n,!!r,!!this._hasFocus(),!!v,!!P);var R=this._renderComboBoxWrapper(E,e);return C.createElement("div",f({},T,{ref:this.props.hoisted.mergedRootRef,className:this._classNames.container}),c({props:this.props,multiselectAccessibleText:E},this._onRenderLabel),R,(_||D)&&s(f(f({},this.props),{onRenderList:d,onRenderItem:h,onRenderOption:g,options:I.map((function(e,t){return f(f({},e),{index:t})})),onDismiss:this._onDismiss}),this._onRenderContainer),P&&C.createElement("div",{role:"alert",id:e,className:this._classNames.errorMessage},i))},t.prototype._getPendingString=function(e,t,o){return null!=e?e:Yv(t,o)?Qv(t[o]):""},t.prototype._getMultiselectDisplayString=function(e,t,o){for(var n=[],r=0;e&&r0){var s=Qv(i[0]);a=this._adjustForCaseSensitivity(s)!==e?s:"",n=i[0].index}}else 1===(i=o.map((function(e,t){return f(f({},e),{index:t})})).filter((function(o){return Zv(o)&&!o.disabled&&t._adjustForCaseSensitivity(Qv(o))===e}))).length&&(n=i[0].index);return this._setPendingInfo(r,n,a),n},t.prototype._processInputChangeWithoutFreeform=function(e){var t=this,o=this.state,n=o.currentPendingValue,r=o.currentPendingValueValidIndex;if("on"===this.props.autoComplete&&""!==e){this._autoCompleteTimeout&&(this._async.clearTimeout(this._autoCompleteTimeout),this._autoCompleteTimeout=void 0,e=qv(n)+e);var i=this._updateAutocompleteIndexWithoutFreeform(e);return this._autoCompleteTimeout=this._async.setTimeout((function(){t._autoCompleteTimeout=void 0}),1e3),i}var a=r>=0?r:this._getFirstSelectedIndex();return this._setPendingInfoFromIndex(a),a},t.prototype._updateAutocompleteIndexWithoutFreeform=function(e){var t=this,o=this.props.hoisted.currentOptions,n=e;e=this._adjustForCaseSensitivity(e);var r=o.map((function(e,t){return f(f({},e),{index:t})})).filter((function(o){return Zv(o)&&!o.disabled&&0===t._adjustForCaseSensitivity(o.text).indexOf(e)}));return r.length>0?(this._setPendingInfo(n,r[0].index,Qv(r[0])),r[0].index):-1},t.prototype._getFirstSelectedIndex=function(){var e=this.props.hoisted.selectedIndices;return(null==e?void 0:e.length)?e[0]:-1},t.prototype._getNextSelectableIndex=function(e,t){var o=this.props.hoisted.currentOptions,n=e+t;if(!Yv(o,n=Math.max(0,Math.min(o.length-1,n))))return-1;var r=o[n];if(!Xv(r)||!0===r.hidden){if(t===Dv.none||!(n>0&&t=0&&nDv.none))return e;n=this._getNextSelectableIndex(n,t)}return n},t.prototype._setSelectedIndex=function(e,t,o){void 0===o&&(o=Dv.none);var n=this.props,r=n.onChange,i=n.onPendingValueChanged,a=n.hoisted,s=a.selectedIndices,l=a.currentOptions,c=s?s.slice():[],u=l.slice();if(Yv(l,e=this._getNextSelectableIndex(e,o))){if(this.props.multiSelect||c.length<1||1===c.length&&c[0]!==e){var d=f({},l[e]);if(!d||d.disabled)return;if(this.props.multiSelect)if(d.selected=void 0!==d.selected?!d.selected:c.indexOf(e)<0,d.itemType===Iv.SelectAll)c=[],d.selected?l.forEach((function(e,t){!e.disabled&&Xv(e)&&(c.push(t),u[t]=f(f({},e),{selected:!0}))})):u=l.map((function(e){return f(f({},e),{selected:!1})}));else{d.selected&&c.indexOf(e)<0?c.push(e):!d.selected&&c.indexOf(e)>=0&&(c=c.filter((function(t){return t!==e}))),u[e]=d;var p=u.filter((function(e){return e.itemType===Iv.SelectAll}))[0];if(p){var h=this._isSelectAllChecked(c),m=u.indexOf(p);h?(c.push(m),u[m]=f(f({},p),{selected:!0})):(c=c.filter((function(e){return e!==m})),u[m]=f(f({},p),{selected:!1}))}}else c[0]=e;t.persist(),this.props.selectedKey||null===this.props.selectedKey||(this.props.hoisted.setSelectedIndices(c),this.props.hoisted.setCurrentOptions(u)),this._hasPendingValue&&i&&(i(),this._hasPendingValue=!1),r&&r(t,d,e,Qv(d))}this.props.multiSelect&&this.state.isOpen||this._clearPendingInfo()}},t.prototype._submitPendingValue=function(e){var t,o=this.props,n=o.onChange,r=o.allowFreeform,i=o.autoComplete,a=o.multiSelect,s=o.hoisted,l=s.currentOptions,c=this.state,u=c.currentPendingValue,d=c.currentPendingValueValidIndex,p=c.currentPendingValueValidIndexOnHover,h=this.props.hoisted.selectedIndices;if(!this._processingClearPendingInfo){if(r){if(null==u)return void(p>=0&&(this._setSelectedIndex(p,e),this._clearPendingInfo()));if(Yv(l,d)){var m=this._adjustForCaseSensitivity(Qv(l[d])),f=this._autofill.current,g=this._adjustForCaseSensitivity(u);if(g===m||i&&0===m.indexOf(g)&&(null==f?void 0:f.isValueSelected)&&u.length+(f.selectionEnd-f.selectionStart)===m.length||void 0!==(null===(t=null==f?void 0:f.inputElement)||void 0===t?void 0:t.value)&&this._adjustForCaseSensitivity(f.inputElement.value)===m){if(this._setSelectedIndex(d,e),a&&this.state.isOpen)return;return void this._clearPendingInfo()}}if(n)n&&n(e,void 0,void 0,u);else{var v={key:u||us(),text:qv(u)};a&&(v.selected=!0);var b=l.concat([v]);h&&(a||(h=[]),h.push(b.length-1)),s.setCurrentOptions(b),s.setSelectedIndices(h)}}else d>=0?this._setSelectedIndex(d,e):p>=0&&this._setSelectedIndex(p,e);this._clearPendingInfo()}},t.prototype._onCalloutLayerMounted=function(){this._gotMouseMove=!1},t.prototype._renderSeparator=function(e){var t=e.index,o=e.key;return t&&t>0?C.createElement("div",{role:"presentation",key:o,className:this._classNames.divider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,o=void 0===t?this._onRenderOptionContent:t;return C.createElement("div",{id:e.id,key:e.key,className:this._classNames.header},o(e,this._onRenderOptionContent))},t.prototype._renderCheckboxLabel=function(e){var t=this.props.onRenderOption;return(void 0===t?this._onRenderMultiselectOptionContent:t)(e,this._onRenderMultiselectOptionContent)},t.prototype._isOptionHighlighted=function(e){var t=this.state.currentPendingValueValidIndexOnHover;return t!==Ev.clearAll&&(t>=0?t===e:this._isOptionSelected(e))},t.prototype._isOptionSelected=function(e){return this._getPendingSelectedIndex(!0)===e},t.prototype._isOptionChecked=function(e){return!(!this.props.multiSelect||void 0===e||!this.props.hoisted.selectedIndices)&&this.props.hoisted.selectedIndices.indexOf(e)>=0},t.prototype._isOptionIndeterminate=function(e){var t=this.props,o=t.multiSelect,n=t.hoisted;if(o&&void 0!==e&&n.selectedIndices&&n.currentOptions){var r=n.currentOptions[e];if(r&&r.itemType===Iv.SelectAll)return n.selectedIndices.length>0&&!this._isSelectAllChecked()}return!1},t.prototype._isSelectAllChecked=function(e){var t=this.props,o=t.multiSelect,n=t.hoisted,r=n.currentOptions.find((function(e){return e.itemType===Iv.SelectAll})),i=e||n.selectedIndices;if(!o||!i||!r)return!1;var a=n.currentOptions.indexOf(r),s=i.filter((function(e){return e!==a})),l=n.currentOptions.filter((function(e){return!e.disabled&&e.itemType!==Iv.SelectAll&&Xv(e)}));return s.length===l.length},t.prototype._getPendingSelectedIndex=function(e){var t=this.state,o=t.currentPendingValueValidIndex,n=t.currentPendingValue;return o>=0||e&&null!=n?o:this.props.multiSelect?-1:this._getFirstSelectedIndex()},t.prototype._scrollIntoView=function(){var e=this.props,t=e.onScrollToItem,o=e.scrollSelectedToTop,n=this._getPendingSelectedIndex(!0);if(t)t(n>=0?n:this._getFirstSelectedIndex());else{var r=this._selectedElement.current;if(this.props.multiSelect&&this._comboBoxMenu.current&&(r=Kv(this._comboBoxMenu.current,(function(e){var t;return(null===(t=e.dataset)||void 0===t?void 0:t.index)===n.toString()}))),r&&r.offsetParent){var i=!0;if(this._comboBoxMenu.current&&this._comboBoxMenu.current.offsetParent){var a=this._comboBoxMenu.current.offsetParent,s=r.offsetParent,l=s.offsetHeight,c=s.offsetTop,u=a,d=u.offsetHeight,p=u.scrollTop,h=c+l>p+d;c0&&t=0&&e=o.length-1?e=-1:t===Dv.backward&&e<=0&&(e=o.length);var n=this._getNextSelectableIndex(e,t);e===n?t===Dv.forward?e=this._getNextSelectableIndex(-1,t):t===Dv.backward&&(e=this._getNextSelectableIndex(o.length,t)):e=n,Yv(o,e)&&this._setPendingInfoFromIndex(e)},t.prototype._notifyPendingValueChanged=function(e){var t=this.props.onPendingValueChanged;if(t){var o=this.props.hoisted.currentOptions,n=this.state,r=n.currentPendingValue,i=n.currentPendingValueValidIndex,a=n.currentPendingValueValidIndexOnHover,s=void 0,l=void 0;a!==e.currentPendingValueValidIndexOnHover&&Yv(o,a)?s=a:i!==e.currentPendingValueValidIndex&&Yv(o,i)?s=i:r!==e.currentPendingValue&&(l=r),(void 0!==s||void 0!==l||this._hasPendingValue)&&(t(void 0!==s?o[s]:void 0,s,l),this._hasPendingValue=void 0!==s||void 0!==l)}},t.prototype._setOpenStateAndFocusOnClose=function(e,t){this._focusInputAfterClose=t,this.setState({isOpen:e})},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!==ur.tab&&e.which!==ur.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 Bv(this.props.theme,e)},t.prototype._getCurrentOptionStyles=function(e){var t,o=this.props.comboBoxOptionStyles,n=e.styles,r=Nv(this.props.theme,o,n,this._isPendingOption(e),e.hidden,this._isOptionHighlighted(e.index));return r.__shadowConfig__=null===(t=this.props.styles)||void 0===t?void 0:t.__shadowConfig__,r},t.prototype._getAriaAutoCompleteValue=function(){return this.props.disabled||"on"!==this.props.autoComplete?"list":this.props.allowFreeform?"inline":"both"},t.prototype._isPendingOption=function(e){return e&&e.index===this.state.currentPendingValueValidIndex},t.prototype._hasFocus=function(){return"none"!==this.state.focusState},t.prototype._adjustForCaseSensitivity=function(e){return this.props.caseSensitive?e:e.toLowerCase()},t.contextType=la,v([pp("ComboBox",["theme","styles"],!0)],t)}(C.Component);function Uv(e,t){if(!e||!t)return[];var o={};e.forEach((function(e,t){e.selected&&(o[t]=!0)}));for(var n=function(t){var n=_a(e,(function(e){return e.key===t}));n>-1&&(o[n]=!0)},r=0,i=t;r=0&&te){if(t&&this._scrollElement){for(var d=ab(this._scrollElement),p=eb(this._scrollElement),h={top:p,bottom:p+d.height},m=e-l,f=0;f=h.top&&g<=h.bottom)return;ah.bottom&&(a=g-d.height)}return void(this._scrollElement&&tb(this._scrollElement,a))}a+=u}},t.prototype.getStartItemIndexInView=function(e){for(var t=0,o=this.state.pages||[];t=n.top&&(this._scrollTop||0)<=n.top+n.height){if(!e){var r=Math.floor(n.height/n.itemCount);return n.startIndex+Math.floor((this._scrollTop-n.top)/r)}for(var i=0,a=n.startIndex;a0?n:void 0,"aria-label":l.length>0?c["aria-label"]:void 0})})},t.prototype._shouldVirtualize=function(e){void 0===e&&(e=this.props);var t=e.onShouldVirtualize;return!t||t(e)},t.prototype._invalidatePageCache=function(){this._pageCache={}},t.prototype._renderPage=function(e){var t,o=this,n=this.props.usePageCache;if(n&&(t=this._pageCache[e.key])&&t.pageElement)return t.pageElement;var r=this._getPageStyle(e),i=this.props.onRenderPage,a=(void 0===i?this._onRenderPage:i)({page:e,className:"ms-List-page",key:e.key,ref:function(t){o._pageRefs[e.key]=t},style:r,role:"presentation"},this._onRenderPage);return n&&0===e.startIndex&&(this._pageCache[e.key]={page:e,pageElement:a}),a},t.prototype._getPageStyle=function(e){var t=this.props.getPageStyle;return f(f({},t?t(e):{}),e.items?{}:{height:e.height})},t.prototype._onFocus=function(e){for(var t=e.target;t!==this._surface.current;){var o=t.getAttribute("data-list-index");if(o){this._focusedIndex=Number(o);break}t=Na(t)}},t.prototype._onScroll=function(){this.state.isScrolling||this.props.ignoreScrollingState||this.setState({isScrolling:!0}),this._resetRequiredWindows(),this._onScrollingDoneDebounced()},t.prototype._resetRequiredWindows=function(){this._requiredWindowsAhead=0,this._requiredWindowsBehind=0},t.prototype._onAsyncScroll=function(){var e,t;this._updateRenderRects(this.props,this.state),this._materializedRect&&(e=this._requiredRect,t=this._materializedRect,e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right)||this.setState(this._updatePages(this.props,this.state))},t.prototype._onAsyncIdle=function(){var e=this.props,t=e.renderedWindowsAhead,o=e.renderedWindowsBehind,n=this._requiredWindowsAhead,r=this._requiredWindowsBehind,i=Math.min(t,n+1),a=Math.min(o,r+1);i===n&&a===r||(this._requiredWindowsAhead=i,this._requiredWindowsBehind=a,this._updateRenderRects(this.props,this.state),this.setState(this._updatePages(this.props,this.state))),(t>i||o>a)&&this._onAsyncIdleDebounced()},t.prototype._onScrollingDone=function(){this.props.ignoreScrollingState||(this.setState({isScrolling:!1}),this._onAsyncIdle())},t.prototype._onAsyncResize=function(){this.forceUpdate()},t.prototype._updatePages=function(e,t){this._requiredRect||this._updateRenderRects(e,t);var o=this._buildPages(e,t),n=t.pages;return this._notifyPageChanges(n,o.pages,this.props),f(f(f({},t),o),{pagesVersion:{}})},t.prototype._notifyPageChanges=function(e,t,o){var n=o.onPageAdded,r=o.onPageRemoved;if(n||r){for(var i={},a=0,s=e;a-1,k=!g||S>=g.top&&c<=g.bottom,w=!b._requiredRect||S>=b._requiredRect.top&&c<=b._requiredRect.bottom;if(!m&&(w||k&&x)||!h||d>=o&&d=b._visibleRect.top&&c<=b._visibleRect.bottom),s.push(D),w&&b._allowedRect&&(C=a,_={top:c,bottom:S,height:f,left:g.left,right:g.right,width:g.width},C.top=_.topC.bottom||-1===C.bottom?_.bottom:C.bottom,C.right=_.right>C.right||-1===C.right?_.right:C.right,C.width=C.right-C.left+1,C.height=C.bottom-C.top+1)}else u||(u=b._createPage(ob+o,void 0,o,0,void 0,v,!0)),u.height=(u.height||0)+(S-c)+1,u.itemCount+=l;if(c+=S-c+1,m&&h)return"break"},b=this,y=r;y.3333333333333333*this._estimatedPageHeight)&&(a=this._surfaceRect=ib(this._surface.current),this._scrollTop=l),!o&&s&&s===this._scrollHeight||this._measureVersion++,this._scrollHeight=s||0;var c=Math.max(0,-a.top),u=gt(this._root.current),d={top:c,left:a.left,bottom:c+u.innerHeight,right:a.right,width:a.width,height:u.innerHeight};this._requiredRect=lb(d,this._requiredWindowsBehind,this._requiredWindowsAhead),this._allowedRect=lb(d,r,n),this._visibleRect=d}},t.defaultProps={startIndex:0,onRenderCell:function(e,t,o){return C.createElement(C.Fragment,null,e&&e.name||"")},onRenderCellConditional:void 0,renderedWindowsAhead:2,renderedWindowsBehind:2},t.contextType=la,t}(C.Component);function lb(e,t,o){var n=e.top-t*e.height,r=e.height+(t+o)*e.height;return{top:n,bottom:n+r,height:r,left:e.left,right:e.right,width:e.width}}var cb=function(e){function t(t){var o=e.call(this,t)||this;return o._comboBox=C.createRef(),o._list=C.createRef(),o._onRenderList=function(e){var t=e.id,n=e.onRenderItem;return C.createElement(sb,{componentRef:o._list,role:"listbox",id:"".concat(t,"-list"),"aria-labelledby":"".concat(t,"-label"),items:e.options,onRenderCell:n?function(e){return n(e)}:function(){return null}})},o._onScrollToItem=function(e){o._list.current&&o._list.current.scrollToIndex(e)},oa(o),o}return m(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){return this._comboBox.current?this._comboBox.current.selectedOptions:[]},enumerable:!1,configurable:!0}),t.prototype.dismissMenu=function(){if(this._comboBox.current)return this._comboBox.current.dismissMenu()},t.prototype.focus=function(e,t){return!!this._comboBox.current&&(this._comboBox.current.focus(e,t),!0)},t.prototype.render=function(){return C.createElement(Vv,f({},this.props,{componentRef:this._comboBox,onRenderList:this._onRenderList,onScrollToItem:this._onScrollToItem}))},t}(C.Component),ub=function(e,t,o){for(var n=0,r=e;n0;return C.createElement("div",f({},Xr(e,Zr),{role:c||"group","aria-orientation":"menubar"===c?!0===l?"vertical":"horizontal":void 0,className:h.root,ref:n}),"start"===d&&m&&C.createElement(pb,f({},e,{className:h.overflowButton})),r&&r.map((function(e,t){return C.createElement("div",{className:h.item,key:e.key,role:"none"},p(e))})),"end"===d&&m&&C.createElement(pb,f({},e,{className:h.overflowButton})))}));mb.displayName="OverflowSet";var fb={flexShrink:0,display:"inherit"},gb=lr(mb,(function(e){var t=e.className;return{root:["ms-OverflowSet",{position:"relative",display:"flex",flexWrap:"nowrap"},e.vertical&&{flexDirection:"column"},t],item:["ms-OverflowSet-item",fb],overflowButton:["ms-OverflowSet-overflowButton",fb]}}),void 0,{scope:"OverflowSet"}),vb=function(e){var t=e.className,o=e.theme,n=o.semanticColors;return{root:[o.fonts.medium,"ms-CommandBar",{display:"flex",backgroundColor:n.bodyBackground,padding:"0 14px 0 24px",height:44},t],primarySet:["ms-CommandBar-primaryCommand",{flexGrow:"1",display:"flex",alignItems:"stretch"}],secondarySet:["ms-CommandBar-secondaryCommand",{flexShrink:"0",display:"flex",alignItems:"stretch"}]}},bb=Ro((function(e){var t={height:"100%"},o={whiteSpace:"nowrap"},n=e||{},r=n.root,i=n.label,a=g(n,["root","label"]);return f(f({},a),{root:r?[t,r]:t,label:i?[o,i]:o})})),yb=Cr(),Cb=function(e){function t(t){var o=e.call(this,t)||this;return o._overflowSet=C.createRef(),o._resizeGroup=C.createRef(),o._onRenderData=function(e){var t=o.props,n=t.ariaLabel,r=t.primaryGroupAriaLabel,i=t.farItemsGroupAriaLabel,a=e.farItems&&e.farItems.length>0;return C.createElement(Vs,{className:gi(o._classNames.root),direction:fa.horizontal,role:"menubar","aria-label":n},C.createElement(gb,{role:a?"group":"none","aria-label":a?r:void 0,componentRef:o._overflowSet,className:gi(o._classNames.primarySet),items:e.primaryItems,overflowItems:e.overflowItems.length?e.overflowItems:void 0,onRenderItem:o._onRenderItem,onRenderOverflowButton:o._onRenderOverflowButton}),a&&C.createElement(gb,{role:"group","aria-label":i,className:gi(o._classNames.secondarySet),items:e.farItems,onRenderItem:o._onRenderItem,onRenderOverflowButton:_l}))},o._onRenderItem=function(e){if(e.onRender)return e.onRender(e,(function(){}));var t=e.text||e.name,n=f(f({allowDisabledFocus:!0,role:"menuitem"},e),{styles:bb(e.buttonStyles),className:gi("ms-CommandBarItem-link",e.className),text:e.iconOnly?void 0:t,menuProps:e.subMenuProps,onClick:o._onButtonClick(e)});return e.iconOnly&&(void 0!==t||e.tooltipHostProps)?C.createElement(zp,f({role:"none",content:t,setAriaDescribedBy:!1},e.tooltipHostProps),o._commandButton(e,n)):o._commandButton(e,n)},o._commandButton=function(e,t){var n=o.props.buttonAs,r=e.commandBarButtonAs,i=uh;return r&&(i=Bl(r,i)),n&&(i=Bl(n,i)),C.createElement(i,f({},t))},o._onRenderOverflowButton=function(e){var t=o.props.overflowButtonProps,n=void 0===t?{}:t,r=b(b([],n.menuProps?n.menuProps.items:[],!0),e,!0),i=f(f({role:"menuitem"},n),{styles:f({menuIcon:{fontSize:"17px"}},n.styles),className:gi("ms-CommandBar-overflowButton",n.className),menuProps:f(f({},n.menuProps),{items:r}),menuIconProps:f({iconName:"More"},n.menuIconProps)}),a=o.props.overflowButtonAs?Bl(o.props.overflowButtonAs,uh):uh;return C.createElement(a,f({},i))},o._onReduceData=function(e){var t=o.props,n=t.shiftOnReduce,r=t.onDataReduced,i=e.primaryItems,a=e.overflowItems,s=e.cacheKey,l=e.farItems,c=i[n?0:i.length-1];if(void 0!==c){c.renderedInOverflow=!0,a=b([c],a,!0),i=n?i.slice(1):i.slice(0,-1);var u=f(f({},e),{primaryItems:i,overflowItems:a});return s=o._computeCacheKey({primaryItems:i,overflow:a.length>0,farItems:l}),r&&r(c),u.cacheKey=s,u}},o._onGrowData=function(e){var t=o.props,n=t.shiftOnReduce,r=t.onDataGrown,i=e.minimumOverflowItems,a=e.primaryItems,s=e.overflowItems,l=e.cacheKey,c=e.farItems,u=s[0];if(void 0!==u&&s.length>i){u.renderedInOverflow=!1,s=s.slice(1),a=n?b([u],a,!0):b(b([],a,!0),[u],!1);var d=f(f({},e),{primaryItems:a,overflowItems:s});return l=o._computeCacheKey({primaryItems:a,overflow:s.length>0,farItems:c}),r&&r(u),d.cacheKey=l,d}},oa(o),o}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.items,o=e.overflowItems,n=e.farItems,r=e.styles,i=e.theme,a=e.dataDidRender,s=e.onReduceData,l=void 0===s?this._onReduceData:s,c=e.onGrowData,u=void 0===c?this._onGrowData:c,d=e.resizeGroupAs,p=void 0===d?Tp:d,h={primaryItems:b([],t,!0),overflowItems:b([],o,!0),minimumOverflowItems:b([],o,!0).length,farItems:n,cacheKey:this._computeCacheKey({primaryItems:b([],t,!0),overflow:o&&o.length>0,farItems:n})};this._classNames=yb(r,{theme:i});var m=Xr(this.props,Zr);return C.createElement(p,f({},m,{componentRef:this._resizeGroup,data:h,onReduceData:l,onGrowData:u,onRenderData:this._onRenderData,dataDidRender:a}))},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,o=e.overflow,n=e.farItems,r=function(e,t){var o=t.cacheKey;return e+(void 0===o?t.key:o)};return[t&&t.reduce(r,""),o?"overflow":"",n&&n.reduce(r,"")].join("")},t.defaultProps={items:[],overflowItems:[]},t}(C.Component),_b=lr(Cb,vb,void 0,{scope:"CommandBar"}),Sb=f(f({},ym),{prevMonthAriaLabel:"Go to previous month",nextMonthAriaLabel:"Go to next month",prevYearAriaLabel:"Go to previous year",nextYearAriaLabel:"Go to next year",closeButtonAriaLabel:"Close date picker",isRequiredErrorMessage:"Field is required",invalidInputErrorMessage:"Invalid date format",isResetStatusMessage:'Invalid entry "{0}", date reset to "{1}"'}),xb=Cr(),kb={allowTextInput:!1,formatDate:function(e){return e?e.toDateString():""},parseDateFromString:function(e){e.match(/^\d{4}(-\d{2}){2}$/)&&(e+="T12:00");var t=Date.parse(e);return t?new Date(t):null},firstDayOfWeek:bh.Sunday,initialPickerDate:new Date,isRequired:!1,isMonthPickerVisible:!0,showMonthPickerAsOverlay:!1,strings:Sb,highlightCurrentMonth:!1,highlightSelectedMonth:!1,borderless:!1,pickerAriaLabel:"Calendar",showWeekNumbers:!1,firstWeekOfYear:Ch.FirstDay,showGoToToday:!0,showCloseButton:!1,underlined:!1,allFocusable:!1},wb=C.forwardRef((function(e,t){var o,n,r=xr(kb,e),i=r.firstDayOfWeek,a=r.strings,s=r.label,l=r.theme,c=r.className,u=r.styles,d=r.initialPickerDate,p=r.isRequired,h=r.disabled,m=r.ariaLabel,g=r.pickerAriaLabel,v=r.placeholder,b=r.allowTextInput,y=r.borderless,_=r.minDate,S=r.maxDate,x=r.showCloseButton,k=r.calendarProps,w=r.calloutProps,I=r.textField,D=r.underlined,E=r.allFocusable,T=r.calendarAs,P=void 0===T?Um:T,R=r.tabIndex,M=r.disableAutoFocus,N=void 0===M||M,B=yd("DatePicker",r.id),A=yd("DatePicker-Callout"),F=C.useRef(null),L=C.useRef(null),H=function(){var e=C.useRef(null),t=C.useRef(!1);return[e,function(){var t,o;null===(o=null===(t=e.current)||void 0===t?void 0:t.focus)||void 0===o||o.call(t)},t,function(){t.current=!0}]}(),O=H[0],z=H[1],W=H[2],V=H[3],K=function(e,t){var o=e.allowTextInput,n=e.onAfterMenuDismiss,r=C.useState(!1),i=r[0],a=r[1],s=C.useRef(!1),l=Ic();return C.useEffect((function(){s.current&&!i&&(o&&l.requestAnimationFrame(t),null==n||n()),s.current=!0}),[i]),[i,a]}(r,z),G=K[0],U=K[1],j=function(e){var t=e.formatDate,o=e.value,n=e.onSelectDate,r=Om(o,void 0,(function(e,t){return null==n?void 0:n(t)})),i=r[0],a=r[1],s=C.useState((function(){return o&&t?t(o):""})),l=s[0],c=s[1];return C.useEffect((function(){c(o&&t?t(o):"")}),[t,o]),[i,l,function(e){a(e),c(e&&t?t(e):"")},c]}(r),q=j[0],Y=j[1],Z=j[2],X=j[3],Q=function(e,t,o,n,r){var i,a=e.isRequired,s=e.allowTextInput,l=e.strings,c=e.parseDateFromString,u=e.onSelectDate,d=e.formatDate,p=e.minDate,h=e.maxDate,m=e.textField,f=C.useState(),g=f[0],v=f[1],b=C.useState(),y=b[0],_=b[1],S=C.useRef(!0),x=null===(i=null==m?void 0:m.validateOnLoad)||void 0===i||i;return C.useEffect((function(){S.current&&(S.current=!1,!x)||(a&&!t?v(l.isRequiredErrorMessage||" "):t&&Ib(t,p,h)?v(l.isOutOfBoundsErrorMessage||" "):v(void 0))}),[p&&Uh(p),h&&Uh(h),t&&Uh(t),a,x]),[r?void 0:g,function(e){if(void 0===e&&(e=null),s)if(n||e){if(t&&!g&&d&&d(null!=e?e:t)===n)return;if(!(e=e||c(n))||isNaN(e.getTime())){o(t);var r=d?d(t):"",i=l.isResetStatusMessage?Qh(l.isResetStatusMessage,n,r):l.invalidInputErrorMessage||"";_(i)}else Ib(e,p,h)?v(l.isOutOfBoundsErrorMessage||" "):(o(e),v(void 0),_(void 0))}else v(a?l.isRequiredErrorMessage||" ":void 0),null==u||u(e);else a&&!n?v(l.isRequiredErrorMessage||" "):(v(void 0),_(void 0))},v,r?void 0:y,_]}(r,q,Z,Y,G),J=Q[0],$=Q[1],ee=Q[2],te=Q[3],oe=Q[4],ne=C.useCallback((function(){G||(V(),U(!0))}),[G,V,U]);C.useImperativeHandle(r.componentRef,(function(){return{focus:z,reset:function(){U(!1),Z(void 0),ee(void 0),oe(void 0)},showDatePickerPopup:ne}}),[z,ee,U,Z,oe,ne]);var re=function(e){G&&(U(!1),$(e),!b&&e&&Z(e))},ae=function(e){V(),re(e)},se=xb(u,{theme:l,className:c,disabled:h,underlined:D,label:!!s,isDatePickerShown:G}),le=Xr(r,Zr,["value"]),ce=I&&I.iconProps,ue=I&&I.id&&I.id!==B?I.id:B+"-label",de=!b&&!h,pe=null===(n=null!==(o=null==I?void 0:I["data-is-focusable"])&&void 0!==o?o:r["data-is-focusable"])||void 0===n||n,he=b?{role:"button","aria-expanded":G,"aria-label":null!=m?m:s,"aria-labelledby":I&&I["aria-labelledby"]}:{};return C.createElement("div",f({},le,{className:se.root,ref:t}),C.createElement("div",{ref:L,"aria-owns":G?A:void 0,className:se.wrapper},C.createElement(cv,f({role:"combobox",label:s,"aria-expanded":G,"aria-required":p,ariaLabel:m,"aria-haspopup":"dialog","aria-controls":G?A:void 0,required:p,disabled:h,errorMessage:J,placeholder:v,borderless:y,value:Y,componentRef:O,underlined:D,tabIndex:R,readOnly:!b},I,{"data-is-focusable":pe,id:ue,className:gi(se.textField,I&&I.className),iconProps:f(f(f({iconName:"Calendar"},he),ce),{className:gi(se.icon,ce&&ce.className),onClick:function(e){e.stopPropagation(),G||r.disabled?r.allowTextInput&&re():ne()}}),onRenderDescription:function(e,t){return C.createElement(C.Fragment,null,e.description||e.onRenderDescription?t(e):null,C.createElement("div",{"aria-live":"assertive",className:se.statusMessage},te))},onKeyDown:function(e){switch(e.which){case ur.enter:e.preventDefault(),e.stopPropagation(),G?r.allowTextInput&&re():($(),ne());break;case ur.escape:!function(e){G&&(e.stopPropagation(),ae())}(e);break;case ur.down:e.altKey&&!G&&ne()}},onFocus:function(){N||b||(W.current||ne(),W.current=!1)},onBlur:function(e){$()},onClick:function(e){!r.openOnClick&&r.disableAutoFocus||G||r.disabled?r.allowTextInput&&re():ne()},onChange:function(e,t){var o,n=r.textField;b&&(G&&re(),X(t)),null===(o=null==n?void 0:n.onChange)||void 0===o||o.call(n,e,t)},onRenderInput:de?function(e){var t=Xr(e,Zr),o=ie(t.className,se.readOnlyTextField);return C.createElement("div",f({},t,{className:o,tabIndex:R||0}),Y||C.createElement("span",{className:se.readOnlyPlaceholder},v))}:void 0}))),G&&C.createElement(Tu,f({id:A,role:"dialog",ariaLabel:g,isBeakVisible:!1,gapSpace:0,doNotLayer:!1,target:L.current,directionalHint:Il.bottomLeftEdge},w,{className:gi(se.callout,w&&w.className),onDismiss:function(e){ae()},onPositioned:function(){var e=!0;r.calloutProps&&void 0!==r.calloutProps.setInitialFocus&&(e=r.calloutProps.setInitialFocus),F.current&&e&&F.current.focus()}}),C.createElement(Qm,{isClickableOutsideFocusTrap:!0,disableFirstFocus:N},C.createElement(P,f({},k,{onSelectDate:function(e){r.calendarProps&&r.calendarProps.onSelectDate&&r.calendarProps.onSelectDate(e),ae(e)},onDismiss:function(e){ae()},isMonthPickerVisible:r.isMonthPickerVisible,showMonthPickerAsOverlay:r.showMonthPickerAsOverlay,today:r.today,value:q||d,firstDayOfWeek:i,strings:a,highlightCurrentMonth:r.highlightCurrentMonth,highlightSelectedMonth:r.highlightSelectedMonth,showWeekNumbers:r.showWeekNumbers,firstWeekOfYear:r.firstWeekOfYear,showGoToToday:r.showGoToToday,dateTimeFormatter:r.dateTimeFormatter,minDate:_,maxDate:S,componentRef:F,showCloseButton:x,allFocusable:E})))))}));function Ib(e,t,o){return!!t&&Lh(t,e)>0||!!o&&Lh(o,e)<0}wb.displayName="DatePickerBase";var Db,Eb,Tb,Pb,Rb,Mb,Nb={root:"ms-DatePicker",callout:"ms-DatePicker-callout",withLabel:"ms-DatePicker-event--with-label",withoutLabel:"ms-DatePicker-event--without-label",disabled:"msDatePickerDisabled "},Bb=lr(wb,(function(e){var t,o=e.className,n=e.theme,r=e.disabled,i=e.underlined,a=e.label,s=e.isDatePickerShown,l=n.palette,c=n.semanticColors,u=n.fonts,d=Ao(Nb,n),p={color:l.neutralSecondary,fontSize:ot.icon,lineHeight:"18px",pointerEvents:"none",position:"absolute",right:"4px",padding:"5px"};return{root:[d.root,n.fonts.large,s&&"is-open",fn,o],textField:[{position:"relative",selectors:{"& input[readonly]":{cursor:"pointer"},input:{selectors:{"::-ms-clear":{display:"none"}}}}},r&&{selectors:{"& input[readonly]":{cursor:"default"}}}],callout:[d.callout],icon:[p,a?d.withLabel:d.withoutLabel,{paddingTop:"7px"},!r&&[d.disabled,{pointerEvents:"initial",cursor:"pointer"}],r&&{color:c.disabledText,cursor:"default"}],statusMessage:[u.small,{color:c.errorText,marginTop:5}],readOnlyTextField:[{cursor:"pointer",height:32,lineHeight:30,overflow:"hidden",textOverflow:"ellipsis"},i&&{lineHeight:34}],readOnlyPlaceholder:(t={color:c.inputPlaceholderText},t[Fo]={color:"GrayText"},t)}}),void 0,{scope:"DatePicker"}),Ab={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"},Fb={cellLeftPadding:12,cellRightPadding:8,cellExtraRightPadding:24},Lb={rowHeight:42,compactRowHeight:32},Hb=f(f({},Lb),{rowVerticalPadding:11,compactRowVerticalPadding:6}),Ob=function(e){var t,o,n,r,i,a,s,l,c,u,d,p,h,m,g=e.theme,v=e.isSelected,b=e.canSelect,y=e.droppingClassName,C=e.isCheckVisible,_=e.checkboxCellClassName,S=e.compact,x=e.className,k=e.cellStyleProps,w=void 0===k?Fb:k,I=e.enableUpdateAnimations,D=e.disabled,E=g.palette,T=g.fonts,P=E.neutralPrimary,R=E.white,M=E.neutralSecondary,N=E.neutralLighter,B=E.neutralLight,A=E.neutralDark,F=E.neutralQuaternaryAlt,L=g.semanticColors,H=L.focusBorder,O=L.linkHovered,z=Ao(Ab,g),W={defaultHeaderText:P,defaultMetaText:M,defaultBackground:R,defaultHoverHeaderText:A,defaultHoverMetaText:P,defaultHoverBackground:N,selectedHeaderText:A,selectedMetaText:P,selectedBackground:B,selectedHoverHeaderText:A,selectedHoverMetaText:P,selectedHoverBackground:F,focusHeaderText:A,focusMetaText:P,focusBackground:B,focusHoverBackground:F},V=[sn(g,{inset:-1,borderColor:H,outlineColor:R,highContrastStyle:{top:2,right:2,bottom:2,left:2},pointerEvents:"none"}),z.isSelected,{color:W.selectedMetaText,background:W.selectedBackground,borderBottom:"1px solid ".concat(R),selectors:(t={"&:before":{position:"absolute",display:"block",top:-1,height:1,bottom:0,left:0,right:0,content:"",borderTop:"1px solid ".concat(R)}},t[".".concat(z.cell," > .").concat(sl.root)]={color:O,selectors:(o={},o[Fo]={color:"HighlightText"},o)},t["&:hover"]={background:W.selectedHoverBackground,color:W.selectedHoverMetaText,selectors:(n={},n[Fo]={background:"Highlight",selectors:(r={},r[".".concat(z.cell)]={color:"HighlightText"},r[".".concat(z.cell," > .").concat(sl.root)]={forcedColorAdjust:"none",color:"HighlightText"},r)},n[".".concat(z.isRowHeader)]={color:W.selectedHoverHeaderText,selectors:(i={},i[Fo]={color:"HighlightText"},i)},n)},t["&:focus"]={background:W.focusBackground,selectors:(a={},a[".".concat(z.cell)]={color:W.focusMetaText,selectors:(s={},s[Fo]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},s)},a[".".concat(z.isRowHeader)]={color:W.focusHeaderText,selectors:(l={},l[Fo]={color:"HighlightText"},l)},a[Fo]={background:"Highlight"},a)},t[Fo]=f(f({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{a:{color:"HighlightText"}}}),t["&:focus:hover"]={background:W.focusHoverBackground},t)}],K=[z.isContentUnselectable,{userSelect:"none",cursor:"default"}],G={minHeight:Hb.compactRowHeight,border:0},U={minHeight:Hb.compactRowHeight,paddingTop:Hb.compactRowVerticalPadding,paddingBottom:Hb.compactRowVerticalPadding,paddingLeft:"".concat(w.cellLeftPadding,"px")},j=[sn(g,{inset:-1}),z.cell,{display:"inline-block",position:"relative",boxSizing:"border-box",minHeight:Hb.rowHeight,verticalAlign:"top",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:Hb.rowVerticalPadding,paddingBottom:Hb.rowVerticalPadding,paddingLeft:"".concat(w.cellLeftPadding,"px"),selectors:(c={"& > button":{maxWidth:"100%"}},c["[data-is-focusable='true']"]=sn(g,{inset:-1,borderColor:M,outlineColor:R}),c)},v&&{selectors:(u={},u[Fo]=f({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)},S&&U,D&&{opacity:.5}];return{root:[z.root,it.fadeIn400,y,g.fonts.small,C&&z.isCheckVisible,sn(g,{borderColor:H,outlineColor:R}),{borderBottom:"1px solid ".concat(N),background:W.defaultBackground,color:W.defaultMetaText,display:"inline-flex",minWidth:"100%",minHeight:Hb.rowHeight,whiteSpace:"nowrap",padding:0,boxSizing:"border-box",verticalAlign:"top",textAlign:"left",selectors:(d={},d[".".concat(z.listCellFirstChild," &:before")]={display:"none"},d["&:hover"]={background:W.defaultHoverBackground,color:W.defaultHoverMetaText,selectors:(p={},p[".".concat(z.isRowHeader)]={color:W.defaultHoverHeaderText},p[".".concat(z.cell," > .").concat(sl.root)]={color:O},p)},d["&:hover .".concat(z.check)]={opacity:1},d[".".concat(on," &:focus .").concat(z.check,", :host(.").concat(on,") &:focus .").concat(z.check)]={opacity:1},d[".ms-GroupSpacer"]={flexShrink:0,flexGrow:0},d)},v&&V,!b&&K,S&&G,x],cellUnpadded:{paddingRight:"".concat(w.cellRightPadding,"px")},cellPadded:{paddingRight:"".concat(w.cellExtraRightPadding+w.cellRightPadding,"px"),selectors:(h={},h["&.".concat(z.cellCheck)]={paddingRight:0},h)},cell:j,cellAnimation:I&&Ye.slideLeftIn40,cellMeasurer:[z.cellMeasurer,{overflow:"visible",whiteSpace:"nowrap"}],checkCell:[j,z.cellCheck,_,{padding:0,paddingTop:1,marginTop:-1,flexShrink:0}],fields:[z.fields,{display:"flex",alignItems:"stretch"}],isRowHeader:[z.isRowHeader,{color:W.defaultHeaderText,fontSize:T.medium.fontSize},v&&{color:W.selectedHeaderText,fontWeight:nt.semibold,selectors:(m={},m[Fo]={color:"HighlightText"},m)}],isMultiline:[j,{whiteSpace:"normal",wordBreak:"break-word",textOverflow:"clip"}],check:[z.check]}},zb=function(e){var t=e.count,o=e.indentWidth,n=void 0===o?36:o,r=e.role,i=void 0===r?"presentation":r,a=t*n;return t>0?C.createElement("span",{className:"ms-GroupSpacer",style:{display:"inline-block",width:a},role:i}):null},Wb={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"},Vb=42,Kb=function(e){var t=e.theme,o=e.cellStyleProps,n=void 0===o?Fb:o,r=t.semanticColors;return[Ao(Wb,t).cell,sn(t),{color:r.bodyText,position:"relative",display:"inline-block",boxSizing:"border-box",padding:"0 ".concat(n.cellRightPadding,"px 0 ").concat(n.cellLeftPadding,"px"),lineHeight:"inherit",margin:"0",height:Vb,verticalAlign:"top",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"}]},Gb=function(e){var t,o,n,r,i=e.theme,a=e.className,s=e.isAllSelected,l=e.isResizingColumn,c=e.isSizing,u=e.isAllCollapsed,d=e.cellStyleProps,p=void 0===d?Fb:d,h=i.semanticColors,m=i.palette,g=i.fonts,v=Ao(Wb,i),b={iconForegroundColor:h.bodySubtext,headerForegroundColor:h.bodyText,headerBackgroundColor:h.bodyBackground,resizerColor:m.neutralTertiaryAlt},y={opacity:1,transition:"opacity 0.3s linear"},C=Kb(e);return{root:[v.root,g.small,{display:"inline-block",background:b.headerBackgroundColor,position:"relative",minWidth:"100%",verticalAlign:"top",height:Vb,lineHeight:Vb,whiteSpace:"nowrap",boxSizing:"content-box",paddingBottom:"1px",paddingTop:"16px",borderBottom:"1px solid ".concat(h.bodyDivider),cursor:"default",userSelect:"none",selectors:(t={},t["&:hover .".concat(v.check)]={opacity:1},t["& .".concat(v.tooltipHost," .").concat(v.checkTooltip)]={display:"block"},t)},s&&v.isAllSelected,l&&v.isResizingColumn,a],check:[v.check,{height:Vb},{selectors:(o={},o[".".concat(on," &:focus, :host(.").concat(on,") &:focus")]={opacity:1},o)}],cellWrapperPadded:{paddingRight:p.cellExtraRightPadding+p.cellRightPadding},cellIsCheck:[C,v.cellIsCheck,{position:"relative",padding:0,margin:0,display:"inline-flex",alignItems:"center",border:"none"},s&&{opacity:1}],cellIsGroupExpander:[C,{display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:g.small.fontSize,padding:0,border:"none",width:36,color:m.neutralSecondary,selectors:{":hover":{backgroundColor:m.neutralLighter},":active":{backgroundColor:m.neutralLight}}}],cellIsActionable:{selectors:{":hover":{color:h.bodyText,background:h.listHeaderBackgroundHovered},":active":{background:h.listHeaderBackgroundPressed}}},cellIsEmpty:{textOverflow:"clip"},cellSizer:[v.cellSizer,{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},{display:"inline-block",position:"relative",cursor:"ew-resize",bottom:0,top:0,overflow:"hidden",height:"inherit",background:"transparent",zIndex:1,width:16,selectors:(n={":after":{content:'""',position:"absolute",top:0,bottom:0,width:1,background:b.resizerColor,opacity:0,left:"50%"},":focus:after":y,":hover:after":y},n["&.".concat(v.isResizing,":after")]=[y,{boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.4)"}],n)}],cellIsResizing:v.isResizing,cellSizerStart:{margin:"0 -8px"},cellSizerEnd:{margin:0,marginLeft:-16},collapseButton:[v.collapseButton,{transformOrigin:"50% 50%",transition:"transform .1s linear"},u?[v.isCollapsed,{transform:"rotate(0deg)"}]:{transform:pr(i)?"rotate(-90deg)":"rotate(90deg)"}],checkTooltip:v.checkTooltip,sizingOverlay:c&&{position:"absolute",left:0,top:0,right:0,bottom:0,cursor:"ew-resize",background:"rgba(255, 255, 255, 0)",selectors:(r={},r[Fo]=f({background:"transparent"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},accessibleLabel:vo,dropHintCircleStyle:[v.dropHintCircleStyle,{display:"inline-block",visibility:"hidden",position:"absolute",bottom:0,height:9,width:9,borderRadius:"50%",marginLeft:-5,top:34,overflow:"visible",zIndex:10,border:"1px solid ".concat(m.themePrimary),background:m.white}],dropHintCaretStyle:[v.dropHintCaretStyle,{display:"none",position:"absolute",top:-28,left:-6.5,fontSize:g.medium.fontSize,color:m.themePrimary,overflow:"visible",zIndex:10}],dropHintLineStyle:[v.dropHintLineStyle,{display:"none",position:"absolute",bottom:0,top:0,overflow:"hidden",height:42,width:1,background:m.themePrimary,zIndex:10}],dropHintStyle:{display:"inline-block",position:"absolute"}}},Ub={root:"ms-DetailsRow-check",isDisabled:"ms-DetailsRow-check--isDisabled",isHeader:"ms-DetailsRow-check--isHeader"},jb=48,qb=function(e){var t=e.theme,o=e.className,n=e.isHeader,r=e.selected,i=e.anySelected,a=e.canSelect,s=e.compact,l=e.isVisible,c=Ao(Ub,t),u=Lb.rowHeight,d=Lb.compactRowHeight,p=n?Vb:s?d:u,h=l||r||i;return{root:[c.root,o],check:[!a&&c.isDisabled,n&&c.isHeader,sn(t),t.fonts.small,tf.checkHost,{display:"flex",alignItems:"center",justifyContent:"center",cursor:"default",boxSizing:"border-box",verticalAlign:"top",background:"none",backgroundColor:"transparent",border:"none",opacity:h?1:0,height:p,width:jb,padding:0,margin:0}],isDisabled:[]}};!function(e){e[e.disabled=0]="disabled",e[e.clickable=1]="clickable",e[e.hasDropdown=2]="hasDropdown"}(Db||(Db={})),function(e){e[e.unconstrained=0]="unconstrained",e[e.horizontalConstrained=1]="horizontalConstrained"}(Eb||(Eb={})),function(e){e[e.outside=0]="outside",e[e.surface=1]="surface",e[e.header=2]="header"}(Tb||(Tb={})),function(e){e[e.fixedColumns=0]="fixedColumns",e[e.justified=1]="justified"}(Pb||(Pb={})),function(e){e[e.onHover=0]="onHover",e[e.always=1]="always",e[e.hidden=2]="hidden"}(Rb||(Rb={})),function(e){e[e.hidden=0]="hidden",e[e.visible=1]="visible"}(Mb||(Mb={}));var Yb=Cr(),Zb=function(e){return function(t){return t?t.column.isIconOnly?C.createElement("span",{className:e.accessibleLabel},t.column.name):C.createElement(C.Fragment,null,t.column.name):null}},Xb=function(e){function t(t){var o=e.call(this,t)||this;return o._root=C.createRef(),o._tooltipRef=C.createRef(),o._onRenderFilterIcon=function(e){return function(e){var t=e.columnProps,o=g(e,["columnProps"]),n=(null==t?void 0:t.useFastIcons)?ki:Ei;return C.createElement(n,f({},o))}},o._onRenderColumnHeaderTooltip=function(e){return C.createElement("span",{className:e.hostClassName},e.children)},o._onColumnClick=function(e){var t=o.props,n=t.onColumnClick,r=t.column;r.columnActionsMode!==Db.disabled&&(r.onColumnClick&&r.onColumnClick(e,r),n&&n(e,r))},o._onColumnKeyDown=function(e){var t=o.props,n=t.onColumnKeyDown,r=t.column;r.onColumnKeyDown&&r.onColumnKeyDown(e,r),n&&n(e,r)},o._onColumnBlur=function(){o._tooltipRef.current&&o._tooltipRef.current.dismiss()},o._onColumnFocus=function(){o._tooltipRef.current&&o._tooltipRef.current.show()},o._onDragStart=function(e,t,n,r){var i=o._classNames;t&&(o._updateHeaderDragInfo(t),o._root.current.classList.add(i.borderWhileDragging),o._async.setTimeout((function(){o._root.current&&o._root.current.classList.add(i.noBorderWhileDragging)}),20))},o._onDragEnd=function(e,t){var n=o._classNames;t&&o._updateHeaderDragInfo(-1,t),o._root.current.classList.remove(n.borderWhileDragging),o._root.current.classList.remove(n.noBorderWhileDragging)},o._updateHeaderDragInfo=function(e,t){o.props.setDraggedItemIndex&&o.props.setDraggedItemIndex(e),o.props.updateDragInfo&&o.props.updateDragInfo({itemIndex:e},t)},o._onColumnContextMenu=function(e){var t=o.props,n=t.onColumnContextMenu,r=t.column;r.onColumnContextMenu&&(r.onColumnContextMenu(r,e),e.preventDefault()),n&&(n(r,e),e.preventDefault())},o._onRootMouseDown=function(e){o.props.isDraggable&&0===e.button&&e.stopPropagation()},oa(o),o._async=new sa(o),o._events=new fl(o),o}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.column,o=e.parentId,n=e.isDraggable,r=e.styles,i=e.theme,a=e.cellStyleProps,s=void 0===a?Fb:a,l=e.useFastIcons,c=void 0===l||l,u=this.props.onRenderColumnHeaderTooltip,d=void 0===u?this._onRenderColumnHeaderTooltip:u;this._classNames=Yb(r,{theme:i,headerClassName:t.headerClassName,iconClassName:t.iconClassName,isActionable:t.columnActionsMode!==Db.disabled,isEmpty:!t.name,isIconVisible:t.isSorted||t.isGrouped||t.isFiltered,isPadded:t.isPadded,isIconOnly:t.isIconOnly,cellStyleProps:s,transitionDurationDrag:200,transitionDurationDrop:1500});var p=this._classNames,h=c?ki:Ei,m=t.onRenderFilterIcon?El(t.onRenderFilterIcon,this._onRenderFilterIcon(this._classNames)):this._onRenderFilterIcon(this._classNames),g=t.onRenderHeader?El(t.onRenderHeader,Zb(this._classNames)):Zb(this._classNames),v=t.columnActionsMode!==Db.disabled&&(void 0!==t.onColumnClick||void 0!==this.props.onColumnClick),b=this.props.onRenderColumnHeaderTooltip?!t.ariaLabel:this._hasAccessibleDescription(),y={"aria-label":t.ariaLabel?t.ariaLabel:t.isIconOnly?t.name:void 0,"aria-labelledby":t.ariaLabel||t.isIconOnly?void 0:"".concat(o,"-").concat(t.key,"-name"),"aria-describedby":b?"".concat(o,"-").concat(t.key,"-tooltip"):void 0};return C.createElement(C.Fragment,null,C.createElement("div",f({key:t.key,ref:this._root,role:"columnheader"},!v&&y,{"aria-sort":t.isSorted?t.isSortedDescending?"descending":"ascending":"none","data-is-focusable":v||t.columnActionsMode===Db.disabled?void 0:"true",className:p.root,"data-is-draggable":n,draggable:n,style:{width:(t.calculatedWidth||0)+s.cellLeftPadding+s.cellRightPadding+(t.isPadded?s.cellExtraRightPadding:0)},"data-automationid":"ColumnsHeaderColumn","data-item-key":t.key,onBlur:this._onColumnBlur,onFocus:this._onColumnFocus}),n&&C.createElement(h,{iconName:"GripperBarVertical",className:p.gripperBarVerticalStyle}),d({hostClassName:p.cellTooltip,id:"".concat(o,"-").concat(t.key,"-tooltip"),setAriaDescribedBy:!1,column:t,componentRef:this._tooltipRef,content:t.columnActionsMode!==Db.disabled?t.ariaLabel:"",children:C.createElement("span",f({id:"".concat(o,"-").concat(t.key),className:p.cellTitle,"data-is-focusable":v&&t.columnActionsMode!==Db.disabled?"true":void 0,role:v?"button":void 0},v&&y,{onContextMenu:this._onColumnContextMenu,onClick:this._onColumnClick,onKeyDown:this._onColumnKeyDown,"aria-haspopup":t.columnActionsMode===Db.hasDropdown?"menu":void 0,"aria-expanded":t.columnActionsMode===Db.hasDropdown?!!t.isMenuOpen:void 0}),C.createElement("span",{id:"".concat(o,"-").concat(t.key,"-name"),className:p.cellName},(t.iconName||t.iconClassName)&&C.createElement(h,{className:p.iconClassName,iconName:t.iconName}),g(this.props)),t.isFiltered&&C.createElement(h,{className:p.nearIcon,iconName:"Filter"}),(t.isSorted||t.showSortIconWhenUnsorted)&&C.createElement(h,{className:p.sortIcon,iconName:t.isSorted?t.isSortedDescending?"SortDown":"SortUp":"Sort"}),t.isGrouped&&C.createElement(h,{className:p.nearIcon,iconName:"GroupedDescending"}),t.columnActionsMode===Db.hasDropdown&&!t.isIconOnly&&m({"aria-hidden":!0,columnProps:this.props,className:p.filterChevron,iconName:"ChevronDown"}))},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:this._renderAccessibleDescription())},t.prototype.componentDidMount=function(){var e=this;this.props.dragDropHelper&&this.props.isDraggable&&this._addDragDropHandling();var t=this._classNames;this.props.isDropped&&(this._root.current&&(this._root.current.classList.add(t.borderAfterDropping),this._async.setTimeout((function(){e._root.current&&e._root.current.classList.add(t.noBorderAfterDropping)}),20)),this._async.setTimeout((function(){e._root.current&&(e._root.current.classList.remove(t.borderAfterDropping),e._root.current.classList.remove(t.noBorderAfterDropping))}),1520))},t.prototype.componentWillUnmount=function(){this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._async.dispose(),this._events.dispose()},t.prototype.componentDidUpdate=function(){!this._dragDropSubscription&&this.props.dragDropHelper&&this.props.isDraggable&&this._addDragDropHandling(),this._dragDropSubscription&&!this.props.isDraggable&&(this._dragDropSubscription.dispose(),this._events.off(this._root.current,"mousedown"),delete this._dragDropSubscription)},t.prototype._getColumnDragDropOptions=function(){var e=this,t=this.props.columnIndex;return{selectionIndex:t,context:{data:t,index:t},canDrag:function(){return e.props.isDraggable},canDrop:function(){return!1},onDragStart:this._onDragStart,updateDropState:function(){},onDrop:function(){},onDragEnd:this._onDragEnd}},t.prototype._hasAccessibleDescription=function(){var e=this.props.column;return!!(e.filterAriaLabel||e.sortAscendingAriaLabel||e.sortDescendingAriaLabel||e.groupAriaLabel||e.sortableAriaLabel)},t.prototype._renderAccessibleDescription=function(){var e=this.props,t=e.column,o=e.parentId,n=this._classNames;return this._hasAccessibleDescription()&&!this.props.onRenderColumnHeaderTooltip?C.createElement("label",{key:"".concat(t.key,"_label"),id:"".concat(o,"-").concat(t.key,"-tooltip"),className:n.accessibleLabel,hidden:!0},t.isFiltered&&t.filterAriaLabel||null,(t.isSorted||t.showSortIconWhenUnsorted)&&(t.isSorted?t.isSortedDescending?t.sortDescendingAriaLabel:t.sortAscendingAriaLabel:t.sortableAriaLabel)||null,t.isGrouped&&t.groupAriaLabel||null):null},t.prototype._addDragDropHandling=function(){this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getColumnDragDropOptions()),this._events.on(this._root.current,"mousedown",this._onRootMouseDown)},t}(C.Component),Qb={isActionable:"is-actionable",cellIsCheck:"ms-DetailsHeader-cellIsCheck",collapseButton:"ms-DetailsHeader-collapseButton",isCollapsed:"is-collapsed",isAllSelected:"is-allSelected",isSelectAllHidden:"is-selectAllHidden",isResizingColumn:"is-resizingColumn",isEmpty:"is-empty",isIconVisible:"is-icon-visible",cellSizer:"ms-DetailsHeader-cellSizer",isResizing:"is-resizing",dropHintCircleStyle:"ms-DetailsHeader-dropHintCircleStyle",dropHintLineStyle:"ms-DetailsHeader-dropHintLineStyle",cellTitle:"ms-DetailsHeader-cellTitle",cellName:"ms-DetailsHeader-cellName",filterChevron:"ms-DetailsHeader-filterChevron",gripperBarVerticalStyle:"ms-DetailsColumn-gripperBar",nearIcon:"ms-DetailsColumn-nearIcon"},Jb=function(e){var t,o=e.theme,n=e.headerClassName,r=e.iconClassName,i=e.isActionable,a=e.isEmpty,s=e.isIconVisible,l=e.isPadded,c=e.isIconOnly,u=e.cellStyleProps,d=void 0===u?Fb:u,p=e.transitionDurationDrag,h=e.transitionDurationDrop,m=o.semanticColors,g=o.palette,v=o.fonts,b=Ao(Qb,o),y={iconForegroundColor:m.bodySubtext,headerForegroundColor:m.bodyText,headerBackgroundColor:m.bodyBackground,dropdownChevronForegroundColor:g.neutralSecondary,resizerColor:g.neutralTertiaryAlt},C={color:y.iconForegroundColor,opacity:1,paddingLeft:8},_={outline:"1px solid ".concat(g.themePrimary)},S={outlineColor:"transparent"};return{root:[Kb(e),v.small,i&&[b.isActionable,{selectors:{":hover":{color:m.bodyText,background:m.listHeaderBackgroundHovered},":active":{background:m.listHeaderBackgroundPressed}}}],a&&[b.isEmpty,{textOverflow:"clip"}],s&&b.isIconVisible,l&&{paddingRight:d.cellExtraRightPadding+d.cellRightPadding},{selectors:{':hover i[data-icon-name="GripperBarVertical"]':{display:"block"}}},n],gripperBarVerticalStyle:{display:"none",position:"absolute",textAlign:"left",color:g.neutralTertiary,left:1},nearIcon:[b.nearIcon,C],sortIcon:[C,{paddingLeft:4,position:"relative",top:1}],iconClassName:[{color:y.iconForegroundColor,opacity:1},r],filterChevron:[b.filterChevron,{color:y.dropdownChevronForegroundColor,paddingLeft:6,verticalAlign:"middle",fontSize:v.small.fontSize}],cellTitle:[b.cellTitle,sn(o),f({display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"stretch",boxSizing:"border-box",overflow:"hidden",padding:"0 ".concat(d.cellRightPadding,"px 0 ").concat(d.cellLeftPadding,"px")},c?{alignContent:"flex-end",maxHeight:"100%",flexWrap:"wrap-reverse"}:{})],cellName:[b.cellName,{flex:"0 1 auto",overflow:"hidden",textOverflow:"ellipsis",fontWeight:nt.semibold,fontSize:v.medium.fontSize},c&&{selectors:(t={},t[".".concat(b.nearIcon)]={paddingLeft:0},t)}],cellTooltip:{display:"block",position:"absolute",top:0,left:0,bottom:0,right:0},accessibleLabel:vo,borderWhileDragging:_,noBorderWhileDragging:[S,{transition:"outline ".concat(p,"ms ease")}],borderAfterDropping:_,noBorderAfterDropping:[S,{transition:"outline ".concat(h,"ms ease")}]}},$b=lr(Xb,Jb,void 0,{scope:"DetailsColumn"}),ey={label:Er,audio:Tr,video:Pr,ol:Rr,li:Mr,a:Nr,button:Br,input:Ar,textarea:Fr,select:Lr,option:Hr,table:Or,tr:zr,th:Wr,td:Vr,colGroup:Kr,col:Gr,form:Ur,iframe:jr,img:qr};function ty(e,t,o){return Xr(t,e&&ey[e]||Dr,o)}var oy,ny,ry="change";!function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.multiple=2]="multiple"}(oy||(oy={})),function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(ny||(ny={}));var iy=Cr(),ay=C.memo((function(e){return C.createElement(of,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})}));function sy(e){return C.createElement(of,{checked:e.checked})}function ly(e){return C.createElement(ay,{theme:e.theme,checked:e.checked})}var cy,uy=lr((function(e){var t=e.isVisible,o=void 0!==t&&t,n=e.canSelect,r=void 0!==n&&n,i=e.anySelected,a=void 0!==i&&i,s=e.selected,l=void 0!==s&&s,c=e.selectionMode,u=e.isHeader,d=void 0!==u&&u,p=e.className,h=(e.checkClassName,e.styles),m=e.theme,v=e.compact,b=e.onRenderDetailsCheckbox,y=e.useFastIcons,_=void 0===y||y,S=g(e,["isVisible","canSelect","anySelected","selected","selectionMode","isHeader","className","checkClassName","styles","theme","compact","onRenderDetailsCheckbox","useFastIcons"]),x=_?ly:sy,k=b?El(b,x):x,w=iy(h,{theme:m,canSelect:r,selected:l,anySelected:a,className:p,isHeader:d,isVisible:o,compact:v}),I={checked:l,theme:m},D=ty("div",S,["aria-label","aria-labelledby","aria-describedby"]),E=c===oy.single?"radio":"checkbox";return r?C.createElement("div",f({},S,{role:E,className:gi(w.root,w.check),"aria-checked":l,"data-selection-toggle":!0,"data-automationid":"DetailsRowCheck",tabIndex:-1}),k(I)):C.createElement("div",f({},D,{className:gi(w.root,w.check)}))}),qb,void 0,{scope:"DetailsRowCheck"},!0),dy=function(){function e(e){this._selection=e.selection,this._dragEnterCounts={},this._activeTargets={},this._lastId=0,this._initialized=!1}return e.prototype.dispose=function(){this._events&&this._events.dispose()},e.prototype.subscribe=function(e,t,o){var n=this;if(!this._initialized){this._events=new fl(this);var r=ht();r&&(this._events.on(r.body,"mouseup",this._onMouseUp.bind(this),!0),this._events.on(r,"mouseup",this._onDocumentMouseUp.bind(this),!0)),this._initialized=!0}var i,a,s,l,c,u,d,p,h,m,f=o.key,g=void 0===f?"".concat(++this._lastId):f,v=[];if(o&&e){var b=o.eventMap,y=o.context,C=o.updateDropState,_={root:e,options:o,key:g};if(p=this._isDraggable(_),h=this._isDroppable(_),(p||h)&&b)for(var S=0,x=b;S0&&(fl.raise(this._dragData.dropTarget.root,"dragleave"),fl.raise(r,"dragenter"),this._dragData.dropTarget=e)}},e.prototype._onMouseLeave=function(e,t){this._isDragging&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key===e.key&&(fl.raise(e.root,"dragleave"),this._dragData.dropTarget=void 0)},e.prototype._onMouseDown=function(e,t){if(0===t.button)if(this._isDraggable(e)){this._dragData={clientX:t.clientX,clientY:t.clientY,eventTarget:t.target,dragTarget:e};for(var o=0,n=Object.keys(this._activeTargets);o=0&&"drop"!==t.type&&!e&&o._resetDropHints()},o._onDragOver=function(e,t){o._draggedColumnIndex>=0&&(t.stopPropagation(),o._computeDropHintToBeShown(t.clientX))},o._onDrop=function(e,t){var n=o._getColumnReorderProps();if(o._draggedColumnIndex>=0&&t){var r=o._draggedColumnIndex>o._currentDropHintIndex?o._currentDropHintIndex:o._currentDropHintIndex-1,i=o._isValidCurrentDropHintIndex();if(t.stopPropagation(),i)if(o._onDropIndexInfo.sourceIndex=o._draggedColumnIndex,o._onDropIndexInfo.targetIndex=r,n.onColumnDrop){var a={draggedIndex:o._draggedColumnIndex,targetIndex:r};n.onColumnDrop(a)}else n.handleColumnReorder&&n.handleColumnReorder(o._draggedColumnIndex,r)}o._resetDropHints(),o._dropHintDetails={},o._draggedColumnIndex=-1},o._computeColumnIndexOffset=function(e){var t=1;return e&&(t+=1),o.props.groupNestingDepth&&o.props.groupNestingDepth>0&&(t+=1),t},o._updateDragInfo=function(e,t){var n=o._getColumnReorderProps(),r=e.itemIndex;if(r>=0)o._draggedColumnIndex=r-o._computeColumnIndexOffset(!o._isCheckboxColumnHidden()),o._getDropHintPositions(),n.onColumnDragStart&&n.onColumnDragStart(!0);else if(t&&o._draggedColumnIndex>=0&&(o._resetDropHints(),o._draggedColumnIndex=-1,o._dropHintDetails={},n.onColumnDragEnd)){var i=o._isEventOnHeader(t);n.onColumnDragEnd({dropLocation:i},t)}},o._getDropHintPositions=function(){for(var e,t=o.props.columns,n=void 0===t?hy:t,r=o._getColumnReorderProps(),i=0,a=0,s=r.frozenColumnCountFromStart||0,l=r.frozenColumnCountFromEnd||0,c=s;c=0&&(o._resetDropHints(),o._updateDropHintElement(o._dropHintDetails[p].dropHintElementRef,"inline-block"),o._currentDropHintIndex=p)}},o._renderColumnSizer=function(e){var t,n=e.columnIndex,r=o.props.columns,i=void 0===r?hy:r,a=i[n],s=o.state.columnResizeDetails,l=o._classNames;return a.isResizable?C.createElement("div",{key:"".concat(a.key,"_sizer"),"aria-hidden":!0,role:"button","data-is-focusable":!1,onClick:by,"data-sizer-index":n,onBlur:o._onSizerBlur,className:gi(l.cellSizer,n=0&&this._onDropIndexInfo.targetIndex>=0){var t=e.columns,o=void 0===t?hy:t,n=this.props.columns,r=void 0===n?hy:n;o[this._onDropIndexInfo.sourceIndex].key===r[this._onDropIndexInfo.targetIndex].key&&(this._onDropIndexInfo={sourceIndex:-1,targetIndex:-1})}this.props.isAllCollapsed!==e.isAllCollapsed&&this.setState({isAllCollapsed:this.props.isAllCollapsed})},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,o=t.columns,n=void 0===o?hy:o,r=t.ariaLabel,i=t.ariaLabelForToggleAllGroupsButton,a=t.ariaLabelForSelectAllCheckbox,s=t.selectAllVisibility,l=t.ariaLabelForSelectionColumn,c=t.indentWidth,u=t.onColumnClick,d=t.onColumnContextMenu,p=t.onRenderColumnHeaderTooltip,h=void 0===p?this._onRenderColumnHeaderTooltip:p,m=t.styles,f=t.selectionMode,g=t.theme,v=t.onRenderDetailsCheckbox,b=t.groupNestingDepth,y=t.useFastIcons,_=t.checkboxVisibility,S=t.className,x=this.state,k=x.isAllSelected,w=x.columnResizeDetails,I=x.isSizing,D=x.isAllCollapsed,E=s!==cy.none,T=s===cy.hidden,P=_===Rb.always,R=this._getColumnReorderProps(),M=R&&R.frozenColumnCountFromStart?R.frozenColumnCountFromStart:0,N=R&&R.frozenColumnCountFromEnd?R.frozenColumnCountFromEnd:0;this._classNames=py(m,{theme:g,isAllSelected:k,isSelectAllHidden:s===cy.hidden,isResizingColumn:!!w&&I,isSizing:I,isAllCollapsed:D,isCheckboxHidden:T,className:S});var B=this._classNames,A=y?ki:Ei,F=b>0,L=F&&this.props.collapseAllVisibility===Mb.visible,H=this._computeColumnIndexOffset(E),O=pr(g);return C.createElement(Vs,{role:"row","aria-label":r,className:B.root,componentRef:this._rootComponent,elementRef:this._rootElement,onMouseMove:this._onRootMouseMove,"data-automationid":"DetailsHeader",direction:fa.horizontal},E?[C.createElement("div",{key:"__checkbox",className:B.cellIsCheck,"aria-labelledby":"".concat(this._id,"-checkTooltip"),onClick:T?void 0:this._onSelectAllClicked,role:"columnheader"},h({hostClassName:B.checkTooltip,id:"".concat(this._id,"-checkTooltip"),setAriaDescribedBy:!1,content:a,children:C.createElement(uy,{id:"".concat(this._id,"-check"),"aria-label":f===oy.multiple?a:l,"data-is-focusable":!T||void 0,isHeader:!0,selected:k,anySelected:!1,canSelect:!T,className:B.check,onRenderDetailsCheckbox:v,useFastIcons:y,isVisible:P})},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:a&&!T?C.createElement("label",{key:"__checkboxLabel",id:"".concat(this._id,"-checkTooltip"),className:B.accessibleLabel,"aria-hidden":!0},a):l&&T?C.createElement("label",{key:"__checkboxLabel",id:"".concat(this._id,"-checkTooltip"),className:B.accessibleLabel,"aria-hidden":!0},l):null]:null,L?C.createElement("div",{className:B.cellIsGroupExpander,onClick:this._onToggleCollapseAll,"data-is-focusable":!0,"aria-label":i,"aria-expanded":!D,role:"columnheader"},C.createElement(A,{className:B.collapseButton,iconName:O?"ChevronLeftMed":"ChevronRightMed"}),C.createElement("span",{className:B.accessibleLabel},i)):F?C.createElement("div",{className:B.cellIsGroupExpander,"data-is-focusable":!1,role:"columnheader"}):null,C.createElement(zb,{indentWidth:c,role:"gridcell",count:b-1}),n.map((function(t,o){var r=!!R&&o>=M&&o=0},t.prototype._isCheckboxColumnHidden=function(){var e=this.props,t=e.selectionMode,o=e.checkboxVisibility;return t===oy.none||o===Rb.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.current){var t=this._rootElement.current.getBoundingClientRect();if(e.clientX>t.left&&e.clientXt.top&&e.clientY=n:t>=o&&t<=n}function gy(e,t,o){return e?t>=o:t<=o}function vy(e,t,o){return e?t<=o:t>=o}function by(e){e.stopPropagation()}var yy=lr(my,Gb,void 0,{scope:"DetailsHeader"}),Cy=function(e){var t=e.columns,o=e.rowClassNames,n=e.cellStyleProps,r=void 0===n?Fb:n,i=e.item,a=e.itemIndex,s=e.isSelected,l=e.onRenderItemColumn,c=e.getCellValueKey,u=e.onRenderField,d=e.cellsByColumn,p=e.enableUpdateAnimations,h=e.rowHeaderId,m=C.useRef(),f=m.current||(m.current={}),g=C.useCallback((function(e){var t=e.column,n=e.cellValueKey,i=e.className,a=e.onRender,s=e.item,l=e.itemIndex,c=void 0===t.calculatedWidth?"auto":t.calculatedWidth+r.cellLeftPadding+r.cellRightPadding+(t.isPadded?r.cellExtraRightPadding:0),u="".concat(t.key).concat(void 0!==n?"-".concat(n):"");return C.createElement("div",{key:u,id:t.isRowHeader?h:void 0,role:t.isRowHeader?"rowheader":"gridcell",className:gi(t.className,t.isMultiline&&o.isMultiline,t.isRowHeader&&o.isRowHeader,o.cell,t.isPadded?o.cellPadded:o.cellUnpadded,i),style:{width:c},"data-automationid":"DetailsRowCell","data-automation-key":t.key},a(s,l,t))}),[o,r,h]);return C.createElement("div",{className:o.fields,"data-automationid":"DetailsRowFields",role:"presentation"},t.map((function(e){var t=e.getValueKey,n=void 0===t?c:t,r=d&&e.key in d&&function(){return d[e.key]}||e.onRender||l||_y,h=g;e.onRenderField&&(h=El(e.onRenderField,h)),u&&(h=El(u,h));var m=f[e.key],v=p&&n?n(i,a,e):void 0,b=!1;return void 0!==v&&void 0!==m&&v!==m&&(b=!0),f[e.key]=v,h({item:i,itemIndex:a,isSelected:s,column:e,cellValueKey:v,className:b?o.cellAnimation:void 0,onRender:r})})))};function _y(e,t,o){return e&&o?function(e,t){var o=e&&t&&t.fieldName?e[t.fieldName]:"";return null==o&&(o=""),"boolean"==typeof o?o.toString():o}(e,o):null}var Sy=Cr(),xy=[],ky=function(e){function t(t){var o=e.call(this,t)||this;return o._root=C.createRef(),o._cellMeasurer=C.createRef(),o._focusZone=C.createRef(),o._onSelectionChanged=function(){var e=wy(o.props);cl(e,o.state.selectionState)||o.setState({selectionState:e})},o._updateDroppingState=function(e,t){var n=o.state.isDropping,r=o.props,i=r.dragDropEvents,a=r.item;e?i.onDragEnter&&(o._droppingClassNames=i.onDragEnter(a,t)):i.onDragLeave&&i.onDragLeave(a,t),n!==e&&o.setState({isDropping:e})},oa(o),o._events=new fl(o),o.state={selectionState:wy(t),columnMeasureInfo:void 0,isDropping:!1},o._droppingClassNames="",o}return m(t,e),t.getDerivedStateFromProps=function(e,t){return f(f({},t),{selectionState:wy(e)})},t.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,o=e.selection,n=e.item,r=e.onDidMount;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getRowDragDropOptions())),o&&this._events.on(o,ry,this._onSelectionChanged),r&&n&&(this._onDidMountCalled=!0,r(this))},t.prototype.componentDidUpdate=function(e){var t=this.state,o=this.props,n=o.item,r=o.onDidMount,i=t.columnMeasureInfo;if(this.props.itemIndex===e.itemIndex&&this.props.item===e.item&&this.props.dragDropHelper===e.dragDropHelper||(this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this.props.dragDropHelper&&this._root.current&&(this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getRowDragDropOptions()))),i&&i.index>=0&&this._cellMeasurer.current){var a=this._cellMeasurer.current.getBoundingClientRect().width;i.onMeasureDone(a),this.setState({columnMeasureInfo:void 0})}n&&r&&!this._onDidMountCalled&&(this._onDidMountCalled=!0,r(this))},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.item,o=e.onWillUnmount;o&&t&&o(this),this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._events.dispose()},t.prototype.shouldComponentUpdate=function(e,t){if(this.props.useReducedRowRenderer){var o=wy(e);return this.state.selectionState.isSelected!==o.isSelected||!cl(this.props,e)}return!0},t.prototype.render=function(){var e,t=this.props,o=t.className,n=t.columns,r=void 0===n?xy:n,i=t.dragDropEvents,a=t.item,s=t.itemIndex,l=t.id,c=t.flatIndexOffset,u=void 0===c?2:c,d=t.onRenderCheck,p=void 0===d?this._onRenderCheck:d,h=t.onRenderDetailsCheckbox,m=t.onRenderItemColumn,g=t.onRenderField,v=t.getCellValueKey,b=t.selectionMode,y=t.checkboxVisibility,_=t.getRowAriaLabel,S=t.getRowAriaDescription,x=t.getRowAriaDescribedBy,k=t.isGridRow,w=t.checkButtonAriaLabel,I=t.checkboxCellClassName,D=t.rowFieldsAs,E=t.selection,T=t.indentWidth,P=t.enableUpdateAnimations,R=t.compact,M=t.theme,N=t.styles,B=t.cellsByColumn,A=t.groupNestingDepth,F=t.useFastIcons,L=void 0===F||F,H=t.cellStyleProps,O=t.group,z=t.focusZoneProps,W=t.disabled,V=void 0!==W&&W,K=this.state,G=K.columnMeasureInfo,U=K.isDropping,j=this.state.selectionState,q=j.isSelected,Y=void 0!==q&&q,Z=j.isSelectionModal,X=void 0!==Z&&Z,Q=i?!(!i.canDrag||!i.canDrag(a)):void 0,J=U?this._droppingClassNames||"is-dropping":"",$=_?_(a):void 0,ee=S?S(a):void 0,te=x?x(a):void 0,oe=!!E&&E.canSelectItem(a,s)&&!V,ne=b===oy.multiple,re=b!==oy.none&&y!==Rb.hidden,ie=b===oy.none?void 0:Y,ae=O?s-O.startIndex+1:void 0,se=O?O.count:void 0,le=z?z.direction:fa.horizontal;this._classNames=f(f({},this._classNames),Sy(N,{theme:M,isSelected:Y,canSelect:!ne,anySelected:X,checkboxCellClassName:I,droppingClassName:J,className:o,compact:R,enableUpdateAnimations:P,cellStyleProps:H,disabled:V}));var ce={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};cl(this._rowClassNames||{},ce)||(this._rowClassNames=ce);var ue=D?Bl(D,Cy):Cy,de=C.createElement(ue,{rowClassNames:this._rowClassNames,rowHeaderId:"".concat(l,"-header"),cellsByColumn:B,columns:r,item:a,itemIndex:s,isSelected:Y,columnStartIndex:(re?1:0)+(A?1:0),onRenderItemColumn:m,onRenderField:g,getCellValueKey:v,enableUpdateAnimations:P,cellStyleProps:H}),pe=this.props.role?this.props.role:"row";this._ariaRowDescriptionId=us("DetailsRow-description");var he=r.some((function(e){return!!e.isRowHeader})),me="".concat(l,"-checkbox")+(he?" ".concat(l,"-header"):""),fe=k?{}:{"aria-level":A&&A+1||void 0,"aria-posinset":ae,"aria-setsize":se};return C.createElement(Vs,f({"data-is-focusable":!0},Xr(this.props,Zr),"boolean"==typeof Q?{"data-is-draggable":Q,draggable:Q}:{},z,fe,{direction:le,elementRef:this._root,componentRef:this._focusZone,role:pe,"aria-label":$,"aria-disabled":V||void 0,"aria-describedby":ee?this._ariaRowDescriptionId:te,className:this._classNames.root,"data-selection-index":s,"data-selection-touch-invoke":!0,"data-selection-disabled":null!==(e=this.props["data-selection-disabled"])&&void 0!==e?e:V||void 0,"data-item-index":s,"aria-rowindex":void 0===ae?s+u:void 0,"data-automationid":"DetailsRow","aria-selected":ie,allowFocusRoot:!0}),ee?C.createElement("span",{key:"description",role:"presentation",hidden:!0,id:this._ariaRowDescriptionId},ee):null,re&&C.createElement("div",{role:"gridcell","data-selection-toggle":!0,className:this._classNames.checkCell},p({id:l?"".concat(l,"-checkbox"):void 0,selected:Y,selectionMode:b,anySelected:X,"aria-label":w,"aria-labelledby":l?me:void 0,canSelect:oe,compact:R,className:this._classNames.check,theme:M,isVisible:y===Rb.always,onRenderDetailsCheckbox:h,useFastIcons:L})),C.createElement(zb,{indentWidth:T,role:"gridcell",count:0===A?-1:A}),a&&de,G&&C.createElement("span",{role:"presentation",className:gi(this._classNames.cellMeasurer,this._classNames.cell),ref:this._cellMeasurer},C.createElement(ue,{rowClassNames:this._rowClassNames,rowHeaderId:"".concat(l,"-header"),columns:[G.column],item:a,itemIndex:s,columnStartIndex:(re?1:0)+(A?1:0)+r.length,onRenderItemColumn:m,getCellValueKey:v})))},t.prototype.measureCell=function(e,t){var o=this.props.columns,n=f({},(void 0===o?xy:o)[e]);n.minWidth=0,n.maxWidth=999999,delete n.calculatedWidth,this.setState({columnMeasureInfo:{index:e,column:n,onMeasureDone:t}})},t.prototype.focus=function(e){var t;return void 0===e&&(e=!1),!!(null===(t=this._focusZone.current)||void 0===t?void 0:t.focus(e))},t.prototype._onRenderCheck=function(e){return C.createElement(uy,f({},e))},t.prototype._getRowDragDropOptions=function(){var e=this.props,t=e.item,o=e.itemIndex,n=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:o,context:{data:t,index:o},canDrag:n.canDrag,canDrop:n.canDrop,onDragStart:n.onDragStart,updateDropState:this._updateDroppingState,onDrop:n.onDrop,onDragEnd:n.onDragEnd,onDragOver:n.onDragOver}},t}(C.Component);function wy(e){var t,o=e.itemIndex,n=e.selection;return{isSelected:!!(null==n?void 0:n.isIndexSelected(o)),isSelectionModal:!!(null===(t=null==n?void 0:n.isModal)||void 0===t?void 0:t.call(n))}}var Iy=lr(ky,Ob,void 0,{scope:"DetailsRow"}),Dy="data-selection-index",Ey="data-selection-toggle",Ty="data-selection-invoke",Py="data-selection-all-toggle",Ry=function(e){function t(t){var o=e.call(this,t)||this;o._root=C.createRef(),o.ignoreNextFocus=function(){o._handleNextFocus(!1)},o._onSelectionChange=function(){var e=o.props.selection,t=e.isModal&&e.isModal();o.setState({isModal:t})},o._onMouseDownCapture=function(e){var t=e.target,n=gt(o._root.current),r=null==n?void 0:n.document;if((null==r?void 0:r.activeElement)===t||Fa(null==r?void 0:r.activeElement,t)){if(Fa(t,o._root.current))for(;t!==o._root.current;){if(o._hasAttribute(t,Ty)){o.ignoreNextFocus();break}t=Na(t)}}else o.ignoreNextFocus()},o._onFocus=function(e){var t=e.target,n=o.props.selection,r=o._isCtrlPressed||o._isMetaPressed,i=o._getSelectionMode();if(o._shouldHandleFocus&&i!==oy.none){var a=o._hasAttribute(t,Ey),s=o._findItemRoot(t);if(!a&&s){var l=o._getItemIndex(s);void 0===o._getItemSpan(s)&&(r?(n.setIndexSelected(l,n.isIndexSelected(l),!0),o.props.enterModalOnTouch&&o._isTouch&&n.setModal&&(n.setModal(!0),o._setIsTouch(!1))):o.props.isSelectedOnFocus&&o._onItemSurfaceClick("focus",l))}}o._handleNextFocus(!1)},o._onMouseDown=function(e){o._updateModifiers(e);var t=o.props.toggleWithoutModifierPressed,n=e.target,r=o._findItemRoot(n);if(!o._isSelectionDisabled(n))for(;n!==o._root.current&&!o._hasAttribute(n,Py);){if(r){if(o._hasAttribute(n,Ey))break;if(o._hasAttribute(n,Ty))break;if(!(n!==r&&!o._shouldAutoSelect(n)||o._isShiftPressed||o._isCtrlPressed||o._isMetaPressed||t)){o._onInvokeMouseDown(e,o._getItemIndex(r),o._getItemSpan(r));break}if(o.props.disableAutoSelectOnInputElements&&("A"===n.tagName||"BUTTON"===n.tagName||"INPUT"===n.tagName))return}n=Na(n)}},o._onTouchStartCapture=function(e){o._setIsTouch(!0)},o._onClick=function(e){var t=o.props.enableTouchInvocationTarget,n=void 0!==t&&t;o._updateModifiers(e);for(var r=e.target,i=o._findItemRoot(r),a=o._isSelectionDisabled(r);r!==o._root.current;){if(o._hasAttribute(r,Py)){a||o._onToggleAllClick(e);break}if(i){var s=o._getItemIndex(i),l=o._getItemSpan(i);if(o._hasAttribute(r,Ey)){a||(o._isShiftPressed?o._onItemSurfaceClick("click",s,l):o._onToggleClick(e,s,l));break}if(o._isTouch&&n&&o._hasAttribute(r,"data-selection-touch-invoke")||o._hasAttribute(r,Ty)){void 0===l&&o._onInvokeClick(e,s);break}if(r===i){a||o._onItemSurfaceClick("click",s,l);break}if("A"===r.tagName||"BUTTON"===r.tagName||"INPUT"===r.tagName)return}r=Na(r)}},o._onContextMenu=function(e){var t=e.target,n=o.props,r=n.onItemContextMenu,i=n.selection;if(r){var a=o._findItemRoot(t);if(a){var s=o._getItemIndex(a);o._onInvokeMouseDown(e,s),r(i.getItems()[s],s,e.nativeEvent)||e.preventDefault()}}},o._onDoubleClick=function(e){var t=e.target,n=o.props.onItemInvoked,r=o._findItemRoot(t);if(r&&n&&!o._isInputElement(t)){for(var i=o._getItemIndex(r);t!==o._root.current&&!o._hasAttribute(t,Ey)&&!o._hasAttribute(t,Ty);){if(t===r){o._onInvokeClick(e,i);break}t=Na(t)}t=Na(t)}},o._onKeyDownCapture=function(e){o._updateModifiers(e),o._handleNextFocus(!0)},o._onKeyDown=function(e){o._updateModifiers(e);var t=e.target,n=o._isSelectionDisabled(t),r=o.props,i=r.selection,a=r.selectionClearedOnEscapePress,s=e.which===ur.a&&(o._isCtrlPressed||o._isMetaPressed),l=e.which===ur.escape;if(!o._isInputElement(t)){var c=o._getSelectionMode();if(s&&c===oy.multiple&&!i.isAllSelected())return n||i.setAllSelected(!0),e.stopPropagation(),void e.preventDefault();if(a&&l&&i.getSelectedCount()>0)return n||i.setAllSelected(!1),e.stopPropagation(),void e.preventDefault();var u=o._findItemRoot(t);if(u)for(var d=o._getItemIndex(u),p=o._getItemSpan(u);t!==o._root.current&&!o._hasAttribute(t,Ey);){if(o._shouldAutoSelect(t)){n||void 0!==p||o._onInvokeMouseDown(e,d,p);break}if(!(e.which!==ur.enter&&e.which!==ur.space||"BUTTON"!==t.tagName&&"A"!==t.tagName&&"INPUT"!==t.tagName&&"SUMMARY"!==t.tagName))return!1;if(t===u){if(e.which===ur.enter)return void(void 0===p&&(o._onInvokeClick(e,d),e.preventDefault()));if(e.which===ur.space)return n||o._onToggleClick(e,d,p),void e.preventDefault();break}t=Na(t)}}},o._events=new fl(o),o._async=new sa(o),oa(o);var n=o.props.selection,r=n.isModal&&n.isModal();return o.state={isModal:r},o}return m(t,e),t.getDerivedStateFromProps=function(e,t){var o=e.selection.isModal&&e.selection.isModal();return f(f({},t),{isModal:o})},t.prototype.componentDidMount=function(){var e=gt(this._root.current),t=null==e?void 0:e.document;this._events.on(e,"keydown, keyup",this._updateModifiers,!0),this._events.on(t,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(null==t?void 0:t.body,"touchstart",this._onTouchStartCapture,!0),this._events.on(null==t?void 0:t.body,"touchend",this._onTouchStartCapture,!0),this._events.on(this.props.selection,"change",this._onSelectionChange)},t.prototype.render=function(){var e=this.state.isModal;return C.createElement("div",{className:gi("ms-SelectionZone",this.props.className,{"ms-SelectionZone--modal":!!e}),ref:this._root,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onKeyDownCapture:this._onKeyDownCapture,onClick:this._onClick,role:"presentation",onDoubleClick:this._onDoubleClick,onContextMenu:this._onContextMenu,onMouseDownCapture:this._onMouseDownCapture,onFocusCapture:this._onFocus,"data-selection-is-modal":!!e||void 0},this.props.children,C.createElement($s,null))},t.prototype.componentDidUpdate=function(e){var t=this.props.selection;t!==e.selection&&(this._events.off(e.selection),this._events.on(t,"change",this._onSelectionChange))},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},t.prototype._isSelectionDisabled=function(e){if(this._getSelectionMode()===oy.none)return!0;for(;e!==this._root.current;){if(this._hasAttribute(e,"data-selection-disabled"))return!0;e=Na(e)}return!1},t.prototype._onToggleAllClick=function(e){var t=this.props.selection;this._getSelectionMode()===oy.multiple&&(t.toggleAllSelected(),e.stopPropagation(),e.preventDefault())},t.prototype._onToggleClick=function(e,t,o){var n=this.props.selection,r=this._getSelectionMode();if(n.setChangeEvents(!1),this.props.enterModalOnTouch&&this._isTouch&&(void 0!==o?!n.isRangeSelected(t,o):!n.isIndexSelected(t))&&n.setModal&&(n.setModal(!0),this._setIsTouch(!1)),r===oy.multiple)void 0!==o?n.toggleRangeSelected(t,o):n.toggleIndexSelected(t);else{if(r!==oy.single)return void n.setChangeEvents(!0);if(void 0===o||1===o){var i=n.isIndexSelected(t),a=n.isModal&&n.isModal();n.setAllSelected(!1),n.setIndexSelected(t,!i,!0),a&&n.setModal&&n.setModal(!0)}}n.setChangeEvents(!0),e.stopPropagation()},t.prototype._onInvokeClick=function(e,t){var o=this.props,n=o.selection,r=o.onItemInvoked;r&&(r(n.getItems()[t],t,e.nativeEvent),e.preventDefault(),e.stopPropagation())},t.prototype._onItemSurfaceClick=function(e,t,o){var n,r=this.props,i=r.selection,a=r.toggleWithoutModifierPressed,s=this._isCtrlPressed||this._isMetaPressed,l=this._getSelectionMode();l===oy.multiple?this._isShiftPressed&&!this._isTabPressed?void 0!==o?null===(n=i.selectToRange)||void 0===n||n.call(i,t,o,!s):i.selectToIndex(t,!s):"click"===e&&(s||a)?void 0!==o?i.toggleRangeSelected(t,o):i.toggleIndexSelected(t):this._clearAndSelectIndex(t,o):l===oy.single&&this._clearAndSelectIndex(t,o)},t.prototype._onInvokeMouseDown=function(e,t,o){var n=this.props.selection;if(void 0!==o){if(n.isRangeSelected(t,o))return}else if(n.isIndexSelected(t))return;this._clearAndSelectIndex(t,o)},t.prototype._findScrollParentAndTryClearOnEmptyClick=function(e){var t=gt(this._root.current),o=null==t?void 0:t.document,n=_s(this._root.current);this._events.off(o,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(n,"click",this._tryClearOnEmptyClick),(n&&e.target instanceof Node&&n.contains(e.target)||n===e.target)&&this._tryClearOnEmptyClick(e)},t.prototype._tryClearOnEmptyClick=function(e){!this.props.selectionPreservedOnEmptyClick&&this._isNonHandledClick(e.target)&&this.props.selection.setAllSelected(!1)},t.prototype._clearAndSelectIndex=function(e,t){var o,n=this.props,r=n.selection,i=n.selectionClearedOnSurfaceClick,a=void 0===i||i;if((void 0!==t&&1!==t||1!==r.getSelectedCount()||!r.isIndexSelected(e))&&a){var s=r.isModal&&r.isModal();r.setChangeEvents(!1),r.setAllSelected(!1),void 0!==t?null===(o=r.setRangeSelected)||void 0===o||o.call(r,e,t,!0,!0):r.setIndexSelected(e,!0,!0),(s||this.props.enterModalOnTouch&&this._isTouch)&&(r.setModal&&r.setModal(!0),this._isTouch&&this._setIsTouch(!1)),r.setChangeEvents(!0)}},t.prototype._updateModifiers=function(e){this._isShiftPressed=e.shiftKey,this._isCtrlPressed=e.ctrlKey,this._isMetaPressed=e.metaKey;var t=e.keyCode;this._isTabPressed=!!t&&t===ur.tab},t.prototype._findItemRoot=function(e){for(var t=this.props.selection;e!==this._root.current;){var o=e.getAttribute(Dy),n=Number(o);if(null!==o&&n>=0&&n0&&this._isAllSelected&&0===this._exemptedCount||!this._isAllSelected&&this._exemptedCount===e&&e>0},e.prototype.isKeySelected=function(e){var t=this._keyToIndexMap[e];return this.isIndexSelected(t)},e.prototype.isIndexSelected=function(e){return!!(this.count>0&&this._isAllSelected&&!this._exemptedIndices[e]&&!this._unselectableIndices[e]||!this._isAllSelected&&this._exemptedIndices[e])},e.prototype.setAllSelected=function(e){if(!e||this.mode===oy.multiple){var t=this._items?this._items.length-this._unselectableCount:0;this.setChangeEvents(!1),t>0&&(this._exemptedCount>0||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount()),this.setChangeEvents(!0)}},e.prototype.setKeySelected=function(e,t,o){var n=this._keyToIndexMap[e];n>=0&&this.setIndexSelected(n,t,o)},e.prototype.setIndexSelected=function(e,t,o){if(this.mode!==oy.none&&!((e=Math.min(Math.max(0,e),this._items.length-1))<0||e>=this._items.length)){this.setChangeEvents(!1);var n=this._exemptedIndices[e];!this._unselectableIndices[e]&&(t&&this.mode===oy.single&&this._setAllSelected(!1,!0),n&&(t&&this._isAllSelected||!t&&!this._isAllSelected)&&(delete this._exemptedIndices[e],this._exemptedCount--),!n&&(t&&!this._isAllSelected||!t&&this._isAllSelected)&&(this._exemptedIndices[e]=!0,this._exemptedCount++),o&&(this._anchoredIndex=e)),this._updateCount(),this.setChangeEvents(!0)}},e.prototype.setRangeSelected=function(e,t,o,n){if(this.mode!==oy.none&&(e=Math.min(Math.max(0,e),this._items.length-1),t=Math.min(Math.max(0,t),this._items.length-e),!(e<0||e>=this._items.length||0===t))){this.setChangeEvents(!1);for(var r=e,i=e+t-1,a=(this._anchoredIndex||0)>=i?r:i;r<=i;r++)this.setIndexSelected(r,o,!!n&&r===a);this.setChangeEvents(!0)}},e.prototype.selectToKey=function(e,t){this.selectToIndex(this._keyToIndexMap[e],t)},e.prototype.selectToRange=function(e,t,o){if(this.mode!==oy.none)if(this.mode!==oy.single){var n=this._anchoredIndex||0,r=Math.min(e,n),i=Math.max(e+t-1,n);for(this.setChangeEvents(!1),o&&this._setAllSelected(!1,!0);r<=i;r++)this.setIndexSelected(r,!0,!1);this.setChangeEvents(!0)}else 1===t&&this.setIndexSelected(e,!0,!0)},e.prototype.selectToIndex=function(e,t){if(this.mode!==oy.none)if(this.mode!==oy.single){var o=this._anchoredIndex||0,n=Math.min(e,o),r=Math.max(e,o);for(this.setChangeEvents(!1),t&&this._setAllSelected(!1,!0);n<=r;n++)this.setIndexSelected(n,!0,!1);this.setChangeEvents(!0)}else this.setIndexSelected(e,!0,!0)},e.prototype.toggleAllSelected=function(){this.setAllSelected(!this.isAllSelected())},e.prototype.toggleKeySelected=function(e){this.setKeySelected(e,!this.isKeySelected(e),!0)},e.prototype.toggleIndexSelected=function(e){this.setIndexSelected(e,!this.isIndexSelected(e),!0)},e.prototype.toggleRangeSelected=function(e,t){if(this.mode!==oy.none){var o=this.isRangeSelected(e,t),n=e+t;if(!(this.mode===oy.single&&t>1)){this.setChangeEvents(!1);for(var r=e;r0&&(this._exemptedCount>0||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount(t)),this.setChangeEvents(!0)}},e.prototype._change=function(){0===this._changeEventSuppressionCount?(this._selectedItems=null,this._selectedIndices=void 0,fl.raise(this,ry),this._onSelectionChanged&&this._onSelectionChanged()):this._hasChanged=!0},e}();function Ny(e,t){var o=(e||{}).key;return void 0===o?"".concat(t):o}var By,Ay,Fy={root:"ms-GroupedList",compact:"ms-GroupedList--Compact",group:"ms-GroupedList-group",link:"ms-Link",listCell:"ms-List-cell"},Ly=function(e){var t,o,n=e.theme,r=e.className,i=e.compact,a=n.palette,s=Ao(Fy,n);return{root:[s.root,n.fonts.small,{position:"relative",selectors:(t={},t[".".concat(s.listCell)]={minHeight:38},t)},i&&[s.compact,{selectors:(o={},o[".".concat(s.listCell)]={minHeight:32},o)}],r],group:[s.group,{transition:"background-color ".concat(qe.durationValue2," ").concat("cubic-bezier(0.445, 0.050, 0.550, 0.950)")}],groupIsDropping:{backgroundColor:a.neutralLight}}},Hy={root:"ms-GroupHeader",compact:"ms-GroupHeader--compact",check:"ms-GroupHeader-check",dropIcon:"ms-GroupHeader-dropIcon",expand:"ms-GroupHeader-expand",isCollapsed:"is-collapsed",title:"ms-GroupHeader-title",isSelected:"is-selected",iconTag:"ms-Icon--Tag",group:"ms-GroupedList-group",isDropping:"is-dropping"},Oy="cubic-bezier(0.390, 0.575, 0.565, 1.000)";!function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(By||(By={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(Ay||(Ay={}));var zy=Cr(),Wy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.type,o=e.size,n=e.ariaLabel,r=e.ariaLive,i=e.styles,a=e.label,s=e.theme,l=e.className,c=e.labelPosition,u=n,d=Xr(this.props,Zr,["size"]),p=o;void 0===p&&void 0!==t&&(p=t===Ay.large?By.large:By.medium);var h=zy(i,{theme:s,size:p,className:l,labelPosition:c});return C.createElement("div",f({},d,{className:h.root}),C.createElement("div",{className:h.circle}),a&&C.createElement("div",{className:h.label},a),u&&C.createElement("div",{role:"status","aria-live":r},C.createElement(ga,null,C.createElement("div",{className:h.screenReaderText},u))))},t.defaultProps={size:By.medium,ariaLive:"polite",labelPosition:"bottom"},t}(C.Component),Vy={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},Ky=Ro((function(){return le({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})})),Gy=lr(Wy,(function(e){var t,o=e.theme,n=e.size,r=e.className,i=e.labelPosition,a=o.palette,s=Ao(Vy,o);return{root:[s.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===i&&{flexDirection:"column-reverse"},"right"===i&&{flexDirection:"row"},"left"===i&&{flexDirection:"row-reverse"},r],circle:[s.circle,{boxSizing:"border-box",borderRadius:"50%",borderWidth:"1.5px",borderStyle:"solid",borderTopColor:a.themePrimary,borderRightColor:a.themeLight,borderBottomColor:a.themeLight,borderLeftColor:a.themeLight,animationName:Ky(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[Fo]=f({borderTopColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},n===By.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],n===By.small&&["ms-Spinner--small",{width:16,height:16}],n===By.medium&&["ms-Spinner--medium",{width:20,height:20}],n===By.large&&["ms-Spinner--large",{width:28,height:28}]],label:[s.label,o.fonts.small,{color:a.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===i&&{margin:"0 0 8px"},"right"===i&&{margin:"0 0 0 8px"},"left"===i&&{margin:"0 8px 0 0"}],screenReaderText:vo}}),void 0,{scope:"Spinner"}),Uy=Cr(),jy=function(e){function t(t){var o=e.call(this,t)||this;return o._toggleCollapse=function(){var e=o.props,t=e.group,n=e.onToggleCollapse,r=e.isGroupLoading,i=!o.state.isCollapsed,a=!i&&r&&r(t);o.setState({isCollapsed:i,isLoadingVisible:a}),n&&n(t)},o._onKeyUp=function(e){var t=o.props,n=t.group,r=t.onGroupHeaderKeyUp;if(r&&r(e,n),!e.defaultPrevented){var i=o.state.isCollapsed&&e.which===mr(ur.right,o.props.theme);(!o.state.isCollapsed&&e.which===mr(ur.left,o.props.theme)||i)&&(o._toggleCollapse(),e.stopPropagation(),e.preventDefault())}},o._onToggleClick=function(e){o._toggleCollapse(),e.stopPropagation(),e.preventDefault()},o._onHeaderClick=function(){var e=o.props,t=e.group,n=e.onGroupHeaderClick;n&&n(t)},o._onRenderTitle=function(e){if(!e.group)return null;var t=e.onRenderName?El(e.onRenderName,o._onRenderName):o._onRenderName;return C.createElement("div",{className:o._classNames.title,id:o._id,onClick:o._onHeaderClick,role:"gridcell","aria-colspan":o.props.ariaColSpan,"data-selection-invoke":!0},t(e))},o._onRenderName=function(e){var t=e.group;return t?C.createElement(C.Fragment,null,C.createElement("span",null,t.name),C.createElement("span",{className:o._classNames.headerCount},"(",t.count,t.hasMoreData&&"+",")")):null},o._id=us("GroupHeader"),o.state={isCollapsed:o.props.group&&o.props.group.isCollapsed,isLoadingVisible:!1},o}return m(t,e),t.getDerivedStateFromProps=function(e,t){if(e.group){var o=e.group.isCollapsed,n=e.isGroupLoading,r=!o&&n&&n(e.group);return f(f({},t),{isCollapsed:o||!1,isLoadingVisible:r||!1})}return t},t.prototype.render=function(){var e=this.props,t=e.group,o=e.groupLevel,n=void 0===o?0:o,r=e.viewport,i=e.selectionMode,a=e.loadingText,s=e.isSelected,l=void 0!==s&&s,c=e.selected,u=void 0!==c&&c,d=e.indentWidth,p=e.onRenderGroupHeaderCheckbox,h=e.isCollapsedGroupSelectVisible,m=void 0===h||h,g=e.expandButtonProps,v=e.expandButtonIcon,b=e.selectAllButtonProps,y=e.theme,_=e.styles,S=e.className,x=e.compact,k=e.ariaLevel,w=e.ariaPosInSet,I=e.ariaSetSize,D=e.ariaRowIndex,E=e.useFastIcons,T=this.props.onRenderTitle?El(this.props.onRenderTitle,this._onRenderTitle):this._onRenderTitle,P=E?this._fastDefaultCheckboxRender:this._defaultCheckboxRender,R=p?El(p,P):P,M=this.state,N=M.isCollapsed,B=M.isLoadingVisible,A=i===oy.multiple,F=A&&(m||!(t&&t.isCollapsed)),L=u||l,H=pr(y);return this._classNames=Uy(_,{theme:y,className:S,selected:L,isCollapsed:N,compact:x}),t?C.createElement("div",{className:this._classNames.root,style:r?{minWidth:r.width}:{},role:"row","aria-level":k,"aria-setsize":I,"aria-posinset":w,"aria-rowindex":D,"data-is-focusable":!0,onKeyUp:this._onKeyUp,"aria-label":t.ariaLabel,"aria-labelledby":t.ariaLabel?void 0:this._id,"aria-expanded":!this.state.isCollapsed,"aria-selected":A?L:void 0,"data-selection-index":t.startIndex,"data-selection-span":t.count},C.createElement("div",{className:this._classNames.groupHeaderContainer,role:"presentation"},F?C.createElement("div",{role:"gridcell"},C.createElement("button",f({"data-is-focusable":!1,type:"button",className:this._classNames.check,role:"checkbox",id:"".concat(this._id,"-check"),"aria-checked":L,"aria-labelledby":"".concat(this._id,"-check ").concat(this._id),"data-selection-toggle":!0},b),R({checked:L,theme:y},R))):i!==oy.none&&C.createElement(zb,{indentWidth:jb,count:1}),C.createElement(zb,{indentWidth:d,count:n}),C.createElement("div",{className:this._classNames.dropIcon,role:"presentation"},C.createElement(Ei,{iconName:"Tag"})),C.createElement("div",{role:"gridcell"},C.createElement("button",f({"data-is-focusable":!1,"data-selection-disabled":!0,type:"button",className:this._classNames.expand,onClick:this._onToggleClick,"aria-expanded":!this.state.isCollapsed},g),C.createElement(Ei,{className:this._classNames.expandIsCollapsed,iconName:v||(H?"ChevronLeftMed":"ChevronRightMed")}))),T(this.props),B&&C.createElement(Gy,{label:a}))):null},t.prototype._defaultCheckboxRender=function(e){return C.createElement(of,{checked:e.checked})},t.prototype._fastDefaultCheckboxRender=function(e){return C.createElement(qy,{theme:e.theme,checked:e.checked})},t.defaultProps={expandButtonProps:{"aria-label":"expand collapse group"}},t}(C.Component),qy=C.memo((function(e){return C.createElement(of,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})})),Yy=lr(jy,(function(e){var t,o,n,r,i,a=e.theme,s=e.className,l=e.selected,c=e.isCollapsed,u=e.compact,d=Fb.cellLeftPadding,p=u?40:48,h=a.semanticColors,m=a.palette,f=a.fonts,g=Ao(Hy,a),v=[sn(a),{cursor:"default",background:"none",backgroundColor:"transparent",border:"none",padding:0}];return{root:[g.root,sn(a),a.fonts.medium,{borderBottom:"1px solid ".concat(h.listBackground),cursor:"default",userSelect:"none",selectors:(t={":hover":{background:h.listItemBackgroundHovered,color:h.actionLinkHovered}},t["&:hover .".concat(g.check)]={opacity:1},t[".".concat(on," &:focus .").concat(g.check,", :host(.").concat(on,") &:focus .").concat(g.check)]={opacity:1},t[":global(.".concat(g.group,".").concat(g.isDropping,")")]={selectors:(o={},o["& > .".concat(g.root," .").concat(g.dropIcon)]={transition:"transform ".concat(qe.durationValue4," ").concat("cubic-bezier(0.075, 0.820, 0.165, 1.000)"," ")+"opacity ".concat(qe.durationValue1," ").concat(Oy),transitionDelay:qe.durationValue3,opacity:1,transform:"rotate(0.2deg) scale(1);"},o[".".concat(g.check)]={opacity:0},o)},t)},l&&[g.isSelected,{background:h.listItemBackgroundChecked,selectors:(n={":hover":{background:h.listItemBackgroundCheckedHovered}},n["".concat(g.check)]={opacity:1},n)}],u&&[g.compact,{border:"none"}],s],groupHeaderContainer:[{display:"flex",alignItems:"center",height:p}],headerCount:[{padding:"0px 4px"}],check:[g.check,v,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:1,marginTop:-1,opacity:0,width:jb,height:p,selectors:(r={},r[".".concat(on," &:focus, :host(.").concat(on,") &:focus")]={opacity:1},r)}],expand:[g.expand,v,{display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",fontSize:f.small.fontSize,width:36,height:p,color:l?m.neutralPrimary:m.neutralSecondary,selectors:{":hover":{backgroundColor:l?m.neutralQuaternary:m.neutralLight},":active":{backgroundColor:l?m.neutralTertiaryAlt:m.neutralQuaternaryAlt}}}],expandIsCollapsed:[c?[g.isCollapsed,{transform:"rotate(0deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}]:{transform:pr(a)?"rotate(-90deg)":"rotate(90deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}],title:[g.title,{paddingLeft:d,fontSize:u?f.medium.fontSize:f.mediumPlus.fontSize,fontWeight:c?nt.regular:nt.semibold,cursor:"pointer",outline:0,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"}],dropIcon:[g.dropIcon,{position:"absolute",left:-26,fontSize:rt.large,color:m.neutralSecondary,transition:"transform ".concat(qe.durationValue2," ").concat("cubic-bezier(0.600, -0.280, 0.735, 0.045)",", ")+"opacity ".concat(qe.durationValue4," ").concat(Oy),opacity:0,transform:"rotate(0.2deg) scale(0.65)",transformOrigin:"10px 10px",selectors:(i={},i[":global(.".concat(g.iconTag,")")]={position:"absolute"},i)}]}}),void 0,{scope:"GroupHeader"}),Zy={root:"ms-GroupShowAll",link:"ms-Link"},Xy=Cr(),Qy=lr((function(e){var t=e.group,o=e.groupLevel,n=e.showAllLinkText,r=void 0===n?"Show All":n,i=e.styles,a=e.theme,s=e.onToggleSummarize,l=Xy(i,{theme:a}),c=C.useCallback((function(e){s(t),e.stopPropagation(),e.preventDefault()}),[s,t]);return t?C.createElement("div",{className:l.root},C.createElement(zb,{count:o}),C.createElement(ll,{onClick:c},r)):null}),(function(e){var t,o=e.theme,n=o.fonts,r=Ao(Zy,o);return{root:[r.root,{position:"relative",padding:"10px 84px",cursor:"pointer",selectors:(t={},t[".".concat(r.link)]={fontSize:n.small.fontSize},t)}]}}),void 0,{scope:"GroupShowAll"}),Jy={root:"ms-groupFooter"},$y=Cr(),eC=lr((function(e){var t=e.group,o=e.groupLevel,n=e.footerText,r=e.indentWidth,i=e.styles,a=e.theme,s=$y(i,{theme:a});return t&&n?C.createElement("div",{className:s.root},C.createElement(zb,{indentWidth:r,count:o}),n):null}),(function(e){var t=e.theme,o=e.className,n=Ao(Jy,t);return{root:[t.fonts.medium,n.root,{position:"relative",padding:"5px 38px"},o]}}),void 0,{scope:"GroupFooter"}),tC=function(e){function t(o){var n=e.call(this,o)||this;n._root=C.createRef(),n._list=C.createRef(),n._subGroupRefs={},n._droppingClassName="",n._onRenderGroupHeader=function(e){return C.createElement(Yy,f({},e))},n._onRenderGroupShowAll=function(e){return C.createElement(Qy,f({},e))},n._onRenderGroupFooter=function(e){return C.createElement(eC,f({},e))},n._renderSubGroup=function(e,o){var r=n.props,i=r.dragDropEvents,a=r.dragDropHelper,s=r.eventsToRegister,l=r.getGroupItemLimit,c=r.groupNestingDepth,u=r.groupProps,d=r.items,p=r.headerProps,h=r.showAllProps,m=r.footerProps,f=r.listProps,g=r.onRenderCell,v=r.selection,b=r.selectionMode,y=r.viewport,_=r.onRenderGroupHeader,S=r.onRenderGroupShowAll,x=r.onRenderGroupFooter,k=r.onShouldVirtualize,w=r.group,I=r.compact,D=e.level?e.level+1:c;return!e||e.count>0||u&&u.showEmptyGroups?C.createElement(t,{ref:function(e){return n._subGroupRefs["subGroup_"+o]=e},key:n._getGroupKey(e,o),dragDropEvents:i,dragDropHelper:a,eventsToRegister:s,footerProps:m,getGroupItemLimit:l,group:e,groupIndex:o,groupNestingDepth:D,groupProps:u,headerProps:p,items:d,listProps:f,onRenderCell:g,selection:v,selectionMode:b,showAllProps:h,viewport:y,onRenderGroupHeader:_,onRenderGroupShowAll:S,onRenderGroupFooter:x,onShouldVirtualize:k,groups:w?w.children:[],compact:I}):null},n._getGroupDragDropOptions=function(){var e=n.props,t=e.group,o=e.groupIndex,r=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:-1,context:{data:t,index:o,isGroup:!0},updateDropState:n._updateDroppingState,canDrag:r.canDrag,canDrop:r.canDrop,onDrop:r.onDrop,onDragStart:r.onDragStart,onDragEnter:r.onDragEnter,onDragLeave:r.onDragLeave,onDragEnd:r.onDragEnd,onDragOver:r.onDragOver}},n._updateDroppingState=function(e,t){var o=n.state.isDropping,r=n.props,i=r.dragDropEvents,a=r.group;o!==e&&(o?i&&i.onDragLeave&&i.onDragLeave(a,t):i&&i.onDragEnter&&(n._droppingClassName=i.onDragEnter(a,t)),n.setState({isDropping:e}))};var r=o.selection,i=o.group;return oa(n),n._id=us("GroupedListSection"),n.state={isDropping:!1,isSelected:!(!r||!i)&&r.isRangeSelected(i.startIndex,i.count)},n._events=new fl(n),n}return m(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,o=e.selection;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())),o&&this._events.on(o,ry,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,o=e.group,n=e.groupIndex,r=e.headerProps,i=e.showAllProps,a=e.footerProps,s=e.viewport,l=e.selectionMode,c=e.onRenderGroupHeader,u=void 0===c?this._onRenderGroupHeader:c,d=e.onRenderGroupShowAll,p=void 0===d?this._onRenderGroupShowAll:d,h=e.onRenderGroupFooter,m=void 0===h?this._onRenderGroupFooter:h,g=e.onShouldVirtualize,v=e.groupedListClassNames,b=e.groups,y=e.compact,_=e.listProps,S=void 0===_?{}:_,x=this.state.isSelected,k=o&&t?t(o):1/0,w=o&&!o.children&&!o.isCollapsed&&!o.isShowingAll&&(o.count>k||o.hasMoreData),I=o&&o.children&&o.children.length>0,D=S.version,E={group:o,groupIndex:n,groupLevel:o?o.level:0,isSelected:x,selected:x,viewport:s,selectionMode:l,groups:b,compact:y},T={groupedListId:this._id,ariaLevel:(null==o?void 0:o.level)?o.level+1:1,ariaSetSize:b?b.length:void 0,ariaPosInSet:void 0!==n?n+1:void 0},P=f(f(f({},r),E),T),R=f(f({},i),E),M=f(f({},a),E),N=!!this.props.dragDropHelper&&this._getGroupDragDropOptions().canDrag(o)&&!!this.props.dragDropEvents.canDragGroups;return C.createElement("div",f({ref:this._root},N&&{draggable:!0},{className:gi(v&&v.group,this._getDroppingClassName()),role:"presentation"}),u(P,this._onRenderGroupHeader),o&&o.isCollapsed?null:I?C.createElement(sb,{role:"presentation",ref:this._list,items:o?o.children:[],onRenderCell:this._renderSubGroup,getItemCountForPage:this._returnOne,onShouldVirtualize:g,version:D,id:this._id}):this._onRenderGroup(k),o&&o.isCollapsed?null:w&&p(R,this._onRenderGroupShowAll),m(M,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,o=0;o0?e.children.length:e.count},o._getGroupItemLimit=function(e){var t=o.props.groupProps;return(t&&t.getGroupItemLimit?t.getGroupItemLimit:o._getDefaultGroupItemLimit)(e)},o._getGroupHeight=function(e){var t=o.props.compact?rC:nC;return t+(e.isCollapsed?0:t*o._getGroupItemLimit(e))},o._getPageHeight=function(e){var t=o.state.groups,n=o.props.getGroupHeight,r=void 0===n?o._getGroupHeight:n,i=t&&t[e];return i?r(i,e):0},o._onToggleCollapse=function(e){var t=o.props.groupProps,n=t&&t.headerProps&&t.headerProps.onToggleCollapse;e&&(n&&n(e),e.isCollapsed=!e.isCollapsed,o._updateIsSomeGroupExpanded(),o.forceUpdate())},o._onToggleSelectGroup=function(e){var t=o.props,n=t.selection,r=t.selectionMode;e&&n&&r===oy.multiple&&n.toggleRangeSelected(e.startIndex,e.count)},o._isInnerZoneKeystroke=function(e){return e.which===mr(ur.right)},o._onToggleSummarize=function(e){var t=o.props.groupProps,n=t&&t.showAllProps&&t.showAllProps.onToggleSummarize;n?n(e):(e&&(e.isShowingAll=!e.isShowingAll),o.forceUpdate())},o._getPageSpecification=function(e){var t=o.state.groups,n=t&&t[e];return{key:n&&n.key}},oa(o),o._isSomeGroupExpanded=o._computeIsSomeGroupExpanded(t.groups);var n=t.listProps,r=(void 0===n?{}:n).version,i=void 0===r?{}:r;return o.state={groups:t.groups,items:t.items,listProps:t.listProps,version:i},o}return m(t,e),t.getDerivedStateFromProps=function(e,t){var o=e.groups,n=e.selectionMode,r=e.compact,i=e.items,a=e.listProps,s=a&&a.version,l=f(f({},t),{selectionMode:n,compact:r,groups:o,listProps:a,items:i}),c=!1;return s===(t.listProps&&t.listProps.version)&&i===t.items&&o===t.groups&&n===t.selectionMode&&r===t.compact||(c=!0),c&&(l=f(f({},l),{version:{}})),l},t.prototype.scrollToIndex=function(e,t,o){this._list.current&&this._list.current.scrollToIndex(e,t,o)},t.prototype.getStartItemIndexInView=function(){return this._list.current.getStartItemIndexInView()||0},t.prototype.componentDidMount=function(){var e=this.props,t=e.groupProps,o=e.groups,n=void 0===o?[]:o;t&&t.isAllGroupsCollapsed&&this._setGroupsCollapsedState(n,t.isAllGroupsCollapsed)},t.prototype.render=function(){var e=this.props,t=e.className,o=e.usePageCache,n=e.onShouldVirtualize,r=e.theme,i=e.role,a=void 0===i?"treegrid":i,s=e.styles,l=e.compact,c=e.focusZoneProps,u=void 0===c?{}:c,d=e.rootListProps,p=void 0===d?{}:d,h=this.state,m=h.groups,g=h.version;this._classNames=oC(s,{theme:r,className:t,compact:l});var v=u.shouldEnterInnerZone,b=void 0===v?this._isInnerZoneKeystroke:v;return C.createElement(Vs,f({direction:fa.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},u,{shouldEnterInnerZone:b,className:gi(this._classNames.root,u.className)}),C.createElement($s,null),m?C.createElement(sb,f({ref:this._list,role:a,items:m,onRenderCell:this._renderGroup,getItemCountForPage:this._returnOne,getPageHeight:this._getPageHeight,getPageSpecification:this._getPageSpecification,usePageCache:o,onShouldVirtualize:n,version:g},p)):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,o=void 0===t?[]:t,n=this.props.groupProps,r=n&&n.onToggleCollapseAll;o.length>0&&(r&&r(e),this._setGroupsCollapsedState(o,e),this._updateIsSomeGroupExpanded(),this.forceUpdate())},t.prototype._setGroupsCollapsedState=function(e,t){for(var o=0;o0;)e++,t=t[0].children;return e},t.prototype._forceListUpdates=function(e){this.setState({version:{}})},t.prototype._computeIsSomeGroupExpanded=function(e){var t=this;return!(!e||!e.some((function(e){return e.children?t._computeIsSomeGroupExpanded(e.children):!e.isCollapsed})))},t.prototype._updateIsSomeGroupExpanded=function(){var e=this.state.groups,t=this.props.onGroupExpandStateChanged,o=this._computeIsSomeGroupExpanded(e);this._isSomeGroupExpanded!==o&&(t&&t(o),this._isSomeGroupExpanded=o)},t.defaultProps={selectionMode:oy.multiple,isHeaderVisible:!0,groupProps:{},compact:!1},t}(C.Component),aC=lr(iC,Ly,void 0,{scope:"GroupedList"});function sC(e,t){var o,n=(null!=t?t:!e||e&&e.hasOwnProperty("devicePixelRatio"))?gt():gt(e);return e&&(e===n?o={left:0,top:0,width:n.innerWidth,height:n.innerHeight,right:n.innerWidth,bottom:n.innerHeight}:e.getBoundingClientRect&&(o=e.getBoundingClientRect())),o}var lC=500,cC=3;function uC(e){return function(t){function o(e){var o=t.call(this,e)||this;return o._root=C.createRef(),o._registerResizeObserver=function(){var e=gt(o._root.current);o._viewportResizeObserver=new e.ResizeObserver(o._onAsyncResize),o._viewportResizeObserver.observe(o._root.current)},o._unregisterResizeObserver=function(){o._viewportResizeObserver&&(o._viewportResizeObserver.disconnect(),delete o._viewportResizeObserver)},o._updateViewport=function(e){var t=o.state.viewport,n=o._root.current,r=gt(n),i=sC(_s(n),r),a=sC(n,r);((a&&a.width)!==t.width||(i&&i.height)!==t.height)&&o._resizeAttempts0&&t.height>0?t:void 0;return C.createElement("div",{className:"ms-Viewport",ref:this._root,style:{minWidth:1,minHeight:1}},C.createElement(e,f({ref:this._updateComposedComponentRef,viewport:o},this.props)))},o.prototype.forceUpdate=function(){this._updateViewport(!0)},o.prototype._onAsyncResize=function(){this._updateViewport()},o.prototype._isResizeObserverAvailable=function(){var e=gt(this._root.current);return e&&e.ResizeObserver},o}(kd)}var dC=function(e){var t=0;if(e)for(var o=b([],e,!0),n=void 0;o&&o.length>0;)++t,(n=o.pop())&&n.children&&o.push.apply(o,n.children);return t},pC=Cr(),hC=100,mC={tabIndex:0},fC={},gC=function(e){var t=e.selection,o=e.ariaLabelForListHeader,n=e.ariaLabelForSelectAllCheckbox,r=e.ariaLabelForSelectionColumn,i=e.className,a=e.checkboxVisibility,s=e.compact,l=e.constrainMode,c=e.dragDropEvents,u=e.groups,d=e.groupProps,p=e.indentWidth,h=e.items,m=e.isPlaceholderData,g=e.isHeaderVisible,v=e.layoutMode,b=e.onItemInvoked,y=e.onItemContextMenu,_=e.onColumnHeaderClick,S=e.onColumnHeaderContextMenu,x=e.selectionMode,k=void 0===x?t.mode:x,w=e.selectionPreservedOnEmptyClick,I=e.selectionZoneProps,D=e.ariaLabel,E=e.ariaLabelForGrid,T=e.rowElementEventMap,P=e.shouldApplyApplicationRole,R=void 0!==P&&P,M=e.getKey,N=e.listProps,B=e.usePageCache,A=e.onShouldVirtualize,F=e.viewport,L=e.minimumPixelsForDrag,H=e.getGroupHeight,O=e.styles,z=e.theme,W=e.cellStyleProps,V=void 0===W?Fb:W,K=e.onRenderCheckbox,G=e.useFastIcons,U=e.dragDropHelper,j=e.adjustedColumns,q=e.isCollapsed,Y=e.isSizing,Z=e.isSomeGroupExpanded,X=e.version,Q=e.rootRef,J=e.listRef,$=e.focusZoneRef,ee=e.columnReorderOptions,te=e.groupedListRef,oe=e.headerRef,ne=e.onGroupExpandStateChanged,re=e.onColumnIsSizingChanged,ie=e.onRowDidMount,ae=e.onRowWillUnmount,se=e.disableSelectionZone,le=e.isSelectedOnFocus,ce=void 0===le||le,ue=e.onColumnResized,de=e.onColumnAutoResized,pe=e.onToggleCollapse,he=e.onActiveRowChanged,me=e.onBlur,fe=e.rowElementEventMap,ge=e.onRenderMissingItem,ve=e.onRenderItemColumn,be=e.onRenderField,ye=e.getCellValueKey,Ce=e.getRowAriaLabel,_e=e.getRowAriaDescribedBy,Se=e.checkButtonAriaLabel,xe=e.checkButtonGroupAriaLabel,ke=e.checkboxCellClassName,we=e.useReducedRowRenderer,Ie=e.enableUpdateAnimations,De=e.enterModalSelectionOnTouch,Ee=e.onRenderDefaultRow,Te=e.selectionZoneRef,Pe=e.focusZoneProps,Re="grid",Me=e.role?e.role:Re,Ne=us("row"),Be=function(e){for(var t=0,o=e;o&&o.length>0;)t++,o=o[0].children;return t}(u),Ae=function(e){return C.useMemo((function(){var t={};if(e)for(var o=1,n=1,r=0,i=e;rr.left&&t.clientXr.top&&t.clientY0?fC:mC,f={item:n,itemIndex:r,flatIndexOffset:(g?2:1)+d,compact:s,columns:j,groupNestingDepth:o,id:"".concat(Ne,"-").concat(r),selectionMode:k,selection:t,onDidMount:ie,onWillUnmount:ae,onRenderItemColumn:ve,onRenderField:be,getCellValueKey:ye,eventsToRegister:fe,dragDropEvents:c,dragDropHelper:U,viewport:F,checkboxVisibility:a,collapseAllVisibility:rt,getRowAriaLabel:Ce,getRowAriaDescribedBy:_e,checkButtonAriaLabel:Se,checkboxCellClassName:ke,useReducedRowRenderer:we,indentWidth:p,cellStyleProps:V,onRenderDetailsCheckbox:K,enableUpdateAnimations:Ie,rowWidth:it,useFastIcons:G,role:h,isGridRow:!0,focusZoneProps:m};return n?l(f):ge?ge(r,f):null}),[s,j,k,t,Ne,ie,ae,ve,be,ye,fe,c,U,F,a,rt,Ce,_e,g,Se,ke,we,p,V,K,Ie,G,Ee,ge,e.onRenderRow,it,Me,Ae]),st=C.useCallback((function(e){return function(t,o){return at(e,t,o)}}),[at]),lt=C.useCallback((function(e){return e.which===mr(ur.right,z)}),[z]),ct=f(f({},Pe),{componentRef:Pe&&Pe.componentRef?Pe.componentRef:$,className:Pe&&Pe.className?gi(Qe.focusZone,Pe.className):Qe.focusZone,direction:Pe?Pe.direction:fa.vertical,shouldEnterInnerZone:Pe&&Pe.shouldEnterInnerZone?Pe.shouldEnterInnerZone:lt,onActiveElementChanged:Pe&&Pe.onActiveElementChanged?Pe.onActiveElementChanged:he,shouldRaiseClicksOnEnter:!1,onBlur:Pe&&Pe.onBlur?Pe.onBlur:me}),ut=u&&(null==d?void 0:d.groupedListAs)?Bl(d.groupedListAs,aC):aC,dt=u?C.createElement(ut,{focusZoneProps:ct,componentRef:te,groups:u,groupProps:ot,items:h,onRenderCell:at,role:"presentation",selection:t,selectionMode:a!==Rb.hidden?k:oy.none,dragDropEvents:c,dragDropHelper:U,eventsToRegister:T,listProps:Fe,onGroupExpandStateChanged:ne,usePageCache:B,onShouldVirtualize:A,getGroupHeight:H,compact:s}):C.createElement(Vs,f({},ct),C.createElement(sb,f({ref:J,role:"presentation",items:h,onRenderCell:st(0),usePageCache:B,onShouldVirtualize:A},Fe))),pt=C.useCallback((function(e){e.which===ur.down&&$.current&&$.current.focus()&&(ce&&0===t.getSelectedIndices().length&&t.setIndexSelected(0,!0,!1),e.preventDefault(),e.stopPropagation())}),[t,$,ce]),ht=C.useCallback((function(e){e.which!==ur.up||e.altKey||oe.current&&oe.current.focus()&&(e.preventDefault(),e.stopPropagation())}),[oe]);return C.createElement("div",f({ref:Q,className:Qe.root,"data-automationid":"DetailsList","data-is-scrollable":"false"},R?{role:"application"}:{}),C.createElement($s,null),C.createElement("div",{role:Me,"aria-label":E||D,"aria-rowcount":m?0:Ze,"aria-colcount":Xe,"aria-busy":m},C.createElement("div",{onKeyDown:pt,role:"presentation",className:Qe.headerWrapper},g&&Ve({componentRef:oe,selectionMode:k,layoutMode:v,selection:t,columns:j,onColumnClick:_,onColumnContextMenu:S,onColumnResized:ue,onColumnIsSizingChanged:re,onColumnAutoResized:de,groupNestingDepth:Be,isAllCollapsed:q,onToggleCollapseAll:pe,ariaLabel:o,ariaLabelForSelectAllCheckbox:n,ariaLabelForSelectionColumn:r,selectAllVisibility:Le,collapseAllVisibility:d&&d.collapseAllVisibility,viewport:F,columnReorderProps:Ye,minimumPixelsForDrag:L,cellStyleProps:V,checkboxVisibility:a,indentWidth:p,onRenderDetailsCheckbox:K,rowWidth:nt(j),useFastIcons:G},Ve)),C.createElement("div",{onKeyDown:ht,role:"presentation",className:Qe.contentWrapper},se?dt:C.createElement(Ry,f({ref:Te,selection:t,selectionPreservedOnEmptyClick:w,selectionMode:k,isSelectedOnFocus:ce,selectionClearedOnEscapePress:ce,toggleWithoutModifierPressed:!ce,onItemInvoked:b,onItemContextMenu:y,enterModalOnTouch:De},I||{}),dt)),Ge(f({},Ue))))},vC=function(e){function t(t){var o=e.call(this,t)||this;return o._root=C.createRef(),o._header=C.createRef(),o._groupedList=C.createRef(),o._list=C.createRef(),o._focusZone=C.createRef(),o._selectionZone=C.createRef(),o._onRenderRow=function(e,t){return C.createElement(Iy,f({},e))},o._getDerivedStateFromProps=function(e,t){var n=o.props,r=n.checkboxVisibility,i=n.items,a=n.setKey,s=n.selectionMode,l=void 0===s?o._selection.mode:s,c=n.columns,u=n.viewport,d=n.compact,p=n.dragDropEvents,h=(o.props.groupProps||{}).isAllGroupsCollapsed,m=void 0===h?void 0:h,g=e.viewport&&e.viewport.width||0,v=u&&u.width||0,b=e.setKey!==a||void 0===e.setKey,y=!1;e.layoutMode!==o.props.layoutMode&&(y=!0);var C=t;return b&&(o._initialFocusedIndex=e.initialFocusedIndex,C=f(f({},C),{focusedItemIndex:void 0!==o._initialFocusedIndex?o._initialFocusedIndex:-1})),o.props.disableSelectionZone||e.items===i||o._selection.setItems(e.items,b),e.checkboxVisibility===r&&e.columns===c&&g===v&&e.compact===d||(y=!0),C=f(f({},C),o._adjustColumns(e,C,!0)),e.selectionMode!==l&&(y=!0),void 0===m&&e.groupProps&&void 0!==e.groupProps.isAllGroupsCollapsed&&(C=f(f({},C),{isCollapsed:e.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:!e.groupProps.isAllGroupsCollapsed})),e.dragDropEvents!==p&&(o._dragDropHelper&&o._dragDropHelper.dispose(),o._dragDropHelper=e.dragDropEvents?new dy({selection:o._selection,minimumPixelsForDrag:e.minimumPixelsForDrag}):void 0,y=!0),y&&(C=f(f({},C),{version:{}})),C},o._onGroupExpandStateChanged=function(e){o.setState({isSomeGroupExpanded:e})},o._onColumnIsSizingChanged=function(e,t){o.setState({isSizing:t})},o._onRowDidMount=function(e){var t=e.props,n=t.item,r=t.itemIndex,i=o._getItemKey(n,r);o._activeRows[i]=e,o._setFocusToRowIfPending(e);var a=o.props.onRowDidMount;a&&a(n,r)},o._onRowWillUnmount=function(e){var t=o.props.onRowWillUnmount,n=e.props,r=n.item,i=n.itemIndex,a=o._getItemKey(r,i);delete o._activeRows[a],t&&t(r,i)},o._onToggleCollapse=function(e){o.setState({isCollapsed:e}),o._groupedList.current&&o._groupedList.current.toggleCollapseAll(e)},o._onColumnResized=function(e,t,n){var r=Math.max(e.minWidth||hC,t);o.props.onColumnResize&&o.props.onColumnResize(e,r,n),o._rememberCalculatedWidth(e,r),o.setState(f(f({},o._adjustColumns(o.props,o.state,!0,n)),{version:{}}))},o._onColumnAutoResized=function(e,t){var n=0,r=0,i=Object.keys(o._activeRows).length;for(var a in o._activeRows)o._activeRows.hasOwnProperty(a)&&o._activeRows[a].measureCell(t,(function(a){n=Math.max(n,a),++r===i&&o._onColumnResized(e,n,t)}))},o._onActiveRowChanged=function(e,t){var n=o.props,r=n.items,i=n.onActiveItemChanged;if(e&&e.getAttribute("data-item-index")){var a=Number(e.getAttribute("data-item-index"));a>=0&&(i&&i(r[a],a,t),o.setState({focusedItemIndex:a}))}},o._onBlur=function(e){o.setState({focusedItemIndex:-1})},oa(o),o._async=new sa(o),o._activeRows={},o._columnOverrides={},o.state={focusedItemIndex:-1,lastWidth:0,adjustedColumns:o._getAdjustedColumns(t,void 0),isSizing:!1,isCollapsed:t.groupProps&&t.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:t.groupProps&&!t.groupProps.isAllGroupsCollapsed,version:{},getDerivedStateFromProps:o._getDerivedStateFromProps},o._selection=t.selection||new My({onSelectionChanged:void 0,getKey:t.getKey,selectionMode:t.selectionMode}),o.props.disableSelectionZone||o._selection.setItems(t.items,!1),o._dragDropHelper=t.dragDropEvents?new dy({selection:o._selection,minimumPixelsForDrag:t.minimumPixelsForDrag}):void 0,o._initialFocusedIndex=t.initialFocusedIndex,o}return m(t,e),t.getDerivedStateFromProps=function(e,t){return t.getDerivedStateFromProps(e,t)},t.prototype.scrollToIndex=function(e,t,o){this._list.current&&this._list.current.scrollToIndex(e,t,o),this._groupedList.current&&this._groupedList.current.scrollToIndex(e,t,o)},t.prototype.focusIndex=function(e,t,o,n){void 0===t&&(t=!1);var r=this.props.items[e];if(r){this.scrollToIndex(e,o,n);var i=this._getItemKey(r,e),a=this._activeRows[i];a&&this._setFocusToRow(a,t)}},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.updateColumn=function(e,t){var o,n,r=this.props,i=r.columns,a=void 0===i?[]:i,s=r.selectionMode,l=r.checkboxVisibility,c=r.columnReorderOptions,u=t.width,d=t.newColumnIndex,p=a.findIndex((function(t){return t.key===e.key}));if(u&&this._onColumnResized(e,u,p),void 0!==d&&c){var h=s===oy.none||l===Rb.hidden,m=(l!==Rb.hidden?2:1)+p,f=h?m-1:m-2,g=h?d-1:d-2,v=null!==(o=c.frozenColumnCountFromStart)&&void 0!==o?o:0,b=null!==(n=c.frozenColumnCountFromEnd)&&void 0!==n?n:0;if(g>=v&&g0&&-1!==this.state.focusedItemIndex&&!Fa(this._root.current,null==o?void 0:o.activeElement,!1)){var r,i=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,o,n){var r=this._getAdjustedColumns(e,t,o,n),i=this.props.viewport,a=i&&i.width?i.width:0;return f(f({},t),{adjustedColumns:r,lastWidth:a})},t.prototype._getAdjustedColumns=function(e,t,o,n){var r,i=this,a=e.items,s=e.layoutMode,l=e.selectionMode,c=e.viewport,u=c&&c.width?c.width:0,d=e.columns,p=this.props?this.props.columns:[],h=t?t.lastWidth:-1,m=t?t.lastSelectionMode:void 0;return o||h!==u||m!==l||p&&d!==p?(d=d||bC(a,!0),s===Pb.fixedColumns?(r=this._getFixedColumns(d,u,e)).forEach((function(e){i._rememberCalculatedWidth(e,e.calculatedWidth)})):(r=this._getJustifiedColumns(d,u,e)).forEach((function(e){i._getColumnOverride(e.key).currentWidth=e.calculatedWidth})),r):d||[]},t.prototype._getFixedColumns=function(e,t,o){var n=this,r=this.props,i=r.selectionMode,a=void 0===i?this._selection.mode:i,s=r.checkboxVisibility,l=r.flexMargin,c=r.skipViewportMeasures,u=t-(l||0),d=0;e.forEach((function(e){c||!e.flexGrow?u-=e.maxWidth||e.minWidth||hC:(u-=e.minWidth||hC,d+=e.flexGrow),u-=yC(e,o,!0)}));var p=a!==oy.none&&s!==Rb.hidden?jb:0,h=36*this._getGroupNestingDepth(),m=(u-=p+h)/d;return c||e.forEach((function(e){var t=f(f({},e),n._columnOverrides[e.key]);if(t.flexGrow&&t.maxWidth){var o=t.flexGrow*m+t.minWidth,r=o-t.maxWidth;r>0&&(u+=r,d-=r/(o-t.minWidth)*t.flexGrow)}})),m=u>0?u/d:0,e.map((function(e){var o=f(f({},e),n._columnOverrides[e.key]);return!c&&o.flexGrow&&u<=0&&0===t||o.calculatedWidth||(!c&&o.flexGrow?(o.calculatedWidth=o.minWidth+o.flexGrow*m,o.calculatedWidth=Math.min(o.calculatedWidth,o.maxWidth||Number.MAX_VALUE)):o.calculatedWidth=o.maxWidth||o.minWidth||hC),o}))},t.prototype._getJustifiedColumns=function(e,t,o){var n=this,r=o.selectionMode,i=void 0===r?this._selection.mode:r,a=o.checkboxVisibility,s=o.skipViewportMeasures,l=i!==oy.none&&a!==Rb.hidden?jb:0,c=36*this._getGroupNestingDepth(),u=0,d=0,p=t-(l+c),h=e.map((function(e,t){var r=f(f({},e),{calculatedWidth:e.minWidth||hC}),i=f(f({},r),n._columnOverrides[e.key]);return r.isCollapsible||r.isCollapsable||(d+=yC(r,o)),u+=yC(i,o),i}));if(s)return h;for(var m=h.length-1;m>=0&&u>p;){var g=(C=h[m]).minWidth||hC,v=u-p;if(C.calculatedWidth-g>=v||!C.isCollapsible&&!C.isCollapsable){var b=C.calculatedWidth;d=(B||xd.small)&&C.createElement(Eu,f({ref:U},Ce),C.createElement(Tc,f({role:ve?"alertdialog":"dialog",ariaLabelledBy:T,ariaDescribedBy:R,onDismiss:w,shouldRestoreFocus:!y,enableAriaHiddenSiblings:O,"aria-modal":!F},z),C.createElement("div",{className:ye.root,role:F?void 0:"document"},!F&&C.createElement(TC,f({"aria-hidden":!0,isDarkThemed:k,onClick:_?void 0:w,allowTouchBodyScroll:l},D)),L?C.createElement(NC,{handleSelector:L.dragHandleSelector||"#".concat(q),preventDragSelector:"button",onStart:we,onDragChange:Ie,onStop:De,position:ie},Ee):Ee)))||null}));HC.displayName="Modal";var OC=lr(HC,(function(e){var t,o=e.className,n=e.containerClassName,r=e.scrollableContentClassName,i=e.isOpen,a=e.isVisible,s=e.hasBeenOpened,l=e.modalRectangleTop,c=e.theme,u=e.topOffsetFixed,d=e.isModeless,p=e.layerClassName,h=e.isDefaultDragHandle,m=e.windowInnerHeight,f=c.palette,g=c.effects,v=c.fonts,b=Ao(wC,c);return{root:[b.root,v.medium,{backgroundColor:"transparent",position:"fixed",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,pointerEvents:"none",transition:"opacity ".concat(kC)},u&&"number"==typeof l&&s&&{alignItems:"flex-start"},i&&b.isOpen,a&&{opacity:1},a&&!d&&{pointerEvents:"auto"},o],main:[b.main,{boxShadow:g.elevation64,borderRadius:g.roundedCorner2,backgroundColor:f.white,boxSizing:"border-box",position:"relative",textAlign:"left",outline:"3px solid transparent",maxHeight:"calc(100% - 32px)",maxWidth:"calc(100% - 32px)",minHeight:"176px",minWidth:"288px",overflowY:"auto",zIndex:d?tn.Layer:void 0},d&&{pointerEvents:"auto"},u&&"number"==typeof l&&s&&{top:l},h&&{cursor:"move"},n],scrollableContent:[b.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:(t={},t["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:m},t)},r],layer:d&&[p,b.layer,{pointerEvents:"none"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:v.xLargePlus.fontSize,width:"24px"}}}),void 0,{scope:"Modal",fields:["theme","styles","enableAriaHiddenSiblings"]});OC.displayName="Modal";var zC=Cr(),WC=function(e){function t(t){var o=e.call(this,t)||this;return oa(o),o}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.className,o=e.styles,n=e.theme;return this._classNames=zC(o,{theme:n,className:t}),C.createElement("div",{className:this._classNames.actions},C.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))},t.prototype._renderChildrenAsActions=function(){var e=this;return C.Children.map(this.props.children,(function(t){return t?C.createElement("span",{className:e._classNames.action},t):null}))},t}(C.Component),VC={actions:"ms-Dialog-actions",action:"ms-Dialog-action",actionsRight:"ms-Dialog-actionsRight"},KC=lr(WC,(function(e){var t=e.className,o=e.theme,n=Ao(VC,o);return{actions:[n.actions,{position:"relative",width:"100%",minHeight:"24px",lineHeight:"24px",margin:"16px 0 0",fontSize:"0",selectors:{".ms-Button":{lineHeight:"normal",verticalAlign:"middle"}}},t],action:[n.action,{margin:"0 4px"}],actionsRight:[n.actionsRight,{alignItems:"center",display:"flex",fontSize:"0",justifyContent:"flex-end",marginRight:"-4px"}]}}),void 0,{scope:"DialogFooter"});KC.displayName="DialogFooter";var GC=Cr(),UC=C.createElement(KC,null).type,jC=function(e){function t(t){var o=e.call(this,t)||this;return oa(o),o}return m(t,e),t.prototype.render=function(){var e,t=this.props,o=t.showCloseButton,n=t.className,r=t.closeButtonAriaLabel,i=t.onDismiss,a=t.subTextId,s=t.subText,l=t.titleProps,c=void 0===l?{}:l,u=t.titleId,d=t.title,p=t.type,h=t.styles,m=t.theme,g=t.draggableHeaderClassName,v=GC(h,{theme:m,className:n,isLargeHeader:p===CC.largeHeader,isClose:p===CC.close,draggableHeaderClassName:g}),b=this._groupChildren();return s&&(e=C.createElement("p",{className:v.subText,id:a},s)),C.createElement("div",{className:v.content},C.createElement("div",{className:v.header},C.createElement("div",f({id:u,role:"heading","aria-level":1},c,{className:gi(v.title,c.className)}),d),C.createElement("div",{className:v.topButton},this.props.topButtonsProps.map((function(e,t){return C.createElement(yp,f({key:e.uniqueId||t},e))})),(p===CC.close||o&&p!==CC.largeHeader)&&C.createElement(yp,{className:v.button,iconProps:{iconName:"Cancel"},ariaLabel:r,onClick:i}))),C.createElement("div",{className:v.inner},C.createElement("div",{className:v.innerContent},e,b.contents),b.footers))},t.prototype._groupChildren=function(){var e={footers:[],contents:[]};return C.Children.map(this.props.children,(function(t){"object"==typeof t&&null!==t&&t.type===UC?e.footers.push(t):e.contents.push(t)})),e},t.defaultProps={showCloseButton:!1,className:"",topButtonsProps:[],closeButtonAriaLabel:"Close"},v([Md],t)}(C.Component),qC={contentLgHeader:"ms-Dialog-lgHeader",close:"ms-Dialog--close",subText:"ms-Dialog-subText",header:"ms-Dialog-header",headerLg:"ms-Dialog--lgHeader",button:"ms-Dialog-button ms-Dialog-button--close",inner:"ms-Dialog-inner",content:"ms-Dialog-content",title:"ms-Dialog-title"},YC=lr(jC,(function(e){var t,o,n,r=e.className,i=e.theme,a=e.isLargeHeader,s=e.isClose,l=e.hidden,c=e.isMultiline,u=e.draggableHeaderClassName,d=i.palette,p=i.fonts,h=i.effects,m=i.semanticColors,f=Ao(qC,i);return{content:[a&&[f.contentLgHeader,{borderTop:"4px solid ".concat(d.themePrimary)}],s&&f.close,{flexGrow:1,overflowY:"hidden"},r],subText:[f.subText,p.medium,{margin:"0 0 24px 0",color:m.bodySubtext,lineHeight:"1.5",wordWrap:"break-word",fontWeight:nt.regular}],header:[f.header,{position:"relative",width:"100%",boxSizing:"border-box"},s&&f.close,u&&[u,{cursor:"move"}]],button:[f.button,l&&{selectors:{".ms-Icon.ms-Icon--Cancel":{color:m.buttonText,fontSize:rt.medium}}}],inner:[f.inner,{padding:"0 24px 24px",selectors:(t={},t["@media (min-width: ".concat(zo,"px) and (max-width: ").concat(jo,"px)")]={padding:"0 16px 16px"},t)}],innerContent:[f.content,{position:"relative",width:"100%"}],title:[f.title,p.xLarge,{color:m.bodyText,margin:"0",minHeight:p.xLarge.fontSize,padding:"16px 46px 20px 24px",lineHeight:"normal",selectors:(o={},o["@media (min-width: ".concat(zo,"px) and (max-width: ").concat(jo,"px)")]={padding:"16px 46px 16px 16px"},o)},a&&{color:m.menuHeader},c&&{fontSize:p.xxLarge.fontSize}],topButton:[{display:"flex",flexDirection:"row",flexWrap:"nowrap",position:"absolute",top:"0",right:"0",padding:"15px 15px 0 0",selectors:(n={"> *":{flex:"0 0 auto"},".ms-Dialog-button":{color:m.buttonText},".ms-Dialog-button:hover":{color:m.buttonTextHovered,borderRadius:h.roundedCorner2}},n["@media (min-width: ".concat(zo,"px) and (max-width: ").concat(jo,"px)")]={padding:"15px 8px 0 0"},n)}]}}),void 0,{scope:"DialogContent"});YC.displayName="DialogContent";var ZC,XC=Cr(),QC={isDarkOverlay:!1,isBlocking:!1,className:"",containerClassName:"",topOffsetFixed:!1,enableAriaHiddenSiblings:!0},JC={type:CC.normal,className:"",topButtonsProps:[]},$C=function(e){function t(t){var o=e.call(this,t)||this;return o._getSubTextId=function(){var e=o.props,t=e.ariaDescribedById,n=e.modalProps,r=e.dialogContentProps,i=e.subText,a=n&&n.subtitleAriaId||t;return a||(a=(r&&r.subText||i)&&o._defaultSubTextId),a},o._getTitleTextId=function(){var e=o.props,t=e.ariaLabelledById,n=e.modalProps,r=e.dialogContentProps,i=e.title,a=n&&n.titleAriaId||t;return a||(a=(r&&r.title||i)&&o._defaultTitleTextId),a},o._id=us("Dialog"),o._defaultTitleTextId=o._id+"-title",o._defaultSubTextId=o._id+"-subText",o}return m(t,e),t.prototype.render=function(){var e,t,o,n,r,i=this.props,a=i.className,s=i.containerClassName,l=i.contentClassName,c=i.elementToFocusOnDismiss,u=i.firstFocusableSelector,d=i.forceFocusInsideTrap,p=i.styles,h=i.hidden,m=i.disableRestoreFocus,g=void 0===m?i.ignoreExternalFocusing:m,v=i.isBlocking,b=i.isClickableOutsideFocusTrap,y=i.isDarkOverlay,_=i.isOpen,S=void 0===_?!h:_,x=i.onDismiss,k=i.onDismissed,w=i.onLayerDidMount,I=i.responsiveMode,D=i.subText,E=i.theme,T=i.title,P=i.topButtonsProps,R=i.type,M=i.minWidth,N=i.maxWidth,B=i.modalProps,A=f({onLayerDidMount:w},null==B?void 0:B.layerProps);(null==B?void 0:B.dragOptions)&&!(null===(e=B.dragOptions)||void 0===e?void 0:e.dragHandleSelector)&&(n="ms-Dialog-draggable-header",(r=f({},B.dragOptions)).dragHandleSelector=".".concat(n));var F=f(f(f(f({},QC),{elementToFocusOnDismiss:c,firstFocusableSelector:u,forceFocusInsideTrap:d,disableRestoreFocus:g,isClickableOutsideFocusTrap:b,responsiveMode:I,className:a,containerClassName:s,isBlocking:v,isDarkOverlay:y,onDismissed:k}),B),{dragOptions:r,layerProps:A,isOpen:S}),L=f(f(f({className:l,subText:D,title:T,topButtonsProps:P,type:R},JC),i.dialogContentProps),{draggableHeaderClassName:n,titleProps:f({id:(null===(t=i.dialogContentProps)||void 0===t?void 0:t.titleId)||this._defaultTitleTextId},null===(o=i.dialogContentProps)||void 0===o?void 0:o.titleProps)}),H=XC(p,{theme:E,className:F.className,containerClassName:F.containerClassName,hidden:h,dialogDefaultMinWidth:M,dialogDefaultMaxWidth:N});return C.createElement(OC,f({},F,{className:H.root,containerClassName:H.main,onDismiss:x||F.onDismiss,subtitleAriaId:this._getSubTextId(),titleAriaId:this._getTitleTextId()}),C.createElement(YC,f({subTextId:this._defaultSubTextId,showCloseButton:F.isBlocking,onDismiss:x},L),i.children))},t.defaultProps={hidden:!0},v([Md],t)}(C.Component),e_={root:"ms-Dialog"},t_=lr($C,(function(e){var t,o=e.className,n=e.containerClassName,r=e.dialogDefaultMinWidth,i=void 0===r?"288px":r,a=e.dialogDefaultMaxWidth,s=void 0===a?"340px":a,l=e.hidden,c=e.theme;return{root:[Ao(e_,c).root,c.fonts.medium,o],main:[{width:i,outline:"3px solid transparent",selectors:(t={},t["@media (min-width: ".concat(Wo,"px)")]={width:"auto",maxWidth:s,minWidth:i},t)},!l&&{display:"flex"},n]}}),void 0,{scope:"Dialog"});t_.displayName="Dialog",function(e){e[e.normal=0]="normal",e[e.compact=1]="compact"}(ZC||(ZC={}));var o_,n_=Cr(),r_=C.createContext({}),i_=function(e){function t(t){var o=e.call(this,t)||this;return o._rootElement=C.createRef(),o._onClick=function(e){o._onAction(e)},o._onKeyDown=function(e){e.which!==ur.enter&&e.which!==ur.space||o._onAction(e)},o._onAction=function(e){var t=o.props,n=t.onClick,r=t.onClickHref,i=t.onClickTarget,a=Fc(o.context);n?n(e):!n&&r&&(i?a.open(r,i,"noreferrer noopener nofollow"):a.location.href=r,e.preventDefault(),e.stopPropagation())},oa(o),o}return m(t,e),t.prototype.render=function(){var e,t=this.props,o=t.onClick,n=t.onClickHref,r=t.children,i=t.type,a=t.accentColor,s=t.styles,l=t.theme,c=t.className,u=Xr(this.props,Zr,["className","onClick","type","role"]),d=!(!o&&!n);this._classNames=n_(s,{theme:l,className:c,actionable:d,compact:i===ZC.compact}),i===ZC.compact&&a&&(e={borderBottomColor:a});var p={role:this.props.role||(d?o?"button":"link":void 0),tabIndex:d?0:void 0};return C.createElement("div",f({ref:this._rootElement,role:"group",className:this._classNames.root,onKeyDown:d?this._onKeyDown:void 0,onClick:d?this._onClick:void 0,style:e},u),C.createElement(r_.Provider,{value:p},r))},t.prototype.focus=function(){this._rootElement.current&&this._rootElement.current.focus()},t.defaultProps={type:ZC.normal},t.contextType=la,t}(C.Component),a_={root:"ms-DocumentCardPreview",icon:"ms-DocumentCardPreview-icon",iconContainer:"ms-DocumentCardPreview-iconContainer"},s_={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"},l_={root:"ms-DocumentCardTitle"},c_={root:"ms-DocumentCardLocation"},u_={root:"ms-DocumentCard",rootActionable:"ms-DocumentCard--actionable",rootCompact:"ms-DocumentCard--compact"},d_=lr(i_,(function(e){var t,o,n=e.className,r=e.theme,i=e.actionable,a=e.compact,s=r.palette,l=r.fonts,c=r.effects,u=Ao(u_,r);return{root:[u.root,{WebkitFontSmoothing:"antialiased",backgroundColor:s.white,border:"1px solid ".concat(s.neutralLight),maxWidth:"320px",minWidth:"206px",userSelect:"none",position:"relative",selectors:(t={":focus":{outline:"0px solid"}},t[".".concat(on," &:focus, :host(.").concat(on,") &:focus")]=un(s.neutralSecondary,c.roundedCorner2),t[".".concat(c_.root," + .").concat(l_.root)]={paddingTop:"4px"},t)},i&&[u.rootActionable,{selectors:{":hover":{cursor:"pointer",borderColor:s.neutralTertiaryAlt},":hover:after":{content:'" "',position:"absolute",top:0,right:0,bottom:0,left:0,border:"1px solid ".concat(s.neutralTertiaryAlt),pointerEvents:"none"}}}],a&&[u.rootCompact,{display:"flex",maxWidth:"480px",height:"108px",selectors:(o={},o[".".concat(a_.root)]={borderRight:"1px solid ".concat(s.neutralLight),borderBottom:0,maxHeight:"106px",maxWidth:"144px"},o[".".concat(a_.icon)]={maxHeight:"32px",maxWidth:"32px"},o[".".concat(s_.root)]={paddingBottom:"12px"},o[".".concat(l_.root)]={paddingBottom:"12px 16px 8px 16px",fontSize:l.mediumPlus.fontSize,lineHeight:"16px"},o)}],n]}}),void 0,{scope:"DocumentCard"}),p_=Cr(),h_=function(e){function t(t){var o=e.call(this,t)||this;return oa(o),o}return m(t,e),t.prototype.render=function(){var e=this,t=this.props,o=t.actions,n=t.views,r=t.styles,i=t.theme,a=t.className;return this._classNames=p_(r,{theme:i,className:a}),C.createElement("div",{className:this._classNames.root},o&&o.map((function(t,o){return C.createElement("div",{className:e._classNames.action,key:o},C.createElement(yp,f({},t)))})),n>0&&C.createElement("div",{className:this._classNames.views},C.createElement(Ei,{iconName:"View",className:this._classNames.viewsIcon}),n))},t}(C.Component),m_={root:"ms-DocumentCardActions",action:"ms-DocumentCardActions-action",views:"ms-DocumentCardActions-views"},f_=lr(h_,(function(e){var t=e.className,o=e.theme,n=o.palette,r=o.fonts,i=Ao(m_,o);return{root:[i.root,{height:"".concat(34,"px"),padding:"".concat(4,"px ").concat(12,"px"),position:"relative"},t],action:[i.action,{float:"left",marginRight:"4px",color:n.neutralSecondary,cursor:"pointer",selectors:{".ms-Button":{fontSize:r.mediumPlus.fontSize,height:34,width:34},".ms-Button:hover .ms-Button-icon":{color:o.semanticColors.buttonText,cursor:"pointer"}}}],views:[i.views,{textAlign:"right",lineHeight:34}],viewsIcon:{marginRight:"8px",fontSize:r.medium.fontSize,verticalAlign:"top"}}}),void 0,{scope:"DocumentCardActions"}),g_=Cr(),v_=function(e){function t(t){var o=e.call(this,t)||this;return oa(o),o}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.activity,o=e.people,n=e.styles,r=e.theme,i=e.className;return this._classNames=g_(n,{theme:r,className:i,multiplePeople:o.length>1}),o&&0!==o.length?C.createElement("div",{className:this._classNames.root},this._renderAvatars(o),C.createElement("div",{className:this._classNames.details},C.createElement("span",{className:this._classNames.name},this._getNameString(o)),C.createElement("span",{className:this._classNames.activity},t))):null},t.prototype._renderAvatars=function(e){return C.createElement("div",{className:this._classNames.avatars},e.length>1?this._renderAvatar(e[1]):null,this._renderAvatar(e[0]))},t.prototype._renderAvatar=function(e){return C.createElement("div",{className:this._classNames.avatar},C.createElement(Qi,{imageInitials:e.initials,text:e.name,imageUrl:e.profileImageSrc,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,role:"presentation",size:vi.size32}))},t.prototype._getNameString=function(e){var t=e[0].name;return e.length>=2&&(t+=" +"+(e.length-1)),t},t}(C.Component),b_=lr(v_,(function(e){var t=e.theme,o=e.className,n=e.multiplePeople,r=t.palette,i=t.fonts,a=Ao(s_,t);return{root:[a.root,n&&a.multiplePeople,{padding:"".concat(8,"px ").concat(16,"px"),position:"relative"},o],avatars:[a.avatars,{marginLeft:"-2px",height:"32px"}],avatar:[a.avatar,{display:"inline-block",verticalAlign:"top",position:"relative",textAlign:"center",width:32,height:32,selectors:{"&:after":{content:'" "',position:"absolute",left:"-1px",top:"-1px",right:"-1px",bottom:"-1px",border:"2px solid ".concat(r.white),borderRadius:"50%"},":nth-of-type(2)":n&&{marginLeft:"-16px"}}}],details:[a.details,{left:"".concat(n?72:56,"px"),height:32,position:"absolute",top:8,width:"calc(100% - ".concat(72,"px)")}],name:[a.name,{display:"block",fontSize:i.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:r.neutralPrimary,fontWeight:nt.semibold}],activity:[a.activity,{display:"block",fontSize:i.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:r.neutralSecondary}]}}),void 0,{scope:"DocumentCardActivity"}),y_=Cr(),C_=function(e){function t(t){var o=e.call(this,t)||this;return oa(o),o}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.children,o=e.styles,n=e.theme,r=e.className;return this._classNames=y_(o,{theme:n,className:r}),C.createElement("div",{className:this._classNames.root},t)},t}(C.Component),__={root:"ms-DocumentCardDetails"},S_=lr(C_,(function(e){var t=e.className,o=e.theme;return{root:[Ao(__,o).root,{display:"flex",flexDirection:"column",flex:1,justifyContent:"space-between",overflow:"hidden"},t]}}),void 0,{scope:"DocumentCardDetails"}),x_=Cr(),k_=function(e){function t(t){var o=e.call(this,t)||this;return o._onImageLoad=function(){o.setState({imageHasLoaded:!0})},oa(o),o.state={imageHasLoaded:!1},o}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.width,n=e.height,r=e.imageFit,i=e.imageSrc;return this._classNames=x_(t,this.props),C.createElement("div",{className:this._classNames.root},i&&C.createElement(hi,{width:o,height:n,imageFit:r,src:i,role:"presentation",alt:"",onLoad:this._onImageLoad}),this.state.imageHasLoaded?this._renderCornerIcon():this._renderCenterIcon())},t.prototype._renderCenterIcon=function(){var e=this.props.iconProps;return C.createElement("div",{className:this._classNames.centeredIconWrapper},C.createElement(Ei,f({className:this._classNames.centeredIcon},e)))},t.prototype._renderCornerIcon=function(){var e=this.props.iconProps;return C.createElement(Ei,f({className:this._classNames.cornerIcon},e))},t}(C.Component),w_="42px",I_="32px",D_=lr(k_,(function(e){var t=e.theme,o=e.className,n=e.height,r=e.width,i=t.palette;return{root:[{borderBottom:"1px solid ".concat(i.neutralLight),position:"relative",backgroundColor:i.neutralLighterAlt,overflow:"hidden",height:n&&"".concat(n,"px"),width:r&&"".concat(r,"px")},o],centeredIcon:[{height:w_,width:w_,fontSize:w_}],centeredIconWrapper:[{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",position:"absolute",top:0,left:0}],cornerIcon:[{left:"10px",bottom:"10px",height:I_,width:I_,fontSize:I_,position:"absolute",overflow:"visible"}]}}),void 0,{scope:"DocumentCardImage"}),E_=Cr(),T_=function(e){function t(t){var o=e.call(this,t)||this;return oa(o),o}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.location,o=e.locationHref,n=e.ariaLabel,r=e.onClick,i=e.styles,a=e.theme,s=e.className;return this._classNames=E_(i,{theme:a,className:s}),C.createElement("a",{className:this._classNames.root,href:o,onClick:r,"aria-label":n},t)},t}(C.Component),P_=lr(T_,(function(e){var t=e.theme,o=e.className,n=t.palette,r=t.fonts;return{root:[Ao(c_,t).root,r.small,{color:n.themePrimary,display:"block",fontWeight:nt.semibold,overflow:"hidden",padding:"8px 16px",position:"relative",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",selectors:{":hover":{color:n.themePrimary,cursor:"pointer"}}},o]}}),void 0,{scope:"DocumentCardLocation"}),R_=Cr(),M_=function(e){function t(t){var o=e.call(this,t)||this;return oa(o),o}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.logoIcon,o=e.styles,n=e.theme,r=e.className;return this._classNames=R_(o,{theme:n,className:r}),C.createElement("div",{className:this._classNames.root},C.createElement(Ei,{iconName:t}))},t}(C.Component),N_={root:"ms-DocumentCardLogo"},B_=lr(M_,(function(e){var t=e.theme,o=e.className,n=t.palette,r=t.fonts;return{root:[Ao(N_,t).root,{fontSize:r.xxLargePlus.fontSize,color:n.themePrimary,display:"block",padding:"16px 16px 0 16px"},o]}}),void 0,{scope:"DocumentCardLogo"}),A_=Cr(),F_=function(e){function t(t){var o=e.call(this,t)||this;return o._renderPreviewList=function(e){var t=o.props,n=t.getOverflowDocumentCountText,r=t.maxDisplayCount,i=void 0===r?3:r,a=e.length-i,s=a?n?n(a):"+"+a:null,l=e.slice(0,i).map((function(e,t){return C.createElement("li",{key:t},C.createElement(hi,{className:o._classNames.fileListIcon,src:e.iconSrc,role:"presentation",alt:"",width:"16px",height:"16px"}),C.createElement(ll,f({className:o._classNames.fileListLink,href:e.url},e.linkProps),e.name))}));return C.createElement("div",null,C.createElement("ul",{className:o._classNames.fileList},l),s&&C.createElement("span",{className:o._classNames.fileListOverflowText},s))},oa(o),o}return m(t,e),t.prototype.render=function(){var e,t,o=this.props,n=o.previewImages,r=o.styles,i=o.theme,a=o.className,s=n.length>1;return this._classNames=A_(r,{theme:i,className:a,isFileList:s}),n.length>1?t=this._renderPreviewList(n):1===n.length&&(t=this._renderPreviewImage(n[0]),n[0].accentColor&&(e={borderBottomColor:n[0].accentColor})),C.createElement("div",{className:this._classNames.root,style:e},t)},t.prototype._renderPreviewImage=function(e){var t=e.width,o=e.height,n=e.imageFit,r=e.previewIconProps,i=e.previewIconContainerClass;if(r)return C.createElement("div",{className:gi(this._classNames.previewIcon,i),style:{width:t,height:o}},C.createElement(Ei,f({},r)));var a,s=C.createElement(hi,{width:t,height:o,imageFit:n,src:e.previewImageSrc,role:"presentation",alt:""});return e.iconSrc&&(a=C.createElement(hi,{className:this._classNames.icon,src:e.iconSrc,role:"presentation",alt:""})),C.createElement("div",null,s,a)},t}(C.Component),L_=lr(F_,(function(e){var t,o,n=e.theme,r=e.className,i=e.isFileList,a=n.palette,s=n.fonts,l=Ao(a_,n);return{root:[l.root,s.small,{backgroundColor:i?a.white:a.neutralLighterAlt,borderBottom:"1px solid ".concat(a.neutralLight),overflow:"hidden",position:"relative"},r],previewIcon:[l.iconContainer,{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}],icon:[l.icon,{left:"10px",bottom:"10px",position:"absolute"}],fileList:{padding:"16px 16px 0 16px",listStyleType:"none",margin:0,selectors:{li:{height:"16px",lineHeight:"16px",display:"flex",flexWrap:"nowrap",alignItems:"center",marginBottom:"8px",overflow:"hidden"}}},fileListIcon:{display:"inline-block",flexShrink:0,marginRight:"8px"},fileListLink:[sn(n,{highContrastStyle:{border:"1px solid WindowText",outline:"none"}}),{boxSizing:"border-box",color:a.neutralDark,flexGrow:1,overflow:"hidden",display:"inline-block",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",selectors:(t={":hover":{color:a.themePrimary}},t[".".concat(on," &:focus, :host(.").concat(on,") &:focus")]={selectors:(o={},o[Fo]={outline:"none"},o)},t)}],fileListOverflowText:{padding:"0px 16px 8px 16px",display:"block"}}}),void 0,{scope:"DocumentCardPreview"}),H_=Cr(),O_=function(e){function t(t){var o=e.call(this,t)||this;return oa(o),o}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.statusIcon,o=e.status,n=e.styles,r=e.theme,i=e.className,a={iconName:t,styles:{root:{padding:"8px"}}};return this._classNames=H_(n,{theme:r,className:i}),C.createElement("div",{className:this._classNames.root},t&&C.createElement(Ei,f({},a)),o)},t}(C.Component),z_={root:"ms-DocumentCardStatus"},W_=lr(O_,(function(e){var t=e.className,o=e.theme,n=o.palette,r=o.fonts;return{root:[Ao(z_,o).root,r.medium,{margin:"8px 16px",color:n.neutralPrimary,backgroundColor:n.neutralLighter,height:"32px"},t]}}),void 0,{scope:"DocumentCardStatus"}),V_=Cr(),K_=function(e){function t(t){var o=e.call(this,t)||this;return o._titleElement=C.createRef(),o._truncateTitle=function(){o._needMeasurement&&o._async.requestAnimationFrame(o._truncateWhenInAnimation)},o._truncateWhenInAnimation=function(){var e=o.props.title,t=o._titleElement.current;if(t){var n=getComputedStyle(t);if(n.width&&n.lineHeight&&n.height){var r=t.clientWidth,i=t.scrollWidth;o._clientWidth=r;var a=Math.floor((parseInt(n.height,10)+5)/parseInt(n.lineHeight,10));t.style.whiteSpace="";var s=i/(parseInt(n.width,10)*a);if(s>1){var l=e.length/s-3;return o.setState({truncatedTitleFirstPiece:e.slice(0,l/2),truncatedTitleSecondPiece:e.slice(e.length-l/2)})}}}},o._shrinkTitle=function(){var e=o.state,t=e.truncatedTitleFirstPiece,n=e.truncatedTitleSecondPiece;if(t&&n){var r=o._titleElement.current;if(!r)return;(r.scrollHeight>r.clientHeight+5||r.scrollWidth>r.clientWidth)&&o.setState({truncatedTitleFirstPiece:t.slice(0,t.length-1),truncatedTitleSecondPiece:n.slice(1)})}},oa(o),o._async=new sa(o),o._events=new fl(o),o._clientWidth=void 0,o.state={truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0},o}return m(t,e),t.prototype.componentDidUpdate=function(e){var t=this;if(this.props.title!==e.title&&this.setState({truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0}),e.shouldTruncate!==this.props.shouldTruncate){var o=Fc(this.context);this.props.shouldTruncate?(this._truncateTitle(),this._async.requestAnimationFrame(this._shrinkTitle),this._events.on(o,"resize",this._updateTruncation)):this._events.off(o,"resize",this._updateTruncation)}else this._needMeasurement&&this._async.requestAnimationFrame((function(){t._truncateWhenInAnimation(),t._shrinkTitle()}))},t.prototype.componentDidMount=function(){if(this.props.shouldTruncate){this._truncateTitle();var e=Fc(this.context);this._events.on(e,"resize",this._updateTruncation)}},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},t.prototype.render=function(){var e=this,t=this.props,o=t.title,n=t.shouldTruncate,r=t.showAsSecondaryTitle,i=t.styles,a=t.theme,s=t.className,l=this.state,c=l.truncatedTitleFirstPiece,u=l.truncatedTitleSecondPiece;return this._classNames=V_(i,{theme:a,className:s,showAsSecondaryTitle:r}),n&&c&&u?C.createElement(r_.Consumer,null,(function(t){var n=t.role,r=t.tabIndex;return C.createElement("div",{className:e._classNames.root,ref:e._titleElement,title:o,tabIndex:r,role:n},c,"…",u)})):C.createElement(r_.Consumer,null,(function(t){var n=t.role,r=t.tabIndex;return C.createElement("div",{className:e._classNames.root,ref:e._titleElement,title:o,tabIndex:r,role:n,style:e._needMeasurement?{whiteSpace:"nowrap"}:void 0},o)}))},Object.defineProperty(t.prototype,"_needMeasurement",{get:function(){return!!this.props.shouldTruncate&&void 0===this._clientWidth},enumerable:!1,configurable:!0}),t.prototype._updateTruncation=function(){var e=this;this._timerId||(this._timerId=this._async.setTimeout((function(){delete e._timerId,e._clientWidth=void 0,e.setState({truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0})}),250))},t.contextType=la,t}(C.Component),G_=lr(K_,(function(e){var t,o=e.theme,n=e.className,r=e.showAsSecondaryTitle,i=o.palette,a=o.fonts,s=o.effects;return{root:[Ao(l_,o).root,r?a.medium:a.large,{padding:"8px 16px",display:"block",overflow:"hidden",position:"relative",wordWrap:"break-word",height:r?"45px":"38px",lineHeight:r?"18px":"21px",color:r?i.neutralSecondary:i.neutralPrimary,selectors:(t={":focus":{outline:"0px solid"}},t[".".concat(on," &:focus, :host(.").concat(on,") &:focus")]=un(i.neutralSecondary,s.roundedCorner2),t)},n]}}),void 0,{scope:"DocumentCardTitle"}),U_=function(e){var t;return function(o){t||(t=new Set,ta(e,{componentWillUnmount:function(){t.forEach((function(e){return cancelAnimationFrame(e)}))}}));var n=requestAnimationFrame((function(){t.delete(n),o()}));t.add(n)}},j_=function(){function e(){this._size=0}return e.prototype.updateOptions=function(e){for(var t=[],o=[],n=0,r=0;rthis._notSelectableOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index ".concat(e," is not a selectable element."));if(this._notSelectableOptionsCache[t]!==e)return e-t+1}},e}();!function(e){e[e.smallFluid=0]="smallFluid",e[e.smallFixedFar=1]="smallFixedFar",e[e.smallFixedNear=2]="smallFixedNear",e[e.medium=3]="medium",e[e.large=4]="large",e[e.largeFixed=5]="largeFixed",e[e.extraLarge=6]="extraLarge",e[e.custom=7]="custom",e[e.customNear=8]="customNear"}(o_||(o_={}));var q_,Y_=Cr();!function(e){e[e.closed=0]="closed",e[e.animatingOpen=1]="animatingOpen",e[e.open=2]="open",e[e.animatingClosed=3]="animatingClosed"}(q_||(q_={}));var Z_,X_,Q_,J_,$_,eS=function(e){function t(t){var o=e.call(this,t)||this;o._panel=C.createRef(),o._animationCallback=null,o._hasCustomNavigation=!(!o.props.onRenderNavigation&&!o.props.onRenderNavigationContent),o.dismiss=function(e){o.props.onDismiss&&o.isActive&&o.props.onDismiss(e),(!e||e&&!e.defaultPrevented)&&o.close()},o._allowScrollOnPanel=function(e){e?o._allowTouchBodyScroll?gs(e,o._events):fs(e,o._events):o._events.off(o._scrollableContent),o._scrollableContent=e},o._onRenderNavigation=function(e){if(!o.props.onRenderNavigationContent&&!o.props.onRenderNavigation&&!o.props.hasCloseButton)return null;var t=o.props.onRenderNavigationContent,n=void 0===t?o._onRenderNavigationContent:t;return C.createElement("div",{className:o._classNames.navigation},n(e,o._onRenderNavigationContent))},o._onRenderNavigationContent=function(e){var t,n=e.closeButtonAriaLabel,r=e.hasCloseButton,i=e.onRenderHeader,a=void 0===i?o._onRenderHeader:i;if(r){var s=null===(t=o._classNames.subComponentStyles)||void 0===t?void 0:t.closeButton();return C.createElement(C.Fragment,null,!o._hasCustomNavigation&&a(o.props,o._onRenderHeader,o._headerTextId),C.createElement(yp,{styles:s,className:o._classNames.closeButton,onClick:o._onPanelClick,ariaLabel:n,title:n,"data-is-visible":!0,iconProps:{iconName:"Cancel"}}))}return null},o._onRenderHeader=function(e,t,n){var r=e.headerText,i=e.headerTextProps,a=void 0===i?{}:i;return r?C.createElement("div",{className:o._classNames.header},C.createElement("div",f({id:n,role:"heading","aria-level":1},a,{className:gi(o._classNames.headerText,a.className)}),r)):null},o._onRenderBody=function(e){return C.createElement("div",{className:o._classNames.content},e.children)},o._onRenderFooter=function(e){var t=o.props.onRenderFooterContent,n=void 0===t?null:t;return n?C.createElement("div",{className:o._classNames.footer},C.createElement("div",{className:o._classNames.footerInner},n())):null},o._animateTo=function(e){e===q_.open&&o.props.onOpen&&o.props.onOpen(),o._animationCallback=o._async.setTimeout((function(){o.setState({visibility:e}),o._onTransitionComplete(e)}),200)},o._clearExistingAnimationTimer=function(){null!==o._animationCallback&&o._async.clearTimeout(o._animationCallback)},o._onPanelClick=function(e){o.dismiss(e)},o._onTransitionComplete=function(e){o._updateFooterPosition(),e===q_.open&&o.props.onOpened&&o.props.onOpened(),e===q_.closed&&o.props.onDismissed&&o.props.onDismissed()};var n=o.props.allowTouchBodyScroll,r=void 0!==n&&n;return o._allowTouchBodyScroll=r,oa(o),o.state={isFooterSticky:!1,visibility:q_.closed,id:us("Panel")},o}return m(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?null:!e.isOpen||t.visibility!==q_.closed&&t.visibility!==q_.animatingClosed?e.isOpen||t.visibility!==q_.open&&t.visibility!==q_.animatingOpen?null:{visibility:q_.animatingClosed}:{visibility:q_.animatingOpen}},t.prototype.componentDidMount=function(){this._async=new sa(this),this._events=new fl(this);var e=Fc(this.context),t=Ac(this.context);this._events.on(e,"resize",this._updateFooterPosition),this._shouldListenForOuterClick(this.props)&&this._events.on(null==t?void 0:t.body,"mousedown",this._dismissOnOuterClick,!0),this.props.isOpen&&this.setState({visibility:q_.animatingOpen})},t.prototype.componentDidUpdate=function(e,t){var o=this._shouldListenForOuterClick(this.props),n=this._shouldListenForOuterClick(e);this.state.visibility!==t.visibility&&(this._clearExistingAnimationTimer(),this.state.visibility===q_.animatingOpen?this._animateTo(q_.open):this.state.visibility===q_.animatingClosed&&this._animateTo(q_.closed));var r=Ac(this.context);o&&!n?this._events.on(null==r?void 0:r.body,"mousedown",this._dismissOnOuterClick,!0):!o&&n&&this._events.off(null==r?void 0:r.body,"mousedown",this._dismissOnOuterClick,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this.props,t=e.className,o=void 0===t?"":t,n=e.elementToFocusOnDismiss,r=e.firstFocusableSelector,i=e.focusTrapZoneProps,a=e.forceFocusInsideTrap,s=e.hasCloseButton,l=e.headerText,c=e.headerClassName,u=void 0===c?"":c,d=e.ignoreExternalFocusing,p=e.isBlocking,h=e.isFooterAtBottom,m=e.isLightDismiss,g=e.isHiddenOnDismiss,v=e.layerProps,b=e.overlayProps,y=e.popupProps,_=e.type,S=e.styles,x=e.theme,k=e.customWidth,w=e.onLightDismissClick,I=void 0===w?this._onPanelClick:w,D=e.onRenderNavigation,E=void 0===D?this._onRenderNavigation:D,T=e.onRenderHeader,P=void 0===T?this._onRenderHeader:T,R=e.onRenderBody,M=void 0===R?this._onRenderBody:R,N=e.onRenderFooter,B=void 0===N?this._onRenderFooter:N,A=this.state,F=A.isFooterSticky,L=A.visibility,H=A.id,O=_===o_.smallFixedNear||_===o_.customNear,z=pr(x)?O:!O,W=_===o_.custom||_===o_.customNear?{width:k}:{},V=Xr(this.props,Zr),K=this.isActive,G=L===q_.animatingClosed||L===q_.animatingOpen;if(this._headerTextId=l&&H+"-headerText",!K&&!G&&!g)return null;this._classNames=Y_(S,{theme:x,className:o,focusTrapZoneClassName:i?i.className:void 0,hasCloseButton:s,headerClassName:u,isAnimating:G,isFooterSticky:F,isFooterAtBottom:h,isOnRightSide:z,isOpen:K,isHiddenOnDismiss:g,type:_,hasCustomNavigation:this._hasCustomNavigation});var U,j=this._classNames,q=this._allowTouchBodyScroll;return p&&K&&(U=C.createElement(TC,f({className:j.overlay,isDarkThemed:!1,onClick:m?I:void 0,allowTouchBodyScroll:q},b))),C.createElement(Eu,f({},v),C.createElement(Tc,f({role:"dialog","aria-modal":p?"true":void 0,ariaLabelledBy:this._headerTextId?this._headerTextId:void 0,onDismiss:this.dismiss,className:j.hiddenPanel,enableAriaHiddenSiblings:!!K},y),C.createElement("div",f({"aria-hidden":!K&&G},V,{ref:this._panel,className:j.root}),U,C.createElement(Qm,f({ignoreExternalFocusing:d,forceFocusInsideTrap:!(!p||g&&!K)&&a,firstFocusableSelector:r,isClickableOutsideFocusTrap:!0},i,{className:j.main,style:W,elementToFocusOnDismiss:n}),C.createElement("div",{className:j.contentInner},C.createElement("div",{ref:this._allowScrollOnPanel,className:j.scrollableContent,"data-is-scrollable":!0},C.createElement("div",{className:j.commands,"data-is-visible":!0},E(this.props,this._onRenderNavigation)),(this._hasCustomNavigation||!s)&&P(this.props,this._onRenderHeader,this._headerTextId),M(this.props,this._onRenderBody),B(this.props,this._onRenderFooter)))))))},t.prototype.open=function(){void 0===this.props.isOpen&&(this.isActive||this.setState({visibility:q_.animatingOpen}))},t.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:q_.animatingClosed})},Object.defineProperty(t.prototype,"isActive",{get:function(){return this.state.visibility===q_.open||this.state.visibility===q_.animatingOpen},enumerable:!1,configurable:!0}),t.prototype._shouldListenForOuterClick=function(e){return!!e.isBlocking&&!!e.isOpen},t.prototype._updateFooterPosition=function(){var e=this._scrollableContent;if(e){var t=e.clientHeight,o=e.scrollHeight;this.setState({isFooterSticky:t0&&a();var i=o._id+e.key;r.items.push(n(f(f({id:i},e),{index:t}),o._onRenderItem)),r.id=i;break;case Iv.Divider:t>0&&r.items.push(n(f(f({},e),{index:t}),o._onRenderItem)),r.items.length>0&&a();break;default:r.items.push(n(f(f({},e),{index:t}),o._onRenderItem))}}(e,t)})),r.items.length>0&&a(),C.createElement(C.Fragment,null,i)},o._onRenderItem=function(e){switch(e.itemType){case Iv.Divider:return o._renderSeparator(e);case Iv.Header:return o._renderHeader(e);default:return o._renderOption(e)}},o._renderOption=function(e){var t,n=o.props,r=n.onRenderOption,i=void 0===r?o._onRenderOption:r,a=n.hoisted.selectedIndices,s=void 0===a?[]:a,l=!(void 0===e.index||!s)&&s.indexOf(e.index)>-1,c=e.hidden?o._classNames.dropdownItemHidden:l&&!0===e.disabled?o._classNames.dropdownItemSelectedAndDisabled:l?o._classNames.dropdownItemSelected:!0===e.disabled?o._classNames.dropdownItemDisabled:o._classNames.dropdownItem,u=e.title,d=o._listId+e.index,p=null!==(t=e.id)&&void 0!==t?t:d+"-label",h=o._classNames.subComponentStyles?o._classNames.subComponentStyles.multiSelectItem:void 0;return o.props.multiSelect?C.createElement(uf,{id:d,key:e.key,disabled:e.disabled,onChange:o._onItemClick(e),inputProps:f({"aria-selected":l,onMouseEnter:o._onItemMouseEnter.bind(o,e),onMouseLeave:o._onMouseItemLeave.bind(o,e),onMouseMove:o._onItemMouseMove.bind(o,e),role:"option"},{"data-index":e.index,"data-is-focusable":!(e.disabled||e.hidden)}),label:e.text,title:u,onRenderLabel:o._onRenderItemLabel.bind(o,f(f({},e),{id:p})),className:gi(c,"is-multi-select"),checked:l,styles:h,ariaPositionInSet:e.hidden?void 0:o._sizePosCache.positionInSet(e.index),ariaSetSize:e.hidden?void 0:o._sizePosCache.optionSetSize,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:p}):C.createElement(dh,{id:d,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:c,onClick:o._onItemClick(e),onMouseEnter:o._onItemMouseEnter.bind(o,e),onMouseLeave:o._onMouseItemLeave.bind(o,e),onMouseMove:o._onItemMouseMove.bind(o,e),role:"option","aria-selected":l?"true":"false",ariaLabel:e.ariaLabel,title:u,"aria-posinset":o._sizePosCache.positionInSet(e.index),"aria-setsize":o._sizePosCache.optionSetSize},i(e,o._onRenderOption))},o._onRenderOption=function(e){return C.createElement("span",{className:o._classNames.dropdownOptionText},e.text)},o._onRenderMultiselectOption=function(e){return C.createElement("span",{id:e.id,"aria-hidden":"true",className:o._classNames.dropdownOptionText},e.text)},o._onRenderItemLabel=function(e){var t=o.props.onRenderOption;return(void 0===t?o._onRenderMultiselectOption:t)(e,o._onRenderMultiselectOption)},o._onPositioned=function(e){o._focusZone.current&&o._requestAnimationFrame((function(){var e=o.props.hoisted.selectedIndices;if(o._focusZone.current)if(!o._hasBeenPositioned&&e&&e[0]&&!o.props.options[e[0]].disabled){var t=ht().getElementById("".concat(o._id,"-list").concat(e[0]));t&&o._focusZone.current.focusElement(t),o._hasBeenPositioned=!0}else o._focusZone.current.focus()})),o.state.calloutRenderEdge&&o.state.calloutRenderEdge===e.targetEdge||o.setState({calloutRenderEdge:e.targetEdge})},o._onItemClick=function(e){return function(t){e.disabled||(o.setSelectedIndex(t,e.index),o.props.multiSelect||o.setState({isOpen:!1}))}},o._onScroll=function(){var e=Fc(o.context);o._isScrollIdle||void 0===o._scrollIdleTimeoutId?o._isScrollIdle=!1:(e.clearTimeout(o._scrollIdleTimeoutId),o._scrollIdleTimeoutId=void 0),o._scrollIdleTimeoutId=e.setTimeout((function(){o._isScrollIdle=!0}),o._scrollIdleDelay)},o._onMouseItemLeave=function(e,t){if(!o._shouldIgnoreMouseEvent()&&o._host.current)if(o._host.current.setActive)try{o._host.current.setActive()}catch(e){}else o._host.current.focus()},o._onDismiss=function(){o.setState({isOpen:!1})},o._onDropdownBlur=function(e){o._isDisabled()||o.state.isOpen||(o.setState({hasFocus:!1}),o.props.onBlur&&o.props.onBlur(e))},o._onDropdownKeyDown=function(e){if(!o._isDisabled()&&(o._lastKeyDownWasAltOrMeta=o._isAltOrMeta(e),!o.props.onKeyDown||(o.props.onKeyDown(e),!e.defaultPrevented))){var t,n=o.props.hoisted.selectedIndices.length?o.props.hoisted.selectedIndices[0]:-1,r=e.altKey||e.metaKey,i=o.state.isOpen;switch(e.which){case ur.enter:o.setState({isOpen:!i});break;case ur.escape:if(!i)return;o.setState({isOpen:!1});break;case ur.up:if(r){if(i){o.setState({isOpen:!1});break}return}o.props.multiSelect?o.setState({isOpen:!0}):o._isDisabled()||(t=o._moveIndex(e,-1,n-1,n));break;case ur.down:r&&(e.stopPropagation(),e.preventDefault()),r&&!i||o.props.multiSelect?o.setState({isOpen:!0}):o._isDisabled()||(t=o._moveIndex(e,1,n+1,n));break;case ur.home:o.props.multiSelect||(t=o._moveIndex(e,1,0,n));break;case ur.end:o.props.multiSelect||(t=o._moveIndex(e,-1,o.props.options.length-1,n));break;case ur.space:break;default:return}t!==n&&(e.stopPropagation(),e.preventDefault())}},o._onDropdownKeyUp=function(e){if(!o._isDisabled()){var t=o._shouldHandleKeyUp(e),n=o.state.isOpen;o.props.onKeyUp&&(o.props.onKeyUp(e),e.defaultPrevented)||(e.which===ur.space?(o.setState({isOpen:!n}),e.stopPropagation(),e.preventDefault()):t&&n&&o.setState({isOpen:!1}))}},o._onZoneKeyDown=function(e){var t,n,r;o._lastKeyDownWasAltOrMeta=o._isAltOrMeta(e);var i=e.altKey||e.metaKey;switch(e.which){case ur.up:i?o.setState({isOpen:!1}):o._host.current&&(r=Va(o._host.current,o._host.current.lastChild,!0));break;case ur.home:case ur.end:case ur.pageUp:case ur.pageDown:break;case ur.down:!i&&o._host.current&&(r=Wa(o._host.current,o._host.current.firstChild,!0));break;case ur.escape:o.setState({isOpen:!1});break;case ur.tab:o.setState({isOpen:!1});var a=ht();a&&(e.shiftKey?null===(t=ja(a.body,o._dropDown.current,!1,!1,!0,!0))||void 0===t||t.focus():null===(n=qa(a.body,o._dropDown.current,!1,!1,!0,!0))||void 0===n||n.focus());break;default:return}r&&r.focus(),e.stopPropagation(),e.preventDefault()},o._onZoneKeyUp=function(e){o._shouldHandleKeyUp(e)&&o.state.isOpen&&(o.setState({isOpen:!1}),e.preventDefault())},o._onDropdownClick=function(e){if(!o.props.onClick||(o.props.onClick(e),!e.defaultPrevented)){var t=o.state.isOpen;o._isDisabled()||o._shouldOpenOnFocus()||o.setState({isOpen:!t}),o._isFocusedByClick=!1}},o._onDropdownMouseDown=function(){o._isFocusedByClick=!0},o._onFocus=function(e){if(!o._isDisabled()){o.props.onFocus&&o.props.onFocus(e);var t={hasFocus:!0};o._shouldOpenOnFocus()&&(t.isOpen=!0),o.setState(t)}},o._isDisabled=function(){var e=o.props.disabled,t=o.props.isDisabled;return void 0===e&&(e=t),e},o._onRenderLabel=function(e){var t=e.label,n=e.required,r=e.disabled,i=o._classNames.subComponentStyles?o._classNames.subComponentStyles.label:void 0;return t?C.createElement(hf,{className:o._classNames.label,id:o._labelId,required:n,styles:i,disabled:r},t):null},oa(o),t.multiSelect,t.selectedKey,t.selectedKeys,t.defaultSelectedKey,t.defaultSelectedKeys;var n=t.options;return o._id=t.id||us("Dropdown"),o._labelId=o._id+"-label",o._listId=o._id+"-list",o._optionId=o._id+"-option",o._isScrollIdle=!0,o._hasBeenPositioned=!1,o._sizePosCache.updateOptions(n),o.state={isOpen:!1,hasFocus:!1,calloutRenderEdge:void 0},o}return m(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props;return Hv(e.options,e.hoisted.selectedIndices)},enumerable:!1,configurable:!0}),t.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},t.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this._hasBeenPositioned=!1,this.props.onDismiss&&this.props.onDismiss())},t.prototype.render=function(){var e=this._id,t=this.props,o=t.className,n=t.label,r=t.options,i=t.ariaLabel,a=t.required,s=t.errorMessage,l=t.styles,c=t.theme,u=t.panelProps,d=t.calloutProps,p=t.onRenderTitle,h=void 0===p?this._getTitle:p,m=t.onRenderContainer,g=void 0===m?this._onRenderContainer:m,v=t.onRenderCaretDown,b=void 0===v?this._onRenderCaretDown:v,y=t.onRenderLabel,_=void 0===y?this._onRenderLabel:y,S=t.onRenderItem,x=void 0===S?this._onRenderItem:S,k=t.hoisted.selectedIndices,w=this.state,I=w.isOpen,D=w.calloutRenderEdge,E=w.hasFocus,T=t.onRenderPlaceholder||t.onRenderPlaceHolder||this._getPlaceholder;r!==this._sizePosCache.cachedOptions&&this._sizePosCache.updateOptions(r);var P=Hv(r,k),R=Xr(t,Zr),M=this._isDisabled(),N=e+"-errorMessage";this._classNames=dS(l,{theme:c,className:o,hasError:!!(s&&s.length>0),hasLabel:!!n,isOpen:I,required:a,disabled:M,isRenderingPlaceholder:!P.length,panelClassName:u?u.className:void 0,calloutClassName:d?d.className:void 0,calloutRenderEdge:D});var B=!!s&&s.length>0;return C.createElement("div",{className:this._classNames.root,ref:this.props.hoisted.rootRef,"aria-owns":I?this._listId:void 0},_(this.props,this._onRenderLabel),C.createElement("div",f({"data-is-focusable":!M,"data-ktp-target":!0,ref:this._dropDown,id:e,tabIndex:M?-1:0,role:"combobox","aria-haspopup":"listbox","aria-expanded":I?"true":"false","aria-label":i,"aria-labelledby":n&&!i?Sl(this._labelId,this._optionId):void 0,"aria-describedby":B?this._id+"-errorMessage":void 0,"aria-required":a,"aria-disabled":M,"aria-controls":I?this._listId:void 0},R,{className:this._classNames.dropdown,onBlur:this._onDropdownBlur,onKeyDown:this._onDropdownKeyDown,onKeyUp:this._onDropdownKeyUp,onClick:this._onDropdownClick,onMouseDown:this._onDropdownMouseDown,onFocus:this._onFocus}),C.createElement("span",{id:this._optionId,className:this._classNames.title,"aria-live":E?"polite":void 0,"aria-atomic":!!E||void 0,"aria-invalid":B},P.length?h(P,this._onRenderTitle):T(t,this._onRenderPlaceholder)),C.createElement("span",{className:this._classNames.caretDownWrapper},b(t,this._onRenderCaretDown))),I&&g(f(f({},t),{onDismiss:this._onDismiss,onRenderItem:x}),this._onRenderContainer),B&&C.createElement("div",{role:"alert",id:N,className:this._classNames.errorMessage},s))},t.prototype.focus=function(e){this._dropDown.current&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},t.prototype.setSelectedIndex=function(e,t){var o=this.props,n=o.options,r=o.selectedKey,i=o.selectedKeys,a=o.multiSelect,s=o.notifyOnReselect,l=o.hoisted.selectedIndices,c=void 0===l?[]:l,u=!!c&&c.indexOf(t)>-1,d=[];if(t=Math.max(0,Math.min(n.length-1,t)),void 0===r&&void 0===i){if(a||s||t!==c[0]){if(a)if(d=c?this._copyArray(c):[],u){var p=d.indexOf(t);p>-1&&d.splice(p,1)}else d.push(t);else d=[t];e.persist(),this.props.hoisted.setSelectedIndices(d),this._onChange(e,n,t,u,a)}}else this._onChange(e,n,t,u,a)},t.prototype._copyArray=function(e){for(var t=[],o=0,n=e;o=r.length?o=0:o<0&&(o=r.length-1);for(var i=0;r[o].itemType===Iv.Header||r[o].itemType===Iv.Divider||r[o].disabled;){if(i>=r.length)return n;o+t<0?o=r.length:o+t>=r.length&&(o=-1),o+=t,i++}return this.setSelectedIndex(e,o),o},t.prototype._renderFocusableList=function(e){var t=e.onRenderList,o=void 0===t?this._onRenderList:t,n=e.label,r=e.ariaLabel,i=e.multiSelect;return C.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},C.createElement(Vs,{ref:this._focusZone,direction:fa.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":r,"aria-labelledby":n&&!r?this._labelId:void 0,"aria-multiselectable":i},o(e,this._onRenderList)))},t.prototype._renderSeparator=function(e){var t=e.index,o=e.key,n=e.hidden?this._classNames.dropdownDividerHidden:this._classNames.dropdownDivider;return t>0?C.createElement("div",{role:"presentation",key:o,className:n}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,o=void 0===t?this._onRenderOption:t,n=e.key,r=e.id,i=e.hidden?this._classNames.dropdownItemHeaderHidden:this._classNames.dropdownItemHeader;return C.createElement("div",{id:r,key:n,className:i},o(e,this._onRenderOption))},t.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},t.prototype._onItemMouseMove=function(e,t){var o=Ac(this.context),n=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&o.activeElement!==n&&n.focus()},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._isAltOrMeta=function(e){return e.which===ur.alt||"Meta"===e.key},t.prototype._shouldHandleKeyUp=function(e){var t=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!t&&!(Tl()||Ml())},t.prototype._shouldOpenOnFocus=function(){var e=this.state.hasFocus,t=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&!0===t&&!e},t.defaultProps={options:[]},t.contextType=la,t}(C.Component),CS={root:"ms-Dropdown-container",label:"ms-Dropdown-label",dropdown:"ms-Dropdown",title:"ms-Dropdown-title",caretDownWrapper:"ms-Dropdown-caretDownWrapper",caretDown:"ms-Dropdown-caretDown",callout:"ms-Dropdown-callout",panel:"ms-Dropdown-panel",dropdownItems:"ms-Dropdown-items",dropdownItem:"ms-Dropdown-item",dropdownDivider:"ms-Dropdown-divider",dropdownOptionText:"ms-Dropdown-optionText",dropdownItemHeader:"ms-Dropdown-header",titleIsPlaceHolder:"ms-Dropdown-titleIsPlaceHolder",titleHasError:"ms-Dropdown-title--hasError"},_S=((mS={})["".concat(Fo,", ").concat(Lo.replace("@media ",""))]=f({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),mS),SS={selectors:f((fS={},fS[Fo]=(gS={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},gS[".".concat(on," &:focus:after")]={borderColor:"HighlightText"},gS),fS[".ms-Checkbox-checkbox"]=(vS={},vS[Fo]={borderColor:"HighlightText"},vS),fS),_S)},xS={selectors:(bS={},bS[Fo]={borderColor:"Highlight"},bS)},kS=Jo(0,Wo),wS=lr(hS,(function(e){var t,o,n,r,i,a,s,l,c,u,d,p,h=e.theme,m=e.hasError,g=e.hasLabel,v=e.className,y=e.isOpen,C=e.disabled,_=e.required,S=e.isRenderingPlaceholder,x=e.panelClassName,k=e.calloutClassName,w=e.calloutRenderEdge;if(!h)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var I=Ao(CS,h),D=h.palette,E=h.semanticColors,T=h.effects,P=h.fonts,R={color:E.menuItemTextHovered},M={color:E.menuItemText},N={borderColor:E.errorText},B=[I.dropdownItem,{backgroundColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:"flex",alignItems:"center",padding:"0 8px",width:"100%",minHeight:36,lineHeight:20,height:0,position:"relative",border:"1px solid transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",".ms-Button-flexContainer":{width:"100%"}}],A=[I.dropdownItemHeader,f(f({},P.medium),{fontWeight:nt.semibold,color:E.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(t={},t[Fo]=f({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)})],F=E.menuItemBackgroundPressed,L=function(e){var t,o;return void 0===e&&(e=!1),{selectors:(t={"&:hover":[{color:E.menuItemTextHovered,backgroundColor:e?F:E.menuItemBackgroundHovered},SS],"&.is-multi-select:hover":[{backgroundColor:e?F:"transparent"},SS],"&:active:hover":[{color:E.menuItemTextHovered,backgroundColor:e?E.menuItemBackgroundHovered:E.menuItemBackgroundPressed},SS]},t[".".concat(on," &:focus:after, :host(.").concat(on,") &:focus:after")]=(o={left:0,top:0,bottom:0,right:0},o[Fo]={inset:"2px"},o),t[Fo]={border:"none"},t)}},H=b(b([],B,!0),[{backgroundColor:F,color:E.menuItemTextHovered},L(!0),SS],!1),O=b(b([],B,!0),[{color:E.disabledText,cursor:"default",selectors:(o={},o[Fo]={color:"GrayText",border:"none"},o)}],!1),z=w===Pl.bottom?"".concat(T.roundedCorner2," ").concat(T.roundedCorner2," 0 0"):"0 0 ".concat(T.roundedCorner2," ").concat(T.roundedCorner2),W=w===Pl.bottom?"0 0 ".concat(T.roundedCorner2," ").concat(T.roundedCorner2):"".concat(T.roundedCorner2," ").concat(T.roundedCorner2," 0 0");return{root:[I.root,v],label:I.label,dropdown:[I.dropdown,fn,P.medium,{color:E.menuItemText,borderColor:E.focusBorder,position:"relative",outline:0,userSelect:"none",selectors:(n={},n["&:hover ."+I.title]=[!C&&R,{borderColor:y?D.neutralSecondary:D.neutralPrimary},xS],n["&:focus ."+I.title]=[!C&&R,{selectors:(r={},r[Fo]={color:"Highlight"},r)}],n["&:focus:after"]=[{pointerEvents:"none",content:"''",position:"absolute",boxSizing:"border-box",top:"0px",left:"0px",width:"100%",height:"100%",border:C?"none":"2px solid ".concat(D.themePrimary),borderRadius:"2px",selectors:(i={},i[Fo]={color:"Highlight"},i)}],n["&:active ."+I.title]=[!C&&R,{borderColor:D.themePrimary},xS],n["&:hover ."+I.caretDown]=!C&&M,n["&:focus ."+I.caretDown]=[!C&&M,{selectors:(a={},a[Fo]={color:"Highlight"},a)}],n["&:active ."+I.caretDown]=!C&&M,n["&:hover ."+I.titleIsPlaceHolder]=!C&&M,n["&:focus ."+I.titleIsPlaceHolder]=!C&&M,n["&:active ."+I.titleIsPlaceHolder]=!C&&M,n["&:hover ."+I.titleHasError]=N,n["&:active ."+I.titleHasError]=N,n)},y&&"is-open",C&&"is-disabled",_&&"is-required",_&&!g&&{selectors:(s={":before":{content:"'*'",color:E.errorText,position:"absolute",top:-5,right:-10}},s[Fo]={selectors:{":after":{right:-14}}},s)}],title:[I.title,fn,{backgroundColor:E.inputBackground,borderWidth:1,borderStyle:"solid",borderColor:E.inputBorder,borderRadius:y?z:T.roundedCorner2,cursor:"pointer",display:"block",height:32,lineHeight:30,padding:"0 28px 0 8px",position:"relative",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},S&&[I.titleIsPlaceHolder,{color:E.inputPlaceholderText}],m&&[I.titleHasError,N],C&&{backgroundColor:E.disabledBackground,border:"none",color:E.disabledText,cursor:"default",selectors:(l={},l[Fo]=f({border:"1px solid GrayText",color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),l)}],caretDownWrapper:[I.caretDownWrapper,{height:32,lineHeight:30,paddingTop:1,position:"absolute",right:8,top:0},!C&&{cursor:"pointer"}],caretDown:[I.caretDown,{color:D.neutralSecondary,fontSize:P.small.fontSize,pointerEvents:"none"},C&&{color:E.disabledText,selectors:(c={},c[Fo]=f({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),c)}],errorMessage:f(f({color:E.errorText},h.fonts.small),{paddingTop:5}),callout:[I.callout,{boxShadow:T.elevation8,borderRadius:W,selectors:(u={},u[".ms-Callout-main"]={borderRadius:W},u)},k],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[I.dropdownItems,{display:"block"}],dropdownItem:b(b([],B,!0),[L()],!1),dropdownItemSelected:H,dropdownItemDisabled:O,dropdownItemSelectedAndDisabled:[H,O,{backgroundColor:"transparent"}],dropdownItemHidden:b(b([],B,!0),[{display:"none"}],!1),dropdownDivider:[I.dropdownDivider,{height:1,backgroundColor:E.bodyDivider}],dropdownDividerHidden:[I.dropdownDivider,{display:"none"}],dropdownOptionText:[I.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:A,dropdownItemHeaderHidden:b(b([],A,!0),[{display:"none"}],!1),subComponentStyles:{label:{root:{display:"inline-block"}},multiSelectItem:{root:{padding:0},label:{alignSelf:"stretch",padding:"0 8px",width:"100%"},input:{selectors:(d={},d[".".concat(on," &:focus + label::before, :host(.").concat(on,") &:focus + label::before")]={outlineOffset:"0px"},d)}},panel:{root:[x],main:{selectors:(p={},p[kS]={width:272},p)},contentInner:{padding:"0 0 20px"}}}}}),void 0,{scope:"Dropdown"});wS.displayName="Dropdown",qt([{rawString:".resultContent_4cc31f3f{display:table-row}.resultContent_4cc31f3f .resultItem_4cc31f3f{display:table-cell;vertical-align:bottom}.peoplePickerPersona_4cc31f3f{width:180px}.peoplePickerPersona_4cc31f3f .ms-Persona-details{width:100%}.peoplePicker_4cc31f3f .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_4cc31f3f{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}"}]),qt([{rawString:".pickerText_9f838726{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid "},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";min-width:180px;padding:1px;min-height:32px}.pickerText_9f838726:hover{border-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.pickerInput_9f838726{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;margin:1px}.pickerInput_9f838726::-ms-clear{display:none}"}]);var IS,DS="pickerText_9f838726",ES="pickerInput_9f838726",TS=a,PS=function(e){function t(t){var o=e.call(this,t)||this;return o.floatingPicker=C.createRef(),o.selectedItemsList=C.createRef(),o.root=C.createRef(),o.input=C.createRef(),o.onSelectionChange=function(){o.forceUpdate()},o.onInputChange=function(e,t){t||(o.setState({queryString:e}),o.floatingPicker.current&&o.floatingPicker.current.onQueryStringChanged(e))},o.onInputFocus=function(e){o.selectedItemsList.current&&o.selectedItemsList.current.unselectAll(),o.props.inputProps&&o.props.inputProps.onFocus&&o.props.inputProps.onFocus(e)},o.onInputClick=function(e){if(o.selectedItemsList.current&&o.selectedItemsList.current.unselectAll(),o.floatingPicker.current&&o.inputElement){var t=""===o.inputElement.value||o.inputElement.value!==o.floatingPicker.current.inputText;o.floatingPicker.current.showPicker(t)}},o.onBackspace=function(e){e.which===ur.backspace&&o.selectedItemsList.current&&o.items.length&&(o.input.current&&!o.input.current.isValueSelected&&o.input.current.inputElement===e.currentTarget.ownerDocument.activeElement&&0===o.input.current.cursorLocation?(o.floatingPicker.current&&o.floatingPicker.current.hidePicker(),e.preventDefault(),o.selectedItemsList.current.removeItemAt(o.items.length-1),o._onSelectedItemsChanged()):o.selectedItemsList.current.hasSelectedItems()&&(o.floatingPicker.current&&o.floatingPicker.current.hidePicker(),e.preventDefault(),o.selectedItemsList.current.removeSelectedItems(),o._onSelectedItemsChanged()))},o.onCopy=function(e){o.selectedItemsList.current&&o.selectedItemsList.current.onCopy(e)},o.onPaste=function(e){if(o.props.onPaste){var t=e.clipboardData.getData("Text");e.preventDefault(),o.props.onPaste(t)}},o._onSuggestionSelected=function(e){var t=o.props.currentRenderedQueryString,n=o.state.queryString;if(void 0===t||t===n){var r=o.props.onItemSelected?o.props.onItemSelected(e):e;if(null===r)return;var i,a=r,s=r;s&&s.then?s.then((function(e){i=e,o._addProcessedItem(i)})):(i=a,o._addProcessedItem(i))}},o._onSelectedItemsChanged=function(){o.focus()},o._onSuggestionsShownOrHidden=function(){o.forceUpdate()},oa(o),o.selection=new My({onSelectionChanged:function(){return o.onSelectionChange()}}),o.state={queryString:""},o}return m(t,e),Object.defineProperty(t.prototype,"items",{get:function(){var e,t,o,n;return null!==(n=null!==(o=null!==(e=this.props.selectedItems)&&void 0!==e?e:null===(t=this.selectedItemsList.current)||void 0===t?void 0:t.items)&&void 0!==o?o:this.props.defaultSelectedItems)&&void 0!==n?n:null},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.forceUpdate()},t.prototype.focus=function(){this.input.current&&this.input.current.focus()},t.prototype.clearInput=function(){this.input.current&&this.input.current.clear()},Object.defineProperty(t.prototype,"inputElement",{get:function(){return this.input.current&&this.input.current.inputElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightedItems",{get:function(){return this.selectedItemsList.current?this.selectedItemsList.current.highlightedItems():[]},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.className,o=e.inputProps,n=e.disabled,r=e.focusZoneProps,i=this.floatingPicker.current&&-1!==this.floatingPicker.current.currentSelectedSuggestionIndex?"sug-"+this.floatingPicker.current.currentSelectedSuggestionIndex:void 0,a=!!this.floatingPicker.current&&this.floatingPicker.current.isSuggestionsShown;return C.createElement("div",{ref:this.root,className:gi("ms-BasePicker ms-BaseExtendedPicker",t||""),onKeyDown:this.onBackspace,onCopy:this.onCopy},C.createElement(Vs,f({direction:fa.bidirectional},r),C.createElement(Ry,{selection:this.selection,selectionMode:oy.multiple},C.createElement("div",{className:gi("ms-BasePicker-text",TS.pickerText),role:"list"},this.props.headerComponent,this.renderSelectedItemsList(),this.canAddItems()&&C.createElement(ha,f({},o,{className:gi("ms-BasePicker-input",TS.pickerInput),ref:this.input,onFocus:this.onInputFocus,onClick:this.onInputClick,onInputValueChange:this.onInputChange,"aria-activedescendant":i,"aria-owns":a?"suggestion-list":void 0,"aria-expanded":a,"aria-haspopup":"true",role:"combobox",disabled:n,onPaste:this.onPaste}))))),this.renderFloatingPicker())},Object.defineProperty(t.prototype,"floatingPickerProps",{get:function(){return this.props.floatingPickerProps},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedItemsListProps",{get:function(){return this.props.selectedItemsListProps},enumerable:!1,configurable:!0}),t.prototype.canAddItems=function(){var e=this.props.itemLimit;return void 0===e||this.items.length0,h=p?r:r.slice(0,d),m=(p?i:r.slice(d))||[];return C.createElement("div",{className:u.root},this.onRenderAriaDescription(),C.createElement("div",{className:u.itemContainer},a?this._getAddNewElement():null,C.createElement("ul",{className:u.members,"aria-label":s},this._onRenderVisiblePersonas(h,0===m.length&&1===r.length,c)),e?this._getOverflowElement(m):null))},t.prototype.onRenderAriaDescription=function(){var e=this.props.ariaDescription,t=this._classNames;return e&&C.createElement("span",{className:t.screenReaderOnly,id:this._ariaDescriptionId},e)},t.prototype._onRenderVisiblePersonas=function(e,t,o){var n=this,r=this.props,i=r.onRenderPersona,a=void 0===i?this._getPersonaControl:i,s=r.onRenderPersonaCoin,l=void 0===s?this._getPersonaCoinControl:s,c=r.onRenderPersonaWrapper;return e.map((function(e,r){var i=t?a(e,n._getPersonaControl):l(e,n._getPersonaCoinControl),s=e.onClick?function(){return n._getElementWithOnClickEvent(i,e,o,r)}:function(){return n._getElementWithoutOnClickEvent(i,e,o,r)};return C.createElement("li",{key:"".concat(t?"persona":"personaCoin","-").concat(r),className:n._classNames.member},c?c(e,s):s())}))},t.prototype._getElementWithOnClickEvent=function(e,t,o,n){var r=t.keytipProps;return C.createElement(BS,f({},Xr(t,Br),this._getElementProps(t,o,n),{keytipProps:r,onClick:this._onPersonaClick.bind(this,t)}),e)},t.prototype._getElementWithoutOnClickEvent=function(e,t,o,n){return C.createElement("div",f({},Xr(t,Br),this._getElementProps(t,o,n)),e)},t.prototype._getElementProps=function(e,t,o){var n=this._classNames;return{key:(e.imageUrl?"i":"")+o,"data-is-focusable":!0,className:n.itemButton,title:t?e.personaName:void 0,onMouseMove:this._onPersonaMouseMove.bind(this,e),onMouseOut:this._onPersonaMouseOut.bind(this,e)}},t.prototype._getOverflowElement=function(e){switch(this.props.overflowButtonType){case IS.descriptive:return this._getDescriptiveOverflowElement(e);case IS.downArrow:return this._getIconElement("ChevronDown");case IS.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 o=e.map((function(e){return e.personaName})).join(", "),n=f({title:o},this.props.overflowButtonProps),r=Math.max(e.length,0),i=this._classNames;return C.createElement(BS,f({},n,{ariaDescription:n.title,className:i.descriptiveOverflowButton}),C.createElement(Qi,{size:t,onRenderInitials:this._renderInitialsNotPictured(r),initialsColor:yi.transparent}))},t.prototype._getIconElement=function(e){var t=this.props,o=t.overflowButtonProps,n=t.personaSize,r=this._classNames;return C.createElement(BS,f({},o,{className:r.overflowButton}),C.createElement(Qi,{size:n,onRenderInitials:this._renderInitials(e,!0),initialsColor:yi.transparent}))},t.prototype._getAddNewElement=function(){var e=this.props,t=e.addButtonProps,o=e.personaSize,n=this._classNames;return C.createElement(BS,f({},t,{className:n.addButton}),C.createElement(Qi,{size:o,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 o=this._classNames;return function(){return C.createElement(Ei,{iconName:e,className:t?o.overflowInitialsIcon:""})}},t.prototype._renderInitialsNotPictured=function(e){var t=this._classNames;return function(){return C.createElement("span",{className:t.overflowInitialsIcon},e<100?"+"+e:"99+")}},t.defaultProps={maxDisplayablePersonas:5,personas:[],overflowPersonas:[],personaSize:vi.size32},t}(C.Component),VS={root:"ms-Facepile",addButton:"ms-Facepile-addButton ms-Facepile-itemButton",descriptiveOverflowButton:"ms-Facepile-descriptiveOverflowButton ms-Facepile-itemButton",itemButton:"ms-Facepile-itemButton ms-Facepile-person",itemContainer:"ms-Facepile-itemContainer",members:"ms-Facepile-members",member:"ms-Facepile-member",overflowButton:"ms-Facepile-overflowButton ms-Facepile-itemButton"},KS=lr(WS,(function(e){var t,o=e.className,n=e.theme,r=e.spacingAroundItemButton,i=void 0===r?2:r,a=n.palette,s=n.fonts,l=Ao(VS,n),c={textAlign:"center",padding:0,borderRadius:"50%",verticalAlign:"top",display:"inline",backgroundColor:"transparent",border:"none",selectors:{"&::-moz-focus-inner":{padding:0,border:0}}};return{root:[l.root,n.fonts.medium,{width:"auto"},o],addButton:[l.addButton,sn(n,{inset:-1}),c,{fontSize:s.medium.fontSize,color:a.white,backgroundColor:a.themePrimary,marginRight:2*i+"px",selectors:{"&:hover":{backgroundColor:a.themeDark},"&:focus":{backgroundColor:a.themeDark},"&:active":{backgroundColor:a.themeDarker},"&:disabled":{backgroundColor:a.neutralTertiaryAlt}}}],descriptiveOverflowButton:[l.descriptiveOverflowButton,sn(n,{inset:-1}),c,{fontSize:s.small.fontSize,color:a.neutralSecondary,backgroundColor:a.neutralLighter,marginLeft:"".concat(2*i,"px")}],itemButton:[l.itemButton,c],itemContainer:[l.itemContainer,{display:"flex"}],members:[l.members,{display:"flex",overflow:"hidden",listStyleType:"none",padding:0,margin:"-".concat(i,"px")}],member:[l.member,{display:"inline-flex",flex:"0 0 auto",margin:"".concat(i,"px")}],overflowButton:[l.overflowButton,sn(n,{inset:-1}),c,{fontSize:s.medium.fontSize,color:a.neutralSecondary,backgroundColor:a.neutralLighter,marginLeft:"".concat(2*i,"px")}],overflowInitialsIcon:[{color:a.neutralPrimary,selectors:(t={},t[Fo]={color:"WindowText"},t)}],screenReaderOnly:vo}}),void 0,{scope:"Facepile"});qt([{rawString:".callout_ad5629e1 .ms-Suggestions-itemButton{padding:0;border:none}.callout_ad5629e1 .ms-Suggestions{min-width:300px}"}]);var GS="callout_ad5629e1";qt([{rawString:".root_8c91000a{min-width:260px}.suggestionsItem_8c91000a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;position:relative;overflow:hidden}.suggestionsItem_8c91000a:hover{background:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:"}.suggestionsItem_8c91000a:hover .closeButton_8c91000a{display:block}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a:hover{background:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a{background:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a .closeButton_8c91000a:hover{background:"},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a .itemButton_8c91000a{color:HighlightText}}.suggestionsItem_8c91000a .closeButton_8c91000a{display:none;color:"},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:"}.suggestionsItem_8c91000a .closeButton_8c91000a:hover{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.actionButton_8c91000a{background-color:transparent;border:0;cursor:pointer;margin:0;position:relative;border-top:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";height:40px;width:100%;font-size:12px}[dir=ltr] .actionButton_8c91000a{padding-left:8px}[dir=rtl] .actionButton_8c91000a{padding-right:8px}html[dir=ltr] .actionButton_8c91000a{text-align:left}html[dir=rtl] .actionButton_8c91000a{text-align:right}.actionButton_8c91000a:hover{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";cursor:pointer}.actionButton_8c91000a:active,.actionButton_8c91000a:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_8c91000a .ms-Button-icon{font-size:16px;width:25px}.actionButton_8c91000a .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_8c91000a .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_8c91000a{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.suggestionsTitle_8c91000a{padding:0 12px;color:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:";font-size:12px;line-height:40px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsContainer_8c91000a{overflow-y:auto;overflow-x:hidden;max-height:300px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsNone_8c91000a{text-align:center;color:#797775;font-size:12px;line-height:30px}.suggestionsSpinner_8c91000a{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_8c91000a{padding-left:14px}html[dir=rtl] .suggestionsSpinner_8c91000a{padding-right:14px}html[dir=ltr] .suggestionsSpinner_8c91000a{text-align:left}html[dir=rtl] .suggestionsSpinner_8c91000a{text-align:right}.suggestionsSpinner_8c91000a .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_8c91000a .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_8c91000a .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_8c91000a.itemButton_8c91000a{width:100%;padding:0;min-width:0;height:100%}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.itemButton_8c91000a.itemButton_8c91000a{color:WindowText}}.itemButton_8c91000a.itemButton_8c91000a:hover{color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.closeButton_8c91000a.closeButton_8c91000a{padding:0 4px;height:auto;width:32px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.closeButton_8c91000a.closeButton_8c91000a{color:WindowText}}.closeButton_8c91000a.closeButton_8c91000a:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.suggestionsAvailable_8c91000a{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var US="root_8c91000a",jS="suggestionsItem_8c91000a",qS="closeButton_8c91000a",YS="suggestionsItemIsSuggested_8c91000a",ZS="itemButton_8c91000a",XS="actionButton_8c91000a",QS="buttonSelected_8c91000a",JS="suggestionsTitle_8c91000a",$S="suggestionsContainer_8c91000a",ex="suggestionsNone_8c91000a",tx="suggestionsSpinner_8c91000a",ox="suggestionsAvailable_8c91000a",nx=l,rx=Cr(),ix=function(e){function t(t){var o=e.call(this,t)||this;return oa(o),o}return m(t,e),t.prototype.render=function(){var e,t=this.props,o=t.suggestionModel,n=t.RenderSuggestion,r=t.onClick,i=t.className,a=t.id,s=t.onRemoveItem,l=t.isSelectedOverride,c=t.removeButtonAriaLabel,u=t.styles,d=t.theme,p=t.removeButtonIconProps,h=u?rx(u,{theme:d,className:i,suggested:o.selected||l}):{root:gi("ms-Suggestions-item",nx.suggestionsItem,(e={},e["is-suggested "+nx.suggestionsItemIsSuggested]=o.selected||l,e),i),itemButton:gi("ms-Suggestions-itemButton",nx.itemButton),closeButton:gi("ms-Suggestions-closeButton",nx.closeButton)};return C.createElement("div",{className:h.root,role:"presentation"},C.createElement(dh,{onClick:r,className:h.itemButton,id:a,"aria-selected":o.selected,role:"option","aria-label":o.ariaLabel},n(o.item,this.props)),this.props.showRemoveButton?C.createElement(yp,{iconProps:null!=p?p:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},title:c,ariaLabel:c,onClick:s,className:h.closeButton}):null)},t}(C.Component);qt([{rawString:".suggestionsContainer_44c59fda{overflow-y:auto;overflow-x:hidden;max-height:300px}.suggestionsContainer_44c59fda .ms-Suggestion-item:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.suggestionsContainer_44c59fda .is-suggested{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.suggestionsContainer_44c59fda .is-suggested:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}"}]);var ax="suggestionsContainer_44c59fda",sx=c,lx=function(e){function t(t){var o=e.call(this,t)||this;return o._selectedElement=C.createRef(),o.SuggestionsItemOfProperType=ix,o._onClickTypedSuggestionsItem=function(e,t){return function(n){o.props.onSuggestionClick(n,e,t)}},o._onRemoveTypedSuggestionsItem=function(e,t){return function(n){(0,o.props.onSuggestionRemove)(n,e,t),n.stopPropagation()}},oa(o),o.currentIndex=-1,o}return m(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:!1,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,o=t.onRenderSuggestion,n=t.suggestionsItemClassName,r=t.resultsMaximumNumber,i=t.showRemoveButtons,a=t.suggestionsContainerAriaLabel,s=this.SuggestionsItemOfProperType,l=this.props.suggestions;return r&&(l=l.slice(0,r)),C.createElement("div",{className:gi("ms-Suggestions-container",sx.suggestionsContainer),id:"suggestion-list",role:"listbox","aria-label":a},l.map((function(t,r){return C.createElement("div",{ref:t.selected||r===e.currentIndex?e._selectedElement:void 0,key:t.item.key?t.item.key:r,id:"sug-"+r},C.createElement(s,{id:"sug-item"+r,suggestionModel:t,RenderSuggestion:o,onClick:e._onClickTypedSuggestionsItem(t.item,r),className:n,showRemoveButton:i,onRemoveItem:e._onRemoveTypedSuggestionsItem(t.item,r),isSelectedOverride:r===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}(C.Component);qt([{rawString:".root_ade399af{min-width:260px}.actionButton_ade399af{background:0 0;background-color:transparent;border:0;cursor:pointer;margin:0;padding:0;position:relative;width:100%;font-size:12px}html[dir=ltr] .actionButton_ade399af{text-align:left}html[dir=rtl] .actionButton_ade399af{text-align:right}.actionButton_ade399af:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.actionButton_ade399af:active,.actionButton_ade399af:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_ade399af .ms-Button-icon{font-size:16px;width:25px}.actionButton_ade399af .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_ade399af .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_ade399af{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.buttonSelected_ade399af:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.buttonSelected_ade399af:hover{background-color:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.buttonSelected_ade399af{background-color:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsTitle_ade399af{font-size:12px}.suggestionsSpinner_ade399af{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_ade399af{padding-left:14px}html[dir=rtl] .suggestionsSpinner_ade399af{padding-right:14px}html[dir=ltr] .suggestionsSpinner_ade399af{text-align:left}html[dir=rtl] .suggestionsSpinner_ade399af{text-align:right}.suggestionsSpinner_ade399af .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_ade399af .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_ade399af .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_ade399af{height:100%;width:100%;padding:7px 12px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.itemButton_ade399af{color:WindowText}}.screenReaderOnly_ade399af{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var cx,ux="root_ade399af",dx="actionButton_ade399af",px="buttonSelected_ade399af",hx="suggestionsTitle_ade399af",mx="suggestionsSpinner_ade399af",fx="itemButton_ade399af",gx="screenReaderOnly_ade399af",vx=u;!function(e){e[e.header=0]="header",e[e.suggestion=1]="suggestion",e[e.footer=2]="footer"}(cx||(cx={}));var bx=function(e){function t(t){var o=e.call(this,t)||this;return oa(o),o}return m(t,e),t.prototype.render=function(){var e,t=this.props,o=t.renderItem,n=t.onExecute,r=t.isSelected,i=t.id,a=t.className;return n?C.createElement("div",{id:i,onClick:n,className:gi("ms-Suggestions-sectionButton",a,vx.actionButton,(e={},e["is-selected "+vx.buttonSelected]=r,e))},o()):C.createElement("div",{id:i,className:gi("ms-Suggestions-section",a,vx.suggestionsTitle)},o())},t}(C.Component),yx=function(e){function t(t){var o=e.call(this,t)||this;return o._selectedElement=C.createRef(),o._suggestions=C.createRef(),o.SuggestionsOfProperType=lx,oa(o),o.state={selectedHeaderIndex:-1,selectedFooterIndex:-1,suggestions:t.suggestions},o}return m(t,e),t.prototype.componentDidMount=function(){this.resetSelectedItem()},t.prototype.componentDidUpdate=function(e){var t=this;this.scrollSelected(),e.suggestions&&e.suggestions!==this.props.suggestions&&this.setState({suggestions:this.props.suggestions},(function(){t.resetSelectedItem()}))},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,o=e.headerItemsProps,n=e.footerItemsProps,r=e.suggestionsAvailableAlertText,i=ie(vo),a=this.state.suggestions&&this.state.suggestions.length>0&&r;return C.createElement("div",{className:gi("ms-Suggestions",t||"",vx.root)},o&&this.renderHeaderItems(),this._renderSuggestions(),n&&this.renderFooterItems(),a?C.createElement("span",{role:"alert","aria-live":"polite",className:i},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:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentSuggestionIndex",{get:function(){return this._suggestions.current?this._suggestions.current.currentIndex:-1},enumerable:!1,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:!1,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,o=e.selectedFooterIndex;return-1!==t||this.hasSuggestionSelected()||-1!==o},t.prototype.executeSelectedAction=function(){var e,t=this.props,o=t.headerItemsProps,n=t.footerItemsProps,r=this.state,i=r.selectedHeaderIndex,a=r.selectedFooterIndex;if(o&&-1!==i&&it+1)return null===(o=this._suggestions.current)||void 0===o||o.setSelectedSuggestion(t+1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var r=e===cx.header,i=r?this.props.headerItemsProps:this.props.footerItemsProps;if(i&&i.length>t+1)for(var a=t+1;a0)return null===(o=this._suggestions.current)||void 0===o||o.setSelectedSuggestion(r-1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var r,i=e===cx.header,a=i?this.props.headerItemsProps:this.props.footerItemsProps;if(a&&(r=void 0!==t?t:a.length)>0)for(var s=r-1;s>=0;s--){var l=a[s];if(l.onExecute&&l.shouldShow())return this.setState({selectedHeaderIndex:i?s:-1}),this.setState({selectedFooterIndex:i?-1:s}),null===(n=this._suggestions.current)||void 0===n||n.deselectAllSuggestions(),!0}}return!1},t.prototype._getCurrentIndexForType=function(e){switch(e){case cx.header:return this.state.selectedHeaderIndex;case cx.suggestion:return this._suggestions.current.currentIndex;case cx.footer:return this.state.selectedFooterIndex}},t.prototype._getNextItemSectionType=function(e){switch(e){case cx.header:return cx.suggestion;case cx.suggestion:return cx.footer;case cx.footer:return cx.header}},t.prototype._getPreviousItemSectionType=function(e){switch(e){case cx.header:return cx.footer;case cx.suggestion:return cx.header;case cx.footer:return cx.suggestion}},t}(C.Component),Cx=s,_x=function(e){function t(t){var o=e.call(this,t)||this;return o.root=C.createRef(),o.suggestionsControl=C.createRef(),o.SuggestionsControlOfProperType=yx,o.isComponentMounted=!1,o.onQueryStringChanged=function(e){e!==o.state.queryString&&(o.setState({queryString:e}),o.props.onInputChanged&&o.props.onInputChanged(e),o.updateValue(e))},o.hidePicker=function(){var e=o.isSuggestionsShown;o.setState({suggestionsVisible:!1}),o.props.onSuggestionsHidden&&e&&o.props.onSuggestionsHidden()},o.showPicker=function(e){void 0===e&&(e=!1);var t=o.isSuggestionsShown;o.setState({suggestionsVisible:!0});var n=o.props.inputElement?o.props.inputElement.value:"";e&&o.updateValue(n),o.props.onSuggestionsShown&&!t&&o.props.onSuggestionsShown()},o.completeSuggestion=function(){o.suggestionsControl.current&&o.suggestionsControl.current.hasSuggestionSelected()&&o.onChange(o.suggestionsControl.current.currentSuggestion.item)},o.onSuggestionClick=function(e,t,n){o.onChange(t),o._updateSuggestionsVisible(!1)},o.onSuggestionRemove=function(e,t,n){o.props.onRemoveSuggestion&&o.props.onRemoveSuggestion(t),o.suggestionsControl.current&&o.suggestionsControl.current.removeSuggestion(n)},o.onKeyDown=function(e){if(o.state.suggestionsVisible&&(!o.props.inputElement||o.props.inputElement.contains(e.target))){var t=e.which;switch(t){case ur.escape:o.hidePicker(),e.preventDefault(),e.stopPropagation();break;case ur.tab:case ur.enter:!e.shiftKey&&!e.ctrlKey&&o.suggestionsControl.current&&o.suggestionsControl.current.handleKeyDown(t)?(e.preventDefault(),e.stopPropagation()):o._onValidateInput();break;case ur.del:o.props.onRemoveSuggestion&&o.suggestionsControl.current&&o.suggestionsControl.current.hasSuggestionSelected()&&o.suggestionsControl.current.currentSuggestion&&e.shiftKey&&(o.props.onRemoveSuggestion(o.suggestionsControl.current.currentSuggestion.item),o.suggestionsControl.current.removeSuggestion(),o.forceUpdate(),e.stopPropagation());break;case ur.up:case ur.down:o.suggestionsControl.current&&o.suggestionsControl.current.handleKeyDown(t)&&(e.preventDefault(),e.stopPropagation(),o._updateActiveDescendant())}}},o._onValidateInput=function(){if(o.state.queryString&&o.props.onValidateInput&&o.props.createGenericItem){var e=o.props.createGenericItem(o.state.queryString,o.props.onValidateInput(o.state.queryString)),t=o.suggestionStore.convertSuggestionsToSuggestionItems([e]);o.onChange(t[0].item)}},o._async=new sa(o),oa(o),o.suggestionStore=t.suggestionsStore,o.state={queryString:"",didBind:!1},o}return m(t,e),Object.defineProperty(t.prototype,"inputText",{get:function(){return this.state.queryString},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"suggestions",{get:function(){return this.suggestionStore.suggestions},enumerable:!1,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:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSuggestionsShown",{get:function(){return void 0!==this.state.suggestionsVisible&&this.state.suggestionsVisible},enumerable:!1,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.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 C.createElement("div",{ref:this.root,className:gi("ms-BasePicker ms-BaseFloatingPicker",e||"")},this.renderSuggestions())},t.prototype.renderSuggestions=function(){var e=this.SuggestionsControlOfProperType;return this.props.suggestionItems&&this.suggestionStore.updateSuggestions(this.props.suggestionItems),this.state.suggestionsVisible?C.createElement(Tu,f({className:Cx.callout,isBeakVisible:!1,gapSpace:5,target:this.props.inputElement,onDismiss:this.hidePicker,directionalHint:Il.bottomLeftEdge,directionalHintForRTL:Il.bottomRightEdge,calloutWidth:this.props.calloutWidth?this.props.calloutWidth:0},this.props.pickerCalloutProps),C.createElement(e,f({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;Array.isArray(e)?this.updateSuggestions(e,!0):e&&e.then&&(this.currentPromise=e,e.then((function(o){e===t.currentPromise&&t.isComponentMounted&&t.updateSuggestions(o,!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}(C.Component);qt([{rawString:".resultContent_f73be5be{display:table-row}.resultContent_f73be5be .resultItem_f73be5be{display:table-cell;vertical-align:bottom}.peoplePickerPersona_f73be5be{width:180px}.peoplePickerPersona_f73be5be .ms-Persona-details{width:100%}.peoplePicker_f73be5be .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_f73be5be{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:7px 12px}"}]);var Sx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t}(_x),xx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.defaultProps={onRenderSuggestionsItem:function(e,t){return o=f({},e),f({},t),C.createElement("div",{className:gi("ms-PeoplePicker-personaContent","peoplePickerPersonaContent_f73be5be")},C.createElement(OS,f({presence:void 0!==o.presence?o.presence:bi.none,size:vi.size40,className:gi("ms-PeoplePicker-Persona","peoplePickerPersona_f73be5be"),showSecondaryText:!0},o)));var o},createGenericItem:kx},t}(Sx);function kx(e,t){var o={key:e,primaryText:e,imageInitials:"!",isValid:t};return t||(o.imageInitials=ai(e,pr())),o}var wx=function(){function e(e){var t=this;this._isSuggestionModel=function(e){return void 0!==e.item},this._ensureSuggestionModel=function(e){return t._isSuggestionModel(e)?e:{item:e,selected:!1,ariaLabel:void 0!==t.getAriaLabel?t.getAriaLabel(e):e.name||e.text||e.primaryText}},this.suggestions=[],this.getAriaLabel=e&&e.getAriaLabel}return e.prototype.updateSuggestions=function(e){e&&e.length>0?this.suggestions=this.convertSuggestionsToSuggestionItems(e):this.suggestions=[]},e.prototype.getSuggestions=function(){return this.suggestions},e.prototype.getSuggestionAtIndex=function(e){return this.suggestions[e]},e.prototype.removeSuggestion=function(e){this.suggestions.splice(e,1)},e.prototype.convertSuggestionsToSuggestionItems=function(e){return Array.isArray(e)?e.map(this._ensureSuggestionModel):[]},e}(),Ix=function(e){return!(!e||!e.some((function(e){return e.children?Ix(e.children):!e.isCollapsed})))},Dx=function(e,t){if(void 0!==e)for(var o=0;o=0;)i.push({group:e[a],groupIndex:a+1}),a--;for(;i.length>0;){var s=i.pop(),l=s.group,c=s.groupIndex;for(o[r]={group:l,groupId:us("GroupedListSection"),type:"header",groupIndex:c},r++;!0!==l.isCollapsed&&(null==l?void 0:l.children)&&l.children.length>0;){for(a=l.children.length-1;a>0;)i.push({group:l.children[a],groupIndex:a+1}),a--;l=l.children[0],o[r]={group:l,groupId:us("GroupedListSection"),type:"header",groupIndex:1},r++}if(!0!==l.isCollapsed){for(var u=l.startIndex,d=n?n(l):1/0,p=l.isShowingAll?t.length:l.count,h=u+Math.min(p,d);ud||l.hasMoreData)&&(o[r]={group:l,type:"showAll"},r++)}o[r]={group:l,type:"footer"},r++}return o.length=r,o}(u,c,O.current,null==i?void 0:i.getGroupItemLimit)}),[u,null==i?void 0:i.getGroupItemLimit,c,j,O,T]),Q=C.useCallback((function(e){var t=X[e];return{key:"header"===t.type?t.group.key:void 0}}),[X]);C.useImperativeHandle(E,(function(){var e;return{scrollToIndex:function(t,o,n){var r,i=(e=null!=e?e:X.reduce((function(e,t,o){return"item"===t.type&&(e[t.itemIndex]=o),e}),[]))[t],a="function"==typeof o?function(e){var t;return"item"===(null===(t=X[e])||void 0===t?void 0:t.type)?o(X[e].itemIndex):0}:void 0;null===(r=W.current)||void 0===r||r.scrollToIndex(i,a,n)},getStartItemIndexInView:function(){var e;return(null===(e=W.current)||void 0===e?void 0:e.getStartItemIndexInView())||0}}}),[X,W]),C.useEffect((function(){return(null==i?void 0:i.isAllGroupsCollapsed)&&Dx(u,i.isAllGroupsCollapsed),H.current=new fl(void 0),function(){var e;null===(e=H.current)||void 0===e||e.dispose(),H.current=void 0}}),[]),C.useEffect((function(){G({})}),[P]),C.useEffect((function(){var e=Ix(u);e!==z.current&&(z.current=e,null==d||d(e))}),[u,j,d,T]);var J=C.useCallback((function(e){var t,o=null===(t=null==i?void 0:i.headerProps)||void 0===t?void 0:t.onToggleCollapse;e&&(null==o||o(e),e.isCollapsed=!e.isCollapsed,q({}),G({}))}),[q,i]),$=function(e){e&&t&&n===oy.multiple&&t.toggleRangeSelected(e.startIndex,e.count)},ee=function(e){var t,o=null===(t=null==i?void 0:i.showAllProps)||void 0===t?void 0:t.onToggleSummarize;o?o(e):(e&&(e.isShowingAll=!e.isShowingAll),G({}),q({}))},te=function(e,t){var o;return{group:e,groupIndex:t,groupLevel:null!==(o=e.level)&&void 0!==o?o:0,viewport:D,selectionMode:n,groups:u,compact:s,onToggleSelectGroup:$,onToggleCollapse:J,onToggleSummarize:ee}};return C.createElement(Vs,f({direction:fa.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},x,{shouldEnterInnerZone:Z,className:gi(L.root,x.className)}),C.createElement(sb,f({ref:W,role:y,items:X,onRenderCellConditional:function(e,o){var n;if("header"===e.type)return function(e,o){var n,r=e.group;n="treegrid"===y?{ariaLevel:r.level?r.level+1:1,ariaSetSize:u?u.length:void 0,ariaPosInSet:e.groupIndex}:{ariaRowIndex:o};var a=f(f(f(f({},i.headerProps),te(e.group,o)),{key:r.key,groupedListId:e.groupId}),n);return C.createElement(Ax,{render:M,defaultRender:Rx,item:e,selection:t,eventGroup:H.current,props:a})}(e,o);if("showAll"===e.type)return function(e,t){var o=e.group,n=f(f(f({},i.showAllProps),te(o,t)),{key:o.key?"".concat(o.key,"-show-all"):void 0});return F(n,Mx)}(e,o);if("footer"===e.type)return function(e,t){var o=e.group,n=f(f(f({},i.footerProps),te(o,t)),{key:o.key?"".concat(o.key,"-footer"):void 0});return B(n,Nx)}(e,o);var r=e.group.level?e.group.level+1:1;return I(r,e.item,null!==(n=e.itemIndex)&&void 0!==n?n:o,e.group)},usePageCache:m,onShouldVirtualize:g,getPageSpecification:Q,version:K,getKey:Px},p,w)))},Ax=function(e){var t=e.render,o=e.defaultRender,n=e.item,r=e.selection,i=e.eventGroup,a=e.props,s=n.group,l=function(e,t,o,n){var r=C.useState((function(){var n;return null!==(n=null==o?void 0:o.isRangeSelected(e,t))&&void 0!==n&&n})),i=r[0],a=r[1];return C.useEffect((function(){if(o&&n){var r=function(){var n;a(null!==(n=null==o?void 0:o.isRangeSelected(e,t))&&void 0!==n&&n)};return n.on(o,ry,r),function(){null==n||n.off(o,ry,r)}}}),[e,t,o,n]),i}(s.startIndex,s.count,r,i);return t(f(f({},a),{isSelected:l,selected:l}),o)},Fx=function(e){function t(t){var o=e.call(this,t)||this;o._groupedList=C.createRef(),oa(o);var n=t.listProps,r=(void 0===n?{}:n).version,i=void 0===r?{}:r,a=t.groups;return o.state={version:i,groupExpandedVersion:{},groups:a},o}return m(t,e),t.getDerivedStateFromProps=function(e,t){var o=e.groups,n=e.selectionMode,r=e.compact,i=e.items,a=e.listProps,s=a&&a.version,l=f(f({},t),{groups:o});return s===t.version&&i===t.items&&o===t.groups&&n===t.selectionMode&&r===t.compact||(l.version={}),l},t.prototype.scrollToIndex=function(e,t,o){var n;null===(n=this._groupedList.current)||void 0===n||n.scrollToIndex(e,t,o)},t.prototype.getStartItemIndexInView=function(){var e;return(null===(e=this._groupedList.current)||void 0===e?void 0:e.getStartItemIndexInView())||0},t.prototype.render=function(){return C.createElement(Bx,f({},this.props,this.state,{groupedListRef:this._groupedList}))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this._forceListUpdate()},t.prototype.toggleCollapseAll=function(e){var t,o=this.state.groups,n=this.props.groupProps;o&&o.length>0&&(null===(t=null==n?void 0:n.onToggleCollapseAll)||void 0===t||t.call(n,e),Dx(o,e),this.setState({groupExpandedVersion:{}}),this.forceUpdate())},t.prototype._forceListUpdate=function(){this.setState({version:{}})},t.displayName="GroupedListV2",t}(C.Component),Lx=lr(Fx,Ly,void 0,{scope:"GroupedListV2"});Lx.displayName="GroupedListV2_unstable";var Hx,Ox={root:"ms-ExpandingCard-root",compactCard:"ms-ExpandingCard-compactCard",expandedCard:"ms-ExpandingCard-expandedCard",expandedCardScroll:"ms-ExpandingCard-expandedCardScrollRegion"};!function(e){e[e.compact=0]="compact",e[e.expanded=1]="expanded"}(Hx||(Hx={}));var zx,Wx,Vx=function(e){var t=e.gapSpace,o=void 0===t?0:t,n=e.directionalHint,r=void 0===n?Il.bottomLeftEdge:n,i=e.directionalHintFixed,a=e.targetElement,s=e.firstFocus,l=e.trapFocus,c=e.onLeave,u=e.className,d=e.finalHeight,p=e.content,h=e.calloutProps,m=f(f(f({},Xr(e,Zr)),{className:u,target:a,isBeakVisible:!1,directionalHint:r,directionalHintFixed:i,finalHeight:d,minPagePadding:24,onDismiss:c,gapSpace:o}),h);return C.createElement(C.Fragment,null,l?C.createElement(Jm,f({},m,{focusTrapProps:{forceFocusInsideTrap:!1,isClickableOutsideFocusTrap:!0,disableFirstFocus:!s}}),p):C.createElement(Tu,f({},m),p))},Kx=Cr(),Gx=function(e){function t(t){var o=e.call(this,t)||this;return o._expandedElem=C.createRef(),o._onKeyDown=function(e){e.which===ur.escape&&o.props.onLeave&&o.props.onLeave(e)},o._onRenderCompactCard=function(){return C.createElement("div",{className:o._classNames.compactCard},o.props.onRenderCompactCard(o.props.renderData))},o._onRenderExpandedCard=function(){return!o.state.firstFrameRendered&&o._async.requestAnimationFrame((function(){o.setState({firstFrameRendered:!0})})),C.createElement("div",{className:o._classNames.expandedCard,ref:o._expandedElem},C.createElement("div",{className:o._classNames.expandedCardScroll},o.props.onRenderExpandedCard&&o.props.onRenderExpandedCard(o.props.renderData)))},o._checkNeedsScroll=function(){var e=o.props.expandedCardHeight;o._async.requestAnimationFrame((function(){o._expandedElem.current&&o._expandedElem.current.scrollHeight>=e&&o.setState({needsScroll:!0})}))},o._async=new sa(o),oa(o),o.state={firstFrameRendered:!1,needsScroll:!1},o}return m(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,o=e.compactCardHeight,n=e.expandedCardHeight,r=e.theme,i=e.mode,a=e.className,s=this.state,l=s.needsScroll,c=s.firstFrameRendered,u=o+n;this._classNames=Kx(t,{theme:r,compactCardHeight:o,className:a,expandedCardHeight:n,needsScroll:l,expandedCardFirstFrameRendered:i===Hx.expanded&&c});var d=C.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this._onRenderCompactCard(),this._onRenderExpandedCard());return C.createElement(Vx,f({},this.props,{content:d,finalHeight:u,className:this._classNames.root}))},t.defaultProps={compactCardHeight:156,expandedCardHeight:384,directionalHintFixed:!0},t}(C.Component),Ux=lr(Gx,(function(e){var t,o=e.theme,n=e.needsScroll,r=e.expandedCardFirstFrameRendered,i=e.compactCardHeight,a=e.expandedCardHeight,s=e.className,l=o.palette,c=Ao(Ox,o);return{root:[c.root,{width:320,pointerEvents:"none",selectors:(t={},t[Fo]={border:"1px solid WindowText"},t)},s],compactCard:[c.compactCard,{pointerEvents:"auto",position:"relative",height:i}],expandedCard:[c.expandedCard,{height:1,overflowY:"hidden",pointerEvents:"auto",transition:"height 0.467s cubic-bezier(0.5, 0, 0, 1)",selectors:{":before":{content:'""',position:"relative",display:"block",top:0,left:24,width:272,height:1,backgroundColor:l.neutralLighter}}},r&&{height:a}],expandedCardScroll:[c.expandedCardScroll,n&&{height:"100%",boxSizing:"border-box",overflowY:"auto"}]}}),void 0,{scope:"ExpandingCard"}),jx={host:"ms-HoverCard-host"};!function(e){e[e.hover=0]="hover",e[e.hotKey=1]="hotKey"}(zx||(zx={})),function(e){e.plain="PlainCard",e.expanding="ExpandingCard"}(Wx||(Wx={}));var qx={root:"ms-PlainCard-root"},Yx=Cr(),Zx=function(e){function t(t){var o=e.call(this,t)||this;return o._onKeyDown=function(e){e.which===ur.escape&&o.props.onLeave&&o.props.onLeave(e)},oa(o),o}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme,n=e.className;this._classNames=Yx(t,{theme:o,className:n});var r=C.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this.props.onRenderPlainCard(this.props.renderData));return C.createElement(Vx,f({},this.props,{content:r,className:this._classNames.root}))},t}(C.Component),Xx=lr(Zx,(function(e){var t,o=e.theme,n=e.className;return{root:[Ao(qx,o).root,{pointerEvents:"auto",selectors:(t={},t[Fo]={border:"1px solid WindowText"},t)},n]}}),void 0,{scope:"PlainCard"}),Qx=Cr(),Jx=function(e){function t(t){var o=e.call(this,t)||this;return o._hoverCard=C.createRef(),o.dismiss=function(e){o._async.clearTimeout(o._openTimerId),o._async.clearTimeout(o._dismissTimerId),e?o._dismissTimerId=o._async.setTimeout((function(){o._setDismissedState()}),o.props.cardDismissDelay):o._setDismissedState()},o._cardOpen=function(e){o._shouldBlockHoverCard()||"keydown"===e.type&&e.which!==o.props.openHotKey||(o._async.clearTimeout(o._dismissTimerId),"mouseenter"===e.type&&(o._currentMouseTarget=e.currentTarget),o._executeCardOpen(e))},o._executeCardOpen=function(e){o._async.clearTimeout(o._openTimerId),o._openTimerId=o._async.setTimeout((function(){o.setState((function(t){return t.isHoverCardVisible?t:{isHoverCardVisible:!0,mode:Hx.compact,openMode:"keydown"===e.type?zx.hotKey:zx.hover}}))}),o.props.cardOpenDelay)},o._cardDismiss=function(e,t){if(e){if(!(t instanceof MouseEvent))return;if("keydown"===t.type&&t.which!==ur.escape)return;o.props.sticky||o._currentMouseTarget!==t.currentTarget&&t.which!==ur.escape||o.dismiss(!0)}else{if(o.props.sticky&&!(t instanceof MouseEvent)&&t.nativeEvent instanceof MouseEvent&&"mouseleave"===t.type)return;o.dismiss(!0)}},o._setDismissedState=function(){o.setState({isHoverCardVisible:!1,mode:Hx.compact,openMode:zx.hover})},o._instantOpenAsExpanded=function(e){o._async.clearTimeout(o._dismissTimerId),o.setState((function(e){return e.isHoverCardVisible?e:{isHoverCardVisible:!0,mode:Hx.expanded}}))},o._setEventListeners=function(){var e=o.props,t=e.trapFocus,n=e.instantOpenOnClick,r=e.eventListenerTarget,i=r?o._getTargetElement(r):o._getTargetElement(o.props.target),a=o._nativeDismissEvent;i&&(o._events.on(i,"mouseenter",o._cardOpen),o._events.on(i,"mouseleave",a),t?o._events.on(i,"keydown",o._cardOpen):(o._events.on(i,"focus",o._cardOpen),o._events.on(i,"blur",a)),n?o._events.on(i,"click",o._instantOpenAsExpanded):(o._events.on(i,"mousedown",a),o._events.on(i,"keydown",a)))},oa(o),o._async=new sa(o),o._events=new fl(o),o._nativeDismissEvent=o._cardDismiss.bind(o,!0),o._childDismissEvent=o._cardDismiss.bind(o,!1),o.state={isHoverCardVisible:!1,mode:Hx.compact,openMode:zx.hover},o}return m(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 o=this;e.target!==this.props.target&&(this._events.off(),this._setEventListeners()),t.isHoverCardVisible!==this.state.isHoverCardVisible&&(this.state.isHoverCardVisible?(this._async.setTimeout((function(){o.setState({mode:Hx.expanded},(function(){o.props.onCardExpand&&o.props.onCardExpand()}))}),this.props.expandedCardOpenDelay),this.props.onCardVisible&&this.props.onCardVisible()):(this.setState({mode:Hx.compact}),this.props.onCardHide&&this.props.onCardHide()))},t.prototype.render=function(){var e=this.props,t=e.expandingCardProps,o=e.children,n=e.id,r=e.setAriaDescribedBy,i=void 0===r||r,a=e.styles,s=e.theme,l=e.className,c=e.type,u=e.plainCardProps,d=e.trapFocus,p=e.setInitialFocus,h=this.state,m=h.isHoverCardVisible,g=h.mode,v=h.openMode,b=n||us("hoverCard");this._classNames=Qx(a,{theme:s,className:l});var y=f(f({},Xr(this.props,Zr)),{id:b,trapFocus:!!d,firstFocus:p||v===zx.hotKey,targetElement:this._getTargetElement(this.props.target),onEnter:this._cardOpen,onLeave:this._childDismissEvent}),_=f(f(f({},t),y),{mode:g}),S=f(f({},u),y);return C.createElement("div",{className:this._classNames.host,ref:this._hoverCard,"aria-describedby":i&&m?b:void 0,"data-is-focusable":!this.props.target},o,m&&(c===Wx.expanding?C.createElement(Ux,f({},_)):C.createElement(Xx,f({},S))))},t.prototype._getTargetElement=function(e){switch(typeof e){case"string":return ht().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:ur.c,type:Wx.expanding},t}(C.Component),$x=lr(Jx,(function(e){var t=e.className,o=e.theme;return{host:[Ao(jx,o).host,t]}}),void 0,{scope:"HoverCard"});function ek(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('".concat(e,"fabric-icons-a13498cf.woff') format('woff')")},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Edit:"",Add:"",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"",ChevronLeft:"",ChevronRight:"",Calendar:"",Megaphone:"",Undo:"",Flag:"",Page:"",Pinned:"",View:"",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"",List:"",CircleRing:"",Heart:"",HeartFill:"",Tiles:"",Embed:"",Glimmer:"",Ascending:"",Descending:"",SortUp:"",SortDown:"",SyncToPC:"",LargeGrid:"",SkypeCheck:"",SkypeClock:"",SkypeMinus:"",ClearFilter:"",Flow:"",StatusCircleCheckmark:"",MoreVertical:""}},t)}function tk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('".concat(e,"fabric-icons-0-467ee27f.woff') format('woff')")},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"",ProductList:"",UnpublishContent:"",DependencyAdd:"",DependencyRemove:"",EntitlementPolicy:"",EntitlementRedemption:"",SchoolDataSyncLogo:"",PinSolid12:"",PinSolidOff12:"",AddLink:"",SharepointAppIcon16:"",DataflowsLink:"",TimePicker:"",UserWarning:"",ComplianceAudit:"",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"",Zoom:"",ZoomOut:"",Microphone:"",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"",Print:"",Up:"",Down:"",OEM:"",Save:"",ReturnKey:"",Cloud:"",Flashlight:"",CommandPrompt:"",Sad:"",RealEstate:"",SIPMove:"",EraseTool:"",GripperTool:"",Dialpad:"",PageLeft:"",PageRight:"",MultiSelect:"",KeyboardClassic:"",Play:"",Pause:"",InkingTool:"",Emoji2:"",GripperBarHorizontal:"",System:"",Personalize:"",SearchAndApps:"",Globe:"",EaseOfAccess:"",ContactInfo:"",Unpin:"",Contact:"",Memo:"",IncomingCall:""}},t)}function ok(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('".concat(e,"fabric-icons-1-4d521695.woff') format('woff')")},icons:{Paste:"",WindowsLogo:"",Error:"",GripperBarVertical:"",Unlock:"",Slideshow:"",Trim:"",AutoEnhanceOn:"",AutoEnhanceOff:"",Color:"",SaveAs:"",Light:"",Filters:"",AspectRatio:"",Contrast:"",Redo:"",Crop:"",PhotoCollection:"",Album:"",Rotate:"",PanoIndicator:"",Translate:"",RedEye:"",ViewOriginal:"",ThumbnailView:"",Package:"",Telemarketer:"",Warning:"",Financial:"",Education:"",ShoppingCart:"",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"",StreetsideSplitMinimize:"",Car:"",Bus:"",EatDrink:"",SeeDo:"",LocationCircle:"",Home:"",SwitcherStartEnd:"",ParkingLocation:"",IncidentTriangle:"",Touch:"",MapDirections:"",CaretHollow:"",CaretSolid:"",History:"",Location:"",MapLayers:"",SearchNearby:"",Work:"",Recent:"",Hotel:"",Bank:"",LocationDot:"",Dictionary:"",ChromeBack:"",FolderOpen:"",PinnedFill:"",RevToggleKey:"",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"",Remote:"",SelectAll:"",Orientation:"",Import:""}},t)}function nk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('".concat(e,"fabric-icons-2-63c99abf.woff') format('woff')")},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"",MoveToFolder:"",Dislike:"",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"",Repair:"",Accounts:"",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"",Timer:"",FullCircleMask:"",LocationFill:"",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"",FrontCamera:"",ChevronUpSmall:""}},t)}function rk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('".concat(e,"fabric-icons-3-089e217a.woff') format('woff')")},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"",PartlyCloudyNight:"",ClearNight:"",RainShowersDay:"",Rain:"",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"",Fog:"",Squalls:"",Duststorm:"",Unknown:"",Precipitation:"",Ribbon:"",AreaChart:"",Assign:"",FlowChart:"",CheckList:"",Diagnostic:"",Generate:"",LineChart:"",Equalizer:"",BarChartHorizontal:"",BarChartVertical:"",Freezing:"",FunnelChart:"",Processing:"",Quantity:"",ReportDocument:"",StackColumnChart:"",SnowShowerDay:"",HailDay:"",WorkFlow:"",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"",BookmarksMirrored:"",BulletedListMirrored:"",CaretHollowMirrored:"",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"",GoMirrored:""}},t)}function ik(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('".concat(e,"fabric-icons-4-a656cc0a.woff') format('woff')")},icons:{HelpMirrored:"",ImportMirrored:"",ImportAllMirrored:"",ListMirrored:"",MailForwardMirrored:"",MailReplyMirrored:"",MailReplyAllMirrored:"",MiniContractMirrored:"",MiniExpandMirrored:"",OpenPaneMirrored:"",ParkingLocationMirrored:"",SendMirrored:"",ShowResultsMirrored:"",ThumbnailViewMirrored:"",Media:"",Devices3:"",Focus:"",VideoLightOff:"",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"",PDF:"",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"",Wines:"",Articles:"",Cycling:"",DietPlanNotebook:"",Pill:"",ExerciseTracker:"",HandsFree:"",Medical:"",Running:"",Weights:"",Trackers:"",AddNotes:"",AllCurrency:"",BarChart4:"",CirclePlus:"",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"",Drop:"",HistoricalWeather:"",SkiResorts:"",Snowflake:"",BusSolid:"",FerrySolid:"",AirplaneSolid:"",TrainSolid:"",Ticket:"",WifiWarning4:"",Devices4:"",AzureLogo:"",BingLogo:"",MSNLogo:"",OutlookLogoInverse:"",OfficeLogo:"",SkypeLogo:"",Door:"",EditMirrored:"",GiftCard:"",DoubleBookmark:"",StatusErrorFull:""}},t)}function ak(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('".concat(e,"fabric-icons-5-f95ba260.woff') format('woff')")},icons:{Certificate:"",FastForward:"",Rewind:"",Photo2:"",OpenSource:"",Movers:"",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"",NetworkTower:"",CityNext:"",CityNext2:"",Section:"",OneNoteLogoInverse:"",ToggleFilled:"",ToggleBorder:"",SliderThumb:"",ToggleThumb:"",Documentation:"",Badge:"",Giftbox:"",VisualStudioLogo:"",HomeGroup:"",ExcelLogoInverse:"",WordLogoInverse:"",PowerPointLogoInverse:"",Cafe:"",SpeedHigh:"",Commitments:"",ThisPC:"",MusicNote:"",MicOff:"",PlaybackRate1x:"",EdgeLogo:"",CompletedSolid:"",AlbumRemove:"",MessageFill:"",TabletSelected:"",MobileSelected:"",LaptopSelected:"",TVMonitorSelected:"",DeveloperTools:"",Shapes:"",InsertTextBox:"",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"",CloudUpload:"",ScrollUpDown:"",DateTime:"",Event:"",Cake:"",Org:"",PartyLeader:"",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"",PageHeader:"",ChatInviteFriend:"",Brush:"",Shirt:"",Crown:"",Diamond:"",ScaleUp:"",QRCode:"",Feedback:"",SharepointLogoInverse:"",YammerLogo:"",Hide:"",Uneditable:"",ReturnToSession:"",OpenFolderHorizontal:"",CalendarMirrored:""}},t)}function sk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('".concat(e,"fabric-icons-6-ef6fd590.woff') format('woff')")},icons:{SwayLogoInverse:"",OutOfOffice:"",Trophy:"",ReopenPages:"",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"",AdminLLogoInverse32:"",AdminMLogoInverse32:"",AdminOLogoInverse32:"",AdminPLogoInverse32:"",AdminSLogoInverse32:"",AdminYLogoInverse32:"",DelveLogoInverse:"",ExchangeLogoInverse:"",LyncLogo:"",OfficeVideoLogoInverse:"",SocialListeningLogo:"",VisioLogoInverse:"",Balloons:"",Cat:"",MailAlert:"",MailCheck:"",MailLowImportance:"",MailPause:"",MailRepeat:"",SecurityGroup:"",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"",EventInfo:"",ForwardEvent:"",WipePhone:"",AddOnlineMeeting:"",JoinOnlineMeeting:"",RemoveLink:"",PeopleBlock:"",PeopleRepeat:"",PeopleAlert:"",PeoplePause:"",TransferCall:"",AddPhone:"",UnknownCall:"",NoteReply:"",NoteForward:"",NotePinned:"",RemoveOccurrence:"",Timeline:"",EditNote:"",CircleHalfFull:"",Room:"",Unsubscribe:"",Subscribe:"",HardDrive:"",RecurringTask:"",TaskManager:"",TaskManagerMirrored:"",Combine:"",Split:"",DoubleChevronUp:"",DoubleChevronLeft:"",DoubleChevronRight:"",TextBox:"",TextField:"",NumberField:"",Dropdown:"",PenWorkspace:"",BookingsLogo:"",ClassNotebookLogoInverse:"",DelveAnalyticsLogo:"",DocsLogoInverse:"",Dynamics365Logo:"",DynamicSMBLogo:"",OfficeAssistantLogo:"",OfficeStoreLogo:"",OneNoteEduLogoInverse:"",PlannerLogo:"",PowerApps:"",Suitcase:"",ProjectLogoInverse:"",CaretLeft8:"",CaretRight8:"",CaretUp8:"",CaretDown8:"",CaretLeftSolid8:"",CaretRightSolid8:"",CaretUpSolid8:"",CaretDownSolid8:"",ClearFormatting:"",Superscript:"",Subscript:"",Strikethrough:"",Export:"",ExportMirrored:""}},t)}function lk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('".concat(e,"fabric-icons-7-2b97bb99.woff') format('woff')")},icons:{SingleBookmark:"",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"",GroupedDescending:"",GroupedAscending:"",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"",WifiEthernet:"",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"",TriangleSolidLeft12:"",TriangleSolidRight12:"",TriangleUp12:"",TriangleDown12:"",TriangleLeft12:"",TriangleRight12:"",ArrowUpRight8:"",ArrowDownRight8:"",DocumentSet:"",GoToDashboard:"",DelveAnalytics:"",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"",CompanyDirectory:"",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"",ProfileSearch:"",Header2:"",Header3:"",Header4:"",RingerSolid:"",Eyedropper:"",MarketDown:"",CalendarWorkWeek:"",SidePanel:"",GlobeFavorite:"",CaretTopLeftSolid8:"",CaretTopRightSolid8:"",ViewAll2:"",DocumentReply:"",PlayerSettings:"",ReceiptForward:"",ReceiptReply:"",ReceiptCheck:"",Fax:"",RecurringEvent:"",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"",EditMail:"",Lifesaver:"",LifesaverLock:"",InboxCheck:"",FolderSearch:""}},t)}function ck(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('".concat(e,"fabric-icons-8-6fdf1528.woff') format('woff')")},icons:{CollapseMenu:"",ExpandMenu:"",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"",PublicContactCard:"",PublicEmail:"",PublicFolder:"",WordDocument:"",PowerPointDocument:"",ExcelDocument:"",GroupedList:"",ClassroomLogo:"",Sections:"",EditPhoto:"",Starburst:"",ShareiOS:"",AirTickets:"",PencilReply:"",Tiles2:"",SkypeCircleCheck:"",SkypeCircleClock:"",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"",TimeEntry:"",CRMProcesses:"",PageEdit:"",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"",EditContact:"",ConnectContacts:"",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"",DeactivateOrders:"",ProductCatalog:"",ScatterChart:"",AccountActivity:"",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"",Compare:"",EventDate:"",ArrowUpRight:"",CaretRight:"",SetAction:"",ChatBot:"",CaretSolidLeft:"",CaretSolidDown:"",CaretSolidRight:"",CaretSolidUp:"",PowerAppsLogo:"",PowerApps2Logo:"",SearchIssue:"",SearchIssueMirrored:"",FabricAssetLibrary:"",FabricDataConnectionLibrary:"",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"",FabricReportLibrary:"",FabricReportLibraryMirrored:"",FabricPublicFolder:"",FabricFolderSearch:"",FabricMovetoFolder:"",FabricUnsyncFolder:"",FabricSyncFolder:"",FabricOpenFolderHorizontal:"",FabricFolder:"",FabricFolderFill:"",FabricNewFolder:"",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}},t)}function uk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('".concat(e,"fabric-icons-9-c6162b42.woff') format('woff')")},icons:{AddFavoriteFill:"",BufferTimeBefore:"",BufferTimeAfter:"",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"",PageCheckedin:"",PageList:"",ReadOutLoud:"",CaretBottomLeftSolid8:"",CaretBottomRightSolid8:"",FolderHorizontal:"",MicrosoftStaffhubLogo:"",GiftboxOpen:"",StatusCircleOuter:"",StatusCircleInner:"",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"",StatusCircleBlock:"",StatusCircleBlock2:"",StatusCircleQuestionMark:"",StatusCircleSync:"",Toll:"",ExploreContentSingle:"",CollapseContent:"",CollapseContentSingle:"",InfoSolid:"",GroupList:"",ProgressRingDots:"",CaloriesAdd:"",BranchFork:"",MuteChat:"",AddHome:"",AddWork:"",MobileReport:"",ScaleVolume:"",HardDriveGroup:"",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}},t)}function dk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('".concat(e,"fabric-icons-10-c4ded8e4.woff') format('woff')")},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"",StackedLineChart:"",BuildQueue:"",BuildQueueNew:"",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"",Blur:"",Build:"",ProcessMetaTask:"",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"",Redeploy:"",ServerEnviroment:"",VisioDiagram:"",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"",FieldEmpty:"",FieldFilled:"",FieldChanged:"",FieldNotChanged:"",RingerOff:"",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"",RepoSolid:"",FolderQuery:"",FolderList:"",FolderListMirrored:"",LocationOutline:"",POISolid:"",CalculatorNotEqualTo:"",BoxSubtractSolid:""}},t)}function pk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('".concat(e,"fabric-icons-11-2a8393d6.woff') format('woff')")},icons:{BoxAdditionSolid:"",BoxMultiplySolid:"",BoxPlaySolid:"",BoxCheckmarkSolid:"",CirclePauseSolid:"",CirclePause:"",MSNVideosSolid:"",CircleStopSolid:"",CircleStop:"",NavigateBack:"",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"",UnknownSolid:"",UnknownMirroredSolid:"",CircleAddition:"",CircleAdditionSolid:"",FilePDB:"",FileTemplate:"",FileSQL:"",FileJAVA:"",FileASPX:"",FileCSS:"",FileSass:"",FileLess:"",FileHTML:"",JavaScriptLanguage:"",CSharpLanguage:"",CSharp:"",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"",FSharpLanguage:"",FSharp:"",TypeScriptLanguage:"",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"",FullWidth:"",FullWidthEdit:"",Plug:"",PlugSolid:"",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"",FileCode:"",FileComment:"",BusinessHoursSign:"",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"",GiftBoxSolid:"",ShoppingCartSolid:"",MailSolid:"",ChatSolid:"",RibbonSolid:""}},t)}function hk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('".concat(e,"fabric-icons-12-7e945a1e.woff') format('woff')")},icons:{FinancialSolid:"",FinancialMirroredSolid:"",HeadsetSolid:"",PermissionsSolid:"",ParkingSolid:"",ParkingMirroredSolid:"",DiamondSolid:"",AsteriskSolid:"",OfflineStorageSolid:"",BankSolid:"",DecisionSolid:"",Parachute:"",ParachuteSolid:"",FiltersSolid:"",ColorSolid:"",ReviewSolid:"",ReviewRequestSolid:"",ReviewRequestMirroredSolid:"",ReviewResponseSolid:"",FeedbackRequestSolid:"",FeedbackRequestMirroredSolid:"",FeedbackResponseSolid:"",WorkItemBar:"",WorkItemBarSolid:"",Separator:"",NavigateExternalInline:"",PlanView:"",TimelineMatrixView:"",EngineeringGroup:"",ProjectCollection:"",CaretBottomRightCenter8:"",CaretBottomLeftCenter8:"",CaretTopRightCenter8:"",CaretTopLeftCenter8:"",DonutChart:"",ChevronUnfold10:"",ChevronFold10:"",DoubleChevronDown8:"",DoubleChevronUp8:"",DoubleChevronLeft8:"",DoubleChevronRight8:"",ChevronDownEnd6:"",ChevronUpEnd6:"",ChevronLeftEnd6:"",ChevronRightEnd6:"",ContextMenu:"",AzureAPIManagement:"",AzureServiceEndpoint:"",VSTSLogo:"",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"",CRMCustomerInsightsApp:"",EditCreate:"",PlayReverseResume:"",PlayReverse:"",SearchData:"",UnSetColor:"",DeclineCall:""}},t)}function mk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('".concat(e,"fabric-icons-13-c3989a02.woff') format('woff')")},icons:{RectangularClipping:"",TeamsLogo16:"",TeamsLogoFill16:"",Spacer:"",SkypeLogo16:"",SkypeForBusinessLogo16:"",SkypeForBusinessLogoFill16:"",FilterSolid:"",MailUndelivered:"",MailTentative:"",MailTentativeMirrored:"",MailReminder:"",ReceiptUndelivered:"",ReceiptTentative:"",ReceiptTentativeMirrored:"",Inbox:"",IRMReply:"",IRMReplyMirrored:"",IRMForward:"",IRMForwardMirrored:"",VoicemailIRM:"",EventAccepted:"",EventTentative:"",EventTentativeMirrored:"",EventDeclined:"",IDBadge:"",BackgroundColor:"",OfficeFormsLogoInverse16:"",OfficeFormsLogo:"",OfficeFormsLogoFill:"",OfficeFormsLogo16:"",OfficeFormsLogoFill16:"",OfficeFormsLogoInverse24:"",OfficeFormsLogo24:"",OfficeFormsLogoFill24:"",PageLock:"",NotExecuted:"",NotImpactedSolid:"",FieldReadOnly:"",FieldRequired:"",BacklogBoard:"",ExternalBuild:"",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"",ProjectLogo32:"",ProjectLogoFill32:"",ProjectLogo16:"",ProjectLogoFill16:"",SwayLogo32:"",SwayLogoFill32:"",SwayLogo16:"",SwayLogoFill16:"",ClassNotebookLogo32:"",ClassNotebookLogoFill32:"",ClassNotebookLogo16:"",ClassNotebookLogoFill16:"",ClassNotebookLogoInverse32:"",ClassNotebookLogoInverse16:"",StaffNotebookLogo32:"",StaffNotebookLogoFill32:"",StaffNotebookLogo16:"",StaffNotebookLogoFill16:"",StaffNotebookLogoInverted32:"",StaffNotebookLogoInverted16:"",KaizalaLogo:"",TaskLogo:"",ProtectionCenterLogo32:"",GallatinLogo:"",Globe2:"",Guitar:"",Breakfast:"",Brunch:"",BeerMug:"",Vacation:"",Teeth:"",Taxi:"",Chopsticks:"",SyncOccurence:"",UnsyncOccurence:"",GIF:"",PrimaryCalendar:"",SearchCalendar:"",VideoOff:"",MicrosoftFlowLogo:"",BusinessCenterLogo:"",ToDoLogoBottom:"",ToDoLogoTop:"",EditSolid12:"",EditSolidMirrored12:"",UneditableSolid12:"",UneditableSolidMirrored12:"",UneditableMirrored:"",AdminALogo32:"",AdminALogoFill32:"",ToDoLogoInverse:""}},t)}function fk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('".concat(e,"fabric-icons-14-5cf58db8.woff') format('woff')")},icons:{Snooze:"",WaffleOffice365:"",ImageSearch:"",NewsSearch:"",VideoSearch:"",R:"",FontColorA:"",FontColorSwatch:"",LightWeight:"",NormalWeight:"",SemiboldWeight:"",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"",AlignHorizontalRight:"",AlignVerticalTop:"",AlignVerticalCenter:"",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"",Line:"",Octagon:"",Hexagon:"",Pentagon:"",RightTriangle:"",HalfCircle:"",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"",WindowEdit:"",HintText:"",MediaAdd:"",AnchorLock:"",AutoHeight:"",ChartSeries:"",ChartXAngle:"",ChartYAngle:"",Combobox:"",LineSpacing:"",Padding:"",PaddingTop:"",PaddingBottom:"",PaddingLeft:"",PaddingRight:"",NavigationFlipper:"",AlignJustify:"",TextOverflow:"",VisualsFolder:"",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"",MapPinSolid:"",WebPublish:"",PieSingleSolid:"",BlockedSolid:"",DrillDown:"",DrillDownSolid:"",DrillExpand:"",DrillShow:"",SpecialEvent:"",OneDriveFolder16:"",FunctionalManagerDashboard:"",BIDashboard:"",CodeEdit:"",RenewalCurrent:"",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"",Flower:"",WaitlistConfirm:"",WaitlistConfirmMirrored:"",LaptopSecure:"",DragObject:"",EntryView:"",EntryDecline:"",ContactCardSettings:"",ContactCardSettingsMirrored:""}},t)}function gk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('".concat(e,"fabric-icons-15-3807251b.woff') format('woff')")},icons:{CalendarSettings:"",CalendarSettingsMirrored:"",HardDriveLock:"",HardDriveUnlock:"",AccountManagement:"",ReportWarning:"",TransitionPop:"",TransitionPush:"",TransitionEffect:"",LookupEntities:"",ExploreData:"",AddBookmark:"",SearchBookmark:"",DrillThrough:"",MasterDatabase:"",CertifiedDatabase:"",MaximumValue:"",MinimumValue:"",VisualStudioIDELogo32:"",PasteAsText:"",PasteAsCode:"",BrowserTab:"",BrowserTabScreenshot:"",DesktopScreenshot:"",FileYML:"",ClipboardSolid:"",FabricUserFolder:"",FabricNetworkFolder:"",BullseyeTarget:"",AnalyticsView:"",Video360Generic:"",Untag:"",Leave:"",Trending12:"",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"",DeleteColumns:"",DeleteRows:"",DeleteRowsMirrored:"",DeleteTable:"",AccountBrowser:"",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"",PinnedSolid:"",InsertSignatureLine:"",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"",DictionaryRemove:"",UserRemove:"",UserEvent:"",Encryption:"",PasswordField:"",OpenInNewTab:"",Hide3:"",VerifiedBrandSolid:"",MarkAsProtected:"",AuthenticatorApp:"",WebTemplate:"",DefenderTVM:"",MedalSolid:"",D365TalentLearn:"",D365TalentInsight:"",D365TalentHRCore:"",BacklogList:"",ButtonControl:"",TableGroup:"",MountainClimbing:"",TagUnknown:"",TagUnknownMirror:"",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:""}},t)}function vk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('".concat(e,"fabric-icons-16-9cf93f3b.woff') format('woff')")},icons:{OfficeChatSolid:"",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"",SkypeArrow:"",SyncStatus:"",SyncStatusSolid:"",ProjectDocument:"",ToDoLogoOutline:"",VisioOnlineLogoFill32:"",VisioOnlineLogo32:"",VisioOnlineLogoCloud32:"",VisioDiagramSync:"",Event12:"",EventDateMissed12:"",UserOptional:"",ResponsesMenu:"",DoubleDownArrow:"",DistributeDown:"",BookmarkReport:"",FilterSettings:"",GripperDotsVertical:"",MailAttached:"",AddIn:"",LinkedDatabase:"",TableLink:"",PromotedDatabase:"",BarChartVerticalFilter:"",BarChartVerticalFilterSolid:"",MicOff2:"",MicrosoftTranslatorLogo:"",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"",PowerBILogo16:"",PowerBILogoBackplate16:"",BulletedListText:"",BulletedListBullet:"",BulletedListTextMirrored:"",BulletedListBulletMirrored:"",NumberedListText:"",NumberedListNumber:"",NumberedListTextMirrored:"",NumberedListNumberMirrored:"",RemoveLinkChain:"",RemoveLinkX:"",FabricTextHighlight:"",ClearFormattingA:"",ClearFormattingEraser:"",Photo2Fill:"",IncreaseIndentText:"",IncreaseIndentArrow:"",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"",CheckListText:"",CheckListCheck:"",CheckListTextMirrored:"",CheckListCheckMirrored:"",NumberSymbol:"",Coupon:"",VerifiedBrand:"",ReleaseGate:"",ReleaseGateCheck:"",ReleaseGateError:"",M365InvoicingLogo:"",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"",CommentActive:"",ColumnVerticalSectionEdit:"",WavingHand:"",ShakeDevice:"",SmartGlassRemote:"",Rotate90Clockwise:"",Rotate90CounterClockwise:"",CampaignTemplate:"",ChartTemplate:"",PageListFilter:"",SecondaryNav:"",ColumnVerticalSection:"",SkypeCircleSlash:"",SkypeSlash:""}},t)}function bk(e,t){void 0===e&&(e=""),Dn({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('".concat(e,"fabric-icons-17-0c4ed701.woff') format('woff')")},icons:{CustomizeToolbar:"",DuplicateRow:"",RemoveFromTrash:"",MailOptions:"",Childof:"",Footer:"",Header:"",BarChartVerticalFill:"",StackedColumnChart2Fill:"",PlainText:"",AccessibiltyChecker:"",DatabaseSync:"",ReservationOrders:"",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"",MicrosoftTranslatorLogoBlue:"",InternalInvestigation:"",AddReaction:"",ContactHeart:"",VisuallyImpaired:"",EventToDoLogo:"",Variable2:"",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"",Uneditable2Mirrored:"",BarChartVerticalEdit:"",GlobalNavButtonActive:"",PollResults:"",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"",IncreaseIndentLegacy:"",SizeLegacy:""}},t)}var yk=function(){Tn("trash","delete"),Tn("onedrive","onedrivelogo"),Tn("alertsolid12","eventdatemissed12"),Tn("sixpointstar","6pointstar"),Tn("twelvepointstar","12pointstar"),Tn("toggleon","toggleleft"),Tn("toggleoff","toggleright")};Kn("@fluentui/font-icons-mdl2","8.5.56");var Ck="".concat("https://res.cdn.office.net/files/fabric-cdn-prod_20241029.001","/assets/icons/"),_k=gt();function Sk(e,t){var o,n;void 0===e&&(e=(null===(o=null==_k?void 0:_k.FabricConfig)||void 0===o?void 0:o.iconBaseUrl)||(null===(n=null==_k?void 0:_k.FabricConfig)||void 0===n?void 0:n.fontBaseUrl)||Ck),[ek,tk,ok,nk,rk,ik,ak,sk,lk,ck,uk,dk,pk,hk,mk,fk,gk,vk,bk].forEach((function(o){return o(e,t)})),yk()}function xk(e){var t=ht(),o=t.querySelectorAll(e);return Array.from(o).find((function(e){var o;return Za(e,null!==(o=t.defaultView)&&void 0!==o?o:void 0)}))}var kk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.content,o=e.styles,n=e.theme,r=e.disabled,i=e.visible,a=Cr()(o,{theme:n,disabled:r,visible:i});return C.createElement("div",{className:a.container},C.createElement("span",{className:a.root},t))},t}(C.Component),wk=function(e){return{container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]}},Ik=function(e){return function(t){return On({container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]},{root:[{marginLeft:e.left||e.x,marginTop:e.top||e.y}]})}},Dk=lr(kk,(function(e){var t,o=e.theme,n=e.disabled,r=e.visible;return{container:[{backgroundColor:o.palette.neutralDark},n&&{opacity:.5,selectors:(t={},t[Fo]={color:"GrayText",opacity:1},t)},!r&&{visibility:"hidden"}],root:[o.fonts.medium,{textAlign:"center",paddingLeft:"3px",paddingRight:"3px",backgroundColor:o.palette.neutralDark,color:o.palette.neutralLight,minWidth:"11px",lineHeight:"17px",height:"17px",display:"inline-block"},n&&{color:o.palette.neutralTertiaryAlt}]}}),void 0,{scope:"KeytipContent"}),Ek=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e,t=this.props,o=t.keySequences,n=t.offset,r=t.overflowSetSequence,i=this.props.calloutProps,a=xk(e=ld(r?sd(o,r):o));return a?(e=a,n&&(i=f({coverTarget:!0,directionalHint:Il.topLeftEdge},i)),i&&void 0!==i.directionalHint||(i=f(f({},i),{directionalHint:Il.bottomCenter})),C.createElement(Tu,f({},i,{isBeakVisible:!1,doNotLayer:!0,minPagePadding:0,styles:n?Ik(n):wk,preventDismissOnScroll:!0,target:e}),C.createElement(Dk,f({},this.props)))):C.createElement(C.Fragment,null)},t}(C.Component),Tk=function(e){return{root:[{zIndex:tn.KeytipLayer}]}},Pk=function(){function e(){this.nodeMap={},this.root={id:od,children:[],parent:"",keySequences:[]},this.nodeMap[this.root.id]=this.root}return e.prototype.addNode=function(e,t,o){var n=this._getFullSequence(e),r=ad(n);n.pop();var i=this._getParentID(n),a=this._createNode(r,i,[],e,o);this.nodeMap[t]=a,this.getNodes([i]).forEach((function(e){return e.children.push(r)}))},e.prototype.updateNode=function(e,t){var o=this._getFullSequence(e),n=ad(o);o.pop();var r=this._getParentID(o),i=this.nodeMap[t],a=i.parent;i&&(a!==r&&this._removeChildFromParents(a,i.id),i.id!==n&&this.getNodes([r]).forEach((function(e){var t=e.children.indexOf(i.id);t>=0?e.children[t]=n:e.children.push(n)})),i.id=n,i.keySequences=e.keySequences,i.overflowSetSequence=e.overflowSetSequence,i.onExecute=e.onExecute,i.onReturn=e.onReturn,i.hasDynamicChildren=e.hasDynamicChildren,i.hasMenu=e.hasMenu,i.parent=r,i.disabled=e.disabled)},e.prototype.removeNode=function(e,t){var o=this._getFullSequence(e),n=ad(o);o.pop(),this._removeChildFromParents(this._getParentID(o),n),this.nodeMap[t]&&delete this.nodeMap[t]},e.prototype.getExactMatchedNode=function(e,t,o){var n=this,r=null!=o?o:ht(),i=this.getNodes(t.children).filter((function(t){return n._getNodeSequence(t)===e&&!t.disabled}));if(0!==i.length){var a=i[0];if(1===i.length)return a;var s=a.keySequences,l=a.overflowSetSequence,c=ld(l?sd(s,l):s),u=r.querySelectorAll(c);if(i.length=0&&!t.nodeMap[n].persisted&&e.push(t.nodeMap[n].id),e}),[])},e.prototype.getNodes=function(e){var t=this;return Object.keys(this.nodeMap).reduce((function(o,n){return e.indexOf(t.nodeMap[n].id)>=0&&o.push(t.nodeMap[n]),o}),[])},e.prototype.getNode=function(e){return Sa(hl(this.nodeMap),(function(t){return t.id===e}))},e.prototype.isCurrentKeytipParent=function(e){if(this.currentKeytip){var t=b([],e.keySequences,!0);e.overflowSetSequence&&(t=sd(t,e.overflowSetSequence)),t.pop();var o=0===t.length?this.root.id:ad(t),n=!1;return this.currentKeytip.overflowSetSequence&&(n=ad(this.currentKeytip.keySequences)===o),n||this.currentKeytip.id===o}return!1},e.prototype._getParentID=function(e){return 0===e.length?this.root.id:ad(e)},e.prototype._getFullSequence=function(e){var t=b([],e.keySequences,!0);return e.overflowSetSequence&&(t=sd(t,e.overflowSetSequence)),t},e.prototype._getNodeSequence=function(e){var t=b([],e.keySequences,!0);return e.overflowSetSequence&&(t=sd(t,e.overflowSetSequence)),t[t.length-1]},e.prototype._createNode=function(e,t,o,n,r){var i=this,a=n.keySequences,s=n.hasDynamicChildren,l=n.overflowSetSequence,c=n.hasMenu,u=n.onExecute,d=n.onReturn,p=n.disabled,h=n.hasOverflowSubMenu,m={id:e,keySequences:a,overflowSetSequence:l,parent:t,children:o,onExecute:u,onReturn:d,hasDynamicChildren:s,hasMenu:c,disabled:p,persisted:r,hasOverflowSubMenu:h};return m.children=Object.keys(this.nodeMap).reduce((function(t,o){return i.nodeMap[o].parent===e&&t.push(i.nodeMap[o].id),t}),[]),m},e.prototype._removeChildFromParents=function(e,t){this.getNodes([e]).forEach((function(e){var o=e.children.indexOf(t);o>=0&&e.children.splice(o,1)}))},e}();function Rk(e,t){if(e.key!==t.key)return!1;var o=e.modifierKeys,n=t.modifierKeys;if(!o&&n||o&&!n)return!1;if(o&&n){if(o.length!==n.length)return!1;o=o.sort(),n=n.sort();for(var r=0;r1&&t<=s.length?Za(s[t-1],null!=i?i:void 0):1===t},n._onDismiss=function(e){n.state.inKeytipMode&&n._exitKeytipMode(e)},n._onKeyDown=function(e){n._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":n.state.inKeytipMode&&(n._keyHandled=!0,n._exitKeytipMode(e));break;default:"Esc"===t?t="Escape":"OS"!==t&&"Win"!==t||(t="Meta");var o={key:t};o.modifierKeys=n._getModifierKey(t,e),n.processTransitionInput(o,e)}},n._onKeyPress=function(e){n.state.inKeytipMode&&!n._keyHandled&&(n.processInput(e.key.toLocaleLowerCase(),e),e.preventDefault(),e.stopPropagation())},n._onKeytipAdded=function(e){var t,o=e.keytip,r=e.uniqueID;if(n._keytipTree.addNode(o,r),n._setKeytips(),n._keytipTree.isCurrentKeytipParent(o)&&(n._delayedKeytipQueue=n._delayedKeytipQueue.concat((null===(t=n._keytipTree.currentKeytip)||void 0===t?void 0:t.children)||[]),n._addKeytipToQueue(ad(o.keySequences)),n._keytipTree.currentKeytip&&n._keytipTree.currentKeytip.hasDynamicChildren&&n._keytipTree.currentKeytip.children.indexOf(o.id)<0)){var i=n._keytipTree.getNode(n._keytipTree.currentKeytip.id);i&&(n._keytipTree.currentKeytip=i)}n._persistedKeytipChecks(o)},n._onKeytipUpdated=function(e){var t,o=e.keytip,r=e.uniqueID;n._keytipTree.updateNode(o,r),n._setKeytips(),n._keytipTree.isCurrentKeytipParent(o)&&(n._delayedKeytipQueue=n._delayedKeytipQueue.concat((null===(t=n._keytipTree.currentKeytip)||void 0===t?void 0:t.children)||[]),n._addKeytipToQueue(ad(o.keySequences))),n._persistedKeytipChecks(o)},n._persistedKeytipChecks=function(e){if(n._newCurrentKeytipSequences&&Ta(e.keySequences,n._newCurrentKeytipSequences)&&n._triggerKeytipImmediately(e),n._isCurrentKeytipAnAlias(e)){var t=e.keySequences;e.overflowSetSequence&&(t=sd(t,e.overflowSetSequence)),n._keytipTree.currentKeytip=n._keytipTree.getNode(ad(t))}},n._onKeytipRemoved=function(e){var t=e.keytip,o=e.uniqueID;n._removeKeytipFromQueue(ad(t.keySequences)),n._keytipTree.removeNode(t,o),n._setKeytips()},n._onPersistedKeytipAdded=function(e){var t=e.keytip,o=e.uniqueID;n._keytipTree.addNode(t,o,!0)},n._onPersistedKeytipRemoved=function(e){var t=e.keytip,o=e.uniqueID;n._keytipTree.removeNode(t,o)},n._onPersistedKeytipExecute=function(e){n._persistedKeytipExecute(e.overflowButtonSequences,e.keytipSequences)},n._setInKeytipMode=function(e){n.setState({inKeytipMode:e}),n._keytipManager.inKeytipMode=e},n._warnIfDuplicateKeytips=function(){var e=n._getDuplicateIds(n._keytipTree.getChildren());e.length&&Sn("Duplicate keytips found for "+e.join(", "))},n._getDuplicateIds=function(e){var t={};return e.filter((function(e){return t[e]=t[e]?t[e]+1:1,2===t[e]}))},oa(n),n._events=new fl(n),n._async=new sa(n);var r=n._keytipManager.getKeytips();return n.state={inKeytipMode:!1,keytips:r,visibleKeytips:n._getVisibleKeytips(r)},n._buildTree(),n._currentSequence="",n._events.on(n._keytipManager,Pu.KEYTIP_ADDED,n._onKeytipAdded),n._events.on(n._keytipManager,Pu.KEYTIP_UPDATED,n._onKeytipUpdated),n._events.on(n._keytipManager,Pu.KEYTIP_REMOVED,n._onKeytipRemoved),n._events.on(n._keytipManager,Pu.PERSISTED_KEYTIP_ADDED,n._onPersistedKeytipAdded),n._events.on(n._keytipManager,Pu.PERSISTED_KEYTIP_REMOVED,n._onPersistedKeytipRemoved),n._events.on(n._keytipManager,Pu.PERSISTED_KEYTIP_EXECUTE,n._onPersistedKeytipExecute),n}return m(t,e),t.prototype.render=function(){var e=this,t=this.props,o=t.content,n=t.styles,r=this.state,i=r.keytips,a=r.visibleKeytips;return this._classNames=Fk(n,{}),C.createElement(Eu,{styles:Tk},C.createElement("span",{id:od,className:this._classNames.innerContent},"".concat(o).concat(nd)),i&&i.map((function(t,o){return C.createElement("span",{key:o,id:ad(t.keySequences),className:e._classNames.innerContent},t.keySequences.join(nd))})),a&&a.map((function(e){return C.createElement(Ek,f({key:ad(e.keySequences)},e))})))},t.prototype.componentDidMount=function(){var e=Fc(this.context);this._events.on(e,"mouseup",this._onDismiss,!0),this._events.on(e,"pointerup",this._onDismiss,!0),this._events.on(e,"resize",this._onDismiss),this._events.on(e,"keydown",this._onKeyDown,!0),this._events.on(e,"keypress",this._onKeyPress,!0),this._events.on(e,"scroll",this._onDismiss,!0),this._events.on(this._keytipManager,Pu.ENTER_KEYTIP_MODE,this._enterKeytipMode),this._events.on(this._keytipManager,Pu.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 o=this._keytipTree.currentKeytip;Mk(this.props.keytipExitSequences,e)&&o?(this._keyHandled=!0,this._exitKeytipMode(t)):Mk(this.props.keytipReturnSequences,e)?o&&(this._keyHandled=!0,o.id===this._keytipTree.root.id?this._exitKeytipMode(t):(o.onReturn&&o.onReturn(this._getKtpExecuteTarget(o),this._getKtpTarget(o)),this._currentSequence="",this._keytipTree.currentKeytip=this._keytipTree.getNode(o.parent),this.showKeytips(this._keytipTree.getChildren()),this._warnIfDuplicateKeytips())):Mk(this.props.keytipStartSequences,e)&&!o&&(this._keyHandled=!0,this._enterKeytipMode(e),this._warnIfDuplicateKeytips())},t.prototype.processInput=function(e,t){var o=this._currentSequence+e,n=this._keytipTree.currentKeytip;if(n){var r=this._keytipTree.getExactMatchedNode(o,n);if(r){this._keytipTree.currentKeytip=n=r;var i=this._keytipTree.getChildren();return n.onExecute&&(n.onExecute(this._getKtpExecuteTarget(n),this._getKtpTarget(n)),n=this._keytipTree.currentKeytip),0!==i.length||n.hasDynamicChildren||n.hasMenu?(this.showKeytips(i),this._warnIfDuplicateKeytips()):this._exitKeytipMode(t),void(this._currentSequence="")}var a=this._keytipTree.getPartiallyMatchedNodes(o,n);if(a.length>0){var s=a.filter((function(e){return!e.persisted})).map((function(e){return e.id}));this.showKeytips(s),this._currentSequence=o}}},t.prototype.showKeytips=function(e){for(var t=0,o=this._keytipManager.getKeytips();t=0?n.visible=!0:n.visible=!1}this._setKeytips()},t.prototype._enterKeytipMode=function(e){this._keytipManager.shouldEnterKeytipMode&&(this._keytipManager.delayUpdatingKeytipChange&&(this._buildTree(),this._setKeytips()),this._keytipTree.currentKeytip=this._keytipTree.root,this.showKeytips(this._keytipTree.getChildren()),this._setInKeytipMode(!0),this.props.onEnterKeytipMode&&this.props.onEnterKeytipMode(e))},t.prototype._buildTree=function(){this._keytipTree=new Pk;for(var e=0,t=Object.keys(this._keytipManager.keytips);e=0&&(this._delayedKeytipQueue.splice(o,1),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedQueueTimeout=this._async.setTimeout((function(){t._delayedKeytipQueue.length&&(t.showKeytips(t._delayedKeytipQueue),t._delayedKeytipQueue=[])}),300))},t.prototype._getKtpExecuteTarget=function(e){return ht().querySelector(cd(e.id))},t.prototype._getKtpTarget=function(e){return ht().querySelector(ld(e.keySequences))},t.prototype._isCurrentKeytipAnAlias=function(e){var t=this._keytipTree.currentKeytip;return!(!t||!t.overflowSetSequence&&!t.persisted||!Ta(e.keySequences,t.keySequences))},t.defaultProps={keytipStartSequences:[Nk],keytipExitSequences:[Bk],keytipReturnSequences:[Ak],content:""},t.contextType=la,t}(C.Component),Hk=lr(Lk,(function(e){return{innerContent:[{position:"absolute",width:0,height:0,margin:0,padding:0,border:0,overflow:"hidden",visibility:"hidden"}]}}),void 0,{scope:"KeytipLayer"});function Ok(e){for(var t={},o=0,n=e.keytips;o0&&this._computeScrollVelocity(e)},e.prototype._computeScrollVelocity=function(e){if(this._scrollRect){var t,o;"clientX"in e?(t=e.clientX,o=e.clientY):(t=e.touches[0].clientX,o=e.touches[0].clientY);var n,r,i,a=this._scrollRect.top,s=this._scrollRect.left,l=a+this._scrollRect.height-Uk,c=s+this._scrollRect.width-Uk;ol?(r=o,n=a,i=l,this._isVerticalScroll=!0):(r=t,n=s,i=c,this._isVerticalScroll=!1),this._scrollVelocity=ri?Math.min(15,(r-i)/Uk*15):0,this._scrollVelocity?this._startScroll():this._stopScroll()}},e.prototype._startScroll=function(){this._timeoutId||this._incrementScroll()},e.prototype._incrementScroll=function(){this._scrollableParent&&(this._isVerticalScroll?this._scrollableParent.scrollTop+=Math.round(this._scrollVelocity):this._scrollableParent.scrollLeft+=Math.round(this._scrollVelocity)),this._timeoutId=setTimeout(this._incrementScroll,16)},e.prototype._stopScroll=function(){this._timeoutId&&(clearTimeout(this._timeoutId),delete this._timeoutId)},e}();function qk(e,t){var o=e.left||e.x||0,n=e.top||e.y||0,r=t.left||t.x||0,i=t.top||t.y||0;return Math.sqrt(Math.pow(o-r,2)+Math.pow(n-i,2))}function Yk(e){var t,o=e.contentSize,n=e.boundsSize,r=e.mode,i=void 0===r?"contain":r,a=e.maxScale,s=void 0===a?1:a,l=o.width/o.height,c=n.width/n.height;t=("contain"===i?l>c:lr.left+t.clientWidth)return!0;if(e.clientY>r.top+t.clientHeight)return!0}return!1},t.prototype._getRootRect=function(){return{left:this._rootRect.left+(this._scrollableSurface?this._scrollLeft-this._scrollableSurface.scrollLeft:this._scrollLeft),top:this._rootRect.top+(this._scrollableSurface?this._scrollTop-this._scrollableSurface.scrollTop:this._scrollTop),width:this._rootRect.width,height:this._rootRect.height}},t.prototype._onAsyncMouseMove=function(e){var t=this;this._async.requestAnimationFrame((function(){t._onMouseMove(e)})),e.stopPropagation(),e.preventDefault()},t.prototype._onMouseMove=function(e){if(this._autoScroll){void 0!==e.clientX&&(this._lastMouseEvent=e);var t=this._getRootRect(),o={left:e.clientX-t.left,top:e.clientY-t.top};if(this._dragOrigin||(this._dragOrigin=o),void 0!==e.buttons&&0===e.buttons)this._onMouseUp(e);else if(this.state.dragRect||qk(this._dragOrigin,o)>5){if(!this.state.dragRect){var n=this.props.selection;e.shiftKey||n.setAllSelected(!1),this._preservedIndicies=n&&n.getSelectedIndices&&n.getSelectedIndices()}var r=this.props.isDraggingConstrainedToRoot?{left:Math.max(0,Math.min(t.width,this._lastMouseEvent.clientX-t.left)),top:Math.max(0,Math.min(t.height,this._lastMouseEvent.clientY-t.top))}:{left:this._lastMouseEvent.clientX-t.left,top:this._lastMouseEvent.clientY-t.top},i={left:Math.min(this._dragOrigin.left||0,r.left),top:Math.min(this._dragOrigin.top||0,r.top),width:Math.abs(r.left-(this._dragOrigin.left||0)),height:Math.abs(r.top-(this._dragOrigin.top||0))};this._evaluateSelection(i,t),this.setState({dragRect:i})}return!1}},t.prototype._onMouseUp=function(e){var t=Fc(this.context);this._events.off(t),this._events.off(this._scrollableParent,"scroll"),this._autoScroll&&this._autoScroll.dispose(),this._autoScroll=this._dragOrigin=this._lastMouseEvent=void 0,this._selectedIndicies=this._itemRectCache=void 0,this.state.dragRect&&(this.setState({dragRect:void 0}),e.preventDefault(),e.stopPropagation())},t.prototype._isPointInRectangle=function(e,t){return!!t.top&&e.topt.top&&!!t.left&&e.leftt.left},t.prototype._isDragStartInSelection=function(e){var t=this.props.selection;if(!this._root.current||t&&0===t.getSelectedCount())return!1;for(var o=this._root.current.querySelectorAll("[data-selection-index]"),n=0;n0&&s.height>0&&(this._itemRectCache[a]=s),s.tope.top&&s.lefte.left?this._selectedIndicies[a]=!0:delete this._selectedIndicies[a]}var l=this._allSelectedIndices||{};for(var a in this._allSelectedIndices={},this._selectedIndicies)this._selectedIndicies.hasOwnProperty(a)&&(this._allSelectedIndices[a]=!0);if(this._preservedIndicies)for(var c=0,u=this._preservedIndicies;c0)if(e.collapseAriaLabel||e.expandAriaLabel){var p=null!==(n=e.collapseAriaLabel)&&void 0!==n?n:e.expandAriaLabel;d=e.isExpanded?p:e.expandAriaLabel}else d=a?"".concat(e.name," ").concat(a):e.name;return C.createElement("div",f({},r,{key:e.key||t,className:u.compositeLink}),e.links&&e.links.length>0?C.createElement("button",{className:u.chevronButton,onClick:this._onLinkExpandClicked.bind(this,e),"aria-label":d,"aria-expanded":e.isExpanded?"true":"false"},C.createElement(Ei,{className:u.chevronIcon,iconName:"ChevronDown"})):null,this._renderNavLink(e,t,o))},t.prototype._renderLink=function(e,t,o){var n=this.props,r=n.styles,i=n.groups,a=n.theme,s=Sw(r,{theme:a,groups:i});return C.createElement("li",{key:e.key||t,role:"listitem",className:s.navItem},this._renderCompositeLink(e,t,o),e.isExpanded?this._renderLinks(e.links,++o):null)},t.prototype._renderLinks=function(e,t){var o=this;if(!e||!e.length)return null;var n=e.map((function(e,n){return o._renderLink(e,n,t)})),r=this.props,i=r.styles,a=r.groups,s=r.theme,l=Sw(i,{theme:s,groups:a});return C.createElement("ul",{role:"list",className:l.navItems},n)},t.prototype._onGroupHeaderClicked=function(e,t){e.onHeaderClick&&e.onHeaderClick(t,this._isGroupExpanded(e)),void 0===e.isExpanded&&this._toggleCollapsed(e),t&&(t.preventDefault(),t.stopPropagation())},t.prototype._onLinkExpandClicked=function(e,t){var o=this.props.onLinkExpandClick;o&&o(t,e),t.defaultPrevented||(e.isExpanded=!e.isExpanded,this.setState({isLinkExpandStateChanged:!0})),t.preventDefault(),t.stopPropagation()},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===gt()||!e.url)return!1;var t=Ac(this.context);(dw=dw||t.createElement("a")).href=e.url||"";var o=dw.href;return location.href===o||location.protocol+"//"+location.host+location.pathname===o||!!location.hash&&(location.hash===e.url||(dw.href=location.hash.substring(1),dw.href===o))},t.prototype._isGroupExpanded=function(e){return void 0!==e.isExpanded?e.isExpanded:e.name&&this.state.isGroupCollapsed.hasOwnProperty(e.name)?!this.state.isGroupCollapsed[e.name]:void 0===e.collapseByDefault||!e.collapseByDefault},t.prototype._toggleCollapsed=function(e){var t;if(e.name){var o=f(f({},this.state.isGroupCollapsed),((t={})[e.name]=this._isGroupExpanded(e),t));this.setState({isGroupCollapsed:o})}},t.defaultProps={groups:null},t.contextType=la,t}(C.Component),kw=lr(xw,(function(e){var t,o=e.className,n=e.theme,r=e.isOnTop,i=e.isExpanded,a=e.isGroup,s=e.isLink,l=e.isSelected,c=e.isDisabled,u=e.isButtonEntry,d=e.navHeight,p=void 0===d?44:d,h=e.position,m=e.leftPadding,f=void 0===m?20:m,g=e.leftPaddingExpanded,v=void 0===g?28:g,b=e.rightPadding,y=void 0===b?20:b,C=n.palette,_=n.semanticColors,S=n.fonts,x=Ao(bw,n);return{root:[x.root,o,S.medium,{overflowY:"auto",userSelect:"none",WebkitOverflowScrolling:"touch"},r&&[{position:"absolute"},it.slideRightIn40]],linkText:[x.linkText,{margin:"0 4px",overflow:"hidden",verticalAlign:"middle",textAlign:"left",textOverflow:"ellipsis"}],compositeLink:[x.compositeLink,{display:"block",position:"relative",color:_.bodyText},i&&"is-expanded",l&&"is-selected",c&&"is-disabled",c&&{color:_.disabledText}],link:[x.link,sn(n),{display:"block",position:"relative",height:p,width:"100%",lineHeight:"".concat(p,"px"),textDecoration:"none",cursor:"pointer",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",paddingLeft:f,paddingRight:y,color:_.bodyText,selectors:(t={},t[Fo]={border:0,selectors:{":focus":{border:"1px solid WindowText"}}},t)},!c&&{selectors:{".ms-Nav-compositeLink:hover &":{backgroundColor:_.bodyBackgroundHovered}}},l&&{color:_.bodyTextChecked,fontWeight:nt.semibold,backgroundColor:_.bodyBackgroundChecked,selectors:{"&:after":{borderLeft:"2px solid ".concat(C.themePrimary),content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}},c&&{color:_.disabledText},u&&{color:C.themePrimary}],chevronButton:[x.chevronButton,sn(n),S.small,{display:"block",textAlign:"left",lineHeight:"".concat(p,"px"),margin:"5px 0",padding:"0px, ".concat(y,"px, 0px, ").concat(v,"px"),border:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",cursor:"pointer",color:_.bodyText,backgroundColor:"transparent",selectors:{"&:visited":{color:_.bodyText}}},a&&{fontSize:S.large.fontSize,width:"100%",height:p,borderBottom:"1px solid ".concat(_.bodyDivider)},s&&{display:"block",width:v-2,height:p-2,position:"absolute",top:"1px",left:"".concat(h,"px"),zIndex:tn.Nav,padding:0,margin:0}],chevronIcon:[x.chevronIcon,{position:"absolute",left:"8px",height:p,display:"inline-flex",alignItems:"center",lineHeight:"".concat(p,"px"),fontSize:S.small.fontSize,transition:"transform .1s linear"},i&&{transform:"rotate(-180deg)"},s&&{top:0}],navItem:[x.navItem,{padding:0}],navItems:[x.navItems,{listStyleType:"none",padding:0,margin:0}],group:[x.group,i&&"is-expanded"],groupContent:[x.groupContent,{display:"none",marginBottom:"40px"},it.slideDownIn20,i&&{display:"block"}]}}),void 0,{scope:"Nav"});!function(e){e[e.none=0]="none",e[e.forceResolve=1]="forceResolve",e[e.searchMore=2]="searchMore"}(_w||(_w={}));var ww={root:"ms-Suggestions-item",itemButton:"ms-Suggestions-itemButton",closeButton:"ms-Suggestions-closeButton",isSuggested:"is-suggested"};function Iw(e){var t,o,n,r,i,a,s=e.className,l=e.theme,c=e.suggested,u=l.palette,d=l.semanticColors,p=Ao(ww,l);return{root:[p.root,{display:"flex",alignItems:"stretch",boxSizing:"border-box",width:"100%",position:"relative",selectors:{"&:hover":{background:d.menuItemBackgroundHovered},"&:hover .ms-Suggestions-closeButton":{display:"block"}}},c&&{selectors:(t={},t[".".concat(on," &, :host(.").concat(on,") &")]={selectors:(o={},o[".".concat(p.closeButton)]={display:"block",background:d.menuItemBackgroundPressed},o)},t[":after"]={pointerEvents:"none",content:'""',position:"absolute",left:0,top:0,bottom:0,right:0,border:"1px solid ".concat(l.semanticColors.focusBorder)},t)},s],itemButton:[p.itemButton,{justifyContent:"flex-start",width:"100%",padding:0,border:"none",height:"100%",minWidth:0,overflow:"hidden",selectors:(n={},n[Fo]={color:"WindowText",selectors:{":hover":f({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})}},n[":hover"]={color:d.menuItemTextHovered},n)},c&&[p.isSuggested,{background:d.menuItemBackgroundPressed,selectors:(r={":hover":{background:d.menuDivider}},r[Fo]=f({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)}]],closeButton:[p.closeButton,{display:"none",color:u.neutralSecondary,padding:"0 4px",height:"auto",width:32,selectors:(i={":hover, :active":{background:u.neutralTertiaryAlt,color:u.neutralDark}},i[Fo]={color:"WindowText"},i)},c&&(a={},a[".".concat(on," &, :host(.").concat(on,") &")]={selectors:{":hover, :active":{background:u.neutralTertiary}}},a.selectors={":hover, :active":{background:u.neutralTertiary,color:u.neutralPrimary}},a)]}}var Dw=l,Ew=Cr(),Tw=lr(ix,Iw,void 0,{scope:"SuggestionItem"}),Pw=function(e){function t(t){var o=e.call(this,t)||this;return o._forceResolveButton=C.createRef(),o._searchForMoreButton=C.createRef(),o._selectedElement=C.createRef(),o._scrollContainer=C.createRef(),o.tryHandleKeyDown=function(e,t){var n=!1,r=null,i=o.state.selectedActionType,a=o.props.suggestions.length;if(e===ur.down)switch(i){case _w.forceResolve:a>0?(o._refocusOnSuggestions(e),r=_w.none):r=o._searchForMoreButton.current?_w.searchMore:_w.forceResolve;break;case _w.searchMore:o._forceResolveButton.current?r=_w.forceResolve:a>0?(o._refocusOnSuggestions(e),r=_w.none):r=_w.searchMore;break;case _w.none:-1===t&&o._forceResolveButton.current&&(r=_w.forceResolve)}else if(e===ur.up)switch(i){case _w.forceResolve:o._searchForMoreButton.current?r=_w.searchMore:a>0&&(o._refocusOnSuggestions(e),r=_w.none);break;case _w.searchMore:a>0?(o._refocusOnSuggestions(e),r=_w.none):o._forceResolveButton.current&&(r=_w.forceResolve);break;case _w.none:-1===t&&o._searchForMoreButton.current&&(r=_w.searchMore)}return null!==r&&(o.setState({selectedActionType:r}),n=!0),n},o._getAlertText=function(){var e=o.props,t=e.isLoading,n=e.isSearching,r=e.suggestions,i=e.suggestionsAvailableAlertText,a=e.noResultsFoundText,s=e.isExtendedLoading,l=e.loadingText;if(t||n){if(t&&s)return l||""}else{if(r.length>0)return i||"";if(a)return a}return""},o._getMoreResults=function(){o.props.onGetMoreResults&&(o.props.onGetMoreResults(),o.setState({selectedActionType:_w.none}))},o._forceResolve=function(){o.props.createGenericItem&&o.props.createGenericItem()},o._shouldShowForceResolve=function(){return!!o.props.showForceResolve&&o.props.showForceResolve()},o._onClickTypedSuggestionsItem=function(e,t){return function(n){o.props.onSuggestionClick(n,e,t)}},o._refocusOnSuggestions=function(e){"function"==typeof o.props.refocusSuggestions&&o.props.refocusSuggestions(e)},o._onRemoveTypedSuggestionsItem=function(e,t){return function(n){(0,o.props.onSuggestionRemove)(n,e,t),n.stopPropagation()}},oa(o),o.state={selectedActionType:_w.none},o}return m(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,o=this,n=this.props,r=n.forceResolveText,i=n.mostRecentlyUsedHeaderText,a=n.searchForMoreIcon,s=n.searchForMoreText,l=n.className,c=n.moreSuggestionsAvailable,u=n.noResultsFoundText,d=n.suggestions,p=n.isLoading,h=n.isSearching,m=n.loadingText,g=n.onRenderNoResultFound,v=n.searchingText,b=n.isMostRecentlyUsedVisible,y=n.resultsMaximumNumber,_=n.resultsFooterFull,S=n.resultsFooter,x=n.isResultsFooterVisible,k=void 0===x||x,w=n.suggestionsHeaderText,I=n.suggestionsClassName,D=n.theme,E=n.styles,T=n.suggestionsListId,P=n.suggestionsContainerAriaLabel;this._classNames=E?Ew(E,{theme:D,className:l,suggestionsClassName:I,forceResolveButtonSelected:this.state.selectedActionType===_w.forceResolve,searchForMoreButtonSelected:this.state.selectedActionType===_w.searchMore}):{root:gi("ms-Suggestions",l,Dw.root),title:gi("ms-Suggestions-title",Dw.suggestionsTitle),searchForMoreButton:gi("ms-SearchMore-button",Dw.actionButton,(e={},e["is-selected "+Dw.buttonSelected]=this.state.selectedActionType===_w.searchMore,e)),forceResolveButton:gi("ms-forceResolve-button",Dw.actionButton,(t={},t["is-selected "+Dw.buttonSelected]=this.state.selectedActionType===_w.forceResolve,t)),suggestionsAvailable:gi("ms-Suggestions-suggestionsAvailable",Dw.suggestionsAvailable),suggestionsContainer:gi("ms-Suggestions-container",Dw.suggestionsContainer,I),noSuggestions:gi("ms-Suggestions-none",Dw.suggestionsNone)};var R=this._classNames.subComponentStyles?this._classNames.subComponentStyles.spinner:void 0,M=E?{styles:R}:{className:gi("ms-Suggestions-spinner",Dw.suggestionsSpinner)},N=w;b&&i&&(N=i);var B=void 0;k&&(B=d.length>=y?_:S);var A,F=!(d&&d.length||p),L=this.state.selectedActionType===_w.forceResolve?"sug-selectedAction":void 0,H=this.state.selectedActionType===_w.searchMore?"sug-selectedAction":void 0;return C.createElement("div",{className:this._classNames.root,"aria-label":P||N,id:T,role:"listbox"},C.createElement(ya,{message:this._getAlertText(),"aria-live":"polite"}),N?C.createElement("div",{className:this._classNames.title},N):null,r&&this._shouldShowForceResolve()&&C.createElement(dh,{componentRef:this._forceResolveButton,className:this._classNames.forceResolveButton,id:L,onClick:this._forceResolve,"data-automationid":"sug-forceResolve"},r),p&&C.createElement(Gy,f({},M,{ariaLabel:m,label:m})),F?(A=function(){return C.createElement("div",{className:o._classNames.noSuggestions},u)},C.createElement("div",{id:"sug-noResultsFound",role:"option"},g?g(void 0,A):A())):this._renderSuggestions(),s&&c&&C.createElement(dh,{componentRef:this._searchForMoreButton,className:this._classNames.searchForMoreButton,iconProps:a||{iconName:"Search"},id:H,onClick:this._getMoreResults,"data-automationid":"sug-searchForMore",role:"option"},s),h?C.createElement(Gy,f({},M,{ariaLabel:v,label:v})):null,!B||c||b||h?null:C.createElement("div",{className:this._classNames.title},B(this.props)))},t.prototype.hasSuggestedAction=function(){return!!this._searchForMoreButton.current||!!this._forceResolveButton.current},t.prototype.hasSuggestedActionSelected=function(){return this.state.selectedActionType!==_w.none},t.prototype.executeSelectedAction=function(){switch(this.state.selectedActionType){case _w.forceResolve:this._forceResolve();break;case _w.searchMore:this._getMoreResults()}},t.prototype.focusAboveSuggestions=function(){this._forceResolveButton.current?this.setState({selectedActionType:_w.forceResolve}):this._searchForMoreButton.current&&this.setState({selectedActionType:_w.searchMore})},t.prototype.focusBelowSuggestions=function(){this._searchForMoreButton.current?this.setState({selectedActionType:_w.searchMore}):this._forceResolveButton.current&&this.setState({selectedActionType:_w.forceResolve})},t.prototype.focusSearchForMoreButton=function(){this._searchForMoreButton.current&&this._searchForMoreButton.current.focus()},t.prototype.scrollSelected=function(){if(this._selectedElement.current&&this._scrollContainer.current&&void 0!==this._scrollContainer.current.scrollTo){var e=this._selectedElement.current,t=e.offsetHeight,o=e.offsetTop,n=this._scrollContainer.current,r=n.offsetHeight,i=n.scrollTop,a=o+t>i+r;o=i?l.slice(u-i+1,u+1):l.slice(0,i)),0===l.length?null:C.createElement("div",{className:this._classNames.suggestionsContainer,ref:this._scrollContainer,role:"presentation"},l.map((function(t,i){return C.createElement("div",{ref:t.selected?e._selectedElement:void 0,key:t.item.key?t.item.key:i,role:"presentation"},C.createElement(c,{suggestionModel:t,RenderSuggestion:o,onClick:e._onClickTypedSuggestionsItem(t.item,i),className:r,showRemoveButton:a,removeButtonAriaLabel:n,onRemoveItem:e._onRemoveTypedSuggestionsItem(t.item,i),id:"sug-"+i,removeButtonIconProps:s}))})))},t}(C.Component),Rw={root:"ms-Suggestions",suggestionsContainer:"ms-Suggestions-container",title:"ms-Suggestions-title",forceResolveButton:"ms-forceResolve-button",searchForMoreButton:"ms-SearchMore-button",spinner:"ms-Suggestions-spinner",noSuggestions:"ms-Suggestions-none",suggestionsAvailable:"ms-Suggestions-suggestionsAvailable",isSelected:"is-selected"};function Mw(e){var t,o=e.className,n=e.suggestionsClassName,r=e.theme,i=e.forceResolveButtonSelected,a=e.searchForMoreButtonSelected,s=r.palette,l=r.semanticColors,c=r.fonts,u=Ao(Rw,r),d={backgroundColor:"transparent",border:0,cursor:"pointer",margin:0,paddingLeft:8,position:"relative",borderTop:"1px solid ".concat(s.neutralLight),height:40,textAlign:"left",width:"100%",fontSize:c.small.fontSize,selectors:{":hover":{backgroundColor:l.menuItemBackgroundPressed,cursor:"pointer"},":focus, :active":{backgroundColor:s.themeLight},".ms-Button-icon":{fontSize:c.mediumPlus.fontSize,width:25},".ms-Button-label":{margin:"0 4px 0 9px"}}},p={backgroundColor:s.themeLight,selectors:(t={},t[Fo]=f({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[":after"]={pointerEvents:"none",content:'""',position:"absolute",left:0,top:0,bottom:0,right:0,border:"1px solid ".concat(r.semanticColors.focusBorder)},t)};return{root:[u.root,{minWidth:260},o],suggestionsContainer:[u.suggestionsContainer,{overflowY:"auto",overflowX:"hidden",maxHeight:300,transform:"translate3d(0,0,0)"},n],title:[u.title,{padding:"0 12px",fontSize:c.small.fontSize,color:s.themePrimary,lineHeight:40,borderBottom:"1px solid ".concat(l.menuItemBackgroundPressed)}],forceResolveButton:[u.forceResolveButton,d,i&&[u.isSelected,p]],searchForMoreButton:[u.searchForMoreButton,d,a&&[u.isSelected,p]],noSuggestions:[u.noSuggestions,{textAlign:"center",color:s.neutralSecondary,fontSize:c.small.fontSize,lineHeight:30}],suggestionsAvailable:[u.suggestionsAvailable,vo],subComponentStyles:{spinner:{root:[u.spinner,{margin:"5px 0",paddingLeft:14,textAlign:"left",whiteSpace:"nowrap",lineHeight:20,fontSize:c.small.fontSize}],circle:{display:"inline-block",verticalAlign:"middle"},label:{display:"inline-block",verticalAlign:"middle",margin:"0 10px 0 16px"}}}}}var Nw,Bw=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.ariaLabel}},this.suggestions=[],this.currentIndex=-1}return e.prototype.updateSuggestions=function(e,t,o){if(e&&e.length>0){if(o&&e.length>o){var n=t&&t>o?t+1-o:0;e=e.slice(n,n+o-1)}this.suggestions=this.convertSuggestionsToSuggestionItems(e),this.currentIndex=t||0,-1===t?this.currentSuggestion=void 0:void 0!==t&&(this.suggestions[t].selected=!0,this.currentSuggestion=this.suggestions[t])}else this.suggestions=[],this.currentIndex=-1,this.currentSuggestion=void 0},e.prototype.nextSuggestion=function(){if(this.suggestions&&this.suggestions.length){if(this.currentIndex0)return this.setSelectedSuggestion(this.currentIndex-1),!0;if(0===this.currentIndex)return this.setSelectedSuggestion(this.suggestions.length-1),!0}return!1},e.prototype.getSuggestions=function(){return this.suggestions},e.prototype.getCurrentItem=function(){return this.currentSuggestion},e.prototype.getSuggestionAtIndex=function(e){return this.suggestions[e]},e.prototype.hasSelectedSuggestion=function(){return!!this.currentSuggestion},e.prototype.removeSuggestion=function(e){this.suggestions.splice(e,1)},e.prototype.createGenericSuggestion=function(e){var t=this.convertSuggestionsToSuggestionItems([e])[0];this.currentSuggestion=t},e.prototype.convertSuggestionsToSuggestionItems=function(e){return Array.isArray(e)?e.map(this._ensureSuggestionModel):[]},e.prototype.deselectAllSuggestions=function(){this.currentIndex>-1&&(this.suggestions[this.currentIndex].selected=!1,this.currentIndex=-1)},e.prototype.setSelectedSuggestion=function(e){e>this.suggestions.length-1||e<0?(this.currentIndex=0,this.currentSuggestion.selected=!1,this.currentSuggestion=this.suggestions[0],this.currentSuggestion.selected=!0):(this.currentIndex>-1&&(this.suggestions[this.currentIndex].selected=!1),this.suggestions[e].selected=!0,this.currentIndex=e,this.currentSuggestion=this.suggestions[e])},e}();!function(e){e[e.valid=0]="valid",e[e.warning=1]="warning",e[e.invalid=2]="invalid"}(Nw||(Nw={})),qt([{rawString:".picker_94f06b16{position:relative}.pickerText_94f06b16{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid "},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";min-width:180px;min-height:30px}.pickerText_94f06b16:hover{border-color:"},{theme:"inputBorderHovered",defaultValue:"#323130"},{rawString:"}.pickerText_94f06b16.inputFocused_94f06b16{position:relative;border-color:"},{theme:"inputFocusBorderAlt",defaultValue:"#0078d4"},{rawString:'}.pickerText_94f06b16.inputFocused_94f06b16:after{pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;right:-1px;border:2px solid '},{theme:"inputFocusBorderAlt",defaultValue:"#0078d4"},{rawString:'}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.pickerText_94f06b16.inputDisabled_94f06b16{position:relative;border-color:GrayText}.pickerText_94f06b16.inputDisabled_94f06b16:after{pointer-events:none;content:"";position:absolute;left:0;top:0;bottom:0;right:0;background-color:Window}}.pickerInput_94f06b16{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;-ms-flex-item-align:end;align-self:flex-end}.pickerItems_94f06b16{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%}.screenReaderOnly_94f06b16{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}'}]);var Aw="picker_94f06b16",Fw="pickerText_94f06b16",Lw="inputFocused_94f06b16",Hw="inputDisabled_94f06b16",Ow="pickerInput_94f06b16",zw="pickerItems_94f06b16",Ww="screenReaderOnly_94f06b16",Vw=d,Kw=Cr(),Gw=function(e){function t(t){var o=e.call(this,t)||this;o.root=C.createRef(),o.input=C.createRef(),o.suggestionElement=C.createRef(),o.SuggestionOfProperType=Pw,o._styledSuggestions=lr(o.SuggestionOfProperType,Mw,void 0,{scope:"Suggestions"}),o._overrideScrollDismiss=!1,o.dismissSuggestions=function(e){var t=function(){var t=!0;o.props.onDismiss&&(t=o.props.onDismiss(e,o.suggestionStore.currentSuggestion?o.suggestionStore.currentSuggestion.item:void 0)),(!e||e&&!e.defaultPrevented)&&!1!==t&&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===ur.up?o.suggestionStore.setSelectedSuggestion(o.suggestionStore.suggestions.length-1):e===ur.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.selection.setAllSelected(!1),o.state.isFocused||(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=Ac(o.context).activeElement),t&&!Fa(o.root.current,t)&&(o.setState({isFocused:!1}),o.props.onBlur&&o.props.onBlur(e))}},o.onWrapperClick=function(e){o.state.items.length&&!o.canAddItems()&&o.resetFocus(o.state.items.length-1)},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.onFocus=function(){o.state.isFocused||o.setState({isFocused:!0})},o.onKeyDown=function(e){var t=e.which;switch(t){case ur.escape:o.state.suggestionsVisible&&(o.setState({suggestionsVisible:!1}),e.preventDefault(),e.stopPropagation());break;case ur.tab:case ur.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 ur.backspace:o.props.disabled||o.onBackspace(e),e.stopPropagation();break;case ur.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 ur.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.forceUpdate()):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 ur.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.forceUpdate()):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:"",selectionRemoved:void 0})}},o.removeItem=function(e){var t=o.state.items,n=t.indexOf(e);if(n>=0){var r=t.slice(0,n).concat(t.slice(n+1));o.setState({selectionRemoved:e}),o._updateSelectedItems(r),o._async.setTimeout((function(){o.setState({selectionRemoved:void 0})}),1e3)}},o.removeItems=function(e){var t=o.state.items.filter((function(t){return-1===e.indexOf(t)}));o._updateSelectedItems(t)},o._shouldFocusZoneEnterInnerZone=function(e){if(o.state.suggestionsVisible)switch(e.which){case ur.up:case ur.down:return!0}return e.which===ur.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)!==Nw.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._onResolveSuggestionsDebounced(e):o.setState({isMostRecentlyUsedVisible:!1,suggestionsVisible:!0}):o.onEmptyInputFocus()}},oa(o);var n=t.selectedItems||t.defaultSelectedItems||[];return o._id=us(),o._ariaMap={selectedItems:"selected-items-".concat(o._id),selectedSuggestionAlert:"selected-suggestion-alert-".concat(o._id),suggestionList:"suggestion-list-".concat(o._id),combobox:"combobox-".concat(o._id)},o.suggestionStore=new Bw,o.selection=new My({onSelectionChanged:function(){return o.onSelectionChange()}}),o.selection.setItems(n),o.state={items:n,suggestedDisplayValue:"",isMostRecentlyUsedVisible:!1,moreSuggestionsAvailable:!1,isFocused:!1,isSearching:!1,selectedIndices:[],selectionRemoved:void 0},o}return m(t,e),t.getDerivedStateFromProps=function(e){return e.selectedItems?{items:e.selectedItems}:null},Object.defineProperty(t.prototype,"items",{get:function(){return this.state.items},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._async=new sa(this),this.selection.setItems(this.state.items),this._onResolveSuggestionsDebounced=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},t.prototype.componentDidUpdate=function(e,t){var o=this;if(this.state.items&&this.state.items!==t.items){var n=this.selection.getSelectedIndices()[0];this.selection.setItems(this.state.items),this.state.isFocused&&(this.state.items.lengtht.items.length&&!this.canAddItems()&&this.resetFocus(this.state.items.length-1))}this.state.suggestionsVisible&&!t.suggestionsVisible&&(this._overrideScrollDismiss=!0,this._async.clearTimeout(this._overrideScrollDimissTimeout),this._overrideScrollDimissTimeout=this._async.setTimeout((function(){o._overrideScrollDismiss=!1}),100))},t.prototype.componentWillUnmount=function(){this.currentPromise&&(this.currentPromise=void 0),this._async.dispose()},t.prototype.focus=function(){this.input.current&&this.input.current.focus()},t.prototype.focusInput=function(){this.input.current&&this.input.current.focus()},t.prototype.completeSuggestion=function(e){this.suggestionStore.hasSelectedSuggestion()&&this.input.current?this.completeSelection(this.suggestionStore.currentSuggestion.item):e&&this._completeGenericSuggestion()},t.prototype.render=function(){var e=this.state,t=e.suggestedDisplayValue,o=e.isFocused,n=e.items,r=this.props,i=r.className,a=r.inputProps,s=r.disabled,l=r.selectionAriaLabel,c=r.selectionRole,u=void 0===c?"list":c,d=r.theme,p=r.styles,h=!!this.state.suggestionsVisible,m=h?this._ariaMap.suggestionList:void 0,g=p?Kw(p,{theme:d,className:i,isFocused:o,disabled:s,inputClassName:a&&a.className}):{root:gi("ms-BasePicker",i||""),text:gi("ms-BasePicker-text",Vw.pickerText,this.state.isFocused&&Vw.inputFocused),itemsWrapper:Vw.pickerItems,input:gi("ms-BasePicker-input",Vw.pickerInput,a&&a.className),screenReaderText:Vw.screenReaderOnly},v=this.props["aria-label"]||(null==a?void 0:a["aria-label"]);return C.createElement("div",{ref:this.root,className:g.root,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onWrapperClick},this.renderCustomAlert(g.screenReaderText),C.createElement("span",{id:"".concat(this._ariaMap.selectedItems,"-label"),hidden:!0},l||v),C.createElement(Ry,{selection:this.selection,selectionMode:oy.multiple},C.createElement("div",{className:g.text,"aria-owns":m},n.length>0&&C.createElement("span",{id:this._ariaMap.selectedItems,className:g.itemsWrapper,role:u,"aria-labelledby":"".concat(this._ariaMap.selectedItems,"-label")},this.renderItems()),this.canAddItems()&&C.createElement(ha,f({spellCheck:!1},a,{className:g.input,componentRef:this.input,id:(null==a?void 0:a.id)?a.id:this._ariaMap.combobox,onClick:this.onClick,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onInputValueChange:this.onInputChange,suggestedDisplayValue:t,"aria-activedescendant":h?this.getActiveDescendant():void 0,"aria-controls":m,"aria-describedby":n.length>0?this._ariaMap.selectedItems:void 0,"aria-expanded":h,"aria-haspopup":"listbox","aria-label":v,role:"combobox",disabled:s,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 button")[Math.min(e,t.length-1)];o&&o.focus()}else this.input.current&&this.input.current.focus()},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){var t,o=null===(t=this.props.pickerSuggestionsProps)||void 0===t?void 0:t.resultsMaximumNumber;this.suggestionStore.updateSuggestions(e,0,o),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._onResolveSuggestionsDebounced(e)},t.prototype.updateSuggestionsList=function(e,t){var o,n=this;Array.isArray(e)?this._updateAndResolveValue(t,e):e&&e.then&&(this.setState({suggestionsLoading:!0}),this._startLoadTimer(),this.suggestionStore.updateSuggestions([]),void 0!==t?this.setState({suggestionsVisible:this._getShowSuggestions()}):this.setState({suggestionsVisible:this.input.current&&this.input.current.inputElement===(null===(o=Ac(this.context))||void 0===o?void 0:o.activeElement)}),this.currentPromise=e,e.then((function(o){e===n.currentPromise&&n._updateAndResolveValue(t,o)})))},t.prototype.resolveNewValue=function(e,t){var o=this;this.updateSuggestions(t);var n=void 0;this.suggestionStore.currentSuggestion&&(n=this._getTextFromItem(this.suggestionStore.currentSuggestion.item,e)),this.setState({suggestedDisplayValue:n,suggestionsVisible:this._getShowSuggestions()},(function(){return o.setState({suggestionsLoading:!1,suggestionsExtendedLoading:!1})}))},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;if(!this.state.suggestionsLoading){var t=this.suggestionStore.currentIndex;return t<0?(null===(e=this.suggestionElement.current)||void 0===e?void 0:e.hasSuggestedAction())?"sug-selectedAction":0===this.suggestionStore.suggestions.length?"sug-noResultsFound":void 0:"sug-".concat(t)}},t.prototype.getSuggestionsAlert=function(e){void 0===e&&(e=Vw.screenReaderOnly);var t=this.suggestionStore.currentIndex;if(this.props.enableSelectedSuggestionAlert){var o=t>-1?this.suggestionStore.getSuggestionAtIndex(this.suggestionStore.currentIndex):void 0,n=o?o.ariaLabel:void 0;return C.createElement("div",{id:this._ariaMap.selectedSuggestionAlert,className:e},"".concat(n," "))}},t.prototype.renderCustomAlert=function(e){void 0===e&&(e=Vw.screenReaderOnly);var t=this.props.suggestionRemovedText,o=void 0===t?"removed {0}":t,n="";return this.state.selectionRemoved&&(n=Qh(o,this._getTextFromItem(this.state.selectionRemoved,""))),C.createElement("div",{className:e,id:this._ariaMap.selectedSuggestionAlert,"aria-live":"assertive"},this.getSuggestionsAlert(e),n)},t.prototype._preventDismissOnScrollOrResize=function(e){return!(!this._overrideScrollDismiss||"scroll"!==e.type&&"resize"!==e.type)},t.prototype._startLoadTimer=function(){var e=this;this._async.setTimeout((function(){e.state.suggestionsLoading&&e.setState({suggestionsExtendedLoading:!0})}),3e3)},t.prototype._updateAndResolveValue=function(e,t){var o;if(void 0!==e)this.resolveNewValue(e,t);else{var n=null===(o=this.props.pickerSuggestionsProps)||void 0===o?void 0:o.resultsMaximumNumber;this.suggestionStore.updateSuggestions(t,-1,n),this.state.suggestionsLoading&&this.setState({suggestionsLoading:!1,suggestionsExtendedLoading:!1})}},t.prototype._updateSelectedItems=function(e){var t=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},(function(){t._onSelectedItemsUpdated(e)}))},t.prototype._onSelectedItemsUpdated=function(e){this.onChange(e)},t.prototype._getShowSuggestions=function(){var e;return void 0!==this.input.current&&null!==this.input.current&&this.input.current.inputElement===(null===(e=Ac(this.context))||void 0===e?void 0:e.activeElement)&&""!==this.input.current.value},t.prototype._getTextFromItem=function(e,t){return this.props.getTextFromItem?this.props.getTextFromItem(e,t):""},t.contextType=la,t}(C.Component),Uw=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){var e=this.state,t=e.suggestedDisplayValue,o=e.isFocused,n=this.props,r=n.className,i=n.inputProps,a=n.disabled,s=n.selectionAriaLabel,l=n.selectionRole,c=void 0===l?"list":l,u=n.theme,d=n.styles,p=!!this.state.suggestionsVisible,h=p?this._ariaMap.suggestionList:void 0,m=d?Kw(d,{theme:u,className:r,isFocused:o,inputClassName:i&&i.className}):{root:gi("ms-BasePicker",Vw.picker,r||""),text:gi("ms-BasePicker-text",Vw.pickerText,this.state.isFocused&&Vw.inputFocused,a&&Vw.inputDisabled),itemsWrapper:Vw.pickerItems,input:gi("ms-BasePicker-input",Vw.pickerInput,i&&i.className),screenReaderText:Vw.screenReaderOnly},g=this.props["aria-label"]||(null==i?void 0:i["aria-label"]);return C.createElement("div",{ref:this.root,onBlur:this.onBlur,onFocus:this.onFocus},C.createElement("div",{className:m.root,onKeyDown:this.onKeyDown},this.renderCustomAlert(m.screenReaderText),C.createElement("span",{id:"".concat(this._ariaMap.selectedItems,"-label"),hidden:!0},s||g),C.createElement("div",{className:m.text,"aria-owns":h},C.createElement(ha,f({},i,{className:m.input,componentRef:this.input,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onClick:this.onClick,onInputValueChange:this.onInputChange,suggestedDisplayValue:t,"aria-activedescendant":p?this.getActiveDescendant():void 0,"aria-controls":h,"aria-expanded":p,"aria-haspopup":"listbox","aria-label":g,"aria-describedby":this.state.items.length>0?this._ariaMap.selectedItems:void 0,role:"combobox",id:(null==i?void 0:i.id)?i.id:this._ariaMap.combobox,disabled:a,onInputChange:this.props.onInputChange})))),this.renderSuggestions(),C.createElement(Ry,{selection:this.selection,selectionMode:oy.single},C.createElement("div",{id:this._ariaMap.selectedItems,className:"ms-BasePicker-selectedItems",role:c,"aria-labelledby":"".concat(this._ariaMap.selectedItems,"-label")},this.renderItems())))},t.prototype.onBackspace=function(e){},t}(Gw),jw={root:"ms-PickerPersona-container",itemContent:"ms-PickerItem-content",removeButton:"ms-PickerItem-removeButton",isSelected:"is-selected",isInvalid:"is-invalid"},qw=24,Yw=15;function Zw(e){var t,o,n,r,i,a,s,l,c=e.className,u=e.theme,d=e.selected,p=e.invalid,h=e.disabled,m=u.palette,g=u.semanticColors,v=u.fonts,b=Ao(jw,u),y=[d&&!p&&!h&&{color:"inherit",selectors:(t={":hover":{color:"inherit"}},t[Fo]={color:"HighlightText"},t)},(p&&!d||p&&d&&h)&&{color:"inherit",borderBottom:"2px dotted currentColor",selectors:(o={},o[".".concat(b.root,":hover &")]={color:"inherit"},o)},p&&d&&!h&&{color:"inherit",borderBottom:"2px dotted currentColor",selectors:{":hover":{color:"inherit"}}},h&&{selectors:(n={},n[Fo]={color:"GrayText"},n)}],C=[d&&!p&&!h&&{color:"inherit",selectors:(r={":hover":{color:"inherit"}},r[Fo]={color:"HighlightText"},r)}],_=[p&&{fontSize:v.xLarge.fontSize}];return{root:[b.root,sn(u,{inset:-2}),{borderRadius:Yw,display:"inline-flex",alignItems:"center",background:m.neutralLighter,margin:"1px 2px",cursor:"default",userSelect:"none",maxWidth:300,verticalAlign:"middle",minWidth:0,selectors:(i={":hover":{background:d||h?"":m.neutralLight}},i[Fo]=[{border:"1px solid WindowText"},h&&{borderColor:"GrayText"}],i)},d&&!h&&[b.isSelected,{selectors:(a={":focus-within":{background:m.themePrimary,color:m.white}},a[Fo]=f({borderColor:"HighLight",background:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)}],p&&[b.isInvalid],p&&d&&!h&&{":focus-within":{background:m.redDark,color:m.white}},(p&&!d||p&&d&&h)&&{color:m.redDark},c],itemContent:[b.itemContent,{flex:"0 1 auto",minWidth:0,maxWidth:"100%",overflow:"hidden"}],removeButton:[b.removeButton,{borderRadius:Yw,color:m.neutralPrimary,flex:"0 0 auto",width:qw,height:qw,selectors:{":hover":{background:m.neutralTertiaryAlt,color:m.neutralDark}}},d&&[sn(u,{inset:2,borderColor:"transparent",highContrastStyle:{inset:2,left:1,top:1,bottom:1,right:1,outlineColor:"ButtonText"},outlineColor:m.white,borderRadius:Yw}),{selectors:(s={":hover":{color:m.white,background:m.themeDark},":active":{color:m.white,background:m.themeDarker},":focus":{color:m.white}},s[Fo]={color:"HighlightText"},s)},p&&{selectors:{":hover":{color:m.white,background:m.red},":active":{color:m.white,background:m.redDark}}}],h&&{selectors:(l={},l[".".concat(np.msButtonIcon)]={color:g.buttonText},l)}],subComponentStyles:{persona:{root:{color:"inherit"},primaryText:y,secondaryText:C},personaCoin:{initials:_}}}}var Xw=Cr(),Qw=function(e){var t=e.item,o=e.onRemoveItem,n=e.index,r=e.selected,i=e.removeButtonAriaLabel,a=e.styles,s=e.theme,l=e.className,c=e.disabled,u=e.removeButtonIconProps,d=C.createRef(),p=us(),h=Xw(a,{theme:s,className:l,selected:r,disabled:c,invalid:t.ValidationState===Nw.warning}),m=h.subComponentStyles?h.subComponentStyles.persona:void 0,g=h.subComponentStyles?h.subComponentStyles.personaCoin:void 0;return C.createElement("div",{"data-selection-index":n,className:h.root,role:"listitem",key:n,onClick:function(){var e;null===(e=d.current)||void 0===e||e.focus()}},C.createElement("div",{className:h.itemContent,id:"selectedItemPersona-"+p},C.createElement(OS,f({size:vi.size24,styles:m,coinProps:{styles:g}},t))),C.createElement(yp,{componentRef:d,id:p,onClick:o,disabled:c,iconProps:null!=u?u:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},className:h.removeButton,ariaLabel:i,"aria-labelledby":"".concat(p," selectedItemPersona-").concat(p)}))},Jw=lr(Qw,Zw,void 0,{scope:"PeoplePickerItem"}),$w={root:"ms-PeoplePicker-personaContent",personaWrapper:"ms-PeoplePicker-Persona"};function eI(e){var t,o,n,r=e.className,i=e.theme,a=Ao($w,i),s={selectors:(t={},t[".".concat(ww.isSuggested," &")]={selectors:(o={},o[Fo]={color:"HighlightText"},o)},t[".".concat(a.root,":hover &")]={selectors:(n={},n[Fo]={color:"HighlightText"},n)},t)};return{root:[a.root,{width:"100%",padding:"4px 12px"},r],personaWrapper:[a.personaWrapper,{width:180}],subComponentStyles:{persona:{primaryText:s,secondaryText:s}}}}var tI=Cr(),oI=function(e){var t=e.personaProps,o=e.suggestionsProps,n=e.compact,r=e.styles,i=e.theme,a=e.className,s=tI(r,{theme:i,className:o&&o.suggestionsItemClassName||a}),l=s.subComponentStyles&&s.subComponentStyles.persona?s.subComponentStyles.persona:void 0;return C.createElement("div",{className:s.root},C.createElement(OS,f({size:vi.size24,styles:l,className:s.personaWrapper,showSecondaryText:!n,showOverflowTooltip:!1},t)))},nI=lr(oI,eI,void 0,{scope:"PeoplePickerItemSuggestion"}),rI={root:"ms-BasePicker",text:"ms-BasePicker-text",itemsWrapper:"ms-BasePicker-itemsWrapper",input:"ms-BasePicker-input"};function iI(e){var t,o,n,r=e.className,i=e.theme,a=e.isFocused,s=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,h=c.inputBorderHovered,m=c.inputFocusBorderAlt,f=Ao(rI,i),g=[d.medium,{color:c.inputPlaceholderText,opacity:1,selectors:(t={},t[Fo]={color:"GrayText"},t)}],v={color:c.disabledText,selectors:(o={},o[Fo]={color:"GrayText"},o)},b="rgba(218, 218, 218, 0.29)";return{root:[f.root,r,{position:"relative"}],text:[f.text,{display:"flex",position:"relative",flexWrap:"wrap",alignItems:"center",boxSizing:"border-box",minWidth:180,minHeight:30,border:"1px solid ".concat(p),borderRadius:u.roundedCorner2},!a&&!l&&{selectors:{":hover":{borderColor:h}}},a&&!l&&un(m,u.roundedCorner2),l&&{borderColor:b,selectors:(n={":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:b}},n[Fo]={borderColor:"GrayText",selectors:{":after":{background:"none"}}},n)}],itemsWrapper:[f.itemsWrapper,{display:"flex",flexWrap:"wrap",maxWidth:"100%"}],input:[f.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"},"&:placeholder-shown":{textOverflow:"ellipsis"}}},_n(g),l&&_n(v),s],screenReaderText:vo}}var aI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t}(Gw),sI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t}(Uw),lI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.defaultProps={onRenderItem:function(e){return C.createElement(Jw,f({},e))},onRenderSuggestionsItem:function(e,t){return C.createElement(nI,{personaProps:e,suggestionsProps:t})},createGenericItem:dI},t}(aI),cI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.defaultProps={onRenderItem:function(e){return C.createElement(Jw,f({},e))},onRenderSuggestionsItem:function(e,t){return C.createElement(nI,{personaProps:e,suggestionsProps:t,compact:!0})},createGenericItem:dI},t}(aI),uI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.defaultProps={onRenderItem:function(e){return C.createElement(Jw,f({},e))},onRenderSuggestionsItem:function(e,t){return C.createElement(nI,{personaProps:e,suggestionsProps:t})},createGenericItem:dI},t}(sI);function dI(e,t){var o={key:e,primaryText:e,imageInitials:"!",ValidationState:t};return t!==Nw.warning&&(o.imageInitials=ai(e,pr())),o}var pI=lr(lI,iI,void 0,{scope:"NormalPeoplePicker"}),hI=lr(cI,iI,void 0,{scope:"CompactPeoplePicker"}),mI=lr(uI,iI,void 0,{scope:"ListPeoplePickerBase"}),fI={root:"ms-TagItem",text:"ms-TagItem-text",close:"ms-TagItem-close",isSelected:"is-selected"},gI=26;function vI(e){var t,o,n,r,i,a=e.className,s=e.theme,l=e.selected,c=e.disabled,u=s.palette,d=s.effects,p=s.fonts,h=s.semanticColors,m=Ao(fI,s);return{root:[m.root,p.medium,sn(s),{boxSizing:"content-box",flexShrink:"1",margin:2,height:gI,lineHeight:gI,cursor:"default",userSelect:"none",display:"flex",flexWrap:"nowrap",maxWidth:300,minWidth:0,borderRadius:d.roundedCorner2,color:h.inputText,background:u.neutralLighter,selectors:(t={":hover":[!c&&!l&&{color:u.neutralDark,background:u.neutralLight,selectors:{".ms-TagItem-close":{color:u.neutralPrimary}}},c&&{background:u.neutralLighter}]},t[Fo]={border:"1px solid ".concat(l?"WindowFrame":"WindowText")},t)},c&&{selectors:(o={},o[Fo]={borderColor:"GrayText"},o)},l&&!c&&[m.isSelected,{":focus-within":{background:u.themePrimary,color:u.white}}],a],text:[m.text,{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:30,margin:"0 8px"},c&&{selectors:(n={},n[Fo]={color:"GrayText"},n)}],close:[m.close,sn(s,{borderColor:"transparent",inset:1,outlineColor:u.white}),{color:u.neutralSecondary,width:30,height:"100%",flex:"0 0 auto",borderRadius:pr(s)?"".concat(d.roundedCorner2," 0 0 ").concat(d.roundedCorner2):"0 ".concat(d.roundedCorner2," ").concat(d.roundedCorner2," 0"),selectors:(r={":hover":{background:u.neutralQuaternaryAlt,color:u.neutralPrimary}},r[".".concat(m.isSelected," &:focus")]={color:u.white,background:u.themePrimary},r[":focus:hover"]={color:u.white,background:u.themeDark},r[":active"]={color:u.white,backgroundColor:u.themeDark},r)},c&&{selectors:(i={},i[".".concat(np.msButtonIcon)]={color:u.neutralSecondary},i)}]}}var bI=Cr(),yI=function(e){var t=e.theme,o=e.styles,n=e.selected,r=e.disabled,i=e.enableTagFocusInDisabledPicker,a=e.children,s=e.className,l=e.index,c=e.onRemoveItem,u=e.removeButtonAriaLabel,d=e.title,p=void 0===d?"string"==typeof e.children?e.children:e.item.name:d,h=e.removeButtonIconProps,m=C.createRef(),g=bI(o,{theme:t,className:s,selected:n,disabled:r}),v=yd(),b=i?{"aria-disabled":r,tabindex:0}:{disabled:r};return C.createElement("div",{"data-selection-index":l,className:g.root,role:"listitem",key:l,onClick:function(){var e;null===(e=m.current)||void 0===e||e.focus()}},C.createElement("span",{className:g.text,title:p,id:"".concat(v,"-text")},a),C.createElement(yp,f({componentRef:m,id:v,onClick:c},b,{iconProps:null!=h?h:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},className:g.close,"aria-labelledby":"".concat(v,"-removeLabel ").concat(v,"-text")})),C.createElement("span",{id:"".concat(v,"-removeLabel"),hidden:!0},u))},CI=lr(yI,vI,void 0,{scope:"TagItem"}),_I={suggestionTextOverflow:"ms-TagItem-TextOverflow"};function SI(e){var t=e.className,o=e.theme;return{suggestionTextOverflow:[Ao(_I,o).suggestionTextOverflow,{overflow:"hidden",textOverflow:"ellipsis",maxWidth:"60vw",padding:"6px 12px 7px",whiteSpace:"nowrap"},t]}}var xI=Cr(),kI=function(e){var t=e.styles,o=e.theme,n=e.children,r=xI(t,{theme:o});return C.createElement("div",{className:r.suggestionTextOverflow}," ",n," ")},wI=lr(kI,SI,void 0,{scope:"TagItemSuggestion"}),II=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.defaultProps={onRenderItem:function(e){return C.createElement(CI,f({},e),e.item.name)},onRenderSuggestionsItem:function(e){return C.createElement(wI,null,e.name)}},t}(Gw),DI=lr(II,iI,void 0,{scope:"TagPicker"});function EI(e,t){void 0===t&&(t=null);var o,n=C.useRef({ref:(o=function(e){n.ref.current!==e&&(n.cleanup&&(n.cleanup(),n.cleanup=void 0),n.ref.current=e,null!==e&&(n.cleanup=n.callback(e)))},o.current=t,o),callback:e}).current;return n.callback=e,n.ref}var TI=function(e){function t(t){var o=e.call(this,t)||this;return oa(o),o}return m(t,e),t.prototype.render=function(){return C.createElement("div",f({},Xr(this.props,Zr)),this.props.children)},t}(C.Component),PI=Cr(),RI=function(e,t){var o={links:[],keyToIndexMapping:{},keyToTabIdMapping:{}};return C.Children.forEach(C.Children.toArray(e.children),(function(n,r){if(MI(n)){var i=n.props,a=i.linkText,s=g(i,["linkText"]),l=n.props.itemKey||r.toString();o.links.push(f(f({headerText:a},s),{itemKey:l})),o.keyToIndexMapping[l]=r,o.keyToTabIdMapping[l]=function(e,t,o,n){return e.getTabId?e.getTabId(o,n):t+"-Tab".concat(n)}(e,t,l,r)}else n&&Sn("The children of a Pivot component must be of type PivotItem to be rendered.")})),o},MI=function(e){var t;return C.isValidElement(e)&&(null===(t=e.type)||void 0===t?void 0:t.name)===TI.name},NI=C.forwardRef((function(e,t){var o,n=C.useRef(null),r=C.useRef(null),i=yd("Pivot"),a=Om(e.selectedKey,e.defaultSelectedKey),s=a[0],l=a[1],c=e.componentRef,u=e.theme,d=e.linkSize,p=e.linkFormat,h=e.overflowBehavior,m=e.overflowAriaLabel,g=e.focusZoneProps,v=e.overflowButtonAs,b={"aria-label":e["aria-label"],"aria-labelledby":e["aria-labelledby"]},y=Xr(e,Zr,["aria-label","aria-labelledby"]),_=RI(e,i);C.useImperativeHandle(c,(function(){return{focus:function(){var e;null===(e=n.current)||void 0===e||e.focus()}}}));var S=function(e){if(!e)return null;var t=e.itemCount,n=e.itemIcon,r=e.headerText;return C.createElement("span",{className:o.linkContent},void 0!==n&&C.createElement("span",{className:o.icon},C.createElement(Ei,{iconName:n})),void 0!==r&&C.createElement("span",{className:o.text}," ",e.headerText),void 0!==t&&C.createElement("span",{className:o.count}," (",t,")"))},x=function(e,t,n,r){var i,a=t.itemKey,s=t.headerButtonProps,l=t.onRenderItemLink,c=e.keyToTabIdMapping[a],u=n===a;i=l?l(t,S):S(t);var d=t.headerText||"";d+=t.itemCount?" ("+t.itemCount+")":"",d+=t.itemIcon?" xx":"";var p=t.role&&"tab"!==t.role?{role:t.role}:{role:"tab","aria-selected":u};return C.createElement(dh,f({},s,p,{id:c,key:a,className:gi(r,u&&o.linkIsSelected),onClick:function(e){return k(a,e)},onKeyDown:function(e){return w(a,e)},"aria-label":t.ariaLabel,name:t.headerText,keytipProps:t.keytipProps,"data-content":d}),i)},k=function(e,t){t.preventDefault(),I(e,t)},w=function(e,t){t.which===ur.enter&&(t.preventDefault(),I(e))},I=function(t,o){var n;if(l(t),_=RI(e,i),e.onLinkClick&&_.keyToIndexMapping[t]>=0){var a=_.keyToIndexMapping[t],s=C.Children.toArray(e.children)[a];MI(s)&&e.onLinkClick(s,o)}null===(n=r.current)||void 0===n||n.dismissMenu()};o=PI(e.styles,{theme:u,linkSize:d,linkFormat:p});var D,E=null===(D=s)||void 0!==D&&void 0!==_.keyToIndexMapping[D]?s:_.links.length?_.links[0].itemKey:void 0,T=E?_.keyToIndexMapping[E]:0,P=_.links.map((function(e){return x(_,e,E,o.link)})),R=C.useMemo((function(){return{items:[],alignTargetEdge:!0,directionalHint:Il.bottomRightEdge}}),[]),M=function(e){var t=e.onOverflowItemsChanged,o=e.rtl,n=e.pinnedIndex,r=C.useRef(),i=C.useRef(),a=EI((function(e){var t=function(e,t){if("undefined"!=typeof ResizeObserver){var o=new ResizeObserver(t);return Array.isArray(e)?e.forEach((function(e){return o.observe(e)})):o.observe(e),function(){return o.disconnect()}}var n=function(){return t(void 0)},r=gt(Array.isArray(e)?e[0]:e);if(!r)return function(){};var i=r.requestAnimationFrame(n);return r.addEventListener("resize",n,!1),function(){r.cancelAnimationFrame(i),r.removeEventListener("resize",n,!1)}}(e,(function(t){i.current=t?t[0].contentRect.width:e.clientWidth,r.current&&r.current()}));return function(){t(),i.current=void 0}})),s=EI((function(e){return a(e.parentElement),function(){return a(null)}}));return si((function(){var e=a.current,l=s.current;if(e&&l){for(var c=[],u=0;u=0;t--){if(void 0===p[t]){var r=o?e-c[t].offsetLeft:c[t].offsetLeft+c[t].offsetWidth;t+1p[t])return void f(t+1)}f(0)}};var m=c.length,f=function(e){m!==e&&(m=e,t(e,c.map((function(t,o){return{ele:t,isOverflowing:o>=e&&o!==n}}))))},g=void 0;if(void 0!==i.current){var v=gt(e);if(v){var b=v.requestAnimationFrame(r.current);g=function(){return v.cancelAnimationFrame(b)}}}return function(){g&&g(),f(c.length),r.current=void 0}}})),{menuButtonRef:s}}({onOverflowItemsChanged:function(e,t){t.forEach((function(e){var t=e.ele,o=e.isOverflowing;return t.dataset.isOverflowing="".concat(o)})),R.items=_.links.slice(e).filter((function(e){return e.itemKey!==E})).map((function(t,n){return t.role="menuitem",{key:t.itemKey||"".concat(e+n),onRender:function(){return x(_,t,E,o.linkInMenu)}}}))},rtl:pr(u),pinnedIndex:T}).menuButtonRef,N=v||dh;return C.createElement("div",f({ref:t},y),C.createElement(Vs,f({componentRef:n,role:"tablist"},b,{direction:fa.horizontal},g,{className:gi(o.root,null==g?void 0:g.className)}),P,"menu"===h&&C.createElement(N,{className:gi(o.link,o.overflowMenuButton),elementRef:M,componentRef:r,menuProps:R,menuIconProps:{iconName:"More",style:{color:"inherit"}},ariaLabel:m,role:"tab"})),E&&_.links.map((function(t){return(!0===t.alwaysRender||E===t.itemKey)&&function(t,n){if(e.headersOnly||!t)return null;var r=_.keyToIndexMapping[t],i=_.keyToTabIdMapping[t];return C.createElement("div",{role:"tabpanel",hidden:!n,key:t,"aria-hidden":!n,"aria-labelledby":i,className:o.itemContainer},C.Children.toArray(e.children)[r])}(t.itemKey,E===t.itemKey)})))}));NI.displayName="Pivot";var BI,AI,FI={count:"ms-Pivot-count",icon:"ms-Pivot-icon",linkIsSelected:"is-selected",link:"ms-Pivot-link",linkContent:"ms-Pivot-linkContent",root:"ms-Pivot",rootIsLarge:"ms-Pivot--large",rootIsTabs:"ms-Pivot--tabs",text:"ms-Pivot-text",linkInMenu:"ms-Pivot-linkInMenu",overflowMenuButton:"ms-Pivot-overflowMenuButton"},LI=function(e,t,o){var n,r,i;void 0===o&&(o=!1);var a=e.linkSize,s=e.linkFormat,l=e.theme,c=l.semanticColors,u=l.fonts,d="large"===a,p="tabs"===s;return[u.medium,{color:c.actionLink,padding:"0 8px",position:"relative",backgroundColor:"transparent",border:0,borderRadius:0,selectors:{":hover":{backgroundColor:c.buttonBackgroundHovered,color:c.buttonTextHovered,cursor:"pointer"},":active":{backgroundColor:c.buttonBackgroundPressed,color:c.buttonTextHovered},":focus":{outline:"none"}}},!o&&[{display:"inline-block",lineHeight:44,height:44,marginRight:8,textAlign:"center",selectors:(n={},n[".".concat(on," &:focus, :host(.").concat(on,") &:focus")]={outline:"1px solid ".concat(c.focusBorder)},n[".".concat(on," &:focus:after, :host(.").concat(on,") &:focus:after")]={content:"attr(data-content)",position:"relative",border:0},n[":before"]={backgroundColor:"transparent",bottom:0,content:'""',height:2,left:8,position:"absolute",right:8,transition:"left ".concat(qe.durationValue2," ").concat(qe.easeFunction2,",\n right ").concat(qe.durationValue2," ").concat(qe.easeFunction2)},n[":after"]={color:"transparent",content:"attr(data-content)",display:"block",fontWeight:nt.bold,height:1,overflow:"hidden",visibility:"hidden"},n)},d&&{fontSize:u.large.fontSize},p&&[{marginRight:0,height:44,lineHeight:44,backgroundColor:c.buttonBackground,padding:"0 10px",verticalAlign:"top",selectors:(r={":focus":{outlineOffset:"-2px"}},r[".".concat(on," &:focus::before, :host(.").concat(on,") &:focus::before")]={height:"auto",background:"transparent",transition:"none"},r["&:hover, &:focus"]={color:c.buttonTextCheckedHovered},r["&:active, &:hover"]={color:c.primaryButtonText,backgroundColor:c.primaryButtonBackground},r["&.".concat(t.linkIsSelected)]={backgroundColor:c.primaryButtonBackground,color:c.primaryButtonText,fontWeight:nt.regular,selectors:(i={":before":{backgroundColor:"transparent",transition:"none",position:"absolute",top:0,left:0,right:0,bottom:0,content:'""',height:0},":hover":{backgroundColor:c.primaryButtonBackgroundHovered,color:c.primaryButtonText},":active":{backgroundColor:c.primaryButtonBackgroundPressed,color:c.primaryButtonText}},i[Fo]=f({fontWeight:nt.semibold,color:"HighlightText",background:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)},r[".".concat(on," &.").concat(t.linkIsSelected,":focus, :host(.").concat(on,") &.").concat(t.linkIsSelected,":focus")]={outlineColor:c.primaryButtonText},r)}]]]},HI=lr(NI,(function(e){var t,o,n,r,i=e.className,a=e.linkSize,s=e.linkFormat,l=e.theme,c=l.semanticColors,u=l.fonts,d=Ao(FI,l),p="large"===a,h="tabs"===s;return{root:[d.root,u.medium,fn,{position:"relative",color:c.link,whiteSpace:"nowrap"},p&&d.rootIsLarge,h&&d.rootIsTabs,i],itemContainer:{selectors:{"&[hidden]":{display:"none"}}},link:b(b([d.link],LI(e,d),!0),[(t={},t["&[data-is-overflowing='true']"]={display:"none"},t)],!1),overflowMenuButton:[d.overflowMenuButton,(o={visibility:"hidden",position:"absolute",right:0},o[".".concat(d.link,"[data-is-overflowing='true'] ~ &")]={visibility:"visible",position:"relative"},o)],linkInMenu:b(b([d.linkInMenu],LI(e,d,!0),!0),[{justifyContent:"start",height:36,lineHeight:36,width:"100%"}],!1),linkIsSelected:[d.link,d.linkIsSelected,{fontWeight:nt.semibold,selectors:(n={":before":{backgroundColor:c.inputBackgroundChecked,selectors:(r={},r[Fo]={backgroundColor:"Highlight"},r)},":hover::before":{left:0,right:0}},n[Fo]={color:"Highlight"},n)}],linkContent:[d.linkContent,{flex:"0 1 100%",selectors:{"& > * ":{marginLeft:4},"& > *:first-child":{marginLeft:0}}}],text:[d.text,{display:"inline-block",verticalAlign:"top"}],count:[d.count,{display:"inline-block",verticalAlign:"top"}],icon:d.icon}}),void 0,{scope:"Pivot"});!function(e){e.links="links",e.tabs="tabs"}(BI||(BI={})),function(e){e.normal="normal",e.large="large"}(AI||(AI={}));var OI,zI=Cr(),WI=function(e){function t(t){var o=e.call(this,t)||this;o._onRenderProgress=function(e){var t=o.props,n=t.ariaLabel,r=t.ariaValueText,i=t.barHeight,a=t.className,s=t.description,l=t.label,c=void 0===l?o.props.title:l,u=t.styles,d=t.theme,p="number"==typeof o.props.percentComplete?Math.min(100,Math.max(0,100*o.props.percentComplete)):void 0,h=zI(u,{theme:d,className:a,barHeight:i,indeterminate:void 0===p}),m={width:void 0!==p?p+"%":void 0,transition:void 0!==p&&p<.01?"none":void 0},f=void 0!==p?0:void 0,g=void 0!==p?100:void 0,v=void 0!==p?Math.floor(p):void 0;return C.createElement("div",{className:h.itemProgress},C.createElement("div",{className:h.progressTrack}),C.createElement("div",{className:h.progressBar,style:m,role:"progressbar","aria-describedby":s?o._descriptionId:void 0,"aria-label":n,"aria-labelledby":c?o._labelId:void 0,"aria-valuemin":f,"aria-valuemax":g,"aria-valuenow":v,"aria-valuetext":r}))};var n=us("progress-indicator");return o._labelId=n+"-label",o._descriptionId=n+"-description",o}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.barHeight,o=e.className,n=e.label,r=void 0===n?this.props.title:n,i=e.description,a=e.styles,s=e.theme,l=e.progressHidden,c=e.onRenderProgress,u=void 0===c?this._onRenderProgress:c,d="number"==typeof this.props.percentComplete?Math.min(100,Math.max(0,100*this.props.percentComplete)):void 0,p=zI(a,{theme:s,className:o,barHeight:t,indeterminate:void 0===d});return C.createElement("div",{className:p.root},r?C.createElement("div",{id:this._labelId,className:p.itemName},r):null,l?null:u(f(f({},this.props),{percentComplete:d}),this._onRenderProgress),i?C.createElement("div",{id:this._descriptionId,className:p.itemDescription},i):null)},t.defaultProps={label:"",description:"",width:180},t}(C.Component),VI={root:"ms-ProgressIndicator",itemName:"ms-ProgressIndicator-itemName",itemDescription:"ms-ProgressIndicator-itemDescription",itemProgress:"ms-ProgressIndicator-itemProgress",progressTrack:"ms-ProgressIndicator-progressTrack",progressBar:"ms-ProgressIndicator-progressBar"},KI=Ro((function(){return le({"0%":{left:"-30%"},"100%":{left:"100%"}})})),GI=Ro((function(){return le({"100%":{right:"-30%"},"0%":{right:"100%"}})})),UI=lr(WI,(function(e){var t,o,n,r=pr(e.theme),i=e.className,a=e.indeterminate,s=e.theme,l=e.barHeight,c=void 0===l?2:l,u=s.palette,d=s.semanticColors,p=s.fonts,h=Ao(VI,s),m=u.neutralLight;return{root:[h.root,p.medium,i],itemName:[h.itemName,gn,{color:d.bodyText,paddingTop:4,lineHeight:20}],itemDescription:[h.itemDescription,{color:d.bodySubtext,fontSize:p.small.fontSize,lineHeight:18}],itemProgress:[h.itemProgress,{position:"relative",overflow:"hidden",height:c,padding:"".concat(8,"px 0")}],progressTrack:[h.progressTrack,{position:"absolute",width:"100%",height:c,backgroundColor:m,selectors:(t={},t[Fo]={borderBottom:"1px solid WindowText"},t)}],progressBar:[{backgroundColor:u.themePrimary,height:c,position:"absolute",transition:"width .3s ease",width:0,selectors:(o={},o[Fo]=f({backgroundColor:"highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},a?{position:"absolute",minWidth:"33%",background:"linear-gradient(to right, ".concat(m," 0%, ")+"".concat(u.themePrimary," 50%, ").concat(m," 100%)"),animation:"".concat(r?GI():KI()," 3s infinite"),selectors:(n={},n[Fo]={background:"highlight"},n)}:{transition:"width .15s linear"},h.progressBar]}}),void 0,{scope:"ProgressIndicator"}),jI={root:"ms-RatingStar-root",rootIsSmall:"ms-RatingStar-root--small",rootIsLarge:"ms-RatingStar-root--large",ratingStar:"ms-RatingStar-container",ratingStarBack:"ms-RatingStar-back",ratingStarFront:"ms-RatingStar-front",ratingButton:"ms-Rating-button",ratingStarIsSmall:"ms-Rating--small",ratingStartIsLarge:"ms-Rating--large",labelText:"ms-Rating-labelText",ratingFocusZone:"ms-Rating-focuszone"};function qI(e,t){var o;return{color:e,selectors:(o={},o[Fo]={color:t},o)}}!function(e){e[e.Small=0]="Small",e[e.Large=1]="Large"}(OI||(OI={}));var YI=Cr(),ZI=function(e){return C.createElement("div",{className:e.classNames.ratingStar},C.createElement(Ei,{className:e.classNames.ratingStarBack,iconName:0===e.fillPercentage||100===e.fillPercentage?e.icon:e.unselectedIcon}),!e.disabled&&C.createElement(Ei,{className:e.classNames.ratingStarFront,iconName:e.icon,style:{width:e.fillPercentage+"%"}}))},XI=function(e,t){return"".concat(e,"-star-").concat(t-1)},QI=C.forwardRef((function(e,t){var o=yd("Rating"),n=yd("RatingLabel"),r=e.ariaLabel,i=e.ariaLabelFormat,a=e.disabled,s=e.getAriaLabel,l=e.styles,c=e.min,u=void 0===c?e.allowZeroStars?0:1:c,d=e.max,p=void 0===d?5:d,h=e.readOnly,m=e.size,g=e.theme,v=e.icon,b=void 0===v?"FavoriteStarFill":v,y=e.unselectedIcon,_=void 0===y?"FavoriteStar":y,S=e.onRenderStar,x=Math.max(u,0),k=Om(e.rating,e.defaultRating,e.onChange),w=k[0],I=k[1],D=function(e,t,o){return Math.min(Math.max(null!=e?e:t,t),o)}(w,x,p);!function(e,t){C.useImperativeHandle(e,(function(){return{rating:t}}),[t])}(e.componentRef,D);var E=C.useRef(null),T=li(E,t);Js(E);for(var P=Xr(e,Zr),R=YI(l,{disabled:a,readOnly:h,theme:g}),M=null==s?void 0:s(D,p),N=r||M,B=[],A=function(e){var t,r,s=function(e,t){var o=Math.ceil(t),n=100;return e===t?n=100:e===o?n=t%1*100:e>o&&(n=0),n}(e,D);B.push(C.createElement("button",f({className:gi(R.ratingButton,m===OI.Large?R.ratingStarIsLarge:R.ratingStarIsSmall),id:XI(o,e),key:e},e===Math.ceil(D)&&{"data-is-current":!0},{onKeyDown:function(t){var o=t.which,n=e;switch(o){case ur.right:case ur.down:n=Math.min(p,n+1);break;case ur.left:case ur.up:n=Math.max(1,n-1);break;case ur.home:case ur.pageUp:n=1;break;case ur.end:case ur.pageDown:n=p}n===e||void 0!==w&&Math.ceil(w)===n||I(n,t)},onClick:function(t){void 0!==w&&Math.ceil(w)===e||I(e,t)},disabled:!(!a&&!h),role:"radio","aria-hidden":h?"true":void 0,type:"button","aria-checked":e===Math.ceil(D)}),C.createElement("span",{id:"".concat(n,"-").concat(e),className:R.labelText},Qh(i||"",e,p)),(t={fillPercentage:s,disabled:a,classNames:R,icon:s>0?b:_,starNum:e,unselectedIcon:_},(r=S)?r(t):C.createElement(ZI,f({},t)))))},F=1;F<=p;F++)A(F);var L=m===OI.Large?R.rootIsLarge:R.rootIsSmall;return C.createElement("div",f({ref:T,className:gi("ms-Rating-star",R.root,L),"aria-label":h?void 0:N,id:o,role:h?void 0:"radiogroup"},P),C.createElement(Vs,f({direction:fa.bidirectional,className:gi(R.ratingFocusZone,L),defaultActiveElement:"#"+XI(o,Math.ceil(D))},h&&{allowFocusRoot:!0,disabled:!0,role:"textbox","aria-label":M,"aria-readonly":!0,"data-is-focusable":!0,tabIndex:0}),B))}));QI.displayName="RatingBase";var JI=lr(QI,(function(e){var t=e.disabled,o=e.readOnly,n=e.theme,r=n.semanticColors,i=n.palette,a=Ao(jI,n),s=i.neutralSecondary,l=i.themePrimary,c=i.themeDark,u=i.neutralPrimary,d=r.disabledBodySubtext;return{root:[a.root,n.fonts.medium,!t&&!o&&{selectors:{"&:hover":{selectors:{".ms-RatingStar-back":qI(u,"Highlight")}}}}],rootIsSmall:[a.rootIsSmall,{height:"32px"}],rootIsLarge:[a.rootIsLarge,{height:"36px"}],ratingStar:[a.ratingStar,{display:"inline-block",position:"relative",height:"inherit"}],ratingStarBack:[a.ratingStarBack,{color:s,width:"100%"},t&&qI(d,"GrayText")],ratingStarFront:[a.ratingStarFront,{position:"absolute",height:"100 %",left:"0",top:"0",textAlign:"center",verticalAlign:"middle",overflow:"hidden"},qI(u,"Highlight")],ratingButton:[sn(n),a.ratingButton,{backgroundColor:"transparent",padding:"".concat(8,"px ").concat(2,"px"),boxSizing:"content-box",margin:"0px",border:"none",cursor:"pointer",selectors:{"&:disabled":{cursor:"default"},"&[disabled]":{cursor:"default"}}},!t&&!o&&{selectors:{"&:hover ~ .ms-Rating-button":{selectors:{".ms-RatingStar-back":qI(s,"WindowText"),".ms-RatingStar-front":qI(s,"WindowText")}},"&:hover":{selectors:{".ms-RatingStar-back":{color:l},".ms-RatingStar-front":{color:c}}}}},t&&{cursor:"default"}],ratingStarIsSmall:[a.ratingStarIsSmall,{fontSize:"16px",lineHeight:"16px",height:"16px"}],ratingStarIsLarge:[a.ratingStartIsLarge,{fontSize:"20px",lineHeight:"20px",height:"20px"}],labelText:[a.labelText,vo],ratingFocusZone:[sn(n),a.ratingFocusZone,{display:"inline-block"}]}}),void 0,{scope:"Rating"}),$I={root:"ms-ScrollablePane",contentContainer:"ms-ScrollablePane--contentContainer"},eD={auto:"auto",always:"always"},tD=C.createContext({scrollablePane:void 0,window:void 0}),oD=Cr(),nD=function(e){function t(t){var o=e.call(this,t)||this;return o._root=C.createRef(),o._stickyAboveRef=C.createRef(),o._stickyBelowRef=C.createRef(),o._contentContainer=C.createRef(),o.subscribe=function(e){o._subscribers.add(e)},o.unsubscribe=function(e){o._subscribers.delete(e)},o.addSticky=function(e){o._stickies.add(e),o.contentContainer&&(e.setDistanceFromTop(o.contentContainer),o.sortSticky(e))},o.removeSticky=function(e){o._stickies.delete(e),o._removeStickyFromContainers(e),o.notifySubscribers()},o.sortSticky=function(e,t){o.stickyAbove&&o.stickyBelow&&(t&&o._removeStickyFromContainers(e),e.canStickyTop&&e.stickyContentTop&&o._addToStickyContainer(e,o.stickyAbove,e.stickyContentTop),e.canStickyBottom&&e.stickyContentBottom&&o._addToStickyContainer(e,o.stickyBelow,e.stickyContentBottom))},o.updateStickyRefHeights=function(){var e=o._stickies,t=0,n=0;e.forEach((function(e){var r=e.state,i=r.isStickyTop,a=r.isStickyBottom;e.nonStickyContent&&(i&&(t+=e.nonStickyContent.offsetHeight),a&&(n+=e.nonStickyContent.offsetHeight),o._checkStickyStatus(e))})),o.setState({stickyTopHeight:t,stickyBottomHeight:n})},o.notifySubscribers=function(){o.contentContainer&&o._subscribers.forEach((function(e){e(o.contentContainer,o.stickyBelow)}))},o.getScrollPosition=function(){return o.contentContainer?o.contentContainer.scrollTop:0},o.syncScrollSticky=function(e){e&&o.contentContainer&&e.syncScroll(o.contentContainer)},o._getScrollablePaneContext=function(){return{scrollablePane:{subscribe:o.subscribe,unsubscribe:o.unsubscribe,addSticky:o.addSticky,removeSticky:o.removeSticky,updateStickyRefHeights:o.updateStickyRefHeights,sortSticky:o.sortSticky,notifySubscribers:o.notifySubscribers,syncScrollSticky:o.syncScrollSticky},window:Fc(o.context)}},o._addToStickyContainer=function(e,t,n){if(t.children.length){if(!t.contains(n)){var r=[].slice.call(t.children),i=[];o._stickies.forEach((function(n){(t===o.stickyAbove&&e.canStickyTop||e.canStickyBottom)&&i.push(n)}));for(var a=void 0,s=0,l=i.sort((function(e,t){return(e.state.distanceFromTop||0)-(t.state.distanceFromTop||0)})).filter((function(e){var n=t===o.stickyAbove?e.stickyContentTop:e.stickyContentBottom;return!!n&&r.indexOf(n)>-1}));s=(e.state.distanceFromTop||0)){a=c;break}}var u=null;a&&(u=t===o.stickyAbove?a.stickyContentTop:a.stickyContentBottom),t.insertBefore(n,u)}}else t.appendChild(n)},o._removeStickyFromContainers=function(e){o.stickyAbove&&e.stickyContentTop&&o.stickyAbove.contains(e.stickyContentTop)&&o.stickyAbove.removeChild(e.stickyContentTop),o.stickyBelow&&e.stickyContentBottom&&o.stickyBelow.contains(e.stickyContentBottom)&&o.stickyBelow.removeChild(e.stickyContentBottom)},o._onWindowResize=function(){var e=o._getScrollbarWidth(),t=o._getScrollbarHeight();o.setState({scrollbarWidth:e,scrollbarHeight:t}),o.notifySubscribers()},o._getStickyContainerStyle=function(e,t){return f(f({height:e},pr(o.props.theme)?{right:"0",left:"".concat(o.state.scrollbarWidth||o._getScrollbarWidth()||0,"px")}:{left:"0",right:"".concat(o.state.scrollbarWidth||o._getScrollbarWidth()||0,"px")}),t?{top:"0"}:{bottom:"".concat(o.state.scrollbarHeight||o._getScrollbarHeight()||0,"px")})},o._onScroll=function(){var e=o.contentContainer;e&&o._stickies.forEach((function(t){t.syncScroll(e)})),o._notifyThrottled()},o._subscribers=new Set,o._stickies=new Set,oa(o),o.state={stickyTopHeight:0,stickyBottomHeight:0,scrollbarWidth:0,scrollbarHeight:0},o}return m(t,e),Object.defineProperty(t.prototype,"root",{get:function(){return this._root.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stickyAbove",{get:function(){return this._stickyAboveRef.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stickyBelow",{get:function(){return this._stickyBelowRef.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentContainer",{get:function(){return this._contentContainer.current},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var e=this,t=Fc(this.context),o=this.props.initialScrollPosition;this._async=new sa(this),this._notifyThrottled=this._async.throttle(this.notifySubscribers,50),this._events=new fl(this),this._events.on(this.contentContainer,"scroll",this._onScroll),this._events.on(t,"resize",this._onWindowResize),this.contentContainer&&o&&(this.contentContainer.scrollTop=o),this.setStickiesDistanceFromTop(),this._stickies.forEach((function(t){e.sortSticky(t)})),this.notifySubscribers(),t&&"MutationObserver"in t&&(this._mutationObserver=new MutationObserver((function(t){var o=e._getScrollbarHeight();if(o!==e.state.scrollbarHeight&&e.setState({scrollbarHeight:o}),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 n=[];e._stickies.forEach((function(e){e.root&&e.root.contains(t[0].target)&&n.push(e)})),n.length&&n.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 o=this.props.initialScrollPosition;this.contentContainer&&"number"==typeof o&&e.initialScrollPosition!==o&&(this.contentContainer.scrollTop=o),t.stickyTopHeight===this.state.stickyTopHeight&&t.stickyBottomHeight===this.state.stickyBottomHeight||this.notifySubscribers(),this._async.setTimeout(this._onWindowResize,0)},t.prototype.render=function(){var e=this.props,t=e.className,o=e.scrollContainerFocus,n=e.scrollContainerAriaLabel,r=e.theme,i=e.styles,a=e.onScroll,s=this.state,l=s.stickyTopHeight,c=s.stickyBottomHeight,u=oD(i,{theme:r,className:t,scrollbarVisibility:this.props.scrollbarVisibility}),d=o?{role:"group",tabIndex:0,"aria-label":n,onScroll:a}:{onScroll:a};return C.createElement("div",f({},Xr(f({},this.props),Zr,["onScroll"]),{ref:this._root,className:u.root}),C.createElement("div",{ref:this._stickyAboveRef,className:u.stickyAbove,style:this._getStickyContainerStyle(l,!0)}),C.createElement("div",f({ref:this._contentContainer},d,{className:u.contentContainer,"data-is-scrollable":!0}),C.createElement(tD.Provider,{value:this._getScrollablePaneContext()},this.props.children)),C.createElement("div",{className:u.stickyBelow,style:this._getStickyContainerStyle(c,!1)},C.createElement("div",{ref:this._stickyBelowRef,className:u.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.contextType=la,t}(C.Component),rD=lr(nD,(function(e){var t,o,n=e.className,r=e.theme,i=Ao($I,r),a={position:"absolute",pointerEvents:"none"},s={position:"absolute",top:0,right:0,bottom:0,left:0,WebkitOverflowScrolling:"touch"};return{root:[i.root,r.fonts.medium,s,n],contentContainer:[i.contentContainer,{overflowY:"always"===e.scrollbarVisibility?"scroll":"auto"},s],stickyAbove:[{top:0,zIndex:1,selectors:(t={},t[Fo]={borderBottom:"1px solid WindowText"},t)},a],stickyBelow:[{bottom:0,selectors:(o={},o[Fo]={borderTop:"1px solid WindowText"},o)},a],stickyBelowItems:[{bottom:0},a,{width:"100%"}]}}),void 0,{scope:"ScrollablePane"}),iD="SearchBox",aD={root:{height:"auto"},icon:{fontSize:"12px"}},sD={iconName:"Clear"},lD={ariaLabel:"Clear text"},cD=Cr(),uD=C.forwardRef((function(e,t){var o=e.ariaLabel,n=e.className,r=e.defaultValue,i=void 0===r?"":r,a=e.disabled,s=e.underlined,l=e.styles,c=e.labelText,u=e.placeholder,d=void 0===u?c:u,p=e.theme,h=e.clearButtonProps,m=void 0===h?lD:h,g=e.disableAnimation,v=void 0!==g&&g,b=e.showIcon,y=void 0!==b&&b,_=e.onClear,S=e.onBlur,x=e.onEscape,k=e.onSearch,w=e.onKeyDown,I=e.iconProps,D=e.role,E=e.onChange,T=e.onChanged,P=C.useState(!1),R=P[0],M=P[1],N=C.useRef(),B=Om(e.value,i,(function(e,t){e&&e.timeStamp===N.current||(N.current=null==e?void 0:e.timeStamp,null==E||E(e,t),null==T||T(t))})),A=B[0],F=B[1],L=String(A),H=C.useRef(null),O=C.useRef(null),z=li(H,t),W=yd(iD,e.id),V=m.onClick,K=cD(l,{theme:p,className:n,underlined:s,hasFocus:R,disabled:a,hasInput:L.length>0,disableAnimation:v,showIcon:y}),G=Xr(e,Ar,["className","placeholder","onFocus","onBlur","value","role"]),U=C.useCallback((function(e){var t;null==_||_(e),e.defaultPrevented||(F(""),null===(t=O.current)||void 0===t||t.focus(),e.stopPropagation(),e.preventDefault())}),[_,F]),j=C.useCallback((function(e){null==V||V(e),e.defaultPrevented||U(e)}),[V,U]),q=C.useCallback((function(e){M(!1),null==S||S(e)}),[S]),Y=function(e){F(e.target.value,e)};return function(e,t,o){C.useImperativeHandle(e,(function(){return{focus:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.blur()},hasFocus:function(){return o}}}),[t,o])}(e.componentRef,O,R),C.createElement("div",{role:D,ref:z,className:K.root,onFocusCapture:function(t){var o;M(!0),null===(o=e.onFocus)||void 0===o||o.call(e,t)}},C.createElement("div",{className:K.iconContainer,onClick:function(){O.current&&(O.current.focus(),O.current.selectionStart=O.current.selectionEnd=0)},"aria-hidden":!0},C.createElement(Ei,f({iconName:"Search"},I,{className:K.icon}))),C.createElement("input",f({},G,{id:W,className:K.field,placeholder:d,onChange:Y,onInput:Y,onBlur:q,onKeyDown:function(e){switch(e.which){case ur.escape:null==x||x(e),L&&!e.defaultPrevented&&U(e);break;case ur.enter:k&&(k(L),e.preventDefault(),e.stopPropagation());break;default:null==w||w(e),e.defaultPrevented&&e.stopPropagation()}},value:L,disabled:a,role:"searchbox","aria-label":o,ref:O})),L.length>0&&C.createElement("div",{className:K.clearButton},C.createElement(yp,f({onBlur:q,styles:aD,iconProps:sD},m,{onClick:j}))))}));uD.displayName=iD;var dD={root:"ms-SearchBox",iconContainer:"ms-SearchBox-iconContainer",icon:"ms-SearchBox-icon",clearButton:"ms-SearchBox-clearButton",field:"ms-SearchBox-field"},pD=lr(uD,(function(e){var t,o,n,r,i,a=e.theme,s=e.underlined,l=e.disabled,c=e.hasFocus,u=e.className,d=e.hasInput,p=e.disableAnimation,h=e.showIcon,m=a.palette,f=a.fonts,g=a.semanticColors,v=a.effects,b=Ao(dD,a),y={color:g.inputPlaceholderText,opacity:1},C=m.neutralSecondary,_=m.neutralPrimary,S=m.neutralLighter,x=m.neutralLighter,k=m.neutralLighter;return{root:[b.root,f.medium,fn,{color:g.inputText,backgroundColor:g.inputBackground,display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"stretch",padding:"1px 0 1px 4px",borderRadius:v.roundedCorner2,border:"1px solid ".concat(g.inputBorder),height:32,selectors:(t={},t[Fo]={borderColor:"WindowText"},t[":hover"]={borderColor:g.inputBorderHovered,selectors:(o={},o[Fo]={borderColor:"Highlight"},o)},t[":hover .".concat(b.iconContainer)]={color:g.inputIconHovered},t)},!c&&d&&{selectors:(n={},n[":hover .".concat(b.iconContainer)]={width:4},n[":hover .".concat(b.icon)]={opacity:0,pointerEvents:"none"},n)},c&&["is-active",{position:"relative"},un(g.inputFocusBorderAlt,s?0:v.roundedCorner2,s?"borderBottom":"border")],h&&[{selectors:(r={},r[":hover .".concat(b.iconContainer)]={width:32},r[":hover .".concat(b.icon)]={opacity:1},r)}],l&&["is-disabled",{borderColor:S,backgroundColor:k,pointerEvents:"none",cursor:"default",selectors:(i={},i[Fo]={borderColor:"GrayText"},i)}],s&&["is-underlined",{borderWidth:"0 0 1px 0",borderRadius:0,padding:"1px 0 1px 8px"}],s&&l&&{backgroundColor:"transparent"},d&&"can-clear",u],iconContainer:[b.iconContainer,{display:"flex",flexDirection:"column",justifyContent:"center",flexShrink:0,fontSize:16,width:32,textAlign:"center",color:g.inputIcon,cursor:"text"},c&&{width:4},l&&{color:g.inputIconDisabled},!p&&{transition:"width ".concat(qe.durationValue1)},h&&c&&{width:32}],icon:[b.icon,{opacity:1},c&&{opacity:0,pointerEvents:"none"},!p&&{transition:"opacity ".concat(qe.durationValue1," 0s")},h&&c&&{opacity:1}],clearButton:[b.clearButton,{display:"flex",flexDirection:"row",alignItems:"stretch",cursor:"pointer",flexBasis:"32px",flexShrink:0,padding:0,margin:"-1px 0px",selectors:{"&:hover .ms-Button":{backgroundColor:x},"&:hover .ms-Button-icon":{color:_},".ms-Button":{borderRadius:pr(a)?"1px 0 0 1px":"0 1px 1px 0"},".ms-Button-icon":{color:C}}}],field:[b.field,fn,_n(y),{backgroundColor:"transparent",border:"none",outline:"none",fontWeight:"inherit",fontFamily:"inherit",fontSize:"inherit",color:g.inputText,flex:"1 1 0px",minWidth:"0px",overflow:"hidden",textOverflow:"ellipsis",paddingBottom:.5,selectors:{"::-ms-clear":{display:"none"}}},l&&{color:g.disabledText}]}}),void 0,{scope:"SearchBox"}),hD=function(e){function t(t){var o=e.call(this,t)||this;o.addItems=function(e){var t=o.props.onItemSelected?o.props.onItemSelected(e):e,n=t,r=t;if(r&&r.then)r.then((function(e){var t=o.state.items.concat(e);o.updateItems(t)}));else{var i=o.state.items.concat(n);o.updateItems(i)}},o.removeItemAt=function(e){var t=o.state.items;if(o._canRemoveItem(t[e])&&e>-1){o.props.onItemsDeleted&&o.props.onItemsDeleted([t[e]]);var n=t.slice(0,e).concat(t.slice(e+1));o.updateItems(n)}},o.removeItem=function(e){var t=o.state.items.indexOf(e);o.removeItemAt(t)},o.replaceItem=function(e,t){var n=o.state.items,r=n.indexOf(e);if(r>-1){var i=n.slice(0,r).concat(t).concat(n.slice(r+1));o.updateItems(i)}},o.removeItems=function(e){var t=o.state.items,n=e.filter((function(e){return o._canRemoveItem(e)})),r=t.filter((function(e){return-1===n.indexOf(e)})),i=n[0],a=t.indexOf(i);o.props.onItemsDeleted&&o.props.onItemsDeleted(n),o.updateItems(r,a)},o.onCopy=function(e){if(o.props.onCopyItems&&o.selection.getSelectedCount()>0){var t=o.selection.getSelection();o.copyItems(t)}},o.renderItems=function(){var e=o.props.removeButtonAriaLabel,t=o.props.onRenderItem;return o.state.items.map((function(n,r){return t({item:n,index:r,key:n.key?n.key:r,selected:o.selection.isIndexSelected(r),onRemoveItem:function(){return o.removeItem(n)},onItemChange:o.onItemChange,removeButtonAriaLabel:e,onCopyItem:function(e){return o.copyItems([e])}})}))},o.onSelectionChanged=function(){o.forceUpdate()},o.onItemChange=function(e,t){var n=o.state.items;if(t>=0){var r=n;r[t]=e,o.updateItems(r)}},oa(o);var n=t.selectedItems||t.defaultSelectedItems||[];return o.state={items:n},o._defaultSelection=new My({onSelectionChanged:o.onSelectionChanged}),o}return m(t,e),t.getDerivedStateFromProps=function(e){return e.selectedItems?{items:e.selectedItems}:null},Object.defineProperty(t.prototype,"items",{get:function(){return this.state.items},enumerable:!1,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 o=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},(function(){o._onSelectedItemsUpdated(e,t)}))},t.prototype.hasSelectedItems=function(){return this.selection.getSelectedCount()>0},t.prototype.componentDidUpdate=function(e,t){this.state.items&&this.state.items!==t.items&&this.selection.setItems(this.state.items)},t.prototype.unselectAll=function(){this.selection.setAllSelected(!1)},t.prototype.highlightedItems=function(){return this.selection.getSelection()},t.prototype.componentDidMount=function(){this.selection.setItems(this.state.items)},Object.defineProperty(t.prototype,"selection",{get:function(){var e;return null!==(e=this.props.selection)&&void 0!==e?e:this._defaultSelection},enumerable:!1,configurable:!0}),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),o=Ac(this.context),n=o.createElement("input");o.body.appendChild(n);try{if(n.value=t,n.select(),!o.execCommand("copy"))throw new Error}catch(e){}finally{o.body.removeChild(n)}}},t.prototype._onSelectedItemsUpdated=function(e,t){this.onChange(e)},t.prototype._canRemoveItem=function(e){return!this.props.canRemoveItem||this.props.canRemoveItem(e)},t.contextType=la,t}(C.Component);qt([{rawString:".personaContainer_6625fd9a{border-radius:15px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:"},{theme:"themeLighterAlt",defaultValue:"#eff6fc"},{rawString:';margin:4px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;position:relative}.personaContainer_6625fd9a::-moz-focus-inner{border:0}.personaContainer_6625fd9a{outline:transparent}.personaContainer_6625fd9a{position:relative}.ms-Fabric--isFocusVisible .personaContainer_6625fd9a:focus:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;pointer-events:none;border:1px solid '},{theme:"focusBorder",defaultValue:"#605e5c"},{rawString:";border-radius:0}.personaContainer_6625fd9a .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}.personaContainer_6625fd9a .ms-Persona-primaryText.hover_6625fd9a{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a .actionButton_6625fd9a:hover{background:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.personaContainer_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:HighlightText}}.personaContainer_6625fd9a:hover{background:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.personaContainer_6625fd9a:hover .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a:hover .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a{background:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .ms-Persona-primaryText{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon:hover{background:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a{border-color:Highlight;background:Highlight;-ms-high-contrast-adjust:none}}.personaContainer_6625fd9a.validationError_6625fd9a .ms-Persona-primaryText{color:"},{theme:"red",defaultValue:"#e81123"},{rawString:"}.personaContainer_6625fd9a.validationError_6625fd9a .ms-Persona-initials{font-size:20px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a{border:1px solid WindowText}}.personaContainer_6625fd9a .itemContent_6625fd9a{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;min-width:0;max-width:100%}.personaContainer_6625fd9a .removeButton_6625fd9a{border-radius:15px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33px;height:33px;-ms-flex-preferred-size:32px;flex-basis:32px}.personaContainer_6625fd9a .expandButton_6625fd9a{border-radius:15px 0 0 15px;height:33px;width:44px;padding-right:16px;position:inherit;display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-17px}.personaContainer_6625fd9a .personaWrapper_6625fd9a{position:relative;display:inherit}.personaContainer_6625fd9a .personaWrapper_6625fd9a .ms-Persona-details{padding:0 8px}.personaContainer_6625fd9a .personaDetails_6625fd9a{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.itemContainer_6625fd9a{display:inline-block;vertical-align:top}"}]);var mD="personaContainer_6625fd9a",fD="hover_6625fd9a",gD="actionButton_6625fd9a",vD="personaContainerIsSelected_6625fd9a",bD="validationError_6625fd9a",yD="itemContent_6625fd9a",CD="removeButton_6625fd9a",_D="expandButton_6625fd9a",SD="personaWrapper_6625fd9a",xD="personaDetails_6625fd9a",kD="itemContainer_6625fd9a",wD=p,ID=function(e){function t(t){var o=e.call(this,t)||this;return o.persona=C.createRef(),oa(o),o.state={contextualMenuVisible:!1},o}return m(t,e),t.prototype.render=function(){var e,t,o=this.props,n=o.item,r=o.onExpandItem,i=o.onRemoveItem,a=o.removeButtonAriaLabel,s=o.index,l=o.selected,c=us();return C.createElement("div",{ref:this.persona,className:gi("ms-PickerPersona-container",wD.personaContainer,(e={},e["is-selected "+wD.personaContainerIsSelected]=l,e),(t={},t["is-invalid "+wD.validationError]=!n.isValid,t)),"data-is-focusable":!0,"data-is-sub-focuszone":!0,"data-selection-index":s,role:"listitem","aria-labelledby":"selectedItemPersona-"+c},C.createElement("div",{hidden:!n.canExpand||void 0===r},C.createElement(yp,{onClick:this._onClickIconButton(r),iconProps:{iconName:"Add",style:{fontSize:"14px"}},className:gi("ms-PickerItem-removeButton",wD.expandButton,wD.actionButton),ariaLabel:a})),C.createElement("div",{className:gi(wD.personaWrapper)},C.createElement("div",{className:gi("ms-PickerItem-content",wD.itemContent),id:"selectedItemPersona-"+c},C.createElement(OS,f({},n,{onRenderCoin:this.props.renderPersonaCoin,onRenderPrimaryText:this.props.renderPrimaryText,size:vi.size32}))),C.createElement(yp,{onClick:this._onClickIconButton(i),iconProps:{iconName:"Cancel",style:{fontSize:"14px"}},className:gi("ms-PickerItem-removeButton",wD.removeButton,wD.actionButton),ariaLabel:a})))},t.prototype._onClickIconButton=function(e){return function(t){t.stopPropagation(),t.preventDefault(),e&&e()}},t}(C.Component),DD=function(e){function t(t){var o=e.call(this,t)||this;return o.itemElement=C.createRef(),o._onClick=function(e){e.preventDefault(),o.props.beginEditing&&!o.props.item.isValid?o.props.beginEditing(o.props.item):o.setState({contextualMenuVisible:!0})},o._onCloseContextualMenu=function(e){o.setState({contextualMenuVisible:!1})},oa(o),o.state={contextualMenuVisible:!1},o}return m(t,e),t.prototype.render=function(){return C.createElement("div",{ref:this.itemElement,onContextMenu:this._onClick},this.props.renderedItem,this.state.contextualMenuVisible?C.createElement(op,{items:this.props.menuItems,shouldFocusOnMount:!0,target:this.itemElement.current,onDismiss:this._onCloseContextualMenu,directionalHint:Il.bottomLeftEdge}):null)},t}(C.Component),ED={root:"ms-EditingItem",input:"ms-EditingItem-input"},TD=function(e){var t=co();if(!t)throw new Error("theme is undefined or null in Editing item getStyles function.");var o=t.semanticColors,n=Ao(ED,t);return{root:[n.root,{margin:"4px"}],input:[n.input,{border:"0px",outline:"none",width:"100%",backgroundColor:o.inputBackground,color:o.inputText,selectors:{"::-ms-clear":{display:"none"}}}]}},PD=function(e){function t(t){var o=e.call(this,t)||this;return o._editingFloatingPicker=C.createRef(),o._renderEditingSuggestions=function(){var e=o.props.onRenderFloatingPicker,t=o.props.floatingPickerProps;return e&&t?C.createElement(e,f({componentRef:o._editingFloatingPicker,onChange:o._onSuggestionSelected,inputElement:o._editingInput,selectedItems:[]},t)):C.createElement(C.Fragment,null)},o._resolveInputRef=function(e){o._editingInput=e,o.forceUpdate((function(){o._editingInput.focus()}))},o._onInputClick=function(){o._editingFloatingPicker.current&&o._editingFloatingPicker.current.showPicker(!0)},o._onInputBlur=function(e){if(o._editingFloatingPicker.current&&null!==e.relatedTarget){var t=e.relatedTarget;-1===t.className.indexOf("ms-Suggestions-itemButton")&&-1===t.className.indexOf("ms-Suggestions-sectionButton")&&o._editingFloatingPicker.current.forceResolveSuggestion()}},o._onInputChange=function(e){var t=e.target.value;""===t?o.props.onRemoveItem&&o.props.onRemoveItem():o._editingFloatingPicker.current&&o._editingFloatingPicker.current.onQueryStringChanged(t)},o._onSuggestionSelected=function(e){o.props.onEditingComplete(o.props.item,e)},oa(o),o.state={contextualMenuVisible:!1},o}return m(t,e),t.prototype.componentDidMount=function(){var e=(0,this.props.getEditingItemText)(this.props.item);this._editingFloatingPicker.current&&this._editingFloatingPicker.current.onQueryStringChanged(e),this._editingInput.value=e,this._editingInput.focus()},t.prototype.render=function(){var e=us(),t=Xr(this.props,Ar),o=Cr()(TD);return C.createElement("div",{"aria-labelledby":"editingItemPersona-"+e,className:o.root},C.createElement("input",f({autoCapitalize:"off",autoComplete:"off"},t,{ref:this._resolveInputRef,onChange:this._onInputChange,onKeyDown:this._onInputKeyDown,onBlur:this._onInputBlur,onClick:this._onInputClick,"data-lpignore":!0,className:o.input,id:e})),this._renderEditingSuggestions())},t.prototype._onInputKeyDown=function(e){e.which!==ur.backspace&&e.which!==ur.del||e.stopPropagation()},t}(C.Component),RD=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t}(hD),MD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderItems=function(){return t.state.items.map((function(e,o){return t._renderItem(e,o)}))},t._beginEditing=function(e){e.isEditing=!0,t.forceUpdate()},t._completeEditing=function(e,o){e.isEditing=!1,t.replaceItem(e,o)},t}return m(t,e),t.prototype._renderItem=function(e,t){var o=this,n=this.props.removeButtonAriaLabel,r=this.props.onExpandGroup,i={item:e,index:t,key:e.key?e.key:t,selected:this.selection.isIndexSelected(t),onRemoveItem:function(){return o.removeItem(e)},onItemChange:this.onItemChange,removeButtonAriaLabel:n,onCopyItem:function(e){return o.copyItems([e])},onExpandItem:r?function(){return r(e)}:void 0,menuItems:this._createMenuItems(e)},a=i.menuItems.length>0;if(e.isEditing&&a)return C.createElement(PD,f({},i,{onRenderFloatingPicker:this.props.onRenderFloatingPicker,floatingPickerProps:this.props.floatingPickerProps,onEditingComplete:this._completeEditing,getEditingItemText:this.props.getEditingItemText}));var s=(0,this.props.onRenderItem)(i);return a?C.createElement(DD,{key:i.key,renderedItem:s,beginEditing:this._beginEditing,menuItems:this._createMenuItems(i.item),item:i.item}):s},t.prototype._createMenuItems=function(e){var t=this,o=[];return this.props.editMenuItemText&&this.props.getEditingItemText&&o.push({key:"Edit",text:this.props.editMenuItemText,onClick:function(e,o){t._beginEditing(o.data)},data:e}),this.props.removeMenuItemText&&o.push({key:"Remove",text:this.props.removeMenuItemText,onClick:function(e,o){t.removeItem(o.data)},data:e}),this.props.copyMenuItemText&&o.push({key:"Copy",text:this.props.copyMenuItemText,onClick:function(e,o){t.props.onCopyItems&&t.copyItems([o.data])},data:e}),o},t.defaultProps={onRenderItem:function(e){return C.createElement(ID,f({},e))}},t}(RD),ND=Cr(),BD=C.forwardRef((function(e,t){var o=e.styles,n=e.theme,r=e.className,i=e.vertical,a=e.alignContent,s=e.children,l=ND(o,{theme:n,className:r,alignContent:a,vertical:i});return C.createElement("div",{className:l.root,ref:t},C.createElement("div",{className:l.content,role:"separator","aria-orientation":i?"vertical":"horizontal"},s))})),AD=lr(BD,(function(e){var t,o,n=e.theme,r=e.alignContent,i=e.vertical,a=e.className,s="start"===r,l="center"===r,c="end"===r;return{root:[n.fonts.medium,{position:"relative"},r&&{textAlign:r},!r&&{textAlign:"center"},i&&(l||!r)&&{verticalAlign:"middle"},i&&s&&{verticalAlign:"top"},i&&c&&{verticalAlign:"bottom"},i&&{padding:"0 4px",height:"inherit",display:"table-cell",zIndex:1,selectors:{":after":(t={backgroundColor:n.palette.neutralLighter,width:"1px",content:'""',position:"absolute",top:"0",bottom:"0",left:"50%",right:"0",zIndex:-1},t[Fo]={backgroundColor:"WindowText"},t)}},!i&&{padding:"4px 0",selectors:{":before":(o={backgroundColor:n.palette.neutralLighter,height:"1px",content:'""',display:"block",position:"absolute",top:"50%",bottom:"0",left:"0",right:"0"},o[Fo]={backgroundColor:"WindowText"},o)}},a],content:[{position:"relative",display:"inline-block",padding:"0 12px",color:n.semanticColors.bodyText,background:n.semanticColors.bodyBackground},i&&{padding:"12px 0"}]}}),void 0,{scope:"Separator"});AD.displayName="Separator";var FD,LD,HD={root:"ms-Shimmer-container",shimmerWrapper:"ms-Shimmer-shimmerWrapper",shimmerGradient:"ms-Shimmer-shimmerGradient",dataWrapper:"ms-Shimmer-dataWrapper"},OD="100%",zD=Ro((function(){return le({"0%":{transform:"translateX(-".concat(OD,")")},"100%":{transform:"translateX(".concat(OD,")")}})})),WD=Ro((function(){return le({"100%":{transform:"translateX(-".concat(OD,")")},"0%":{transform:"translateX(".concat(OD,")")}})}));!function(e){e[e.line=1]="line",e[e.circle=2]="circle",e[e.gap=3]="gap"}(FD||(FD={})),function(e){e[e.line=16]="line",e[e.gap=16]="gap",e[e.circle=24]="circle"}(LD||(LD={}));var VD=Cr(),KD=function(e){var t=e.height,o=e.styles,n=e.width,r=void 0===n?"100%":n,i=e.borderStyle,a=e.theme,s=VD(o,{theme:a,height:t,borderStyle:i});return C.createElement("div",{style:{width:r,minWidth:"number"==typeof r?"".concat(r,"px"):"auto"},className:s.root},C.createElement("svg",{width:"2",height:"2",className:s.topLeftCorner},C.createElement("path",{d:"M0 2 A 2 2, 0, 0, 1, 2 0 L 0 0 Z"})),C.createElement("svg",{width:"2",height:"2",className:s.topRightCorner},C.createElement("path",{d:"M0 0 A 2 2, 0, 0, 1, 2 2 L 2 0 Z"})),C.createElement("svg",{width:"2",height:"2",className:s.bottomRightCorner},C.createElement("path",{d:"M2 0 A 2 2, 0, 0, 1, 0 2 L 2 2 Z"})),C.createElement("svg",{width:"2",height:"2",className:s.bottomLeftCorner},C.createElement("path",{d:"M2 2 A 2 2, 0, 0, 1, 0 0 L 0 2 Z"})))},GD={root:"ms-ShimmerLine-root",topLeftCorner:"ms-ShimmerLine-topLeftCorner",topRightCorner:"ms-ShimmerLine-topRightCorner",bottomLeftCorner:"ms-ShimmerLine-bottomLeftCorner",bottomRightCorner:"ms-ShimmerLine-bottomRightCorner"},UD=lr(KD,(function(e){var t,o=e.height,n=e.borderStyle,r=e.theme,i=r.semanticColors,a=Ao(GD,r),s=n||{},l={position:"absolute",fill:i.bodyBackground};return{root:[a.root,r.fonts.medium,{height:"".concat(o,"px"),boxSizing:"content-box",position:"relative",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,borderWidth:0,selectors:(t={},t[Fo]={borderColor:"Window",selectors:{"> *":{fill:"Window"}}},t)},s],topLeftCorner:[a.topLeftCorner,{top:"0",left:"0"},l],topRightCorner:[a.topRightCorner,{top:"0",right:"0"},l],bottomRightCorner:[a.bottomRightCorner,{bottom:"0",right:"0"},l],bottomLeftCorner:[a.bottomLeftCorner,{bottom:"0",left:"0"},l]}}),void 0,{scope:"ShimmerLine"}),jD=Cr(),qD=function(e){var t=e.height,o=e.styles,n=e.width,r=void 0===n?"10px":n,i=e.borderStyle,a=e.theme,s=jD(o,{theme:a,height:t,borderStyle:i});return C.createElement("div",{style:{width:r,minWidth:"number"==typeof r?"".concat(r,"px"):"auto"},className:s.root})},YD={root:"ms-ShimmerGap-root"},ZD=lr(qD,(function(e){var t,o=e.height,n=e.borderStyle,r=e.theme,i=r.semanticColors,a=n||{};return{root:[Ao(YD,r).root,r.fonts.medium,{backgroundColor:i.bodyBackground,height:"".concat(o,"px"),boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,selectors:(t={},t[Fo]={backgroundColor:"Window",borderColor:"Window"},t)},a]}}),void 0,{scope:"ShimmerGap"}),XD={root:"ms-ShimmerCircle-root",svg:"ms-ShimmerCircle-svg"},QD=Cr(),JD=function(e){var t=e.height,o=e.styles,n=e.borderStyle,r=e.theme,i=QD(o,{theme:r,height:t,borderStyle:n});return C.createElement("div",{className:i.root},C.createElement("svg",{viewBox:"0 0 10 10",width:t,height:t,className:i.svg},C.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"})))},$D=lr(JD,(function(e){var t,o,n=e.height,r=e.borderStyle,i=e.theme,a=i.semanticColors,s=Ao(XD,i),l=r||{};return{root:[s.root,i.fonts.medium,{width:"".concat(n,"px"),height:"".concat(n,"px"),minWidth:"".concat(n,"px"),boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:a.bodyBackground,selectors:(t={},t[Fo]={borderColor:"Window"},t)},l],svg:[s.svg,{display:"block",fill:a.bodyBackground,selectors:(o={},o[Fo]={fill:"Window"},o)}]}}),void 0,{scope:"ShimmerCircle"}),eE=Cr(),tE=function(e){var t=e.styles,o=e.width,n=void 0===o?"auto":o,r=e.shimmerElements,i=e.rowHeight,a=void 0===i?function(e){return e.map((function(e){switch(e.type){case FD.circle:e.height||(e.height=LD.circle);break;case FD.line:e.height||(e.height=LD.line);break;case FD.gap:e.height||(e.height=LD.gap)}return e})).reduce((function(e,t){return t.height&&t.height>e?t.height:e}),0)}(r||[]):i,s=e.flexWrap,l=void 0!==s&&s,c=e.theme,u=e.backgroundColor,d=eE(t,{theme:c,flexWrap:l});return C.createElement("div",{style:{width:n},className:d.root},function(e,t,o){var n=e?e.map((function(e,n){var r=e.type,i=g(e,["type"]),a=i.verticalAlign,s=i.height,l=oE(a,r,s,t,o);switch(e.type){case FD.circle:return C.createElement($D,f({key:n},i,{styles:l}));case FD.gap:return C.createElement(ZD,f({key:n},i,{styles:l}));case FD.line:return C.createElement(UD,f({key:n},i,{styles:l}))}})):C.createElement(UD,{height:LD.line});return n}(r,u,a))},oE=Ro((function(e,t,o,n,r){var i,a=r&&o?r-o:0;if(e&&"center"!==e?e&&"top"===e?i={borderBottomWidth:"".concat(a,"px"),borderTopWidth:"0px"}:e&&"bottom"===e&&(i={borderBottomWidth:"0px",borderTopWidth:"".concat(a,"px")}):i={borderBottomWidth:"".concat(a?Math.floor(a/2):0,"px"),borderTopWidth:"".concat(a?Math.ceil(a/2):0,"px")},n)switch(t){case FD.circle:return{root:f(f({},i),{borderColor:n}),svg:{fill:n}};case FD.gap:return{root:f(f({},i),{borderColor:n,backgroundColor:n})};case FD.line:return{root:f(f({},i),{borderColor:n}),topLeftCorner:{fill:n},topRightCorner:{fill:n},bottomLeftCorner:{fill:n},bottomRightCorner:{fill:n}}}return{root:i}})),nE={root:"ms-ShimmerElementsGroup-root"},rE=lr(tE,(function(e){var t=e.flexWrap,o=e.theme;return{root:[Ao(nE,o).root,o.fonts.medium,{display:"flex",alignItems:"center",flexWrap:t?"wrap":"nowrap",position:"relative"}]}}),void 0,{scope:"ShimmerElementsGroup"}),iE=Cr(),aE=C.forwardRef((function(e,t){var o=e.styles,n=e.shimmerElements,r=e.children,i=e.width,a=e.className,s=e.customElementsGroup,l=e.theme,c=e.ariaLabel,u=e.shimmerColors,d=e.isDataLoaded,p=void 0!==d&&d,h=e.improveCSSPerformance,m=Xr(e,Zr),g=iE(o,{theme:l,isDataLoaded:p,className:a,transitionAnimationInterval:200,shimmerColor:u&&u.shimmer,shimmerWaveColor:u&&u.shimmerWave,improveCSSPerformance:h||!s}),v=Pc({lastTimeoutId:0}),b=Gf(),y=b.setTimeout,_=b.clearTimeout,S=C.useState(p),x=S[0],k=S[1],w={width:i||"100%"};return C.useEffect((function(){if(p!==x){if(p)return v.lastTimeoutId=y((function(){k(!0)}),200),function(){return _(v.lastTimeoutId)};k(!1)}}),[p]),C.createElement("div",f({},m,{className:g.root,ref:t}),!x&&C.createElement("div",{style:w,className:g.shimmerWrapper},C.createElement("div",{className:g.shimmerGradient}),s||C.createElement(rE,{shimmerElements:n,backgroundColor:u&&u.background})),r&&C.createElement("div",{className:g.dataWrapper},r),c&&!p&&C.createElement("div",{role:"status","aria-live":"polite"},C.createElement(ga,null,C.createElement("div",{className:g.screenReaderText},c))))}));aE.displayName="Shimmer";var sE=lr(aE,(function(e){var t,o=e.isDataLoaded,n=e.className,r=e.theme,i=e.transitionAnimationInterval,a=e.shimmerColor,s=e.shimmerWaveColor,l=e.improveCSSPerformance,c=r.semanticColors,u=Ao(HD,r),d=pr(r);return{root:[u.root,r.fonts.medium,{position:"relative",height:"auto"},n],shimmerWrapper:[u.shimmerWrapper,{position:"relative",overflow:"hidden",transform:"translateZ(0)",backgroundColor:a||c.disabledBackground,transition:"opacity ".concat(i,"ms"),selectors:(t={},t[Fo]=f({background:"WindowText\n linear-gradient(\n to right,\n transparent 0%,\n Window 50%,\n transparent 100%)\n 0 0 / 90% 100%\n no-repeat"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},o&&{opacity:"0",position:"absolute",top:"0",bottom:"0",left:"0",right:"0"},l?{selectors:{"> div:last-child":{transform:"translateZ(0)"}}}:{selectors:{"> *":{transform:"translateZ(0)"}}}],shimmerGradient:[u.shimmerGradient,{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"".concat(a||c.disabledBackground,"\n linear-gradient(\n to right,\n ").concat(a||c.disabledBackground," 0%,\n ").concat(s||c.bodyDivider," 50%,\n ").concat(a||c.disabledBackground," 100%)\n 0 0 / 90% 100%\n no-repeat"),transform:"translateX(-".concat(OD,")"),animationDuration:"2s",animationTimingFunction:"ease-in-out",animationDirection:"normal",animationIterationCount:"infinite",animationName:d?WD():zD()}],dataWrapper:[u.dataWrapper,{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",opacity:"0",background:"none",backgroundColor:"transparent",border:"none",transition:"opacity ".concat(i,"ms")},o&&{opacity:"1",position:"static"}],screenReaderText:vo}}),void 0,{scope:"Shimmer"}),lE=Cr(),cE=function(e){function t(t){var o=e.call(this,t)||this;return o._onRenderShimmerPlaceholder=function(e,t){var n=o.props.onRenderCustomPlaceholder,r=n?n(t,e,o._renderDefaultShimmerPlaceholder):o._renderDefaultShimmerPlaceholder(t);return C.createElement(sE,{customElementsGroup:r})},o._renderDefaultShimmerPlaceholder=function(e){var t=e.columns,o=e.compact,n=e.selectionMode,r=e.checkboxVisibility,i=e.cellStyleProps,a=void 0===i?Fb:i,s=Lb.rowHeight,l=Lb.compactRowHeight,c=o?l:s+1,u=[];return n!==oy.none&&r!==Rb.hidden&&u.push(C.createElement(rE,{key:"checkboxGap",shimmerElements:[{type:FD.gap,width:"40px",height:c}]})),t.forEach((function(e,t){var o=[],n=a.cellLeftPadding+a.cellRightPadding+e.calculatedWidth+(e.isPadded?a.cellExtraRightPadding:0);o.push({type:FD.gap,width:a.cellLeftPadding,height:c}),e.isIconOnly?(o.push({type:FD.line,width:e.calculatedWidth,height:e.calculatedWidth}),o.push({type:FD.gap,width:a.cellRightPadding,height:c})):(o.push({type:FD.line,width:.95*e.calculatedWidth,height:7}),o.push({type:FD.gap,width:a.cellRightPadding+(e.calculatedWidth-.95*e.calculatedWidth)+(e.isPadded?a.cellExtraRightPadding:0),height:c})),u.push(C.createElement(rE,{key:t,width:"".concat(n,"px"),shimmerElements:o}))})),u.push(C.createElement(rE,{key:"endGap",width:"100%",shimmerElements:[{type:FD.gap,width:"100%",height:c}]})),C.createElement("div",{style:{display:"flex"}},u)},o._shimmerItems=t.shimmerLines?new Array(t.shimmerLines):new Array(10),o}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.detailsListStyles,o=e.enableShimmer,n=e.items,r=e.listProps,i=(e.onRenderCustomPlaceholder,e.removeFadingOverlay),a=(e.shimmerLines,e.styles),s=e.theme,l=e.ariaLabelForGrid,c=e.ariaLabelForShimmer,u=g(e,["detailsListStyles","enableShimmer","items","listProps","onRenderCustomPlaceholder","removeFadingOverlay","shimmerLines","styles","theme","ariaLabelForGrid","ariaLabelForShimmer"]),d=r&&r.className;this._classNames=lE(a,{theme:s});var p=f(f({},r),{className:o&&!i?gi(this._classNames.root,d):d});return C.createElement(xC,f({},u,{styles:t,items:o?this._shimmerItems:n,isPlaceholderData:o,ariaLabelForGrid:o&&c||l,onRenderMissingItem:this._onRenderShimmerPlaceholder,listProps:p}))},t}(C.Component),uE=function(e){var t=e.theme.palette;return{root:{position:"relative",selectors:{":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,backgroundImage:"linear-gradient(to bottom, transparent 30%, ".concat(t.whiteTranslucent40," 65%,").concat(t.white," 100%)")}}}}},dE=lr(cE,uE,void 0,{scope:"ShimmeredDetailsList"}),pE=Cr(),hE=function(e){return function(t){var o;return(o={})[e]="".concat(t,"%"),o}},mE=function(e,t,o){return o===t?0:(e-t)/(o-t)*100},fE=C.forwardRef((function(e,t){var o=function(e,t){var o=e.step,n=void 0===o?1:o,r=e.className,i=e.disabled,a=void 0!==i&&i,s=e.label,l=e.max,c=void 0===l?10:l,u=e.min,d=void 0===u?0:u,p=e.showValue,h=void 0===p||p,m=e.buttonProps,g=void 0===m?{}:m,v=e.vertical,b=void 0!==v&&v,y=e.snapToStep,_=e.valueFormat,S=e.styles,x=e.theme,k=e.originFromZero,w=e["aria-labelledby"],I=e.ariaLabel,D=void 0===I?e["aria-label"]:I,E=e.ranged,T=e.onChange,P=e.onChanged,R=C.useRef([]),M=Gf(),N=M.setTimeout,B=M.clearTimeout,A=C.useRef(null),F=Bc(),L=Om(e.value,e.defaultValue,(function(e,t){return null==T?void 0:T(t,E?[U.latestLowerValue,t]:void 0,e)})),H=L[0],O=L[1],z=Om(e.lowerValue,e.defaultLowerValue,(function(e,t){return null==T?void 0:T(U.latestValue,[t,U.latestValue],e)})),W=z[0],V=z[1],K=Math.max(d,Math.min(c,H||0)),G=Math.max(d,Math.min(K,W||0)),U=Pc({onKeyDownTimer:-1,isAdjustingLowerValue:!1,latestValue:K,latestLowerValue:G});U.latestValue=K,U.latestLowerValue=G;var j=yd("Slider",e.id||(null==g?void 0:g.id)),q=pE(S,{className:r,disabled:a,vertical:b,showTransitions:!y&&!U.isBetweenSteps,showValue:h,ranged:E,theme:x}),Y=(c-d)/n,Z=function(){B(U.onKeyDownTimer),U.onKeyDownTimer=-1},X=function(e){Z(),P&&(U.onKeyDownTimer=N((function(){P(e,U.latestValue,E?[U.latestLowerValue,U.latestValue]:void 0)}),1e3))},Q=function(t){var o=e.ariaValueText;if(void 0!==t)return o?o(t):t.toString()},J=function(e,t,o){t=Math.min(c,Math.max(d,t)),o=void 0!==o?Math.min(c,Math.max(d,o)):void 0;var r=0;if(isFinite(n))for(;Math.round(n*Math.pow(10,r))/Math.pow(10,r)!==n;)r++;var i=parseFloat(t.toFixed(r));U.isBetweenSteps=void 0!==o&&o!==i,E?U.isAdjustingLowerValue&&(k?i<=0:i<=U.latestValue)?V(i,e):!U.isAdjustingLowerValue&&(k?i>=0:i>=U.latestLowerValue)&&O(i,e):O(i,e)},$=function(e,t){var o=0;switch(e.type){case"mousedown":case"mousemove":o=t?e.clientY:e.clientX;break;case"touchstart":case"touchmove":o=t?e.touches[0].clientY:e.touches[0].clientX}return o},ee=function(t){var o,n=A.current.getBoundingClientRect(),r=(e.vertical?n.height:n.width)/Y;if(e.vertical){var i=$(t,e.vertical);o=(n.bottom-i)/r}else{var a=$(t,e.vertical);o=(pr(e.theme)?n.right-a:a-n.left)/r}return o},te=function(e,t){var o=ee(e),r=d+n*o,i=d+n*Math.round(o);J(e,i,r),t||(e.preventDefault(),e.stopPropagation())},oe=function(e){if(E){var t=ee(e),o=d+n*t;U.isAdjustingLowerValue=o<=U.latestLowerValue||o-U.latestLowerValue<=U.latestValue-o}"mousedown"===e.type?R.current.push(Ol(F,"mousemove",te,!0),Ol(F,"mouseup",ne,!0)):"touchstart"===e.type&&R.current.push(Ol(F,"touchmove",te,!0),Ol(F,"touchend",ne,!0)),te(e,!0)},ne=function(e){U.isBetweenSteps=void 0,null==P||P(e,U.latestValue,E?[U.latestLowerValue,U.latestValue]:void 0),re()},re=C.useCallback((function(){R.current.forEach((function(e){return e()})),R.current=[]}),[]);C.useEffect((function(){return re}),[re]);var ie=C.useRef(null),ae=C.useRef(null),se=C.useRef(null);!function(e,t,o,n){C.useImperativeHandle(e.componentRef,(function(){return{get value(){return o},get range(){return n},focus:function(){var e;null===(e=t.current)||void 0===e||e.focus()}}}),[n,t,o])}(e,se,K,E?[G,K]:void 0);var le=hE(b?"bottom":pr(e.theme)?"right":"left"),ce=hE(b?"height":"width"),ue=k?0:d,de=mE(K,d,c),pe=mE(G,d,c),he=mE(ue,d,c),me=E?de-pe:Math.abs(he-de),fe=Math.min(100-de,100-he),ge=E?pe:Math.min(de,he),ve={className:q.root,ref:t},be={className:q.titleLabel,children:s,disabled:a,htmlFor:D?void 0:j},ye=h?{className:q.valueLabel,children:_?_(K):K,disabled:a,htmlFor:a?j:void 0}:void 0,Ce=E&&h?{className:q.valueLabel,children:_?_(G):G,disabled:a}:void 0,_e=k?{className:q.zeroTick,style:le(he)}:void 0,Se={className:gi(q.lineContainer,q.activeSection),style:ce(me)},xe={className:gi(q.lineContainer,q.inactiveSection),style:ce(fe)},ke={className:gi(q.lineContainer,q.inactiveSection),style:ce(ge)},we=f({"aria-disabled":a,role:"slider",tabIndex:a?void 0:0},{"data-is-focusable":!a}),Ie=f(f(f({id:j,className:gi(q.slideBox,g.className),ref:se},!a&&{onMouseDown:oe,onTouchStart:oe,onKeyDown:function(t){var o=U.isAdjustingLowerValue?U.latestLowerValue:U.latestValue,r=0;switch(t.which){case mr(ur.left,e.theme):case ur.down:r=-n,Z(),X(t);break;case mr(ur.right,e.theme):case ur.up:r=n,Z(),X(t);break;case ur.home:o=d,Z(),X(t);break;case ur.end:o=c,Z(),X(t);break;default:return}J(t,o+r),t.preventDefault(),t.stopPropagation()}}),g&&Xr(g,Zr,["id","className"])),!E&&f(f({},we),{"aria-valuemin":d,"aria-valuemax":c,"aria-valuenow":K,"aria-valuetext":Q(K),"aria-label":D||s,"aria-labelledby":w})),De=a?{}:{onFocus:function(e){U.isAdjustingLowerValue=e.target===ie.current}},Ee=f({ref:ae,className:q.thumb,style:le(de)},E&&f(f(f({},we),De),{id:"max-".concat(j),"aria-valuemin":G,"aria-valuemax":c,"aria-valuenow":K,"aria-valuetext":Q(K),"aria-label":"max ".concat(D||s)})),Te=E?f(f(f({ref:ie,className:q.thumb,style:le(pe)},we),De),{id:"min-".concat(j),"aria-valuemin":d,"aria-valuemax":K,"aria-valuenow":G,"aria-valuetext":Q(G),"aria-label":"min ".concat(D||s)}):void 0;return{root:ve,label:be,sliderBox:Ie,container:{className:q.container},valueLabel:ye,lowerValueLabel:Ce,thumb:Ee,lowerValueThumb:Te,zeroTick:_e,activeTrack:Se,topInactiveTrack:xe,bottomInactiveTrack:ke,sliderLine:{ref:A,className:q.line}}}(e,t);return C.createElement("div",f({},o.root),o&&C.createElement(hf,f({},o.label)),C.createElement("div",f({},o.container),e.ranged&&(e.vertical?o.valueLabel&&C.createElement(hf,f({},o.valueLabel)):o.lowerValueLabel&&C.createElement(hf,f({},o.lowerValueLabel))),C.createElement("div",f({},o.sliderBox),C.createElement("div",f({},o.sliderLine),e.ranged&&C.createElement("span",f({},o.lowerValueThumb)),C.createElement("span",f({},o.thumb)),o.zeroTick&&C.createElement("span",f({},o.zeroTick)),C.createElement("span",f({},o.bottomInactiveTrack)),C.createElement("span",f({},o.activeTrack)),C.createElement("span",f({},o.topInactiveTrack)))),e.ranged&&e.vertical?o.lowerValueLabel&&C.createElement(hf,f({},o.lowerValueLabel)):o.valueLabel&&C.createElement(hf,f({},o.valueLabel))),C.createElement($s,null))}));fE.displayName="SliderBase";var gE,vE={root:"ms-Slider",enabled:"ms-Slider-enabled",disabled:"ms-Slider-disabled",row:"ms-Slider-row",column:"ms-Slider-column",container:"ms-Slider-container",slideBox:"ms-Slider-slideBox",line:"ms-Slider-line",thumb:"ms-Slider-thumb",activeSection:"ms-Slider-active",inactiveSection:"ms-Slider-inactive",valueLabel:"ms-Slider-value",showValue:"ms-Slider-showValue",showTransitions:"ms-Slider-showTransitions",zeroTick:"ms-Slider-zeroTick"},bE=lr(fE,(function(e){var t,o,n,r,i,a,s,l,c,u,d,p,h,m=e.className,f=e.titleLabelClassName,g=e.theme,v=e.vertical,y=e.disabled,C=e.showTransitions,_=e.showValue,S=e.ranged,x=g.semanticColors,k=g.palette,w=Ao(vE,g),I=x.inputBackgroundCheckedHovered,D=x.inputBackgroundChecked,E=k.neutralSecondaryAlt,T=k.neutralPrimary,P=k.neutralSecondaryAlt,R=x.disabledText,M=x.disabledBackground,N=x.inputBackground,B=x.smallInputBorder,A=x.disabledBorder,F=!y&&{backgroundColor:I,selectors:(t={},t[Fo]={backgroundColor:"Highlight"},t)},L=!y&&{backgroundColor:E,selectors:(o={},o[Fo]={borderColor:"Highlight"},o)},H=!y&&{backgroundColor:D,selectors:(n={},n[Fo]={backgroundColor:"Highlight"},n)},O=!y&&{border:"2px solid ".concat(I),selectors:(r={},r[Fo]={borderColor:"Highlight"},r)},z=!e.disabled&&{backgroundColor:x.inputPlaceholderBackgroundChecked,selectors:(i={},i[Fo]={backgroundColor:"Highlight"},i)};return{root:b(b(b(b(b([w.root,g.fonts.medium,{userSelect:"none"},v&&{marginRight:8}],[y?void 0:w.enabled],!1),[y?w.disabled:void 0],!1),[v?void 0:w.row],!1),[v?w.column:void 0],!1),[m],!1),titleLabel:[{padding:0},f],container:[w.container,{display:"flex",flexWrap:"nowrap",alignItems:"center"},v&&{flexDirection:"column",height:"100%",textAlign:"center",margin:"8px 0"}],slideBox:b(b([w.slideBox,!S&&sn(g),{background:"transparent",border:"none",flexGrow:1,lineHeight:28,display:"flex",alignItems:"center",selectors:(a={},a[":active .".concat(w.activeSection)]=F,a[":hover .".concat(w.activeSection)]=H,a[":active .".concat(w.inactiveSection)]=L,a[":hover .".concat(w.inactiveSection)]=L,a[":active .".concat(w.thumb)]=O,a[":hover .".concat(w.thumb)]=O,a[":active .".concat(w.zeroTick)]=z,a[":hover .".concat(w.zeroTick)]=z,a[Fo]={forcedColorAdjust:"none"},a)},v?{height:"100%",width:28,padding:"8px 0"}:{height:28,width:"auto",padding:"0 8px"}],[_?w.showValue:void 0],!1),[C?w.showTransitions:void 0],!1),thumb:[w.thumb,S&&sn(g,{inset:-4}),{borderWidth:2,borderStyle:"solid",borderColor:B,borderRadius:10,boxSizing:"border-box",background:N,display:"block",width:16,height:16,position:"absolute"},v?{left:-6,margin:"0 auto",transform:"translateY(8px)"}:{top:-6,transform:pr(g)?"translateX(50%)":"translateX(-50%)"},C&&{transition:"left ".concat(qe.durationValue3," ").concat(qe.easeFunction1)},y&&{borderColor:A,selectors:(s={},s[Fo]={borderColor:"GrayText"},s)}],line:[w.line,{display:"flex",position:"relative"},v?{height:"100%",width:4,margin:"0 auto",flexDirection:"column-reverse"}:{width:"100%"}],lineContainer:[{borderRadius:4,boxSizing:"border-box"},v?{width:4,height:"100%"}:{height:4,width:"100%"}],activeSection:[w.activeSection,{background:T,selectors:(l={},l[Fo]={backgroundColor:"WindowText"},l)},C&&{transition:"width ".concat(qe.durationValue3," ").concat(qe.easeFunction1)},y&&{background:R,selectors:(c={},c[Fo]={backgroundColor:"GrayText",borderColor:"GrayText"},c)}],inactiveSection:[w.inactiveSection,{background:P,selectors:(u={},u[Fo]={border:"1px solid WindowText"},u)},C&&{transition:"width ".concat(qe.durationValue3," ").concat(qe.easeFunction1)},y&&{background:M,selectors:(d={},d[Fo]={borderColor:"GrayText"},d)}],zeroTick:[w.zeroTick,{position:"absolute",background:x.disabledBorder,selectors:(p={},p[Fo]={backgroundColor:"WindowText"},p)},e.disabled&&{background:x.disabledBackground,selectors:(h={},h[Fo]={backgroundColor:"GrayText"},h)},e.vertical?{width:"16px",height:"1px",transform:pr(g)?"translateX(6px)":"translateX(-6px)"}:{width:"1px",height:"16px",transform:"translateY(-6px)"}],valueLabel:[w.valueLabel,{flexShrink:1,width:30,lineHeight:"1"},v?{margin:"0 auto",whiteSpace:"nowrap",width:40}:{margin:"0 8px",whiteSpace:"nowrap",width:40}]}}),void 0,{scope:"Slider"});!function(e){e[e.down=-1]="down",e[e.notSpinning=0]="notSpinning",e[e.up=1]="up"}(gE||(gE={}));var yE=Ro((function(e){var t,o=e.semanticColors,n=o.disabledText,r=o.disabledBackground;return{backgroundColor:r,pointerEvents:"none",cursor:"default",color:n,selectors:(t={":after":{borderColor:r}},t[Fo]={color:"GrayText"},t)}})),CE=Ro((function(e,t,o){var n,r,i,a=e.palette,s=e.semanticColors,l=e.effects,c=a.neutralSecondary,u=s.buttonText,d=s.buttonText,p=s.buttonBackgroundHovered,h=s.buttonBackgroundPressed;return Ln({root:{outline:"none",display:"block",height:"50%",width:23,padding:0,backgroundColor:"transparent",textAlign:"center",cursor:"default",color:c,selectors:{"&.ms-DownButton":{borderRadius:"0 0 ".concat(l.roundedCorner2," 0")},"&.ms-UpButton":{borderRadius:"0 ".concat(l.roundedCorner2," 0 0")}}},rootHovered:{backgroundColor:p,color:u},rootChecked:{backgroundColor:h,color:d,selectors:(n={},n[Fo]={backgroundColor:"Highlight",color:"HighlightText"},n)},rootPressed:{backgroundColor:h,color:d,selectors:(r={},r[Fo]={backgroundColor:"Highlight",color:"HighlightText"},r)},rootDisabled:{opacity:.5,selectors:(i={},i[Fo]={color:"GrayText",opacity:1},i)},icon:{fontSize:8,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}},{},o)})),_E=Cr(),SE={disabled:!1,label:"",step:1,labelPosition:Rl.start,incrementButtonIcon:{iconName:"ChevronUpSmall"},decrementButtonIcon:{iconName:"ChevronDownSmall"}},xE=function(){},kE=function(e,t){var o=t.min,n=t.max;return"number"==typeof n&&(e=Math.min(e,n)),"number"==typeof o&&(e=Math.max(e,o)),e},wE=C.forwardRef((function(e,t){var o=xr(SE,e),n=o.disabled,r=o.label,i=o.min,a=o.max,s=o.step,l=o.defaultValue,c=o.value,u=o.precision,d=o.labelPosition,p=o.iconProps,h=o.incrementButtonIcon,m=o.incrementButtonAriaLabel,g=o.decrementButtonIcon,v=o.decrementButtonAriaLabel,b=o.ariaLabel,y=o.ariaDescribedBy,_=o.upArrowButtonStyles,S=o.downArrowButtonStyles,x=o.theme,k=o.ariaPositionInSet,w=o.ariaSetSize,I=o.ariaValueNow,D=o.ariaValueText,E=o.className,T=o.inputProps,P=o.onDecrement,R=o.onIncrement,M=o.iconButtonProps,N=o.onValidate,B=o.onChange,A=o.styles,F=C.useRef(null),L=yd("input"),H=yd("Label"),O=C.useState(!1),z=O[0],W=O[1],V=C.useState(gE.notSpinning),K=V[0],G=V[1],U=Ic(),j=C.useMemo((function(){return null!=u?u:Math.max(Zk(s),0)}),[u,s]),q=Om(c,null!=l?l:String(i||0),B),Y=q[0],Z=q[1],X=C.useState(),Q=X[0],J=X[1],$=C.useRef({stepTimeoutHandle:-1,latestValue:void 0,latestIntermediateValue:void 0}).current;$.latestValue=Y,$.latestIntermediateValue=Q;var ee=rd(c);C.useEffect((function(){c!==ee&&void 0!==Q&&J(void 0)}),[c,ee,Q]);var te=_E(A,{theme:x,disabled:n,isFocused:z,keyboardSpinDirection:K,labelPosition:d,className:E}),oe=Xr(o,Zr,["onBlur","onFocus","className","onChange"]),ne=C.useCallback((function(e){var t=$.latestIntermediateValue;if(void 0!==t&&t!==$.latestValue){var o=void 0;N?o=N(t,e):t&&t.trim().length&&!isNaN(Number(t))&&(o=String(kE(Number(t),{min:i,max:a}))),void 0!==o&&o!==$.latestValue&&Z(o,e)}J(void 0)}),[$,a,i,N,Z]),re=C.useCallback((function(){$.stepTimeoutHandle>=0&&(U.clearTimeout($.stepTimeoutHandle),$.stepTimeoutHandle=-1),($.spinningByMouse||K!==gE.notSpinning)&&($.spinningByMouse=!1,G(gE.notSpinning))}),[$,K,U]),ie=C.useCallback((function(e,t){if(t.persist(),void 0!==$.latestIntermediateValue)return"keydown"!==t.type&&"mousedown"!==t.type||ne(t),void U.requestAnimationFrame((function(){ie(e,t)}));var o=e($.latestValue||"",t);void 0!==o&&o!==$.latestValue&&Z(o,t);var n=$.spinningByMouse;$.spinningByMouse="mousedown"===t.type,$.spinningByMouse&&($.stepTimeoutHandle=U.setTimeout((function(){ie(e,t)}),n?75:400))}),[$,U,ne,Z]),ae=C.useCallback((function(e){if(R)return R(e);var t=kE(Number(e)+Number(s),{max:a});return t=Xk(t,j),String(t)}),[j,a,R,s]),se=C.useCallback((function(e){if(P)return P(e);var t=kE(Number(e)-Number(s),{min:i});return t=Xk(t,j),String(t)}),[j,i,P,s]),le=C.useCallback((function(e){(n||e.which===ur.up||e.which===ur.down)&&re()}),[n,re]),ce=C.useCallback((function(e){ie(ae,e)}),[ae,ie]),ue=C.useCallback((function(e){ie(se,e)}),[se,ie]);!function(e,t,o){C.useImperativeHandle(e.componentRef,(function(){return{get value(){return o},focus:function(){t.current&&t.current.focus()}}}),[t,o])}(o,F,Y),IE(o);var de=!!Y&&!isNaN(Number(Y)),pe=(p||r)&&C.createElement("div",{className:te.labelWrapper},p&&C.createElement(Ei,f({},p,{className:te.icon,"aria-hidden":"true"})),r&&C.createElement(hf,{id:H,htmlFor:L,className:te.label,disabled:n},r));return C.createElement("div",{className:te.root,ref:t},d!==Rl.bottom&&pe,C.createElement("div",f({},oe,{className:te.spinButtonWrapper,"aria-label":b&&b,"aria-posinset":k,"aria-setsize":w,"data-ktp-target":!0}),C.createElement("input",f({value:null!=Q?Q:Y,id:L,onChange:xE,onInput:function(e){J(e.target.value)},className:te.input,type:"text",autoComplete:"off",role:"spinbutton","aria-labelledby":r&&H,"aria-valuetext":null!=D?D:de?void 0:Y,"aria-valuenow":I,"aria-valuemin":i,"aria-valuemax":a,"aria-describedby":y,onBlur:function(e){var t;ne(e),W(!1),null===(t=o.onBlur)||void 0===t||t.call(o,e)},ref:F,onFocus:function(e){var t;F.current&&(($.spinningByMouse||K!==gE.notSpinning)&&re(),F.current.select(),W(!0),null===(t=o.onFocus)||void 0===t||t.call(o,e))},onKeyDown:function(e){if(e.which!==ur.up&&e.which!==ur.down&&e.which!==ur.enter||(e.preventDefault(),e.stopPropagation()),n)re();else{var t=gE.notSpinning;switch(e.which){case ur.up:t=gE.up,ie(ae,e);break;case ur.down:t=gE.down,ie(se,e);break;case ur.enter:ne(e);break;case ur.escape:J(void 0)}K!==t&&G(t)}},onKeyUp:le,disabled:n,"aria-disabled":n,"data-lpignore":!0,"data-ktp-execute-target":!0},T)),C.createElement("span",{className:te.arrowButtonsContainer},C.createElement(yp,f({styles:CE(x,!0,_),className:"ms-UpButton",checked:K===gE.up,disabled:n,iconProps:h,onMouseDown:ce,onMouseLeave:re,onMouseUp:re,tabIndex:-1,ariaLabel:m,"data-is-focusable":!1},M)),C.createElement(yp,f({styles:CE(x,!1,S),className:"ms-DownButton",checked:K===gE.down,disabled:n,iconProps:g,onMouseDown:ue,onMouseLeave:re,onMouseUp:re,tabIndex:-1,ariaLabel:v,"data-is-focusable":!1},M)))),d===Rl.bottom&&pe)}));wE.displayName="SpinButton";var IE=function(e){},DE=lr(wE,(function(e){var t,o,n,r,i=e.theme,a=e.className,s=e.labelPosition,l=e.disabled,c=e.isFocused,u=i.palette,d=i.semanticColors,p=i.effects,h=i.fonts,m=d.inputBorder,g=d.inputBackground,v=d.inputBorderHovered,b=d.inputFocusBorderAlt,y=d.inputText,C=u.white,_=d.inputBackgroundChecked,S=d.disabledText;return{root:[h.medium,{outline:"none",width:"100%",minWidth:86},a],labelWrapper:[{display:"inline-flex",alignItems:"center"},s===Rl.start&&{height:32,float:"left",marginRight:10},s===Rl.end&&{height:32,float:"right",marginLeft:10},s===Rl.top&&{marginBottom:-1}],icon:[{padding:"0 5px",fontSize:rt.large},l&&{color:S}],label:{pointerEvents:"none",lineHeight:rt.large},spinButtonWrapper:[f(f({display:"flex",position:"relative",boxSizing:"border-box",height:32,minWidth:86},un(m,p.roundedCorner2,"border",0)),{":after":(t={borderWidth:"1px"},t[Fo]={borderColor:"GrayText"},t)}),(s===Rl.top||s===Rl.bottom)&&{width:"100%"},!l&&[{":hover:after":(o={borderColor:v},o[Fo]={borderColor:"Highlight"},o)},c&&{":hover:after, :after":(n={borderColor:b,borderWidth:"2px"},n[Fo]={borderColor:"Highlight"},n)}],l&&yE(i)],input:["ms-spinButton-input",{boxSizing:"border-box",boxShadow:"none",borderStyle:"none",flex:1,margin:0,fontSize:h.medium.fontSize,fontFamily:"inherit",color:y,backgroundColor:g,height:"100%",padding:"0 8px 0 9px",outline:0,display:"block",minWidth:61,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",cursor:"text",userSelect:"text",borderRadius:"".concat(p.roundedCorner2," 0 0 ").concat(p.roundedCorner2)},!l&&{selectors:{"::selection":{backgroundColor:_,color:C,selectors:(r={},r[Fo]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},r)}}},l&&yE(i)],arrowButtonsContainer:[{display:"block",height:"100%",cursor:"default"},l&&yE(i)]}}),void 0,{scope:"SpinButton"}),EE=f;function TE(e,t){for(var o=[],n=2;n0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return function(e,t,o,n,r,i){return void 0!==e.create?e.create(t,o,n,r):RE(e)(t,o,n,r,i)}(t[e],o,n[e],n.slots&&n.slots[e],n._defaultStyles&&n._defaultStyles[e],n.theme)};r.isSlot=!0,o[e]=r}};for(var i in t)r(i);return o}function NE(e,t){void 0===t&&(t={});var o=t.factoryOptions,n=(void 0===o?{}:o).defaultProp,r=function(o){var n,r,i,a=(n=t.displayName,r=C.useContext(ir),i=t.fields,Ot.getSettings(i||["theme","styles","tokens"],n,r.customizations)),s=t.state;s&&(o=f(f({},o),s(o)));var l=o.theme||a.theme,c=BE(o,l,t.tokens,a.tokens,o.tokens),u=function(e,t,o){for(var n=[],r=3;r2)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(2===o.length)return{rowGap:HE(LE(o[0],t)),columnGap:HE(LE(o[1],t))};var n=HE(LE(e,t));return{rowGap:n,columnGap:n}}(E,t),N=M.rowGap,B=M.columnGap,A="".concat(-.5*B.value).concat(B.unit),F="".concat(-.5*N.value).concat(N.unit),L={textOverflow:"ellipsis"},H="> "+(y?"."+WE.child:"*"),O=((n={})["".concat(H,":not(.").concat(AE.root,")")]={flexShrink:0},n);return I?{root:[D.root,{flexWrap:"wrap",maxWidth:P,maxHeight:T,width:"auto",overflow:"visible",height:"100%"},S&&(r={},r[_?"justifyContent":"alignItems"]=zE[S]||S,r),k&&(i={},i[_?"alignItems":"justifyContent"]=zE[k]||k,i),v,{display:"flex"},_&&{height:w?"100%":"auto"}],inner:[D.inner,(a={display:"flex",flexWrap:"wrap",marginLeft:A,marginRight:A,marginTop:F,marginBottom:F,overflow:"visible",boxSizing:"border-box",padding:OE(R,t),width:0===B.value?"100%":"calc(100% + ".concat(B.value).concat(B.unit,")"),maxWidth:"100vw"},a[H]=f({margin:"".concat(.5*N.value).concat(N.unit," ").concat(.5*B.value).concat(B.unit)},L),a),b&&O,S&&(s={},s[_?"justifyContent":"alignItems"]=zE[S]||S,s),k&&(l={},l[_?"alignItems":"justifyContent"]=zE[k]||k,l),_&&(c={flexDirection:x?"row-reverse":"row",height:0===N.value?"100%":"calc(100% + ".concat(N.value).concat(N.unit,")")},c[H]={maxWidth:0===B.value?"100%":"calc(100% - ".concat(B.value).concat(B.unit,")")},c),!_&&(u={flexDirection:x?"column-reverse":"column",height:"calc(100% + ".concat(N.value).concat(N.unit,")")},u[H]={maxHeight:0===N.value?"100%":"calc(100% - ".concat(N.value).concat(N.unit,")")},u)]}:{root:[D.root,(d={display:"flex",flexDirection:_?x?"row-reverse":"row":x?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:w?"100%":"auto",maxWidth:P,maxHeight:T,padding:OE(R,t),boxSizing:"border-box"},d[H]=L,d),b&&O,C&&{flexGrow:!0===C?1:C},S&&(p={},p[_?"justifyContent":"alignItems"]=zE[S]||S,p),k&&(h={},h[_?"alignItems":"justifyContent"]=zE[k]||k,h),_&&B.value>0&&(m={},m["".concat(H,x?":not(:last-child)":":not(:first-child)")]={marginLeft:"".concat(B.value).concat(B.unit)},m),!_&&N.value>0&&(g={},g["".concat(H,x?":not(:last-child)":":not(:first-child)")]={marginTop:"".concat(N.value).concat(N.unit)},g),v]}},statics:{Item:VE}});!function(e){e[e.Both=0]="Both",e[e.Header=1]="Header",e[e.Footer=2]="Footer"}(GE||(GE={}));var jE=function(e){function t(t){var o,n=e.call(this,t)||this;return n._root=C.createRef(),n._stickyContentTop=C.createRef(),n._stickyContentBottom=C.createRef(),n._nonStickyContent=C.createRef(),n._placeHolder=C.createRef(),n.syncScroll=function(e){var t=n.nonStickyContent;t&&n.props.isScrollSynced&&(t.scrollLeft=e.scrollLeft)},n._getContext=function(){return n.context},n._onScrollEvent=function(e,t){var o,r,i,a,s;if(n.root&&n.nonStickyContent){var l=n._getNonStickyDistanceFromTop(e),c=!1,u=!1,d=null===(r=null!==(o=n._getContext().window)&&void 0!==o?o:window)||void 0===r?void 0:r.document;if(n.canStickyTop){var p=l-n._getStickyDistanceFromTop(),h=e.scrollTop;s=1,c=(i=p)<(a=h)&&!function(e,t,o){var n=o<0?0:o;return Math.abs(e-t)<=n}(i,a,s)}n.canStickyBottom&&e.clientHeight-t.offsetHeight<=l&&(u=l-n._scrollUtils.getScrollTopInRange(e,1)>=n._getStickyDistanceFromTopForFooter(e,t)),(null==d?void 0:d.activeElement)&&n.nonStickyContent.contains(null==d?void 0:d.activeElement)&&(n.state.isStickyTop!==c||n.state.isStickyBottom!==u)?n._activeElement=null==d?void 0:d.activeElement:n._activeElement=void 0,n.setState({isStickyTop:n.canStickyTop&&c,isStickyBottom:u,distanceFromTop:l})}},n._getStickyDistanceFromTop=function(){var e=0;return n.stickyContentTop&&(e=n.stickyContentTop.offsetTop),e},n._getStickyDistanceFromTopForFooter=function(e,t){var o=0;return n.stickyContentBottom&&(o=e.clientHeight-t.offsetHeight+n.stickyContentBottom.offsetTop),o},n._getNonStickyDistanceFromTop=function(e){var t=0,o=n.root;if(o){for(;o&&o.offsetParent!==e;)t+=o.offsetTop,o=o.offsetParent;o&&o.offsetParent===e&&(t+=o.offsetTop)}return t},oa(n),n.state={isStickyTop:!1,isStickyBottom:!1,distanceFromTop:void 0},n._activeElement=void 0,n._scrollUtils=(o=new Map,{getScrollTopInRange:function(e,t){var n,r=e.scrollTop,i=null!==(n=o.get(e))&&void 0!==n?n:NaN;return i-t<=r&&i+t>=r?i:(o.set(e,r),r)}}),n}return m(t,e),Object.defineProperty(t.prototype,"root",{get:function(){return this._root.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this._placeHolder.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stickyContentTop",{get:function(){return this._stickyContentTop.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stickyContentBottom",{get:function(){return this._stickyContentBottom.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nonStickyContent",{get:function(){return this._nonStickyContent.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canStickyTop",{get:function(){return this.props.stickyPosition===GE.Both||this.props.stickyPosition===GE.Header},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canStickyBottom",{get:function(){return this.props.stickyPosition===GE.Both||this.props.stickyPosition===GE.Footer},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var e=this._getContext().scrollablePane;e&&(e.subscribe(this._onScrollEvent),e.addSticky(this))},t.prototype.componentWillUnmount=function(){var e=this._getContext().scrollablePane;e&&(e.unsubscribe(this._onScrollEvent),e.removeSticky(this))},t.prototype.componentDidUpdate=function(e,t){var o=this._getContext().scrollablePane;if(o){var n=this.state,r=n.isStickyBottom,i=n.isStickyTop,a=n.distanceFromTop,s=!1;t.distanceFromTop!==a&&(o.sortSticky(this,!0),s=!0),t.isStickyTop===i&&t.isStickyBottom===r||(this._activeElement&&this._activeElement.focus(),o.updateStickyRefHeights(),s=!0),s&&o.syncScrollSticky(this)}},t.prototype.shouldComponentUpdate=function(e,t){if(!this.context.scrollablePane)return!0;var o=this.state,n=o.isStickyTop,r=o.isStickyBottom,i=o.distanceFromTop;return n!==t.isStickyTop||r!==t.isStickyBottom||this.props.stickyPosition!==e.stickyPosition||this.props.children!==e.children||i!==t.distanceFromTop||qE(this._nonStickyContent,this._stickyContentTop)||qE(this._nonStickyContent,this._stickyContentBottom)||qE(this._nonStickyContent,this._placeHolder)},t.prototype.render=function(){var e=this.state,t=e.isStickyTop,o=e.isStickyBottom,n=this.props,r=n.stickyClassName,i=n.children;return this.context.scrollablePane?C.createElement("div",{ref:this._root},this.canStickyTop&&C.createElement("div",{ref:this._stickyContentTop,style:{pointerEvents:t?"auto":"none"}},C.createElement("div",{style:this._getStickyPlaceholderHeight(t)})),this.canStickyBottom&&C.createElement("div",{ref:this._stickyContentBottom,style:{pointerEvents:o?"auto":"none"}},C.createElement("div",{style:this._getStickyPlaceholderHeight(o)})),C.createElement("div",{style:this._getNonStickyPlaceholderHeightAndWidth(),ref:this._placeHolder},(t||o)&&C.createElement("span",{style:vo},i),C.createElement("div",{ref:this._nonStickyContent,className:t||o?r:void 0,style:this._getContentStyles(t||o)},i))):C.createElement("div",null,this.props.children)},t.prototype.addSticky=function(e){this.nonStickyContent&&e.appendChild(this.nonStickyContent)},t.prototype.resetSticky=function(){this.nonStickyContent&&this.placeholder&&this.placeholder.appendChild(this.nonStickyContent)},t.prototype.setDistanceFromTop=function(e){var t=this._getNonStickyDistanceFromTop(e);this.setState({distanceFromTop:t})},t.prototype._getContentStyles=function(e){return{backgroundColor:this.props.stickyBackgroundColor||this._getBackground(),overflow:e?"hidden":""}},t.prototype._getStickyPlaceholderHeight=function(e){var t=this.nonStickyContent?this.nonStickyContent.offsetHeight:0;return{visibility:e?"hidden":"visible",height:e?0:t}},t.prototype._getNonStickyPlaceholderHeightAndWidth=function(){var e=this.state,t=e.isStickyTop,o=e.isStickyBottom;if(t||o){var n=0,r=0;return this.nonStickyContent&&this.nonStickyContent.firstElementChild&&(n=this.nonStickyContent.offsetHeight,r=this.nonStickyContent.firstElementChild.scrollWidth+(this.nonStickyContent.firstElementChild.offsetWidth-this.nonStickyContent.firstElementChild.clientWidth)),{height:n,width:r}}return{}},t.prototype._getBackground=function(){var e;if(this.root){for(var t=this.root,o=null!==(e=this._getContext().window)&&void 0!==e?e:window;"rgba(0, 0, 0, 0)"===o.getComputedStyle(t).getPropertyValue("background-color")||"transparent"===o.getComputedStyle(t).getPropertyValue("background-color");){if("HTML"===t.tagName)return;t.parentElement&&(t=t.parentElement)}return o.getComputedStyle(t).getPropertyValue("background-color")}},t.defaultProps={stickyPosition:GE.Both,isScrollSynced:!0},t.contextType=tD,t}(C.Component);function qE(e,t){return e&&t&&e.current&&t.current&&e.current.offsetHeight!==t.current.offsetHeight}var YE=Cr(),ZE=Ro((function(e,t,o,n,r,i,a,s,l){var c=$p(e);return On({root:["ms-Button",c.root,o,t,a&&["is-checked",c.rootChecked],i&&["is-disabled",c.rootDisabled],!i&&!a&&{selectors:{":hover":c.rootHovered,":focus":c.rootFocused,":active":c.rootPressed}},i&&a&&[c.rootCheckedDisabled],!i&&a&&{selectors:{":hover":c.rootCheckedHovered,":active":c.rootCheckedPressed}}],flexContainer:["ms-Button-flexContainer",c.flexContainer]})})),XE=function(e){var t,o,n=e.item,r=e.idPrefix,i=void 0===r?e.id:r,a=e.isRadio,s=e.selected,l=void 0!==s&&s,c=e.disabled,u=void 0!==c&&c,d=e.styles,p=e.circle,h=void 0===p||p,m=e.color,g=e.onClick,v=e.onHover,b=e.onFocus,y=e.onMouseEnter,_=e.onMouseMove,S=e.onMouseLeave,x=e.onWheel,k=e.onKeyDown,w=e.height,I=e.width,D=e.borderWidth,E=YE(d,{theme:e.theme,disabled:u,selected:l,circle:h,isWhite:(t=m,o=Gg(t),"ffffff"===(null==o?void 0:o.hex)),height:w,width:I,borderWidth:D}),T=function(e){var t,o=E.svg;return C.createElement("svg",{className:o,role:"img","aria-label":e.label,viewBox:"0 0 20 20",fill:null===(t=Gg(e.color))||void 0===t?void 0:t.str},h?C.createElement("circle",{cx:"50%",cy:"50%",r:"50%"}):C.createElement("rect",{width:"100%",height:"100%"}))},P=a?{role:"radio","aria-checked":l,selected:void 0}:{role:"gridcell",selected:l};return C.createElement(Sh,f({item:n,id:"".concat(i,"-").concat(n.id,"-").concat(n.index),key:n.id,disabled:u},P,{onRenderItem:function(t){var o=e.onRenderColorCellContent;return(void 0===o?T:o)(t,T)},onClick:g,onHover:v,onFocus:b,label:n.label,className:E.colorCell,getClassNames:ZE,index:n.index,onMouseEnter:y,onMouseMove:_,onMouseLeave:S,onWheel:x,onKeyDown:k}))},QE={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"},JE=lr(XE,(function(e){var t,o,n,r,i,a,s=e.theme,l=e.disabled,c=e.selected,u=e.circle,d=e.isWhite,p=e.height,h=void 0===p?20:p,m=e.width,f=void 0===m?20:m,g=e.borderWidth,v=s.semanticColors,b=s.palette,y=b.neutralLighter,C=b.neutralLight,_=b.neutralSecondary,S=b.neutralTertiary,x=g||(f<24?2:4);return{colorCell:[sn(s,{inset:-1,position:"relative",highContrastStyle:QE}),{backgroundColor:v.bodyBackground,padding:0,position:"relative",boxSizing:"border-box",display:"inline-block",cursor:"pointer",userSelect:"none",borderRadius:0,border:"none",height:h,width:f,verticalAlign:"top","forced-color-adjust":"none"},!u&&{selectors:(t={},t[".".concat(on," &:focus::after, :host(.").concat(on,") &:focus::after")]={outlineOffset:"".concat(x-1,"px")},t)},u&&{borderRadius:"50%",selectors:(o={},o[".".concat(on," &:focus::after, :host(.").concat(on,") &:focus::after")]={outline:"none",borderColor:v.focusBorder,borderRadius:"50%",left:-x,right:-x,top:-x,bottom:-x,selectors:(n={},n[Fo]={outline:"1px solid ButtonText"},n)},o)},c&&{padding:2,border:"".concat(x,"px solid ").concat(C),selectors:(r={},r["&:hover::before"]={content:'""',height:h,width:f,position:"absolute",top:-x,left:-x,borderRadius:u?"50%":"default",boxShadow:"inset 0 0 0 1px ".concat(_)},r)},!c&&{selectors:(i={},i["&:hover, &:active, &:focus"]={backgroundColor:v.bodyBackground,padding:2,border:"".concat(x,"px solid ").concat(y)},i["&:focus"]={borderColor:v.bodyBackground,padding:0,selectors:{":hover":{borderColor:s.palette.neutralLight,padding:2}}},i)},l&&{color:v.disabledBodyText,pointerEvents:"none",opacity:.3},d&&!c&&{backgroundColor:S,padding:1,selectors:(a={},a[Fo]={outline:"1px solid ButtonText"},a)}],svg:[{width:"100%",height:"100%"},u&&{borderRadius:"50%"}]}}),void 0,{scope:"ColorPickerGridCell"},!0),$E=Cr(),eT=C.forwardRef((function(e,t){var o=yd("swatchColorPicker"),n=e.id||o,r=Nc(),i=Pc({isNavigationIdle:!0,cellFocused:!1,navigationIdleTimeoutId:void 0,navigationIdleDelay:250}),a=Gf(),s=a.setTimeout,l=a.clearTimeout,c=e.colorCells,u=e.cellShape,d=void 0===u?"circle":u,p=e.columnCount,h=e.shouldFocusCircularNavigate,m=void 0===h||h,g=e.className,v=e.disabled,b=void 0!==v&&v,y=e.doNotContainWithinFocusZone,_=e.styles,S=e.cellMargin,x=void 0===S?10:S,k=e.defaultSelectedId,w=e.focusOnHover,I=e.mouseLeaveParentSelector,D=e.onChange,E=e.onColorChanged,T=e.onCellHovered,P=e.onCellFocused,R=e.getColorGridCellStyles,M=e.cellHeight,N=e.cellWidth,B=e.cellBorderWidth,A=e.onRenderColorCellContent,F=C.useMemo((function(){return c.map((function(e,t){return f(f({},e),{index:t})}))}),[c]),L=C.useCallback((function(e,t){var o,n=null===(o=c.filter((function(e){return e.id===t}))[0])||void 0===o?void 0:o.color;null==D||D(e,t,n),null==E||E(t,n)}),[D,E,c]),H=Om(e.selectedId,k,L),O=H[0],z=H[1],W=$E(_,{theme:e.theme,className:g,cellMargin:x}),V={root:W.root,tableCell:W.tableCell,focusedContainer:W.focusedContainer},K=c.length<=p,G=C.useCallback((function(e){P&&(i.cellFocused=!1,P(void 0,void 0,e))}),[i,P]),U=C.useCallback((function(e){return w?(i.isNavigationIdle&&!b&&e.currentTarget.focus(),!0):!i.isNavigationIdle||!!b}),[w,i,b]),j=C.useCallback((function(e){if(!w)return!i.isNavigationIdle||!!b;var t=e.currentTarget;return!i.isNavigationIdle||r&&t===r.activeElement||t.focus(),!0}),[w,i,b,r]),q=C.useCallback((function(e){var t,o=I;if(w&&o&&i.isNavigationIdle&&!b)for(var n=null!==(t=null==r?void 0:r.querySelectorAll(o))&&void 0!==t?t:[],a=0;a0&&(r=t[0].displayIndex-1);for(var i=0,a=t;ir&&(r=s.displayIndex)):o&&(l=o),n=n.slice(0,s.displayIndex)+l+n.slice(s.displayIndex+1)}return o||(n=n.slice(0,r+1)),n}function _T(e,t){for(var o=0;o=t)return e[o].displayIndex;return e[e.length-1].displayIndex}function ST(e,t,o){for(var n=0;n=t){if(e[n].displayIndex>=t+o)break;e[n].value=void 0}return e}function xT(e,t,o){for(var n=0,r=0,i=!1,a=0;a=t)for(i=!0,r=e[a].displayIndex;n=t){e[o].value=void 0;break}return e}(b.maskCharData,a),n=_T(b.maskCharData,a)):(b.maskCharData=function(e,t){for(var o=e.length-1;o>=0;o--)if(e[o].displayIndex=0;o--)if(e[o].displayIndexk.length){p=s-(u=t.length-k.length);var g=t.substr(p,u);n=xT(b.maskCharData,p,g)}else if(t.length<=k.length){u=1;var v=k.length+u-t.length;p=s-u,g=t.substr(p,u),b.maskCharData=ST(b.maskCharData,p,v),n=xT(b.maskCharData,p,g)}b.changeSelectionData=null;var y=CT(d,b.maskCharData,h);w(y),S(n),null==l||l(e,y)}}),[k.length,b,d,h,l]),M=C.useCallback((function(e){if(null==u||u(e),b.changeSelectionData=null,o.current&&o.current.value){var t=e.keyCode,n=e.ctrlKey,r=e.metaKey;if(n||r)return;if(t===ur.backspace||t===ur.del){var i=e.target.selectionStart,a=e.target.selectionEnd;if(!(t===ur.backspace&&a&&a>0||t===ur.del&&null!==i&&ic||t.getHours()===c&&t.getMinutes()>u?Ih.HoursInOneDay-t.getHours()+c:Math.abs(t.getHours()-c);var p=Ih.MillisecondsIn1Sec*Ih.MinutesInOneHour*n*Ih.SecondsInOneMinute+d*Ih.MillisecondsIn1Sec,h=new Date(t.getTime()+p);return h.setMinutes(u),h.setSeconds(d),h},MT=function(e,t,o){var n=e.toLocaleTimeString([],{hour:"numeric",minute:"2-digit",second:t?"2-digit":void 0,hour12:o});return o||"24"!==n.slice(0,2)||(n="00"+n.slice(2)),n},NT=/^((1[0-2]|0?[1-9]):([0-5][0-9]):([0-5][0-9])\s([AaPp][Mm]))$/,BT=/^((1[0-2]|0?[1-9]):[0-5][0-9]\s([AaPp][Mm]))$/,AT=/^([0-1]?[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$/,FT=/^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$/,LT=function(e){var t=e.label,o=e.increments,n=void 0===o?30:o,r=e.showSeconds,i=void 0!==r&&r,a=e.allowFreeform,s=void 0===a||a,l=e.useHour12,c=void 0!==l&&l,u=e.timeRange,d=e.strings,p=void 0===d?function(e,t){var o=e?"12-hour":"24-hour",n="hh:mm".concat(t?":ss":"").concat(e?" AP":"");return{invalidInputErrorMessage:"Enter a valid time in the ".concat(o," format: ").concat(n),timeOutOfBoundsErrorMessage:"Please enter a time within the range of {0} and {1}"}}(c,i):d,h=e.defaultValue,m=e.value,v=e.dateAnchor,b=e.onChange,y=e.onFormatDate,_=e.onValidateUserInput,S=e.onValidationResult,x=g(e,["label","increments","showSeconds","allowFreeform","useHour12","timeRange","strings","defaultValue","value","dateAnchor","onChange","onFormatDate","onValidateUserInput","onValidationResult"]),k=C.useState(""),w=k[0],I=k[1],D=C.useState(),E=D[0],T=D[1],P=C.useState(""),R=P[0],M=P[1],N=Pc(new Date),B=Om(m,h),A=B[0],F=B[1],L=zT(n,u),H=v||m||h||N,O=C.useMemo((function(){return HT(H,"start",n,u)}),[H,n,u]),z=C.useMemo((function(){return HT(H,"end",n,u)}),[H,n,u]),W=C.useMemo((function(){for(var e=Array(L),t=0;tz)&&(t=Qh(p.timeOutOfBoundsErrorMessage,O.toString(),z.toString()))}}else t=p.invalidInputErrorMessage;return t}(n)),S&&R!==a&&S(e,{errorMessage:a}),a||void 0!==n&&!n.length){var l=n||(null==t?void 0:t.text)||"";I(l),F(a?new Date("invalid"):void 0),r=new Date("invalid")}else{var d=void 0;(null==t?void 0:t.data)instanceof Date?d=t.data:(l=(null==t?void 0:t.key)||n||"",d=RT(c,O,l)),F(d),r=d}null==b||b(e,r),M(a)}),[u,O,z,s,y,_,i,c,p.invalidInputErrorMessage,p.timeOutOfBoundsErrorMessage,F,S,b,R]);return C.createElement(Vv,f({},x,{allowFreeform:s,selectedKey:E,label:t,errorMessage:R,options:W,onChange:V,text:w,onKeyPress:function(e){var t=e.charCode;y||t>=ur.zero&&t<=ur.colon||t===ur.space||t===ur.a||t===ur.m||t===ur.p||e.preventDefault()},useComboBoxAsMenuWidth:!0}))};LT.displayName="TimePicker";var HT=function(e,t,o,n){var r=new Date(e.getTime());if(n){var i=OT(n),a="start"===t?i.start:i.end;r.getHours()!==a&&r.setHours(a)}else"end"===t&&r.setDate(r.getDate()+1);return r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),function(e,t){var o=new Date(e.getTime()),n=o.getMinutes();if(Ih.MinutesInOneHour%t)o.setMinutes(0);else{for(var r=Ih.MinutesInOneHour/t,i=1;i<=r;i++)if(n>t*(i-1)&&n<=t*i){n=t*i;break}o.setMinutes(n)}return o}(r,o)},OT=function(e){return{start:Math.min(Math.max(e.start,0),23),end:Math.min(Math.max(e.end,0),23)}},zT=function(e,t){var o=function(e){var t=Ih.HoursInOneDay;if(e){var o=OT(e);o.start>o.end?t=Ih.HoursInOneDay-e.start-e.end:e.end>e.start&&(t=e.end-e.start)}return t}(t);return Math.floor(Ih.MinutesInOneHour*o/e)},WT=Cr(),VT="Toggle",KT=C.forwardRef((function(e,t){var o=e.as,n=void 0===o?"div":o,r=e.ariaLabel,i=e.checked,a=e.className,s=e.defaultChecked,l=void 0!==s&&s,c=e.disabled,u=e.inlineLabel,d=e.label,p=e.offAriaLabel,h=e.offText,m=e.onAriaLabel,g=e.onChange,v=e.onChanged,b=e.onClick,y=e.onText,_=e.role,S=e.styles,x=e.theme,k=Om(i,l,C.useCallback((function(e,t){null==g||g(e,t),null==v||v(t)}),[g,v])),w=k[0],I=k[1],D=WT(S,{theme:x,className:a,disabled:c,checked:w,inlineLabel:u,onOffMissing:!y&&!h}),E=w?m:p,T=yd(VT,e.id),P="".concat(T,"-label"),R="".concat(T,"-stateText"),M=w?y:h,N=Xr(e,Ar,["defaultChecked"]),B=void 0;r||E||(d&&(B=P),M&&!B&&(B=R));var A=C.useRef(null);Js(A),GT(e,w,A);var F={root:{className:D.root,hidden:N.hidden},label:{children:d,className:D.label,htmlFor:T,id:P},container:{className:D.container},pill:f(f({},N),{"aria-disabled":c,"aria-checked":w,"aria-label":r||E,"aria-labelledby":B,className:D.pill,"data-is-focusable":!0,"data-ktp-target":!0,disabled:c,id:T,onClick:function(e){c||(I(!w,e),b&&b(e))},ref:A,role:_||"switch",type:"button"}),thumb:{className:D.thumb},stateText:{children:M,className:D.text,htmlFor:T,id:R}};return C.createElement(n,f({ref:t},F.root),d&&C.createElement(hf,f({},F.label)),C.createElement("div",f({},F.container),C.createElement("button",f({},F.pill),C.createElement("span",f({},F.thumb))),(w&&y||h)&&C.createElement(hf,f({},F.stateText))))}));KT.displayName=VT+"Base";var GT=function(e,t,o){C.useImperativeHandle(e.componentRef,(function(){return{get checked(){return!!t},focus:function(){o.current&&o.current.focus()}}}),[t,o])},UT=lr(KT,(function(e){var t,o,n,r,i,a,s,l=e.theme,c=e.className,u=e.disabled,d=e.checked,p=e.inlineLabel,h=e.onOffMissing,m=l.semanticColors,g=l.palette,v=m.bodyBackground,b=m.inputBackgroundChecked,y=m.inputBackgroundCheckedHovered,C=g.neutralDark,_=m.disabledBodySubtext,S=m.smallInputBorder,x=m.inputForegroundChecked,k=m.disabledBodySubtext,w=m.disabledBackground,I=m.smallInputBorder,D=m.inputBorderHovered,E=m.disabledBodySubtext,T=m.disabledText;return{root:["ms-Toggle",d&&"is-checked",!u&&"is-enabled",u&&"is-disabled",l.fonts.medium,{marginBottom:"8px"},p&&{display:"flex",alignItems:"center"},c],label:["ms-Toggle-label",{display:"inline-block"},u&&{color:T,selectors:(t={},t[Fo]={color:"GrayText"},t)},p&&!h&&{marginRight:16},h&&p&&{order:1,marginLeft:16},p&&{wordBreak:"break-word"}],container:["ms-Toggle-innerContainer",{display:"flex",position:"relative"}],pill:["ms-Toggle-background",sn(l,{inset:-3}),{fontSize:"20px",boxSizing:"border-box",width:40,height:20,borderRadius:10,transition:"all 0.1s ease",border:"1px solid ".concat(I),background:v,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 3px",overflow:"visible"},!u&&[!d&&{selectors:{":hover":[{borderColor:D}],":hover .ms-Toggle-thumb":[{backgroundColor:C,selectors:(o={},o[Fo]={borderColor:"Highlight"},o)}]}},d&&[{background:b,borderColor:"transparent",justifyContent:"flex-end"},{selectors:(n={":hover":[{backgroundColor:y,borderColor:"transparent",selectors:(r={},r[Fo]={backgroundColor:"Highlight"},r)}]},n[Fo]=f({backgroundColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)}]],u&&[{cursor:"default"},!d&&[{borderColor:E}],d&&[{backgroundColor:_,borderColor:"transparent",justifyContent:"flex-end"}]],!u&&{selectors:{"&:hover":{selectors:(i={},i[Fo]={borderColor:"Highlight"},i)}}}],thumb:["ms-Toggle-thumb",{display:"block",width:12,height:12,borderRadius:"50%",transition:"all 0.1s ease",backgroundColor:S,borderColor:"transparent",borderWidth:6,borderStyle:"solid",boxSizing:"border-box"},!u&&d&&[{backgroundColor:x,selectors:(a={},a[Fo]={backgroundColor:"Window",borderColor:"Window"},a)}],u&&[!d&&[{backgroundColor:k}],d&&[{backgroundColor:w}]]],text:["ms-Toggle-stateText",{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none",fontWeight:nt.regular}}},u&&{selectors:{"&&":{color:T,selectors:(s={},s[Fo]={color:"GrayText"},s)}}}]}}),void 0,{scope:"Toggle"}),jT=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()},qT=function(){function e(){}return e.measure=function(t,o){e._timeoutId&&e.setPeriodicReset();var n=jT();o();var r=jT(),i=e.summary[t]||{totalDuration:0,count:0,all:[]},a=r-n;i.totalDuration+=a,i.count++,i.all.push({duration:a,timeStamp:r}),e.summary[t]=i},e.reset=function(){e.summary={},clearTimeout(e._timeoutId),e._timeoutId=NaN},e.setPeriodicReset=function(){e._timeoutId=setTimeout((function(){return e.reset()}),18e4)},e.summary={},e}(),YT="undefined"!=typeof WeakMap?new WeakMap:void 0;function ZT(e){var t=function(t){function o(){var o=null!==t&&t.apply(this,arguments)||this;return o.state={Component:YT?YT.get(e.load):void 0},o}return m(o,t),o.prototype.render=function(){var e=this.props,t=e.forwardedRef,o=e.asyncPlaceholder,n=g(e,["forwardedRef","asyncPlaceholder"]),r=this.state.Component;return r?C.createElement(r,f(f({},n),{ref:t})):o?C.createElement(o,null):null},o.prototype.componentDidMount=function(){var t=this;this.state.Component||e.load().then((function(o){o&&(YT&&YT.set(e.load,o),t.setState({Component:o},e.onLoad))})).catch(e.onError)},o}(C.Component);return C.forwardRef((function(e,o){return C.createElement(t,f({},e,{forwardedRef:o}))}))}function XT(e){throw new Error("Unexpected object: "+e)}var QT="";function JT(e){return QT+e}function $T(e){QT=e}function eP(e){var t,o=e||gt();o&&!0!==(null===(t=o.FabricConfig)||void 0===t?void 0:t.disableFocusRects)&&(o.__hasInitializeFocusRects__||(o.__hasInitializeFocusRects__=!0,o.addEventListener("mousedown",tP,!0),o.addEventListener("pointerdown",oP,!0),o.addEventListener("keydown",nP,!0)))}function tP(e){an(!1,e.target)}function oP(e){"mouse"!==e.pointerType&&an(!1,e.target)}function nP(e){Gs(e.which)&&an(!0,e.target)}var rP="undefined"!=typeof document&&Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,iP=!1;if(rP)try{document.adoptedStyleSheets.push(),iP=!0}catch(e){iP=!1}var aP,sP=iP,lP={};try{lP=window||{}}catch(z){}var cP=function(e){function t(o,n){var r=e.call(this,o,n)||this;return r._onAddSheetCallbacks=[],r._sheetCounter=0,r._adoptableSheets=new Map,lP[S]=t,r}return m(t,e),t.getInstance=function(e){var o=e||x,n=o.stylesheetKey||_,r=o.inShadow,i=o.window||("undefined"!=typeof window?window:void 0),a=i||lP,s=i?i.document:"undefined"!=typeof document?document:void 0,l=(aP=a[M])&&!aP.getAdoptedSheets;if(!aP||l||aP._lastStyleElement&&aP._lastStyleElement.ownerDocument!==s){var c=(null==a?void 0:a.FabricConfig)||{},u={window:i,inShadow:r,stylesheetKey:n};c.mergeStyles=c.mergeStyles||{},c.mergeStyles=f(f({},u),c.mergeStyles);var d=void 0;l?function(e,t,o,n){var r;if(void 0===t&&(t=!1),n){var i=n.querySelectorAll("[data-merge-styles]");if(i){e.setConfig({window:o,inShadow:t,stylesheetKey:_});for(var a=0;a=0&&!h;){var m=d[--p],f=null!==(a=null===(i=m.metadata)||void 0===i?void 0:i.sortOrder)&&void 0!==a?a:0,g=null!==(l=null===(s=n.metadata)||void 0===s?void 0:s.sortOrder)&&void 0!==l?l:0;"merge-styles"===m.bucketName&&f0?u.insertBefore(v,y[y.length-1].nextSibling):u.insertBefore(v,u.firstChild),v.sheet&&(function(e,t){for(var o=0;o