Outlook_Addin_LLM/node_modules/@fluentui/react/dist/fluentui-react.min.js

1 line
990 KiB
JavaScript

var FluentUIReact;!function(){"use strict";var e={d:function(t,o){for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})}};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};e.r(t),e.d(t,{ActionButton:function(){return Xp},ActivityItem:function(){return Yi},AnimationClassNames:function(){return tt},AnimationDirection:function(){return hh},AnimationStyles:function(){return Ge},AnimationVariables:function(){return Ke},Announced:function(){return fa},AnnouncedBase:function(){return ma},Async:function(){return na},AutoScroll:function(){return Vk},Autofill:function(){return ca},BaseButton:function(){return op},BaseComponent:function(){return fl},BaseExtendedPeoplePicker:function(){return DS},BaseExtendedPicker:function(){return IS},BaseFloatingPeoplePicker:function(){return bx},BaseFloatingPicker:function(){return vx},BasePeoplePicker:function(){return oI},BasePeopleSelectedItemsList:function(){return DD},BasePicker:function(){return zw},BasePickerListBelow:function(){return Ww},BaseSelectedItemsList:function(){return cD},BaseSlots:function(){return CT},Breadcrumb:function(){return Yp},BreadcrumbBase:function(){return zp},Button:function(){return rh},ButtonGlobalClassNames:function(){return $d},ButtonGrid:function(){return ph},ButtonGridCell:function(){return bh},ButtonType:function(){return Kp},CHECK_CELL_WIDTH:function(){return Vb},COACHMARK_ATTRIBUTE_NAME:function(){return Vf},Calendar:function(){return Wm},Callout:function(){return wu},CalloutContent:function(){return Kc},CalloutContentBase:function(){return Hc},Check:function(){return Jm},CheckBase:function(){return Xm},Checkbox:function(){return af},CheckboxBase:function(){return ef},CheckboxVisibility:function(){return Db},ChoiceGroup:function(){return If},ChoiceGroupBase:function(){return xf},ChoiceGroupOption:function(){return bf},Coachmark:function(){return jf},CoachmarkBase:function(){return Gf},CollapseAllVisibility:function(){return Eb},ColorClassNames:function(){return co},ColorPicker:function(){return wv},ColorPickerBase:function(){return bv},ColorPickerGridCell:function(){return YE},ColorPickerGridCellBase:function(){return jE},ColumnActionsMode:function(){return xb},ColumnDragEndLocation:function(){return wb},ComboBox:function(){return Hv},CommandBar:function(){return vb},CommandBarBase:function(){return gb},CommandBarButton:function(){return ah},CommandButton:function(){return sh},CommunicationColors:function(){return RP},CompactPeoplePicker:function(){return cI},CompactPeoplePickerBase:function(){return iI},CompoundButton:function(){return oh},ConstrainMode:function(){return kb},ContextualMenu:function(){return Jd},ContextualMenuBase:function(){return Vd},ContextualMenuItem:function(){return Gu},ContextualMenuItemBase:function(){return Nu},ContextualMenuItemType:function(){return yl},Customizations:function(){return At},Customizer:function(){return Zc},CustomizerContext:function(){return tr},DATAKTP_ARIA_TARGET:function(){return Qu},DATAKTP_EXECUTE_TARGET:function(){return Xu},DATAKTP_TARGET:function(){return Zu},DATA_IS_SCROLLABLE_ATTRIBUTE:function(){return us},DATA_PORTAL_ATTRIBUTE:function(){return bs},DAYS_IN_WEEK:function(){return yh},DEFAULT_CELL_STYLE_PROPS:function(){return Mb},DEFAULT_MASK_CHAR:function(){return xT},DEFAULT_ROW_HEIGHTS:function(){return Nb},DatePicker:function(){return Pb},DatePickerBase:function(){return _b},DateRangeType:function(){return vh},DayOfWeek:function(){return mh},DefaultButton:function(){return eh},DefaultEffects:function(){return qt},DefaultFontStyles:function(){return bt},DefaultPalette:function(){return xt},DefaultSpacing:function(){return $t},DelayedRender:function(){return pa},Depths:function(){return Pt},DetailsColumn:function(){return Zb},DetailsColumnBase:function(){return jb},DetailsHeader:function(){return fy},DetailsHeaderBase:function(){return uy},DetailsList:function(){return yC},DetailsListBase:function(){return hC},DetailsListLayoutMode:function(){return Ib},DetailsRow:function(){return Sy},DetailsRowBase:function(){return Cy},DetailsRowCheck:function(){return ay},DetailsRowFields:function(){return gy},DetailsRowGlobalClassNames:function(){return Rb},Dialog:function(){return QC},DialogBase:function(){return ZC},DialogContent:function(){return GC},DialogContentBase:function(){return VC},DialogFooter:function(){return OC},DialogFooterBase:function(){return LC},DialogType:function(){return gC},DirectionalHint:function(){return Sl},DocumentCard:function(){return s_},DocumentCardActions:function(){return d_},DocumentCardActivity:function(){return m_},DocumentCardDetails:function(){return b_},DocumentCardImage:function(){return x_},DocumentCardLocation:function(){return I_},DocumentCardLogo:function(){return P_},DocumentCardPreview:function(){return N_},DocumentCardStatus:function(){return L_},DocumentCardTitle:function(){return z_},DocumentCardType:function(){return UC},DragDropHelper:function(){return sy},Dropdown:function(){return _S},DropdownBase:function(){return cS},DropdownMenuItemType:function(){return Sv},EdgeChromiumHighContrastSelector:function(){return Ao},ElementType:function(){return Vp},EventGroup:function(){return dl},ExpandingCard:function(){return Wx},ExpandingCardBase:function(){return zx},ExpandingCardMode:function(){return Bx},ExtendedPeoplePicker:function(){return ES},ExtendedSelectedItem:function(){return SD},Fabric:function(){return tu},FabricBase:function(){return Jc},FabricPerformance:function(){return KT},FabricSlots:function(){return _T},Facepile:function(){return OS},FacepileBase:function(){return LS},FirstWeekOfYear:function(){return gh},FloatingPeoplePicker:function(){return yx},FluentTheme:function(){return zP},FocusRects:function(){return Zs},FocusRectsContext:function(){return qs},FocusRectsProvider:function(){return qc},FocusTrapCallout:function(){return Ym},FocusTrapZone:function(){return qm},FocusZone:function(){return Hs},FocusZoneDirection:function(){return da},FocusZoneTabbableElements:function(){return ga},FontClassNames:function(){return St},FontIcon:function(){return Ci},FontSizes:function(){return Je},FontWeights:function(){return $e},GetGroupCount:function(){return sC},GlobalSettings:function(){return Dt},GroupFooter:function(){return Xy},GroupHeader:function(){return Gy},GroupShowAll:function(){return qy},GroupSpacer:function(){return Fb},GroupedList:function(){return oC},GroupedListBase:function(){return tC},GroupedListSection:function(){return Qy},GroupedListV2_unstable:function(){return Nx},HEADER_HEIGHT:function(){return Hb},HEX_REGEX:function(){return ng},HighContrastSelector:function(){return Mo},HighContrastSelectorBlack:function(){return Bo},HighContrastSelectorWhite:function(){return No},HoverCard:function(){return Zx},HoverCardBase:function(){return Yx},HoverCardType:function(){return Lx},Icon:function(){return ki},IconBase:function(){return xi},IconButton:function(){return fp},IconFontSizes:function(){return et},IconType:function(){return qr},Image:function(){return ci},ImageBase:function(){return si},ImageCoverStyle:function(){return Zr},ImageFit:function(){return Yr},ImageIcon:function(){return _l},ImageLoadState:function(){return Xr},InjectionMode:function(){return D},IsFocusVisibleClassName:function(){return Jo},KTP_ARIA_SEPARATOR:function(){return $u},KTP_FULL_PREFIX:function(){return Yu},KTP_LAYER_ID:function(){return Ju},KTP_PREFIX:function(){return ju},KTP_SEPARATOR:function(){return qu},KeyCodes:function(){return ar},KeyboardSpinDirection:function(){return pE},Keytip:function(){return kk},KeytipData:function(){return ld},KeytipEvents:function(){return Iu},KeytipLayer:function(){return Bk},KeytipLayerBase:function(){return Nk},KeytipManager:function(){return td},Label:function(){return cf},LabelBase:function(){return lf},Layer:function(){return ku},LayerBase:function(){return Cu},LayerHost:function(){return zk},Link:function(){return rl},LinkBase:function(){return ol},List:function(){return nb},ListPeoplePicker:function(){return uI},ListPeoplePickerBase:function(){return aI},LocalizedFontFamilies:function(){return Qe},LocalizedFontNames:function(){return Xe},MAX_COLOR_ALPHA:function(){return Jf},MAX_COLOR_HUE:function(){return Yf},MAX_COLOR_RGB:function(){return Xf},MAX_COLOR_RGBA:function(){return Qf},MAX_COLOR_SATURATION:function(){return qf},MAX_COLOR_VALUE:function(){return Zf},MAX_HEX_LENGTH:function(){return eg},MAX_RGBA_LENGTH:function(){return og},MIN_HEX_LENGTH:function(){return $f},MIN_RGBA_LENGTH:function(){return tg},MarqueeSelection:function(){return Qk},MaskedTextField:function(){return kT},MeasuredContext:function(){return bp},MemberListPeoplePicker:function(){return nI},MergeStylesRootProvider:function(){return hP},MergeStylesShadowRootProvider:function(){return xs},MessageBar:function(){return hw},MessageBarBase:function(){return aw},MessageBarButton:function(){return ch},MessageBarType:function(){return qk},Modal:function(){return AC},ModalBase:function(){return BC},MonthOfYear:function(){return fh},MotionAnimations:function(){return OP},MotionDurations:function(){return LP},MotionTimings:function(){return HP},Nav:function(){return Cw},NavBase:function(){return yw},NeutralColors:function(){return MP},NormalPeoplePicker:function(){return lI},NormalPeoplePickerBase:function(){return rI},OpenCardMode:function(){return Fx},OverflowButtonType:function(){return SS},OverflowSet:function(){return pb},OverflowSetBase:function(){return ub},Overlay:function(){return wC},OverlayBase:function(){return xC},Panel:function(){return aS},PanelBase:function(){return X_},PanelType:function(){return JC},PeoplePickerItem:function(){return Yw},PeoplePickerItemBase:function(){return qw},PeoplePickerItemSuggestion:function(){return $w},PeoplePickerItemSuggestionBase:function(){return Jw},Persona:function(){return AS},PersonaBase:function(){return NS},PersonaCoin:function(){return qi},PersonaCoinBase:function(){return Ki},PersonaInitialsColor:function(){return fi},PersonaPresence:function(){return mi},PersonaSize:function(){return hi},Pivot:function(){return BI},PivotBase:function(){return TI},PivotItem:function(){return wI},PivotLinkFormat:function(){return PI},PivotLinkSize:function(){return RI},PlainCard:function(){return jx},PlainCardBase:function(){return Ux},Popup:function(){return wc},Position:function(){return Dl},PositioningContainer:function(){return Mf},PrimaryButton:function(){return nh},ProgressIndicator:function(){return WI},ProgressIndicatorBase:function(){return LI},PulsingBeaconAnimationStyles:function(){return bo},RGBA_REGEX:function(){return rg},Rating:function(){return YI},RatingBase:function(){return qI},RatingSize:function(){return AI},Rectangle:function(){return Ll},RectangleEdge:function(){return Il},ResizeGroup:function(){return wp},ResizeGroupBase:function(){return xp},ResizeGroupDirection:function(){return cp},ResponsiveMode:function(){return yd},SELECTION_CHANGE:function(){return ey},ScreenWidthMaxLarge:function(){return Go},ScreenWidthMaxMedium:function(){return Ko},ScreenWidthMaxSmall:function(){return Vo},ScreenWidthMaxXLarge:function(){return Uo},ScreenWidthMaxXXLarge:function(){return jo},ScreenWidthMinLarge:function(){return Ho},ScreenWidthMinMedium:function(){return Lo},ScreenWidthMinSmall:function(){return Fo},ScreenWidthMinUhfMobile:function(){return qo},ScreenWidthMinXLarge:function(){return Oo},ScreenWidthMinXXLarge:function(){return zo},ScreenWidthMinXXXLarge:function(){return Wo},ScrollToMode:function(){return Zv},ScrollablePane:function(){return eD},ScrollablePaneBase:function(){return $I},ScrollablePaneContext:function(){return QI},ScrollbarVisibility:function(){return XI},SearchBox:function(){return lD},SearchBoxBase:function(){return aD},SelectAllVisibility:function(){return iy},SelectableOptionMenuItemType:function(){return Sv},SelectedPeopleList:function(){return ED},Selection:function(){return Ey},SelectionDirection:function(){return $b},SelectionMode:function(){return Jb},SelectionZone:function(){return Dy},SemanticColorSlots:function(){return ST},Separator:function(){return RD},SeparatorBase:function(){return PD},Shade:function(){return hg},SharedColors:function(){return NP},Shimmer:function(){return nE},ShimmerBase:function(){return oE},ShimmerCircle:function(){return ZD},ShimmerCircleBase:function(){return YD},ShimmerElementType:function(){return MD},ShimmerElementsDefaultHeights:function(){return ND},ShimmerElementsGroup:function(){return eE},ShimmerElementsGroupBase:function(){return QD},ShimmerGap:function(){return UD},ShimmerGapBase:function(){return KD},ShimmerLine:function(){return WD},ShimmerLineBase:function(){return OD},ShimmeredDetailsList:function(){return sE},ShimmeredDetailsListBase:function(){return iE},Slider:function(){return mE},SliderBase:function(){return dE},SpinButton:function(){return xE},Spinner:function(){return zy},SpinnerBase:function(){return Ly},SpinnerSize:function(){return Py},SpinnerType:function(){return Ry},Stack:function(){return WE},StackItem:function(){return HE},Sticky:function(){return VE},StickyPositionType:function(){return zE},Stylesheet:function(){return M},SuggestionActionType:function(){return vw},SuggestionItemType:function(){return ix},Suggestions:function(){return Iw},SuggestionsControl:function(){return fx},SuggestionsController:function(){return Pw},SuggestionsCore:function(){return rx},SuggestionsHeaderFooterItem:function(){return mx},SuggestionsItem:function(){return tx},SuggestionsStore:function(){return _x},SwatchColorPicker:function(){return JE},SwatchColorPickerBase:function(){return XE},TagItem:function(){return gI},TagItemBase:function(){return fI},TagItemSuggestion:function(){return _I},TagItemSuggestionBase:function(){return CI},TagPicker:function(){return xI},TagPickerBase:function(){return SI},TeachingBubble:function(){return uT},TeachingBubbleBase:function(){return cT},TeachingBubbleContent:function(){return aT},TeachingBubbleContentBase:function(){return eT},Text:function(){return hT},TextField:function(){return iv},TextFieldBase:function(){return $g},TextStyles:function(){return pT},TextView:function(){return dT},ThemeContext:function(){return xP},ThemeGenerator:function(){return IT},ThemeProvider:function(){return FP},ThemeSettingName:function(){return no},TimeConstants:function(){return Sh},TimePicker:function(){return NT},Toggle:function(){return WT},ToggleBase:function(){return OT},Tooltip:function(){return Mp},TooltipBase:function(){return Rp},TooltipDelay:function(){return Tp},TooltipHost:function(){return Fp},TooltipHostBase:function(){return Bp},TooltipOverflowMode:function(){return kp},ValidationState:function(){return Tw},VerticalDivider:function(){return pd},VirtualizedComboBox:function(){return ib},WeeklyDayPicker:function(){return SP},WindowContext:function(){return ra},WindowProvider:function(){return sa},ZIndexes:function(){return Qo},addDays:function(){return xh},addDirectionalKeyCode:function(){return Ws},addElementAtIndex:function(){return xa},addMonths:function(){return wh},addWeeks:function(){return kh},addYears:function(){return Ih},allowOverscrollOnElement:function(){return ps},allowScrollOnElement:function(){return ds},anchorProperties:function(){return Tr},appendFunction:function(){return Xi},arraysEqual:function(){return wa},asAsync:function(){return UT},assertNever:function(){return jT},assign:function(){return al},audioProperties:function(){return wr},baseElementEvents:function(){return _r},baseElementProperties:function(){return Sr},buildClassMap:function(){return ne},buildColumns:function(){return mC},buildKeytipConfigMap:function(){return Ak},buttonProperties:function(){return Pr},calculatePrecision:function(){return Uk},canAnyMenuItemsCheck:function(){return Hd},canUseDOM:function(){return lt},clamp:function(){return ig},classNamesFunction:function(){return gr},cleanupDefaultLayerHost:function(){return mu},colGroupProperties:function(){return Or},colProperties:function(){return zr},compareDatePart:function(){return Nh},compareDates:function(){return Mh},composeComponentAs:function(){return Pl},composeRenderFunction:function(){return kl},concatStyleSets:function(){return Nn},concatStyleSetsWithProps:function(){return Bn},constructKeytip:function(){return Fk},correctHSV:function(){return Rg},correctHex:function(){return Mg},correctRGB:function(){return Ng},createArray:function(){return ya},createDefaultLayerHost:function(){return hu},createFontStyles:function(){return st},createGenericItem:function(){return sI},createItem:function(){return Cx},createMemoizer:function(){return Eo},createMergedRef:function(){return Ia},createTheme:function(){return eo},css:function(){return pi},cssColor:function(){return Fg},customizable:function(){return lp},defaultCalendarNavigationIcons:function(){return vm},defaultCalendarStrings:function(){return fm},defaultDatePickerStrings:function(){return bb},defaultDayPickerStrings:function(){return gm},defaultWeeklyDayPickerNavigationIcons:function(){return bP},defaultWeeklyDayPickerStrings:function(){return vP},disableBodyScroll:function(){return ms},divProperties:function(){return Ur},doesElementContainFocus:function(){return Za},elementContains:function(){return Ma},elementContainsAttribute:function(){return Ra},enableBodyScroll:function(){return fs},extendComponent:function(){return Qi},filteredAssign:function(){return sl},find:function(){return ba},findElementRecursive:function(){return Pa},findIndex:function(){return va},findScrollableParent:function(){return vs},fitContentToBounds:function(){return Gk},flatten:function(){return ka},focusAsync:function(){return Ja},focusClear:function(){return nn},focusFirstChild:function(){return Wa},fontFace:function(){return ot},formProperties:function(){return Wr},format:function(){return qh},getActivityItemClassNames:function(){return zn},getActivityItemStyles:function(){return qn},getAllSelectedOptions:function(){return Bv},getAriaDescribedBy:function(){return ad},getBackgroundShade:function(){return Tg},getBasePickerStyles:function(){return tI},getBoundsFromTargetWindow:function(){return yc},getCellStyles:function(){return Ob},getChildren:function(){return Av},getColorFromHSV:function(){return Og},getColorFromRGBA:function(){return ug},getColorFromString:function(){return zg},getCommandBarStyles:function(){return hb},getCommandButtonStyles:function(){return mb},getContextualMenuItemClassNames:function(){return Vu},getContextualMenuItemStyles:function(){return Ku},getContrastRatio:function(){return Pg},getDatePartHashValue:function(){return Wh},getDateRangeArray:function(){return Bh},getDetailsColumnStyles:function(){return Yb},getDetailsHeaderStyles:function(){return zb},getDetailsListStyles:function(){return bC},getDetailsRowCheckStyles:function(){return Kb},getDetailsRowStyles:function(){return Ab},getDistanceBetweenPoints:function(){return Kk},getDocument:function(){return ct},getEdgeChromiumNoHighContrastAdjustSelector:function(){return Xo},getElementIndexPath:function(){return es},getEndDateOfWeek:function(){return Oh},getFadedOverflowStyle:function(){return fn},getFirstFocusable:function(){return La},getFirstTabbable:function(){return Oa},getFirstVisibleElementFromSelector:function(){return yk},getFocusOutlineStyle:function(){return rn},getFocusStyle:function(){return on},getFocusableByIndexPath:function(){return $a},getFontIcon:function(){return _i},getFullColorString:function(){return Wg},getGlobalClassNames:function(){return Ro},getHighContrastNoAdjustStyle:function(){return Zo},getIcon:function(){return In},getIconClassName:function(){return Mn},getIconContent:function(){return yi},getId:function(){return as},getInitialResponsiveMode:function(){return Dd},getInitials:function(){return oi},getInputFocusStyle:function(){return an},getLanguage:function(){return gt},getLastFocusable:function(){return Ha},getLastTabbable:function(){return za},getLayerCount:function(){return cu},getLayerHost:function(){return uu},getLayerHostSelector:function(){return vu},getLayerStyles:function(){return xu},getMaxHeight:function(){return vc},getMeasurementCache:function(){return gp},getMenuItemStyles:function(){return Lu},getMonthEnd:function(){return Eh},getMonthStart:function(){return Dh},getNativeElementProps:function(){return Qb},getNativeProps:function(){return jr},getNextElement:function(){return Ka},getNextResizeGroupStateProvider:function(){return vp},getOppositeEdge:function(){return bc},getParent:function(){return Ta},getPeoplePickerItemStyles:function(){return Uw},getPeoplePickerItemSuggestionStyles:function(){return Xw},getPersonaInitialsColor:function(){return Oi},getPlaceholderStyles:function(){return vn},getPreviousElement:function(){return Va},getPropsWithDefaults:function(){return yr},getRTL:function(){return lr},getRTLSafeKeyCode:function(){return ur},getRect:function(){return nC},getResourceUrl:function(){return YT},getResponsiveMode:function(){return Pd},getScreenSelector:function(){return Yo},getScrollbarWidth:function(){return gs},getShade:function(){return Eg},getShimmeredDetailsListStyles:function(){return aE},getSplitButtonClassNames:function(){return tp},getStartDateOfWeek:function(){return Hh},getSubmenuItems:function(){return Ld},getSuggestionsItemStyles:function(){return Sw},getSuggestionsStyles:function(){return Ew},getTagItemStyles:function(){return hI},getTagItemSuggestionStyles:function(){return bI},getTextFieldStyles:function(){return rv},getTheme:function(){return io},getThemedContext:function(){return un},getVirtualParent:function(){return Ea},getWeekNumber:function(){return Lh},getWeekNumbersInMonth:function(){return Fh},getWindow:function(){return pt},getYearEnd:function(){return Ph},getYearStart:function(){return Th},hasHorizontalOverflow:function(){return Ip},hasOverflow:function(){return Ep},hasVerticalOverflow:function(){return Dp},hiddenContentStyle:function(){return ho},hoistMethods:function(){return vd},hoistStatics:function(){return _d},hsl2hsv:function(){return Bg},hsl2rgb:function(){return Ag},hsv2hex:function(){return Hg},hsv2hsl:function(){return dg},hsv2rgb:function(){return pg},htmlElementProperties:function(){return xr},iframeProperties:function(){return Vr},imageProperties:function(){return Gr},imgProperties:function(){return Kr},initializeComponentRef:function(){return Ji},initializeFocusRects:function(){return XT},initializeIcons:function(){return bk},initializeResponsiveMode:function(){return Id},inputProperties:function(){return Rr},isControlled:function(){return Zg},isDark:function(){return Dg},isDirectionalKeyCode:function(){return zs},isElementFocusSubZone:function(){return Ya},isElementFocusZone:function(){return qa},isElementTabbable:function(){return ja},isElementVisible:function(){return Ga},isElementVisibleAndNotHidden:function(){return Ua},isIE11:function(){return Zi},isIOS:function(){return El},isInDateRangeArray:function(){return Ah},isMac:function(){return wl},isRelativeUrl:function(){return gw},isValidShade:function(){return kg},isVirtualElement:function(){return Da},keyframes:function(){return re},ktpTargetFromId:function(){return id},ktpTargetFromSequences:function(){return rd},labelProperties:function(){return kr},liProperties:function(){return Er},loadTheme:function(){return lo},makeStyles:function(){return TP},mapEnumByName:function(){return ll},memoize:function(){return Io},memoizeFunction:function(){return Do},merge:function(){return Yt},mergeAriaAttributeValues:function(){return bl},mergeCustomizations:function(){return Yc},mergeOverflows:function(){return nd},mergeScopedSettings:function(){return ln},mergeSettings:function(){return sn},mergeStyleSets:function(){return An},mergeStyles:function(){return te},mergeThemes:function(){return Jt},modalize:function(){return _c},noWrap:function(){return pn},normalize:function(){return dn},notifyHostChanged:function(){return fu},nullRender:function(){return vl},olProperties:function(){return Dr},omit:function(){return ul},on:function(){return Al},optionProperties:function(){return Br},personaPresenceSize:function(){return bi},personaSize:function(){return vi},portalContainsElement:function(){return Cs},positionCallout:function(){return fc},positionCard:function(){return gc},positionElement:function(){return mc},precisionRound:function(){return jk},presenceBoolean:function(){return Di},raiseClick:function(){return mP},registerDefaultFontFaces:function(){return _t},registerIconAlias:function(){return wn},registerIcons:function(){return xn},registerLayer:function(){return su},registerLayerHost:function(){return du},registerOnThemeChangeCallback:function(){return ao},removeDirectionalKeyCode:function(){return Vs},removeIndex:function(){return _a},removeOnThemeChangeCallback:function(){return so},replaceElement:function(){return Sa},resetControlledWarnings:function(){return qg},resetIds:function(){return ss},resetMemoizations:function(){return wo},rgb2hex:function(){return sg},rgb2hsv:function(){return ag},safeRequestAnimationFrame:function(){return W_},safeSetTimeout:function(){return fP},selectProperties:function(){return Nr},sequencesToID:function(){return od},setBaseUrl:function(){return ZT},setFocusVisibility:function(){return tn},setIconOptions:function(){return Dn},setLanguage:function(){return vt},setLayerHostSelector:function(){return gu},setMemoizeWeakMap:function(){return ko},setMonth:function(){return Rh},setPortalAttribute:function(){return ys},setRTL:function(){return cr},setResponsiveMode:function(){return wd},setSSR:function(){return gP},setVirtualParent:function(){return ou},setWarningCallback:function(){return yn},shallowCompare:function(){return il},shouldWrapFocus:function(){return Xa},sizeBoolean:function(){return wi},sizeToPixels:function(){return Ii},styled:function(){return rr},tableProperties:function(){return Ar},tdProperties:function(){return Hr},textAreaProperties:function(){return Mr},thProperties:function(){return Lr},themeRulesStandardCreator:function(){return wT},toMatrix:function(){return Ca},trProperties:function(){return Fr},transitionKeysAreEqual:function(){return Dk},transitionKeysContain:function(){return Ek},unhoistMethods:function(){return bd},unregisterIcons:function(){return kn},unregisterLayer:function(){return lu},unregisterLayerHost:function(){return pu},updateA:function(){return Vg},updateH:function(){return Kg},updateRGB:function(){return Gg},updateSV:function(){return Ug},updateT:function(){return jg},useAdoptedStylesheet:function(){return sP},useAdoptedStylesheetEx:function(){return lP},useCustomizationSettings:function(){return or},useDocument:function(){return aa},useFocusRects:function(){return Ys},useHasMergeStylesShadowRootContext:function(){return np},useHeightOffset:function(){return Rf},useKeytipRef:function(){return Lk},useMergeStylesHooks:function(){return er},useMergeStylesRootStylesheets:function(){return aP},useMergeStylesShadowRootContext:function(){return rp},useResponsiveMode:function(){return Rd},useShadowConfig:function(){return uP},useStyled:function(){return dP},useTheme:function(){return kP},useWindow:function(){return ia},values:function(){return cl},videoProperties:function(){return Ir},warn:function(){return bn},warnConditionallyRequiredProps:function(){return pl},warnControlledUsage:function(){return Yg},warnDeprecations:function(){return hl},warnMutuallyExclusive:function(){return ml},withResponsiveMode:function(){return Ed},withViewport:function(){return aC}});var o={};e.r(o),e.d(o,{pickerInput:function(){return kS},pickerText:function(){return xS}});var n={};e.r(n),e.d(n,{callout:function(){return zS}});var r={};e.r(r),e.d(r,{actionButton:function(){return jS},buttonSelected:function(){return qS},closeButton:function(){return KS},itemButton:function(){return US},root:function(){return WS},suggestionsAvailable:function(){return JS},suggestionsContainer:function(){return ZS},suggestionsItem:function(){return VS},suggestionsItemIsSuggested:function(){return GS},suggestionsNone:function(){return XS},suggestionsSpinner:function(){return QS},suggestionsTitle:function(){return YS}});var i={};e.r(i),e.d(i,{suggestionsContainer:function(){return ox}});var a={};e.r(a),e.d(a,{actionButton:function(){return sx},buttonSelected:function(){return lx},itemButton:function(){return dx},root:function(){return ax},screenReaderOnly:function(){return px},suggestionsSpinner:function(){return ux},suggestionsTitle:function(){return cx}});var s={};e.r(s),e.d(s,{inputDisabled:function(){return Bw},inputFocused:function(){return Nw},picker:function(){return Rw},pickerInput:function(){return Aw},pickerItems:function(){return Fw},pickerText:function(){return Mw},screenReaderOnly:function(){return Lw}});var l={};e.r(l),e.d(l,{actionButton:function(){return pD},expandButton:function(){return vD},hover:function(){return dD},itemContainer:function(){return CD},itemContent:function(){return fD},personaContainer:function(){return uD},personaContainerIsSelected:function(){return hD},personaDetails:function(){return yD},personaWrapper:function(){return bD},removeButton:function(){return gD},validationError:function(){return mD}});var c=function(e,t){return c=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])},c(e,t)};function u(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}c(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var d=function(){return d=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},d.apply(this,arguments)};function p(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]])}return o}function h(e,t,o,n){var r,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=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 m(e,t,o){if(o||2===arguments.length)for(var n,r=0,i=t.length;r<i;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var f,g=React,v="__global__",b="__shadow_dom_stylesheet__",y={stylesheetKey:v,inShadow:!1,window:void 0,__isShadowConfig__:!0},C=function(e,t,o){return{stylesheetKey:e,inShadow:t,window:o,__isShadowConfig__:!0}},_=function(e){return!(!e||!function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}(e))&&!0===e.__isShadowConfig__};function S(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];var n=[],r=[],i=e;return function e(t){for(var o=0,a=t;o<a.length;o++){var s=a[o];if(s&&!_(s))if("string"==typeof s)if(s.indexOf(" ")>=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 x(e){f!==e&&(f=e)}function k(){return void 0===f&&(f="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),f}function w(){return{rtl:k(),shadowConfig:y}}f=k();var I,D={none:0,insertNode:1,appendChild:2},E="__stylesheet__",T="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),P={};try{P=window||{}}catch(F){}var R,M=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=d({injectionMode:"undefined"==typeof document?D.none:D.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(I=P[E],P[b])return P[b].getInstance(t);if(!I||I._lastStyleElement&&I._lastStyleElement.ownerDocument!==document){var o=(null==P?void 0:P.FabricConfig)||{},n=new e(o.mergeStyles,o.serializedStylesheet);I=n,P[E]=n}return I},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=d(d({},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=v);var n=this._config.injectionMode,r=n!==D.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),r)switch(n){case D.insertNode:this._insertRuleIntoSheet(r.sheet,e);break;case D.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(),T||(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}(),N={},B={"user-select":1};function A(e,t){var o=function(){var e;if(!R){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();R=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 R}(),n=e[t];if(B[n]){var r=e[t+1];B[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 F,L=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function H(e,t){var o=e[t],n=e[t+1];if("number"==typeof n){var r=L.indexOf(o)>-1,i=o.indexOf("--")>-1,a=r||i?"":"px";e[t+1]="".concat(n).concat(a)}}var O="left",z="right",W="@noflip",V=((F={})[O]=z,F[z]=O,F),K={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function G(e,t,o){if(e.rtl){var n=t[o];if(!n)return;var r=t[o+1];if("string"==typeof r&&r.indexOf(W)>=0)t[o+1]=r.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(n.indexOf(O)>=0)t[o]=n.replace(O,z);else if(n.indexOf(z)>=0)t[o]=n.replace(z,O);else if(String(r).indexOf(O)>=0)t[o+1]=r.replace(O,z);else if(String(r).indexOf(z)>=0)t[o+1]=r.replace(z,O);else if(V[n])t[o]=V[n];else if(K[r])t[o+1]=K[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 U="displayName",j=/\:global\((.+?)\)/g;function q(e,t){return e.indexOf(":global(")>=0?e.replace(j,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function Y(e,t,o,n,r){void 0===t&&(t={__order:[]}),0===o.indexOf("@")?Z([n],t,o=o+"{"+e,r):o.indexOf(",")>-1?function(e){if(!j.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 Z([n],t,q(o,e),r)})):Z([n],t,q(o,e),r)}function Z(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<s.length;a++){var l=s[a];if("string"==typeof l){var c=n.argsFromClassName(l);c&&Z(c,t,o,n)}else if(Array.isArray(l))Z(l,t,o,n);else for(var u in l)if(l.hasOwnProperty(u)){var d=l[u];if("selectors"===u){var p=l.selectors;for(var h in p)p.hasOwnProperty(h)&&Y(o,t,h,p[h],n)}else"object"==typeof d||(r=u).indexOf(":global(")>=0||0===r.indexOf(":")?null!=d&&Y(o,t,u,d,n):void 0!==d&&("margin"===u||"padding"===u?X(i,u,d):i[u]=d)}}return t}function X(e,t,o){var n="string"==typeof o?function(e){for(var t=[],o=0,n=0,r=0;r<e.length;r++)switch(e[r]){case"(":n++;break;case")":n&&n--;break;case"\t":case" ":n||(r>o&&t.push(e.substring(o,r)),o=r+1)}return o<e.length&&t.push(e.substring(o)),t}(o):[o];0===n.length&&n.push(o),"!important"===n[n.length-1]&&(n=n.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=n[0],e[t+"Right"]=n[1]||n[0],e[t+"Bottom"]=n[2]||n[0],e[t+"Left"]=n[3]||n[1]||n[0]}function Q(e,t){return t<=0?"":1===t?e:e+Q(e,t-1)}function J(e,t){if(!t)return"";var o,n,r,i=[];for(var a in t)t.hasOwnProperty(a)&&a!==U&&void 0!==t[a]&&i.push(a,t[a]);for(var s=0;s<i.length;s+=2)r=void 0,"-"!==(r=(o=i)[n=s]).charAt(0)&&(o[n]=N[r]=N[r]||r.replace(/([A-Z])/g,"-$1").toLowerCase()),H(i,s),G(e,i,s),A(i,s);for(s=1;s<i.length;s+=4)i.splice(s,1,":",i[s],";");return i.join("")}function $(e){for(var t,o=[],n=1;n<arguments.length;n++)o[n-1]=arguments[n];var r=null!==(t=e.stylesheet)&&void 0!==t?t:M.getInstance(e.shadowConfig),i=Z(o,void 0,void 0,r),a=function(e,t){for(var o=[e.rtl?"rtl":"ltr"],n=!1,r=0,i=t.__order;r<i.length;r++){var a=i[r];o.push(a);var s=t[a];for(var l in s)s.hasOwnProperty(l)&&void 0!==s[l]&&(n=!0,o.push(l,s[l]))}return n?o.join(""):void 0}(e,i);if(a){var s={className:r.classNameFromKey(a),key:a,args:o};if(!s.className){s.className=r.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(i));for(var l=[],c=0,u=i.__order;c<u.length;c++){var d=u[c];l.push(d,J(e,i[d]))}s.rulesToInsert=l}return s}}function ee(e,t,o,n){void 0===t&&(t=1);var r=null!=n?n:M.getInstance(o),i=e.className,a=e.key,s=e.args,l=e.rulesToInsert;if(l){for(var c=0;c<l.length;c+=2){var u=l[c+1];if(u){var d=l[c];d=d.replace(/&/g,Q(".".concat(e.className),t));var p="".concat(d,"{").concat(u,"}").concat(0===d.indexOf("@")?"}":"");r.insertRule(p)}}r.cacheClassName(i,a,s,l)}}function te(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return oe(e,w())}function oe(e,t){var o=e instanceof Array?e:[e],n=t||{};_(o[0])&&(n.shadowConfig=o[0]),n.stylesheet=M.getInstance(n.shadowConfig);var r=S(n.stylesheet,o),i=r.classes,a=r.objects;return a.length&&i.push(function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];var n=$.apply(void 0,m([e],t,!1));return n?(ee(n,e.specificityMultiplier,e.shadowConfig,e.stylesheet),n.className):""}(n,a)),i.join(" ")}function ne(e){var t={},o=function(o){var n;e.hasOwnProperty(o)&&Object.defineProperty(t,o,{get:function(){return void 0===n&&(n=te(e[o]).toString()),n},enumerable:!0,configurable:!0})};for(var n in e)o(n);return t}function re(e){var t=M.getInstance(),o=[];for(var n in e)e.hasOwnProperty(n)&&o.push(n,"{",J(w(),e[n]),"}");var r=o.join(""),i=t.classNameFromKey(r);if(i)return i;var a=t.getClassName();return t.insertRule("@keyframes ".concat(a,"{").concat(r,"}"),!0),t.cacheClassName(a,r,[],["keyframes",r]),a}var ie="cubic-bezier(.1,.9,.2,1)",ae="cubic-bezier(.1,.25,.75,.9)",se="0.167s",le="0.267s",ce="0.367s",ue="0.467s",de=re({from:{opacity:0},to:{opacity:1}}),pe=re({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),he=je(-10),me=je(-20),fe=je(-40),ge=je(-400),ve=je(10),be=je(20),ye=je(40),Ce=je(400),_e=qe(10),Se=qe(20),xe=qe(-10),ke=qe(-20),we=Ye(10),Ie=Ye(20),De=Ye(40),Ee=Ye(400),Te=Ye(-10),Pe=Ye(-20),Re=Ye(-40),Me=Ye(-400),Ne=Ze(-10),Be=Ze(-20),Ae=Ze(10),Fe=Ze(20),Le=re({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),He=re({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),Oe=re({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),ze=re({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),We=re({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),Ve=re({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),Ke={easeFunction1:ie,easeFunction2:ae,durationValue1:se,durationValue2:le,durationValue3:ce,durationValue4:ue},Ge={slideRightIn10:Ue("".concat(de,",").concat(he),ce,ie),slideRightIn20:Ue("".concat(de,",").concat(me),ce,ie),slideRightIn40:Ue("".concat(de,",").concat(fe),ce,ie),slideRightIn400:Ue("".concat(de,",").concat(ge),ce,ie),slideLeftIn10:Ue("".concat(de,",").concat(ve),ce,ie),slideLeftIn20:Ue("".concat(de,",").concat(be),ce,ie),slideLeftIn40:Ue("".concat(de,",").concat(ye),ce,ie),slideLeftIn400:Ue("".concat(de,",").concat(Ce),ce,ie),slideUpIn10:Ue("".concat(de,",").concat(_e),ce,ie),slideUpIn20:Ue("".concat(de,",").concat(Se),ce,ie),slideDownIn10:Ue("".concat(de,",").concat(xe),ce,ie),slideDownIn20:Ue("".concat(de,",").concat(ke),ce,ie),slideRightOut10:Ue("".concat(pe,",").concat(we),ce,ie),slideRightOut20:Ue("".concat(pe,",").concat(Ie),ce,ie),slideRightOut40:Ue("".concat(pe,",").concat(De),ce,ie),slideRightOut400:Ue("".concat(pe,",").concat(Ee),ce,ie),slideLeftOut10:Ue("".concat(pe,",").concat(Te),ce,ie),slideLeftOut20:Ue("".concat(pe,",").concat(Pe),ce,ie),slideLeftOut40:Ue("".concat(pe,",").concat(Re),ce,ie),slideLeftOut400:Ue("".concat(pe,",").concat(Me),ce,ie),slideUpOut10:Ue("".concat(pe,",").concat(Ne),ce,ie),slideUpOut20:Ue("".concat(pe,",").concat(Be),ce,ie),slideDownOut10:Ue("".concat(pe,",").concat(Ae),ce,ie),slideDownOut20:Ue("".concat(pe,",").concat(Fe),ce,ie),scaleUpIn100:Ue("".concat(de,",").concat(Le),ce,ie),scaleDownIn100:Ue("".concat(de,",").concat(Oe),ce,ie),scaleUpOut103:Ue("".concat(pe,",").concat(ze),se,ae),scaleDownOut98:Ue("".concat(pe,",").concat(He),se,ae),fadeIn100:Ue(de,se,ae),fadeIn200:Ue(de,le,ae),fadeIn400:Ue(de,ce,ae),fadeIn500:Ue(de,ue,ae),fadeOut100:Ue(pe,se,ae),fadeOut200:Ue(pe,le,ae),fadeOut400:Ue(pe,ce,ae),fadeOut500:Ue(pe,ue,ae),rotate90deg:Ue(We,"0.1s",ae),rotateN90deg:Ue(Ve,"0.1s",ae)};function Ue(e,t,o){return{animationName:e,animationDuration:t,animationTimingFunction:o,animationFillMode:"both"}}function je(e){return re({from:{transform:"translate3d(".concat(e,"px,0,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function qe(e){return re({from:{transform:"translate3d(0,".concat(e,"px,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function Ye(e){return re({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(".concat(e,"px,0,0)")}})}function Ze(e){return re({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,".concat(e,"px,0)")}})}var Xe,Qe,Je,$e,et,tt=ne(Ge);function ot(e){var t=M.getInstance(),o=J(w(),e);if(!t.classNameFromKey(o)){var n=t.getClassName();t.insertRule("@font-face{".concat(o,"}"),!0),t.cacheClassName(n,o,[],["font-face",o])}}!function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web",e.Armenian="Segoe UI Web (Armenian)",e.Georgian="Segoe UI Web (Georgian)"}(Xe||(Xe={})),function(e){e.Arabic="'".concat(Xe.Arabic,"'"),e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'".concat(Xe.Cyrillic,"'"),e.EastEuropean="'".concat(Xe.EastEuropean,"'"),e.Greek="'".concat(Xe.Greek,"'"),e.Hebrew="'".concat(Xe.Hebrew,"'"),e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'".concat(Xe.Selawik,"'"),e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'".concat(Xe.Vietnamese,"'"),e.WestEuropean="'".concat(Xe.WestEuropean,"'"),e.Armenian="'".concat(Xe.Armenian,"'"),e.Georgian="'".concat(Xe.Georgian,"'")}(Qe||(Qe={})),function(e){e.size10="10px",e.size12="12px",e.size14="14px",e.size16="16px",e.size18="18px",e.size20="20px",e.size24="24px",e.size28="28px",e.size32="32px",e.size42="42px",e.size68="68px",e.mini="10px",e.xSmall="10px",e.small="12px",e.smallPlus="12px",e.medium="14px",e.mediumPlus="16px",e.icon="16px",e.large="18px",e.xLarge="20px",e.xLargePlus="24px",e.xxLarge="28px",e.xxLargePlus="32px",e.superLarge="42px",e.mega="68px"}(Je||(Je={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}($e||($e={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(et||(et={}));var nt="'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif",rt="'Segoe UI', '".concat(Xe.WestEuropean,"'"),it={ar:Qe.Arabic,bg:Qe.Cyrillic,cs:Qe.EastEuropean,el:Qe.Greek,et:Qe.EastEuropean,he:Qe.Hebrew,hi:Qe.Hindi,hr:Qe.EastEuropean,hu:Qe.EastEuropean,ja:Qe.Japanese,kk:Qe.EastEuropean,ko:Qe.Korean,lt:Qe.EastEuropean,lv:Qe.EastEuropean,pl:Qe.EastEuropean,ru:Qe.Cyrillic,sk:Qe.EastEuropean,"sr-latn":Qe.EastEuropean,th:Qe.Thai,tr:Qe.EastEuropean,uk:Qe.Cyrillic,vi:Qe.Vietnamese,"zh-hans":Qe.ChineseSimplified,"zh-hant":Qe.ChineseTraditional,hy:Qe.Armenian,ka:Qe.Georgian};function at(e,t,o){return{fontFamily:o,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}function st(e){var t=function(e){for(var t in it)if(it.hasOwnProperty(t)&&e&&0===t.indexOf(e))return it[t];return rt}(e),o="".concat(t,", ").concat(nt);return{tiny:at(Je.mini,$e.regular,o),xSmall:at(Je.xSmall,$e.regular,o),small:at(Je.small,$e.regular,o),smallPlus:at(Je.smallPlus,$e.regular,o),medium:at(Je.medium,$e.regular,o),mediumPlus:at(Je.mediumPlus,$e.regular,o),large:at(Je.large,$e.regular,o),xLarge:at(Je.xLarge,$e.semibold,o),xLargePlus:at(Je.xLargePlus,$e.semibold,o),xxLarge:at(Je.xxLarge,$e.semibold,o),xxLargePlus:at(Je.xxLargePlus,$e.semibold,o),superLarge:at(Je.superLarge,$e.semibold,o),mega:at(Je.mega,$e.semibold,o)}}function lt(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}function ct(e){if(lt()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}var ut,dt=void 0;try{dt=window}catch(e){}function pt(e){if(lt()&&void 0!==dt){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:dt}}function ht(e){var t=null;try{var o=pt();t=o?o.sessionStorage.getItem(e):null}catch(e){}return t}function mt(e,t){var o;try{null===(o=pt())||void 0===o||o.sessionStorage.setItem(e,t)}catch(e){}}var ft="language";function gt(e){if(void 0===e&&(e="sessionStorage"),void 0===ut){var t=ct(),o="localStorage"===e?function(e){var t=null;try{var o=pt();t=o?o.localStorage.getItem(e):null}catch(e){}return t}(ft):"sessionStorage"===e?ht(ft):void 0;o&&(ut=o),void 0===ut&&t&&(ut=t.documentElement.getAttribute("lang")),void 0===ut&&(ut="en")}return ut}function vt(e,t){var o=ct();o&&o.documentElement.setAttribute("lang",e);var n=!0===t?"none":t||"sessionStorage";"localStorage"===n?function(e,t){try{var o=pt();o&&o.localStorage.setItem(e,t)}catch(e){}}(ft,e):"sessionStorage"===n&&mt(ft,e),ut=e}var bt=st(gt());function yt(e,t,o,n){ot({fontFamily:e="'".concat(e,"'"),src:(void 0!==n?"local('".concat(n,"'),"):"")+"url('".concat(t,".woff2') format('woff2'),")+"url('".concat(t,".woff') format('woff')"),fontWeight:o,fontStyle:"normal",fontDisplay:"swap"})}function Ct(e,t,o,n,r){void 0===n&&(n="segoeui");var i="".concat(e,"/").concat(o,"/").concat(n);yt(t,i+"-light",$e.light,r&&r+" Light"),yt(t,i+"-semilight",$e.semilight,r&&r+" SemiLight"),yt(t,i+"-regular",$e.regular,r),yt(t,i+"-semibold",$e.semibold,r&&r+" SemiBold"),yt(t,i+"-bold",$e.bold,r&&r+" Bold")}function _t(e){if(e){var t="".concat(e,"/fonts");Ct(t,Xe.Thai,"leelawadeeui-thai","leelawadeeui"),Ct(t,Xe.Arabic,"segoeui-arabic"),Ct(t,Xe.Cyrillic,"segoeui-cyrillic"),Ct(t,Xe.EastEuropean,"segoeui-easteuropean"),Ct(t,Xe.Greek,"segoeui-greek"),Ct(t,Xe.Hebrew,"segoeui-hebrew"),Ct(t,Xe.Vietnamese,"segoeui-vietnamese"),Ct(t,Xe.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),Ct(t,Qe.Selawik,"selawik","selawik"),Ct(t,Xe.Armenian,"segoeui-armenian"),Ct(t,Xe.Georgian,"segoeui-georgian"),yt("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-semilight"),$e.light),yt("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-bold"),$e.semibold)}}_t(function(){var e,t,o=null===(e=pt())||void 0===e?void 0:e.FabricConfig;return null!==(t=null==o?void 0:o.fontBaseUrl)&&void 0!==t?t:"https://res-1.cdn.office.net/files/fabric-cdn-prod_20230815.002/assets"}());var St=ne(bt),xt={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a4262c",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"},kt="__globalSettings__",wt="__callbacks__",It=0,Dt=function(){function e(){}return e.getValue=function(e,t){var o=Et();return void 0===o[e]&&(o[e]="function"==typeof t?t():t),o[e]},e.setValue=function(e,t){var o=Et(),n=o[wt],r=o[e];if(t!==r){o[e]=t;var i={oldValue:r,value:t,key:e};for(var a in n)n.hasOwnProperty(a)&&n[a](i)}return t},e.addChangeListener=function(e){var t=e.__id__,o=Tt();t||(t=e.__id__=String(It++)),o[t]=e},e.removeChangeListener=function(e){delete Tt()[e.__id__]},e}();function Et(){var e,t=pt()||{};return t[kt]||(t[kt]=((e={})[wt]={},e)),t[kt]}function Tt(){return Et()[wt]}var Pt,Rt,Mt={settings:{},scopedSettings:{},inCustomizerContext:!1},Nt=Dt.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),Bt=[],At=function(){function e(){}return e.reset=function(){Nt.settings={},Nt.scopedSettings={}},e.applySettings=function(t){Nt.settings=d(d({},Nt.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,o){Nt.scopedSettings[t]=d(d({},Nt.scopedSettings[t]),o),e._raiseChange()},e.getSettings=function(e,t,o){void 0===o&&(o=Mt);for(var n={},r=t&&o.scopedSettings[t]||{},i=t&&Nt.scopedSettings[t]||{},a=0,s=e;a<s.length;a++){var l=s[a];n[l]=r[l]||o.settings[l]||i[l]||Nt.settings[l]}return n},e.applyBatchedUpdates=function(t,o){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,o||e._raiseChange()},e.observe=function(e){Bt.push(e)},e.unobserve=function(e){Bt=Bt.filter((function(t){return t!==e}))},e._raiseChange=function(){e._suppressUpdates||Bt.forEach((function(e){return e()}))},e}(),Ft=function(){return Ft=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Ft.apply(this,arguments)},Lt="undefined"==typeof window?e.g:window,Ht=Lt&&Lt.CSPSettings&&Lt.CSPSettings.nonce,Ot=((Rt=Lt.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]}).runState||(Rt=Ft({},Rt,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),Rt.registeredThemableStyles||(Rt=Ft({},Rt,{registeredThemableStyles:[]})),Lt.__themeState__=Rt,Rt),zt=/[\'\"]\[theme:\s*(\w+)\s*(?:\,\s*default:\s*([\\"\']?[\.\,\(\)\#\-\s\w]*[\.\,\(\)\#\-\w][\"\']?))?\s*\][\'\"]/g,Wt=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()};function Vt(e){var t=Wt();e();var o=Wt();Ot.perf.duration+=o-t}function Kt(e,t){void 0===t&&(t=!1),Vt((function(){var o=Array.isArray(e)?e:function(e){var t=[];if(e){for(var o=0,n=void 0;n=zt.exec(e);){var r=n.index;r>o&&t.push({rawString:e.substring(o,r)}),t.push({theme:n[1],defaultValue:n[2]}),o=zt.lastIndex}t.push({rawString:e.substring(o)})}return t}(e),n=Ot.runState,r=n.mode,i=n.buffer,a=n.flushTimer;t||1===r?(i.push(o),a||(Ot.runState.flushTimer=setTimeout((function(){Ot.runState.flushTimer=0,Vt((function(){var e=Ot.runState.buffer.slice();Ot.runState.buffer=[];var t=[].concat.apply([],e);t.length>0&&Gt(t)}))}),0))):Gt(o)}))}function Gt(e,t){Ot.loadStyles?Ot.loadStyles(jt(e).styleString,e):function(e){if("undefined"!=typeof document){var t=document.getElementsByTagName("head")[0],o=document.createElement("style"),n=jt(e),r=n.styleString,i=n.themable;o.setAttribute("data-load-themed-styles","true"),o.type="text/css",Ht&&o.setAttribute("nonce",Ht),o.appendChild(document.createTextNode(r)),Ot.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?Ot.registeredThemableStyles.push(s):Ot.registeredStyles.push(s)}}(e)}function Ut(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function jt(e){var t=Ot.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)"}(Pt||(Pt={}));var qt={elevation4:Pt.depth4,elevation8:Pt.depth8,elevation16:Pt.depth16,elevation64:Pt.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"};function Yt(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];for(var n=0,r=t;n<r.length;n++)Zt(e||{},r[n]);return e}function Zt(e,t,o){for(var n in void 0===o&&(o=[]),o.push(t),t)if(t.hasOwnProperty(n)&&"__proto__"!==n&&"constructor"!==n&&"prototype"!==n){var r=t[n];if("object"!=typeof r||null===r||Array.isArray(r))e[n]=r;else{var i=o.indexOf(r)>-1;e[n]=i?r:Zt(e[n]||{},r,o)}}return o.pop(),e}function Xt(e,t,o,n,r){return void 0===r&&(r=!1),function(e,t){var o="";return!0===t&&(o=" /* @deprecated */"),e.listTextColor=e.listText+o,e.menuItemBackgroundChecked+=o,e.warningHighlight+=o,e.warningText=e.messageText+o,e.successText+=o,e}(Qt(e,t,d({primaryButtonBorder:"transparent",errorText:n?"#F1707B":"#a4262c",messageText:n?"#F3F2F1":"#323130",messageLink:n?"#6CB8F6":"#005A9E",messageLinkHovered:n?"#82C7FF":"#004578",infoIcon:n?"#C8C6C4":"#605e5c",errorIcon:n?"#F1707B":"#A80000",blockingIcon:n?"#442726":"#FDE7E9",warningIcon:n?"#C8C6C4":"#797775",severeWarningIcon:n?"#FCE100":"#D83B01",successIcon:n?"#92C353":"#107C10",infoBackground:n?"#323130":"#f3f2f1",errorBackground:n?"#442726":"#FDE7E9",blockingBackground:n?"#442726":"#FDE7E9",warningBackground:n?"#433519":"#FFF4CE",severeWarningBackground:n?"#4F2A0F":"#FED9CC",successBackground:n?"#393D1B":"#DFF6DD",warningHighlight:n?"#fff100":"#ffb900",successText:n?"#92c353":"#107C10"},o),n),r)}function Qt(e,t,o,n,r){void 0===r&&(r=!1);var i={},a=e||{},s=a.white,l=a.black,c=a.themePrimary,u=a.themeDark,p=a.themeDarker,h=a.themeDarkAlt,m=a.themeLighter,f=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),p&&(i.linkHovered=p),h&&(i.primaryButtonBackgroundHovered=h),m&&(i.inputPlaceholderBackgroundChecked=m),f&&(i.bodyBackgroundChecked=f,i.bodyFrameDivider=f,i.bodyDivider=f,i.variantBorder=f,i.buttonBackgroundCheckedHovered=f,i.buttonBackgroundPressed=f,i.listItemBackgroundChecked=f,i.listHeaderBackgroundPressed=f,i.menuItemBackgroundPressed=f,i.menuItemBackgroundChecked=f),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),d(d({},i),o)}function Jt(e,t){var o,n,r;void 0===t&&(t={});var i=Yt({},e,t,{semanticColors:Qt(t.palette,t.effects,t.semanticColors,void 0===t.isInverted?e.isInverted:t.isInverted)});if((null===(o=t.palette)||void 0===o?void 0:o.themePrimary)&&!(null===(n=t.palette)||void 0===n?void 0:n.accent)&&(i.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var a=0,s=Object.keys(i.fonts);a<s.length;a++){var l=s[a];i.fonts[l]=Yt(i.fonts[l],t.defaultFontStyle,null===(r=null==t?void 0:t.fonts)||void 0===r?void 0:r[l])}return i}var $t={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"};function eo(e,t){void 0===e&&(e={}),void 0===t&&(t=!1);var o=!!e.isInverted;return Jt({palette:xt,effects:qt,fonts:bt,spacing:$t,isInverted:o,disableGlobalClassNames:!1,semanticColors:Xt(xt,qt,void 0,o,t),rtl:void 0},e)}var to=eo({}),oo=[],no="theme";function ro(){var e,t,o,n=pt();(null===(t=null==n?void 0:n.FabricConfig)||void 0===t?void 0:t.legacyTheme)?lo(n.FabricConfig.legacyTheme):At.getSettings([no]).theme||((null===(o=null==n?void 0:n.FabricConfig)||void 0===o?void 0:o.theme)&&(to=eo(n.FabricConfig.theme)),At.applySettings(((e={})[no]=to,e)))}function io(e){return void 0===e&&(e=!1),!0===e&&(to=eo({},e)),to}function ao(e){-1===oo.indexOf(e)&&oo.push(e)}function so(e){var t=oo.indexOf(e);-1!==t&&oo.splice(t,1)}function lo(e,t){var o;return void 0===t&&(t=!1),to=eo(e,t),function(e){Ot.theme=e,function(){if(Ot.theme){for(var e=[],t=0,o=Ot.registeredThemableStyles;t<o.length;t++){var n=o[t];e.push(n.themableStyle)}e.length>0&&(void 0===(r=1)&&(r=3),3!==r&&2!==r||(Ut(Ot.registeredStyles),Ot.registeredStyles=[]),3!==r&&1!==r||(Ut(Ot.registeredThemableStyles),Ot.registeredThemableStyles=[]),Gt([].concat.apply([],e)))}var r}()}(d(d(d(d({},to.palette),to.semanticColors),to.effects),function(e){for(var t={},o=0,n=Object.keys(e.fonts);o<n.length;o++)for(var r=n[o],i=e.fonts[r],a=0,s=Object.keys(i);a<s.length;a++){var l=s[a],c=r+l.charAt(0).toUpperCase()+l.slice(1),u=i[l];"fontSize"===l&&"number"==typeof u&&(u+="px"),t[c]=u}return t}(to))),At.applySettings(((o={})[no]=to,o)),oo.forEach((function(e){try{e(to)}catch(e){}})),to}ro();var co={};for(var uo in xt)xt.hasOwnProperty(uo)&&(po(co,uo,"",!1,"color"),po(co,uo,"Hover",!0,"color"),po(co,uo,"Background",!1,"background"),po(co,uo,"BackgroundHover",!0,"background"),po(co,uo,"Border",!1,"borderColor"),po(co,uo,"BorderHover",!0,"borderColor"));function po(e,t,o,n,r){Object.defineProperty(e,t+o,{get:function(){var e,o=((e={})[r]=io().palette[t],e);return te(n?{selectors:{":hover":o}}:o).toString()},enumerable:!0,configurable:!0})}var ho={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden",whiteSpace:"nowrap"};function mo(e,t){return{borderColor:e,borderWidth:"0px",width:t,height:t}}function fo(e){return{opacity:1,borderWidth:e}}function go(e,t){return{borderWidth:"0",width:t,height:t,opacity:0,borderColor:e}}function vo(e,t){return d(d({},mo(e,t)),{opacity:0})}var bo={continuousPulseAnimationDouble:function(e,t,o,n,r){return re({"0%":mo(e,o),"1.42%":fo(r),"3.57%":{opacity:1},"7.14%":go(t,n),"8%":vo(e,o),"29.99%":vo(e,o),"30%":mo(e,o),"31.42%":fo(r),"33.57%":{opacity:1},"37.14%":go(t,n),"38%":vo(e,o),"79.42%":vo(e,o),79.43:mo(e,o),81.85:fo(r),83.42:{opacity:1},"87%":go(t,n),"100%":{}})},continuousPulseAnimationSingle:function(e,t,o,n,r){return re({"0%":mo(e,o),"14.2%":fo(r),"35.7%":{opacity:1},"71.4%":go(t,n),"100%":{}})},createDefaultAnimation:function(e,t){return{animationName:e,animationIterationCount:"1",animationDuration:"14s",animationDelay:t||"2s"}}},yo=!1,Co=0,_o={empty:!0},So={},xo="undefined"==typeof WeakMap?null:WeakMap;function ko(e){xo=e}function wo(){Co++}function Io(e,t,o){var n=Do(o.value&&o.value.bind(null));return{configurable:!0,get:function(){return n}}}function Do(e,t,o){if(void 0===t&&(t=100),void 0===o&&(o=!1),!xo)return e;if(!yo){var n=M.getInstance();n&&n.onReset&&M.getInstance().onReset(wo),yo=!0}var r,i=0,a=Co;return function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];var l,c=r;(void 0===r||a!==Co||t>0&&i>t)&&(r=To(),i=0,a=Co),c=r;for(var u=0;u<n.length;u++){var d=(l=n[u])?"object"==typeof l||"function"==typeof l?l:(So[l]||(So[l]={val:l}),So[l]):_o;c.map.has(d)||c.map.set(d,To()),c=c.map.get(d)}return c.hasOwnProperty("value")||(c.value=e.apply(void 0,n),i++),!o||null!==c.value&&void 0!==c.value||(c.value=e.apply(void 0,n)),c.value}}function Eo(e){if(!xo)return e;var t=new xo;return function(o){if(!o||"function"!=typeof o&&"object"!=typeof o)return e(o);if(t.has(o))return t.get(o);var n=e(o);return t.set(o,n),n}}function To(){return{map:xo?new xo:null}}var Po=Do((function(e,t){var o=M.getInstance();return t?Object.keys(e).reduce((function(t,n){return t[n]=o.getClassName(e[n]),t}),{}):e}));function Ro(e,t,o){return Po(e,void 0!==o?o:t.disableGlobalClassNames)}var Mo="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",No="@media screen and (-ms-high-contrast: black-on-white), screen and (forced-colors: active) and (prefers-color-scheme: light)",Bo="@media screen and (-ms-high-contrast: white-on-black), screen and (forced-colors: active) and (prefers-color-scheme: dark)",Ao="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",Fo=320,Lo=480,Ho=640,Oo=1024,zo=1366,Wo=1920,Vo=Lo-1,Ko=Ho-1,Go=Oo-1,Uo=zo-1,jo=Wo-1,qo=768;function Yo(e,t){var o="number"==typeof e?" and (min-width: ".concat(e,"px)"):"",n="number"==typeof t?" and (max-width: ".concat(t,"px)"):"";return"@media only screen".concat(o).concat(n)}function Zo(){return{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}}function Xo(){var e;return(e={})[Ao]={forcedColorAdjust:"none",MsHighContrastAdjust:"none"},e}var Qo,Jo="ms-Fabric--isFocusVisible",$o="ms-Fabric--isFocusHidden";function en(e,t){e&&(e.classList.add(t?Jo:$o),e.classList.remove(t?$o:Jo))}function tn(e,t,o){var n;o?o.forEach((function(t){return en(t.current,e)})):en(null===(n=pt(t))||void 0===n?void 0:n.document.body,e)}function on(e,t,o,n,r,i,a,s){return function(e,t){var o,n;void 0===t&&(t={});var r=t.borderRadius,i=t.inset,a=void 0===i?0:i,s=t.width,l=void 0===s?1:s,c=t.position,u=void 0===c?"relative":c,d=t.highContrastStyle,p=t.borderColor,h=void 0===p?e.palette.white:p,m=t.outlineColor,f=void 0===m?e.palette.neutralSecondary:m,g=t.isFocusedOnly,v=void 0===g||g,b=t.pointerEvents;return{outline:"transparent",position:u,selectors:(o={"::-moz-focus-inner":{border:"0"}},o[".".concat(Jo," &").concat(v?":focus":"",":after, :host(.").concat(Jo,") &").concat(v?":focus":"",":after")]={content:'""',position:"absolute",pointerEvents:b,left:a+1,top:a+1,bottom:a+1,right:a+1,border:"".concat(l,"px solid ").concat(h),outline:"".concat(l,"px solid ").concat(f),zIndex:Qo.FocusStyle,borderRadius:r,selectors:(n={},n[Mo]=d,n)},o)}}(e,"number"!=typeof t&&t?t:{inset:t,position:o,highContrastStyle:n,borderColor:r,outlineColor:i,isFocusedOnly:a,borderRadius:s})}function nn(){return{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}}function rn(e,t,o,n){var r;return void 0===t&&(t=0),void 0===o&&(o=1),{selectors:(r={},r[":global(".concat(Jo,") &:focus")]={outline:"".concat(o," solid ").concat(n||e.palette.neutralSecondary),outlineOffset:"".concat(-t,"px")},r)}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(Qo||(Qo={}));var an=function(e,t,o,n){var r,i,a;void 0===o&&(o="border"),void 0===n&&(n=-1);var s="borderBottom"===o;return{borderColor:e,selectors:{":after":(r={pointerEvents:"none",content:"''",position:"absolute",left:s?0:n,top:n,bottom:n,right:s?0:n},r[o]="2px solid ".concat(e),r.borderRadius=t,r.width="borderBottom"===o?"100%":void 0,r.selectors=(i={},i[Mo]=(a={},a["border"===o?"borderColor":"borderBottomColor"]="Highlight",a),i),r)}}};function sn(e,t){void 0===e&&(e={});var o=cn(t)?t:function(e){return function(t){return e?d(d({},t),e):t}}(t);return o(e)}function ln(e,t){return void 0===e&&(e={}),(cn(t)?t:(void 0===(o=t)&&(o={}),function(e){var t=d({},e);for(var n in o)o.hasOwnProperty(n)&&(t[n]=d(d({},e[n]),o[n]));return t}))(e);var o}function cn(e){return"function"==typeof e}function un(e,t,o){var n,r=e,i=o||At.getSettings(["theme"],void 0,e.customizations).theme;o&&(n={theme:o});var a=t&&i&&i.schemes&&i.schemes[t];return i&&a&&i!==a&&((n={theme:a}).theme.schemes=i.schemes),n&&(r={customizations:{settings:sn(e.customizations.settings,n),scopedSettings:e.customizations.scopedSettings}}),r}var dn={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"},pn={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},hn="50%",mn=20;function fn(e,t,o,n,r){void 0===t&&(t="bodyBackground"),void 0===o&&(o="horizontal"),void 0===n&&(n=gn("width",o)),void 0===r&&(r=gn("height",o));var i=e.semanticColors[t]||e.palette[t],a=function(e){if("#"===e[0])return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)};if(0===e.indexOf("rgba(")){var t=(e=e.match(/rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2]}}return{r:255,g:255,b:255}}(i),s="rgba(".concat(a.r,", ").concat(a.g,", ").concat(a.b,", 0)");return{content:'""',position:"absolute",right:0,bottom:0,width:n,height:r,pointerEvents:"none",backgroundImage:"linear-gradient(".concat("vertical"===o?"to bottom":"to right",", ").concat(s," 0%, ").concat(i," 100%)")}}function gn(e,t){return"width"===e?"horizontal"===t?mn:"100%":"vertical"===t?hn:"100%"}function vn(e){return{selectors:{"::placeholder":e,":-ms-input-placeholder":e,"::-ms-input-placeholder":e}}}function bn(e){console&&console.warn&&console.warn(e)}function yn(e){}var Cn=Dt.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),_n=M.getInstance();_n&&_n.onReset&&_n.onReset((function(){for(var e in Cn)Cn.hasOwnProperty(e)&&Cn[e].subset&&(Cn[e].subset.className=void 0)}));var Sn=function(e){return e.toLowerCase()};function xn(e,t){var o=d(d({},e),{isRegistered:!1,className:void 0}),n=e.icons;for(var r in t=t?d(d({},Cn.__options),t):Cn.__options,n)if(n.hasOwnProperty(r)){var i=n[r],a=Sn(r);Cn[a]?Pn(r):Cn[a]={code:i,subset:o}}}function kn(e){for(var t=Cn.__options,o=function(e){var o=Sn(e);Cn[o]?delete Cn[o]:t.disableWarnings||bn('The icon "'.concat(e,'" tried to unregister but was not registered.')),Cn.__remapped[o]&&delete Cn.__remapped[o],Object.keys(Cn.__remapped).forEach((function(e){Cn.__remapped[e]===o&&delete Cn.__remapped[e]}))},n=0,r=e;n<r.length;n++)o(r[n])}function wn(e,t){Cn.__remapped[Sn(e)]=Sn(t)}function In(e){var t=void 0,o=Cn.__options;if(e=e?Sn(e):"",e=Cn.__remapped[e]||e)if(t=Cn[e]){var n=t.subset;n&&n.fontFace&&(n.isRegistered||(ot(n.fontFace),n.isRegistered=!0),n.className||(n.className=te(n.style,{fontFamily:n.fontFace.fontFamily,fontWeight:n.fontFace.fontWeight||"normal",fontStyle:n.fontFace.fontStyle||"normal"})))}else!o.disableWarnings&&o.warnOnMissingIcons&&bn('The icon "'.concat(e,'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.'));return t}function Dn(e){Cn.__options=d(d({},Cn.__options),e)}var En=[],Tn=void 0;function Pn(e){Cn.__options.disableWarnings||(En.push(e),void 0===Tn&&(Tn=setTimeout((function(){bn("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n"+En.slice(0,10).join(", ")+(En.length>10?" (+ ".concat(En.length-10," more)"):"")),Tn=void 0,En=[]}),2e3)))}var Rn={display:"inline-block"};function Mn(e){var t="",o=In(e);return o&&(t=te(o.subset.className,Rn,{selectors:{"::before":{content:'"'.concat(o.code,'"')}}})),t}function Nn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles&&!_(e[0]))return e[0];for(var o={},n={},r=0,i=e;r<i.length;r++){var a=i[r];if(a&&!_(a))for(var s in a)if(a.hasOwnProperty(s)){if("subComponentStyles"===s&&void 0!==a.subComponentStyles){var l=a.subComponentStyles;for(var c in l)l.hasOwnProperty(c)&&(n.hasOwnProperty(c)?n[c].push(l[c]):n[c]=[l[c]]);continue}var u=o[s],d=a[s];o[s]=void 0===u?d:m(m([],Array.isArray(u)?u:[u],!0),Array.isArray(d)?d:[d],!0)}}if(Object.keys(n).length>0){o.subComponentStyles={};var p=o.subComponentStyles,h=function(e){if(n.hasOwnProperty(e)){var t=n[e];p[e]=function(e){return Nn.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var c in n)h(c)}return o}function Bn(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];for(var n=[],r=0,i=t;r<i.length;r++){var a=i[r];a&&n.push("function"==typeof a?a(e):a)}return 1===n.length?n[0]:n.length?Nn.apply(void 0,n):{}}function An(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Fn(e,w())}function Fn(e,t){var o,n={subComponentStyles:{}},r=void 0;_(e[0])?(r=e[0],o=e[1]):o=e[0],null!=r||(r=null==t?void 0:t.shadowConfig);var i=d(d({},t),{shadowConfig:r});if(!o&&e.length<=1)return{subComponentStyles:{}};var a=M.getInstance(r);i.stylesheet=a;var s=Nn.apply(void 0,e),l=[];for(var c in s)if(s.hasOwnProperty(c)){if("subComponentStyles"===c){n.subComponentStyles=s.subComponentStyles||{};continue}if("__shadowConfig__"===c)continue;var u=S(a,s[c]),p=u.classes,h=u.objects;(null==h?void 0:h.length)?(g=$(i||{},{displayName:c},h))&&(l.push(g),n[c]=p.concat([g.className]).join(" ")):n[c]=p.join(" ")}for(var m=0,f=l;m<f.length;m++){var g;(g=f[m])&&ee(g,null==t?void 0:t.specificityMultiplier,r)}return n}var Ln={},Hn=void 0;try{Hn=window}catch(e){}function On(e,t){if(void 0!==Hn){var o=Hn.__packages__=Hn.__packages__||{};o[e]&&Ln[e]||(Ln[e]=t,(o[e]=o[e]||[]).push(t))}}On("@fluentui/set-version","6.0.0"),On("@fluentui/style-utilities","8.11.5"),ro();var zn=Do((function(e,t,o,n){return{root:te(e.__shadowConfig__,"ms-ActivityItem",t,e.root,n&&e.isCompactRoot),pulsingBeacon:te(e.__shadowConfig__,"ms-ActivityItem-pulsingBeacon",e.pulsingBeacon),personaContainer:te(e.__shadowConfig__,"ms-ActivityItem-personaContainer",e.personaContainer,n&&e.isCompactPersonaContainer),activityPersona:te(e.__shadowConfig__,"ms-ActivityItem-activityPersona",e.activityPersona,n&&e.isCompactPersona,!n&&o&&2===o.length&&e.doublePersona),activityTypeIcon:te(e.__shadowConfig__,"ms-ActivityItem-activityTypeIcon",e.activityTypeIcon,n&&e.isCompactIcon),activityContent:te(e.__shadowConfig__,"ms-ActivityItem-activityContent",e.activityContent,n&&e.isCompactContent),activityText:te(e.__shadowConfig__,"ms-ActivityItem-activityText",e.activityText),commentText:te(e.__shadowConfig__,"ms-ActivityItem-commentText",e.commentText),timeStamp:te(e.__shadowConfig__,"ms-ActivityItem-timeStamp",e.timeStamp,n&&e.isCompactTimeStamp)}})),Wn="32px",Vn="16px",Kn="16px",Gn="13px",Un=Do((function(){return re({from:{opacity:0},to:{opacity:1}})})),jn=Do((function(){return re({from:{transform:"translateX(-10px)"},to:{transform:"translateX(0)"}})})),qn=Do((function(e,t,o,n,r,i){var a;void 0===e&&(e=io());var s={animationName:bo.continuousPulseAnimationSingle(n||e.palette.themePrimary,r||e.palette.themeTertiary,"4px","28px","4px"),animationIterationCount:"1",animationDuration:".8s",zIndex:1},l={animationName:jn(),animationIterationCount:"1",animationDuration:".5s"},c={animationName:Un(),animationIterationCount:"1",animationDuration:".5s"},u={root:[e.fonts.small,{display:"flex",justifyContent:"flex-start",alignItems:"flex-start",boxSizing:"border-box",color:e.palette.neutralSecondary},i&&o&&c],pulsingBeacon:[{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"0px",height:"0px",borderRadius:"225px",borderStyle:"solid",opacity:0},i&&o&&s],isCompactRoot:{alignItems:"center"},personaContainer:{display:"flex",flexWrap:"wrap",minWidth:Wn,width:Wn,height:Wn},isCompactPersonaContainer:{display:"inline-flex",flexWrap:"nowrap",flexBasis:"auto",height:Vn,width:"auto",minWidth:"0",paddingRight:"6px"},activityTypeIcon:{height:Wn,fontSize:Kn,lineHeight:Kn,marginTop:"3px"},isCompactIcon:{height:Vn,minWidth:Vn,fontSize:Gn,lineHeight:Gn,color:e.palette.themePrimary,marginTop:"1px",position:"relative",display:"flex",justifyContent:"center",alignItems:"center",selectors:{".ms-Persona-imageArea":{margin:"-2px 0 0 -2px",border:"2px solid"+e.palette.white,borderRadius:"50%",selectors:(a={},a[Mo]={border:"none",margin:"0"},a)}}},activityPersona:{display:"block"},doublePersona:{selectors:{":first-child":{alignSelf:"flex-end"}}},isCompactPersona:{display:"inline-block",width:"8px",minWidth:"8px",overflow:"visible"},activityContent:[{padding:"0 8px"},i&&o&&l],activityText:{display:"inline"},isCompactContent:{flex:"1",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflowX:"hidden"},commentText:{color:e.palette.neutralPrimary},timeStamp:[e.fonts.tiny,{fontWeight:400,color:e.palette.neutralSecondary}],isCompactTimeStamp:{display:"inline-block",paddingLeft:"0.3em",fontSize:"1em"}},d=t||{},h=d.__shadowConfig__,m=p(d,["__shadowConfig__"]);return h?Nn(h,u,m):Nn(u,t)})),Yn=function(){return!1},Zn=function(){return y},Xn=function(){return new Map},Qn=function(){},Jn=function(){return{stylesheets:new Map,useAdoptedStylesheetEx:Yn,useAdoptedStylesheet:Yn,useShadowConfig:Zn,useMergeStylesShadowRootContext:Qn,useHasMergeStylesShadowRootContext:Yn,useMergeStylesRootStylesheets:Xn,useWindow:Qn,useStyled:Qn}},$n=g.createContext(Jn()),er=function(){var e=g.useContext($n);return{useAdoptedStylesheet:e.useAdoptedStylesheet,useAdoptedStylesheetEx:e.useAdoptedStylesheetEx,useShadowConfig:e.useShadowConfig,useMergeStylesShadowRootContext:e.useMergeStylesShadowRootContext,useHasMergeStylesShadowRootContext:e.useHasMergeStylesShadowRootContext,useMergeStylesRootStylesheets:e.useMergeStylesRootStylesheets,useWindow:e.useWindow,useStyled:e.useStyled}},tr=g.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}});function or(e,t){var o,n=(o=g.useState(0)[1],function(){return o((function(e){return++e}))}),r=g.useContext(tr).customizations,i=r.inCustomizerContext;return g.useEffect((function(){return i||At.observe(n),function(){i||At.unobserve(n)}}),[i]),At.getSettings(e,t,r)}var nr=["theme","styles"];function rr(e,t,o,n,r){var i=(n=n||{scope:"",fields:void 0}).scope,a=n.fields,s=void 0===a?nr:a,l=g.forwardRef((function(n,r){var a=g.useRef(),l=or(s,i),c=l.styles,u=(l.dir,p(l,["styles","dir"])),h=o?o(n):void 0,m=er().useStyled,f=a.current&&a.current.__cachedInputs__||[],v=n.styles;if(!a.current||c!==f[1]||v!==f[2]){var b=function(e){return Bn(e,t,c,v)};b.__cachedInputs__=[t,c,v],b.__noStyleOverride__=!c&&!v,a.current=b}return a.current.__shadowConfig__=m(i),g.createElement(e,d({ref:r},u,h,n,{styles:a.current}))}));l.displayName="Styled".concat(e.displayName||e.name);var c=r?g.memo(l):l;return l.displayName&&(c.displayName=l.displayName),c}var ir,ar={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pauseBreak:19,capslock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,del:46,zero:48,one:49,two:50,three:51,four:52,five:53,six:54,seven:55,eight:56,nine:57,colon:58,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindow:91,rightWindow:92,select:93,zero_numpad:96,one_numpad:97,two_numpad:98,three_numpad:99,four_numpad:100,five_numpad:101,six_numpad:102,seven_numpad:103,eight_numpad:104,nine_numpad:105,multiply:106,add:107,subtract:109,decimalPoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrollLock:145,semicolon:186,equalSign:187,comma:188,dash:189,period:190,forwardSlash:191,graveAccent:192,openBracket:219,backSlash:220,closeBracket:221,singleQuote:222},sr="isRTL";function lr(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===ir){var t=ht(sr);null!==t&&cr(ir="1"===t);var o=ct();void 0===ir&&o&&x(ir="rtl"===(o.body&&o.body.getAttribute("dir")||o.documentElement.getAttribute("dir")))}return!!ir}function cr(e,t){void 0===t&&(t=!1);var o=ct();o&&o.documentElement.setAttribute("dir",e?"rtl":"ltr"),t&&mt(sr,e?"1":"0"),x(ir=e)}function ur(e,t){return void 0===t&&(t={}),lr(t)&&(e===ar.left?e=ar.right:e===ar.right&&(e=ar.left)),e}var dr=50,pr=5,hr=0,mr=M.getInstance();mr&&mr.onReset&&mr.onReset((function(){return hr++}));var fr="__retval__";function gr(e){void 0===e&&(e={});var t=new Map,o=0,n=0,r=hr;return function(i,a){var s;if(void 0===a&&(a={}),e.useStaticStyles&&"function"==typeof i&&i.__noStyleOverride__)return i(a);n++;var l=i?i.__shadowConfig__:void 0,c=l&&l.window?l.window:"__default__";t.has(c)||t.set(c,new Map);var u=t.get(c),d=a.theme,p=d&&void 0!==d.rtl?d.rtl:lr(),h=e.disableCaching;if(r!==hr&&(r=hr,t.set(c,new Map),u=t.get(c),o=0),e.disableCaching||(u=br(t.get(c),i),u=br(u,a)),!h&&u[fr]||(u[fr]=void 0===i?{}:Fn(["function"==typeof i?i(a):i],{shadowConfig:i.__shadowConfig__,rtl:!!p,specificityMultiplier:e.useStaticStyles?pr:void 0}),h||o++),o>(e.cacheSize||dr)){var m=pt();(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[fr]}}function vr(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 br(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var o=0,n=t.__cachedInputs__;o<n.length;o++)e=vr(e,n[o]);else e=vr(e,t);else if("object"==typeof t)for(var r in t)t.hasOwnProperty(r)&&(e=vr(e,t[r]));return e}function yr(e,t){for(var o=d({},t),n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];void 0===o[i]&&(o[i]=e[i])}return o}var Cr=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var o={},n=0,r=e;n<r.length;n++)for(var i=r[n],a=0,s=Array.isArray(i)?i:Object.keys(i);a<s.length;a++)o[s[a]]=1;return o},_r=Cr(["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),Sr=Cr(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),xr=Cr(Sr,_r),kr=Cr(xr,["form"]),wr=Cr(xr,["height","loop","muted","preload","src","width"]),Ir=Cr(wr,["poster"]),Dr=Cr(xr,["start"]),Er=Cr(xr,["value"]),Tr=Cr(xr,["download","href","hrefLang","media","rel","target","type"]),Pr=Cr(xr,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),Rr=Cr(Pr,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),Mr=Cr(Pr,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]),Nr=Cr(Pr,["form","multiple","required"]),Br=Cr(xr,["selected","value"]),Ar=Cr(xr,["cellPadding","cellSpacing"]),Fr=xr,Lr=Cr(xr,["rowSpan","scope"]),Hr=Cr(xr,["colSpan","headers","rowSpan","scope"]),Or=Cr(xr,["span"]),zr=Cr(xr,["span"]),Wr=Cr(xr,["acceptCharset","action","encType","encType","method","noValidate","target"]),Vr=Cr(xr,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),Kr=Cr(xr,["alt","crossOrigin","height","src","srcSet","useMap","width"]),Gr=Kr,Ur=xr;function jr(e,t,o){for(var n=Array.isArray(t),r={},i=0,a=Object.keys(e);i<a.length;i++){var s=a[i];!(!n&&t[s]||n&&t.indexOf(s)>=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,Yr,Zr,Xr,Qr=/[\(\[\{\<][^\)\]\}\>]*[\)\]\}\>]/g,Jr=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,$r=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,ei=/\s+/g,ti=/[\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 oi(e,t,o){return e?(e=function(e){return(e=(e=(e=e.replace(Qr,"")).replace(Jr,"")).replace(ei," ")).trim()}(e),ti.test(e)||!o&&$r.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"}(Yr||(Yr={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(Zr||(Zr={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(Xr||(Xr={}));var ni=lt()?g.useLayoutEffect:g.useEffect;function ri(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=g.useCallback((function(t){o.current=t;for(var n=0,r=e;n<r.length;n++){var i=r[n];"function"==typeof i?i(t):i&&(i.current=t)}}),m([],e,!0));return o}var ii=gr(),ai=/\.svg$/i,si=g.forwardRef((function(e,t){var o=g.useRef(),n=g.useRef(),r=function(e,t){var o=e.onLoadingStateChange,n=e.onLoad,r=e.onError,i=e.src,a=g.useState(Xr.notLoaded),s=a[0],l=a[1];ni((function(){l(Xr.notLoaded)}),[i]),g.useEffect((function(){s===Xr.notLoaded&&t.current&&(i&&t.current.naturalWidth>0&&t.current.naturalHeight>0||t.current.complete&&ai.test(i))&&l(Xr.loaded)})),g.useEffect((function(){null==o||o(s)}),[s]);var c=g.useCallback((function(e){null==n||n(e),i&&l(Xr.loaded)}),[i,n]),u=g.useCallback((function(e){null==r||r(e),l(Xr.error)}),[r]);return[s,c,u]}(e,n),i=r[0],a=r[1],s=r[2],l=jr(e,Kr,["width","height"]),c=e.src,u=e.alt,p=e.width,h=e.height,m=e.shouldFadeIn,f=void 0===m||m,v=e.shouldStartVisible,b=e.className,y=e.imageFit,C=e.role,_=e.maximizeFrame,S=e.styles,x=e.theme,k=e.loading,w=function(e,t,o,n){var r=g.useRef(t),i=g.useRef();return(void 0===i||r.current===Xr.notLoaded&&t===Xr.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===Xr.loaded&&(r===Yr.cover||r===Yr.contain||r===Yr.centerContain||r===Yr.centerCover)&&o.current&&n.current){var s;if(s="number"==typeof i&&"number"==typeof a&&r!==Yr.centerContain&&r!==Yr.centerCover?i/a:n.current.clientWidth/n.current.clientHeight,o.current.naturalWidth/o.current.naturalHeight>s)return Zr.landscape}return Zr.portrait}(e,t,o,n)),r.current=t,i.current}(e,i,n,o),I=ii(S,{theme:x,className:b,width:p,height:h,maximizeFrame:_,shouldFadeIn:f,shouldStartVisible:v,isLoaded:i===Xr.loaded||i===Xr.notLoaded&&e.shouldStartVisible,isLandscape:w===Zr.landscape,isCenter:y===Yr.center,isCenterContain:y===Yr.centerContain,isCenterCover:y===Yr.centerCover,isContain:y===Yr.contain,isCover:y===Yr.cover,isNone:y===Yr.none,isError:i===Xr.error,isNotImageFit:void 0===y});return g.createElement("div",{className:I.root,style:{width:p,height:h},ref:o},g.createElement("img",d({},l,{onLoad:a,onError:s,key:"fabricImage"+e.src||"",className:I.image,ref:ri(n,t),src:c,alt:u,role:C,loading:k})))}));si.displayName="ImageBase";var li={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"},ci=rr(si,(function(e){var t=e.className,o=e.width,n=e.height,r=e.maximizeFrame,i=e.isLoaded,a=e.shouldFadeIn,s=e.shouldStartVisible,l=e.isLandscape,c=e.isCenter,u=e.isContain,d=e.isCover,p=e.isCenterContain,h=e.isCenterCover,m=e.isNone,f=e.isError,g=e.isNotImageFit,v=e.theme,b=Ro(li,v),y={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},C=pt(),_=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&&tt.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);ci.displayName="Image";var ui=An({root:{display:"inline-block",textDecoration:"inherit"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),di="ms-Icon";function pi(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var o=[],n=0,r=e;n<r.length;n++){var i=r[n];if(i)if("string"==typeof i)o.push(i);else if(i.hasOwnProperty("toString")&&"function"==typeof i.toString)o.push(i.toString());else for(var a in i)i[a]&&o.push(a)}return o.join(" ")}var hi,mi,fi,gi,vi,bi,yi=Do((function(e){var t=In(e)||{subset:{},code:void 0},o=t.code,n=t.subset;return o?{children:o,iconClassName:n.className,fontFamily:n.fontFace&&n.fontFace.fontFamily,mergeImageProps:n.mergeImageProps}:null}),void 0,!0),Ci=function(e){var t=e.iconName,o=e.className,n=e.style,r=void 0===n?{}:n,i=yi(t)||{},a=i.iconClassName,s=i.children,l=i.fontFamily,c=i.mergeImageProps,u=jr(e,xr),p=e["aria-label"]||e.title,h=e["aria-label"]||e["aria-labelledby"]||e.title?{role:c?void 0:"img"}:{"aria-hidden":!0},m=s;return c&&"object"==typeof s&&"object"==typeof s.props&&p&&(m=g.cloneElement(s,{alt:p})),g.createElement("i",d({"data-icon-name":t},h,u,c?{title:void 0,"aria-label":void 0}:{},{className:pi(di,ui.root,a,!t&&ui.placeholder,o),style:d({fontFamily:l},r)}),m)},_i=Do((function(e,t,o){return Ci({iconName:e,className:t,"aria-label":o})})),Si=gr({cacheSize:100}),xi=function(e){function t(t){var o=e.call(this,t)||this;return o._onImageLoadingStateChange=function(e){o.props.imageProps&&o.props.imageProps.onLoadingStateChange&&o.props.imageProps.onLoadingStateChange(e),e===Xr.error&&o.setState({imageLoadError:!0})},o.state={imageLoadError:!1},o}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.children,o=e.className,n=e.styles,r=e.iconName,i=e.imageErrorAs,a=e.theme,s="string"==typeof r&&0===r.length,l=!!this.props.imageProps||this.props.iconType===qr.image||this.props.iconType===qr.Image,c=yi(r)||{},u=c.iconClassName,p=c.children,h=c.mergeImageProps,m=Si(n,{theme:a,className:o,iconClassName:u,isImage:l,isPlaceholder:s}),f=l?"span":"i",v=jr(this.props,xr,["aria-label"]),b=this.state.imageLoadError,y=d(d({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),C=b&&i||ci,_=this.props["aria-label"]||this.props.ariaLabel,S=y.alt||_||this.props.title,x=S||this.props["aria-labelledby"]||y["aria-label"]||y["aria-labelledby"]?{role:l||h?void 0:"img","aria-label":l||h?void 0:S}:{"aria-hidden":!0},k=p;return h&&p&&"object"==typeof p&&S&&(k=g.cloneElement(p,{alt:S})),g.createElement(f,d({"data-icon-name":r},x,v,h?{title:void 0,"aria-label":void 0}:{},{className:m.root}),l?g.createElement(C,d({},y)):t||k)},t}(g.Component),ki=rr(xi,(function(e){var t=e.className,o=e.iconClassName,n=e.isPlaceholder,r=e.isImage,i=e.styles;return{root:[n&&ui.placeholder,ui.root,r&&ui.image,o,t,i&&i.root,i&&i.imageContainer]}}),void 0,{scope:"Icon"},!0);ki.displayName="Icon",function(e){e[e.tiny=0]="tiny",e[e.extraExtraSmall=1]="extraExtraSmall",e[e.extraSmall=2]="extraSmall",e[e.small=3]="small",e[e.regular=4]="regular",e[e.large=5]="large",e[e.extraLarge=6]="extraLarge",e[e.size8=17]="size8",e[e.size10=9]="size10",e[e.size16=8]="size16",e[e.size24=10]="size24",e[e.size28=7]="size28",e[e.size32=11]="size32",e[e.size40=12]="size40",e[e.size48=13]="size48",e[e.size56=16]="size56",e[e.size72=14]="size72",e[e.size100=15]="size100",e[e.size120=18]="size120"}(hi||(hi={})),function(e){e[e.none=0]="none",e[e.offline=1]="offline",e[e.online=2]="online",e[e.away=3]="away",e[e.dnd=4]="dnd",e[e.blocked=5]="blocked",e[e.busy=6]="busy"}(mi||(mi={})),function(e){e[e.lightBlue=0]="lightBlue",e[e.blue=1]="blue",e[e.darkBlue=2]="darkBlue",e[e.teal=3]="teal",e[e.lightGreen=4]="lightGreen",e[e.green=5]="green",e[e.darkGreen=6]="darkGreen",e[e.lightPink=7]="lightPink",e[e.pink=8]="pink",e[e.magenta=9]="magenta",e[e.purple=10]="purple",e[e.black=11]="black",e[e.orange=12]="orange",e[e.red=13]="red",e[e.darkRed=14]="darkRed",e[e.transparent=15]="transparent",e[e.violet=16]="violet",e[e.lightRed=17]="lightRed",e[e.gold=18]="gold",e[e.burgundy=19]="burgundy",e[e.warmGray=20]="warmGray",e[e.coolGray=21]="coolGray",e[e.gray=22]="gray",e[e.cyan=23]="cyan",e[e.rust=24]="rust"}(fi||(fi={})),function(e){e.size8="20px",e.size10="20px",e.size16="16px",e.size24="24px",e.size28="28px",e.size32="32px",e.size40="40px",e.size48="48px",e.size56="56px",e.size72="72px",e.size100="100px",e.size120="120px"}(vi||(vi={})),function(e){e.size6="6px",e.size8="8px",e.size12="12px",e.size16="16px",e.size20="20px",e.size28="28px",e.size32="32px",e.border="2px"}(bi||(bi={}));var wi=function(e){return{isSize8:e===hi.size8,isSize10:e===hi.size10||e===hi.tiny,isSize16:e===hi.size16,isSize24:e===hi.size24||e===hi.extraExtraSmall,isSize28:e===hi.size28||e===hi.extraSmall,isSize32:e===hi.size32,isSize40:e===hi.size40||e===hi.small,isSize48:e===hi.size48||e===hi.regular,isSize56:e===hi.size56,isSize72:e===hi.size72||e===hi.large,isSize100:e===hi.size100||e===hi.extraLarge,isSize120:e===hi.size120}},Ii=((gi={})[hi.tiny]=10,gi[hi.extraExtraSmall]=24,gi[hi.extraSmall]=28,gi[hi.small]=40,gi[hi.regular]=48,gi[hi.large]=72,gi[hi.extraLarge]=100,gi[hi.size8]=8,gi[hi.size10]=10,gi[hi.size16]=16,gi[hi.size24]=24,gi[hi.size28]=28,gi[hi.size32]=32,gi[hi.size40]=40,gi[hi.size48]=48,gi[hi.size56]=56,gi[hi.size72]=72,gi[hi.size100]=100,gi[hi.size120]=120,gi),Di=function(e){return{isAvailable:e===mi.online,isAway:e===mi.away,isBlocked:e===mi.blocked,isBusy:e===mi.busy,isDoNotDisturb:e===mi.dnd,isOffline:e===mi.offline}},Ei=gr({cacheSize:100}),Ti=g.forwardRef((function(e,t){var o=e.coinSize,n=e.isOutOfOffice,r=e.styles,i=e.presence,a=e.theme,s=e.presenceTitle,l=e.presenceColors,c=ri(t,g.useRef(null)),u=wi(e.size),d=!(u.isSize8||u.isSize10||u.isSize16||u.isSize24||u.isSize28||u.isSize32)&&(!o||o>32),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=Ei(r,{theme:a,presence:i,size:e.size,isOutOfOffice:n,presenceColors:l});return i===mi.none?null:g.createElement("div",{role:"presentation",className:f.presence,style:m,title:s,ref:c},d&&g.createElement(ki,{className:f.presenceIcon,iconName:Pi(e.presence,e.isOutOfOffice),style:h}))}));function Pi(e,t){if(e){var o="SkypeArrow";switch(mi[e]){case"online":return"SkypeCheck";case"away":return t?o:"SkypeClock";case"dnd":return"SkypeMinus";case"offline":return t?o:""}return""}}Ti.displayName="PersonaPresenceBase";var Ri={presence:"ms-Persona-presence",presenceIcon:"ms-Persona-presenceIcon"};function Mi(e){return{color:e,borderColor:e}}function Ni(e,t){return{selectors:{":before":{border:"".concat(e," solid ").concat(t)}}}}function Bi(e){return{height:e,width:e}}function Ai(e){return{backgroundColor:e}}var Fi=rr(Ti,(function(e){var t,o,n,r,i,a,s=e.theme,l=e.presenceColors,c=s.semanticColors,u=s.fonts,p=Ro(Ri,s),h=wi(e.size),m=Di(e.presence),f=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=m.isOffline||e.isOutOfOffice&&(m.isAvailable||m.isBusy||m.isAway||m.isDoNotDisturb),x=h.isSize72||h.isSize100?"2px":"1px";return{presence:[p.presence,d(d({position:"absolute",height:bi.size12,width:bi.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[Mo]={borderColor:"Window",backgroundColor:"WindowText"},t)}),(h.isSize8||h.isSize10)&&{right:"auto",top:"7px",left:0,border:0,selectors:(o={},o[Mo]={top:"9px",border:"1px solid WindowText"},o)},(h.isSize8||h.isSize10||h.isSize24||h.isSize28||h.isSize32)&&Bi(bi.size8),(h.isSize40||h.isSize48)&&Bi(bi.size12),h.isSize16&&{height:bi.size6,width:bi.size6,borderWidth:"1.5px"},h.isSize56&&Bi(bi.size16),h.isSize72&&Bi(bi.size20),h.isSize100&&Bi(bi.size28),h.isSize120&&Bi(bi.size32),m.isAvailable&&{backgroundColor:f,selectors:(n={},n[Mo]=Ai("Highlight"),n)},m.isAway&&Ai(g),m.isBlocked&&[{selectors:(r={":after":h.isSize40||h.isSize48||h.isSize72||h.isSize100?{content:'""',width:"100%",height:x,backgroundColor:v,transform:"translateY(-50%) rotate(-45deg)",position:"absolute",top:"50%",left:0}:void 0},r[Mo]={selectors:{":after":{width:"calc(100% - 4px)",left:"2px",backgroundColor:"Window"}}},r)}],m.isBusy&&Ai(v),m.isDoNotDisturb&&Ai(b),m.isOffline&&Ai(y),(S||m.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[Mo]={backgroundColor:"WindowText",selectors:{":before":{width:"calc(100% - 2px)",height:"calc(100% - 2px)",top:"1px",left:"1px",borderColor:"Window"}}},i)}],S&&m.isAvailable&&Ni(x,f),S&&m.isBusy&&Ni(x,v),S&&m.isAway&&Ni(x,C),S&&m.isDoNotDisturb&&Ni(x,b),S&&m.isOffline&&Ni(x,y),S&&m.isOffline&&e.isOutOfOffice&&Ni(x,C)],presenceIcon:[p.presenceIcon,{color:_,fontSize:"6px",lineHeight:bi.size12,verticalAlign:"top",selectors:(a={},a[Mo]={color:"Window"},a)},h.isSize56&&{fontSize:"8px",lineHeight:bi.size16},h.isSize72&&{fontSize:u.small.fontSize,lineHeight:bi.size20},h.isSize100&&{fontSize:u.medium.fontSize,lineHeight:bi.size28},h.isSize120&&{fontSize:u.medium.fontSize,lineHeight:bi.size32},m.isAway&&{position:"relative",left:S?void 0:"1px"},S&&m.isAvailable&&Mi(f),S&&m.isBusy&&Mi(v),S&&m.isAway&&Mi(C),S&&m.isDoNotDisturb&&Mi(b),S&&m.isOffline&&Mi(y),S&&m.isOffline&&e.isOutOfOffice&&Mi(C)]}}),void 0,{scope:"PersonaPresence"}),Li=[fi.lightBlue,fi.blue,fi.darkBlue,fi.teal,fi.green,fi.darkGreen,fi.lightPink,fi.pink,fi.magenta,fi.purple,fi.orange,fi.lightRed,fi.darkRed,fi.violet,fi.gold,fi.burgundy,fi.warmGray,fi.cyan,fi.rust,fi.coolGray],Hi=Li.length;function Oi(e){var t=e.primaryText,o=e.text,n=e.initialsColor;return"string"==typeof n?n:function(e){switch(e){case fi.lightBlue:return"#4F6BED";case fi.blue:return"#0078D4";case fi.darkBlue:return"#004E8C";case fi.teal:return"#038387";case fi.lightGreen:case fi.green:return"#498205";case fi.darkGreen:return"#0B6A0B";case fi.lightPink:return"#C239B3";case fi.pink:return"#E3008C";case fi.magenta:return"#881798";case fi.purple:return"#5C2E91";case fi.orange:return"#CA5010";case fi.red:return"#EE1111";case fi.lightRed:return"#D13438";case fi.darkRed:return"#A4262C";case fi.transparent:return"transparent";case fi.violet:return"#8764B8";case fi.gold:return"#986F0B";case fi.burgundy:return"#750B1C";case fi.warmGray:return"#7A7574";case fi.cyan:return"#005B70";case fi.rust:return"#8E562E";case fi.coolGray:return"#69797E";case fi.black:return"#1D1D1D";case fi.gray:return"#393939"}}(n=void 0!==n?n:function(e){var t=fi.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<<i)+(r>>8-i)}return Li[o%Hi]}(o||t))}var zi=gr({cacheSize:100}),Wi=Do((function(e,t,o,n,r,i){return te(e,!i&&{backgroundColor:Oi({text:n,initialsColor:t,primaryText:r}),color:o})})),Vi={size:hi.size48,presence:mi.none,imageAlt:""},Ki=g.forwardRef((function(e,t){var o=yr(Vi,e),n=function(e){var t=e.onPhotoLoadingStateChange,o=e.imageUrl,n=g.useState(Xr.notLoaded),r=n[0],i=n[1];return g.useEffect((function(){i(Xr.notLoaded)}),[o]),[r,function(e){i(e),null==t||t(e)}]}(o),r=n[0],i=n[1],a=Gi(i),s=o.className,l=o.coinProps,c=o.showUnknownPersonaCoin,u=o.coinSize,p=o.styles,h=o.imageUrl,m=o.initialsColor,f=o.initialsTextColor,v=o.isOutOfOffice,b=o.onRenderCoin,y=void 0===b?a:b,C=o.onRenderPersonaCoin,_=void 0===C?y:C,S=o.onRenderInitials,x=void 0===S?Ui: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=jr(o,Ur),N=jr(l||{},Ur),B=u?{width:u,height:u}:void 0,A=c,F={coinSize:u,isOutOfOffice:v,presence:k,presenceTitle:w,presenceColors:I,size:R,theme:P},L=zi(p,{theme:P,className:l&&l.className?l.className:s,size:R,coinSize:u,showUnknownPersonaCoin:c}),H=Boolean(r!==Xr.loaded&&(E&&h||!h||r===Xr.error||A));return g.createElement("div",d({role:"presentation"},M,{className:L.coin,ref:t}),R!==hi.size8&&R!==hi.size10&&R!==hi.tiny?g.createElement("div",d({role:"presentation"},N,{className:L.imageArea,style:B}),H&&g.createElement("div",{className:Wi(L.initials,m,f,T,D,c),style:B,"aria-hidden":"true"},x(o,Ui)),!A&&_(o,a),g.createElement(Fi,d({},F))):o.presence?g.createElement(Fi,d({},F)):g.createElement(ki,{iconName:"Contact",className:L.size10WithoutPresenceIcon}),o.children)}));Ki.displayName="PersonaCoinBase";var Gi=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?Vi.size:u;if(!r)return null;var p=zi(n,{theme:l,size:d,showUnknownPersonaCoin:c}),h=o||Ii[d];return g.createElement(ci,{className:p.image,imageFit:Yr.cover,src:r,width:h,height:h,alt:i,shouldFadeIn:a,shouldStartVisible:s,onLoadingStateChange:e})}},Ui=function(e){var t=e.imageInitials,o=e.allowPhoneInitials,n=e.showUnknownPersonaCoin,r=e.text,i=e.primaryText,a=e.theme;if(n)return g.createElement(ki,{iconName:"Help"});var s=lr(a);return""!==(t=t||oi(r||i||"",s,o))?g.createElement("span",null,t):g.createElement(ki,{iconName:"Contact"})},ji={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=rr(Ki,(function(e){var t,o=e.className,n=e.theme,r=e.coinSize,i=n.palette,a=n.fonts,s=wi(e.size),l=Ro(ji,n),c=r||e.size&&Ii[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:$e.semibold,lineHeight:48===c?46:c,height:c,selectors:(t={},t[Mo]=d(d({border:"1px solid WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"WindowText",boxSizing:"border-box",backgroundColor:"Window !important"}),t.i={fontWeight:$e.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"}),Yi=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?g.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?g.createElement("div",{className:t.commentText},n):null},o._onRenderTimeStamp=function(e){var t=o._getClassNames(e);return!e.isCompact&&e.timeStamp?g.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<s})).forEach((function(e,o){i.push(g.createElement(qi,d({},e,{key:e.key||o,className:t.activityPersona,size:a?hi.size16:hi.size32,style:l})))})),n=g.createElement("div",{className:t.personaContainer},i)}return n},o}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.onRenderIcon,o=void 0===t?this._onRenderIcon:t,n=e.onRenderActivityDescription,r=void 0===n?this._onRenderActivityDescription:n,i=e.onRenderComments,a=void 0===i?this._onRenderComments:i,s=e.onRenderTimeStamp,l=void 0===s?this._onRenderTimeStamp:s,c=e.animateBeaconSignal,u=e.isCompact,d=this._getClassNames(this.props);return g.createElement("div",{className:d.root,style:this.props.style},(this.props.activityPersonas||this.props.activityIcon||this.props.onRenderIcon)&&g.createElement("div",{className:d.activityTypeIcon},c&&u&&g.createElement("div",{className:d.pulsingBeacon}),o(this.props)),g.createElement("div",{className:d.activityContent},r(this.props,this._onRenderActivityDescription),a(this.props,this._onRenderComments),l(this.props,this._onRenderTimeStamp)))},t.prototype._getClassNames=function(e){return zn(qn(void 0,e.styles,e.animateBeaconSignal,e.beaconColorOne,e.beaconColorTwo,e.isCompact),e.className,e.activityPersonas,e.isCompact)},t}(g.Component),Zi=function(){var e,t=pt();return!!(null===(e=null==t?void 0:t.navigator)||void 0===e?void 0:e.userAgent)&&t.navigator.userAgent.indexOf("rv:11.0")>-1};function Xi(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return t.length<2?t[0]:function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];t.forEach((function(t){return t&&t.apply(e,o)}))}}function Qi(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=Xi(e,e[o],t[o]))}function Ji(e){Qi(e,{componentDidMount:$i,componentDidUpdate:ea,componentWillUnmount:ta})}function $i(){oa(this.props.componentRef,this)}function ea(e){e.componentRef!==this.props.componentRef&&(oa(e.componentRef,null),oa(this.props.componentRef,this))}function ta(){oa(this.props.componentRef,null)}function oa(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}var na=function(){function e(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}return e.prototype.dispose=function(){var e;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(e,t){var o=this,n=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),n=setTimeout((function(){try{o._timeoutIds&&delete o._timeoutIds[n],e.apply(o._parent)}catch(e){o._logError(e)}}),t),this._timeoutIds[n]=!0),n},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e,t){var o=this,n=0,r=pt(t);return this._isDisposed||(this._immediateIds||(this._immediateIds={}),n=r.setTimeout((function(){try{o._immediateIds&&delete o._immediateIds[n],e.apply(o._parent)}catch(e){o._logError(e)}}),0),this._immediateIds[n]=!0),n},e.prototype.clearImmediate=function(e,t){var o=pt(t);this._immediateIds&&this._immediateIds[e]&&(o.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var o=this,n=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),n=setInterval((function(){try{e.apply(o._parent)}catch(e){o._logError(e)}}),t),this._intervalIds[n]=!0),n},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,o){var n=this;if(this._isDisposed)return this._noop;var r,i,a=t||0,s=!0,l=!0,c=0,u=null;o&&"boolean"==typeof o.leading&&(s=o.leading),o&&"boolean"==typeof o.trailing&&(l=o.trailing);var d=function(t){var o=Date.now(),p=o-c,h=s?a-p:a;return p>=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<arguments.length;t++)e[t]=arguments[t];return i=e,d(!0)}},e.prototype.debounce=function(e,t,o){var n=this;if(this._isDisposed){var r=function(){};return r.cancel=function(){},r.flush=function(){return null},r.pending=function(){return!1},r}var i,a,s=t||0,l=!1,c=!0,u=null,d=0,p=Date.now(),h=null;o&&"boolean"==typeof o.leading&&(l=o.leading),o&&"boolean"==typeof o.trailing&&(c=o.trailing),o&&"number"==typeof o.maxWait&&!isNaN(o.maxWait)&&(u=o.maxWait);var m=function(e){h&&(n.clearTimeout(h),h=null),p=e},f=function(t){m(t),i=e.apply(n._parent,a)},g=function(e){var t=Date.now(),o=!1;e&&(l&&t-d>=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;t<arguments.length;t++)e[t]=arguments[t];return a=e,g(!0)};return b.cancel=function(){v()&&m(Date.now())},b.flush=function(){return v()&&f(Date.now()),i},b.pending=v,b},e.prototype.requestAnimationFrame=function(e,t){var o=this,n=0,r=pt(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var i=function(){try{o._animationFrameIds&&delete o._animationFrameIds[n],e.apply(o._parent)}catch(e){o._logError(e)}};n=r.requestAnimationFrame?r.requestAnimationFrame(i):r.setTimeout(i,0),this._animationFrameIds[n]=!0}return n},e.prototype.cancelAnimationFrame=function(e,t){var o=pt(t);this._animationFrameIds&&this._animationFrameIds[e]&&(o.cancelAnimationFrame?o.cancelAnimationFrame(e):o.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}(),ra=g.createContext({window:"object"==typeof window?window:void 0}),ia=function(){return g.useContext(ra).window},aa=function(){var e;return null===(e=g.useContext(ra).window)||void 0===e?void 0:e.document},sa=function(e){return g.createElement(ra.Provider,{value:e},e.children)},la="backward",ca=function(e){function t(t){var o=e.call(this,t)||this;return o._inputElement=g.createRef(),o._autoFillEnabled=!0,o._onCompositionStart=function(e){o.setState({isComposing:!0}),o._autoFillEnabled=!1},o._onCompositionUpdate=function(){Zi()&&o._updateValue(o._getCurrentInputValue(),!0)},o._onCompositionEnd=function(e){var t=o._getCurrentInputValue();o._tryEnableAutofill(t,o.value,!1,!0),o.setState({isComposing:!1}),o._async.setTimeout((function(){o._updateValue(o._getCurrentInputValue(),!1)}),0)},o._onClick=function(){o.value&&""!==o.value&&o._autoFillEnabled&&(o._autoFillEnabled=!1)},o._onKeyDown=function(e){if(o.props.onKeyDown&&o.props.onKeyDown(e),!e.nativeEvent.isComposing)switch(e.which){case ar.backspace:o._autoFillEnabled=!1;break;case ar.left:case ar.right:o._autoFillEnabled&&(o.setState((function(e){return{inputValue:o.props.suggestedDisplayValue||e.inputValue}})),o._autoFillEnabled=!1);break;default:o._autoFillEnabled||-1!==o.props.enableAutofillOnKeyPress.indexOf(e.which)&&(o._autoFillEnabled=!0)}},o._onInputChanged=function(e){var t=o._getCurrentInputValue(e);if(o.state.isComposing||o._tryEnableAutofill(t,o.value,e.nativeEvent.isComposing),!Zi()||!o.state.isComposing){var n=e.nativeEvent.isComposing,r=void 0===n?o.state.isComposing:n;o._updateValue(t,r)}},o._onChanged=function(){},o._updateValue=function(e,t){if(e||e!==o.value){var n=o.props,r=n.onInputChange,i=n.onInputValueChange;r&&(e=(null==r?void 0:r(e,t))||""),o.setState({inputValue:e},(function(){return null==i?void 0:i(e,t)}))}},Ji(o),o._async=new na(o),o.state={inputValue:t.defaultVisibleValue||"",isComposing:!1},o}return u(t,e),t.getDerivedStateFromProps=function(e,t){if(e.updateValueInWillReceiveProps){var o=e.updateValueInWillReceiveProps();if(null!==o&&o!==t.inputValue&&!t.isComposing)return d(d({},t),{inputValue:o})}return null},Object.defineProperty(t.prototype,"cursorLocation",{get:function(){if(this._inputElement.current){var e=this._inputElement.current;return"forward"!==e.selectionDirection?e.selectionEnd:e.selectionStart}return-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValueSelected",{get:function(){return Boolean(this.inputElement&&this.inputElement.selectionStart!==this.inputElement.selectionEnd)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._getControlledValue()||this.state.inputValue||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._inputElement.current?this._inputElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._inputElement.current?this._inputElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputElement",{get:function(){return this._inputElement.current},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t,o){var n,r=this.props,i=r.suggestedDisplayValue,a=r.shouldSelectFullInputValueInComponentDidUpdate,s=0;if(!r.preventValueSelection){var l=(null===(n=this.context)||void 0===n?void 0:n.window.document)||ct(this._inputElement.current);if(this._inputElement.current&&this._inputElement.current===(null==l?void 0:l.activeElement)&&this._autoFillEnabled&&this.value&&i&&ua(i,this.value)){var c=!1;if(a&&(c=a()),c)this._inputElement.current.setSelectionRange(0,i.length,la);else{for(;s<this.value.length&&this.value[s].toLocaleLowerCase()===i[s].toLocaleLowerCase();)s++;s>0&&this._inputElement.current.setSelectionRange(s,i.length,la)}}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=jr(this.props,Rr),t=d(d({},this.props.style),{fontFamily:"inherit"});return g.createElement("input",d({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&&ua(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:[ar.down,ar.up]},t.contextType=ra,t}(g.Component);function ua(e,t){return!(!e||!t)&&0===e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())}var da,pa=function(e){function t(t){var o=e.call(this,t)||this;return o.state={isRendered:void 0===pt()},o}return u(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?g.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(g.Component),ha=gr(),ma=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(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=ha(o,{className:i});return g.createElement(r,d({role:"status",className:a.root},jr(this.props,Ur,["className"])),g.createElement(pa,null,g.createElement("div",{className:a.screenReaderText},t)))},t.defaultProps={"aria-live":"polite"},t}(g.Component),fa=rr(ma,(function(e){return{root:e.className,screenReaderText:ho}}),void 0,{scope:"Announced"}),ga={none:0,all:1,inputOnly:2};function va(e,t,o){void 0===o&&(o=0);for(var n=-1,r=o;e&&r<e.length;r++)if(t(e[r],r)){n=r;break}return n}function ba(e,t){var o=va(e,t);if(!(o<0))return e[o]}function ya(e,t){for(var o=[],n=0;n<e;n++)o.push(t(n));return o}function Ca(e,t){return e.reduce((function(e,o,n){return n%t==0?e.push([o]):e[e.length-1].push(o),e}),[])}function _a(e,t){return e.filter((function(e,o){return t!==o}))}function Sa(e,t,o){var n=e.slice();return n[o]=t,n}function xa(e,t,o){var n=e.slice();return n.splice(t,0,o),n}function ka(e){var t=[];return e.forEach((function(e){return t=t.concat(e)})),t}function wa(e,t){if(e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(da||(da={}));var Ia=function(e){var t={refs:[]};return function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.resolver&&wa(t.refs,e)||(t.resolver=function(e){return function(t){for(var o=0,n=e.refs;o<n.length;o++){var r=n[o];"function"==typeof r?r(t):r&&(r.current=t)}}}(t)),t.refs=e,t.resolver}};function Da(e){return e&&!!e._virtual}function Ea(e){var t;return e&&Da(e)&&(t=e._virtual.parent),t}function Ta(e,t){var o,n;return void 0===t&&(t=!0),e?t&&Ea(e)||("function"!=typeof e.assignedElements&&(null===(o=e.assignedSlot)||void 0===o?void 0:o.parentNode)?e.assignedSlot:11===(null===(n=e.parentNode)||void 0===n?void 0:n.nodeType)?e.parentNode.host:e.parentNode):null}function Pa(e,t,o){return null!=o||(o=document),!e||e===o.body||e instanceof Document?null:t(e)?e:Pa(Ta(e),t)}function Ra(e,t,o){var n=Pa(e,(function(e){return e.hasAttribute(t)}),o);return n&&n.getAttribute(t)}function Ma(e,t,o){void 0===o&&(o=!0);var n=!1;if(e&&t)if(o)if(e===t)n=!0;else for(n=!1;t;){var r=Ta(t);if(r===e){n=!0;break}t=r}else e.contains&&(n=e.contains(t));return n}var Na="data-is-focusable",Ba="data-is-visible",Aa="data-focuszone-id",Fa="data-is-sub-focuszone";function La(e,t,o,n){return Ka(e,t,!0,!1,!1,o,void 0,void 0,void 0,n)}function Ha(e,t,o,n){return Va(e,t,!0,!1,!0,o,void 0,void 0,n)}function Oa(e,t,o,n,r){return void 0===n&&(n=!0),Ka(e,t,n,!1,!1,o,!1,!0,void 0,r)}function za(e,t,o,n,r){return void 0===n&&(n=!0),Va(e,t,n,!1,!0,o,!1,!0,r)}function Wa(e,t,o){var n=Ka(e,e,!0,!1,!1,!0,void 0,void 0,t,o);return!!n&&(Ja(n),!0)}function Va(e,t,o,n,r,i,a,s,l){var c;if(!t||!a&&t===e)return null;var u=Ga(t);if(r&&u&&(i||!qa(t)&&!Ya(t))){var d=Va(e,t.lastElementChild||l&&(null===(c=t.shadowRoot)||void 0===c?void 0:c.lastElementChild),!0,!0,!0,i,a,s,l);if(d){if(s&&ja(d,!0,l)||!s)return d;var p=Va(e,d.previousElementSibling,!0,!0,!0,i,a,s,l);if(p)return p;for(var h=d.parentElement;h&&h!==t;){var m=Va(e,h.previousElementSibling,!0,!0,!0,i,a,s,l);if(m)return m;h=h.parentElement}}}return o&&u&&ja(t,s,l)?t:Va(e,t.previousElementSibling,!0,!0,!0,i,a,s,l)||(n?null:Va(e,t.parentElement,!0,!1,!1,i,a,s,l))}function Ka(e,t,o,n,r,i,a,s,l,c){var u;if(!t||t===e&&r&&!a)return null;var d=(l?Ua:Ga)(t);if(o&&d&&ja(t,s,c))return t;if(!r&&d&&(i||!qa(t)&&!Ya(t))){var p=Ka(e,t.firstElementChild||c&&(null===(u=t.shadowRoot)||void 0===u?void 0:u.firstElementChild),!0,!0,!1,i,a,s,l,c);if(p)return p}return t===e?null:Ka(e,t.nextElementSibling,!0,!0,!1,i,a,s,l,c)||(n?null:Ka(e,t.parentElement,!1,!1,!0,i,a,s,l,c))}function Ga(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute(Ba);return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function Ua(e,t){var o=null!=t?t:pt();return!!e&&Ga(e)&&!e.hidden&&"hidden"!==o.getComputedStyle(e).visibility}function ja(e,t,o){if(void 0===o&&(o=!0),!e||e.disabled)return!1;var n=0,r=null;e&&e.getAttribute&&(r=e.getAttribute("tabIndex"))&&(n=parseInt(r,10));var i=e.getAttribute?e.getAttribute(Na):null,a=null!==r&&n>=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(Aa))}function Ya(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute(Fa))}function Za(e){var t=ct(e),o=t&&t.activeElement;return!(!o||!Ma(e,o))}function Xa(e,t,o){return"true"!==Ra(e,t,null!=o?o:ct())}var Qa=void 0;function Ja(e){if(e){var t=pt(e);t&&(void 0!==Qa&&t.cancelAnimationFrame(Qa),Qa=t.requestAnimationFrame((function(){e&&e.focus(),Qa=void 0})))}}function $a(e,t){for(var o=e,n=0,r=t;n<r.length;n++){var i=r[n],a=o.children[Math.min(i,o.children.length-1)];if(!a)break;o=a}return ja(o)&&Ga(o)?o:Ka(e,o,!0)||Va(e,o)}function es(e,t){for(var o=[];t&&e&&t!==e;){var n=Ta(t,!0);if(null===n)return[];o.unshift(Array.prototype.indexOf.call(n.children,t)),t=n}return o}var ts="__currentId__",os="id__",ns=pt()||{};void 0===ns[ts]&&(ns[ts]=0);var rs,is=!1;function as(e){if(!is){var t=M.getInstance();t&&t.onReset&&t.onReset(ss),is=!0}var o=ns[ts]++;return(void 0===e?os:e)+o}function ss(e){void 0===e&&(e=0),ns[ts]=e}var ls=0,cs=te({overflow:"hidden !important"}),us="data-is-scrollable",ds=function(e,t){var o=pt(e);if(e&&o){var n=0,r=null,i=o.getComputedStyle(e);t.on(e,"touchstart",(function(e){1===e.targetTouches.length&&(n=e.targetTouches[0].clientY)}),{passive:!1}),t.on(e,"touchmove",(function(e){if(1===e.targetTouches.length&&(e.stopPropagation(),r)){var t=e.targetTouches[0].clientY-n,a=vs(e.target);a&&r!==a&&(r=a,i=o.getComputedStyle(r));var s=r.scrollTop,l="column-reverse"===(null==i?void 0:i.flexDirection);0===s&&(l?t<0:t>0)&&e.preventDefault(),r.scrollHeight-Math.abs(Math.ceil(s))<=r.clientHeight&&(l?t>0:t<0)&&e.preventDefault()}}),{passive:!1}),r=e}},ps=function(e,t){e&&t.on(e,"touchmove",(function(e){e.stopPropagation()}),{passive:!1})},hs=function(e){e.preventDefault()};function ms(){var e=ct();e&&e.body&&!ls&&(e.body.classList.add(cs),e.body.addEventListener("touchmove",hs,{passive:!1,capture:!1})),ls++}function fs(){if(ls>0){var e=ct();e&&e.body&&1===ls&&(e.body.classList.remove(cs),e.body.removeEventListener("touchmove",hs)),ls--}}function gs(e){if(void 0===rs){var t=null!=e?e:ct(),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),rs=o.offsetWidth-o.clientWidth,t.body.removeChild(o)}return rs}function vs(e){for(var t=e,o=ct(e);t&&t!==o.body;){if("true"===t.getAttribute(us))return t;t=t.parentElement}for(t=e;t&&t!==o.body;){if("false"!==t.getAttribute(us)){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=pt(e)),t}var bs="data-portal-element";function ys(e){e.setAttribute(bs,"true")}function Cs(e,t,o){var n,r=Pa(e,(function(e){var o;return t===e||!!(null===(o=e.hasAttribute)||void 0===o?void 0:o.call(e,bs))}),o);return null!==r&&!!(null===(n=r.hasAttribute)||void 0===n?void 0:n.call(r,bs))}var _s,Ss=g.createContext(void 0),xs=function(e){var t=e.shadowRoot,o=p(e,["shadowRoot"]),n=g.useMemo((function(){return{stylesheets:new Map,shadowRoot:t}}),[t]);return g.createElement(Ss.Provider,d({value:n},o),g.createElement(ks,null),o.children)},ks=function(e){return(0,er().useAdoptedStylesheet)(v),null},ws="data-is-focusable",Is="data-focuszone-id",Ds="tabindex",Es="data-no-vertical-wrap",Ts="data-no-horizontal-wrap",Ps=999999999,Rs=-999999999;function Ms(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 Ns,Bs={},As=new Set,Fs=["text","number","password","email","tel","url","search","textarea"],Ls=!1,Hs=function(e){function t(o){var n,r,i,a,s=e.call(this,o)||this;s._root=g.createRef(),s._mergedRef=Ia(),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(ja(p,void 0,s._inShadowRoot)&&s._isImmediateDescendantOfZone(p)){t=p;break}p=Ta(p,Ls)}if(c&&e.target===s._root.current){var h=u&&"function"==typeof u&&s._root.current&&u(s._root.current);h&&ja(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=Ta(t,Ls);for(;o.length&&((t=o.pop())&&ja(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(!Ya(e.target))return;if(!s.focusElement(Ka(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case ar.space:if(s._shouldRaiseClicksOnSpace&&s._tryInvokeClickForFocusable(e.target,e))break;return;case ar.left:if(n!==da.vertical&&(s._preventDefaultWhenHandled(e),s._moveFocusLeft(t)))break;return;case ar.right:if(n!==da.vertical&&(s._preventDefaultWhenHandled(e),s._moveFocusRight(t)))break;return;case ar.up:if(n!==da.horizontal&&(s._preventDefaultWhenHandled(e),s._moveFocusUp()))break;return;case ar.down:if(n!==da.horizontal&&(s._preventDefaultWhenHandled(e),s._moveFocusDown()))break;return;case ar.pageDown:if(!a&&s._moveFocusPaging(!0))break;return;case ar.pageUp:if(!a&&s._moveFocusPaging(!1))break;return;case ar.tab:if(s.props.allowTabKey||s.props.handleTabKey===ga.all||s.props.handleTabKey===ga.inputOnly&&s._isElementInput(e.target)){var u=!1;if(s._processingTabKey=!0,u=n!==da.vertical&&s._shouldWrapFocus(s._activeElement,Ts)?(lr(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 ar.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(Ka(s._root.current,d,!0)))break;return;case ar.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(Va(s._root.current,p,!0,!0,!0)))break;return;case ar.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<l?n>=o.left&&n<=o.left+o.width?0:Math.abs(o.left+o.width/2-n):s._shouldWrapFocus(s._activeElement,Es)?Ps:Rs},Ji(s),s._id=as("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 u(t,e),t.getOuterZones=function(){return As.size},t._onKeyDownCapture=function(e){e.which===ar.tab&&As.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),Bs[this._id]=this,o){for(var n=Ta(o,Ls);n&&n!==this._getDocument().body&&1===n.nodeType;){if(qa(n)){this._isInnerZone=!0;break}n=Ta(n,Ls)}this._isInnerZone||(As.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&&!Ma(this._root.current,this._activeElement,Ls)||this._defaultFocusElement&&!Ma(this._root.current,this._defaultFocusElement,Ls))&&(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=$a(t,this._lastIndexPath);n?(this._setActiveElement(n,!0),n.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete Bs[this._id],this._isInnerZone||(As.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=jr(this.props,xr),c=o||n||"div";this._evaluateFocusBeforeRender();var u=io();return g.createElement(c,d({"aria-labelledby":a,"aria-describedby":i},l,r,{className:pi((_s||(_s=te({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),_s),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(ws)&&this._isInnerZone){var o=this._getOwnerZone(this._root.current);if(o!==this._root.current){var n=Bs[o.getAttribute(Is)];return!!n&&n.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&Ma(this._root.current,this._activeElement)&&ja(this._activeElement,void 0,this._inShadowRoot)&&(!t||Ua(this._activeElement)))return this._activeElement.focus(),!0;var r=this._root.current.firstChild;return this.focusElement(Ka(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(Va(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=Ma(e,o,!1);this._lastIndexPath=n?es(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(ws)&&"true"!==o.getAttribute("data-disable-click-on-enter"))return Ms(o,t),!0;o=Ta(o,Ls)}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 Bs[e.getAttribute(Is)];for(var t=e.firstElementChild;t;){if(qa(t))return Bs[t.getAttribute(Is)];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===da.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?Ka(this._root.current,r):Va(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<i)&&(i=u,a=r),i>=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(Ka(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Va(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?e._shouldWrapFocus(e._activeElement,Es)?Ps:Rs:((-1===t&&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,Es)?Ps:Rs:((-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,Ts);return!!this._moveFocus(lr(e),(function(n,r){var i=-1;return(lr(e)?parseFloat(r.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)):parseFloat(r.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)))&&r.right<=n.right&&t.props.direction!==da.vertical?i=n.right-r.right:o||(i=Rs),i}),void 0,o)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(e){var t=this,o=this._shouldWrapFocus(this._activeElement,Ts);return!!this._moveFocus(!lr(e),(function(n,r){var i=-1;return(lr(e)?parseFloat(r.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)):parseFloat(r.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)))&&r.left>=n.left&&t.props.direction!==da.vertical?i=r.left-n.left:o||(i=Rs),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=vs(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?Ka(this._root.current,o):Va(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<m-l)break;f>-1&&(e&&d>a?(a=d,r=f,i=o):!e&&h<s?(s=h,r=f,i=o):(-1===r||f<=r)&&(r=f,i=o))}}while(o);var g=!1;if(i&&i!==this._activeElement)g=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)return e?this.focusElement(Ka(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Va(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return g},t.prototype._setFocusAlignment=function(e,t,o){if(this.props.direction===da.bidirectional&&(!this._focusAlignment||t||o)){var n=e.getBoundingClientRect(),r=n.left+n.width/2,i=n.top+n.height/2;this._focusAlignment||(this._focusAlignment={left:r,top:i}),t&&(this._focusAlignment.left=r),o&&(this._focusAlignment.top=i)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=Ta(e,Ls);t&&t!==this._root.current&&t!==this._getDocument().body;){if(qa(t))return t;t=Ta(t,Ls)}return t},t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!Ma(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!ja(this._activeElement,void 0,this._inShadowRoot)&&(this._activeElement=null);for(var t=e&&e.children,o=0;t&&o<t.length;o++){var n=t[o];qa(n)?"true"===n.getAttribute(ws)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==n?"-1"!==n.getAttribute(Ds)&&n.setAttribute(Ds,"-1"):(this._defaultFocusElement=n,"0"!==n.getAttribute(Ds)&&n.setAttribute(Ds,"0"))):(n.getAttribute&&"false"===n.getAttribute(ws)&&n.setAttribute(Ds,"-1"),ja(n,void 0,this._inShadowRoot)?this.props.disabled?n.setAttribute(Ds,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==n?"-1"!==n.getAttribute(Ds)&&n.setAttribute(Ds,"-1"):(this._defaultFocusElement=n,"0"!==n.getAttribute(Ds)&&n.setAttribute(Ds,"0")):"svg"===n.tagName&&"false"!==n.getAttribute("focusable")&&n.setAttribute("focusable","false")),this._updateTabIndexes(n)}},t.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&Fs.indexOf(e.type.toLowerCase())>-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||Xa(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&Cs(e,this._root.current)},t.prototype._getDocument=function(){return ct(this._root.current)},t.contextType=Ss,t.defaultProps={isCircularNavigation:!1,direction:da.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},t}(g.Component),Os=((Ns={})[ar.up]=1,Ns[ar.down]=1,Ns[ar.left]=1,Ns[ar.right]=1,Ns[ar.home]=1,Ns[ar.end]=1,Ns[ar.tab]=1,Ns[ar.pageUp]=1,Ns[ar.pageDown]=1,Ns);function zs(e){return!!Os[e]}function Ws(e){Os[e]=1}function Vs(e){delete Os[e]}var Ks=new WeakMap,Gs=new WeakMap;function Us(e,t){var o,n=Ks.get(e);return o=n?n+t:1,Ks.set(e,o),o}function js(e){var t=Gs.get(e);return t||(t={onMouseDown:function(t){return Xs(t,e.registeredProviders)},onPointerDown:function(t){return Qs(t,e.registeredProviders)},onKeyDown:function(t){return Js(t,e.registeredProviders)},onKeyUp:function(t){return $s(t,e.registeredProviders)}},Gs.set(e,t),t)}var qs=g.createContext(void 0);function Ys(e){var t=g.useContext(qs);g.useEffect((function(){var o,n,r,i,a=pt(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=js(t);s=p.onMouseDown,l=p.onPointerDown,c=p.onKeyDown,u=p.onKeyUp}else s=Xs,l=Qs,c=Js,u=$s;var h=Us(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=Us(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 Zs=function(e){return Ys(e.rootRef),null};function Xs(e,t){tn(!1,e.target,t)}function Qs(e,t){"mouse"!==e.pointerType&&tn(!1,e.target,t)}function Js(e,t){zs(e.which)&&tn(!0,e.target,t)}function $s(e,t){zs(e.which)&&tn(!0,e.target,t)}var el=gr(),tl=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,p(t,["as","disabled","target","href","theme","getStyles","styles","componentRef","underline"]));return"string"==typeof e?"a"===e?d({target:n,href:o?void 0:r},i):"button"===e?d({type:"button",disabled:o},i):d(d({},i),{disabled:o}):d({target:n,href:r,disabled:o},i)},ol=g.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=g.useRef(null),p=ri(u,t);(function(e,t){g.useImperativeHandle(e.componentRef,(function(){return{focus:function(){t.current&&t.current.focus()}}}),[t])})(e,u),Ys(u);var h=el(s,{className:n,isButton:!i,isDisabled:r,isUnderlined:c,theme:l}),m=o||(i?"a":"button");return{state:{},slots:{root:m},slotProps:{root:d(d({},tl(m,e)),{"aria-disabled":r,className:h.root,onClick:function(e){r?e.preventDefault():a&&a(e)},ref:p})}}}(e,t),n=o.slots,r=o.slotProps;return g.createElement(n.root,d({},r.root))}));ol.displayName="LinkBase";var nl={root:"ms-Link"},rl=rr(ol,(function(e){var t,o,n,r,i,a,s,l=e.className,c=e.isButton,u=e.isDisabled,d=e.isUnderlined,p=e.theme,h=p.semanticColors,m=h.link,f=h.linkHovered,g=h.disabledText,v=h.focusBorder,b=Ro(nl,p);return{root:[b.root,p.fonts.medium,{color:m,outline:"none",fontSize:"inherit",fontWeight:"inherit",textDecoration:d?"underline":"none",selectors:(t={},t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={boxShadow:"0 0 0 1px ".concat(v," inset"),outline:"1px auto ".concat(v),selectors:(o={},o[Mo]={outline:"1px solid WindowText"},o)},t[Mo]={borderBottom:"none"},t)},c&&{background:"none",backgroundColor:"transparent",border:"none",cursor:"pointer",display:"inline",margin:0,overflow:"inherit",padding:0,textAlign:"left",textOverflow:"inherit",userSelect:"text",borderBottom:"1px solid transparent",selectors:(n={},n[Mo]={color:"LinkText",forcedColorAdjust:"none"},n)},!c&&{selectors:(r={},r[Mo]={MsHighContrastAdjust:"auto",forcedColorAdjust:"auto"},r)},u&&["is-disabled",{color:g,cursor:"default"},{selectors:(i={"&:link, &:visited":{pointerEvents:"none"}},i[Mo]={color:"GrayText"},i)}],!u&&{selectors:{"&:active, &:hover, &:active:hover":{color:f,textDecoration:"underline",selectors:(a={},a[Mo]={color:"LinkText"},a)},"&:focus":{color:m,selectors:(s={},s[Mo]={color:"LinkText"},s)}}},b.root,l]}}),void 0,{scope:"Link"});function il(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 al(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return sl.apply(this,[null,e].concat(t))}function sl(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];t=t||{};for(var r=0,i=o;r<i.length;r++){var a=i[r];if(a)for(var s in a)!a.hasOwnProperty(s)||e&&!e(s)||(t[s]=a[s])}return t}function ll(e,t){return Object.keys(e).map((function(o){if(String(Number(o))!==o)return t(o,e[o])})).filter((function(e){return!!e}))}function cl(e){return Object.keys(e).reduce((function(t,o){return t.push(e[o]),t}),[])}function ul(e,t){var o={};for(var n in e)-1===t.indexOf(n)&&e.hasOwnProperty(n)&&(o[n]=e[n]);return o}var dl=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,o,n,r,i){var a,s=null!=i?i:ct();if(e._isElement(t)){if(void 0!==s&&s.createEvent){var l=s.createEvent("HTMLEvents");l.initEvent(o,r||!1,!0),al(l,n),a=t.dispatchEvent(l)}else if(void 0!==s&&s.createEventObject){var c=s.createEventObject(n);t.fireEvent("on"+o,c)}}else for(;t&&!1!==a;){var u=t.__events__,d=u?u[o]:null;if(d)for(var p in d)if(d.hasOwnProperty(p))for(var h=d[p],m=0;!1!==a&&m<h.length;m++){var f=h[m];f.objectCallback&&(a=f.objectCallback.call(f.parent,n))}t=r?t.parent:null}return a},e.isObserved=function(e,t){var o=e&&e.__events__;return!!o&&!!o[t]},e.isDeclared=function(e,t){var o=e&&e.__declaredEvents;return!!o&&!!o[t]},e.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},e._isElement=function(e){return!!e&&(!!e.addEventListener||"undefined"!=typeof HTMLElement&&e instanceof HTMLElement)},e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},e.prototype.onAll=function(e,t,o){for(var n in t)t.hasOwnProperty(n)&&this.on(e,n,t[n],o)},e.prototype.on=function(t,o,n,r){var i=this;if(o.indexOf(",")>-1)for(var a=o.split(/[ ,]+/),s=0;s<a.length;s++)this.on(t,a[s],n,r);else{var l=this._parent,c={target:t,eventName:o,parent:l,callback:n,options:r};if((a=t.__events__=t.__events__||{})[o]=a[o]||{count:0},a[o][this._id]=a[o][this._id]||[],a[o][this._id].push(c),a[o].count++,e._isElement(t)){var u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed){var o;try{if(!1===(o=n.apply(l,e))&&e[0]){var r=e[0];r.preventDefault&&r.preventDefault(),r.stopPropagation&&r.stopPropagation(),r.cancelBubble=!0}}catch(r){}return o}};c.elementCallback=u,t.addEventListener?t.addEventListener(o,u,r):t.attachEvent&&t.attachEvent("on"+o,u)}else c.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed)return n.apply(l,e)};this._eventRecords.push(c)}},e.prototype.off=function(e,t,o,n){for(var r=0;r<this._eventRecords.length;r++){var i=this._eventRecords[r];if(!(e&&e!==i.target||t&&t!==i.eventName||o&&o!==i.callback||"boolean"==typeof n&&n!==i.options)){var a=i.target.__events__,s=a[i.eventName],l=s?s[this._id]:null;l&&(1!==l.length&&o?(s.count--,l.splice(l.indexOf(i),1)):(s.count-=l.length,delete a[i.eventName][this._id]),s.count||delete a[i.eventName]),i.elementCallback&&(i.target.removeEventListener?i.target.removeEventListener(i.eventName,i.elementCallback,i.options):i.target.detachEvent&&i.target.detachEvent("on"+i.eventName,i.elementCallback)),this._eventRecords.splice(r--,1)}}},e.prototype.raise=function(t,o,n){return e.raise(this._parent,t,o,n)},e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var o=0;o<e.length;o++)t[e[o]]=!0},e._uniqueId=0,e}();function pl(e,t,o,n,r){}function hl(e,t,o){}function ml(e,t,o){}var fl=function(e){function t(o,n){var r=e.call(this,o,n)||this;return function(e,t,o){for(var n=0,r=o.length;n<r;n++)gl(e,t,o[n])}(r,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),r}return u(t,e),t.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},t.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},t.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var o=this.__disposables[e];o.dispose&&o.dispose()}this.__disposables=null}},Object.defineProperty(t.prototype,"className",{get:function(){if(!this.__className){var e=/function (.{1,})\(/.exec(this.constructor.toString());this.__className=e&&e.length>1?e[1]:""}return this.__className},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new na(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 dl(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}(g.Component);function gl(e,t,o){var n=e[o],r=t[o];(n||r)&&(e[o]=function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return r&&(e=r.apply(this,t)),n!==r&&(e=n.apply(this,t)),e})}function vl(){return null}function bl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=e.filter((function(e){return e})).join(" ").trim();return""===o?void 0:o}var yl,Cl,_l=function(e){var t=e.className,o=e.imageProps,n=jr(e,xr,["aria-label","aria-labelledby","title","aria-describedby"]),r=o.alt||e["aria-label"],i=r||e["aria-labelledby"]||e.title||o["aria-label"]||o["aria-labelledby"]||o.title,a={"aria-labelledby":e["aria-labelledby"],"aria-describedby":e["aria-describedby"],title:e.title},s=i?{}:{"aria-hidden":!0};return g.createElement("div",d({},s,n,{className:pi(di,ui.root,ui.image,t)}),g.createElement(ci,d({},a,o,{alt:i?r:""})))},Sl={topLeftEdge:0,topCenter:1,topRightEdge:2,topAutoEdge:3,bottomLeftEdge:4,bottomCenter:5,bottomRightEdge:6,bottomAutoEdge:7,leftTopEdge:8,leftCenter:9,leftBottomEdge:10,rightTopEdge:11,rightCenter:12,rightBottomEdge:13},xl=Eo((function(e){return Eo((function(t){var o=Eo((function(e){return function(o){return t(o,e)}}));return function(n,r){return e(n,r?o(r):t)}}))}));function kl(e,t){return xl(e)(t)}function wl(e){var t;if(void 0===Cl||e){var o=pt(),n=null===(t=null==o?void 0:o.navigator)||void 0===t?void 0:t.userAgent;Cl=!!n&&-1!==n.indexOf("Macintosh")}return!!Cl}!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(yl||(yl={}));var Il,Dl,El=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)},Tl=Eo((function(e){var t=e;return Eo((function(o){if(e===o)throw new Error("Attempted to compose a component with itself.");var n=o,r=Eo((function(e){return function(t){return g.createElement(n,d({},t,{defaultRender:e}))}}));return function(e){var o=e.defaultRender;return g.createElement(t,d({},e,{defaultRender:o?r(o):n}))}}))}));function Pl(e,t){return Tl(e)(t)}function Rl(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function Ml(e){return!(!e.subMenuProps&&!e.items)}function Nl(e){return!(!e.isDisabled&&!e.disabled)}function Bl(e){return null!==Rl(e)?"menuitemcheckbox":"menuitem"}function Al(e,t,o,n){return e.addEventListener(t,o,n),function(){return e.removeEventListener(t,o,n)}}!function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(Il||(Il={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(Dl||(Dl={}));var Fl,Ll=function(){function e(e,t,o,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===o&&(o=0),void 0===n&&(n=0),this.top=o,this.bottom=n,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!1,configurable:!0}),e.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))},e}();function Hl(e,t,o){return{targetEdge:e,alignmentEdge:t,isAuto:o}}var Ol=((Fl={})[Sl.topLeftEdge]=Hl(Il.top,Il.left),Fl[Sl.topCenter]=Hl(Il.top),Fl[Sl.topRightEdge]=Hl(Il.top,Il.right),Fl[Sl.topAutoEdge]=Hl(Il.top,void 0,!0),Fl[Sl.bottomLeftEdge]=Hl(Il.bottom,Il.left),Fl[Sl.bottomCenter]=Hl(Il.bottom),Fl[Sl.bottomRightEdge]=Hl(Il.bottom,Il.right),Fl[Sl.bottomAutoEdge]=Hl(Il.bottom,void 0,!0),Fl[Sl.leftTopEdge]=Hl(Il.left,Il.top),Fl[Sl.leftCenter]=Hl(Il.left),Fl[Sl.leftBottomEdge]=Hl(Il.left,Il.bottom),Fl[Sl.rightTopEdge]=Hl(Il.right,Il.top),Fl[Sl.rightCenter]=Hl(Il.right),Fl[Sl.rightBottomEdge]=Hl(Il.right,Il.bottom),Fl);function zl(e,t){return!(e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}function Wl(e,t){var o=[];return e.top<t.top&&o.push(Il.top),e.bottom>t.bottom&&o.push(Il.bottom),e.left<t.left&&o.push(Il.left),e.right>t.right&&o.push(Il.right),o}function Vl(e,t){return e[Il[t]]}function Kl(e,t,o){return e[Il[t]]=o,e}function Gl(e,t){var o=oc(t);return(Vl(e,o.positiveEdge)+Vl(e,o.negativeEdge))/2}function Ul(e,t){return e>0?t:-1*t}function jl(e,t){return Ul(e,Vl(t,e))}function ql(e,t,o){return Ul(o,Vl(e,o)-Vl(t,o))}function Yl(e,t,o,n){void 0===n&&(n=!0);var r=Vl(e,t)-o,i=Kl(e,t,o);return n&&(i=Kl(e,-1*t,Vl(e,-1*t)-r)),i}function Zl(e,t,o,n){return void 0===n&&(n=0),Yl(e,o,Vl(t,o)+Ul(o,n))}function Xl(e,t,o){return jl(o,e)>jl(o,t)}function Ql(e,t){for(var o=0,n=0,r=Wl(e,t);n<r.length;n++){var i=r[n];o+=Math.pow(ql(e,t,i),2)}return o}function Jl(e,t,o,n){return void 0===n&&(n=200),(o===Il.bottom||o===Il.top)&&ql(e,t,o)>=n}function $l(e,t,o,n){for(var r=0,i=e;r<i.length;r++){var a=i[r],s=void 0;n&&n===-1*a?(s=Yl(t.elementRectangle,a,Vl(o,a),!1),t.forcedInBounds=!0):Xl(s=Zl(t.elementRectangle,o,a),o,-1*a)||(s=Yl(s,-1*a,Vl(o,-1*a),!1),t.forcedInBounds=!0),t.elementRectangle=s}return t}function ec(e,t,o){var n=oc(t).positiveEdge;return Yl(e,n,o-(Gl(e,t)-Vl(e,n)))}function tc(e,t,o,n,r){void 0===n&&(n=0);var i=new Ll(e.left,e.right,e.top,e.bottom),a=o.alignmentEdge,s=o.targetEdge,l=r?s:-1*s;return i=r?Zl(i,t,s,n):function(e,t,o,n){void 0===n&&(n=0);var r=Ul(-1*o,n);return Yl(e,-1*o,Vl(t,o)+r)}(i,t,s,n),i=a?Zl(i,t,a):ec(i,l,Gl(t,s))}function oc(e){return e===Il.top||e===Il.bottom?{positiveEdge:Il.left,negativeEdge:Il.right}:{positiveEdge:Il.top,negativeEdge:Il.bottom}}function nc(e,t,o){return o&&Math.abs(ql(e,o,t))>Math.abs(ql(e,o,-1*t))?-1*t:t}function rc(e,t,o,n,r,i,a,s){var l={},c=sc(t),u=i?o:-1*o,d=r||oc(o).positiveEdge;return a&&!function(e,t,o){return void 0!==o&&Vl(e,t)===Vl(o,t)}(e,bc(d),n)||(d=nc(e,d,n)),l[Il[u]]=ql(e,c,u),l[Il[d]]=ql(e,c,d),s&&(l[Il[-1*u]]=ql(e,c,-1*u),l[Il[-1*d]]=ql(e,c,-1*d)),l}function ic(e,t,o){var n=Gl(t,e),r=Gl(o,e),i=oc(e),a=i.positiveEdge,s=i.negativeEdge;return n<=r?a:s}function ac(e,t,o,n,r,i,a,s,l){void 0===i&&(i=!1);var c=tc(e,t,n,r,l);return zl(c,o)?{elementRectangle:c,targetEdge:n.targetEdge,alignmentEdge:n.alignmentEdge}:function(e,t,o,n,r,i,a,s,l){void 0===r&&(r=!1),void 0===a&&(a=0);var c=n.alignmentEdge,u=n.alignTargetEdge,d={elementRectangle:e,targetEdge:n.targetEdge,alignmentEdge:c};s||l||(d=function(e,t,o,n,r,i,a){void 0===r&&(r=!1),void 0===a&&(a=0);var s=[Il.left,Il.right,Il.bottom,Il.top];lr()&&(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(Xl(c,o,u))return{elementRectangle:c,targetEdge:u,alignmentEdge:d};if(r&&Jl(t,o,u,i)){switch(u){case Il.bottom:c.bottom=o.bottom;break;case Il.top:c.top=o.top}return{elementRectangle:c,targetEdge:u,alignmentEdge:d,forcedInBounds:!0}}var f=Ql(c,o);(!l||f<l)&&(l=f,p=u,h=d),s.splice(s.indexOf(u),1),s.length>0&&(s.indexOf(-1*u)>-1?u*=-1:(d=u,u=s.slice(-1)[0]),c=tc(e,t,{targetEdge:u,alignmentEdge:d},a))}return{elementRectangle:c=tc(e,t,{targetEdge:p,alignmentEdge:h},a),targetEdge:p,alignmentEdge:h}}(e,t,o,n,r,i,a));var p=Wl(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:tc(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},o,n),targetEdge:i,alignmentEdge:a}}(d,t,a,l);if(zl(m.elementRectangle,o))return m;d=$l(Wl(m.elementRectangle,o),d,o,h)}else d=$l(p,d,o,h);else d=$l(p,d,o,h);return d}(c,t,o,n,i,a,r,s,l)}function sc(e){var t=e.getBoundingClientRect();return new Ll(t.left,t.right,t.top,t.bottom)}function lc(e){return new Ll(e.left,e.right,e.top,e.bottom)}function cc(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 Ll(n.clientX,n.clientX,n.clientY,n.clientY)}else if(t.getBoundingClientRect)o=sc(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 Ll(i,s,a,l)}if(!zl(o,e))for(var c=0,u=Wl(o,e);c<u.length;c++){var d=u[c];o[Il[d]]=e[Il[d]]}}else o=new Ll(0,0,0,0);return o}(o,e.target),l=function(e,t,o,n,r){return e.isAuto&&(e.alignmentEdge=ic(e.targetEdge,t,o)),e.alignTargetEdge=r,e}(function(e,t,o){if(void 0===e&&(e=Sl.bottomAutoEdge),o)return{alignmentEdge:o.alignmentEdge,isAuto:o.isAuto,targetEdge:o.targetEdge};var n=d({},Ol[e]);return lr()?(n.alignmentEdge&&n.alignmentEdge%2==0&&(n.alignmentEdge=-1*n.alignmentEdge),void 0!==t?Ol[t]:n):n}(e.directionalHint,e.directionalHintForRTL,n),s,o,e.coverTarget,e.alignTargetEdge),c=ac(sc(t),s,o,l,a,r,i,e.directionalHintFixed,e.coverTarget);return d(d({},c),{targetRectangle:s})}function uc(e,t,o,n,r){return{elementPosition:rc(e.elementRectangle,t,e.targetEdge,o,e.alignmentEdge,n,r,e.forcedInBounds),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}function dc(e,t,o){return void 0===t&&(t=0),void 0===o&&(o=0),function(e){return Math.sqrt(e*e*2)}(e?t:0)/2+o}function pc(e,t,o,n,r,i,a,s){void 0===r&&(r=!1);var l=null!=s?s:pt(),c=e.isBeakVisible&&e.beakWidth||0,u=dc(e.isBeakVisible,e.beakWidth,e.gapSpace),p=e;p.gapSpace=u;var h,m,f,g,v,b,y,C,_=e.bounds?lc(e.bounds):new Ll(0,l.innerWidth-gs(),0,l.innerHeight),S=cc(p,o,_,n,r,i),x=(h=S,m=function(e,t){var o=t.targetRectangle,n=oc(t.targetEdge),r=n.positiveEdge,i=n.negativeEdge,a=Gl(o,t.targetEdge),s=new Ll(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),l=new Ll(0,e,0,e);return Xl(l=ec(l=Yl(l,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-jl(r,t.elementRectangle)),s,r)?Xl(l,s,i)||(l=Zl(l,s,i)):l=Zl(l,s,r),l}(c,S),f=_,g=-1*h.targetEdge,v=new Ll(0,h.elementRectangle.width,0,h.elementRectangle.height),b={},y=nc(h.elementRectangle,h.alignmentEdge?h.alignmentEdge:oc(g).positiveEdge,f),C=ql(h.elementRectangle,h.targetRectangle,g)>Math.abs(Vl(m,g)),b[Il[g]]=Vl(m,g),b[Il[y]]=ql(m,v,y),{elementPosition:d({},b),closestEdge:ic(h.targetEdge,m,v),targetEdge:g,hideBeak:!C});return d(d({},uc(S,t,_,e.coverTarget,a)),{beakPosition:x})}function hc(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 Ll(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==l&&void 0!==c?new Ll(l,u,c,d):sc(a)}function mc(e,t,o,n,r){return function(e,t,o,n,r){var i=null!=r?r:pt(),a=e.bounds?lc(e.bounds):new Ll(0,i.innerWidth-gs(),0,i.innerHeight);return uc(cc(e,o,a,n),t,a,e.coverTarget)}(e,t,o,n,r)}function fc(e,t,o,n,r,i,a){return pc(e,t,o,n,r,i,void 0,a)}function gc(e,t,o,n,r){return function(e,t,o,n,r){return pc(e,t,o,n,!1,void 0,!0,null!=r?r:pt())}(e,t,o,n,r)}function vc(e,t,o,n,r,i){void 0===o&&(o=0);var a=null!=i?i:pt();return function(e,t,o,n,r){var i,a=Ol[t],s=r?-1*a.targetEdge:a.targetEdge;return(i=s===Il.top?Vl(e,a.targetEdge)-n.top-o:s===Il.bottom?n.bottom-Vl(e,a.targetEdge)-o:n.bottom-e.top-o)>0?i:n.height}(hc(e),t,o,n?lc(n):new Ll(0,a.innerWidth-gs(),0,a.innerHeight),r)}function bc(e){return-1*e}function yc(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<l.length;s++){var c=l[s];n&&c.left<=n&&c.right>=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 Cc=["TEMPLATE","STYLE","SCRIPT"];function _c(e){var t=ct(e);if(!t)return function(){};for(var o=[];e!==t.body&&e.parentElement;){for(var n=0,r=e.parentElement.children;n<r.length;n++){var i=r[n],a=i.getAttribute("aria-hidden");i!==e&&"true"!==(null==a?void 0:a.toLowerCase())&&-1===Cc.indexOf(i.tagName)&&o.push([i,a])}e=e.parentElement}return o.forEach((function(e){e[0].setAttribute("aria-hidden","true")})),function(){!function(e){e.forEach((function(e){var t=e[0],o=e[1];o?t.setAttribute("aria-hidden",o):t.removeAttribute("aria-hidden")}))}(o),o=[]}}function Sc(){var e=g.useRef();return e.current||(e.current=new na),g.useEffect((function(){return function(){var t;null===(t=e.current)||void 0===t||t.dispose(),e.current=void 0}}),[]),e.current}function xc(e,t,o,n){var r=g.useRef(o);r.current=o,g.useEffect((function(){var o=e&&"current"in e?e.current:e;if(o&&o.addEventListener)return Al(o,t,(function(e){return r.current(e)}),n)}),[e,t,n])}function kc(e){var t=e.originalElement,o=e.containsFocus;t&&o&&t!==pt()&&setTimeout((function(){var e;null===(e=t.focus)||void 0===e||e.call(t)}),0)}var wc=g.forwardRef((function(e,t){var o=yr({shouldRestoreFocus:!0,enableAriaHiddenSiblings:!0},e),n=g.useRef(),r=ri(n,t);!function(e,t){var o="true"===String(e["aria-modal"]).toLowerCase()&&e.enableAriaHiddenSiblings;g.useEffect((function(){if(o&&t.current)return _c(t.current)}),[t,o])}(o,n),function(e,t){var o=e.onRestoreFocus,n=void 0===o?kc:o,r=g.useRef(),i=g.useRef(!1);g.useEffect((function(){return r.current=ct().activeElement,Za(t.current)&&(i.current=!0),function(){var e;null==n||n({originalElement:r.current,containsFocus:i.current,documentContainsFocus:(null===(e=ct())||void 0===e?void 0:e.hasFocus())||!1}),r.current=void 0}}),[]),xc(t,"focus",g.useCallback((function(){i.current=!0}),[]),!0),xc(t,"blur",g.useCallback((function(e){t.current&&e.relatedTarget&&!t.current.contains(e.relatedTarget)&&(i.current=!1)}),[]),!0)}(o,n);var i=o.role,a=o.className,s=o.ariaLabel,l=o.ariaLabelledBy,c=o.ariaDescribedBy,u=o.style,p=o.children,h=o.onDismiss,m=function(e,t){var o=Sc(),n=g.useState(!1),r=n[0],i=n[1];return g.useEffect((function(){return o.requestAnimationFrame((function(){var o;if(!e.style||!e.style.overflowY){var n=!1;if(t&&t.current&&(null===(o=t.current)||void 0===o?void 0:o.firstElementChild)){var a=t.current.clientHeight,s=t.current.firstElementChild.clientHeight;a>0&&s>a&&(n=s-a>1)}r!==n&&i(n)}})),function(){return o.dispose()}})),r}(o,n),f=g.useCallback((function(e){e.which===ar.escape&&h&&(h(e),e.preventDefault(),e.stopPropagation())}),[h]);return xc(ia(),"keydown",f),g.createElement("div",d({ref:r},jr(o,Ur),{className:a,role:i,"aria-label":s,"aria-labelledby":l,"aria-describedby":c,onKeyDown:f,style:d({overflowY:m?"scroll":void 0,outline:"none"},u)}),p)}));function Ic(e){var t=g.useRef();return void 0===t.current&&(t.current={value:"function"==typeof e?e():e}),t.current.value}function Dc(e,t){var o,n,r,i=g.useRef(),a=g.useRef(null),s=ia();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=ct(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]}wc.displayName="Popup";var Ec,Tc=function(){var e;return null!==(e=aa())&&void 0!==e?e:"undefined"!=typeof document?document:void 0},Pc=function(){var e;return null!==(e=ia())&&void 0!==e?e:"undefined"!=typeof window?window:void 0},Rc=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},Mc=function(e){var t;return null!==(t=null==e?void 0:e.window)&&void 0!==t?t:"undefined"!=typeof window?window:void 0},Nc=((Ec={})[Il.top]=tt.slideUpIn10,Ec[Il.bottom]=tt.slideDownIn10,Ec[Il.left]=tt.slideLeftIn10,Ec[Il.right]=tt.slideRightIn10,Ec),Bc={opacity:0,filter:"opacity(0)",pointerEvents:"none"},Ac=["role","aria-roledescription"],Fc={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:Sl.bottomAutoEdge},Lc=gr({disableCaching:!0});var Hc=g.memo(g.forwardRef((function(e,t){var o=yr(Fc,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,p=o.beakWidth,h=o.calloutWidth,m=o.calloutMaxWidth,f=o.calloutMinWidth,v=o.doNotLayer,b=o.finalHeight,y=o.hideOverflow,C=void 0===y?!!b:y,_=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=g.useRef(null),R=ri(g.useRef(null),null==T?void 0:T.ref),M=g.useState(null),N=M[0],B=M[1],A=g.useCallback((function(e){B(e)}),[]),F=ri(P,t),L=Dc(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?Fc.minPagePadding:r,a=e.target,s=g.useState(!1),l=s[0],c=s[1],u=g.useRef(),d=g.useCallback((function(){if(!u.current||l){var e="function"==typeof n?o?n(a,o):void 0:n;!e&&o&&(e={top:(e=yc(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=Sc();return xc(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=g.useState(),l=s[0],c=s[1],u=g.useRef(0),p=g.useRef(),h=Sc(),m=e.hidden,f=e.target,v=e.finalHeight,b=e.calloutMaxHeight,y=e.onPositioned,C=e.directionalHint,_=e.hideOverflow,S=e.preferScrollResizePositioning,x=Pc(),k=g.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 g.useEffect((function(){if(!m){var i=h.requestAnimationFrame((function(){var i,a,s,h;if(t.current&&o){var m=d(d({},e),{target:n.current,bounds:r()}),g=o.cloneNode(!0);g.style.maxHeight=b?"".concat(b):"",g.style.visibility="hidden",null===(i=o.parentElement)||void 0===i||i.appendChild(g);var C=p.current===f?l:void 0,k=S&&!(_||"clip"===w||"hidden"===w),I=v?gc(m,t.current,g,C,x):fc(m,t.current,g,C,k,void 0,x);null===(a=o.parentElement)||void 0===a||a.removeChild(g),!l&&I||l&&I&&(h=I,!zc((s=l).elementPosition,h.elementPosition)||!zc(s.beakPosition.elementPosition,h.beakPosition.elementPosition))&&u.current<5?(u.current++,c(I)):u.current>0&&(u.current=0,null==y||y(l))}}),o);return p.current=f,function(){h.cancelAnimationFrame(i),p.current=void 0}}c(void 0),u.current=0}),[m,C,h,o,b,t,n,v,r,y,l,e,f,_,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=g.useState(),f=m[0],v=m[1],b=null!==(r=null==n?void 0:n.elementPosition)&&void 0!==r?r:{},y=b.top,C=b.bottom,_=(null==o?void 0:o.current)?hc(o.current):void 0;return g.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)===Il.top&&(null==_?void 0:_.top)&&!h&&(s=_.top-function(e,t,o){return dc(e,t,o)}(p,d,u)),"number"==typeof y&&s?o=s-y:"number"==typeof C&&"number"==typeof a&&s&&(o=s-a-C),v(!i&&!c||i&&o&&i>o?o:i||void 0)}),[C,i,a,s,l,t,c,n,y,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=g.useRef(!1),m=Sc(),f=Ic([function(){h.current=!0},function(){h.current=!1}]),v=!!t;return g.useEffect((function(){var e=function(e){v&&!s&&g(e)},t=function(e){l||p&&p(e)||null==a||a(e)},f=function(e){c||g(e)},g=function(e){var t=e.composedPath?e.composedPath():[],i=t.length>0?t[0]:e.target,s=o.current&&!Ma(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&&!Ma(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=[Al(r,"scroll",e,!0),Al(r,"resize",t,!0),Al(r.document.documentElement,"focus",f,!0),Al(r.document.documentElement,"click",f,!0),Al(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,v,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=d(d({},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=Sc(),a=!!t;g.useEffect((function(){if(!n&&r&&a&&o){var e=i.requestAnimationFrame((function(){return Wa(o)}),o);return function(){return i.cancelAnimationFrame(e)}}}),[n,a,i,o,r])}(o,W,N),g.useEffect((function(){D||null==E||E()}),[D]),!O)return null;var Y=C,Z=c&&!!I,X=Lc(n,{theme:o.theme,className:l,overflowYHidden:Y,calloutWidth:h,positions:W,beakWidth:p,backgroundColor:_,calloutMaxWidth:m,calloutMinWidth:f,doNotLayer:v}),Q=d(d({maxHeight:S||"100%"},r),Y&&{overflowY:"hidden"}),J=o.hidden?{visibility:"hidden"}:void 0;return g.createElement("div",{ref:F,className:X.container,style:J},g.createElement("div",d({},jr(o,Ur,Ac),{className:pi(X.root,W&&W.targetEdge&&Nc[W.targetEdge]),style:W?d({},q):Bc,tabIndex:-1,ref:A}),Z&&g.createElement("div",{className:X.beak,style:Oc(W)}),Z&&g.createElement("div",{className:X.beakCurtain}),g.createElement(wc,d({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)||il(e,t)}));function Oc(e){var t,o,n=d(d({},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 zc(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 Wc(e){return{height:e,width:e}}Hc.displayName="CalloutContentBase";var Vc={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},Kc=rr(Hc,(function(e){var t,o=e.theme,n=e.className,r=e.overflowYHidden,i=e.calloutWidth,a=e.beakWidth,s=e.backgroundColor,l=e.calloutMaxWidth,c=e.calloutMinWidth,u=e.doNotLayer,d=Ro(Vc,o),p=o.semanticColors,h=o.effects;return{container:[d.container,{position:"relative"}],root:[d.root,o.fonts.medium,{position:"absolute",display:"flex",zIndex:u?Qo.Layer:void 0,boxSizing:"border-box",borderRadius:h.roundedCorner2,boxShadow:h.elevation16,selectors:(t={},t[Mo]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},n,!!i&&{width:i},!!l&&{maxWidth:l},!!c&&{minWidth:c}],beak:[d.beak,{position:"absolute",backgroundColor:p.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},Wc(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"}),Gc=g.createContext(void 0),Uc=function(){return function(){}};Gc.Provider;var jc=ReactDOM,qc=function(e){var t=e.providerRef,o=e.layerRoot,n=g.useState([])[0],r=g.useContext(qs),i=void 0!==r&&!o,a=g.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 g.useEffect((function(){if(a)return a.registerProvider(a.providerRef),function(){return a.unregisterProvider(a.providerRef)}}),[a]),a?g.createElement(qs.Provider,{value:a},e.children):g.createElement(g.Fragment,null,e.children)};function Yc(e,t){var o=(t||{}).customizations,n=void 0===o?{settings:{},scopedSettings:{}}:o;return{customizations:{settings:sn(n.settings,e.settings),scopedSettings:ln(n.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}var Zc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return u(t,e),t.prototype.componentDidMount=function(){At.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){At.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return g.createElement(tr.Consumer,null,(function(o){var n=Yc(e.props,o);return t&&(n=t(n)),g.createElement(tr.Provider,{value:n},e.props.children)}))},t}(g.Component),Xc=gr(),Qc=Do((function(e,t){return eo(d(d({},e),{rtl:t}))})),Jc=g.forwardRef((function(e,t){var o=e.className,n=e.theme,r=e.applyTheme,i=e.applyThemeToBody,a=e.styles,s=Xc(a,{theme:n,applyTheme:r,className:o}),l=g.useRef(null);return function(e,t,o){var n=t.bodyThemed;g.useEffect((function(){if(e){var t=ct(o.current);if(t)return t.body.classList.add(n),function(){t.body.classList.remove(n)}}}),[n,e,o])}(i,s,l),g.createElement(g.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=jr(e,Ur,["dir"]),u=function(e){var t=e.theme,o=e.dir,n=lr(t)?"rtl":"ltr",r=lr()?"rtl":"ltr",i=o||n;return{rootDir:i!==n||i!==r?i:o,needsTheme:i!==n}}(e),p=u.rootDir,h=u.needsTheme,m=g.createElement(qc,{providerRef:o},g.createElement(a,d({dir:p},c,{className:r,ref:ri(o,n)})));return h&&(m=g.createElement(Zc,{settings:{theme:Qc(l,"rtl"===s)}},m)),m}(e,s,l,t))}));Jc.displayName="FabricBase";var $c={fontFamily:"inherit"},eu={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},tu=rr(Jc,(function(e){var t=e.applyTheme,o=e.className,n=e.preventBlanketFontInheritance,r=e.theme;return{root:[Ro(eu,r).root,r.fonts.medium,{color:r.palette.neutralPrimary},!n&&{"& button":$c,"& input":$c,"& textarea":$c},t&&{color:r.semanticColors.bodyText,backgroundColor:r.semanticColors.bodyBackground},o],bodyThemed:[{backgroundColor:r.semanticColors.bodyBackground}]}}),void 0,{scope:"Fabric"});function ou(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 nu={},ru={},iu="fluent-default-layer-host",au="#".concat(iu);function su(e,t){nu[e]||(nu[e]=[]),nu[e].push(t);var o=ru[e];if(o)for(var n=0,r=o;n<r.length;n++)r[n].notifyLayersChanged()}function lu(e,t){var o=nu[e];if(o){var n=o.indexOf(t);n>=0&&(o.splice(n,1),0===o.length&&delete nu[e])}var r=ru[e];if(r)for(var i=0,a=r;i<a.length;i++)a[i].notifyLayersChanged()}function cu(e){var t=ru[e];return t?t.length:0}function uu(e){var t=ru[e];return t&&t[0]||void 0}function du(e,t){(ru[e]||(ru[e]=[])).unshift(t)}function pu(e,t){var o=ru[e];if(o){var n=o.indexOf(t);n>=0&&o.splice(n,1),0===o.length&&delete ru[e]}}function hu(e,t){void 0===t&&(t=null);var o=e.createElement("div");return o.setAttribute("id",iu),o.style.cssText="position:fixed;z-index:1000000",t?t.appendChild(o):null==e||e.body.appendChild(o),o}function mu(e,t){void 0===t&&(t=null);var o=null!=t?t:e,n=o.querySelector("#".concat(iu));n&&o.removeChild(n)}function fu(e){nu[e]&&nu[e].forEach((function(e){return e()}))}function gu(e){au=e}function vu(){return au}var bu,yu=gr(),Cu=g.forwardRef((function(e,t){var o,n=null!==(o=g.useContext(Gc))&&void 0!==o?o:Uc,r=g.useRef(null),i=ri(r,t),a=g.useRef(),s=g.useRef(null),l=g.useContext(qs),c=g.useState(!1),u=c[0],p=c[1],h=g.useCallback((function(e){var t,o=!!(null==(t=null==l?void 0:l.providerRef)?void 0:t.current)&&t.current.classList.contains(Jo);e&&o&&e.classList.add(Jo)}),[l]),m=e.children,f=e.className,v=e.eventBubblingEnabled,b=e.fabricProps,y=e.hostId,C=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=ri(s,null==b?void 0:b.ref,h),T=yu(I,{theme:D,className:f,isNotHost:!y}),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=ct(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(y){var i=uu(y);return i?null!==(o=i.rootRef.current)&&void 0!==o?o:null:null!==(n=r.getElementById(y))&&void 0!==n?n:null}var a=vu(),s=a?r.querySelector(a):null;return s||(s=hu(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,ys(c),ou(c,r.current),C?l.insertBefore(c,l.firstChild):l.appendChild(c),a.current=c,p(!0)}}};return ni((function(){R(),y&&su(y,R);var e=a.current?n(a.current):void 0;return function(){e&&e(),P(),y&&lu(y,R)}}),[y]),g.useEffect((function(){a.current&&u&&(null==k||k(),null==S||S(),p(!1))}),[u,k,S]),g.createElement("span",{className:"ms-layer",ref:i},a.current&&jc.createPortal(g.createElement(qc,{layerRoot:!0,providerRef:E},g.createElement(tu,d({},!v&&(bu||(bu={},["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 bu[e]=_u}))),bu),b,{className:pi(T.content,null==b?void 0:b.className),ref:E}),m)),a.current))}));Cu.displayName="LayerBase";var _u=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()},Su={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},xu=function(e){var t=e.className,o=e.isNotHost,n=e.theme,r=Ro(Su,n);return{root:[r.root,n.fonts.medium,o&&[r.rootNoHost,{position:"fixed",zIndex:Qo.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[r.content,{visibility:"visible"}]}},ku=rr(Cu,xu,void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),wu=g.forwardRef((function(e,t){var o=e.layerProps,n=e.doNotLayer,r=p(e,["layerProps","doNotLayer"]),i=g.createElement(Kc,d({},r,{doNotLayer:n,ref:t}));return n?i:g.createElement(ku,d({},o),i)}));wu.displayName="Callout";var Iu,Du=function(e){var t=e.item,o=e.classNames,n=t.iconProps;return g.createElement(ki,d({},n,{className:o.icon}))},Eu=function(e){var t=e.item;return e.hasIcons?t.onRenderIcon?t.onRenderIcon(e,Du):Du(e):null},Tu=function(e){var t=e.onCheckmarkClick,o=e.item,n=e.classNames,r=Rl(o);return t?g.createElement(ki,{iconName:!1!==o.canCheck&&r?"CheckMark":"",className:n.checkmarkIcon,onClick:function(e){return t(o,e)}}):null},Pu=function(e){var t=e.item,o=e.classNames;return t.text||t.name?g.createElement("span",{className:o.label},t.text||t.name):null},Ru=function(e){var t=e.item,o=e.classNames;return t.secondaryText?g.createElement("span",{className:o.secondaryText},t.secondaryText):null},Mu=function(e){var t=e.item,o=e.classNames,n=e.theme;return Ml(t)?g.createElement(ki,d({iconName:lr(n)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:o.subMenuIcon})):null},Nu=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();Ml(t)&&n&&i&&n(t,i)}},o.dismissSubMenu=function(){var e=o.props,t=e.item,n=e.dismissSubMenu;Ml(t)&&n&&n()},o.dismissMenu=function(e){var t=o.props.dismissMenu;t&&t(void 0,e)},Ji(o),o}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.item,o=e.classNames,n=t.onRenderContent||this._renderLayout;return g.createElement("div",{className:t.split?o.linkContentMenu:o.linkContent},n(this.props,{renderCheckMarkIcon:Tu,renderItemIcon:Eu,renderItemName:Pu,renderSecondaryText:Ru,renderSubMenuIcon:Mu}))},t.prototype._renderLayout=function(e,t){return g.createElement(g.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))},t}(g.Component),Bu=Do((function(e){return An({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})})),Au=36,Fu=Yo(0,Ko),Lu=Do((function(e){var t,o,n,r,i,a=e.semanticColors,s=e.fonts,l=e.palette,c=a.menuItemBackgroundHovered,u=a.menuItemTextHovered,p=a.menuItemBackgroundPressed,h=a.bodyDivider;return Nn({item:[s.medium,{color:a.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:h,position:"relative"},root:[on(e),s.medium,{color:a.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:Au,lineHeight:Au,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:a.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[Mo]={color:"GrayText",opacity:1},t)},rootHovered:{backgroundColor:c,color:u,selectors:{".ms-ContextualMenu-icon":{color:l.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootFocused:{backgroundColor:l.white},rootChecked:{selectors:{".ms-ContextualMenu-checkmarkIcon":{color:l.neutralPrimary}}},rootPressed:{backgroundColor:p,selectors:{".ms-ContextualMenu-icon":{color:l.themeDark},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootExpanded:{backgroundColor:p,color:a.bodyTextChecked,selectors:(o={".ms-ContextualMenu-submenuIcon":(n={},n[Mo]={color:"inherit"},n)},o[Mo]=d({},{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:Au,fontSize:et.medium,width:et.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(r={},r[Fu]={fontSize:et.large,width:et.large},r)},iconColor:{color:a.menuIcon},iconDisabled:{color:a.disabledBodyText},checkmarkIcon:{color:a.bodySubtext},subMenuIcon:{height:Au,lineHeight:Au,color:l.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:et.small,selectors:(i={":hover":{color:l.neutralPrimary},":active":{color:l.neutralPrimary}},i[Fu]={fontSize:et.medium},i)},splitButtonFlexContainer:[on(e),{display:"flex",height:Au,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]})})),Hu="28px",Ou=Yo(0,Ko),zu=Do((function(e){var t;return An(Bu(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[Ou]={right:32},t)},divider:{height:16,width:1}})})),Wu={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"},Vu=Do((function(e,t,o,n,r,i,a,s,l,c,u,d){var p,h,m,f,g=Lu(e),v=Ro(Wu,e);return An({item:[v.item,g.item,a],divider:[v.divider,g.divider,s],root:[v.root,g.root,n&&[v.isChecked,g.rootChecked],r&&g.anchorLink,o&&[v.isExpanded,g.rootExpanded],t&&[v.isDisabled,g.rootDisabled],!t&&!o&&[{selectors:(p={":hover":g.rootHovered,":active":g.rootPressed},p[".".concat(Jo," &:focus, .").concat(Jo," &:focus:hover, :host(.").concat(Jo,") &:focus, :host(.").concat(Jo,") &:focus:hover")]=g.rootFocused,p[".".concat(Jo," &:hover, :host(.").concat(Jo,") &:hover")]={background:"inherit;"},p)}],d],splitPrimary:[g.root,{width:"calc(100% - ".concat(Hu,")")},n&&["is-checked",g.rootChecked],(t||u)&&["is-disabled",g.rootDisabled],!(t||u)&&!n&&[{selectors:(h={":hover":g.rootHovered},h[":hover ~ .".concat(v.splitMenu)]=g.rootHovered,h[":active"]=g.rootPressed,h[".".concat(Jo," &:focus, .").concat(Jo," &:focus:hover, :host(.").concat(Jo,") &:focus, :host(.").concat(Jo,") &:focus:hover")]=g.rootFocused,h[".".concat(Jo," &:hover, :host(.").concat(Jo,") &:hover")]={background:"inherit;"},h)}]],splitMenu:[v.splitMenu,g.root,{flexBasis:"0",padding:"0 8px",minWidth:Hu},o&&["is-expanded",g.rootExpanded],t&&["is-disabled",g.rootDisabled],!t&&!o&&[{selectors:(m={":hover":g.rootHovered,":active":g.rootPressed},m[".".concat(Jo," &:focus, .").concat(Jo," &:focus:hover, :host(.").concat(Jo,") &:focus, :host(.").concat(Jo,") &:focus:hover")]=g.rootFocused,m[".".concat(Jo," &:hover, :host(.").concat(Jo,") &:hover")]={background:"inherit;"},m)}]],anchorLink:g.anchorLink,linkContent:[v.linkContent,g.linkContent],linkContentMenu:[v.linkContentMenu,g.linkContent,{justifyContent:"center"}],icon:[v.icon,i&&g.iconColor,g.icon,l,t&&[v.isDisabled,g.iconDisabled]],iconColor:g.iconColor,checkmarkIcon:[v.checkmarkIcon,i&&g.checkmarkIcon,g.icon,l],subMenuIcon:[v.subMenuIcon,g.subMenuIcon,c,o&&{color:e.palette.neutralPrimary},t&&[g.iconDisabled]],label:[v.label,g.label],secondaryText:[v.secondaryText,g.secondaryText],splitContainer:[g.splitButtonFlexContainer,!t&&!n&&[{selectors:(f={},f[".".concat(Jo," &:focus, .").concat(Jo," &:focus:hover, :host(.").concat(Jo,") &:focus, :host(.").concat(Jo,") &:focus:hover")]=g.rootFocused,f)}]],screenReaderText:[v.screenReaderText,g.screenReaderText,ho,{visibility:"hidden"}]})})),Ku=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 Vu(t,o,n,r,i,a,s,l,c,u,d,p)},Gu=rr(Nu,Ku,void 0,{scope:"ContextualMenuItem"}),Uu=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(){},Ji(o),o}return u(t,e),t.prototype.shouldComponentUpdate=function(e){return!il(e,this.props)},t}(g.Component),ju="ktp",qu="-",Yu=ju+qu,Zu="data-ktp-target",Xu="data-ktp-execute-target",Qu="data-ktp-aria-target",Ju="ktp-layer-id",$u=", ";function ed(e){var t=g.useRef();return g.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"}(Iu||(Iu={}));var td=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?Iu.PERSISTED_KEYTIP_ADDED:Iu.KEYTIP_ADDED;dl.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||dl.raise(this,Iu.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?Iu.PERSISTED_KEYTIP_REMOVED:Iu.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||dl.raise(this,n,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){dl.raise(this,Iu.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){dl.raise(this,Iu.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=m([],e.keySequences,!0);if(t.pop(),0!==t.length){var o=this.sequenceMapping[t.toString()];if(o&&o.overflowSetSequence)return d(d({},e),{overflowSetSequence:o.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){dl.raise(this,Iu.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=as()),{keytip:d({},e),uniqueID:t}},e._instance=new e,e}();function od(e){return e.reduce((function(e,t){return e+qu+t.split("").join(qu)}),ju)}function nd(e,t){var o=t.length,n=m([],t,!0).pop();return xa(m([],e,!0),o-1,n)}function rd(e){return"["+Zu+'="'+od(e)+'"]'}function id(e){return"["+Xu+'="'+e+'"]'}function ad(e){var t=" "+Ju;return e.length?t+" "+od(e):t}function sd(e){var t=g.useRef(),o=e.keytipProps?d({disabled:e.disabled},e.keytipProps):void 0,n=Ic(td.getInstance()),r=ed(e);ni((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)})),ni((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=bl(o,ad(n.keySequences)),i=m([],n.keySequences,!0);return n.overflowSetSequence&&(i=nd(i,n.overflowSetSequence)),{ariaDescribedBy:r,keytipId:od(i)}}(n,o,e.ariaDescribedBy)),i}var ld=function(e){var t,o=e.children,n=sd(p(e,["children"])),r=n.keytipId,i=n.ariaDescribedBy;return o(((t={})[Zu]=r,t[Xu]=r,t["aria-describedby"]=i,t))},cd=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=g.createRef(),t._getMemoizedMenuButtonKeytipProps=Do((function(e){return d(d({},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?g.createElement("span",{id:t._ariaDescriptionId,className:o},e):null},t}return u(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,p=t.openSubMenu,h=t.dismissSubMenu,m=t.dismissMenu,f=Gu;this.props.item.contextualMenuItemAs&&(f=Pl(this.props.item.contextualMenuItemAs,f)),this.props.contextualMenuItemAs&&(f=Pl(this.props.contextualMenuItemAs,f));var v=o.rel;o.target&&"_blank"===o.target.toLowerCase()&&(v=v||"nofollow noopener noreferrer");var b=Ml(o),y=jr(o,Tr),C=Nl(o),_=o.itemProps,S=o.ariaDescription,x=o.keytipProps;x&&b&&(x=this._getMemoizedMenuButtonKeytipProps(x)),S&&(this._ariaDescriptionId=as());var k=bl(o.ariaDescribedBy,S?this._ariaDescriptionId:void 0,y["aria-describedby"]),w={"aria-describedby":k};return g.createElement("div",null,g.createElement(ld,{keytipProps:o.keytipProps,ariaDescribedBy:k,disabled:C},(function(t){return g.createElement("a",d({},w,y,t,{ref:e._anchor,href:o.href,target:o.target,rel:v,className:n.root,role:"menuitem","aria-haspopup":b||void 0,"aria-expanded":b?o.key===c:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":Nl(o),style:o.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:b?e._onItemKeyDown:void 0}),g.createElement(f,d({componentRef:o.componentRef,item:o,classNames:n,index:r,onCheckmarkClick:s&&u?u:void 0,hasIcons:l,openSubMenu:p,dismissSubMenu:h,dismissMenu:m,getSubmenuTarget:e._getSubmenuTarget},_)),e._renderAriaDescription(S,n.screenReaderText))})))},t}(Uu),ud=gr(),dd=g.forwardRef((function(e,t){var o=e.styles,n=e.theme,r=e.getClassNames,i=e.className,a=ud(o,{theme:n,getClassNames:r,className:i});return g.createElement("span",{className:a.wrapper,ref:t},g.createElement("span",{className:a.divider}))}));dd.displayName="VerticalDividerBase";var pd=rr(dd,(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"}),hd=function(e){function t(t){var o=e.call(this,t)||this;return o._getMemoizedMenuButtonKeytipProps=Do((function(e){return d(d({},e),{hasMenu:!0})})),o._onItemKeyDown=function(e){var t=o.props,n=t.item,r=t.onItemKeyDown;e.which===ar.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?g.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(d(d({},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(d(d({},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 na(o),o._events=new dl(o),o._dismissLabelId=as(),o}return u(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,p=o.expandedMenuItemKey,h=Ml(n),m=n.keytipProps;m&&(m=this._getMemoizedMenuButtonKeytipProps(m));var f=n.ariaDescription;f&&(this._ariaDescriptionId=as());var v=null!==(e=Rl(n))&&void 0!==e?e:void 0;return g.createElement(ld,{keytipProps:m,disabled:Nl(n)},(function(e){return g.createElement("div",{"data-ktp-target":e["data-ktp-target"],ref:function(e){return t._splitButton=e},role:Bl(n),"aria-label":n.ariaLabel,className:r.splitContainer,"aria-disabled":Nl(n),"aria-expanded":h?n.key===p:void 0,"aria-haspopup":!0,"aria-describedby":bl(n.ariaDescribedBy,f?t._ariaDescriptionId:void 0,e["aria-describedby"]),"aria-checked":v,"aria-posinset":a+1,"aria-setsize":s,onMouseEnter:t._onItemMouseEnterPrimary,onMouseLeave:u?u.bind(t,d(d({},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(f,r.screenReaderText))}))},t.prototype._renderSplitPrimaryButton=function(e,t,o,n,r){var i=this.props,a=i.contextualMenuItemAs,s=void 0===a?Gu:a,l=i.onItemClick,c={key:e.key,disabled:Nl(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 g.createElement("button",d({},jr(c,Pr)),g.createElement(s,d({"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||zu;return g.createElement(pd,{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=Gu;this.props.item.contextualMenuItemAs&&(u=Pl(this.props.item.contextualMenuItemAs,u)),this.props.contextualMenuItemAs&&(u=Pl(this.props.contextualMenuItemAs,u));var p={onClick:this._onIconItemClick,disabled:Nl(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key,"aria-labelledby":this._dismissLabelId},h=d(d({},jr(p,Pr)),{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}),m=e.itemProps;return g.createElement("button",d({},h),g.createElement(u,d({componentRef:e.componentRef,item:p,classNames:t,index:o,hasIcons:!1,openSubMenu:s,dismissSubMenu:l,dismissMenu:c,getSubmenuTarget:this._getSubmenuTarget},m)))},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}(Uu),md=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=g.createRef(),t._getMemoizedMenuButtonKeytipProps=Do((function(e){return d(d({},e),{hasMenu:!0})})),t._renderAriaDescription=function(e,o){return e?g.createElement("span",{id:t._ariaDescriptionId,className:o},e):null},t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return u(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,p=t.onItemMouseDown,h=t.onItemClick,m=t.openSubMenu,f=t.dismissSubMenu,v=t.dismissMenu,b=Gu;o.contextualMenuItemAs&&(b=Pl(o.contextualMenuItemAs,b)),c&&(b=Pl(c,b));var y=Rl(o),C=null!==y,_=Bl(o),S=Ml(o),x=o.itemProps,k=o.ariaLabel,w=o.ariaDescription,I=jr(o,Pr);delete I.disabled;var D=o.role||_;w&&(this._ariaDescriptionId=as());var E=bl(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 p?p(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":Nl(o),"aria-checked":"menuitemcheckbox"!==D&&"menuitemradio"!==D||!C?void 0:!!y,"aria-selected":"menuitem"===D&&C?!!y:void 0,role:D,style:o.style},P=o.keytipProps;return P&&S&&(P=this._getMemoizedMenuButtonKeytipProps(P)),g.createElement(ld,{keytipProps:P,ariaDescribedBy:E,disabled:Nl(o)},(function(t){return g.createElement("button",d({ref:e._btn},I,T,t),g.createElement(b,d({componentRef:o.componentRef,item:o,classNames:n,index:r,onCheckmarkClick:s&&h?h:void 0,hasIcons:l,openSubMenu:m,dismissSubMenu:f,dismissMenu:v,getSubmenuTarget:e._getSubmenuTarget},x)),e._renderAriaDescription(w,n.screenReaderText))}))},t}(Uu);function fd(e,t){var o=g.useRef(t);return o.current||(o.current=as(e)),o.current}var gd=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];function vd(e,t,o){void 0===o&&(o=gd);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;o<arguments.length;o++)e[o]=arguments[o];t[r].apply(t,e)})};for(var i in t)r(i);return n}function bd(e,t){t.forEach((function(t){return delete e[t]}))}var yd,Cd=function(e){function t(t){var o=e.call(this,t)||this;return o._updateComposedComponentRef=o._updateComposedComponentRef.bind(o),o}return u(t,e),t.prototype._updateComposedComponentRef=function(e){this._composedComponentInstance=e,e?this._hoisted=vd(this,e):this._hoisted&&bd(this,this._hoisted)},t}(g.Component);function _d(e,t){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);return t}!function(e){e[e.small=0]="small",e[e.medium=1]="medium",e[e.large=2]="large",e[e.xLarge=3]="xLarge",e[e.xxLarge=4]="xxLarge",e[e.xxxLarge=5]="xxxLarge",e[e.unknown=999]="unknown"}(yd||(yd={}));var Sd,xd,kd=[479,639,1023,1365,1919,99999999];function wd(e){Sd=e}function Id(e){var t=pt(e);t&&Pd(t)}function Dd(){var e;return null!==(e=null!=Sd?Sd:xd)&&void 0!==e?e:yd.large}function Ed(e){var t,o=((t=function(t){function o(e){var o=t.call(this,e)||this;return o._onResize=function(){var e=Pd(o.context.window);e!==o.state.responsiveMode&&o.setState({responsiveMode:e})},o._events=new dl(o),o._updateComposedComponentRef=o._updateComposedComponentRef.bind(o),o.state={responsiveMode:Dd()},o}return u(o,t),o.prototype.componentDidMount=function(){this._events.on(this.context.window,"resize",this._onResize),this._onResize()},o.prototype.componentWillUnmount=function(){this._events.dispose()},o.prototype.render=function(){var t=this.state.responsiveMode;return t===yd.unknown?null:g.createElement(e,d({ref:this._updateComposedComponentRef,responsiveMode:t},this.props))},o}(Cd)).contextType=ra,t);return _d(e,o)}function Td(e){try{return e.document.documentElement.clientWidth}catch(t){return e.innerWidth}}function Pd(e){var t=yd.small;if(e){try{for(;Td(e)>kd[t];)t++}catch(e){t=Dd()}xd=t}else{if(void 0===Sd)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=Sd}return t}var Rd=function(e,t){var o=g.useState(Dd()),n=o[0],r=o[1],i=g.useCallback((function(){var t=Pd(pt(e.current));n!==t&&r(t)}),[e,n]);return xc(ia(),"resize",i),g.useEffect((function(){void 0===t&&i()}),[t]),null!=t?t:n},Md=g.createContext({}),Nd=gr(),Bd=gr(),Ad={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:Sl.bottomAutoEdge,beakWidth:16};function Fd(e){for(var t=0,o=0,n=e;o<n.length;o++){var r=n[o];r.itemType!==yl.Divider&&r.itemType!==yl.Header&&(t+=r.customOnRenderListLength?r.customOnRenderListLength:1)}return t}function Ld(e,t){var o=null==t?void 0:t.target,n=e.subMenuProps?e.subMenuProps.items:e.items;if(n){for(var r=[],i=0,a=n;i<a.length;i++){var s=a[i];if(s.preferMenuTargetAsEventTarget){var l=s.onClick,c=p(s,["onClick"]);r.push(d(d({},c),{onClick:qd(l,o)}))}else r.push(s)}return r}}function Hd(e){return e.some((function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some((function(e){return!0===e.canCheck})))}))}var Od="ContextualMenu",zd=Do((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return Bn.apply(void 0,m([t,Ku],e,!1))}}));function Wd(e,t){var o=e.hidden,n=e.items,r=e.theme,i=e.className,a=e.id,s=e.target,l=g.useState(),c=l[0],u=l[1],d=g.useState(),p=d[0],h=d[1],m=g.useState(),f=m[0],v=m[1],b=fd(Od,a),y=g.useCallback((function(){v(void 0),u(void 0),h(void 0)}),[]),C=g.useCallback((function(e,t,o){var n=e.key;c!==n&&(t.focus(),v(o),u(n),h(t))}),[c]);g.useEffect((function(){o&&y()}),[o,y]);var _=function(e,t){var o=g.useRef(!1);g.useEffect((function(){return o.current=!0,function(){o.current=!1}}),[]);return function(n,r){r?e(n,r):o.current&&t()}}(t,y);return[c,C,function(){var e=jd(c,n),t=null;if(e&&(t={items:Ld(e,{target:s}),target:p,onDismiss:_,isSubMenu:!0,id:b,shouldFocusOnMount:!0,shouldFocusOnContainer:f,directionalHint:lr(r)?Sl.leftTopEdge:Sl.rightTopEdge,className:i,gapSpace:0,isBeakVisible:!1},e.subMenuProps&&al(t,e.subMenuProps),e.preferMenuTargetAsEventTarget)){var o=e.onItemClick;t.onItemClick=qd(o,s)}return t},_]}var Vd=g.memo(g.forwardRef((function(e,t){var o,n=yr(Ad,e),r=(n.ref,p(n,["ref"])),i=g.useRef(null),a=Sc(),s=fd(Od,r.id),l=function(e,t){var o;return null===(o=r.onDismiss)||void 0===o?void 0:o.call(r,e,t)},c=Dc(r.target,i),u=c[0],h=c[1],m=function(e,t,o){var n=e.hidden,r=e.onRestoreFocus,i=g.useRef(),a=g.useCallback((function(e){var t,o;r?r(e):(null==e?void 0:e.documentContainsFocus)&&(null===(o=null===(t=i.current)||void 0===t?void 0:t.focus)||void 0===o||o.call(t))}),[r]);return ni((function(){var e,r;if(n)i.current&&(a({originalElement:i.current,containsFocus:!0,documentContainsFocus:(null===(r=ct())||void 0===r?void 0:r.hasFocus())||!1}),i.current=void 0);else{var s=null==t?void 0:t.document.activeElement;(null===(e=o.current)||void 0===e?void 0:e.contains(s))||"BODY"===s.tagName||(i.current=s)}}),[n,null==t?void 0:t.document.activeElement,a,o]),[a]}(r,h,i)[0],f=Wd(r,l),v=f[0],b=f[1],y=f[2],C=f[3],_=function(e){var t=e.delayUpdateFocusOnHover,o=e.hidden,n=g.useRef(!t),r=g.useRef(!1);g.useEffect((function(){n.current=!t,r.current=!o&&!t&&r.current}),[t,o]);var i=g.useCallback((function(){t&&(n.current=!1)}),[t]);return[n,r,i]}(r),S=_[0],x=_[1],k=_[2],w=function(e){var t=g.useRef(!0),o=g.useRef();return[function(){t.current||void 0===o.current?t.current=!1:(e.clearTimeout(o.current),o.current=void 0),o.current=e.setTimeout((function(){t.current=!0}),250)},t]}(a),I=w[0],D=w[1],E=function(e,t){var o=e.subMenuHoverDelay,n=void 0===o?250:o,r=g.useRef(void 0),i=function(){void 0!==r.current&&(t.clearTimeout(r.current),r.current=void 0)};return[i,function(e){r.current=t.setTimeout((function(){e(),i()}),n)},r]}(r,a),T=E[0],P=E[1],R=E[2],M=Rd(i,r.responsiveMode);!function(e,t){var o=e.hidden,n=void 0!==o&&o,r=e.onMenuDismissed,i=e.onMenuOpened,a=ed(n),s=g.useRef(i),l=g.useRef(r),c=g.useRef(e);s.current=i,l.current=r,c.current=e,g.useEffect((function(){var e,t;n&&!1===a?null===(e=l.current)||void 0===e||e.call(l,c.current):n||!1===a||null===(t=s.current)||void 0===t||t.call(s,c.current)}),[n,a]),g.useEffect((function(){return function(){var e;return null===(e=l.current)||void 0===e?void 0:e.call(l,c.current)}}),[])}(r);var N,B=function(e,t,o,n){var r=e.theme,i=e.isSubMenu,a=e.focusZoneProps,s=void 0===a?{}:a,l=s.checkForNoWrap,c=s.direction,u=void 0===c?da.vertical:c,d=g.useRef(),p=function(e,o,n){var r=!1;return o(e)&&(t(e,n),e.preventDefault(),e.stopPropagation(),r=!0),r},h=function(e){return e.which===ar.escape||function(e){var t=lr(r)?ar.right:ar.left;return!(e.which!==t||!i||u!==da.vertical&&(!l||Xa(e.target,"data-no-horizontal-wrap")))}(e)||e.which===ar.up&&(e.altKey||e.metaKey)},m=function(e){d.current=Kd(e);var t=e.which===ar.escape&&(wl()||El());return p(e,h,t)},f=function(e){var t=d.current&&Kd(e);return d.current=!1,!!t&&!(El()||wl())};return[m,function(e){return p(e,f,!0)},function(e){if(!m(e)&&o.current){var t=!(!e.altKey&&!e.metaKey),n=e.which===ar.up,r=e.which===ar.down;if(!t&&(n||r)){var i=n?Ha(o.current,o.current.lastChild,!0):La(o.current,o.current.firstChild,!0);i&&(i.focus(),e.preventDefault(),e.stopPropagation())}}},function(e,t){var o=lr(r)?ar.left:ar.right;e.disabled||t.which!==o&&t.which!==ar.enter&&(t.which!==ar.down||!t.altKey&&!t.metaKey)||(n(e,t.currentTarget),t.preventDefault())}]}(r,l,i,b),A=B[0],F=B[1],L=B[2],H=B[3],O=function(e,t,o,n,r,i,a,s,l,c,u,d,p){var h=e.target,m=function(){return!t.current||!i.current},f=function(e,t,o){var n=o||t.currentTarget;e.key!==a&&(c(),void 0===a&&n.focus(),Ml(e)?(t.stopPropagation(),l((function(){n.focus(),u(e,n,!0)}))):l((function(){d(t),n.focus()})))},g=function(t,o,n){var r=Ld(t,{target:h});if(c(),Ml(t)||r&&r.length){if(t.key!==a){var i="boolean"==typeof e.shouldFocusOnContainer?e.shouldFocusOnContainer:"mouse"===o.nativeEvent.pointerType;u(t,n,i)}}else v(t,o);o.stopPropagation(),o.preventDefault()},v=function(t,o){if(!t.disabled&&!t.isDisabled){t.preferMenuTargetAsEventTarget&&Yd(o,h);var n=!1;t.onClick?n=!!t.onClick(o,t):e.onItemClick&&(n=!!e.onItemClick(o,t)),!n&&o.defaultPrevented||p(o,!0)}};return[function(e,t,o){r.current&&(i.current=!0),m()||f(e,t,o)},function(e,a,s){var l=a.currentTarget;r.current&&(i.current=!0,t.current&&void 0===o.current&&l!==(null==n?void 0:n.document.activeElement)&&f(e,a,s))},function(e,t){var o;if(!m()&&(c(),void 0===a))if(s.current.setActive)try{s.current.setActive()}catch(e){}else null===(o=s.current)||void 0===o||o.focus()},function(e,t){g(e,t,t.currentTarget)},function(e,t){v(e,t),t.stopPropagation()},v,g]}(r,D,R,h,S,x,v,i,P,T,b,C,l),z=O[0],W=O[1],V=O[2],K=O[3],G=O[4],U=O[5],j=O[6],q=function(e,t,o){var n=0,r=e.items,i=e.totalItemCount,a=e.hasCheckmarks,s=e.hasIcons;return g.createElement("ul",{className:t.list,onKeyDown:A,onKeyUp:F,role:"presentation"},r.map((function(e,o){var r=Y(e,o,n,i,a,s,t);if(e.itemType!==yl.Divider&&e.itemType!==yl.Header){var l=e.customOnRenderListLength?e.customOnRenderListLength:1;n+=l}return r})))},Y=function(e,t,o,n,i,a,s){var l,c,u=[],d=e.iconProps||{iconName:"None"},p=e.getItemClassNames,h=e.itemProps,m=h?h.styles:void 0,f=e.itemType===yl.Divider?e.className:void 0,b=e.submenuIconProps?e.submenuIconProps.className:"";if(p)c=p(r.theme,Nl(e),v===e.key,!!Rl(e),!!e.href,"None"!==d.iconName,e.className,f,d.className,b,e.primaryDisabled);else{var y={theme:r.theme,disabled:Nl(e),expanded:v===e.key,checked:!!Rl(e),isAnchorLink:!!e.href,knownIcon:"None"!==d.iconName,itemClassName:e.className,dividerClassName:f,iconClassName:d.className,subMenuClassName:b,primaryDisabled:e.primaryDisabled};c=Bd(zd(null===(l=s.subComponentStyles)||void 0===l?void 0:l.menuItem,m),y)}switch("-"!==e.text&&"-"!==e.name||(e.itemType=yl.Divider),e.itemType){case yl.Divider:u.push(Q(t,c));break;case yl.Header:u.push(Q(t,c));var C=$(e,c,s,t,i,a);u.push(X(C,e.key||t,c,e.title));break;case yl.Section:u.push(Z(e,c,s,t,i,a));break;default:var _=function(){return J(e,c,t,o,n,i,a)},S=r.onRenderContextualMenuItem?r.onRenderContextualMenuItem(e,_):_();u.push(X(S,e.key||t,c,e.title))}return g.createElement(g.Fragment,{key:e.key},u)},Z=function(e,t,o,n,r,i){var a=e.sectionProps;if(a){var l,c;if(a.title){var u=void 0,p="";if("string"==typeof a.title){var h=s+a.title.replace(/\s/g,"");u={key:"section-".concat(a.title,"-title"),itemType:yl.Header,text:a.title,id:h},p=h}else{var m=a.title.id||s+a.title.key.replace(/\s/g,"");u=d(d({},a.title),{id:m}),p=m}u&&(c={role:"group","aria-labelledby":p},l=$(u,t,o,n,r,i))}if(a.items&&a.items.length>0){var f=0;return g.createElement("li",{role:"presentation",key:a.key||e.key||"section-".concat(n)},g.createElement("div",d({},c),g.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,f,Fd(a.items),r,i,o);if(e.itemType!==yl.Divider&&e.itemType!==yl.Header){var s=e.customOnRenderListLength?e.customOnRenderListLength:1;f+=s}return n})),a.bottomDivider&&Q(n,t,!1,!0))))}}},X=function(e,t,o,n){return g.createElement("li",{role:"presentation",title:n,key:t,className:o.item},e)},Q=function(e,t,o,n){return n||e>0?g.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(d({"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:Gd,executeItemClick:U,onItemKeyDown:H,expandedMenuItemKey:v,openSubMenu:b,dismissSubMenu:C,dismissMenu:l};if(e.href){var u=cd;return e.contextualMenuItemWrapperAs&&(u=Pl(e.contextualMenuItemWrapperAs,u)),g.createElement(u,d({},c,{onItemClick:G}))}if(e.split&&Ml(e)){var p=hd;return e.contextualMenuItemWrapperAs&&(p=Pl(e.contextualMenuItemWrapperAs,p)),g.createElement(p,d({},c,{onItemClick:K,onItemClickBase:j,onTap:T}))}var h=md;return e.contextualMenuItemWrapperAs&&(h=Pl(e.contextualMenuItemWrapperAs,h)),g.createElement(h,d({},c,{onItemClick:K,onItemClickBase:j}))},$=function(e,t,o,n,i,a){var s=Gu;e.contextualMenuItemAs&&(s=Pl(e.contextualMenuItemAs,s)),r.contextualMenuItemAs&&(s=Pl(r.contextualMenuItemAs,s));var l=e.itemProps,c=e.id,u=l&&jr(l,Ur);return g.createElement("div",d({id:c,className:o.header},u,{style:e.style}),g.createElement(s,d({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?Ud: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):Nd(_e,{theme:Se,className:re}),Re=function e(t){for(var o=0,n=t;o<n.length;o++){var r=n[o];if(r.iconProps)return!0;if(r.itemType===yl.Section&&r.sectionProps&&e(r.sectionProps.items))return!0}return!1}(te),Me=d(d({direction:da.vertical,handleTabKey:ga.all,isCircularNavigation:!0,"data-tabster":'{"uncontrolled": {}, "focusable": { "excludeFromMover": true }}'},Ee),{className:pi(Pe.root,null===(o=r.focusZoneProps)||void 0===o?void 0:o.className)}),Ne=Hd(te),Be=v&&!0!==r.hidden?y():null;ee=void 0===ee?M<=yd.medium:ee;var Ae=u.current;if((fe||ge)&&Ae&&Ae.offsetWidth){var Fe=Ae.getBoundingClientRect().width-2;fe?N={width:Fe}:ge&&(N={minWidth:Fe})}if(te&&te.length>0){var Le=Fd(te),He=Pe.subComponentStyles?Pe.subComponentStyles.callout:void 0;return g.createElement(Md.Consumer,null,(function(e){return g.createElement(wu,d({styles:He,onRestoreFocus:m},xe,{target:he||e.target,isBeakVisible:ee,beakWidth:ie,directionalHint:ae,directionalHintForRTL:se,gapSpace:ce,coverTarget:ue,doNotLayer:pe,className:pi("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}),g.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&&g.createElement("div",{className:Pe.title}," ",Ce," "),te&&te.length?function(e,t){var o=r.focusZoneAs,n=void 0===o?Hs:o;return g.createElement(n,d({},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,Ud)),g.createElement(Zs,null))}))}return null})),(function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||il(e,t)}));function Kd(e){return e.which===ar.alt||"Meta"===e.key}function Gd(e,t){var o;null===(o=e.onMouseDown)||void 0===o||o.call(e,e,t)}function Ud(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")}function jd(e,t){for(var o=0,n=t;o<n.length;o++){var r=n[o];if(r.itemType===yl.Section&&r.sectionProps){var i=jd(e,r.sectionProps.items);if(i)return i}else if(r.key&&r.key===e)return r}}function qd(e,t){return e?function(o,n){return Yd(o,t),e(o,n)}:e}function Yd(e,t){e&&t&&(e.persist(),t instanceof Event?e.target=t.target:t instanceof Element&&(e.target=t))}Vd.displayName="ContextualMenuBase";var Zd={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function Xd(e){return g.createElement(Qd,d({},e))}var Qd=rr(Vd,(function(e){var t=e.className,o=e.theme,n=Ro(Zd,o),r=o.fonts,i=o.semanticColors,a=o.effects;return{root:[o.fonts.medium,n.root,n.isopen,{backgroundColor:i.menuBackground,minWidth:"180px"},t],container:[n.container,{selectors:{":focus":{outline:0}}}],list:[n.list,n.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[n.header,r.small,{fontWeight:$e.semibold,color:i.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:Au,lineHeight:Au,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[n.title,{fontSize:r.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:i.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}}),(function(e){return{onRenderSubMenu:e.onRenderSubMenu?kl(e.onRenderSubMenu,Xd):Xd}}),{scope:"ContextualMenu"}),Jd=Qd;Jd.displayName="ContextualMenu";var $d={msButton:"ms-Button",msButtonHasMenu:"ms-Button--hasMenu",msButtonIcon:"ms-Button-icon",msButtonMenuIcon:"ms-Button-menuIcon",msButtonLabel:"ms-Button-label",msButtonDescription:"ms-Button-description",msButtonScreenReaderText:"ms-Button-screenReaderText",msButtonFlexContainer:"ms-Button-flexContainer",msButtonTextContainer:"ms-Button-textContainer"},ep=Do((function(e,t,o,n,r,i,a,s,l,c,u){var d,p,h=Ro($d,e||{}),m=c&&!u;return An(t.__shadowConfig__,{root:[h.msButton,t.root,n,l&&["is-checked",t.rootChecked],m&&["is-expanded",t.rootExpanded,(d={},d[":hover .".concat(h.msButtonIcon)]=t.iconExpandedHovered,d[":hover .".concat(h.msButtonMenuIcon)]=t.menuIconExpandedHovered||t.rootExpandedHovered,d[":hover"]=t.rootExpandedHovered,d)],s&&[$d.msButtonHasMenu,t.rootHasMenu],a&&["is-disabled",t.rootDisabled],!a&&!m&&!l&&(p={":hover":t.rootHovered},p[":hover .".concat(h.msButtonLabel)]=t.labelHovered,p[":hover .".concat(h.msButtonIcon)]=t.iconHovered,p[":hover .".concat(h.msButtonDescription)]=t.descriptionHovered,p[":hover .".concat(h.msButtonMenuIcon)]=t.menuIconHovered,p[":focus"]=t.rootFocused,p[":active"]=t.rootPressed,p[":active .".concat(h.msButtonIcon)]=t.iconPressed,p[":active .".concat(h.msButtonDescription)]=t.descriptionPressed,p[":active .".concat(h.msButtonMenuIcon)]=t.menuIconPressed,p),a&&l&&[t.rootCheckedDisabled],!a&&l&&{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed},o],flexContainer:[h.msButtonFlexContainer,t.flexContainer],textContainer:[h.msButtonTextContainer,t.textContainer],icon:[h.msButtonIcon,r,t.icon,m&&t.iconExpanded,l&&t.iconChecked,a&&t.iconDisabled],label:[h.msButtonLabel,t.label,l&&t.labelChecked,a&&t.labelDisabled],menuIcon:[h.msButtonMenuIcon,i,t.menuIcon,l&&t.menuIconChecked,a&&!u&&t.menuIconDisabled,!a&&!m&&!l&&{":hover":t.menuIconHovered,":active":t.menuIconPressed},m&&["is-expanded",t.menuIconExpanded]],description:[h.msButtonDescription,t.description,l&&t.descriptionChecked,a&&t.descriptionDisabled],screenReaderText:[h.msButtonScreenReaderText,t.screenReaderText]})})),tp=Do((function(e,t,o,n,r){return{root:te(e.splitButtonMenuButton,o&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],n&&!t&&[e.splitButtonMenuButtonChecked],r&&!t&&[{":focus":e.splitButtonMenuFocused}]),splitButtonContainer:te(e.splitButtonContainer,!t&&n&&[e.splitButtonContainerChecked,{":hover":e.splitButtonContainerCheckedHovered}],!t&&!n&&[{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}],t&&e.splitButtonContainerDisabled),icon:te(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&r&&e.splitButtonMenuIcon),flexContainer:te(e.splitButtonFlexContainer),divider:te("ms-SplitButton-divider",e.splitButtonDivider,(r||t)&&e.splitButtonDividerDisabled)}})),op=function(e){function t(t){var o=e.call(this,t)||this;return o._buttonElement=g.createRef(),o._splitButtonContainer=g.createRef(),o._mergedRef=Ia(),o._renderedVisibleMenu=!1,o._getMemoizedMenuButtonKeytipProps=Do((function(e){return d(d({},e),{hasMenu:!0})})),o._onRenderIcon=function(e,t){var n=o.props.iconProps;if(n&&(void 0!==n.iconName||n.imageProps)){var r=n.className,i=n.imageProps,a=p(n,["className","imageProps"]);if(n.styles)return g.createElement(ki,d({className:pi(o._classNames.icon,r),imageProps:i},a));if(n.iconName)return g.createElement(Ci,d({className:pi(o._classNames.icon,r)},a));if(i)return g.createElement(_l,d({className:pi(o._classNames.icon,r),imageProps:i},a))}return null},o._onRenderTextContents=function(){var e=o.props,t=e.text,n=e.children,r=e.secondaryText,i=void 0===r?o.props.description:r,a=e.onRenderText,s=void 0===a?o._onRenderText:a,l=e.onRenderDescription,c=void 0===l?o._onRenderDescription:l;return t||"string"==typeof n||i?g.createElement("span",{className:o._classNames.textContainer},s(o.props,o._onRenderText),c(o.props,o._onRenderDescription)):[s(o.props,o._onRenderText),c(o.props,o._onRenderDescription)]},o._onRenderText=function(){var e=o.props.text,t=o.props.children;return void 0===e&&"string"==typeof t&&(e=t),o._hasText()?g.createElement("span",{key:o._labelId,className:o._classNames.label,id:o._labelId},e):null},o._onRenderChildren=function(){var e=o.props.children;return"string"==typeof e?null:e},o._onRenderDescription=function(e){var t=e.secondaryText,n=void 0===t?o.props.description:t;return n?g.createElement("span",{key:o._descriptionId,className:o._classNames.description,id:o._descriptionId},n):null},o._onRenderAriaDescription=function(){var e=o.props.ariaDescription;return e?g.createElement("span",{className:o._classNames.screenReaderText,id:o._ariaDescriptionId},e):null},o._onRenderMenuIcon=function(e){var t=o.props.menuIconProps;return g.createElement(Ci,d({iconName:"ChevronDown"},t,{className:o._classNames.menuIcon}))},o._onRenderMenu=function(e){var t=o.props.menuAs?Pl(o.props.menuAs,Jd):Jd;return g.createElement(t,d({},e))},o._onDismissMenu=function(e){var t=o.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||o._dismissMenu()},o._dismissMenu=function(){o._menuShouldFocusOnMount=void 0,o._menuShouldFocusOnContainer=void 0,o.setState({menuHidden:!0})},o._openMenu=function(e,t){void 0===t&&(t=!0),o.props.menuProps&&(o._menuShouldFocusOnContainer=e,o._menuShouldFocusOnMount=t,o._renderedVisibleMenu=!0,o.setState({menuHidden:!1}))},o._onToggleMenu=function(e){var t=!0;o.props.menuProps&&!1===o.props.menuProps.shouldFocusOnMount&&(t=!1),o.state.menuHidden?o._openMenu(e,t):o._dismissMenu()},o._onSplitContainerFocusCapture=function(e){var t=o._splitButtonContainer.current;!t||e.target&&Cs(e.target,t)||t.focus()},o._onSplitButtonPrimaryClick=function(e){o.state.menuHidden||o._dismissMenu();var t=o._processingTouch&&!o.props.toggle;!t&&o.props.onClick?o.props.onClick(e):t&&o._onMenuClick(e)},o._onKeyDown=function(e){!o.props.disabled||e.which!==ar.enter&&e.which!==ar.space?o.props.disabled||(o.props.menuProps?o._onMenuKeyDown(e):void 0!==o.props.onKeyDown&&o.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},o._onKeyUp=function(e){o.props.disabled||void 0===o.props.onKeyUp||o.props.onKeyUp(e)},o._onKeyPress=function(e){o.props.disabled||void 0===o.props.onKeyPress||o.props.onKeyPress(e)},o._onMouseUp=function(e){o.props.disabled||void 0===o.props.onMouseUp||o.props.onMouseUp(e)},o._onMouseDown=function(e){o.props.disabled||void 0===o.props.onMouseDown||o.props.onMouseDown(e)},o._onClick=function(e){o.props.disabled||(o.props.menuProps?o._onMenuClick(e):void 0!==o.props.onClick&&o.props.onClick(e))},o._onSplitButtonContainerKeyDown=function(e){e.which===ar.enter||e.which===ar.space?o._buttonElement.current&&(o._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):o._onMenuKeyDown(e)},o._onMenuKeyDown=function(e){var t;if(!o.props.disabled){o.props.onKeyDown&&o.props.onKeyDown(e);var n=e.which===ar.up,r=e.which===ar.down;if(!e.defaultPrevented&&o._isValidMenuOpenKey(e)){var i=o.props.onMenuClick;i&&i(e,o.props),o._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}e.which!==ar.enter&&e.which!==ar.space||tn(!0,e.target,null===(t=o.context)||void 0===t?void 0:t.registeredProviders),e.altKey||e.metaKey||!n&&!r||!o.state.menuHidden&&o.props.menuProps&&((void 0!==o._menuShouldFocusOnMount?o._menuShouldFocusOnMount:o.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),o._menuShouldFocusOnMount=!0,o.forceUpdate()))}},o._onTouchStart=function(){o._isSplitButton&&o._splitButtonContainer.current&&!("onpointerdown"in o._splitButtonContainer.current)&&o._handleTouchAndPointerEvent()},o._onMenuClick=function(e){var t=o.props,n=t.onMenuClick,r=t.menuProps;n&&n(e,o.props);var i="boolean"==typeof(null==r?void 0:r.shouldFocusOnContainer)?r.shouldFocusOnContainer:"mouse"===e.nativeEvent.pointerType;e.defaultPrevented||(o._onToggleMenu(i),e.preventDefault(),e.stopPropagation())},Ji(o),o._async=new na(o),o._events=new dl(o),o.props.split,o._labelId=as(),o._descriptionId=as(),o._ariaDescriptionId=as(),o.state={menuHidden:!0},o}return u(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this.props,o=t.ariaDescription,n=t.ariaLabel,r=t.ariaHidden,i=t.className,a=t.disabled,s=t.allowDisabledFocus,l=t.primaryDisabled,c=t.secondaryText,u=void 0===c?this.props.description:c,d=t.href,p=t.iconProps,h=t.menuIconProps,m=t.styles,f=t.checked,g=t.variantClassName,v=t.theme,b=t.toggle,y=t.getClassNames,C=t.role,_=this.state.menuHidden,S=a||l;this._classNames=y?y(v,i,g,p&&p.className,h&&h.className,S,f,!_,!!this.props.menuProps,this.props.split,!!s):ep(v,m,i,g,p&&p.className,h&&h.className,S,!!this.props.menuProps,f,!_,this.props.split);var x=this,k=x._ariaDescriptionId,w=x._labelId,I=x._descriptionId,D=!S&&!!d,E=D?"a":"button",T=jr(al(D?{}:{type:"button"},this.props.rootProps,this.props),D?Tr:Pr,["disabled"]),P=n||T["aria-label"],R=void 0;o?R=k:u&&this.props.onRenderDescription!==vl?R=I:T["aria-describedby"]&&(R=T["aria-describedby"]);var M=void 0;T["aria-labelledby"]?M=T["aria-labelledby"]:R&&!P&&(M=this._hasText()?w:void 0);var N=!(!1===this.props["data-is-focusable"]||a&&!s||this._isSplitButton),B="menuitemcheckbox"===C||"checkbox"===C,A=B||!0===b?!!f:void 0,F=al(T,((e={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:S&&!s,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":P,"aria-labelledby":M,"aria-describedby":R,"aria-disabled":S,"data-is-focusable":N})[B?"aria-checked":"aria-pressed"]=A,e));if(r&&(F["aria-hidden"]=!0),this._isSplitButton)return this._onRenderSplitButtonContent(E,F);if(this.props.menuProps){var L=this.props.menuProps.id,H=void 0===L?"".concat(this._labelId,"-menu"):L;al(F,{"aria-expanded":!_,"aria-controls":_?null:H,"aria-haspopup":!0})}return this._onRenderContent(E,F)},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.focus=function(){var e,t;this._isSplitButton&&this._splitButtonContainer.current?(tn(!0,void 0,null===(e=this.context)||void 0===e?void 0:e.registeredProviders),this._splitButtonContainer.current.focus()):this._buttonElement.current&&(tn(!0,void 0,null===(t=this.context)||void 0===t?void 0:t.registeredProviders),this._buttonElement.current.focus())},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(e,t){this._openMenu(e,t)},t.prototype._onRenderContent=function(e,t){var o=this,n=this.props,r=e,i=n.menuIconProps,a=n.menuProps,s=n.onRenderIcon,l=void 0===s?this._onRenderIcon:s,c=n.onRenderAriaDescription,u=void 0===c?this._onRenderAriaDescription:c,p=n.onRenderChildren,h=void 0===p?this._onRenderChildren:p,m=n.onRenderMenu,f=void 0===m?this._onRenderMenu:m,v=n.onRenderMenuIcon,b=void 0===v?this._onRenderMenuIcon:v,y=n.disabled,C=n.keytipProps;C&&a&&(C=this._getMemoizedMenuButtonKeytipProps(C));var _=function(e){return g.createElement(r,d({},t,e),g.createElement("span",{className:o._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},l(n,o._onRenderIcon),o._onRenderTextContents(),u(n,o._onRenderAriaDescription),h(n,o._onRenderChildren),!o._isSplitButton&&(a||i||o.props.onRenderMenuIcon)&&b(o.props,o._onRenderMenuIcon),a&&!a.doNotLayer&&o._shouldRenderMenu()&&f(o._getMenuProps(a),o._onRenderMenu)))},S=C?g.createElement(ld,{keytipProps:this._isSplitButton?void 0:C,ariaDescribedBy:t["aria-describedby"],disabled:y},(function(e){return _(e)})):_();return a&&a.doNotLayer?g.createElement(g.Fragment,null,S,this._shouldRenderMenu()&&f(this._getMenuProps(a),this._onRenderMenu)):g.createElement(g.Fragment,null,S,g.createElement(Zs,null))},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,o=t.persistMenu,n=t.renderPersistedMenuHiddenOnMount;return!e||!(!o||!this._renderedVisibleMenu&&!n)},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._getMenuProps=function(e){var t=this.props.persistMenu,o=this.state.menuHidden;return e.ariaLabel||e.labelElementId||!this._hasText()||(e=d(d({},e),{labelElementId:this._labelId})),d(d({id:this._labelId+"-menu",directionalHint:Sl.bottomLeftEdge},e),{shouldFocusOnContainer:this._menuShouldFocusOnContainer,shouldFocusOnMount:this._menuShouldFocusOnMount,hidden:t?o:void 0,className:pi("ms-BaseButton-menuhost",e.className),target:this._isSplitButton?this._splitButtonContainer.current:this._buttonElement.current,onDismiss:this._onDismissMenu})},t.prototype._onRenderSplitButtonContent=function(e,t){var o=this,n=this.props,r=n.styles,i=void 0===r?{}:r,a=n.disabled,s=n.allowDisabledFocus,l=n.checked,c=n.getSplitButtonClassNames,u=n.primaryDisabled,p=n.menuProps,h=n.toggle,m=n.role,f=n.primaryActionButtonProps,v=this.props.keytipProps,b=this.state.menuHidden,y=c?c(!!a,!b,!!l,!!s):i&&tp(i,!!a,!b,!!l,!!u);al(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1}),v&&p&&(v=this._getMemoizedMenuButtonKeytipProps(v));var C=jr(t,[],["disabled"]);f&&al(t,f);var _=function(n){return g.createElement("div",d({},C,{"data-ktp-target":n?n["data-ktp-target"]:void 0,role:m||"button","aria-disabled":a,"aria-haspopup":!0,"aria-expanded":!b,"aria-pressed":h?!!l:void 0,"aria-describedby":bl(t["aria-describedby"],n?n["aria-describedby"]:void 0),className:y&&y.splitButtonContainer,onKeyDown:o._onSplitButtonContainerKeyDown,onTouchStart:o._onTouchStart,ref:o._splitButtonContainer,"data-is-focusable":!0,onClick:a||u?void 0:o._onSplitButtonPrimaryClick,tabIndex:!a&&!u||s?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:o._onSplitContainerFocusCapture}),g.createElement("span",{style:{display:"flex",width:"100%"}},o._onRenderContent(e,t),o._onRenderSplitButtonMenuButton(y,n),o._onRenderSplitButtonDivider(y)))};return v?g.createElement(ld,{keytipProps:v,disabled:a},(function(e){return _(e)})):_()},t.prototype._onRenderSplitButtonDivider=function(e){return e&&e.divider?g.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}}):null},t.prototype._onRenderSplitButtonMenuButton=function(e,o){var n=this.props,r=n.allowDisabledFocus,i=n.checked,a=n.disabled,s=n.splitButtonMenuProps,l=n.splitButtonAriaLabel,c=n.primaryDisabled,u=this.state.menuHidden,p=this.props.menuIconProps;void 0===p&&(p={iconName:"ChevronDown"});var h=d(d({},s),{styles:e,checked:i,disabled:a,allowDisabledFocus:r,onClick:this._onMenuClick,menuProps:void 0,iconProps:d(d({},p),{className:this._classNames.menuIcon}),ariaLabel:l,"aria-haspopup":!0,"aria-expanded":!u,"data-is-focusable":!1});return g.createElement(t,d({},h,{"data-ktp-execute-target":o?o["data-ktp-execute-target"]:o,onMouseDown:this._onMouseDown,tabIndex:c&&!r?0:-1}))},t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0,e.state.menuHidden&&e.focus()}),500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&e.which===ar.down&&(e.altKey||e.metaKey)},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t.contextType=qs,t}(g.Component),np=function(){return!!rp()},rp=function(){return g.useContext(Ss)},ip=function(e){var t=e.stylesheetKey,o=e.children,n=er(),r=n.useAdoptedStylesheetEx,i=n.useMergeStylesRootStylesheets,a=n.useWindow,s=rp(),l=i(),c=a();return r(v,s,l,c),r(t,s,l,c),o(!!s)},ap=Do(C),sp=Do((function(e,t,o){var n,r=null!==(n=null!=t?t:e)&&void 0!==n?n:{};return r.__shadowConfig__=o,r}));function lp(e,t,o){return function(n){var r,i=(r=function(r){function i(e){var t=r.call(this,e)||this;return t._styleCache={},t._onSettingChanged=t._onSettingChanged.bind(t),t}return u(i,r),i.prototype.componentDidMount=function(){At.observe(this._onSettingChanged)},i.prototype.componentWillUnmount=function(){At.unobserve(this._onSettingChanged)},i.prototype.render=function(){var r=this;return g.createElement(ip,{stylesheetKey:e},(function(i){return g.createElement(tr.Consumer,null,(function(a){var s,l=At.getSettings(t,e,a.customizations),c=null!==(s=r.context.window)&&void 0!==s?s:pt(),u=ap(e,i,c),p=r.props;if(l.styles&&"function"==typeof l.styles&&(l.styles=l.styles(d(d({},l),p))),o&&l.styles){if(r._styleCache.default!==l.styles||r._styleCache.component!==p.styles){var h=Nn(l.styles,p.styles);h.__shadowConfig__=u,r._styleCache.default=l.styles,r._styleCache.component=p.styles,r._styleCache.merged=h}return g.createElement(n,d({},l,p,{styles:r._styleCache.merged}))}var m=sp(l.styles,p.styles,u);return g.createElement(n,d({},l,p,{styles:m}))}))}))},i.prototype._onSettingChanged=function(){this.forceUpdate()},i}(g.Component),r.displayName="Customized"+e,r.contextType=ra,r);return _d(n,i)}}var cp,up={outline:0},dp=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},pp=Do((function(e){var t,o,n=e.semanticColors,r=e.effects,i=e.fonts,a=n.buttonBorder,s=n.disabledBackground,l=n.disabledText,c={left:-2,top:-2,bottom:-2,right:-2,outlineColor:"ButtonText"};return{root:[on(e,{inset:1,highContrastStyle:c,borderColor:"transparent"}),e.fonts.medium,{border:"1px solid "+a,borderRadius:r.roundedCorner2,boxSizing:"border-box",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"0 16px",textDecoration:"none",textAlign:"center",userSelect:"none",":active > span":{position:"relative",left:0,top:0}}],rootDisabled:[on(e,{inset:1,highContrastStyle:c,borderColor:"transparent"}),{backgroundColor:s,borderColor:s,color:l,cursor:"default",":hover":up,":focus":up}],iconDisabled:(t={color:l},t[Mo]={color:"GrayText"},t),menuIconDisabled:(o={color:l},o[Mo]={color:"GrayText"},o),flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:dp(i.mediumPlus.fontSize),menuIcon:dp(i.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:ho}})),hp=Do((function(e,t){var o,n,r,i,a,s,l,c,u,p,h,m,f,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 Nn({splitButtonContainer:[on(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[Mo]=d(d({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{":hover":{backgroundColor:"Highlight",border:"1px solid Highlight",borderRightWidth:"0",color:"HighlightText"},":active":{border:"1px solid Highlight"}}),o),".ms-Button--default + .ms-Button":(n={},n[Mo]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":d({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})}},n),'.ms-Button--default + .ms-Button[aria-expanded="true"]':(r={},r[Mo]={backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":d({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})},r),".ms-Button--primary + .ms-Button":(i={border:"none"},i[Mo]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{borderLeftWidth:"0",backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",".ms-Button-menuIcon":d(d({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"HighlightText"})}},i),'.ms-Button--primary + .ms-Button[aria-expanded="true"]':(a={},a[Mo]=d(d({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{".ms-Button-menuIcon":{color:"HighlightText"}}),a),".ms-Button.is-disabled":(s={},s[Mo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},s)}],splitButtonContainerHovered:{".ms-Button--default.is-disabled":(l={backgroundColor:S.buttonBackgroundDisabled,color:S.buttonTextDisabled},l[Mo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},l),".ms-Button--primary.is-disabled":(c={backgroundColor:S.primaryButtonBackgroundDisabled,color:S.primaryButtonTextDisabled},c[Mo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},c)},splitButtonContainerChecked:{".ms-Button--primary":(u={},u[Mo]=d({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)},splitButtonContainerCheckedHovered:{".ms-Button--primary":(p={},p[Mo]=d({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),p)},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(h={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},h[Mo]={".ms-Button-menuIcon":{color:"WindowText"}},h),splitButtonDivider:d(d({},k),(m={},m[Mo]={backgroundColor:"WindowText"},m)),splitButtonDividerDisabled:d(d({},k),(f={},f[Mo]={backgroundColor:"GrayText"},f)),splitButtonMenuButtonDisabled:(g={pointerEvents:"none",border:"none",":hover":{cursor:"default"},".ms-Button--primary":(v={},v[Mo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},v),".ms-Button-menuIcon":(b={},b[Mo]={color:"GrayText"},b)},g[Mo]={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[Mo]=d({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),y),splitButtonMenuFocused:d({},on(e,{highContrastStyle:x,inset:2}))},t)})),mp=Do((function(e,t){var o,n=pp(e),r=hp(e),i=e.palette;return Nn(n,{root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:(o={color:i.themeDarkAlt,backgroundColor:i.neutralLighter},o[Mo]={borderColor:"Highlight",color:"Highlight"},o),rootHasMenu:{width:"auto"},rootPressed:{color:i.themeDark,backgroundColor:i.neutralLight},rootExpanded:{color:i.themeDark,backgroundColor:i.neutralLight},rootChecked:{color:i.themeDark,backgroundColor:i.neutralLight},rootCheckedHovered:{color:i.themeDark,backgroundColor:i.neutralQuaternaryAlt},rootDisabled:{color:i.neutralTertiaryAlt}},r,t)})),fp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return g.createElement(op,d({},this.props,{variantClassName:"ms-Button--icon",styles:mp(o,t),onRenderText:vl,onRenderDescription:vl}))},h([lp("IconButton",["theme","styles"],!0)],t)}(g.Component);!function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(cp||(cp={}));var gp=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)}}},vp=function(e){void 0===e&&(e=gp());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 d(d({},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,d(d({},i),{measureContainer:!1})}(s,e.data,i.renderedData,e.onGrowData));t=s}var l=d(d({},i),{measureContainer:!1});return i.dataToMeasure&&(l="grow"===i.resizeDirection&&e.onGrowData?d(d({},l),function(e,i,a,s){for(var l=e,c=n(e,a);c<t;){var u=i(l);if(void 0===u)return{renderedData:l,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(c=o.getCachedMeasurement(u)))return{dataToMeasure:u};l=u}return d({resizeDirection:"shrink"},r(l,s,a))}(i.dataToMeasure,e.onGrowData,a,e.onReduceData)):d(d({},l),r(i.dataToMeasure,e.onReduceData,a))),l}},shouldRenderDataForMeasurement:function(e){return!(!e||void 0!==o.getCachedMeasurement(e))},getInitialResizeGroupState:function(e){return{dataToMeasure:d({},e),resizeDirection:"grow",measureContainer:!0}}}},bp=g.createContext({isMeasured:!1}),yp={position:"fixed",visibility:"hidden"},Cp={position:"relative"};function _p(e,t){var o;switch(t.type){case"resizeData":return d({},t.value);case"dataToMeasure":return d(d({},e),{dataToMeasure:t.value,resizeDirection:"grow",measureContainer:!0});default:return d(d({},e),((o={})[t.type]=t.value,o))}}var Sp={isMeasured:!0},xp=g.forwardRef((function(e,t){var o=g.useRef(null),n=ri(o,t),r=function(e,t){var o=Ic(vp),n=g.useRef(null),r=g.useRef(null),i=g.useRef(!1),a=Sc(),s=function(e,t,o){var n=Ic((function(){return t.getInitialResizeGroupState(e.data)})),r=g.useReducer(_p,n),i=r[0],a=r[1];g.useEffect((function(){a({type:"dataToMeasure",value:e.data})}),[e.data]);var s=g.useRef(n);return s.current=d({},i),[s,g.useCallback((function(e){e&&a({type:"resizeData",value:e})}),[]),g.useCallback((function(){o.current&&a({type:"measureContainer",value:!0})}),[o])]}(e,o,t),l=s[0],c=s[1],u=s[2];g.useEffect((function(){var t;l.current.renderedData&&(i.current=!0,null===(t=e.dataDidRender)||void 0===t||t.call(e,l.current.renderedData))})),g.useEffect((function(){a.requestAnimationFrame((function(){var a=void 0;if(l.current.measureContainer&&t.current){var s=t.current.getBoundingClientRect();a=e.direction===cp.vertical?s.height:s.width}var u=o.getNextState(e,l.current,(function(){var t=i.current?r:n;if(!t.current)return 0;var o=t.current.getBoundingClientRect();return e.direction===cp.vertical?o.height:o.width}),a);c(u)}),t.current)})),xc(ia(),"resize",a.debounce(u,16,{leading:!0}));var p=o.shouldRenderDataForMeasurement(l.current.dataToMeasure),h=!i.current&&p;return[l.current.dataToMeasure,l.current.renderedData,u,n,r,p,h]}(e,o),i=r[0],a=r[1],s=r[2],l=r[3],c=r[4],u=r[5],p=r[6];g.useImperativeHandle(e.componentRef,(function(){return{remeasure:s}}),[s]);var h=e.className,m=e.onRenderData,f=jr(e,Ur,["data"]);return g.createElement("div",d({},f,{className:h,ref:n}),g.createElement("div",{style:Cp},u&&!p&&g.createElement("div",{style:yp,ref:c},g.createElement(bp.Provider,{value:Sp},m(i))),g.createElement("div",{ref:l,style:p?yp:void 0,"data-automation-id":"visibleContent"},p?m(i):a&&m(a))))}));xp.displayName="ResizeGroupBase";var kp,wp=xp;function Ip(e){return e.clientWidth<e.scrollWidth}function Dp(e){return e.clientHeight<e.scrollHeight}function Ep(e){return Ip(e)||Dp(e)}!function(e){e[e.Parent=0]="Parent",e[e.Self=1]="Self"}(kp||(kp={}));var Tp,Pp=gr(),Rp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderContent=function(e){return"string"==typeof e.content?g.createElement("p",{className:t._classNames.subText},e.content):g.createElement("div",{className:t._classNames.subText},e.content)},t}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.className,o=e.calloutProps,n=e.directionalHint,r=e.directionalHintForRTL,i=e.styles,a=e.id,s=e.maxWidth,l=e.onRenderContent,c=void 0===l?this._onRenderContent:l,u=e.targetElement,p=e.theme;return this._classNames=Pp(i,{theme:p,className:t||o&&o.className,beakWidth:o&&o.isBeakVisible?o.beakWidth:0,gapSpace:o&&o.gapSpace,maxWidth:s}),g.createElement(wu,d({target:u,directionalHint:n,directionalHintForRTL:r},o,jr(this.props,Ur,["id"]),{className:this._classNames.root}),g.createElement("div",{className:this._classNames.content,id:a,onFocus:this.props.onFocus,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},c(this.props,this._onRenderContent)))},t.defaultProps={directionalHint:Sl.topCenter,maxWidth:"364px",calloutProps:{isBeakVisible:!0,beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1}},t}(g.Component),Mp=rr(Rp,(function(e){var t=e.className,o=e.beakWidth,n=void 0===o?16:o,r=e.gapSpace,i=void 0===r?0:r,a=e.maxWidth,s=e.theme,l=s.semanticColors,c=s.fonts,u=s.effects,d=-(Math.sqrt(n*n/2)+i)+1/window.devicePixelRatio;return{root:["ms-Tooltip",s.fonts.medium,tt.fadeIn200,{background:l.menuBackground,boxShadow:u.elevation8,padding:"8px",maxWidth:a,selectors:{":after":{content:"''",position:"absolute",bottom:d,left:d,right:d,top:d,zIndex:0}}},t],content:["ms-Tooltip-content",c.small,{position:"relative",zIndex:1,color:l.menuItemText,wordWrap:"break-word",overflowWrap:"break-word",overflow:"hidden"}],subText:["ms-Tooltip-subtext",{fontSize:"inherit",fontWeight:"inherit",color:"inherit",margin:0}]}}),void 0,{scope:"Tooltip"});!function(e){e[e.zero=0]="zero",e[e.medium=1]="medium",e[e.long=2]="long"}(Tp||(Tp={}));var Np=gr(),Bp=function(e){function t(o){var n=e.call(this,o)||this;return n._tooltipHost=g.createRef(),n._defaultTooltipId=as("tooltip"),n.show=function(){n._toggleTooltip(!0)},n.dismiss=function(){n._hideTooltip()},n._getTargetElement=function(){if(n._tooltipHost.current){var e=n.props.overflowMode;if(void 0!==e)switch(e){case kp.Parent:return n._tooltipHost.current.parentElement;case kp.Self:return n._tooltipHost.current}return n._tooltipHost.current}},n._onTooltipFocus=function(e){n._ignoreNextFocusEvent?n._ignoreNextFocusEvent=!1:n._onTooltipMouseEnter(e)},n._onTooltipContentFocus=function(e){t._currentVisibleTooltip&&t._currentVisibleTooltip!==n&&t._currentVisibleTooltip.dismiss(),t._currentVisibleTooltip=n,n._clearDismissTimer(),n._clearOpenTimer()},n._onTooltipBlur=function(e){var t;n._ignoreNextFocusEvent=(null===(t=Rc(n.context))||void 0===t?void 0:t.activeElement)===e.target,n._dismissTimerId=n._async.setTimeout((function(){n._hideTooltip()}),0)},n._onTooltipMouseEnter=function(e){var o=n.props,r=o.overflowMode,i=o.delay,a=Rc(n.context);if(t._currentVisibleTooltip&&t._currentVisibleTooltip!==n&&t._currentVisibleTooltip.dismiss(),t._currentVisibleTooltip=n,void 0!==r){var s=n._getTargetElement();if(s&&!Ep(s))return}if(!e.target||!Cs(e.target,n._getTargetElement(),a))if(n._clearDismissTimer(),n._clearOpenTimer(),i!==Tp.zero){var l=n._getDelayTime(i);n._openTimerId=n._async.setTimeout((function(){n._toggleTooltip(!0)}),l)}else n._toggleTooltip(!0)},n._onTooltipMouseLeave=function(e){var o=n.props.closeDelay;n._clearDismissTimer(),n._clearOpenTimer(),o?n._dismissTimerId=n._async.setTimeout((function(){n._toggleTooltip(!1)}),o):n._toggleTooltip(!1),t._currentVisibleTooltip===n&&(t._currentVisibleTooltip=void 0)},n._onTooltipKeyDown=function(e){(e.which===ar.escape||e.ctrlKey)&&n.state.isTooltipVisible&&(n._hideTooltip(),e.stopPropagation())},n._clearDismissTimer=function(){n._async.clearTimeout(n._dismissTimerId)},n._clearOpenTimer=function(){n._async.clearTimeout(n._openTimerId)},n._hideTooltip=function(){n._clearOpenTimer(),n._clearDismissTimer(),n._toggleTooltip(!1)},n._toggleTooltip=function(e){n.state.isTooltipVisible!==e&&n.setState({isTooltipVisible:e},(function(){return n.props.onTooltipToggle&&n.props.onTooltipToggle(e)}))},n._getDelayTime=function(e){switch(e){case Tp.medium:return 300;case Tp.long:return 500;default:return 0}},Ji(n),n.state={isAriaPlaceholderRendered:!1,isTooltipVisible:!1},n}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.calloutProps,o=e.children,n=e.content,r=e.directionalHint,i=e.directionalHintForRTL,a=e.hostClassName,s=e.id,l=e.setAriaDescribedBy,c=void 0===l||l,u=e.tooltipProps,p=e.styles,h=e.theme;this._classNames=Np(p,{theme:h,className:a});var m=this.state.isTooltipVisible,f=s||this._defaultTooltipId,v=d(d({id:"".concat(f,"--tooltip"),content:n,targetElement:this._getTargetElement(),directionalHint:r,directionalHintForRTL:i,calloutProps:al({},t,{onDismiss:this._hideTooltip,onFocus:this._onTooltipContentFocus,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave}),onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},jr(this.props,Ur,["id"])),u),b=(null==u?void 0:u.onRenderContent)?u.onRenderContent(v,(function(e){return(null==e?void 0:e.content)?g.createElement(g.Fragment,null,e.content):null})):n,y=m&&!!b,C=c&&m&&b?f:void 0;return g.createElement("div",{className:this._classNames.root,ref:this._tooltipHost,onFocusCapture:this._onTooltipFocus,onBlurCapture:this._onTooltipBlur,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,role:"none","aria-describedby":C},o,y&&g.createElement(Mp,d({},v)),g.createElement("div",{hidden:!0,id:f,style:ho},b))},t.prototype.componentDidMount=function(){this._async=new na(this)},t.prototype.componentWillUnmount=function(){t._currentVisibleTooltip&&t._currentVisibleTooltip===this&&(t._currentVisibleTooltip=void 0),this._async.dispose()},t.defaultProps={delay:Tp.medium},t.contextType=ra,t}(g.Component),Ap={root:"ms-TooltipHost",ariaPlaceholder:"ms-TooltipHost-aria-placeholder"},Fp=rr(Bp,(function(e){var t=e.className,o=e.theme;return{root:[Ro(Ap,o).root,{display:"inline"},t]}}),void 0,{scope:"TooltipHost"}),Lp=gr(),Hp=function(){return null},Op={styles:function(e){return{root:{selectors:{"&.is-disabled":{color:e.theme.semanticColors.bodyText}}}}}},zp=function(e){function t(t){var o=e.call(this,t)||this;return o._focusZone=g.createRef(),o._onReduceData=function(e){var t=e.renderedItems,o=e.renderedOverflowItems,n=e.props.overflowIndex,r=t[n];if(r)return(t=m([],t,!0)).splice(n,1),o=m(m([],o,!0),[r],!1),d(d({},e),{renderedItems:t,renderedOverflowItems:o})},o._onGrowData=function(e){var t=e.renderedItems,o=e.renderedOverflowItems,n=e.props,r=n.overflowIndex,i=n.maxDisplayedItems,a=(o=m([],o,!0)).pop();if(a&&!(t.length>=i))return(t=m([],t,!0)).splice(r,0,a),d(d({},e),{renderedItems:t,renderedOverflowItems:o})},o._onRenderBreadcrumb=function(e){var t=e.props,n=t.ariaLabel,r=t.dividerAs,i=void 0===r?ki:r,a=t.onRenderItem,s=t.overflowAriaLabel,l=t.overflowIndex,c=t.onRenderOverflowIcon,u=t.overflowButtonAs,p=e.renderedOverflowItems,h=e.renderedItems,m=p.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:Op}})),f=h.length-1,v=p&&0!==p.length,b=h.map((function(e,t){var n=o._onRenderItem;return e.onRender&&(n=kl(e.onRender,n)),a&&(n=kl(a,n)),g.createElement("li",{className:o._classNames.listItem,key:e.key||String(t)},n(e),(t!==f||v&&t===l-1)&&g.createElement(i,{className:o._classNames.chevron,iconName:lr(o.props.theme)?"ChevronLeft":"ChevronRight",item:e}))}));if(v){var y=c?{}:{iconName:"More"},C=c||Hp,_=u||fp;b.splice(l,0,g.createElement("li",{className:o._classNames.overflow,key:"overflow"},g.createElement(_,{className:o._classNames.overflowButton,iconProps:y,role:"button","aria-haspopup":"true",ariaLabel:s,onRenderMenuIcon:C,menuProps:{items:m,directionalHint:Sl.bottomLeftEdge}}),l!==f+1&&g.createElement(i,{className:o._classNames.chevron,iconName:lr(o.props.theme)?"ChevronLeft":"ChevronRight",item:p[p.length-1]})))}var S=jr(o.props,xr,["className"]);return g.createElement("div",d({className:o._classNames.root,role:"navigation","aria-label":n},S),g.createElement(Hs,d({componentRef:o._focusZone,direction:da.horizontal},o.props.focusZoneProps),g.createElement("ol",{className:o._classNames.list},b)))},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=p(e,["as","href","onClick","isCurrentItem","text","onRenderContent"]),c=Wp;if(s&&(c=kl(s,c)),o.props.onRenderItemContent&&(c=kl(o.props.onRenderItemContent,c)),r||n)return g.createElement(rl,d({},l,{as:t,className:o._classNames.itemLink,href:n,"aria-current":i?"page":void 0,onClick:o._onBreadcrumbClicked.bind(o,e)}),g.createElement(Fp,d({content:a,overflowMode:kp.Parent},o.props.tooltipHostProps),c(e)));var u=t||"span";return g.createElement(u,d({},l,{className:o._classNames.item}),g.createElement(Fp,d({content:a,overflowMode:kp.Parent},o.props.tooltipHostProps),c(e)))},o._onBreadcrumbClicked=function(e,t){e.onClick&&e.onClick(t,e)},Ji(o),o._validateProps(t),o}return u(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=m([],s,!0),p=d.splice(i,d.length-a),h={props:this.props,renderedItems:d,renderedOverflowItems:p};return this._classNames=Lp(u,{className:l,theme:c}),g.createElement(wp,{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}(g.Component);function Wp(e){return e?g.createElement(g.Fragment,null,e.text):null}var Vp,Kp,Gp={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"},Up={whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},jp=Yo(0,Vo),qp=Yo(Lo,Ko),Yp=rr(zp,(function(e){var t,o,n,r,i,a=e.className,s=e.theme,l=s.palette,c=s.semanticColors,u=s.fonts,p=Ro(Gp,s),h=c.menuItemBackgroundHovered,m=c.menuItemBackgroundPressed,f=l.neutralSecondary,g=$e.regular,v=l.neutralPrimary,b=l.neutralPrimary,y=$e.semibold,C=l.neutralSecondary,_=l.neutralSecondary,S={fontWeight:y,color:b},x={":hover":{color:v,backgroundColor:h,cursor:"pointer",selectors:(t={},t[Mo]={color:"Highlight",backgroundColor:"transparent"},t)},":active":{backgroundColor:m,color:v},"&:active:hover":{color:v,backgroundColor:m},"&:active, &:hover, &:active:hover":{textDecoration:"none"}},k={color:f,padding:"0 8px",lineHeight:36,fontSize:18,fontWeight:g};return{root:[p.root,u.medium,{margin:"11px 0 1px"},a],list:[p.list,{whiteSpace:"nowrap",padding:0,margin:0,display:"flex",alignItems:"stretch"}],listItem:[p.listItem,{listStyleType:"none",margin:"0",padding:"0",display:"flex",position:"relative",alignItems:"center",selectors:{"&:last-child .ms-Breadcrumb-itemLink":d(d({},S),(o={},o[Mo]={MsHighContrastAdjust:"auto",forcedColorAdjust:"auto"},o)),"&:last-child .ms-Breadcrumb-item":S}}],chevron:[p.chevron,{color:C,fontSize:u.small.fontSize,selectors:(n={},n[Mo]=d({color:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n[qp]={fontSize:8},n[jp]={fontSize:8},n)}],overflow:[p.overflow,{position:"relative",display:"flex",alignItems:"center"}],overflowButton:[p.overflowButton,on(s,{highContrastStyle:{left:1,right:1,top:1,bottom:1}}),Up,{fontSize:16,color:_,height:"100%",cursor:"pointer",selectors:d(d({},x),(r={},r[jp]={padding:"4px 6px"},r[qp]={fontSize:u.mediumPlus.fontSize},r))}],itemLink:[p.itemLink,on(s),Up,d(d({},k),{selectors:d((i={":focus":{color:l.neutralDark}},i[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={outline:"none"},i),x)})],item:[p.item,d(d({},k),{selectors:{":hover":{cursor:"default"}}})]}}),void 0,{scope:"Breadcrumb"}),Zp=Do((function(e,t){var o,n,r;return Nn(pp(e),{root:(o={padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},o[Mo]={borderColor:"Window"},o),rootHovered:(n={color:e.palette.themePrimary},n[Mo]={color:"Highlight"},n),iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:(r={color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent"},r[Mo]={color:"GrayText"},r),rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}},t)})),Xp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return g.createElement(op,d({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:Zp(o,t),onRenderDescription:vl}))},h([lp("ActionButton",["theme","styles"],!0)],t)}(g.Component);function Qp(e){var t,o,n,r,i,a=e.semanticColors,s=e.palette,l=a.buttonBackground,c=a.buttonBackgroundPressed,u=a.buttonBackgroundHovered,p=a.buttonBackgroundDisabled,h=a.buttonText,m=a.buttonTextHovered,f=a.buttonTextDisabled,g=a.buttonTextChecked,v=a.buttonTextCheckedHovered;return{root:{backgroundColor:l,color:h},rootHovered:(t={backgroundColor:u,color:m},t[Mo]={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:f,backgroundColor:p},o[Mo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},o),splitButtonContainer:(n={},n[Mo]={border:"none"},n),splitButtonMenuButton:{color:s.white,backgroundColor:"transparent",":hover":(r={backgroundColor:s.neutralLight},r[Mo]={color:"Highlight"},r)},splitButtonMenuButtonDisabled:{backgroundColor:a.buttonBackgroundDisabled,":hover":{backgroundColor:a.buttonBackgroundDisabled}},splitButtonDivider:d(d({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(i={backgroundColor:s.neutralTertiaryAlt},i[Mo]={backgroundColor:"WindowText"},i)),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:s.neutralQuaternaryAlt,":hover":{backgroundColor:s.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:s.neutralQuaternaryAlt,":hover":{backgroundColor:s.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:a.buttonText},splitButtonMenuIconDisabled:{color:a.buttonTextDisabled}}}function Jp(e){var t,o,n,r,i,a,s,l,c,u=e.palette,p=e.semanticColors;return{root:(t={backgroundColor:p.primaryButtonBackground,border:"1px solid ".concat(p.primaryButtonBackground),color:p.primaryButtonText},t[Mo]=d({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={":after":{border:"none",outlineColor:u.white}},t),rootHovered:(o={backgroundColor:p.primaryButtonBackgroundHovered,border:"1px solid ".concat(p.primaryButtonBackgroundHovered),color:p.primaryButtonTextHovered},o[Mo]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},o),rootPressed:(n={backgroundColor:p.primaryButtonBackgroundPressed,border:"1px solid ".concat(p.primaryButtonBackgroundPressed),color:p.primaryButtonTextPressed},n[Mo]=d({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n),rootExpanded:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootChecked:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootDisabled:(r={color:p.primaryButtonTextDisabled,backgroundColor:p.primaryButtonBackgroundDisabled},r[Mo]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},r),splitButtonContainer:(i={},i[Mo]={border:"none"},i),splitButtonDivider:d(d({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(a={backgroundColor:u.white},a[Mo]={backgroundColor:"Window"},a)),splitButtonMenuButton:(s={backgroundColor:p.primaryButtonBackground,color:p.primaryButtonText},s[Mo]={backgroundColor:"Canvas"},s[":hover"]=(l={backgroundColor:p.primaryButtonBackgroundHovered},l[Mo]={color:"Highlight"},l),s),splitButtonMenuButtonDisabled:{backgroundColor:p.primaryButtonBackgroundDisabled,":hover":{backgroundColor:p.primaryButtonBackgroundDisabled}},splitButtonMenuButtonChecked:{backgroundColor:p.primaryButtonBackgroundPressed,":hover":{backgroundColor:p.primaryButtonBackgroundPressed}},splitButtonMenuButtonExpanded:{backgroundColor:p.primaryButtonBackgroundPressed,":hover":{backgroundColor:p.primaryButtonBackgroundPressed}},splitButtonMenuIcon:{color:p.primaryButtonText},splitButtonMenuIconDisabled:(c={color:u.neutralTertiary},c[Mo]={color:"GrayText"},c)}}!function(e){e[e.button=0]="button",e[e.anchor=1]="anchor"}(Vp||(Vp={})),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"}(Kp||(Kp={}));var $p=Do((function(e,t,o){var n=pp(e),r=hp(e);return Nn(n,{root:{minWidth:"80px",minHeight:"32px"},label:{fontWeight:$e.semibold}},o?Jp(e):Qp(e),r,t)})),eh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(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 g.createElement(op,d({},this.props,{variantClassName:o?"ms-Button--primary":"ms-Button--default",styles:$p(r,n,o),onRenderDescription:vl}))},h([lp("DefaultButton",["theme","styles"],!0)],t)}(g.Component),th=Do((function(e,t,o){var n,r,i,a,s,l=e.fonts,c=e.palette,u=pp(e),p=hp(e),h={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:$e.semibold},description:[l.small,{lineHeight:"100%"}]},m={description:{color:c.neutralSecondary},descriptionHovered:{color:c.neutralDark},descriptionPressed:{color:"inherit"},descriptionChecked:{color:"inherit"},descriptionDisabled:{color:"inherit"}},f={description:(n={color:c.white},n[Mo]=d({backgroundColor:"WindowText",color:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n),descriptionHovered:(r={color:c.white},r[Mo]={backgroundColor:"Highlight",color:"Window"},r),descriptionPressed:(i={color:"inherit"},i[Mo]=d({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i),descriptionChecked:(a={color:"inherit"},a[Mo]=d({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a),descriptionDisabled:(s={color:"inherit"},s[Mo]={color:"inherit"},s)};return Nn(u,h,o?Jp(e):Qp(e),o?f:m,p,t)})),oh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(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 g.createElement(op,d({},this.props,{variantClassName:o?"ms-Button--compoundPrimary":"ms-Button--compound",styles:th(r,n,o)}))},h([lp("CompoundButton",["theme","styles"],!0)],t)}(g.Component),nh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){return g.createElement(eh,d({},this.props,{primary:!0,onRenderDescription:vl}))},h([lp("PrimaryButton",["theme","styles"],!0)],t)}(g.Component),rh=function(e){function t(t){var o=e.call(this,t)||this;return bn("The Button component has been deprecated. Use specific variants instead. (PrimaryButton, DefaultButton, IconButton, ActionButton, etc.)"),o}return u(t,e),t.prototype.render=function(){var e=this.props;switch(e.buttonType){case Kp.command:return g.createElement(Xp,d({},e));case Kp.compound:return g.createElement(oh,d({},e));case Kp.icon:return g.createElement(fp,d({},e));case Kp.primary:return g.createElement(nh,d({},e));default:return g.createElement(eh,d({},e))}},t}(g.Component),ih=Do((function(e,t,o,n){var r,i,a,s,l,c,u,p,h,m,f,g,v,b=pp(e),y=hp(e),C=e.palette,_=e.semanticColors;return Nn(b,y,{root:[on(e,{inset:2,highContrastStyle:{left:4,top:4,bottom:4,right:4,border:"none"},borderColor:"transparent"}),e.fonts.medium,(r={minWidth:"40px",backgroundColor:C.white,color:C.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0},r[Mo]={border:"none"},r)],rootHovered:(i={backgroundColor:C.neutralLighter,color:C.neutralDark},i[Mo]={color:"Highlight"},i[".".concat($d.msButtonIcon)]={color:C.themeDarkAlt},i[".".concat($d.msButtonMenuIcon)]={color:C.neutralPrimary},i),rootPressed:(a={backgroundColor:C.neutralLight,color:C.neutralDark},a[".".concat($d.msButtonIcon)]={color:C.themeDark},a[".".concat($d.msButtonMenuIcon)]={color:C.neutralPrimary},a),rootChecked:(s={backgroundColor:C.neutralLight,color:C.neutralDark},s[".".concat($d.msButtonIcon)]={color:C.themeDark},s[".".concat($d.msButtonMenuIcon)]={color:C.neutralPrimary},s),rootCheckedHovered:(l={backgroundColor:C.neutralQuaternaryAlt},l[".".concat($d.msButtonIcon)]={color:C.themeDark},l[".".concat($d.msButtonMenuIcon)]={color:C.neutralPrimary},l),rootExpanded:(c={backgroundColor:C.neutralLight,color:C.neutralDark},c[".".concat($d.msButtonIcon)]={color:C.themeDark},c[".".concat($d.msButtonMenuIcon)]={color:C.neutralPrimary},c),rootExpandedHovered:{backgroundColor:C.neutralQuaternaryAlt},rootDisabled:(u={backgroundColor:C.white},u[".".concat($d.msButtonIcon)]=(p={color:_.disabledBodySubtext},p[Mo]=d({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),p),u[Mo]=d({color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u),splitButtonContainer:(h={height:"100%"},h[Mo]={border:"none"},h),splitButtonDividerDisabled:(m={},m[Mo]={backgroundColor:"Window"},m),splitButtonDivider:{backgroundColor:C.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:C.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:C.neutralSecondary,":hover":(f={backgroundColor:C.neutralLighter,color:C.neutralDark},f[Mo]={color:"Highlight"},f[".".concat($d.msButtonIcon)]={color:C.neutralPrimary},f),":active":(g={backgroundColor:C.neutralLight},g[".".concat($d.msButtonIcon)]={color:C.neutralPrimary},g)},splitButtonMenuButtonDisabled:(v={backgroundColor:C.white},v[Mo]=d({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)})),ah=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return g.createElement(op,d({},this.props,{variantClassName:"ms-Button--commandBar",styles:ih(o,t),onRenderDescription:vl}))},h([lp("CommandBarButton",["theme","styles"],!0)],t)}(g.Component),sh=Xp,lh=Do((function(e,t){return Nn({root:[on(e,{inset:1,highContrastStyle:{outlineOffset:"-4px",outline:"1px solid Window"},borderColor:"transparent"}),{height:24}]},t)})),ch=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return g.createElement(eh,d({},this.props,{styles:lh(o,t),onRenderDescription:vl}))},h([lp("MessageBarButton",["theme","styles"],!0)],t)}(g.Component),uh=gr(),dh=g.forwardRef((function(e,t){var o=fd(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,p=e.styles,h=e.doNotContainWithinFocusZone,m=jr(e,xr,h?[]:["onBlur"]),f=uh(p,{theme:e.theme}),v=Ca(n,r),b=g.createElement("table",d({"aria-posinset":l,"aria-setsize":u,id:o,role:a?"radiogroup":"grid"},m,{className:f.root}),g.createElement("tbody",{role:a?"presentation":"rowgroup"},v.map((function(e,t){return g.createElement("tr",{role:a?"presentation":"row",key:t},e.map((function(e,t){return g.createElement("td",{role:"presentation",key:t+"-cell",className:f.tableCell},i(e,t))})))}))));return h?b:g.createElement(Hs,{elementRef:t,isCircularNavigation:e.shouldFocusCircularNavigate,className:f.focusedContainer,onBlur:e.onBlur},b)})),ph=rr(dh,(function(e){return{root:{padding:2,outline:"none"},tableCell:{padding:0}}}));ph.displayName="ButtonGrid";var hh,mh,fh,gh,vh,bh=function(e){var t,o=fd("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,p=e.cellDisabledStyle,h=e.cellIsSelectedStyle,m=e.index,f=e.label,v=e.getClassNames,b=e.onClick,y=e.onHover,C=e.onMouseMove,_=e.onMouseLeave,S=e.onMouseEnter,x=e.onFocus,k=jr(e,Pr),w=g.useCallback((function(e){b&&!c&&b(n,e)}),[c,n,b]),I=g.useCallback((function(e){S&&S(e)||!y||c||y(n,e)}),[c,n,y,S]),D=g.useCallback((function(e){C&&C(e)||!y||c||y(n,e)}),[c,n,y,C]),E=g.useCallback((function(e){_&&_(e)||!y||c||y(void 0,e)}),[c,y,_]),T=g.useCallback((function(e){x&&!c&&x(n,e)}),[c,n,x]);return g.createElement(sh,d({id:i,"data-index":m,"data-is-focusable":!0,"aria-selected":s,ariaLabel:f,title:f},k,{className:pi(a,(t={},t[""+h]=s,t[""+p]=c,t)),onClick:w,onMouseEnter:I,onMouseMove:D,onMouseLeave:E,onFocus:T,getClassNames:v}),u(n))};!function(e){e[e.Horizontal=0]="Horizontal",e[e.Vertical=1]="Vertical"}(hh||(hh={})),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"}(mh||(mh={})),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"}(fh||(fh={})),function(e){e[e.FirstDay=0]="FirstDay",e[e.FirstFullWeek=1]="FirstFullWeek",e[e.FirstFourDayWeek=2]="FirstFourDayWeek"}(gh||(gh={})),function(e){e[e.Day=0]="Day",e[e.Week=1]="Week",e[e.Month=2]="Month",e[e.WorkWeek=3]="WorkWeek"}(vh||(vh={}));var yh=7,Ch={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()}},_h=d(d({},{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"}),Sh={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 xh(e,t){var o=new Date(e.getTime());return o.setDate(o.getDate()+t),o}function kh(e,t){return xh(e,t*Sh.DaysInOneWeek)}function wh(e,t){var o=new Date(e.getTime()),n=o.getMonth()+t;return o.setMonth(n),o.getMonth()!==(n%Sh.MonthInOneYear+Sh.MonthInOneYear)%Sh.MonthInOneYear&&(o=xh(o,-o.getDate())),o}function Ih(e,t){var o=new Date(e.getTime());return o.setFullYear(e.getFullYear()+t),o.getMonth()!==(e.getMonth()%Sh.MonthInOneYear+Sh.MonthInOneYear)%Sh.MonthInOneYear&&(o=xh(o,-o.getDate())),o}function Dh(e){return new Date(e.getFullYear(),e.getMonth(),1,0,0,0,0)}function Eh(e){return new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0,0)}function Th(e){return new Date(e.getFullYear(),0,1,0,0,0,0)}function Ph(e){return new Date(e.getFullYear()+1,0,0,0,0,0,0)}function Rh(e,t){return wh(e,t-e.getMonth())}function Mh(e,t){return!e&&!t||!(!e||!t)&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function Nh(e,t){return Wh(e)-Wh(t)}function Bh(e,t,o,n,r){void 0===r&&(r=1);var i,a=[],s=null;switch(n||(n=[mh.Monday,mh.Tuesday,mh.Wednesday,mh.Thursday,mh.Friday]),r=Math.max(r,1),t){case vh.Day:s=xh(i=zh(e),r);break;case vh.Week:case vh.WorkWeek:s=xh(i=Hh(zh(e),o),Sh.DaysInOneWeek);break;case vh.Month:s=wh(i=new Date(e.getFullYear(),e.getMonth(),1),1);break;default:throw new Error("Unexpected object: "+t)}var l=i;do{(t!==vh.WorkWeek||-1!==n.indexOf(l.getDay()))&&a.push(l),l=xh(l,1)}while(!Mh(l,s));return a}function Ah(e,t){for(var o=0,n=t;o<n.length;o++)if(Mh(e,n[o]))return!0;return!1}function Fh(e,t,o,n){var r=n.getFullYear(),i=n.getMonth(),a=1,s=new Date(r,i,a),l=a+(t+Sh.DaysInOneWeek-1)-function(e,t){return e!==mh.Sunday&&t<e?t+Sh.DaysInOneWeek:t}(t,s.getDay()),c=new Date(r,i,l);a=c.getDate();for(var u=[],d=0;d<e;d++)u.push(Lh(c,t,o)),a+=Sh.DaysInOneWeek,c=new Date(r,i,a);return u}function Lh(e,t,o){switch(o){case gh.FirstFullWeek:return Vh(e,t,Sh.DaysInOneWeek);case gh.FirstFourDayWeek:return Vh(e,t,4);default:return function(e,t){var o=Kh(e)-1,n=(e.getDay()-o%Sh.DaysInOneWeek-t+2*Sh.DaysInOneWeek)%Sh.DaysInOneWeek;return Math.floor((o+n)/Sh.DaysInOneWeek+1)}(e,t)}}function Hh(e,t){var o=t-e.getDay();return o>0&&(o-=Sh.DaysInOneWeek),xh(e,o)}function Oh(e,t){var o=(t-1>=0?t-1:Sh.DaysInOneWeek-1)-e.getDay();return o<0&&(o+=Sh.DaysInOneWeek),xh(e,o)}function zh(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function Wh(e){return e.getDate()+(e.getMonth()<<5)+(e.getFullYear()<<9)}function Vh(e,t,o){var n=Kh(e)-1,r=e.getDay()-n%Sh.DaysInOneWeek,i=Kh(new Date(e.getFullYear()-1,fh.December,31))-1,a=(t-r+2*Sh.DaysInOneWeek)%Sh.DaysInOneWeek;0!==a&&a>=o&&(a-=Sh.DaysInOneWeek);var s=n-a;return s<0&&(0!=(a=(t-(r-=i%Sh.DaysInOneWeek)+2*Sh.DaysInOneWeek)%Sh.DaysInOneWeek)&&a+1>=o&&(a-=Sh.DaysInOneWeek),s=i-a),Math.floor(s/Sh.DaysInOneWeek+1)}function Kh(e){for(var t=e.getMonth(),o=e.getFullYear(),n=0,r=0;r<t;r++)n+=Gh(r+1,o);return n+e.getDate()}function Gh(e,t){return new Date(t,e,0).getDate()}var Uh=/[\{\}]/g,jh=/\{\d+\}/g;function qh(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];var n=t;return e.replace(jh,(function(e){var t=n[e.replace(Uh,"")];return null==t&&(t=""),t}))}var Yh=function(e,t,o){var n=m([],e,!0);return t&&(n=n.filter((function(e){return Nh(e,t)>=0}))),o&&(n=n.filter((function(e){return Nh(e,o)<=0}))),n},Zh=function(e,t){var o=t.minDate;return!!o&&Nh(o,e)>=1},Xh=function(e,t){var o=t.maxDate;return!!o&&Nh(e,o)>=1},Qh=function(e,t){var o=t.restrictedDates,n=t.minDate,r=t.maxDate;return!!(o||n||r)&&(o&&o.some((function(t){return Mh(t,e)}))||Zh(e,t)||Xh(e,t))},Jh=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=va(a[1],(function(e){return 1===e.originalDate.getDate()}));return 1===i&&c>=0&&(l[(c+n)%yh]=o.shortMonths[a[1][c].originalDate.getMonth()]),g.createElement("tr",null,t&&g.createElement("th",{className:s.dayCell}),l.map((function(e,t){var i=(t+n)%yh,a=o.days[i];return g.createElement("th",{className:pi(s.dayCell,s.weekDayLabelCell),scope:"col",key:l[i]+" "+t,title:a,"aria-label":a,"data-is-focusable":!!r||void 0},l[i])})))},$h=function(e){var t=e.targetDate,o=e.initialDate,n=e.direction,r=p(e,["targetDate","initialDate","direction"]),i=t;if(!Qh(t,r))return t;for(;0!==Nh(o,i)&&Qh(i,r)&&!Xh(i,r)&&!Zh(i,r);)i=xh(i,n);return 0===Nh(o,i)||Qh(i,r)?void 0:i},em=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,v=e.customDayCellRef,b=e.dateRangeType,y=e.daysToSelectInDayView,C=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=Mh(o,d.originalDate),T=d.originalDate.getDate()+", "+i.months[d.originalDate.getMonth()]+", "+d.originalDate.getFullYear();return d.isMarked&&(T=T+", "+i.dayMarkedAriaLabel),g.createElement("td",{className:pi(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==v||v(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&&b===vh.Day&&y&&y>1)){e.classList.remove(u.bottomLeftCornerDate,u.bottomRightCornerDate,u.topLeftCornerDate,u.topRightCornerDate);var i=l(u,!1,!1,n>0,n<o.length-1).trim();i&&(r=e.classList).add.apply(r,i.split(" "))}}))},onMouseDown:f?void 0:function(e){var t=w(d);I(t).forEach((function(e){e&&e.classList.add("ms-CalendarDay-pressedStyle")}))},onMouseUp:f?void 0:function(e){var t=w(d);I(t).forEach((function(e){e&&e.classList.remove("ms-CalendarDay-pressedStyle")}))},onMouseOut:f?void 0:function(e){var t=w(d),o=I(t);o.forEach((function(e,n){var r;if(e&&(e.classList.remove("ms-CalendarDay-hoverStyle"),e.classList.remove("ms-CalendarDay-pressedStyle"),!t[n].isSelected&&b===vh.Day&&y&&y>1)){var i=l(u,!1,!1,n>0,n<o.length-1).trim();i&&(r=e.classList).remove.apply(r,i.split(" "))}}))},onKeyDown:f?void 0:function(e){e.which===ar.enter?null==C||C(d.originalDate):function(e,t){var o=void 0,n=1;if(e.which===ar.up?(o=kh(t,-1),n=-1):e.which===ar.down?o=kh(t,1):e.which===ur(ar.left)?(o=xh(t,-1),n=-1):e.which===ur(ar.right)&&(o=xh(t,1)),o){var r={initialDate:t,targetDate:o,direction:n,restrictedDates:_,minDate:S,maxDate:x},i=$h(r);i||(r.direction=-n,i=$h(r)),c&&i&&c.slice(1,c.length-1).some((function(e){return e.some((function(e){return Mh(e.originalDate,i)}))}))||i&&(k(i,!0),e.preventDefault())}}(e,d.originalDate)},role:"gridcell",tabIndex:E?0:void 0,"aria-current":d.isToday?"date":void 0,"aria-selected":d.isInBounds?d.isSelected:void 0,"data-is-focusable":!f&&(r||!!d.isInBounds||void 0)},g.createElement("button",{key:d.key+"button","aria-hidden":f,className:pi(u.dayButton,d.isToday&&u.dayIsToday,d.isToday&&"ms-CalendarDay-dayIsToday"),"aria-label":T,id:E?a:void 0,disabled:!f&&!d.isInBounds,type:"button",tabIndex:-1,"data-is-focusable":"false"},g.createElement("span",{"aria-hidden":"true"},n.formatDay(d.originalDate)),d.isMarked&&g.createElement("div",{"aria-hidden":"true",className:u.dayMarker})))},tm=function(e){var t=e.classNames,o=e.week,n=e.weeks,r=e.weekIndex,i=e.rowClassName,a=e.ariaRole,s=e.showWeekNumbers,l=e.firstDayOfWeek,c=e.firstWeekOfYear,u=e.navigatedDate,p=e.strings,h=s?Fh(n.length,l,c,u):null,m=h?p.weekNumberFormatString&&qh(p.weekNumberFormatString,h[r]):"";return g.createElement("tr",{role:a,className:i,key:r+"_"+o[0].key},s&&h&&g.createElement("th",{className:t.weekNumberCell,key:r,title:m,"aria-label":m,scope:"row"},g.createElement("span",null,h[r])),o.map((function(t,o){return g.createElement(em,d({},e,{key:t.key,day:t,dayIndex:o}))})))},om=gr();function nm(e,t,o){var n=g.useMemo((function(){for(var n,r=function(e){var t,o=e.selectedDate,n=e.dateRangeType,r=e.firstDayOfWeek,i=e.today,a=e.minDate,s=e.maxDate,l=e.weeksToShow,c=e.workWeekDays,u=e.daysToSelectInDayView,d=e.restrictedDates,p=e.markedDays,h={minDate:a,maxDate:s,restrictedDates:d},m=i||new Date,f=e.navigatedDate?e.navigatedDate:m;t=l&&l<=4?new Date(f.getFullYear(),f.getMonth(),f.getDate()):new Date(f.getFullYear(),f.getMonth(),1);for(var g=[];t.getDay()!==r;)t.setDate(t.getDate()-1);t=xh(t,-yh);var v=!1,b=function(e,t,o){return!t||e!==vh.WorkWeek||function(e,t,o){for(var n=new Set(e),r=0,i=0,a=e;i<a.length;i++){var s=(a[i]+1)%7;(!n.has(s)||o===s)&&r++}return r<2}(t,0,o)&&0!==t.length?e:vh.Week}(n,c,r),y=[];o&&(y=Bh(o,b,r,c,u),y=Yh(y,a,s));for(var C=!0,_=0;C;_++){var S=[];v=!0;for(var x=function(e){var o=new Date(t.getTime()),n={key:t.toString(),date:t.getDate().toString(),originalDate:o,isInMonth:t.getMonth()===f.getMonth(),isToday:Mh(m,t),isSelected:Ah(t,y),isInBounds:!Qh(t,h),isMarked:(null==p?void 0:p.some((function(e){return Mh(o,e)})))||!1};S.push(n),n.isInMonth&&(v=!1),t.setDate(t.getDate()+1)},k=0;k<yh;k++)x();C=l?_<l+1:!v||0===_,g.push(S)}return g}(e),i=r[1][0].originalDate,a=r[r.length-1][6].originalDate,s=(null===(n=e.getMarkedDays)||void 0===n?void 0:n.call(e,i,a))||[],l=[],c=0;c<r.length;c++){for(var u=[],p=function(e){var n=r[c][e],i=d(d({onSelected:function(){return t(n.originalDate)},setRef:o(n.key)},n),{isMarked:n.isMarked||(null==s?void 0:s.some((function(e){return Mh(n.originalDate,e)})))});u.push(i)},h=0;h<yh;h++)p(h);l.push(u)}return l}),[e]);return n}var rm=function(e){var t=g.useRef(null),o=fd(),n=function(){var e=g.useRef({});return[e,function(t){return function(o){null===o?delete e.current[t]:e.current[t]=o}}]}(),r=n[0],i=n[1],a=nm(e,(function(t){var o,n,r=e.firstDayOfWeek,i=e.minDate,a=e.maxDate,s=e.workWeekDays,l=e.daysToSelectInDayView,c={minDate:i,maxDate:a,restrictedDates:e.restrictedDates},u=Bh(t,f,r,s,l);u=(u=Yh(u,i,a)).filter((function(e){return!Qh(e,c)})),null===(o=e.onSelectDate)||void 0===o||o.call(e,t,u),null===(n=e.onNavigateDate)||void 0===n||n.call(e,t,!0)}),i),s=function(e){var t=ed(e[0][0].originalDate);return t&&t.getTime()!==e[0][0].originalDate.getTime()?!(t<=e[0][0].originalDate):void 0}(a),l=function(e){var t=function(e,t,o,n,r){var i=[],a=!t&&!r,s=!o&&!n,l=!o&&!r;return!t&&!n&&i.push(lr()?e.topRightCornerDate:e.topLeftCornerDate),a&&i.push(lr()?e.topLeftCornerDate:e.topRightCornerDate),s&&i.push(lr()?e.bottomRightCornerDate:e.bottomLeftCornerDate),l&&i.push(lr()?e.bottomLeftCornerDate:e.bottomRightCornerDate),i.join(" ")},o=function(t,o,n,r){var i=e.dateRangeType,a=e.firstDayOfWeek,s=e.workWeekDays,l=Bh(t,i===vh.WorkWeek?vh.Week:i,a,s);return n===r&&(!(!n||!r)||l.filter((function(e){return e.getTime()===o.getTime()})).length>0)};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(lr()?e.datesRight:e.datesLeft),r||i.push(lr()?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];g.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 p=e.styles,h=e.theme,m=e.className,f=e.dateRangeType,v=e.showWeekNumbers,b=e.labelledBy,y=e.lightenDaysOutsideNavigatedMonth,C=e.animationDirection,_=om(p,{theme:h,className:m,dateRangeType:f,showWeekNumbers:v,lightenDaysOutsideNavigatedMonth:void 0===y||y,animationDirection:C,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===vh.WorkWeek){for(var o=t.slice().sort(),n=!0,r=1;r<o.length;r++)if(o[r]!==o[r-1]+1){n=!1;break}if(!n||0===t.length)return vh.Week}return e}(e.dateRangeType,e.workWeekDays),n=Bh(t.originalDate,o,e.firstDayOfWeek,e.workWeekDays,e.daysToSelectInDayView).map((function(e){return e.getTime()}));return a.reduce((function(e,t){return e.concat(t.filter((function(e){return-1!==n.indexOf(e.originalDate.getTime())})))}),[])},getRefsFromDayInfos:function(e){return e.map((function(e){return r.current[e.key]}))}};return g.createElement(Hs,{className:_.wrapper,preventDefaultWhenHandled:!0},g.createElement("table",{className:_.table,"aria-multiselectable":"false","aria-labelledby":b,"aria-activedescendant":o,role:"grid"},g.createElement("tbody",null,g.createElement(Jh,d({},e,{classNames:_,weeks:a})),g.createElement(tm,d({},e,x,{week:a[0],weekIndex:-1,rowClassName:_.firstTransitionWeek,ariaRole:"presentation",ariaHidden:!0})),a.slice(1,a.length-1).map((function(t,o){return g.createElement(tm,d({},e,x,{key:o,week:t,weekIndex:o,rowClassName:_.weekRow}))})),g.createElement(tm,d({},e,x,{week:a[a.length-1],weekIndex:-2,rowClassName:_.lastTransitionWeek,ariaRole:"presentation",ariaHidden:!0})))))};rm.displayName="CalendarDayGridBase";var im={hoverStyle:"ms-CalendarDay-hoverStyle",pressedStyle:"ms-CalendarDay-pressedStyle",dayIsTodayStyle:"ms-CalendarDay-dayIsToday",daySelectedStyle:"ms-CalendarDay-daySelected"},am=re({"100%":{width:0,height:0,overflow:"hidden"},"99.9%":{width:"100%",height:28,overflow:"visible"},"0%":{width:"100%",height:28,overflow:"visible"}}),sm=rr(rm,(function(e){var t,o,n,r,i,a,s,l,c,u,p=e.theme,h=e.dateRangeType,m=e.showWeekNumbers,f=e.lightenDaysOutsideNavigatedMonth,g=e.animateBackwards,v=e.animationDirection,b=p.palette,y=Ro(im,p),C={};void 0!==g&&(C=v===hh.Horizontal?g?Ge.slideRightIn20:Ge.slideLeftIn20:g?Ge.slideDownIn20:Ge.slideUpIn20);var _={},S={};void 0!==g&&v!==hh.Horizontal&&(_=g?{animationName:""}:Ge.slideUpOut20,S=g?Ge.slideDownOut20:{animationName:""});var x={selectors:{"&, &:disabled, & button":{color:b.neutralTertiaryAlt,pointerEvents:"none"}}};return{wrapper:{paddingBottom:10},table:[{textAlign:"center",borderCollapse:"collapse",borderSpacing:"0",tableLayout:"fixed",fontSize:"inherit",marginTop:4,width:196,position:"relative",paddingBottom:10},m&&{width:226}],dayCell:[on(p,{inset:-3}),{margin:0,padding:0,width:28,height:28,lineHeight:28,fontSize:Je.small,fontWeight:$e.regular,color:b.neutralPrimary,cursor:"pointer",position:"relative",selectors:(t={},t[Mo]=d({color:"WindowText",backgroundColor:"transparent",zIndex:0},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t["&."+y.hoverStyle]={backgroundColor:b.neutralLighter,selectors:(o={},o[Mo]={zIndex:3,backgroundColor:"Window",outline:"1px solid Highlight"},o)},t["&."+y.pressedStyle]={backgroundColor:b.neutralLight,selectors:(n={},n[Mo]={borderColor:"Highlight",color:"Highlight",backgroundColor:"Window"},n)},t["&."+y.pressedStyle+"."+y.hoverStyle]={selectors:(r={},r[Mo]={backgroundColor:"Window",outline:"1px solid Highlight"},r)},t)}],daySelected:[h!==vh.Month&&{backgroundColor:b.neutralLight+"!important",selectors:(i={"&::before":{content:'""',position:"absolute",top:0,bottom:0,left:0,right:0}},i["&:hover, &."+y.hoverStyle+", &."+y.pressedStyle]=(a={backgroundColor:b.neutralLight+"!important"},a[Mo]={color:"HighlightText!important",background:"Highlight!important"},a),i[Mo]=d({background:"Highlight!important",color:"HighlightText!important",borderColor:"Highlight!important"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}],weekRow:C,weekDayLabelCell:Ge.fadeIn200,weekNumberCell:{margin:0,padding:0,borderRight:"1px solid",borderColor:b.neutralLight,backgroundColor:b.neutralLighterAlt,color:b.neutralSecondary,boxSizing:"border-box",width:28,height:28,fontWeight:$e.regular,fontSize:Je.small},dayOutsideBounds:x,dayOutsideNavigatedMonth:f&&{color:b.neutralSecondary,fontWeight:$e.regular},dayButton:{width:24,height:24,lineHeight:24,fontSize:Je.small,fontWeight:"inherit",borderRadius:2,border:"none",padding:0,color:"inherit",backgroundColor:"transparent",cursor:"pointer",overflow:"visible",selectors:{span:{height:"inherit",lineHeight:"inherit"}}},dayIsToday:{backgroundColor:b.themePrimary+"!important",borderRadius:"100%",color:b.white+"!important",fontWeight:$e.semibold+"!important",selectors:(s={},s[Mo]=d({background:"WindowText!important",color:"Window!important",borderColor:"WindowText!important"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)},firstTransitionWeek:d(d({position:"absolute",opacity:0,width:0,height:0,overflow:"hidden"},_),{animationName:_.animationName+","+am}),lastTransitionWeek:d(d({position:"absolute",opacity:0,width:0,height:0,overflow:"hidden",marginTop:-28},S),{animationName:S.animationName+","+am}),dayMarker:{width:4,height:4,backgroundColor:b.neutralSecondary,borderRadius:"100%",bottom:1,left:0,right:0,position:"absolute",margin:"auto",selectors:(l={},l["."+y.dayIsTodayStyle+" &"]={backgroundColor:b.white,selectors:(c={},c[Mo]={backgroundColor:"Window"},c)},l["."+y.daySelectedStyle+" &"]={selectors:(u={},u[Mo]={backgroundColor:"HighlightText"},u)},l[Mo]=d({backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),l)},topRightCornerDate:{borderTopRightRadius:"2px"},topLeftCornerDate:{borderTopLeftRadius:"2px"},bottomRightCornerDate:{borderBottomRightRadius:"2px"},bottomLeftCornerDate:{borderBottomLeftRadius:"2px"},datesAbove:{"&::before":{borderTop:"1px solid ".concat(b.neutralSecondary)}},datesBelow:{"&::before":{borderBottom:"1px solid ".concat(b.neutralSecondary)}},datesLeft:{"&::before":{borderLeft:"1px solid ".concat(b.neutralSecondary)}},datesRight:{"&::before":{borderRight:"1px solid ".concat(b.neutralSecondary)}}}}),void 0,{scope:"CalendarDayGrid"}),lm=gr(),cm=function(e){var t=g.useRef(null);g.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 o=e.strings,n=e.navigatedDate,r=e.dateTimeFormatter,i=e.styles,a=e.theme,s=e.className,l=e.onHeaderSelect,c=e.showSixWeeksByDefault,u=e.minDate,p=e.maxDate,h=e.restrictedDates,m=e.onNavigateDate,f=e.showWeekNumbers,v=e.dateRangeType,b=e.animationDirection,y=fd(),C=lm(i,{theme:a,className:s,headerIsClickable:!!l,showWeekNumbers:f,animationDirection:b}),_=r.formatMonthYear(n,o),S=l?"button":"div",x=o.yearPickerHeaderAriaLabel?qh(o.yearPickerHeaderAriaLabel,_):_;return g.createElement("div",{className:C.root},g.createElement("div",{className:C.header},g.createElement(S,{"aria-label":l?x:void 0,className:C.monthAndYear,onClick:l,"data-is-focusable":!!l,tabIndex:l?0:-1,onKeyDown:dm(l),type:"button"},g.createElement("span",{id:y,"aria-live":"polite","aria-atomic":"true"},_)),g.createElement(um,d({},e,{classNames:C}))),g.createElement(sm,d({},e,{styles:i,componentRef:t,strings:o,navigatedDate:n,weeksToShow:c?6:void 0,dateTimeFormatter:r,minDate:u,maxDate:p,restrictedDates:h,onNavigateDate:m,labelledBy:y,dateRangeType:v})))};cm.displayName="CalendarDayBase";var um=function(e){var t,o,n=e.minDate,r=e.maxDate,i=e.navigatedDate,a=e.allFocusable,s=e.strings,l=e.navigationIcons,c=e.showCloseButton,u=e.classNames,d=e.onNavigateDate,p=e.onDismiss,h=function(){d(wh(i,1),!1)},m=function(){d(wh(i,-1),!1)},f=l.leftNavigation,v=l.rightNavigation,b=l.closeIcon,y=!n||Nh(n,Dh(i))<0,C=!r||Nh(Eh(i),r)<0;return g.createElement("div",{className:u.monthComponents},g.createElement("button",{className:pi(u.headerIconButton,(t={},t[u.disabledStyle]=!y,t)),tabIndex:y?void 0:a?0:-1,"aria-disabled":!y,onClick:y?m:void 0,onKeyDown:y?dm(m):void 0,title:s.prevMonthAriaLabel?s.prevMonthAriaLabel+" "+s.months[wh(i,-1).getMonth()]:void 0,type:"button"},g.createElement(ki,{iconName:f})),g.createElement("button",{className:pi(u.headerIconButton,(o={},o[u.disabledStyle]=!C,o)),tabIndex:C?void 0:a?0:-1,"aria-disabled":!C,onClick:C?h:void 0,onKeyDown:C?dm(h):void 0,title:s.nextMonthAriaLabel?s.nextMonthAriaLabel+" "+s.months[wh(i,1).getMonth()]:void 0,type:"button"},g.createElement(ki,{iconName:v})),c&&g.createElement("button",{className:pi(u.headerIconButton),onClick:p,onKeyDown:dm(p),title:s.closeButtonAriaLabel,type:"button"},g.createElement(ki,{iconName:b})))};um.displayName="CalendarDayNavigationButtons";var dm=function(e){return function(t){t.which===ar.enter&&(null==e||e())}},pm=rr(cm,(function(e){var t,o=e.className,n=e.theme,r=e.headerIsClickable,i=e.showWeekNumbers,a=n.palette,s={selectors:(t={"&, &:disabled, & button":{color:a.neutralTertiaryAlt,pointerEvents:"none"}},t[Mo]={color:"GrayText",forcedColorAdjust:"none"},t)};return{root:[dn,{width:196,padding:12,boxSizing:"content-box"},i&&{width:226},o],header:{position:"relative",display:"inline-flex",height:28,lineHeight:44,width:"100%"},monthAndYear:[on(n,{inset:1}),d(d({},Ge.fadeIn200),{alignItems:"center",fontSize:Je.medium,fontFamily:"inherit",color:a.neutralPrimary,display:"inline-block",flexGrow:1,fontWeight:$e.semibold,padding:"0 4px 0 10px",border:"none",backgroundColor:"transparent",borderRadius:2,lineHeight:28,overflow:"hidden",whiteSpace:"nowrap",textAlign:"left",textOverflow:"ellipsis"}),r&&{selectors:{"&:hover":{cursor:"pointer",background:a.neutralLight,color:a.black}}}],monthComponents:{display:"inline-flex",alignSelf:"flex-end"},headerIconButton:[on(n,{inset:-1}),{width:28,height:28,display:"block",textAlign:"center",lineHeight:28,fontSize:Je.small,fontFamily:"inherit",color:a.neutralPrimary,borderRadius:2,position:"relative",backgroundColor:"transparent",border:"none",padding:0,overflow:"visible",selectors:{"&:hover":{color:a.neutralDark,backgroundColor:a.neutralLight,cursor:"pointer",outline:"1px solid transparent"}}}],disabledStyle:s}}),void 0,{scope:"CalendarDay"}),hm=function(e){var t,o,n,r,i,a,s,l=e.className,c=e.theme,u=e.hasHeaderClickCallback,p=e.highlightCurrent,h=e.highlightSelected,m=e.animateBackwards,f=e.animationDirection,g=c.palette,v={};void 0!==m&&(v=f===hh.Horizontal?m?Ge.slideRightIn20:Ge.slideLeftIn20:m?Ge.slideDownIn20:Ge.slideUpIn20);var b=void 0!==m?Ge.fadeIn200:{};return{root:[dn,{width:196,padding:12,boxSizing:"content-box",overflow:"hidden"},l],headerContainer:{display:"flex"},currentItemButton:[on(c,{inset:-1}),d(d({},b),{fontSize:Je.medium,fontWeight:$e.semibold,fontFamily:"inherit",textAlign:"left",color:"inherit",backgroundColor:"transparent",flexGrow:1,padding:"0 4px 0 10px",border:"none",overflow:"visible"}),u&&{selectors:{"&:hover, &:active":{cursor:u?"pointer":"default",color:g.neutralDark,outline:"1px solid transparent",backgroundColor:g.neutralLight}}}],navigationButtonsContainer:{display:"flex",alignItems:"center"},navigationButton:[on(c,{inset:-1}),{fontFamily:"inherit",width:28,minWidth:28,height:28,minHeight:28,display:"block",textAlign:"center",lineHeight:28,fontSize:Je.small,color:g.neutralPrimary,borderRadius:2,position:"relative",backgroundColor:"transparent",border:"none",padding:0,overflow:"visible",selectors:{"&:hover":{color:g.neutralDark,cursor:"pointer",outline:"1px solid transparent",backgroundColor:g.neutralLight}}}],gridContainer:{marginTop:4},buttonRow:d(d({},v),{marginBottom:16,selectors:{"&:nth-child(n + 3)":{marginBottom:0}}}),itemButton:[on(c,{inset:-1}),{width:40,height:40,minWidth:40,minHeight:40,lineHeight:40,fontSize:Je.small,fontFamily:"inherit",padding:0,margin:"0 12px 0 0",color:g.neutralPrimary,backgroundColor:"transparent",border:"none",borderRadius:2,overflow:"visible",selectors:{"&:nth-child(4n + 4)":{marginRight:0},"&:nth-child(n + 9)":{marginBottom:0},"& div":{fontWeight:$e.regular},"&:hover":{color:g.neutralDark,backgroundColor:g.neutralLight,cursor:"pointer",outline:"1px solid transparent",selectors:(t={},t[Mo]=d({background:"Window",color:"WindowText",outline:"1px solid Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},"&:active":{backgroundColor:g.themeLight,selectors:(o={},o[Mo]=d({background:"Window",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)}}}],current:p?{color:g.white,backgroundColor:g.themePrimary,selectors:(n={"& div":{fontWeight:$e.semibold},"&:hover":{backgroundColor:g.themePrimary,selectors:(r={},r[Mo]=d({backgroundColor:"WindowText",color:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)}},n[Mo]=d({backgroundColor:"WindowText",color:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)}:{},selected:h?{color:g.neutralPrimary,backgroundColor:g.themeLight,fontWeight:$e.semibold,selectors:(i={"& div":{fontWeight:$e.semibold},"&:hover, &:active":{backgroundColor:g.themeLight,selectors:(a={},a[Mo]=d({color:"Window",background:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)}},i[Mo]=d({background:"Highlight",color:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}:{},disabled:{selectors:(s={"&, &:disabled, & button":{color:g.neutralTertiaryAlt,pointerEvents:"none"}},s[Mo]={color:"GrayText",forcedColorAdjust:"none"},s)}}},mm=function(e){return hm(e)},fm=_h,gm=fm,vm={leftNavigation:"Up",rightNavigation:"Down",closeIcon:"CalculatorMultiply"},bm=gr(),ym={prevRangeAriaLabel:void 0,nextRangeAriaLabel:void 0},Cm=function(e){var t,o,n=e.styles,r=e.theme,i=e.className,a=e.highlightCurrentYear,s=e.highlightSelectedYear,l=e.year,c=e.selected,u=e.disabled,d=e.componentRef,p=e.onSelectYear,h=e.onRenderYear,m=g.useRef(null);g.useImperativeHandle(d,(function(){return{focus:function(){var e,t;null===(t=null===(e=m.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}}}),[]);var f=bm(n,{theme:r,className:i,highlightCurrent:a,highlightSelected:s});return g.createElement("button",{className:pi(f.itemButton,(t={},t[f.selected]=c,t[f.disabled]=u,t)),type:"button",role:"gridcell",onClick:u?void 0:function(){null==p||p(l)},onKeyDown:u?void 0:function(e){e.which===ar.enter&&(null==p||p(l))},disabled:u,"aria-selected":c,ref:m},null!==(o=null==h?void 0:h(l))&&void 0!==o?o:l)};Cm.displayName="CalendarYearGridCell";var _m,Sm=function(e){var t=e.styles,o=e.theme,n=e.className,r=e.fromYear,i=e.toYear,a=e.animationDirection,s=e.animateBackwards,l=e.minYear,c=e.maxYear,u=e.onSelectYear,p=e.selectedYear,h=e.componentRef,f=g.useRef(null),v=g.useRef(null);g.useImperativeHandle(h,(function(){return{focus:function(){var e,t;null===(t=null===(e=f.current||v.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}}}),[]);for(var b,y,C,_,S=bm(t,{theme:o,className:n,animateBackwards:s,animationDirection:a}),x=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},k="".concat(x(r)," - ").concat(x(i)),w=r,I=[],D=0;D<(i-r+1)/4;D++){I.push([]);for(var E=0;E<4;E++)I[D].push((void 0,void 0,void 0,y=(b=w)===p,C=void 0!==l&&b<l||void 0!==c&&b>c,_=b===(new Date).getFullYear(),g.createElement(Cm,d({},e,{key:b,year:b,selected:y,current:_,disabled:C,onSelectYear:u,componentRef:y?f:_?v:void 0,theme:o})))),w++}return g.createElement(Hs,null,g.createElement("div",{className:S.gridContainer,role:"grid","aria-label":k},I.map((function(e,t){return g.createElement.apply(g,m(["div",{key:"yearPickerRow_"+t+"_"+r,role:"row",className:S.buttonRow}],e,!1))}))))};Sm.displayName="CalendarYearGrid",function(e){e[e.Previous=0]="Previous",e[e.Next=1]="Next"}(_m||(_m={}));var xm=function(e){var t,o=e.styles,n=e.theme,r=e.className,i=e.navigationIcons,a=void 0===i?vm:i,s=e.strings,l=void 0===s?ym:s,c=e.direction,u=e.onSelectPrev,d=e.onSelectNext,p=e.fromYear,h=e.toYear,m=e.maxYear,f=e.minYear,v=bm(o,{theme:n,className:r}),b=c===_m.Previous?l.prevRangeAriaLabel:l.nextRangeAriaLabel,y=c===_m.Previous?-12:12,C=b?"string"==typeof b?b:b({fromYear:p+y,toYear:h+y}):void 0,_=c===_m.Previous?void 0!==f&&p<f:void 0!==m&&e.fromYear+12>m,S=function(){c===_m.Previous?null==u||u():null==d||d()},x=lr()?c===_m.Next:c===_m.Previous;return g.createElement("button",{className:pi(v.navigationButton,(t={},t[v.disabled]=_,t)),onClick:_?void 0:S,onKeyDown:_?void 0:function(e){e.which===ar.enter&&S()},type:"button",title:C,disabled:_},g.createElement(ki,{iconName:x?a.leftNavigation:a.rightNavigation}))};xm.displayName="CalendarYearNavArrow";var km=function(e){var t=e.styles,o=e.theme,n=e.className,r=bm(t,{theme:o,className:n});return g.createElement("div",{className:r.navigationButtonsContainer},g.createElement(xm,d({},e,{direction:_m.Previous})),g.createElement(xm,d({},e,{direction:_m.Next})))};km.displayName="CalendarYearNav";var wm=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?ym: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=bm(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,v=m?qh(m,f):f;return g.createElement("button",{className:p.currentItemButton,onClick:u,onKeyDown:function(e){e.which!==ar.enter&&e.which!==ar.space||u()},"aria-label":v,role:"button",type:"button"},g.createElement("span",{"aria-live":"assertive","aria-atomic":"true"},d(r)," - ",d(i)))}return g.createElement("div",{className:p.current},d(r)," - ",d(i))};wm.displayName="CalendarYearTitle";var Im=function(e){var t,o=e.styles,n=e.theme,r=e.className,i=e.animateBackwards,a=e.animationDirection,s=e.onRenderTitle,l=bm(o,{theme:n,className:r,hasHeaderClickCallback:!!e.onHeaderSelect,animateBackwards:i,animationDirection:a});return g.createElement("div",{className:l.headerContainer},null!==(t=null==s?void 0:s(e))&&void 0!==t?t:g.createElement(wm,d({},e)),g.createElement(km,d({},e)))};Im.displayName="CalendarYearHeader";var Dm=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=ed(r);return i&&i!==r?i>r:void 0}(e),o=function(e){var t=e.selectedYear,o=e.navigatedYear,n=g.useMemo((function(){return t||o||10*Math.floor((new Date).getFullYear()/10)}),[o,t]),r=g.useState(n),i=r[0],a=r[1];return g.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=g.useRef(null);g.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,p=bm(l,{theme:c,className:u});return g.createElement("div",{className:p.root},g.createElement(Im,d({},e,{fromYear:n,toYear:r,onSelectPrev:a,onSelectNext:i,animateBackwards:t})),g.createElement(Sm,d({},e,{fromYear:n,toYear:r,animateBackwards:t,componentRef:s})))};Dm.displayName="CalendarYearBase";var Em=rr(Dm,(function(e){return hm(e)}),void 0,{scope:"CalendarYear"}),Tm=gr(),Pm={styles:mm,strings:void 0,navigationIcons:vm,dateTimeFormatter:Ch,yearPickerHidden:!1},Rm=function(e){var t,o,n=yr(Pm,e),r=function(e){var t=e.componentRef,o=g.useRef(null),n=g.useRef(null),r=g.useRef(!1),i=g.useCallback((function(){n.current?n.current.focus():o.current&&o.current.focus()}),[]);return g.useImperativeHandle(t,(function(){return{focus:i}}),[i]),g.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=g.useState(!1),c=l[0],u=l[1],d=function(e){var t=e.navigatedDate.getFullYear(),o=ed(t);return void 0===o||o===t?void 0:o>t}(n),p=n.navigatedDate,h=n.selectedDate,m=n.strings,f=n.today,v=void 0===f?new Date:f,b=n.navigationIcons,y=n.dateTimeFormatter,C=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(Ih(p,1),!1)},N=function(){P(Ih(p,-1),!1)},B=function(e){var t;null===(t=n.onHeaderSelect)||void 0===t||t.call(n),P(Rh(p,e),!0)},A=function(){var e;T?null===(e=n.onHeaderSelect)||void 0===e||e.call(n):(s(),u(!0))},F=b.leftNavigation,L=b.rightNavigation,H=y,O=!C||Nh(C,Th(p))<0,z=!_||Nh(Ph(p),_)<0,W=Tm(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 g.createElement(Em,{key:"calendarYear",minYear:C?C.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=Rh(t,_.getMonth()):C&&t<C&&(t=Rh(t,C.getMonth())),P(t,!0)}u(!1)},navigationIcons:b,onHeaderSelect:function(e){s(),u(!1)},selectedYear:h?h.getFullYear():p?p.getFullYear():void 0,navigatedYear:p.getFullYear(),onRenderYear:K,strings:G,componentRef:a,styles:x,highlightCurrentYear:I,highlightSelectedYear:D,animationDirection:E})}for(var U=[],j=0;j<m.shortMonths.length/4;j++)U.push(j);var q=H.formatYear(p),Y=m.monthPickerHeaderAriaLabel?qh(m.monthPickerHeaderAriaLabel,q):q;return g.createElement("div",{className:W.root},g.createElement("div",{className:W.headerContainer},g.createElement("button",{className:W.currentItemButton,onClick:A,onKeyDown:Nm(A),"aria-label":Y,"data-is-focusable":!!n.onHeaderSelect||!T,tabIndex:n.onHeaderSelect||!T?0:-1,type:"button"},g.createElement("span",{"aria-live":"polite","aria-atomic":"true"},q)),g.createElement("div",{className:W.navigationButtonsContainer},g.createElement("button",{className:pi(W.navigationButton,(t={},t[W.disabled]=!O,t)),"aria-disabled":!O,tabIndex:O?void 0:w?0:-1,onClick:O?N:void 0,onKeyDown:O?Nm(N):void 0,title:m.prevYearAriaLabel?m.prevYearAriaLabel+" "+H.formatYear(Ih(p,-1)):void 0,type:"button"},g.createElement(ki,{iconName:lr()?L:F})),g.createElement("button",{className:pi(W.navigationButton,(o={},o[W.disabled]=!z,o)),"aria-disabled":!z,tabIndex:z?void 0:w?0:-1,onClick:z?M:void 0,onKeyDown:z?Nm(M):void 0,title:m.nextYearAriaLabel?m.nextYearAriaLabel+" "+H.formatYear(Ih(p,1)):void 0,type:"button"},g.createElement(ki,{iconName:lr()?F:L})))),g.createElement(Hs,null,g.createElement("div",{className:W.gridContainer,role:"grid","aria-label":q},U.map((function(e){var t=m.shortMonths.slice(4*e,4*(e+1));return g.createElement("div",{key:"monthRow_"+e+p.getFullYear(),role:"row",className:W.buttonRow},t.map((function(t,o){var n,r=4*e+o,a=Rh(p,r),s=p.getMonth()===r,l=h.getMonth()===r,c=h.getFullYear()===p.getFullYear(),u=(!C||Nh(C,Eh(a))<1)&&(!_||Nh(Dh(a),_)<1);return g.createElement("button",{ref:s?i:void 0,role:"gridcell",className:pi(W.itemButton,(n={},n[W.current]=I&&Mm(r,p.getFullYear(),v),n[W.selected]=D&&l&&c,n[W.disabled]=!u,n)),disabled:!w&&!u,key:r,onClick:u?R(r):void 0,onKeyDown:u?Nm(R(r)):void 0,"aria-label":H.formatMonth(a,m),"aria-selected":s,"data-is-focusable":!!u||void 0,type:"button"},t)})))})))))};function Mm(e,t,o){return o.getFullYear()===t&&o.getMonth()===e}function Nm(e){return function(t){t.which===ar.enter&&e()}}Rm.displayName="CalendarMonthBase";var Bm=rr(Rm,mm,void 0,{scope:"CalendarMonth"});function Am(e,t,o){var n=g.useState(t),r=n[0],i=n[1],a=Ic(void 0!==e),s=a?e:r,l=g.useRef(s),c=g.useRef(o);g.useEffect((function(){l.current=s,c.current=o}));var u=Ic((function(){return function(e,t){var o="function"==typeof e?e(l.current):e;c.current&&c.current(t,o),a||i(o)}}));return[s,u]}var Fm=gr(),Lm=[mh.Monday,mh.Tuesday,mh.Wednesday,mh.Thursday,mh.Friday],Hm={isMonthPickerVisible:!0,isDayPickerVisible:!0,showMonthPickerAsOverlay:!1,today:new Date,firstDayOfWeek:mh.Sunday,dateRangeType:vh.Day,showGoToToday:!0,strings:_h,highlightCurrentMonth:!1,highlightSelectedMonth:!1,navigationIcons:vm,showWeekNumbers:!1,firstWeekOfYear:gh.FirstDay,dateTimeFormatter:Ch,showSixWeeksByDefault:!1,workWeekDays:Lm,showCloseButton:!1,allFocusable:!1},Om=g.forwardRef((function(e,t){var o=yr(Hm,e),n=function(e){var t=e.value,o=e.today,n=e.onSelectDate,r=g.useMemo((function(){return void 0===o?new Date:o}),[o]),i=Am(t,r),a=i[0],s=void 0===a?r:a,l=i[1],c=g.useState(t),u=c[0],d=void 0===u?r:u,p=c[1],h=g.useState(t),m=h[0],f=void 0===m?r:m,v=h[1],b=g.useState(t),y=b[0],C=void 0===y?r:y,_=b[1];return t&&C.valueOf()!==t.valueOf()&&(p(t),v(t),_(t)),[s,d,f,function(e,t){v(e),p(e),l(e),null==n||n(e,t)},function(e){v(e),p(e)},function(e){v(e)}]}(o),r=n[0],i=n[1],a=n[2],s=n[3],l=n[4],c=n[5],u=function(e){var t=Am(zm(e)?void 0:e.isMonthPickerVisible,!1),o=t[0],n=void 0===o||o,r=t[1],i=Am(zm(e)?void 0:e.isDayPickerVisible,!0),a=i[0],s=void 0===a||a,l=i[1];return[n,s,function(){r(!n),l(!s)}]}(o),p=u[0],h=u[1],m=u[2],f=function(e,t,o){var n=e.componentRef,r=g.useRef(null),i=g.useRef(null),a=g.useRef(!1),s=g.useCallback((function(){t&&r.current?Ja(r.current):o&&i.current&&Ja(i.current)}),[t,o]);return g.useImperativeHandle(n,(function(){return{focus:s}}),[s]),g.useEffect((function(){a.current&&(s(),a.current=!1)})),[r,i,function(){a.current=!0}]}(o,h,p),v=f[0],b=f[1],y=f[2],C=function(){var e=D;return e&&U&&(e=i.getFullYear()!==U.getFullYear()||i.getMonth()!==U.getMonth()||a.getFullYear()!==U.getFullYear()||a.getMonth()!==U.getMonth()),D&&g.createElement("button",{className:pi("js-goToday",Z.goTodayButton),onClick:S,onKeyDown:x(S),type:"button",disabled:!e},I.goToToday)},_=zm(o)?function(){m(),y()}:void 0,S=function(){l(U),y()},x=function(e){return function(t){switch(t.which){case ar.enter:case ar.space:e()}}},k=o.firstDayOfWeek,w=o.dateRangeType,I=o.strings,D=o.showGoToToday,E=o.highlightCurrentMonth,T=o.highlightSelectedMonth,P=o.navigationIcons,R=o.minDate,M=o.maxDate,N=o.restrictedDates,B=o.id,A=o.className,F=o.showCloseButton,L=o.allFocusable,H=o.styles,O=o.showWeekNumbers,z=o.theme,W=o.calendarDayProps,V=o.calendarMonthProps,K=o.dateTimeFormatter,G=o.today,U=void 0===G?new Date:G,j=zm(o),q=!j&&!h,Y=j&&D,Z=Fm(H,{theme:z,className:A,isMonthPickerVisible:p,isDayPickerVisible:h,monthPickerOnly:q,showMonthPickerAsOverlay:j,overlaidWithButton:Y,overlayedWithButton:Y,showGoToToday:D,showWeekNumbers:O}),X="",Q="";if(K&&I.todayDateFormatString&&(X=qh(I.todayDateFormatString,K.formatMonthDayYear(U,I))),K&&I.selectedDateFormatString){var J=q?K.formatMonthYear:K.formatMonthDayYear;Q=qh(I.selectedDateFormatString,J(r,I))}var $=Q+", "+X;return g.createElement("div",{id:B,ref:t,role:"group","aria-label":$,className:pi("ms-DatePicker",Z.root,A,"ms-slideDownIn10"),onKeyDown:function(e){var t;switch(e.which){case ar.enter:case ar.backspace:e.preventDefault();break;case ar.escape:null===(t=o.onDismiss)||void 0===t||t.call(o);break;case ar.pageUp:e.ctrlKey?l(Ih(i,1)):l(wh(i,1)),e.preventDefault();break;case ar.pageDown:e.ctrlKey?l(Ih(i,-1)):l(wh(i,-1)),e.preventDefault()}}},g.createElement("div",{className:Z.liveRegion,"aria-live":"polite","aria-atomic":"true"},g.createElement("span",null,Q)),h&&g.createElement(pm,d({selectedDate:r,navigatedDate:i,today:o.today,onSelectDate:s,onNavigateDate:function(e,t){l(e),t&&y()},onDismiss:o.onDismiss,firstDayOfWeek:k,dateRangeType:w,strings:I,onHeaderSelect:_,navigationIcons:P,showWeekNumbers:o.showWeekNumbers,firstWeekOfYear:o.firstWeekOfYear,dateTimeFormatter:o.dateTimeFormatter,showSixWeeksByDefault:o.showSixWeeksByDefault,minDate:R,maxDate:M,restrictedDates:N,workWeekDays:o.workWeekDays,componentRef:v,showCloseButton:F,allFocusable:L},W)),h&&p&&g.createElement("div",{className:Z.divider}),p?g.createElement("div",{className:Z.monthPickerWrapper},g.createElement(Bm,d({navigatedDate:a,selectedDate:i,strings:I,onNavigateDate:function(e,t){t&&y(),t?(q&&s(e),l(e)):c(e)},today:o.today,highlightCurrentMonth:E,highlightSelectedMonth:T,onHeaderSelect:_,navigationIcons:P,dateTimeFormatter:o.dateTimeFormatter,minDate:R,maxDate:M,componentRef:b},V)),C()):C(),g.createElement(Zs,null))}));function zm(e){var t=e.showMonthPickerAsOverlay,o=e.isDayPickerVisible,n=pt();return t||o&&n&&n.innerWidth<=440}Om.displayName="CalendarBase";var Wm=rr(Om,(function(e){var t,o=e.className,n=e.theme,r=e.isDayPickerVisible,i=e.isMonthPickerVisible,a=e.showWeekNumbers,s=n.palette,l=r&&i?440:220;return a&&r&&(l+=30),{root:[dn,{display:"flex",width:l},!i&&{flexDirection:"column"},o],divider:{top:0,borderRight:"1px solid",borderColor:s.neutralLight},monthPickerWrapper:[{display:"flex",flexDirection:"column"}],goTodayButton:[on(n,{inset:-1}),{bottom:0,color:s.neutralPrimary,height:30,lineHeight:30,backgroundColor:"transparent",border:"none",boxSizing:"content-box",padding:"0 4px",alignSelf:"flex-end",marginRight:16,marginTop:3,fontSize:Je.small,fontFamily:"inherit",overflow:"visible",selectors:{"& div":{fontSize:Je.small},"&:hover":{color:s.themePrimary,backgroundColor:"transparent",cursor:"pointer",selectors:(t={},t[Mo]={outline:"1px solid Buttontext",borderRadius:"2px"},t)},"&:active":{color:s.themeDark},"&:disabled":{color:s.neutralTertiaryAlt,pointerEvents:"none"}}}],liveRegion:{border:0,height:"1px",margin:"-1px",overflow:"hidden",padding:0,width:"1px",position:"absolute"}}}),void 0,{scope:"Calendar"}),Vm=function(e){for(var t=e.activeElement;null==t?void 0:t.shadowRoot;)t=t.shadowRoot.activeElement;return t},Km=function(e){var t=e.target;return t&&t.shadowRoot&&(t=e.composedPath()[0]),t};function Gm(e){var t=g.useRef((function(){throw new Error("Cannot call an event handler while rendering")}));return ni((function(){t.current=e}),[e]),Ic((function(){return function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.current.apply(void 0,e)}}))}var Um=function(e){var t=g.useRef(e);t.current=e,g.useEffect((function(){return function(){var e;null===(e=t.current)||void 0===e||e.call(t)}}),[])},jm={disabled:!1,disableFirstFocus:!1,forceFocusInsideTrap:!0,isClickableOutsideFocusTrap:!1,"data-tabster":'{"uncontrolled": {"completely": true}}'},qm=g.forwardRef((function(e,t){var o,n=g.useRef(null),r=g.useRef(null),i=g.useRef(null),a=ri(n,t),s=aa(),l=Pc(),c=np(),u=null===(o=ed(!1))||void 0===o||o,p=yr(jm,e),h=Ic({hasFocus:!1,focusStackId:fd("ftz-",p.id)}),m=p.children,f=p.componentRef,v=p.disabled,b=p.disableFirstFocus,y=p.forceFocusInsideTrap,C=p.focusPreviouslyFocusedInnerElement,_=p.firstFocusableSelector,S=p.firstFocusableTarget,x=p.disableRestoreFocus,k=void 0===x?p.ignoreExternalFocusing:x,w=p.isClickableOutsideFocusTrap,I=p.enableAriaHiddenSiblings,D={"aria-hidden":!0,style:{pointerEvents:"none",position:"fixed"},tabIndex:v?-1:0,"data-is-visible":!0,"data-is-focus-trap-zone-bumper":!0},E=g.useCallback((function(e){e!==r.current&&e!==i.current&&Ja(e)}),[]),T=Gm((function(){if(n.current){var e=h.previouslyFocusedElementInTrapZone;if(C&&e&&Ma(n.current,e))E(e);else{var t=null;if("string"==typeof S)t=n.current.querySelector(S);else if(S)t=S(n.current);else if(_){var o="string"==typeof _?_:_();t=n.current.querySelector("."+o)}t||(t=Ka(n.current,n.current.firstChild,!1,!1,!1,!0,void 0,void 0,void 0,c)),t&&E(t)}}})),P=function(e){if(!v&&n.current){var t=e===h.hasFocus?za(n.current,i.current,!0,!1,c):Oa(n.current,r.current,!0,!1,c);t&&(t===r.current||t===i.current?T():t.focus())}},R=Gm((function(e){if(qm.focusStack=qm.focusStack.filter((function(e){return h.focusStackId!==e})),s){var t=s.activeElement;k||"function"!=typeof(null==e?void 0:e.focus)||!Ma(n.current,t)&&t!==s.body&&!t.shadowRoot||E(e)}})),M=Gm((function(e){if(!v&&h.focusStackId===qm.focusStack.slice(-1)[0]){var t=Km(e);t&&!Ma(n.current,t)&&(s&&Vm(s)===s.body?setTimeout((function(){s&&Vm(s)===s.body&&(T(),h.hasFocus=!0)}),0):(T(),h.hasFocus=!0),e.preventDefault(),e.stopPropagation())}}));return g.useEffect((function(){var e=[];return y&&e.push(Al(l,"focus",M,!0)),w||e.push(Al(l,"click",M,!0)),function(){e.forEach((function(e){return e()}))}}),[y,w,l]),g.useEffect((function(){if(!v&&(u||y)&&n.current){qm.focusStack.push(h.focusStackId);var e=p.elementToFocusOnDismiss||Vm(s);return b||Ma(n.current,e)||T(),function(){return R(e)}}}),[y,v]),g.useEffect((function(){if(!v&&I)return _c(n.current)}),[v,I,n]),Um((function(){delete h.previouslyFocusedElementInTrapZone})),function(e,t,o){g.useImperativeHandle(e,(function(){return{get previouslyFocusedElement(){return t},focus:o}}),[o,t])}(f,h.previouslyFocusedElementInTrapZone,T),g.createElement("div",d({"aria-labelledby":p.ariaLabelledBy},jr(p,Ur),{ref:a,onFocusCapture:function(e){var t;null===(t=p.onFocusCapture)||void 0===t||t.call(p,e),e.target===r.current?P(!0):e.target===i.current&&P(!1),h.hasFocus=!0,e.target!==e.currentTarget&&e.target!==r.current&&e.target!==i.current&&(h.previouslyFocusedElementInTrapZone=Km(e.nativeEvent))},onBlurCapture:function(e){var t;null===(t=p.onBlurCapture)||void 0===t||t.call(p,e);var o=e.relatedTarget;null===e.relatedTarget&&(o=Vm(s)),Ma(n.current,o)||(h.hasFocus=!1)}}),g.createElement("div",d({},D,{ref:r})),m,g.createElement("div",d({},D,{ref:i})))}));qm.displayName="FocusTrapZone",qm.focusStack=[];var Ym=function(e){return g.createElement(wu,d({},e),g.createElement(qm,d({disabled:e.hidden},e.focusTrapProps),e.children))},Zm=gr(),Xm=g.forwardRef((function(e,t){var o=e.checked,n=void 0!==o&&o,r=e.className,i=e.theme,a=e.styles,s=e.useFastIcons,l=void 0===s||s,c=Zm(a,{theme:i,className:r,checked:n}),u=l?Ci:ki;return g.createElement("div",{className:c.root,ref:t},g.createElement(u,{iconName:"CircleRing",className:c.circle}),g.createElement(u,{iconName:"StatusCircleCheckmark",className:c.check}))}));Xm.displayName="CheckBase";var Qm={root:"ms-Check",circle:"ms-Check-circle",check:"ms-Check-check",checkHost:"ms-Check-checkHost"},Jm=rr(Xm,(function(e){var t,o,n,r,i,a=e.height,s=void 0===a?e.checkBoxHeight||"18px":a,l=e.checked,c=e.className,u=e.theme,p=u.palette,h=u.semanticColors,m=u.fonts,f=lr(u),g=Ro(Qm,u),v={fontSize:s,position:"absolute",left:0,top:0,width:s,height:s,textAlign:"center",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"};return{root:[g.root,m.medium,{lineHeight:"1",width:s,height:s,verticalAlign:"top",position:"relative",userSelect:"none",selectors:(t={":before":{content:'""',position:"absolute",top:"1px",right:"1px",bottom:"1px",left:"1px",borderRadius:"50%",opacity:1,background:h.bodyBackground}},t[".".concat(g.checkHost,":hover &, .").concat(g.checkHost,":focus &, &:hover, &:focus")]={opacity:1},t)},l&&["is-checked",{selectors:{":before":{background:p.themePrimary,opacity:1,selectors:(o={},o[Mo]={background:"Window"},o)}}}],c],circle:[g.circle,v,{color:p.neutralSecondary,selectors:(n={},n[Mo]={color:"WindowText"},n)},l&&{color:p.white}],check:[g.check,v,{opacity:0,color:p.neutralSecondary,fontSize:et.medium,left:f?"-0.5px":".5px",top:"-1px",selectors:(r={":hover":{opacity:1}},r[Mo]=d({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},l&&{opacity:1,color:p.white,fontWeight:900,selectors:(i={},i[Mo]={border:"none",color:"WindowText"},i)}],checkHost:g.checkHost}}),void 0,{scope:"Check"},!0),$m=gr(),ef=g.forwardRef((function(e,t){var o=e.disabled,n=e.required,r=e.inputProps,i=e.name,a=e.ariaLabel,s=e.ariaLabelledBy,l=e.ariaDescribedBy,c=e.ariaPositionInSet,u=e.ariaSetSize,p=e.title,h=e.checkmarkIconProps,m=e.styles,f=e.theme,v=e.className,b=e.boxSide,y=void 0===b?"start":b,C=fd("checkbox-",e.id),_=g.useRef(null),S=ri(_,t),x=g.useRef(null),k=Am(e.checked,e.defaultChecked,e.onChange),w=k[0],I=k[1],D=Am(e.indeterminate,e.defaultIndeterminate),E=D[0],T=D[1];Ys(_);var P=$m(m,{theme:f,className:v,disabled:o,indeterminate:E,checked:w,reversed:"start"!==y,isUsingCustomLabelRender:!!e.onRenderLabel}),R=g.useCallback((function(e){E?(I(!!w,e),T(!1)):I(!w,e)}),[I,T,E,w]),M=g.useCallback((function(e){return e&&e.label?g.createElement("span",{className:P.text,title:e.title},e.label):null}),[P.text]),N=g.useCallback((function(e){if(x.current){var t=!!e;x.current.indeterminate=t,T(t)}}),[T]);!function(e,t,o,n,r){g.useImperativeHandle(e.componentRef,(function(){return{get checked(){return!!t},get indeterminate(){return!!o},set indeterminate(e){n(e)},focus:function(){r.current&&r.current.focus()}}}),[r,t,o,n])}(e,w,E,N,x),g.useEffect((function(){return N(E)}),[N,E]);var B=e.onRenderLabel||M,A=E?"mixed":void 0,F=d(d({className:P.input,type:"checkbox"},r),{checked:!!w,disabled:o,required:n,name:i,id:C,title:p,onChange:R,"aria-disabled":o,"aria-label":a,"aria-labelledby":s,"aria-describedby":l,"aria-posinset":c,"aria-setsize":u,"aria-checked":A});return g.createElement("div",{className:P.root,title:p,ref:S},g.createElement("input",d({},F,{ref:x,title:p,"data-ktp-execute-target":!0})),g.createElement("label",{className:P.label,htmlFor:C},g.createElement("div",{className:P.checkbox,"data-ktp-target":!0},g.createElement(ki,d({iconName:"CheckMark"},h,{className:P.checkmark}))),B(e,M)))}));ef.displayName="CheckboxBase";var tf={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},of="20px",nf="200ms",rf="cubic-bezier(.4, 0, .23, 1)",af=rr(ef,(function(e){var t,o,n,r,i,a,s,l,c,u,p,h,m,f,g,v,b,y,C=e.className,_=e.theme,S=e.reversed,x=e.checked,k=e.disabled,w=e.isUsingCustomLabelRender,I=e.indeterminate,D=_.semanticColors,E=_.effects,T=_.palette,P=_.fonts,R=Ro(tf,_),M=D.inputForegroundChecked,N=T.neutralSecondary,B=T.neutralPrimary,A=D.inputBackgroundChecked,F=D.inputBackgroundChecked,L=D.disabledBodySubtext,H=D.inputBorderHovered,O=D.inputBackgroundCheckedHovered,z=D.inputBackgroundChecked,W=D.inputBackgroundCheckedHovered,V=D.inputBackgroundCheckedHovered,K=D.inputTextHovered,G=D.disabledBodySubtext,U=D.bodyText,j=D.disabledText,q=[(t={content:'""',borderRadius:E.roundedCorner2,position:"absolute",width:10,height:10,top:4,left:4,boxSizing:"border-box",borderWidth:5,borderStyle:"solid",borderColor:k?L:A,transitionProperty:"border-width, border, border-color",transitionDuration:nf,transitionTimingFunction:rf},t[Mo]={borderColor:"WindowText"},t)];return{root:[R.root,{position:"relative",display:"flex"},S&&"reversed",x&&"is-checked",!k&&"is-enabled",k&&"is-disabled",!k&&[!x&&(o={},o[":hover .".concat(R.checkbox)]=(n={borderColor:H},n[Mo]={borderColor:"Highlight"},n),o[":focus .".concat(R.checkbox)]={borderColor:H},o[":hover .".concat(R.checkmark)]=(r={color:N,opacity:"1"},r[Mo]={color:"Highlight"},r),o),x&&!I&&(i={},i[":hover .".concat(R.checkbox)]={background:W,borderColor:V},i[":focus .".concat(R.checkbox)]={background:W,borderColor:V},i[Mo]=(a={},a[":hover .".concat(R.checkbox)]={background:"Highlight",borderColor:"Highlight"},a[":focus .".concat(R.checkbox)]={background:"Highlight"},a[":focus:hover .".concat(R.checkbox)]={background:"Highlight"},a[":focus:hover .".concat(R.checkmark)]={color:"Window"},a[":hover .".concat(R.checkmark)]={color:"Window"},a),i),I&&(s={},s[":hover .".concat(R.checkbox,", :hover .").concat(R.checkbox,":after")]=(l={borderColor:O},l[Mo]={borderColor:"WindowText"},l),s[":focus .".concat(R.checkbox)]={borderColor:O},s[":hover .".concat(R.checkmark)]={opacity:"0"},s),(c={},c[":hover .".concat(R.text,", :focus .").concat(R.text)]=(u={color:K},u[Mo]={color:k?"GrayText":"WindowText"},u),c)],C],input:(p={position:"absolute",background:"none",opacity:0},p[".".concat(Jo," &:focus + label::before, :host(.").concat(Jo,") &:focus + label::before")]=(h={outline:"1px solid "+_.palette.neutralSecondary,outlineOffset:"2px"},h[Mo]={outline:"1px solid WindowText"},h),p),label:[R.label,_.fonts.medium,{display:"flex",alignItems:w?"center":"flex-start",cursor:k?"default":"pointer",position:"relative",userSelect:"none"},S&&{flexDirection:"row-reverse",justifyContent:"flex-end"},{"&::before":{position:"absolute",left:0,right:0,top:0,bottom:0,content:'""',pointerEvents:"none"}}],checkbox:[R.checkbox,(m={position:"relative",display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",height:of,width:of,border:"1px solid ".concat(B),borderRadius:E.roundedCorner2,boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:nf,transitionTimingFunction:rf,overflow:"hidden",":after":I?q:null},m[Mo]=d({borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),m),I&&{borderColor:A},S?{marginLeft:4}:{marginRight:4},!k&&!I&&x&&(f={background:z,borderColor:F},f[Mo]={background:"Highlight",borderColor:"Highlight"},f),k&&(g={borderColor:L},g[Mo]={borderColor:"GrayText"},g),x&&k&&(v={background:G,borderColor:L},v[Mo]={background:"Window"},v)],checkmark:[R.checkmark,(b={opacity:x&&!I?"1":"0",color:M},b[Mo]=d({color:k?"GrayText":"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),b)],text:[R.text,(y={color:k?j:U,fontSize:P.medium.fontSize,lineHeight:"20px"},y[Mo]=d({color:k?"GrayText":"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),y),S?{marginRight:4}:{marginLeft:4}]}}),void 0,{scope:"Checkbox"}),sf=gr({cacheSize:100}),lf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.as,o=void 0===t?"label":t,n=e.children,r=e.className,i=e.disabled,a=e.styles,s=e.required,l=e.theme,c=sf(a,{className:r,disabled:i,required:s,theme:l});return g.createElement(o,d({},jr(this.props,Ur),{className:c.root}),n)},t}(g.Component),cf=rr(lf,(function(e){var t,o=e.theme,n=e.className,r=e.disabled,i=e.required,a=o.semanticColors,s=$e.semibold,l=a.bodyText,c=a.disabledBodyText,u=a.errorText;return{root:["ms-Label",o.fonts.medium,{fontWeight:s,color:l,boxSizing:"border-box",boxShadow:"none",margin:0,display:"block",padding:"5px 0",wordWrap:"break-word",overflowWrap:"break-word"},r&&{color:c,selectors:(t={},t[Mo]=d({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},i&&{selectors:{"::after":{content:"' *'",color:u,paddingRight:12}}},n]}}),void 0,{scope:"Label"}),uf=gr(),df={imageSize:{width:32,height:32}},pf=function(e){var t=yr(d(d({},df),{key:e.itemKey}),e),o=t.ariaLabel,n=t.focused,r=t.required,i=t.theme,a=t.iconProps,s=t.imageSrc,l=t.imageSize,c=t.disabled,u=t.checked,h=t.id,m=t.styles,f=t.name,v=p(t,["ariaLabel","focused","required","theme","iconProps","imageSrc","imageSize","disabled","checked","id","styles","name"]),b=uf(m,{theme:i,hasIcon:!!a,hasImage:!!s,checked:u,disabled:c,imageIsLarge:!!s&&(l.width>71||l.height>71),imageSize:l,focused:n}),y=jr(v,Rr),C=y.className,_=p(y,["className"]),S=function(){return g.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?kl(t.onRenderLabel,S):S)(d(d({},t),{key:t.itemKey}));return g.createElement("label",{htmlFor:h,className:b.field},s&&g.createElement("div",{className:b.innerField},g.createElement("div",{className:b.imageWrapper},g.createElement(ci,d({src:s,alt:o},l))),g.createElement("div",{className:b.selectedImageWrapper},g.createElement(ci,d({src:n,alt:o},l)))),a&&g.createElement("div",{className:b.innerField},g.createElement("div",{className:b.iconWrapper},g.createElement(ki,d({},a)))),s||a?g.createElement("div",{className:b.labelWrapper},r):r)},k=t.onRenderField,w=void 0===k?x:k;return g.createElement("div",{className:b.root},g.createElement("div",{className:b.choiceFieldWrapper},g.createElement("input",d({"aria-label":o,id:h,className:pi(b.input,C),type:"radio",name:f,disabled:c,checked:u,required:r},_,{onChange:function(e){var o;null===(o=t.onChange)||void 0===o||o.call(t,e,d(d({},t),{key:t.itemKey}))},onFocus:function(e){var o;null===(o=t.onFocus)||void 0===o||o.call(t,e,d(d({},t),{key:t.itemKey}))},onBlur:function(e){var o;null===(o=t.onBlur)||void 0===o||o.call(t,e)}})),w(d(d({},t),{key:t.itemKey}),x)))};pf.displayName="ChoiceGroupOption";var hf={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"},mf="200ms",ff="cubic-bezier(.4, 0, .23, 1)";function gf(e,t){var o,n;return["is-inFocus",{selectors:(o={},o[".".concat(Jo," &, :host(.").concat(Jo,") &")]={position:"relative",outline:"transparent",selectors:{"::-moz-focus-inner":{border:0},":after":{content:'""',top:-2,right:-2,bottom:-2,left:-2,pointerEvents:"none",border:"1px solid ".concat(e),position:"absolute",selectors:(n={},n[Mo]={borderColor:"WindowText",borderWidth:t?1:2},n)}}},o)}]}function vf(e,t,o){return[t,{paddingBottom:2,transitionProperty:"opacity",transitionDuration:mf,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 bf=rr(pf,(function(e){var t,o,n,r,i,a=e.theme,s=e.hasIcon,l=e.hasImage,c=e.checked,u=e.disabled,p=e.imageIsLarge,h=e.focused,m=e.imageSize,f=a.palette,g=a.semanticColors,v=a.fonts,b=Ro(hf,a),y=f.neutralPrimary,C=g.inputBorderHovered,_=g.inputBackgroundChecked,S=f.themeDark,x=g.disabledBodySubtext,k=g.bodyBackground,w=f.neutralSecondary,I=g.inputBackgroundChecked,D=f.themeDark,E=g.disabledBodySubtext,T=f.neutralDark,P=g.focusBorder,R=g.inputBorderHovered,M=g.inputBackgroundChecked,N=f.themeDark,B=f.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:mf,transitionTimingFunction:ff,borderRadius:"50%"},u&&{borderColor:x,selectors:(t={},t[Mo]=d({borderColor:"GrayText",background:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},c&&{borderColor:u?x:_,selectors:(o={},o[Mo]={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:mf,transitionTimingFunction:ff,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[Mo]={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,h&&gf(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:mf,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[Mo]=d({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)}}},c&&u&&{borderColor:B}],innerField:[b.innerField,l&&{height:m.height,width:m.width},(s||l)&&{position:"relative",display:"inline-block",paddingLeft:30,paddingRight:30},(s||l)&&p&&{paddingLeft:24,paddingRight:24},(s||l)&&u&&{opacity:.25,selectors:(i={},i[Mo]={color:"GrayText",opacity:1},i)}],imageWrapper:vf(!1,b.imageWrapper,c),selectedImageWrapper:vf(!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*m.width,overflow:"hidden",whiteSpace:"pre-wrap"}]}}),void 0,{scope:"ChoiceGroupOption"}),yf=gr(),Cf=function(e,t){return"".concat(t,"-").concat(e.key)},_f=function(e,t){return void 0===t?void 0:ba(e,(function(e){return e.key===t}))},Sf=function(e,t,o,n,r){var i=_f(e,t)||e.filter((function(e){return!e.disabled}))[0],a=i&&(null==r?void 0:r.getElementById(Cf(i,o)));a&&(a.focus(),tn(!0,a,n))},xf=g.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,p=e.defaultSelectedKey,h=e.componentRef,m=e.onChange,f=fd("ChoiceGroup"),v=fd("ChoiceGroupLabel"),b=jr(e,Ur,["onChange","className","required"]),y=yf(r,{theme:n,className:o,optionsContainIconOrImage:a.some((function(e){return!(!e.iconProps&&!e.imageSrc)}))}),C=e.ariaLabelledBy||(s?v:e["aria-labelledby"]),_=Am(e.selectedKey,p),S=_[0],x=_[1],k=g.useState(),w=k[0],I=k[1],D=g.useRef(null),E=ri(D,t),T=g.useContext(qs);!function(e,t,o,n,r){var i=Tc();g.useImperativeHandle(n,(function(){return{get checkedOption(){return _f(e,t)},focus:function(){Sf(e,t,o,r,i)}}}),[e,t,o,r,i])}(a,S,f,h,null==T?void 0:T.registeredProviders),Ys(D);var P=g.useCallback((function(e,t){var o;t&&(I(t.itemKey),null===(o=t.onFocus)||void 0===o||o.call(t,e))}),[]),R=g.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=g.useCallback((function(e,t){var o;t&&(x(t.itemKey),null===(o=t.onChange)||void 0===o||o.call(t,e),null==m||m(e,_f(a,t.itemKey)))}),[m,a,x]),N=g.useCallback((function(e){(function(e){return e.relatedTarget instanceof HTMLElement&&"true"===e.relatedTarget.dataset.isFocusTrapZoneBumper})(e)&&Sf(a,S,f,null==T?void 0:T.registeredProviders)}),[a,S,f,T]);return g.createElement("div",d({className:y.root},b,{ref:E}),g.createElement("div",d({role:"radiogroup"},C&&{"aria-labelledby":C},{onFocus:N}),s&&g.createElement(cf,{className:y.label,required:l,id:v,disabled:c},s),g.createElement("div",{className:y.flexContainer},a.map((function(e){return g.createElement(bf,d({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:Cf(e,f),labelId:e.labelId||"".concat(v,"-").concat(e.key),name:u||f,required:l}))})))))}));xf.displayName="ChoiceGroup";var kf,wf={root:"ms-ChoiceFieldGroup",flexContainer:"ms-ChoiceFieldGroup-flexContainer"},If=rr(xf,(function(e){var t=e.className,o=e.optionsContainIconOrImage,n=e.theme,r=Ro(wf,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"}),Df=Do((function(){var e;return An({root:[{position:"absolute",boxSizing:"border-box",border:"1px solid ${}",selectors:(e={},e[Mo]={border:"1px solid WindowText"},e)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}],container:{position:"relative"},main:{backgroundColor:"#ffffff",overflowX:"hidden",overflowY:"hidden",position:"relative"},overFlowYHidden:{overflowY:"hidden"}})})),Ef={opacity:0},Tf=((kf={})[Il.top]="slideUpIn20",kf[Il.bottom]="slideDownIn20",kf[Il.left]="slideLeftIn20",kf[Il.right]="slideRightIn20",kf),Pf={preventDismissOnScroll:!1,offsetFromTarget:0,minPagePadding:8,directionalHint:Sl.bottomAutoEdge};function Rf(e,t){var o=e.finalHeight,n=g.useState({value:0}),r=n[0],i=n[1],a=Sc(),s=g.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.offsetHeight<o?l():a.cancelAnimationFrame(s.current)}})))};return g.useEffect(l,[o]),r.value}var Mf=g.forwardRef((function(e,t){var o=yr(Pf,e),n=g.useRef(null),r=g.useRef(null),i=ri(t,r),a=Dc(o.target,r),s=a[0],l=a[1],c=function(e,t){return function(){var o=e.bounds;return o||(o={top:0+e.minPagePadding,left:0+e.minPagePadding,right:t.innerWidth-e.minPagePadding,bottom:t.innerHeight-e.minPagePadding,width:t.innerWidth-2*e.minPagePadding,height:t.innerHeight-2*e.minPagePadding}),o}}(o,l),u=function(e,t,o,n,r){var i=Sc(),a=Tc(),s=Pc(),l=g.useState(),c=l[0],u=l[1],p=g.useRef(0),h=function(){i.requestAnimationFrame((function(){return m()}))},m=function(){var i=e.offsetFromTarget,l=e.onPositioned,h=t.current,m=o.current;if(h&&m){var f=d({},e);f.bounds=r(),f.target=n.current;var g=f.target;if(g)if(!g.getBoundingClientRect&&!g.preventDefault||(null==a?void 0:a.body.contains(g))){f.gapSpace=i;var v=mc(f,h,m,void 0,s);!c&&v||c&&v&&!function(e,t){return function(e,t){for(var o in t)if(t.hasOwnProperty(o)){var n=e[o],r=t[o];if(n&&r&&n.toFixed(2)!==r.toFixed(2))return!1}return!0}(e.elementPosition,t.elementPosition)}(c,v)&&p.current<5?(p.current++,u(v),null==l||l(v)):(p.current=0,null==l||l(v))}else void 0!==c&&u(void 0);else void 0!==c&&u(void 0)}};return g.useEffect(h),[c,h]}(o,r,n,s,c),p=u[0],h=u[1],m=function(e,t,o){var n=e.directionalHintFixed,r=e.offsetFromTarget,i=e.directionalHint,a=e.target,s=g.useRef(),l=Pc();return"string"==typeof a&&(s.current=void 0),g.useEffect((function(){s.current=void 0}),[a,r]),function(){if(!s.current)if(n&&t.current){var e=r||0;s.current=vc(t.current,i,e,o(),void 0,l)}else s.current=o().height-2;return s.current}}(o,s,c),f=Rf(o,n);if(function(e,t,o){var n=e.setInitialFocus,r=g.useRef(!1);g.useEffect((function(){!r.current&&t.current&&n&&o&&(r.current=!0,Wa(t.current))}))}(o,n,p),function(e,t,o,n,r,i){var a=e.onDismiss,s=e.preventDismissOnScroll,l=Sc(),c=g.useCallback((function(e){a?a(e):i()}),[a,i]),u=g.useCallback((function(e){var r=e.target,i=t.current&&!Ma(t.current,r);(!n.current&&i||e.target!==o&&i&&(n.current.stopPropagation||!n.current||r!==n.current&&!Ma(n.current,r)))&&c(e)}),[c,t,n,o]),d=g.useCallback((function(e){r&&!s&&u(e)}),[u,r,s]);g.useEffect((function(){var e=new dl({});return l.setTimeout((function(){var t,n;e.on(o,"scroll",l.throttle(d,10),!0),e.on(o,"resize",l.throttle(c,10),!0),e.on(null===(t=null==o?void 0:o.document)||void 0===t?void 0:t.body,"focus",u,!0),e.on(null===(n=null==o?void 0:o.document)||void 0===n?void 0:n.body,"click",u,!0)}),0),function(){return e.dispose()}}),[d])}(o,r,l,s,p,h),g.useEffect((function(){var e;return null===(e=o.onLayerMounted)||void 0===e?void 0:e.call(o)}),[]),!l)return null;var v=o.className,b=o.doNotLayer,y=o.positioningContainerWidth,C=o.positioningContainerMaxHeight,_=o.children,S=Df(),x=p&&p.targetEdge?tt[Tf[p.targetEdge]]:"",k=m()+f,w=C&&C>k?k:C,I=g.createElement("div",{ref:i,className:pi("ms-PositioningContainer",S.container)},g.createElement("div",{className:te("ms-PositioningContainer-layerHost",S.root,v,x,!!y&&{width:y},b&&{zIndex:Qo.Layer}),style:p?p.elementPosition:Ef,tabIndex:-1,ref:n},_,w));return b?I:g.createElement(ku,d({},o.layerProps),I)}));function Nf(e){var t;return{root:[{position:"absolute",boxShadow:"inherit",border:"none",boxSizing:"border-box",transform:e.transform,width:e.width,height:e.height,left:e.left,top:e.top,right:e.right,bottom:e.bottom}],beak:{fill:e.color,display:"block",selectors:(t={},t[Mo]={fill:"windowtext"},t)}}}Mf.displayName="PositioningContainer";var Bf=10,Af=18,Ff=g.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?Il.top:h;switch(m===Il.top||m===Il.bottom?(o=Bf,n=Af):(o=Af,n=Bf),m){case Il.top:default:r="".concat(9,", 0"),i="".concat(Af,", ").concat(Bf),a="0, ".concat(Bf),s="translateY(-100%)";break;case Il.right:r="0, 0",i="".concat(Bf,", ").concat(Bf),a="0, ".concat(Af),s="translateX(100%)";break;case Il.bottom:r="0, 0",i="".concat(Af,", 0"),a="".concat(9,", ").concat(Bf),s="translateY(100%)";break;case Il.left:r="".concat(Bf,", 0"),i="0, ".concat(Bf),a="".concat(Bf,", ").concat(Af),s="translateX(-100%)"}var f=gr()(Nf,{left:l,top:c,bottom:u,right:d,height:"".concat(o,"px"),width:"".concat(n,"px"),transform:s,color:p});return g.createElement("div",{className:f.root,role:"presentation",ref:t},g.createElement("svg",{height:o,width:n,className:f.beak},g.createElement("polygon",{points:r+" "+i+" "+a})))}));Ff.displayName="Beak";var Lf=Do((function(){return re({"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)"}})})),Hf=Do((function(){return re({"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)"}})})),Of=Do((function(){return re({"0%":{transform:"rotate(0deg)",animationTimingFunction:"linear"},"83.33%":{transform:" rotate(0deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"83.93%":{transform:"rotate(15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"84.52%":{transform:"rotate(-15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"85.12%":{transform:"rotate(15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"85.71%":{transform:"rotate(-15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"86.31%":{transform:"rotate(0deg)",animationTimingFunction:"linear"},"100%":{transform:"rotate(0deg)"}})})),zf=function(){var e=Ic({});return g.useEffect((function(){return function(){for(var t=0,o=Object.keys(e);t<o.length;t++){var n=o[t];clearTimeout(n)}}}),[e]),Ic({setTimeout:function(t,o){var n=setTimeout(t,o);return e[n]=1,n},clearTimeout:function(t){delete e[t],clearTimeout(t)}})},Wf=gr(),Vf="data-coachmarkid",Kf={isCollapsed:!0,mouseProximityOffset:10,delayBeforeMouseOpen:3600,delayBeforeCoachmarkAnimation:0,isPositionForced:!0,positioningContainerProps:{directionalHint:Sl.bottomAutoEdge}},Gf=g.forwardRef((function(e,t){var o=yr(Kf,e),n=Pc(),r=g.useRef(null),i=g.useRef(null),a=function(){var e=Sc(),t=g.useState(),o=t[0],n=t[1],r=g.useState(),i=r[0],a=r[1];return[o,i,function(t){var o=t.alignmentEdge,r=t.targetEdge;return e.requestAnimationFrame((function(){n(o),a(r)}))}]}(),s=a[0],l=a[1],c=a[2],u=function(e,t){var o=e.isCollapsed,n=e.onAnimationOpenStart,r=e.onAnimationOpenEnd,i=g.useState(!!o),a=i[0],s=i[1],l=zf().setTimeout,c=g.useRef(!a),u=g.useCallback((function(){var e,o;c.current||(s(!1),null==n||n(),null===(o=null===(e=t.current)||void 0===e?void 0:e.addEventListener)||void 0===o||o.call(e,"transitionend",(function(){l((function(){t.current&&Wa(t.current)}),1e3),null==r||r()})),c.current=!0)}),[t,r,n,l]);return g.useEffect((function(){o||u()}),[o]),[a,u]}(o,r),p=u[0],h=u[1],m=function(e,t,o){var n=lr(e.theme);return g.useMemo((function(){var e,r,i=void 0===o?Il.bottom:bc(o),a={direction:i},s="3px";switch(i){case Il.top:case Il.bottom:t?t===Il.left?(a.left="".concat(7,"px"),e="left"):(a.right="".concat(7,"px"),e="right"):(a.left="calc(50% - ".concat(9,"px)"),e="center"),i===Il.top?(a.top=s,r="top"):(a.bottom=s,r="bottom");break;case Il.left:case Il.right:t?t===Il.top?(a.top="".concat(7,"px"),r="top"):(a.bottom="".concat(7,"px"),r="bottom"):(a.top="calc(50% - ".concat(9,"px)"),r="center"),i===Il.left?(n?a.right=s:a.left=s,e="left"):(n?a.left=s:a.right=s,e="right")}return[a,"".concat(e," ").concat(r)]}),[t,o,n])}(o,s,l),f=m[0],v=m[1],b=function(e,t){var o=g.useState(!!e.isCollapsed),n=o[0],r=o[1],i=g.useState(e.isCollapsed?{width:0,height:0}:{}),a=i[0],s=i[1],l=Sc();return g.useEffect((function(){l.requestAnimationFrame((function(){t.current&&(s({width:t.current.offsetWidth,height:t.current.offsetHeight}),r(!1))}))}),[]),[n,a]}(o,r),y=b[0],C=b[1],_=g.useState(Uf(o.isPositionForced,o.positioningContainerProps,n)),S=_[0],x=_[1],k=function(e){var t=e.ariaAlertText,o=Sc(),n=g.useState(),r=n[0],i=n[1];return g.useEffect((function(){o.requestAnimationFrame((function(){i(t)}))}),[]),r}(o),w=function(e){var t=e.preventFocusOnMount,o=zf().setTimeout,n=g.useRef(null);return g.useEffect((function(){t||o((function(){var e;return null===(e=n.current)||void 0===e?void 0:e.focus()}),1e3)}),[]),n}(o);!function(e,t,o){var n,r=null===(n=ct())||void 0===n?void 0:n.documentElement;xc(r,"keydown",(function(e){var n,r;(e.altKey&&e.which===ar.c||e.which===ar.enter&&(null===(r=null===(n=t.current)||void 0===n?void 0:n.contains)||void 0===r?void 0:r.call(n,e.target)))&&o()}),!0);var i=function(o){var n;if(e.preventDismissOnLostFocus){var r=o.target,i=t.current&&!Ma(t.current,r),a=e.target;i&&r!==a&&!Ma(a,r)&&(null===(n=e.onDismiss)||void 0===n||n.call(e,o))}};xc(r,"click",i,!0),xc(r,"focus",i,!0)}(o,i,h),function(e){var t=e.onDismiss;g.useImperativeHandle(e.componentRef,(function(e){return{dismiss:function(){null==t||t(e)}}}),[t])}(o),function(e,t,o,n){var r=zf(),i=r.setTimeout,a=r.clearTimeout,s=g.useRef(),l=Pc(),c=Tc();g.useEffect((function(){var r=function(){t.current&&(s.current=t.current.getBoundingClientRect())},u=new dl({});return i((function(){var t=e.mouseProximityOffset,d=void 0===t?0:t,p=[];i((function(){r(),u.on(l,"resize",(function(){p.forEach((function(e){a(e)})),p.splice(0,p.length),p.push(i((function(){r(),n(Uf(e.isPositionForced,e.positioningContainerProps,l))}),100))}))}),10),u.on(c,"mousemove",(function(t){var n,i=t.clientY,a=t.clientX;r(),function(e,t,o,n){return void 0===n&&(n=0),t>e.left-n&&t<e.left+e.width+n&&o>e.top-n&&o<e.top+e.height+n}(s.current,a,i,d)&&o(),null===(n=e.onMouseMove)||void 0===n||n.call(e,t)}))}),e.delayBeforeMouseOpen),function(){return u.dispose()}}),[])}(o,i,h,x),g.useEffect((function(){x(Uf(o.isPositionForced,o.positioningContainerProps,n))}),[o.isPositionForced,o.positioningContainerProps,n]);var I=o.beaconColorOne,D=o.beaconColorTwo,E=o.children,T=o.target,P=o.color,R=o.positioningContainerProps,M=o.ariaDescribedBy,N=o.ariaDescribedByText,B=o.ariaLabelledBy,A=o.ariaLabelledByText,F=o.ariaAlertText,L=o.delayBeforeCoachmarkAnimation,H=o.styles,O=o.theme,z=o.className,W=o.persistentBeak,V=P;!V&&O&&(V=O.semanticColors.primaryButtonBackground);var K=Wf(H,{theme:O,beaconColorOne:I,beaconColorTwo:D,className:z,isCollapsed:p,isMeasuring:y,color:V,transformOrigin:v,entityHostHeight:void 0===C.height?void 0:"".concat(C.height,"px"),entityHostWidth:void 0===C.width?void 0:"".concat(C.width,"px"),width:"".concat(32,"px"),height:"".concat(32,"px"),delayBeforeCoachmarkAnimation:"".concat(L,"ms")}),G=p?32:C.height,U=g.useCallback((function(){h()}),[h]);return g.createElement(Mf,d({target:T,offsetFromTarget:Bf,finalHeight:G,ref:t,onPositioned:c,bounds:S},R),g.createElement("div",{className:K.root},F&&g.createElement("div",{className:K.ariaContainer,role:"alert","aria-hidden":!p},k),g.createElement("div",{className:K.pulsingBeacon}),g.createElement("div",{className:K.translateAnimationContainer,ref:i},g.createElement("div",{className:K.scaleAnimationLayer},g.createElement("div",{className:K.rotateAnimationLayer},(p||W)&&g.createElement(Ff,d({},f,{color:V})),g.createElement("div",{className:K.entityHost,ref:w,tabIndex:-1,"data-is-focusable":!0,role:"dialog","aria-labelledby":B,"aria-describedby":M,onClick:U},p&&[B&&g.createElement("p",{id:B,key:0,className:K.ariaContainer},A),M&&g.createElement("p",{id:M,key:1,className:K.ariaContainer},N)],g.createElement(qm,{isClickableOutsideFocusTrap:!0,forceFocusInsideTrap:!1},g.createElement("div",{className:K.entityInnerHost,ref:r},g.createElement("div",{className:K.childrenContainer,"aria-hidden":p},E)))))))))}));function Uf(e,t,o){var n,r;return e?!t||t.directionalHint!==Sl.topAutoEdge&&t.directionalHint!==Sl.bottomAutoEdge?{left:-1/0,top:-1/0,bottom:1/0,right:1/0,width:1/0,height:1/0}:{left:0,top:-1/0,bottom:1/0,right:null!==(n=null==o?void 0:o.innerWidth)&&void 0!==n?n:0,width:null!==(r=null==o?void 0:o.innerWidth)&&void 0!==r?r:0,height:1/0}:void 0}Gf.displayName="CoachmarkBase";var jf=rr(Gf,(function(e){var t,o=e.theme,n=e.className,r=e.color,i=e.beaconColorOne,a=e.beaconColorTwo,s=e.delayBeforeCoachmarkAnimation,l=e.isCollapsed,c=e.isMeasuring,u=e.entityHostHeight,d=e.entityHostWidth,p=e.transformOrigin;if(!o)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var h=bo.continuousPulseAnimationDouble(i||o.palette.themePrimary,a||o.palette.themeTertiary,"35px","150px","10px"),m=bo.createDefaultAnimation(h,s);return{root:[o.fonts.medium,{position:"relative"},n],pulsingBeacon:[{position:"absolute",top:"50%",left:"50%",transform:lr(o)?"translate(50%, -50%)":"translate(-50%, -50%)",width:"0px",height:"0px",borderRadius:"225px",borderStyle:"solid",opacity:"0"},l&&m],translateAnimationContainer:[{width:"100%",height:"100%"},l&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:Lf(),transition:"opacity 0.5s ease-in-out"},!l&&{opacity:"1"}],scaleAnimationLayer:[{width:"100%",height:"100%"},l&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:Hf()}],rotateAnimationLayer:[{width:"100%",height:"100%"},l&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:Of()},!l&&{opacity:"1"}],entityHost:[{position:"relative",outline:"none",overflow:"hidden",backgroundColor:r,borderRadius:32,transition:"border-radius 250ms, width 500ms, height 500ms cubic-bezier(0.5, 0, 0, 1)",visibility:"hidden",selectors:(t={},t[Mo]={backgroundColor:"Window",border:"2px solid WindowText"},t[".".concat(Jo," &:focus")]={outline:"1px solid ".concat(o.palette.themeTertiary)},t)},!c&&l&&{width:32,height:32},!c&&{visibility:"visible"},!l&&{borderRadius:"1px",opacity:"1",width:d,height:u},l&&{cursor:"pointer"}],entityInnerHost:[{transition:"transform 500ms cubic-bezier(0.5, 0, 0, 1)",transformOrigin:p,transform:"scale(0)"},!l&&{width:d,height:u,transform:"scale(1)"},!c&&{visibility:"visible"}],childrenContainer:[{display:!c&&l?"none":"block"}],ariaContainer:{position:"fixed",opacity:0,height:0,width:0,pointerEvents:"none"}}}),void 0,{scope:"Coachmark"}),qf=100,Yf=359,Zf=100,Xf=255,Qf=Xf,Jf=100,$f=3,eg=6,tg=1,og=3,ng=/^[\da-f]{0,6}$/i,rg=/^\d{0,3}$/;function ig(e,t,o){return void 0===o&&(o=0),e<o?o:e>t?t:e}function ag(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/Xf*100)}}function sg(e,t,o){return[lg(e),lg(t),lg(o)].join("")}function lg(e){var t=(e=ig(e,Xf)).toString(16);return 1===t.length?"0"+t:t}function cg(e,t,o,n,r){return n===Jf||"number"!=typeof n?"#".concat(r):"rgba(".concat(e,", ").concat(t,", ").concat(o,", ").concat(n/Jf,")")}function ug(e){var t=e.a,o=void 0===t?Jf:t,n=e.b,r=e.g,i=e.r,a=ag(i,r,n),s=a.h,l=a.s,c=a.v,u=sg(i,r,n);return{a:o,b:n,g:r,h:s,hex:u,r:i,s:l,str:cg(i,r,n,o,u),v:c,t:Jf-o}}function dg(e,t,o){var n=(2-(t/=qf))*(o/=Zf),r=t*o;return{h:e,s:100*(r=(r/=n<=1?n:2-n)||0),l:100*(n/=2)}}function pg(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(Xf*(n[0]+s)),g:Math.round(Xf*(n[1]+s)),b:Math.round(Xf*(n[2]+s))}}var hg,mg=[.027,.043,.082,.145,.184,.216,.349,.537],fg=[.537,.45,.349,.216,.184,.145,.082,.043],gg=[.537,.349,.216,.184,.145,.082,.043,.027],vg=[.537,.45,.349,.216,.184,.145,.082,.043],bg=[.88,.77,.66,.55,.44,.33,.22,.11],yg=[.11,.22,.33,.44,.55,.66,.77,.88],Cg=[.96,.84,.7,.4,.12],_g=[.1,.24,.44],Sg=.2,xg=.8;function kg(e){return"number"==typeof e&&e>=hg.Unshaded&&e<=hg.Shade8}function wg(e,t){return{h:e.h,s:e.s,v:ig(e.v-e.v*t,100,0)}}function Ig(e,t){return{h:e.h,s:ig(e.s-e.s*t,100,0),v:ig(e.v+(100-e.v)*t,100,0)}}function Dg(e){return dg(e.h,e.s,e.v).l<50}function Eg(e,t,o){if(void 0===o&&(o=!1),!e)return null;if(t===hg.Unshaded||!kg(t))return e;var n=dg(e.h,e.s,e.v),r={h:e.h,s:e.s,v:e.v},i=t-1,a=Ig,s=wg;return o&&(a=wg,s=Ig),r=function(e){return e.r===Xf&&e.g===Xf&&e.b===Xf}(e)?wg(r,gg[i]):function(e){return 0===e.r&&0===e.g&&0===e.b}(e)?Ig(r,vg[i]):n.l/100>xg?s(r,yg[i]):n.l/100<Sg?a(r,bg[i]):i<Cg.length?a(r,Cg[i]):s(r,_g[i-Cg.length]),ug(al(pg(r.h,r.s,r.v),{a:e.a}))}function Tg(e,t,o){if(void 0===o&&(o=!1),!e)return null;if(t===hg.Unshaded||!kg(t))return e;var n={h:e.h,s:e.s,v:e.v},r=t-1;return ug(al(pg((n=o?Ig(n,fg[vg.length-1-r]):wg(n,mg[r])).h,n.s,n.v),{a:e.a}))}function Pg(e,t){function o(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}var n=.2126*o(e.r/Xf)+.7152*o(e.g/Xf)+.0722*o(e.b/Xf);n+=.05;var r=.2126*o(t.r/Xf)+.7152*o(t.g/Xf)+.0722*o(t.b/Xf);return n/(r+=.05)>1?n/r:r/n}function Rg(e){return{h:ig(e.h,Yf),s:ig(e.s,qf),v:ig(e.v,Zf)}}function Mg(e){return!e||e.length<$f?"ffffff":e.length>=eg?e.substring(0,eg):e.substring(0,$f)}function Ng(e){return{r:ig(e.r,Xf),g:ig(e.g,Xf),b:ig(e.b,Xf),a:"number"==typeof e.a?ig(e.a,Jf):e.a}}function Bg(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 Ag(e,t,o){var n=Bg(e,t,o);return pg(n.h,n.s,n.v)}function Fg(e,t){if(e){var o=null!=t?t:ct();return Lg(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:Jf}}(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:Jf}}(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=Ag(r[0],r[1],r[2]);return i.a=o?100*r[3]:Jf,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 Lg(i);switch(e.trim()){case"transparent":case"#0000":case"#00000000":return{r:0,g:0,b:0,a:0}}}}(e,o)}}function Lg(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]:Jf}}}}function Hg(e,t,o){var n=pg(e,t,o);return sg(n.r,n.g,n.b)}function Og(e,t){var o=e.h,n=e.s,r=e.v;t="number"==typeof t?t:Jf;var i=pg(o,n,r),a=i.r,s=i.g,l=i.b,c=Hg(o,n,r);return{a:t,b:l,g:s,h:o,hex:c,r:a,s:n,str:cg(a,s,l,t,c),v:r,t:Jf-t}}function zg(e,t){var o=Fg(e,null!=t?t:ct());if(o)return d(d({},ug(o)),{str:e})}function Wg(e){return"#".concat(Hg(e.h,qf,Zf))}function Vg(e,t){return d(d({},e),{a:t,t:Jf-t,str:cg(e.r,e.g,e.b,t,e.hex)})}function Kg(e,t){var o=pg(t,e.s,e.v),n=o.r,r=o.g,i=o.b,a=sg(n,r,i);return d(d({},e),{h:t,r:n,g:r,b:i,hex:a,str:cg(n,r,i,e.a,a)})}function Gg(e,t,o){var n;return ug(((n={r:e.r,g:e.g,b:e.b,a:e.a})[t]=o,n))}function Ug(e,t,o){var n=pg(e.h,t,o),r=n.r,i=n.g,a=n.b,s=sg(r,i,a);return d(d({},e),{s:t,v:o,r:r,g:i,b:a,hex:s,str:cg(r,i,a,e.a,s)})}function jg(e,t){var o=Jf-t;return d(d({},e),{t:t,a:o,str:cg(e.r,e.g,e.b,o,e.hex)})}function qg(){}function Yg(e){}function Zg(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"}(hg||(hg={}));var Xg,Qg=gr(),Jg="TextField",$g=function(e){function t(t){var o=e.call(this,t)||this;o._textElement=g.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?g.createElement(cf,{required:n,htmlFor:o._id,styles:r,disabled:e.disabled,id:o._labelId},e.label):null},o._onRenderDescription=function(e){return e.description?g.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=ev(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},Ji(o),o._async=new na(o),o._fallbackId=as(Jg),o._descriptionId=as(Jg+"Description"),o._labelId=as(Jg+"Label"),o._prefixId=as(Jg+"Prefix"),o._suffixId=as(Jg+"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 u(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return ev(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=ev(e,t),c=this.value;l!==c&&(this._warnControlledUsage(e),this.state.errorMessage&&!n.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),tv(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,p=e.prefix,h=e.resizable,m=e.suffix,f=e.theme,v=e.styles,b=e.autoAdjustHeight,y=e.canRevealPassword,C=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=!!y&&"password"===_&&function(){if("boolean"!=typeof Xg){var e=pt();if(null==e?void 0:e.navigator){var t=/Edg/.test(e.navigator.userAgent||"");Xg=!(Zi()||t)}else Xg=!0}return Xg}(),F=this._classNames=Qg(v,{theme:f,className:o,disabled:n,focused:R,required:c,multiline:l,hasLabel:!!s,hasErrorMessage:B,borderless:t,resizable:h,hasIcon:!!i,underlined:u,inputClassName:a,autoAdjustHeight:b,hasRevealButton:A});return g.createElement("div",{ref:this.props.elementRef,className:F.root},g.createElement("div",{className:F.wrapper},D(this.props,this._onRenderLabel),g.createElement("div",{className:F.fieldGroup},(void 0!==p||this.props.onRenderPrefix)&&g.createElement("div",{className:F.prefix,id:this._prefixId},x(this.props,this._onRenderPrefix)),l?this._renderTextArea():this._renderInput(),i&&g.createElement(ki,d({className:F.icon},i)),A&&g.createElement("button",{"aria-label":C,className:F.revealButton,onClick:this._onRevealButtonClick,"aria-pressed":!!M,type:"button"},g.createElement("span",{className:F.revealSpan},g.createElement(ki,{className:F.revealIcon,iconName:M?"Hide":"RedEye"}))),(void 0!==m||this.props.onRenderSuffix)&&g.createElement("div",{className:F.suffix,id:this._suffixId},w(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&g.createElement("span",{id:this._descriptionId},T(this.props,this._onRenderDescription),N&&g.createElement("div",{role:"alert"},g.createElement(pa,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,bn("Warning: 'value' prop on '".concat(Jg,"' 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 Zg(this.props,"value")},enumerable:!1,configurable:!0}),t.prototype._onRenderPrefix=function(e){var t=e.prefix;return g.createElement("span",{style:{paddingBottom:"1px"}},t)},t.prototype._onRenderSuffix=function(e){var t=e.suffix;return g.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?g.createElement("p",{className:this._classNames.errorMessage},g.createElement("span",{"data-automation-id":"error-message"},e)):g.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=jr(this.props,Mr,["defaultValue"]),n=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return g.createElement("textarea",d({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 p=d(d({type:this.state.isRevealingPassword?"text":c,id:this._id},jr(this.props,Rr,["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}),h=function(e){return g.createElement("input",d({},e))};return(this.props.onRenderInput||h)(p,h)},t.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!tv(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}(g.Component);function ev(e,t){var o=e.value,n=void 0===o?t.uncontrolledValue:o;return"number"==typeof n?String(n):n}function tv(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var ov={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 nv(e){var t=e.underlined,o=e.disabled,n=e.focused,r=e.theme,i=r.palette,a=r.fonts;return function(){var e;return{root:[t&&o&&{color:i.neutralTertiary},t&&{fontSize:a.medium.fontSize,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},t&&n&&{selectors:(e={},e[Mo]={height:31},e)}]}}}function rv(e){var t,o,n,r,i,a,s,l,c,u,p,h,m=e.theme,f=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=m.semanticColors,P=m.effects,R=m.fonts,M=Ro(ov,m),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[Mo]={background:"Window",color:g?"GrayText":"WindowText"},t)},B=[{color:T.inputPlaceholderText,opacity:1,selectors:(o={},o[Mo]={color:"GrayText"},o)}],A={color:T.disabledText,selectors:(n={},n[Mo]={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,dn,{position:"relative"},f],wrapper:[M.wrapper,S&&[{display:"flex",borderBottom:"1px solid ".concat(w?T.errorText:T.inputBorder),width:"100%"},g&&{borderBottomColor:T.disabledBackground,selectors:(r={},r[Mo]=d({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},!g&&{selectors:{":hover":{borderBottomColor:w?T.errorText:T.inputBorderHovered,selectors:(i={},i[Mo]=d({borderBottomColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}}},v&&[{position:"relative"},an(w?T.errorText:T.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[M.fieldGroup,dn,{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[Mo]=d({borderColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)}}},v&&!S&&an(w?T.errorText:T.inputFocusBorderAlt,P.roundedCorner2),g&&{borderColor:T.disabledBackground,selectors:(s={},s[Mo]=d({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[Mo]={selectors:{":before":{color:"WindowText",right:-14}}},l)}],field:[R.medium,M.field,dn,{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[Mo]={background:"Window",color:g?"GrayText":"WindowText"},c)},vn(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},vn(A)],S&&{textAlign:"left"},v&&!_&&{selectors:(u={},u[Mo]={paddingLeft:11,paddingRight:11},u)},v&&y&&!_&&{selectors:(p={},p[Mo]={paddingTop:4},p)},I],icon:[y&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:et.medium,lineHeight:18},g&&{color:T.disabledText}],description:[M.description,{color:T.bodySubtext,fontSize:R.xSmall.fontSize}],errorMessage:[M.errorMessage,tt.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",on(m,{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:(h={},h[Mo]={borderColor:"Highlight",color:"Highlight"},h)},":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:et.medium,lineHeight:18},subComponentStyles:{label:nv(e)}}}var iv=rr($g,rv,void 0,{scope:"TextField"}),av=gr(),sv=function(e){function t(t){var o=e.call(this,t)||this;return o._disposables=[],o._root=g.createRef(),o._isAdjustingSaturation=!0,o._descriptionId=as("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 ar.up:o._isAdjustingSaturation=!1,r+=i;break;case ar.down:o._isAdjustingSaturation=!1,r-=i;break;case ar.left:o._isAdjustingSaturation=!0,n-=i;break;case ar.right:o._isAdjustingSaturation=!0,n+=i;break;default:return}o._updateColor(e,Ug(t,ig(n,qf),ig(r,Zf)))},o._onMouseDown=function(e){var t=Mc(o.context);o._disposables.push(Al(t,"mousemove",o._onMouseMove,!0),Al(t,"mouseup",o._disposeListeners,!0)),o._onMouseMove(e)},o._onMouseMove=function(e){if(o._root.current){var t=lv(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=lv(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=[]},Ji(o),o.state={color:t.color},o}return u(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=av(r,{theme:o,className:n,minSize:t}),u=i.replace("{0}",String(l.s)).replace("{1}",String(l.v));return g.createElement("div",{ref:this._root,tabIndex:0,className:c.root,style:{backgroundColor:Wg(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":Zf,"aria-label":a,"aria-describedby":this._descriptionId,"data-is-focusable":!0},g.createElement("div",{className:c.description,id:this._descriptionId},s),g.createElement("div",{className:c.light}),g.createElement("div",{className:c.dark}),g.createElement("div",{className:c.thumb,style:{left:l.s+"%",top:Zf-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=ra,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}(g.Component);function lv(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 Ug(t,ig(Math.round(l*qf),qf),ig(Math.round(Zf-c*Zf),Zf))}}var cv=rr(sv,(function(e){var t,o,n=e.className,r=e.theme,i=e.minSize,a=r.palette,s=r.effects;return{root:["ms-ColorPicker-colorRect",{position:"relative",marginBottom:8,border:"1px solid ".concat(a.neutralLighter),borderRadius:s.roundedCorner2,minWidth:i,minHeight:i,outline:"none",selectors:(t={},t[Mo]=d({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]=(o={outline:"1px solid ".concat(a.neutralSecondary)},o["".concat(Mo)]={outline:"2px solid CanvasText"},o),t)},n],light:["ms-ColorPicker-light",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to right, white 0%, transparent 100%) /*@noflip*/"}],dark:["ms-ColorPicker-dark",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to bottom, transparent 0, #000 100%)"}],thumb:["ms-ColorPicker-thumb",{position:"absolute",width:20,height:20,background:"white",border:"1px solid ".concat(a.neutralSecondaryAlt),borderRadius:"50%",boxShadow:s.elevation8,transform:"translate(-50%, -50%)",selectors:{":before":{position:"absolute",left:0,right:0,top:0,bottom:0,border:"2px solid ".concat(a.white),borderRadius:"50%",boxSizing:"border-box",content:'""'}}}],description:ho}}),void 0,{scope:"ColorRectangle"}),uv=gr(),dv=function(e){function t(t){var o=e.call(this,t)||this;return o._disposables=[],o._root=g.createRef(),o._onKeyDown=function(e){var t=o.value,n=o._maxValue,r=e.shiftKey?10:1;switch(e.which){case ar.left:t-=r;break;case ar.right:t+=r;break;case ar.home:t=0;break;case ar.end:t=n;break;default:return}o._updateValue(e,ig(t,n))},o._onMouseDown=function(e){var t=pt(o);t&&o._disposables.push(Al(t,"mousemove",o._onMouseMove,!0),Al(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=ig(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=ig(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=[]},Ji(o),"hue"===o._type||t.overlayColor||t.overlayStyle||bn("ColorSlider: 'overlayColor' is required when 'type' is \"alpha\" or \"transparency\""),o.state={currentValue:t.value||0},o}return u(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=uv(s,{theme:i,className:a,type:e}),p=100*u/t;return g.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)&&g.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}),g.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?Yf:Jf},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}(g.Component),pv={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(","),")")},hv={backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJUlEQVQYV2N89erVfwY0ICYmxoguxjgUFKI7GsTH5m4M3w1ChQC1/Ca8i2n1WgAAAABJRU5ErkJggg==)"},mv=rr(dv,(function(e){var t,o,n=e.theme,r=e.className,i=e.type,a=void 0===i?"hue":i,s=e.isAlpha,l=void 0===s?"hue"!==a:s,c=n.palette,u=n.effects;return{root:["ms-ColorPicker-slider",{position:"relative",height:20,marginBottom:8,border:"1px solid ".concat(c.neutralLight),borderRadius:u.roundedCorner2,boxSizing:"border-box",outline:"none",forcedColorAdjust:"none",selectors:(t={},t[".".concat(Jo," &:focus")]=(o={outline:"1px solid ".concat(c.neutralSecondary)},o["".concat(Mo)]={outline:"2px solid CanvasText"},o),t)},l?hv:pv,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"}),fv=gr(),gv=["hex","r","g","b","a","t"],vv={hex:"hexError",r:"redError",g:"greenError",b:"blueError",a:"alphaError",t:"transparencyError"},bv=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,Kg(n.state.color,t))},n._onATChanged=function(e,t){var o="transparency"===n.props.alphaType?jg:Vg;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,p=l?$f:tg;if(a.length>=p&&(l||!isNaN(Number(a)))){var h=void 0;h=l?zg("#"+Mg(a)):c||u?(c?Vg:jg)(r,ig(Number(a),Jf)):ug(Ng(d(d({},r),((t={})[s]=Number(a),t)))),n._updateColor(e,h)}else n.setState({editingColor:void 0})}},Ji(n);var r=o.strings;r.hue&&bn("ColorPicker property 'strings.hue' was used but has been deprecated. Use 'strings.hueAriaLabel' instead."),n.state={color:yv(o)||zg("#ffffff")},n._textChangeHandlers={};for(var i=0,a=gv;i<a.length;i++){var s=a[i];n._textChangeHandlers[s]=n._onTextChange.bind(n,s)}var l=t.defaultProps.strings;return n._textLabels={r:o.redLabel||r.red||l.red,g:o.greenLabel||r.green||l.green,b:o.blueLabel||r.blue||l.blue,a:o.alphaLabel||r.alpha||l.alpha,hex:o.hexLabel||r.hex||l.hex,t:r.transparency||l.transparency},n._strings=d(d(d({},l),{alphaAriaLabel:n._textLabels.a,transparencyAriaLabel:n._textLabels.t}),r),n}return u(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this.state.color},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){if(e!==this.props){var o=yv(this.props);o&&this._updateColor(void 0,o)}},t.prototype.render=function(){var e=this,t=this.props,o=this._strings,n=this._textLabels,r=t.theme,i=t.className,a=t.styles,s=t.alphaType,l=t.alphaSliderHidden,c=void 0===l?"none"===s:l,u=t.tooltipProps,p=this.state.color,h="transparency"===s,m=["hex","r","g","b",h?"t":"a"],f=h?p.t:p.a,v=h?n.t:n.a,b=fv(a,{theme:r,className:i,alphaType:s}),y=[n.r,p.r,n.g,p.g,n.b,p.b];c||"number"!=typeof f||y.push(v,"".concat(f,"%"));var C=o.rootAriaLabelFormat.replace("{0}",y.join(" "));return g.createElement("div",{className:b.root,role:"group","aria-label":C},g.createElement("div",{className:b.panel},g.createElement(cv,{color:p,onChange:this._onSVChanged,ariaLabel:o.svAriaLabel,ariaDescription:o.svAriaDescription,ariaValueFormat:o.svAriaValueFormat,className:b.colorRectangle}),g.createElement("div",{className:b.flexContainer},g.createElement("div",{className:b.flexSlider},g.createElement(mv,{className:"is-hue",type:"hue",ariaLabel:o.hue||o.hueAriaLabel,value:p.h,onChange:this._onHChanged}),!c&&g.createElement(mv,{className:"is-alpha",type:s,ariaLabel:h?o.transparencyAriaLabel:o.alphaAriaLabel,overlayColor:p.hex,value:f,onChange:this._onATChanged})),t.showPreview&&g.createElement("div",{className:b.flexPreviewBox},g.createElement("div",{className:b.colorSquare+" is-preview",style:{backgroundColor:p.str}}))),g.createElement("table",{className:b.table,role:"group",cellPadding:"0",cellSpacing:"0"},g.createElement("thead",null,g.createElement("tr",{className:b.tableHeader},g.createElement("td",{className:b.tableHexCell},n.hex),g.createElement("td",null,n.r),g.createElement("td",null,n.g),g.createElement("td",null,n.b),!c&&g.createElement("td",{className:b.tableAlphaCell},v))),g.createElement("tbody",null,g.createElement("tr",null,m.map((function(t){if(("a"===t||"t"===t)&&c)return null;var o=e._getTooltipValue(t);return g.createElement("td",{key:t},g.createElement(Fp,d({content:o,directionalHint:Sl.bottomCenter,role:"alert"},u),g.createElement(iv,{className:b.input,onChange:e._textChangeHandlers[t],onBlur:e._onBlur,value:e._getDisplayValue(t),spellCheck:!1,ariaLabel:n[t],autoComplete:"off",invalid:!!o})))})))))),g.createElement(Zs,null))},t.prototype._getDisplayValue=function(e){var t=this.state,o=t.color,n=t.editingColor;return n&&n.component===e?n.value:"hex"===e?o[e]||"":"number"!=typeof o[e]||isNaN(o[e])?"":String(o[e])},t.prototype._getTooltipValue=function(e){var t=this.state.editingColor;if(t&&t.component===e){var o=t.value;if(!("hex"===e&&o.length>=$f&&o.length<=eg)){var n=vv[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?eg:og),(i?ng:rg).test(o))if(""!==o&&(i?o.length===eg:a||s?Number(o)<=Jf:Number(o)<=Xf))if(String(r[e])===o)this.state.editingColor&&this.setState({editingColor:void 0});else{var l=i?zg("#"+o):s?jg(r,Number(o)):ug(d(d({},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:sv.defaultProps.ariaLabel,svAriaValueFormat:sv.defaultProps.ariaValueFormat,svAriaDescription:sv.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}(g.Component);function yv(e){var t=e.color;return"string"==typeof t?zg(t):t}var Cv,_v,Sv,xv,kv,wv=rr(bv,(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"}),Iv=Do((function(e){var t,o=e.semanticColors;return{backgroundColor:o.disabledBackground,color:o.disabledText,cursor:"default",selectors:(t={":after":{borderColor:o.disabledBackground}},t[Mo]={color:"GrayText",selectors:{":after":{borderColor:"GrayText"}}},t)}})),Dv={selectors:(Cv={},Cv[Mo]=d({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),Cv)},Ev={selectors:(_v={},_v[Mo]=d({color:"WindowText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),_v)},Tv=Do((function(e,t,o,n,r,i){var a,s=e.palette,l=e.semanticColors,c={textHoveredColor:l.menuItemTextHovered,textSelectedColor:s.neutralDark,textDisabledColor:l.disabledText,backgroundHoveredColor:l.menuItemBackgroundHovered,backgroundPressedColor:l.menuItemBackgroundPressed};return Nn({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:d(d((a={},a[Mo]={border:"none",borderColor:"Background"},a),!r&&{"&.ms-Checkbox":{display:"flex",alignItems:"center"}}),{"&.ms-Button--command:hover:active":{backgroundColor:c.backgroundPressedColor},".ms-Checkbox-label":{width:"100%"}})},i?[{backgroundColor:"transparent",color:c.textSelectedColor,selectors:{":hover":[{backgroundColor:c.backgroundHoveredColor},Dv]}},on(e,{inset:-1,isFocusedOnly:!1}),Dv]:[]],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)})),Pv=Do((function(e,t){var o,n,r=e.semanticColors,i=e.fonts,a={buttonTextColor:r.bodySubtext,buttonTextHoveredCheckedColor:r.buttonTextChecked,buttonBackgroundHoveredColor:r.listItemBackgroundHovered,buttonBackgroundCheckedColor:r.listItemBackgroundChecked,buttonBackgroundCheckedHoveredColor:r.listItemBackgroundCheckedHovered},s={selectors:(o={},o[Mo]=d({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)};return Nn({root:{color:a.buttonTextColor,fontSize:i.small.fontSize,position:"absolute",top:0,height:"100%",lineHeight:30,width:32,textAlign:"center",cursor:"default",selectors:(n={},n[Mo]=d({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:[Iv(e),{position:"absolute"}]},t)})),Rv=Do((function(e,t,o){var n,r,i,a,s,l,c=e.semanticColors,u=e.fonts,p=e.effects,h={textColor:c.inputText,borderColor:c.inputBorder,borderHoveredColor:c.inputBorderHovered,borderPressedColor:c.inputFocusBorderAlt,borderFocusedColor:c.inputFocusBorderAlt,backgroundColor:c.inputBackground,erroredColor:c.errorText},m={headerTextColor:c.menuHeader,dividerBorderColor:c.bodyDivider},f={selectors:(n={},n[Mo]={color:"GrayText"},n)},g=[{color:c.inputPlaceholderText},f],v=[{color:c.inputTextHovered},f],b=[{color:c.disabledText},f],y=d(d({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),C=an(h.borderPressedColor,p.roundedCorner2,"border",0);return Nn({container:{},label:{},labelDisabled:{},root:[e.fonts.medium,{boxShadow:"none",marginLeft:"0",paddingRight:32,paddingLeft:9,color:h.textColor,position:"relative",outline:"0",userSelect:"none",backgroundColor:h.backgroundColor,cursor:"text",display:"block",height:32,whiteSpace:"nowrap",textOverflow:"ellipsis",boxSizing:"border-box",selectors:{".ms-Label":{display:"inline-block",marginBottom:"8px"},"&.is-open":{selectors:(r={},r[Mo]=y,r)},":after":{pointerEvents:"none",content:"''",position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:"1px",borderStyle:"solid",borderColor:h.borderColor,borderRadius:p.roundedCorner2}}}],rootHovered:{selectors:(i={":after":{borderColor:h.borderHoveredColor},".ms-ComboBox-Input":[{color:c.inputTextHovered},vn(v),Ev]},i[Mo]=d(d({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),i)},rootPressed:[{position:"relative",selectors:(a={},a[Mo]=y,a)}],rootFocused:[{selectors:(s={".ms-ComboBox-Input":[{color:c.inputTextHovered},Ev]},s[Mo]=y,s)},C],rootDisabled:Iv(e),rootError:{selectors:{":after":{borderColor:h.erroredColor},":hover:after":{borderColor:c.inputBorderHovered}}},rootDisallowFreeForm:{},input:[vn(g),{backgroundColor:h.backgroundColor,color:h.textColor,boxSizing:"border-box",width:"100%",height:"100%",borderStyle:"none",outline:"none",font:"inherit",textOverflow:"ellipsis",padding:"0",selectors:{"::-ms-clear":{display:"none"}}},Ev],inputDisabled:[Iv(e),vn(b)],errorMessage:[e.fonts.small,{color:h.erroredColor,marginTop:"5px"}],callout:{boxShadow:p.elevation8},optionsContainerWrapper:{width:o},optionsContainer:{display:"block"},screenReaderText:ho,header:[u.medium,{fontWeight:$e.semibold,color:m.headerTextColor,backgroundColor:"none",borderStyle:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(l={},l[Mo]=d({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),l)}],divider:{height:1,backgroundColor:m.dividerBorderColor}},t)})),Mv=Do((function(e,t,o,n,r,i,a,s){return{container:te(e.__shadowConfig__,"ms-ComboBox-container",t,e.container),label:te(e.__shadowConfig__,e.label,n&&e.labelDisabled),root:te(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:te(e.__shadowConfig__,"ms-ComboBox-Input",e.input,n&&e.inputDisabled),errorMessage:te(e.__shadowConfig__,e.errorMessage),callout:te(e.__shadowConfig__,"ms-ComboBox-callout",e.callout),optionsContainerWrapper:te(e.__shadowConfig__,"ms-ComboBox-optionsContainerWrapper",e.optionsContainerWrapper),optionsContainer:te(e.__shadowConfig__,"ms-ComboBox-optionsContainer",e.optionsContainer),header:te(e.__shadowConfig__,"ms-ComboBox-header",e.header),divider:te(e.__shadowConfig__,"ms-ComboBox-divider",e.divider),screenReaderText:te(e.__shadowConfig__,e.screenReaderText)}})),Nv=Do((function(e){return{optionText:te(e.__shadowConfig__,"ms-ComboBox-optionText",e.optionText),root:te(e.__shadowConfig__,"ms-ComboBox-option",e.root,{selectors:{":hover":e.rootHovered,":focus":e.rootFocused,":active":e.rootPressed}}),optionTextWrapper:te(e.__shadowConfig__,e.optionTextWrapper)}}));function Bv(e,t){for(var o=[],n=0,r=t;n<r.length;n++){var i=e[r[n]];i&&o.push(i)}return o}function Av(e,t){void 0===t&&(t=!0);var o=[];if(e){for(var n=0;n<e.children.length;n++)o.push(e.children.item(n));t&&Da(e)&&o.push.apply(o,e._virtual.children)}return o}!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.SelectAll=3]="SelectAll"}(Sv||(Sv={})),function(e){e[e.backward=-1]="backward",e[e.none=0]="none",e[e.forward=1]="forward"}(xv||(xv={})),function(e){e[e.clearAll=-2]="clearAll",e[e.default=-1]="default"}(kv||(kv={}));var Fv=g.memo((function(e){return(0,e.render)()}),(function(e,t){e.render;var o=p(e,["render"]);return t.render,il(o,p(t,["render"]))})),Lv={options:[],allowFreeform:!1,allowParentArrowNavigation:!1,autoComplete:"on",buttonIconProps:{iconName:"ChevronDown"}};var Hv=g.forwardRef((function(e,t){var o=yr(Lv,e),n=(o.ref,p(o,["ref"])),r=g.useRef(null),i=ri(r,t),a=function(e){var t=e.options,o=e.defaultSelectedKey,n=e.selectedKey,r=g.useState((function(){return Wv(t,function(e,t){var o=Vv(e);return o.length?o:Vv(t)}(o,n))})),i=r[0],a=r[1],s=g.useState(t),l=s[0],c=s[1],u=g.useState(),d=u[0],p=u[1];return g.useEffect((function(){if(void 0!==n){var e=Vv(n),o=Wv(t,e);a(o)}c(t)}),[t,n]),g.useEffect((function(){null===n&&p(void 0)}),[n]),[i,a,l,c,d,p]}(n),s=a[0],l=a[1],c=a[2],u=a[3],h=a[4],m=a[5];return g.createElement(zv,d({},n,{hoisted:{mergedRootRef:i,rootRef:r,selectedIndices:s,setSelectedIndices:l,currentOptions:c,setCurrentOptions:u,suggestedDisplayValue:h,setSuggestedDisplayValue:m}}))}));function Ov(e,t){for(var o=Av(e),n=0;n<o.length;n++){var r=o[n];if(t(r))return r;var i=Ov(r,t);if(i)return i}return null}Hv.displayName="ComboBox";var zv=function(e){function t(t){var o=e.call(this,t)||this;return o._autofill=g.createRef(),o._comboBoxWrapper=g.createRef(),o._comboBoxMenu=g.createRef(),o._selectedElement=g.createRef(),o._overrideScrollDismiss=!1,o.focus=function(e,t){o.props.disabled||(o._autofill.current&&(t?Ja(o._autofill.current):o._autofill.current.focus(),e&&o.setState({isOpen:!0})),o._hasFocus()||o.setState({focusState:"focused"}))},o.dismissMenu=function(){o.state.isOpen&&o.setState({isOpen:!1})},o._onUpdateValueInAutofillWillReceiveProps=function(){var e=o._autofill.current;return e?null===e.value||void 0===e.value?null:Kv(o._currentVisibleValue):null},o._renderComboBoxWrapper=function(e,t){var n=o.props,r=n.label,i=n.disabled,a=n.ariaLabel,s=n.ariaDescribedBy,l=void 0===s?o.props["aria-describedby"]:s,c=n.required,u=n.errorMessage,p=n.buttonIconProps,h=n.isButtonAriaHidden,m=n.title,f=n.placeholder,v=n.tabIndex,b=n.autofill,y=n.iconButtonProps,C=n.hoisted.suggestedDisplayValue,_=o.state,S=_.ariaActiveDescendantValue,x=_.isOpen,k=o._hasFocus()&&o.props.multiSelect&&e?e:f,w={"aria-labelledby":[o.props["aria-labelledby"],r&&o._id+"-label"].join(" ").trim()||void 0,"aria-label":a&&!r?a:void 0};return g.createElement("div",{"data-ktp-target":!0,ref:o._comboBoxWrapper,id:o._id+"wrapper",className:o._classNames.root,"aria-owns":x?o._id+"-list":void 0},g.createElement(ca,d({"data-ktp-execute-target":!0,"data-is-interactable":!i,componentRef:o._autofill,id:o._id+"-input",className:o._classNames.input,type:"text",onFocus:o._onFocus,onBlur:o._onBlur,onKeyDown:o._onInputKeyDown,onKeyUp:o._onInputKeyUp,onClick:o._onAutofillClick,onTouchStart:o._onTouchStart,onInputValueChange:o._onInputChange,"aria-expanded":x,"aria-autocomplete":o._getAriaAutoCompleteValue(),role:"combobox",readOnly:i},w,{"aria-describedby":void 0!==u?bl(l,t):l,"aria-activedescendant":S,"aria-required":c,"aria-disabled":i,"aria-controls":x?o._id+"-list":void 0,spellCheck:!1,defaultVisibleValue:o._currentVisibleValue,suggestedDisplayValue:C,updateValueInWillReceiveProps:o._onUpdateValueInAutofillWillReceiveProps,shouldSelectFullInputValueInComponentDidUpdate:o._onShouldSelectFullInputValueInAutofillComponentDidUpdate,title:m,preventValueSelection:!o._hasFocus(),placeholder:k,tabIndex:i?-1:v},b)),g.createElement(fp,d({className:"ms-ComboBox-CaretDown-button",styles:o._getCaretButtonStyles(),role:h?"presentation":void 0,"aria-hidden":h},h?void 0:w,{"data-is-focusable":!1,tabIndex:-1,onClick:o._onComboBoxClick,onBlur:o._onBlur,iconProps:p,disabled:i,checked:x},y)))},o._onShouldSelectFullInputValueInAutofillComponentDidUpdate=function(){return o._currentVisibleValue===o.props.hoisted.suggestedDisplayValue},o._getVisibleValue=function(){var e=o.props,t=e.text,n=e.allowFreeform,r=e.allowFreeInput,i=e.autoComplete,a=e.hoisted,s=a.suggestedDisplayValue,l=a.selectedIndices,c=a.currentOptions,u=o.state,d=u.currentPendingValueValidIndex,p=u.currentPendingValue,h=u.isOpen,m=Gv(c,d);if((!h||!m)&&(t||""===t)&&null==p)return t;if(o.props.multiSelect){if(o._hasFocus()){var f=-1;return"on"===i&&m&&(f=d),o._getPendingString(p,c,f)}return o._getMultiselectDisplayString(l,c,s)}return f=o._getFirstSelectedIndex(),n||r?("on"===i&&m&&(f=d),o._getPendingString(p,c,f)):m&&"on"===i?(f=d,Kv(p)):!o.state.isOpen&&p?Gv(c,f)?p:Kv(s):Gv(c,f)?qv(c[f]):Kv(s)},o._onInputChange=function(e){o.props.disabled?o._handleInputWhenDisabled(null):(o.props.onInputValueChange&&o.props.onInputValueChange(e),o.props.allowFreeform||o.props.allowFreeInput?o._processInputChangeWithFreeform(e):o._processInputChangeWithoutFreeform(e))},o._onFocus=function(){var e,t;null===(t=null===(e=o._autofill.current)||void 0===e?void 0:e.inputElement)||void 0===t||t.select(),o._hasFocus()||o.setState({focusState:"focusing"})},o._onResolveOptions=function(){if(o.props.onResolveOptions){var e=o.props.onResolveOptions(m([],o.props.hoisted.currentOptions,!0));Array.isArray(e)?o.props.hoisted.setCurrentOptions(e):e&&e.then&&(o._currentPromise=e,e.then((function(t){e===o._currentPromise&&o.props.hoisted.setCurrentOptions(t)})))}},o._onBlur=function(e){var t,n,r=Rc(o.context),i=e.relatedTarget;if(null===e.relatedTarget&&(i=null==r?void 0:r.activeElement),i){var a=null===(t=o.props.hoisted.rootRef.current)||void 0===t?void 0:t.contains(i),s=null===(n=o._comboBoxMenu.current)||void 0===n?void 0:n.contains(i),l=o._comboBoxMenu.current&&Pa(o._comboBoxMenu.current,(function(e){return e===i}),r);if(a||s||l)return l&&o._hasFocus()&&(!o.props.multiSelect||o.props.allowFreeform)&&o._submitPendingValue(e),e.preventDefault(),void e.stopPropagation()}o._hasFocus()&&(o.setState({focusState:"none"}),o.props.multiSelect&&!o.props.allowFreeform||o._submitPendingValue(e))},o._onRenderContainer=function(e,t){var n=e.onRenderList,r=e.calloutProps,i=e.dropdownWidth,a=e.dropdownMaxWidth,s=e.onRenderUpperContent,l=void 0===s?o._onRenderUpperContent:s,c=e.onRenderLowerContent,u=void 0===c?o._onRenderLowerContent:c,p=e.useComboBoxAsMenuWidth,h=e.persistMenu,m=e.shouldRestoreFocus,f=void 0===m||m,v=o.state.isOpen,b=o._id,y=p&&o._comboBoxWrapper.current?o._comboBoxWrapper.current.clientWidth+2:void 0;return g.createElement(wu,d({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHint:Sl.bottomLeftEdge,directionalHintFixed:!1},r,{onLayerMounted:o._onLayerMounted,className:pi(o._classNames.callout,null==r?void 0:r.className),target:o._comboBoxWrapper.current,onDismiss:o._onDismiss,onMouseDown:o._onCalloutMouseDown,onScroll:o._onScroll,setInitialFocus:!1,calloutWidth:p&&o._comboBoxWrapper.current?y&&y:i,calloutMaxWidth:a||y,hidden:h?!v:void 0,shouldRestoreFocus:f,preventDismissOnEvent:function(e){return o._preventDismissOnScrollOrResize(e)}}),l(o.props,o._onRenderUpperContent),g.createElement("div",{className:o._classNames.optionsContainerWrapper,ref:o._comboBoxMenu},null==n?void 0:n(d(d({},e),{id:b}),o._onRenderList)),u(o.props,o._onRenderLowerContent))},o._onLayerMounted=function(){o._onCalloutLayerMounted(),o._async.setTimeout((function(){o._scrollIntoView()}),0),o.props.calloutProps&&o.props.calloutProps.onLayerMounted&&o.props.calloutProps.onLayerMounted()},o._onRenderLabel=function(e){var t=e.props,n=t.label,r=t.disabled,i=t.required;return n?g.createElement(cf,{id:o._id+"-label",disabled:r,required:i,className:o._classNames.label},n,e.multiselectAccessibleText&&g.createElement("span",{className:o._classNames.screenReaderText},e.multiselectAccessibleText)):null},o._onRenderList=function(e){var t=e.onRenderItem,n=void 0===t?o._onRenderItem:t,r=e.label,i=e.ariaLabel,a=e.multiSelect,s={items:[]},l=[],c=function(){var e=s.id?[g.createElement("div",{role:"group",key:s.id,"aria-labelledby":s.id},s.items)]:s.items;l=m(m([],l,!0),e,!0),s={items:[]}};e.options.forEach((function(e,t){!function(e,t){switch(e.itemType){case Sv.Header:s.items.length>0&&c();var r=o._id+e.key;s.items.push(n(d(d({id:r},e),{index:t}),o._onRenderItem)),s.id=r;break;case Sv.Divider:t>0&&s.items.push(n(d(d({},e),{index:t}),o._onRenderItem)),s.items.length>0&&c();break;default:s.items.push(n(d(d({},e),{index:t}),o._onRenderItem))}}(e,t)})),s.items.length>0&&c();var u=o._id;return g.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 Sv.Divider:return o._renderSeparator(e);case Sv.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=Nv(c),p=e.title;return g.createElement(Fv,{key:e.key,index:e.index,disabled:e.disabled,isSelected:a,isChecked:s,isIndeterminate:l,text:e.text,render:function(){return o.props.multiSelect?g.createElement(af,{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:p,disabled:e.disabled,onRenderLabel:o._renderCheckboxLabel.bind(o,d(d({},e),{id:i+"-label"})),inputProps:d({"aria-selected":s?"true":"false",role:"option"},{"data-index":e.index,"data-is-focusable":!0})}):g.createElement(sh,{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:p},g.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=Nv(o._getCurrentOptionStyles(e));return g.createElement("span",{className:t.optionText},e.text)},o._onRenderMultiselectOptionContent=function(e){var t=Nv(o._getCurrentOptionStyles(e));return g.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=Yv(e),n)o._handleInputWhenDisabled(e);else{var p=o._getPendingSelectedIndex(!1);switch(e.which){case ar.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 ar.tab:return o.props.multiSelect||o._submitPendingValue(e),void(u&&o._setOpenStateAndFocusOnClose(!u,!1));case ar.escape:if(o._resetSelectedIndex(),!u)return;o.setState({isOpen:!1});break;case ar.up:if(d===kv.clearAll&&(p=o.props.hoisted.currentOptions.length),e.altKey||e.metaKey){if(u){o._setOpenStateAndFocusOnClose(!u,!0);break}return}e.preventDefault(),o._setPendingInfoFromIndexAndDirection(p,xv.backward);break;case ar.down:e.altKey||e.metaKey?o._setOpenStateAndFocusOnClose(!0,!0):(d===kv.clearAll&&(p=-1),e.preventDefault(),o._setPendingInfoFromIndexAndDirection(p,xv.forward));break;case ar.home:case ar.end:if(r||i)return;p=-1;var h=xv.forward;e.which===ar.end&&(p=l.length,h=xv.backward),o._setPendingInfoFromIndexAndDirection(p,h);break;case ar.space:if(!r&&!i&&"off"===s)break;default:if(e.which>=112&&e.which<=123)return;if(e.keyCode===ar.alt||"Meta"===e.key)return;if(a&&(e.keyCode===ar.left||e.keyCode===ar.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&&Yv(e);o._lastKeyDownWasAltOrMeta=!1;var c=l&&!(wl()||El());n?o._handleInputWhenDisabled(e):e.which!==ar.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:kv.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())},Ji(o),o._async=new na(o),o._events=new dl(o),o._id=t.id||as("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:kv.default},o}return u(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props.hoisted;return Bv(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,p=a.onMenuDismissed,h=a.hoisted,m=h.currentOptions,f=h.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=Rc(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&&f&&e.hoisted.selectedIndices[0]!==f[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&&p&&p();var _=b,S=m.map((function(e,t){return d(d({},e),{index:t})}));!il(e.hoisted.currentOptions,m)&&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&&f.length&&(x=null!==(r=null===(n=S[f[0]])||void 0===n?void 0:n.id)&&void 0!==r?r:this._id+"-list"+f[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,p=void 0===u?this._onRenderList:u,h=t.onRenderItem,m=void 0===h?this._onRenderItem:h,f=t.onRenderOption,v=void 0===f?this._onRenderOptionContent:f,b=t.allowFreeform,y=t.styles,C=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=jr(this.props,Ur,["onChange","value","aria-describedby","aria-labelledby"]),P=!!(i&&i.length>0);this._classNames=this.props.getClassNames?this.props.getClassNames(C,!!D,!!n,!!r,!!this._hasFocus(),!!b,!!P,o):Mv(Rv(C,y),o,!!D,!!n,!!r,!!this._hasFocus(),!!b,!!P);var R=this._renderComboBoxWrapper(E,e);return g.createElement("div",d({},T,{ref:this.props.hoisted.mergedRootRef,className:this._classNames.container}),c({props:this.props,multiselectAccessibleText:E},this._onRenderLabel),R,(_||D)&&s(d(d({},this.props),{onRenderList:p,onRenderItem:m,onRenderOption:v,options:I.map((function(e,t){return d(d({},e),{index:t})})),onDismiss:this._onDismiss}),this._onRenderContainer),P&&g.createElement("div",{role:"alert",id:e,className:this._classNames.errorMessage},i))},t.prototype._getPendingString=function(e,t,o){return null!=e?e:Gv(t,o)?qv(t[o]):""},t.prototype._getMultiselectDisplayString=function(e,t,o){for(var n=[],r=0;e&&r<e.length;r++){var i=e[r];t[i].itemType!==Sv.SelectAll&&n.push(Gv(t,i)?t[i].text:Kv(o))}var a=this.props.multiSelectDelimiter,s=void 0===a?", ":a;return n.join(s)},t.prototype._preventDismissOnScrollOrResize=function(e){var t=this.props.calloutProps;return(null==t?void 0:t.preventDismissOnEvent)?t.preventDismissOnEvent(e):!(!this._overrideScrollDismiss||"scroll"!==e.type&&"resize"!==e.type)},t.prototype._processInputChangeWithFreeform=function(e){var t=this,o=this.props.hoisted.currentOptions,n=-1;if(""===e)return 1===(i=o.map((function(e,t){return d(d({},e),{index:t})})).filter((function(t){return Uv(t)&&!t.disabled&&qv(t)===e}))).length&&(n=i[0].index),this._setPendingInfo(e,n,e),n;var r=e;e=this._adjustForCaseSensitivity(e);var i,a="";if("on"===this.props.autoComplete){if((i=o.map((function(e,t){return d(d({},e),{index:t})})).filter((function(o){return Uv(o)&&!o.disabled&&0===t._adjustForCaseSensitivity(qv(o)).indexOf(e)}))).length>0){var s=qv(i[0]);a=this._adjustForCaseSensitivity(s)!==e?s:"",n=i[0].index}}else 1===(i=o.map((function(e,t){return d(d({},e),{index:t})})).filter((function(o){return Uv(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=Kv(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 d(d({},e),{index:t})})).filter((function(o){return Uv(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(!Gv(o,n=Math.max(0,Math.min(o.length-1,n))))return-1;var r=o[n];if(!jv(r)||!0===r.hidden){if(t===xv.none||!(n>0&&t<xv.none||n>=0&&n<o.length&&t>xv.none))return e;n=this._getNextSelectableIndex(n,t)}return n},t.prototype._setSelectedIndex=function(e,t,o){void 0===o&&(o=xv.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(Gv(l,e=this._getNextSelectableIndex(e,o))){if(this.props.multiSelect||c.length<1||1===c.length&&c[0]!==e){var p=d({},l[e]);if(!p||p.disabled)return;if(this.props.multiSelect)if(p.selected=void 0!==p.selected?!p.selected:c.indexOf(e)<0,p.itemType===Sv.SelectAll)c=[],p.selected?l.forEach((function(e,t){!e.disabled&&jv(e)&&(c.push(t),u[t]=d(d({},e),{selected:!0}))})):u=l.map((function(e){return d(d({},e),{selected:!1})}));else{p.selected&&c.indexOf(e)<0?c.push(e):!p.selected&&c.indexOf(e)>=0&&(c=c.filter((function(t){return t!==e}))),u[e]=p;var h=u.filter((function(e){return e.itemType===Sv.SelectAll}))[0];if(h){var m=this._isSelectAllChecked(c),f=u.indexOf(h);m?(c.push(f),u[f]=d(d({},h),{selected:!0})):(c=c.filter((function(e){return e!==f})),u[f]=d(d({},h),{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,p,e,qv(p))}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(Gv(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||as(),text:Kv(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?g.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 g.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!==kv.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===Sv.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===Sv.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!==Sv.SelectAll&&jv(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=Ov(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;c<p||o?(i=!1,a.scrollTo(0,c)):h&&a.scrollTo(0,c-d+l)}else r.offsetParent.scrollIntoView(i)}}},t.prototype._onItemClick=function(e){var t=this,o=this.props.onItemClick,n=e.index;return function(r){t.props.multiSelect||(t._autofill.current&&t._autofill.current.focus(),t.setState({isOpen:!1})),o&&o(r,e,n),t._setSelectedIndex(n,r)}},t.prototype._resetSelectedIndex=function(){var e=this.props.hoisted.currentOptions;this._clearPendingInfo();var t=this._getFirstSelectedIndex();t>0&&t<e.length?this.props.hoisted.setSuggestedDisplayValue(e[t].text):this.props.text&&this.props.hoisted.setSuggestedDisplayValue(this.props.text)},t.prototype._clearPendingInfo=function(){this._processingClearPendingInfo=!0,this.props.hoisted.setSuggestedDisplayValue(void 0),this.setState({currentPendingValue:void 0,currentPendingValueValidIndex:-1,currentPendingValueValidIndexOnHover:kv.default},this._onAfterClearPendingInfo)},t.prototype._setPendingInfo=function(e,t,o){void 0===t&&(t=-1),this._processingClearPendingInfo||(this.props.hoisted.setSuggestedDisplayValue(o),this.setState({currentPendingValue:Kv(e),currentPendingValueValidIndex:t,currentPendingValueValidIndexOnHover:kv.default}))},t.prototype._setPendingInfoFromIndex=function(e){var t=this.props.hoisted.currentOptions;if(e>=0&&e<t.length){var o=t[e];this._setPendingInfo(qv(o),e,qv(o))}else this._clearPendingInfo()},t.prototype._setPendingInfoFromIndexAndDirection=function(e,t){var o=this.props.hoisted.currentOptions;t===xv.forward&&e>=o.length-1?e=-1:t===xv.backward&&e<=0&&(e=o.length);var n=this._getNextSelectableIndex(e,t);e===n?t===xv.forward?e=this._getNextSelectableIndex(-1,t):t===xv.backward&&(e=this._getNextSelectableIndex(o.length,t)):e=n,Gv(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&&Gv(o,a)?s=a:i!==e.currentPendingValueValidIndex&&Gv(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!==ar.tab&&e.which!==ar.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 Pv(this.props.theme,e)},t.prototype._getCurrentOptionStyles=function(e){var t,o=this.props.comboBoxOptionStyles,n=e.styles,r=Tv(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=ra,h([lp("ComboBox",["theme","styles"],!0)],t)}(g.Component);function Wv(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=va(e,(function(e){return e.key===t}));n>-1&&(o[n]=!0)},r=0,i=t;r<i.length;r++)n(i[r]);return Object.keys(o).map(Number).sort()}function Vv(e){return void 0===e?[]:e instanceof Array?e:[e]}function Kv(e){return e||""}function Gv(e,t){return!!e&&t>=0&&t<e.length}function Uv(e){return e.itemType!==Sv.Header&&e.itemType!==Sv.Divider&&e.itemType!==Sv.SelectAll}function jv(e){return e.itemType!==Sv.Header&&e.itemType!==Sv.Divider}function qv(e){return e.useAriaLabelAsText&&e.ariaLabel?e.ariaLabel:e.text}function Yv(e){return e.which===ar.alt||"Meta"===e.key}var Zv={auto:0,top:1,bottom:2,center:3},Xv=function(e){if(void 0===e)return 0;var t=0;return"scrollTop"in e?t=e.scrollTop:"scrollY"in e&&(t=e.scrollY),Math.ceil(t)},Qv=function(e,t){"scrollTop"in e?e.scrollTop=t:"scrollY"in e&&e.scrollTo(e.scrollX,t)},Jv="spacer-",$v={top:-1,bottom:-1,left:-1,right:-1,width:0,height:0},eb=function(e){return e.getBoundingClientRect()},tb=eb,ob=eb,nb=function(e){function t(t){var o=e.call(this,t)||this;return o._root=g.createRef(),o._surface=g.createRef(),o._pageRefs={},o._getDerivedStateFromProps=function(e,t){return e.items!==o.props.items||e.renderCount!==o.props.renderCount||e.startIndex!==o.props.startIndex||e.version!==o.props.version||!t.hasMounted&&o.props.renderEarly&&lt()?(o._resetRequiredWindows(),o._requiredRect=null,o._measureVersion++,o._invalidatePageCache(),o._updatePages(e,t)):t},o._onRenderRoot=function(e){var t=e.rootRef,o=e.surfaceElement,n=e.divProps;return g.createElement("div",d({ref:t},n),o)},o._onRenderSurface=function(e){var t=e.surfaceRef,o=e.pageElements,n=e.divProps;return g.createElement("div",d({ref:t},n),o)},o._onRenderPage=function(e,t){for(var n,r=o.props,i=r.onRenderCell,a=r.onRenderCellConditional,s=r.role,l=e.page,c=l.items,u=void 0===c?[]:c,h=l.startIndex,m=p(e,["page"]),f=void 0===s?"listitem":"presentation",v=[],b=0;b<u.length;b++){var y=h+b,C=u[b],_=o.props.getKey?o.props.getKey(C,y):C&&C.key;null==_&&(_=y);var S=null!=a?a:i,x=null!==(n=null==S?void 0:S(C,y,o.props.ignoreScrollingState?void 0:o.state.isScrolling))&&void 0!==n?n:null;a&&!x||v.push(g.createElement("div",{role:f,className:"ms-List-cell",key:_,"data-list-index":y,"data-automationid":"ListCell"},x))}return g.createElement("div",d({},m),v)},Ji(o),o.state={pages:[],isScrolling:!1,getDerivedStateFromProps:o._getDerivedStateFromProps,hasMounted:!1},o._estimatedPageHeight=0,o._totalEstimates=0,o._requiredWindowsAhead=0,o._requiredWindowsBehind=0,o._measureVersion=0,o._cachedPageHeights={},o._estimatedPageHeight=0,o._focusedIndex=-1,o._pageCache={},o}return u(t,e),t.getDerivedStateFromProps=function(e,t){return t.getDerivedStateFromProps(e,t)},Object.defineProperty(t.prototype,"pageRefs",{get:function(){return this._pageRefs},enumerable:!1,configurable:!0}),t.prototype.scrollToIndex=function(e,t,o){void 0===o&&(o=Zv.auto);for(var n=this.props.startIndex,r=n+this._getRenderCount(),i=this._allowedRect,a=0,s=1,l=n;l<r;l+=s){var c=this._getPageSpecification(this.props,l,i),u=c.height;if(s=c.itemCount,l<=e&&l+s>e){if(t&&this._scrollElement){for(var d=ob(this._scrollElement),p=Xv(this._scrollElement),h={top:p,bottom:p+d.height},m=e-l,f=0;f<m;++f)a+=t(l+f);var g=a+t(e);switch(o){case Zv.top:return void Qv(this._scrollElement,a);case Zv.bottom:return void Qv(this._scrollElement,g-d.height);case Zv.center:return void Qv(this._scrollElement,(a+g-d.height)/2);case Zv.auto:}if(a>=h.top&&g<=h.bottom)return;a<h.top||g>h.bottom&&(a=g-d.height)}return void(this._scrollElement&&Qv(this._scrollElement,a))}a+=u}},t.prototype.getStartItemIndexInView=function(e){for(var t=0,o=this.state.pages||[];t<o.length;t++){var n=o[t];if(!n.isSpacer&&(this._scrollTop||0)>=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;a<n.startIndex+n.itemCount;a++){if(r=e(a),n.top+i<=this._scrollTop&&this._scrollTop<n.top+i+r)return a;i+=r}}}return 0},t.prototype.componentDidMount=function(){this._async=new na(this),this._events=new dl(this),this._onAsyncScrollDebounced=this._async.debounce(this._onAsyncScroll,100,{leading:!1,maxWait:500}),this._onAsyncIdleDebounced=this._async.debounce(this._onAsyncIdle,200,{leading:!1}),this._onAsyncResizeDebounced=this._async.debounce(this._onAsyncResize,16,{leading:!1}),this._onScrollingDoneDebounced=this._async.debounce(this._onScrollingDone,500,{leading:!1}),this._scrollElement=vs(this._root.current),this._scrollTop=0,this.setState(d(d({},this._updatePages(this.props,this.state)),{hasMounted:!0})),this._measureVersion++;var e=Mc(this.context);this._events.on(e,"resize",this._onAsyncResizeDebounced),this._root.current&&this._events.on(this._root.current,"focus",this._onFocus,!0),this._scrollElement&&(this._events.on(this._scrollElement,"scroll",this._onScroll),this._events.on(this._scrollElement,"scroll",this._onAsyncScrollDebounced))},t.prototype.componentDidUpdate=function(e,t){var o=this.props,n=this.state;this.state.pagesVersion!==t.pagesVersion&&(o.getPageHeight?this._onAsyncIdleDebounced():this._updatePageMeasurements(n.pages)?(this._materializedRect=null,this._hasCompletedFirstRender?this._onAsyncScrollDebounced():(this._hasCompletedFirstRender=!0,this.setState(this._updatePages(o,n)))):this._onAsyncIdleDebounced(),o.onPagesUpdated&&o.onPagesUpdated(n.pages))},t.prototype.componentWillUnmount=function(){var e,t;null===(e=this._async)||void 0===e||e.dispose(),null===(t=this._events)||void 0===t||t.dispose(),delete this._scrollElement},t.prototype.shouldComponentUpdate=function(e,t){var o=this.state.pages,n=t.pages,r=!1;if(!t.isScrolling&&this.state.isScrolling)return!0;if(e.version!==this.props.version)return!0;if(e.className!==this.props.className)return!0;if(e.items===this.props.items&&o.length===n.length)for(var i=0;i<o.length;i++){var a=o[i],s=n[i];if(a.key!==s.key||a.itemCount!==s.itemCount){r=!0;break}}else r=!0;return r},t.prototype.forceUpdate=function(){this._invalidatePageCache(),this._updateRenderRects(this.props,this.state,!0),this.setState(this._updatePages(this.props,this.state)),this._measureVersion++,e.prototype.forceUpdate.call(this)},t.prototype.getTotalListHeight=function(){return this._surfaceRect.height},t.prototype.render=function(){for(var e=this.props,t=e.className,o=e.role,n=void 0===o?"list":o,r=e.onRenderSurface,i=e.onRenderRoot,a=this.state.pages,s=void 0===a?[]:a,l=[],c=jr(this.props,Ur),u=0,p=s;u<p.length;u++){var h=p[u];l.push(this._renderPage(h))}var m=r?kl(r,this._onRenderSurface):this._onRenderSurface;return(i?kl(i,this._onRenderRoot):this._onRenderRoot)({rootRef:this._root,pages:s,surfaceElement:m({surfaceRef:this._surface,pages:s,pageElements:l,divProps:{role:"presentation",className:"ms-List-surface"}}),divProps:d(d({},c),{className:pi("ms-List",t),role:l.length>0?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 d(d({},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=Ta(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),d(d(d({},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<s.length;a++)(u=s[a]).items&&(i[u.startIndex]=u);for(var l=0,c=t;l<c.length;l++){var u;(u=c[l]).items&&(i[u.startIndex]?delete i[u.startIndex]:this._onPageAdded(u))}for(var d in i)i.hasOwnProperty(d)&&this._onPageRemoved(i[d])}},t.prototype._updatePageMeasurements=function(e){var t=!1;if(!this._shouldVirtualize())return t;for(var o=0;o<e.length;o++){var n=e[o];n.items&&(t=this._measurePage(n)||t)}return t},t.prototype._measurePage=function(e){var t=!1,o=this._pageRefs[e.key],n=this._cachedPageHeights[e.startIndex];if(o&&this._shouldVirtualize()&&(!n||n.measureVersion!==this._measureVersion)){var r={width:o.clientWidth,height:o.clientHeight};(r.height||r.width)&&(t=e.height!==r.height,e.height=r.height,this._cachedPageHeights[e.startIndex]={height:r.height,measureVersion:this._measureVersion},this._estimatedPageHeight=Math.round((this._estimatedPageHeight*this._totalEstimates+r.height)/(this._totalEstimates+1)),this._totalEstimates++)}return t},t.prototype._onPageAdded=function(e){var t=this.props.onPageAdded;t&&t(e)},t.prototype._onPageRemoved=function(e){var t=this.props.onPageRemoved;t&&t(e)},t.prototype._buildPages=function(e,t){var o=e.renderCount,n=e.items,r=e.startIndex,i=e.getPageHeight;o=this._getRenderCount(e);for(var a=d({},$v),s=[],l=1,c=0,u=null,p=this._focusedIndex,h=r+o,m=this._shouldVirtualize(e),f=0===this._estimatedPageHeight&&!i,g=this._allowedRect,v=function(o){var i=b._getPageSpecification(e,o,g),d=i.height,v=i.data,y=i.key;l=i.itemCount;var C,_,S=c+d-1,x=va(t.pages,(function(e){return!!e.items&&e.startIndex===o}))>-1,k=!g||S>=g.top&&c<=g.bottom,w=!b._requiredRect||S>=b._requiredRect.top&&c<=b._requiredRect.bottom;if(!f&&(w||k&&x)||!m||p>=o&&p<o+l||o===r){u&&(s.push(u),u=null);var I=Math.min(l,h-o),D=b._createPage(y,n.slice(o,o+I),o,void 0,void 0,v);D.top=c,D.height=d,b._visibleRect&&b._visibleRect.bottom&&(D.isVisible=S>=b._visibleRect.top&&c<=b._visibleRect.bottom),s.push(D),w&&b._allowedRect&&(C=a,_={top:c,bottom:S,height:d,left:g.left,right:g.right,width:g.width},C.top=_.top<C.top||-1===C.top?_.top:C.top,C.left=_.left<C.left||-1===C.left?_.left:C.left,C.bottom=_.bottom>C.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(Jv+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,f&&m)return"break"},b=this,y=r;y<h&&"break"!==v(y);y+=l);return u&&(u.key=Jv+"end",s.push(u)),this._materializedRect=a,d(d({},t),{pages:s,measureVersion:this._measureVersion})},t.prototype._getPageSpecification=function(e,t,o){var n=e.getPageSpecification;if(n){var r=n(t,o,e.items),i=r.itemCount,a=void 0===i?this._getItemCountForPage(t,o):i,s=r.height;return{itemCount:a,height:void 0===s?this._getPageHeight(t,o,a):s,data:r.data,key:r.key}}return{itemCount:a=this._getItemCountForPage(t,o),height:this._getPageHeight(t,o,a)}},t.prototype._getPageHeight=function(e,t,o){if(this.props.getPageHeight)return this.props.getPageHeight(e,t,o,this.props.items);var n=this._cachedPageHeights[e];return n?n.height:this._estimatedPageHeight||30},t.prototype._getItemCountForPage=function(e,t){return(this.props.getItemCountForPage?this.props.getItemCountForPage(e,t):10)||10},t.prototype._createPage=function(e,t,o,n,r,i,a){void 0===o&&(o=-1),void 0===n&&(n=t?t.length:0),void 0===r&&(r={}),e=e||"page-"+o;var s=this._pageCache[e];return s&&s.page?s.page:{key:e,startIndex:o,itemCount:n,items:t,style:r,top:0,height:0,data:i,isSpacer:a||!1}},t.prototype._getRenderCount=function(e){var t=e||this.props,o=t.items,n=t.startIndex,r=t.renderCount;return void 0===r?o?o.length-n:0:r},t.prototype._updateRenderRects=function(e,t,o){var n=e.renderedWindowsAhead,r=e.renderedWindowsBehind,i=t.pages;if(this._shouldVirtualize(e)){var a=this._surfaceRect||d({},$v),s=function(e){if(void 0===e)return 0;var t=0;return"scrollHeight"in e?t=e.scrollHeight:"document"in e&&(t=e.document.documentElement.scrollHeight),t}(this._scrollElement),l=Xv(this._scrollElement);this._surface.current&&(o||!i||!this._surfaceRect||!s||s!==this._scrollHeight||Math.abs(this._scrollTop-l)>.3333333333333333*this._estimatedPageHeight)&&(a=this._surfaceRect=tb(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=pt(this._root.current),p={top:c,left:a.left,bottom:c+u.innerHeight,right:a.right,width:a.width,height:u.innerHeight};this._requiredRect=rb(p,this._requiredWindowsBehind,this._requiredWindowsAhead),this._allowedRect=rb(p,r,n),this._visibleRect=p}},t.defaultProps={startIndex:0,onRenderCell:function(e,t,o){return g.createElement(g.Fragment,null,e&&e.name||"")},onRenderCellConditional:void 0,renderedWindowsAhead:2,renderedWindowsBehind:2},t.contextType=ra,t}(g.Component);function rb(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 ib=function(e){function t(t){var o=e.call(this,t)||this;return o._comboBox=g.createRef(),o._list=g.createRef(),o._onRenderList=function(e){var t=e.id,n=e.onRenderItem;return g.createElement(nb,{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)},Ji(o),o}return u(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 g.createElement(Hv,d({},this.props,{componentRef:this._comboBox,onRenderList:this._onRenderList,onScrollToItem:this._onScrollToItem}))},t}(g.Component),ab=function(e,t,o){for(var n=0,r=e;n<r.length;n++){var i=r[n];o[t.register(i,!0)]=i}},sb=function(e,t){for(var o=0,n=Object.keys(t);o<n.length;o++){var r=n[o];e.unregister(t[r],r,!0),delete t[r]}},lb=function(e){var t=td.getInstance(),o=e.className,n=e.overflowItems,r=e.keytipSequences,i=e.itemSubMenuProvider,a=e.onRenderOverflowButton,s=Ic({}),l=g.useCallback((function(e){return i?i(e):e.subMenuProps?e.subMenuProps.items:void 0}),[i]),c=g.useMemo((function(){var e=[],o=[];return r?null==n||n.forEach((function(n){var i,a=n.keytipProps;if(a){var s={content:a.content,keySequences:a.keySequences,disabled:a.disabled||!(!n.disabled&&!n.isDisabled),hasDynamicChildren:a.hasDynamicChildren,hasMenu:a.hasMenu};a.hasDynamicChildren||l(n)?(s.onExecute=t.menuExecute.bind(t,r,null===(i=null==n?void 0:n.keytipProps)||void 0===i?void 0:i.keySequences),s.hasOverflowSubMenu=!0):s.onExecute=a.onExecute,e.push(s);var c=d(d({},n),{keytipProps:d(d({},a),{overflowSetSequence:r})});null==o||o.push(c)}else null==o||o.push(n)})):o=n,{modifiedOverflowItems:o,keytipsToRegister:e}}),[n,l,t,r]),u=c.modifiedOverflowItems;return function(e,t,o){var n=ed(e);g.useEffect((function(){n&&(sb(o,n),ab(t,o,e))})),g.useEffect((function(){return ab(t,o,e),function(){sb(o,e)}}),[])}(s,c.keytipsToRegister,t),g.createElement("div",{className:o},a(u))},cb=gr(),ub=g.forwardRef((function(e,t){var o=g.useRef(null),n=ri(o,t);!function(e,t){var o=Tc();g.useImperativeHandle(e.componentRef,(function(){return{focus:function(e,o){var n=!1;return t.current&&(n=Wa(t.current,o)),n},focusElement:function(e){var n=!1;return!!e&&(t.current&&Ma(t.current,e)&&(e.focus(),n=(null==o?void 0:o.activeElement)===e),n)}}}),[t,o])}(e,o);var r=e.items,i=e.overflowItems,a=e.className,s=e.styles,l=e.vertical,c=e.role,u=e.overflowSide,p=void 0===u?"end":u,h=e.onRenderItem,m=cb(s,{className:a,vertical:l}),f=!!i&&i.length>0;return g.createElement("div",d({},jr(e,Ur),{role:c||"group","aria-orientation":"menubar"===c?!0===l?"vertical":"horizontal":void 0,className:m.root,ref:n}),"start"===p&&f&&g.createElement(lb,d({},e,{className:m.overflowButton})),r&&r.map((function(e,t){return g.createElement("div",{className:m.item,key:e.key,role:"none"},h(e))})),"end"===p&&f&&g.createElement(lb,d({},e,{className:m.overflowButton})))}));ub.displayName="OverflowSet";var db={flexShrink:0,display:"inherit"},pb=rr(ub,(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",db],overflowButton:["ms-OverflowSet-overflowButton",db]}}),void 0,{scope:"OverflowSet"}),hb=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"}]}},mb=Do((function(e){var t={height:"100%"},o={whiteSpace:"nowrap"},n=e||{},r=n.root,i=n.label,a=p(n,["root","label"]);return d(d({},a),{root:r?[t,r]:t,label:i?[o,i]:o})})),fb=gr(),gb=function(e){function t(t){var o=e.call(this,t)||this;return o._overflowSet=g.createRef(),o._resizeGroup=g.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 g.createElement(Hs,{className:pi(o._classNames.root),direction:da.horizontal,role:"menubar","aria-label":n},g.createElement(pb,{role:a?"group":"none","aria-label":a?r:void 0,componentRef:o._overflowSet,className:pi(o._classNames.primarySet),items:e.primaryItems,overflowItems:e.overflowItems.length?e.overflowItems:void 0,onRenderItem:o._onRenderItem,onRenderOverflowButton:o._onRenderOverflowButton}),a&&g.createElement(pb,{role:"group","aria-label":i,className:pi(o._classNames.secondarySet),items:e.farItems,onRenderItem:o._onRenderItem,onRenderOverflowButton:vl}))},o._onRenderItem=function(e){if(e.onRender)return e.onRender(e,(function(){}));var t=e.text||e.name,n=d(d({allowDisabledFocus:!0,role:"menuitem"},e),{styles:mb(e.buttonStyles),className:pi("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)?g.createElement(Fp,d({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=ah;return r&&(i=Pl(r,i)),n&&(i=Pl(n,i)),g.createElement(i,d({},t))},o._onRenderOverflowButton=function(e){var t=o.props.overflowButtonProps,n=void 0===t?{}:t,r=m(m([],n.menuProps?n.menuProps.items:[],!0),e,!0),i=d(d({role:"menuitem"},n),{styles:d({menuIcon:{fontSize:"17px"}},n.styles),className:pi("ms-CommandBar-overflowButton",n.className),menuProps:d(d({},n.menuProps),{items:r}),menuIconProps:d({iconName:"More"},n.menuIconProps)}),a=o.props.overflowButtonAs?Pl(o.props.overflowButtonAs,ah):ah;return g.createElement(a,d({},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=m([c],a,!0),i=n?i.slice(1):i.slice(0,-1);var u=d(d({},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?m([u],a,!0):m(m([],a,!0),[u],!1);var p=d(d({},e),{primaryItems:a,overflowItems:s});return l=o._computeCacheKey({primaryItems:a,overflow:s.length>0,farItems:c}),r&&r(u),p.cacheKey=l,p}},Ji(o),o}return u(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,p=e.resizeGroupAs,h=void 0===p?wp:p,f={primaryItems:m([],t,!0),overflowItems:m([],o,!0),minimumOverflowItems:m([],o,!0).length,farItems:n,cacheKey:this._computeCacheKey({primaryItems:m([],t,!0),overflow:o&&o.length>0,farItems:n})};this._classNames=fb(r,{theme:i});var v=jr(this.props,Ur);return g.createElement(h,d({},v,{componentRef:this._resizeGroup,data:f,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}(g.Component),vb=rr(gb,hb,void 0,{scope:"CommandBar"}),bb=d(d({},fm),{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}"'}),yb=gr(),Cb={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:mh.Sunday,initialPickerDate:new Date,isRequired:!1,isMonthPickerVisible:!0,showMonthPickerAsOverlay:!1,strings:bb,highlightCurrentMonth:!1,highlightSelectedMonth:!1,borderless:!1,pickerAriaLabel:"Calendar",showWeekNumbers:!1,firstWeekOfYear:gh.FirstDay,showGoToToday:!0,showCloseButton:!1,underlined:!1,allFocusable:!1},_b=g.forwardRef((function(e,t){var o,n,r=yr(Cb,e),i=r.firstDayOfWeek,a=r.strings,s=r.label,l=r.theme,c=r.className,u=r.styles,p=r.initialPickerDate,h=r.isRequired,m=r.disabled,f=r.ariaLabel,v=r.pickerAriaLabel,b=r.placeholder,y=r.allowTextInput,C=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?Wm:T,R=r.tabIndex,M=r.disableAutoFocus,N=void 0===M||M,B=fd("DatePicker",r.id),A=fd("DatePicker-Callout"),F=g.useRef(null),L=g.useRef(null),H=function(){var e=g.useRef(null),t=g.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=g.useState(!1),i=r[0],a=r[1],s=g.useRef(!1),l=Sc();return g.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=Am(o,void 0,(function(e,t){return null==n?void 0:n(t)})),i=r[0],a=r[1],s=g.useState((function(){return o&&t?t(o):""})),l=s[0],c=s[1];return g.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=g.useState(),v=f[0],b=f[1],y=g.useState(),C=y[0],_=y[1],S=g.useRef(!0),x=null===(i=null==m?void 0:m.validateOnLoad)||void 0===i||i;return g.useEffect((function(){S.current&&(S.current=!1,!x)||(a&&!t?b(l.isRequiredErrorMessage||" "):t&&Sb(t,p,h)?b(l.isOutOfBoundsErrorMessage||" "):b(void 0))}),[p&&Wh(p),h&&Wh(h),t&&Wh(t),a,x]),[r?void 0:v,function(e){if(void 0===e&&(e=null),s)if(n||e){if(t&&!v&&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 Sb(e,p,h)?b(l.isOutOfBoundsErrorMessage||" "):(o(e),b(void 0),_(void 0))}else b(a?l.isRequiredErrorMessage||" ":void 0),null==u||u(e);else a&&!n?b(l.isRequiredErrorMessage||" "):(b(void 0),_(void 0))},b,r?void 0:C,_]}(r,q,Z,Y,G),J=Q[0],$=Q[1],ee=Q[2],oe=Q[3],ne=Q[4],re=g.useCallback((function(){G||(V(),U(!0))}),[G,V,U]);g.useImperativeHandle(r.componentRef,(function(){return{focus:z,reset:function(){U(!1),Z(void 0),ee(void 0),ne(void 0)},showDatePickerPopup:re}}),[z,ee,U,Z,ne,re]);var ie=function(e){G&&(U(!1),$(e),!y&&e&&Z(e))},ae=function(e){V(),ie(e)},se=yb(u,{theme:l,className:c,disabled:m,underlined:D,label:!!s,isDatePickerShown:G}),le=jr(r,Ur,["value"]),ce=I&&I.iconProps,ue=I&&I.id&&I.id!==B?I.id:B+"-label",de=!y&&!m,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=y?{role:"button","aria-expanded":G,"aria-label":null!=f?f:s,"aria-labelledby":I&&I["aria-labelledby"]}:{};return g.createElement("div",d({},le,{className:se.root,ref:t}),g.createElement("div",{ref:L,"aria-owns":G?A:void 0,className:se.wrapper},g.createElement(iv,d({role:"combobox",label:s,"aria-expanded":G,"aria-required":h,ariaLabel:f,"aria-haspopup":"dialog","aria-controls":G?A:void 0,required:h,disabled:m,errorMessage:J,placeholder:b,borderless:C,value:Y,componentRef:O,underlined:D,tabIndex:R,readOnly:!y},I,{"data-is-focusable":pe,id:ue,className:pi(se.textField,I&&I.className),iconProps:d(d(d({iconName:"Calendar"},he),ce),{className:pi(se.icon,ce&&ce.className),onClick:function(e){e.stopPropagation(),G||r.disabled?r.allowTextInput&&ie():re()}}),onRenderDescription:function(e,t){return g.createElement(g.Fragment,null,e.description||e.onRenderDescription?t(e):null,g.createElement("div",{"aria-live":"assertive",className:se.statusMessage},oe))},onKeyDown:function(e){switch(e.which){case ar.enter:e.preventDefault(),e.stopPropagation(),G?r.allowTextInput&&ie():($(),re());break;case ar.escape:!function(e){G&&(e.stopPropagation(),ae())}(e);break;case ar.down:e.altKey&&!G&&re()}},onFocus:function(){N||y||(W.current||re(),W.current=!1)},onBlur:function(e){$()},onClick:function(e){!r.openOnClick&&r.disableAutoFocus||G||r.disabled?r.allowTextInput&&ie():re()},onChange:function(e,t){var o,n=r.textField;y&&(G&&ie(),X(t)),null===(o=null==n?void 0:n.onChange)||void 0===o||o.call(n,e,t)},onRenderInput:de?function(e){var t=jr(e,Ur),o=te(t.className,se.readOnlyTextField);return g.createElement("div",d({},t,{className:o,tabIndex:R||0}),Y||g.createElement("span",{className:se.readOnlyPlaceholder},b))}:void 0}))),G&&g.createElement(wu,d({id:A,role:"dialog",ariaLabel:v,isBeakVisible:!1,gapSpace:0,doNotLayer:!1,target:L.current,directionalHint:Sl.bottomLeftEdge},w,{className:pi(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()}}),g.createElement(qm,{isClickableOutsideFocusTrap:!0,disableFirstFocus:N},g.createElement(P,d({},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||p,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 Sb(e,t,o){return!!t&&Nh(t,e)>0||!!o&&Nh(o,e)<0}_b.displayName="DatePickerBase";var xb,kb,wb,Ib,Db,Eb,Tb={root:"ms-DatePicker",callout:"ms-DatePicker-callout",withLabel:"ms-DatePicker-event--with-label",withoutLabel:"ms-DatePicker-event--without-label",disabled:"msDatePickerDisabled "},Pb=rr(_b,(function(e){var t,o=e.className,n=e.theme,r=e.disabled,i=e.underlined,a=e.label,s=e.isDatePickerShown,l=n.palette,c=n.semanticColors,u=n.fonts,d=Ro(Tb,n),p={color:l.neutralSecondary,fontSize:Je.icon,lineHeight:"18px",pointerEvents:"none",position:"absolute",right:"4px",padding:"5px"};return{root:[d.root,n.fonts.large,s&&"is-open",dn,o],textField:[{position:"relative",selectors:{"& input[readonly]":{cursor:"pointer"},input:{selectors:{"::-ms-clear":{display:"none"}}}}},r&&{selectors:{"& input[readonly]":{cursor:"default"}}}],callout:[d.callout],icon:[p,a?d.withLabel:d.withoutLabel,{paddingTop:"7px"},!r&&[d.disabled,{pointerEvents:"initial",cursor:"pointer"}],r&&{color:c.disabledText,cursor:"default"}],statusMessage:[u.small,{color:c.errorText,marginTop:5}],readOnlyTextField:[{cursor:"pointer",height:32,lineHeight:30,overflow:"hidden",textOverflow:"ellipsis"},i&&{lineHeight:34}],readOnlyPlaceholder:(t={color:c.inputPlaceholderText},t[Mo]={color:"GrayText"},t)}}),void 0,{scope:"DatePicker"}),Rb={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"},Mb={cellLeftPadding:12,cellRightPadding:8,cellExtraRightPadding:24},Nb={rowHeight:42,compactRowHeight:32},Bb=d(d({},Nb),{rowVerticalPadding:11,compactRowVerticalPadding:6}),Ab=function(e){var t,o,n,r,i,a,s,l,c,u,p,h,m,f,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?Mb: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=Ro(Rb,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=[on(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(nl.root)]={color:O,selectors:(o={},o[Mo]={color:"HighlightText"},o)},t["&:hover"]={background:W.selectedHoverBackground,color:W.selectedHoverMetaText,selectors:(n={},n[Mo]={background:"Highlight",selectors:(r={},r[".".concat(z.cell)]={color:"HighlightText"},r[".".concat(z.cell," > .").concat(nl.root)]={forcedColorAdjust:"none",color:"HighlightText"},r)},n[".".concat(z.isRowHeader)]={color:W.selectedHoverHeaderText,selectors:(i={},i[Mo]={color:"HighlightText"},i)},n)},t["&:focus"]={background:W.focusBackground,selectors:(a={},a[".".concat(z.cell)]={color:W.focusMetaText,selectors:(s={},s[Mo]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},s)},a[".".concat(z.isRowHeader)]={color:W.focusHeaderText,selectors:(l={},l[Mo]={color:"HighlightText"},l)},a[Mo]={background:"Highlight"},a)},t[Mo]=d(d({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:Bb.compactRowHeight,border:0},U={minHeight:Bb.compactRowHeight,paddingTop:Bb.compactRowVerticalPadding,paddingBottom:Bb.compactRowVerticalPadding,paddingLeft:"".concat(w.cellLeftPadding,"px")},j=[on(g,{inset:-1}),z.cell,{display:"inline-block",position:"relative",boxSizing:"border-box",minHeight:Bb.rowHeight,verticalAlign:"top",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:Bb.rowVerticalPadding,paddingBottom:Bb.rowVerticalPadding,paddingLeft:"".concat(w.cellLeftPadding,"px"),selectors:(c={"& > button":{maxWidth:"100%"}},c["[data-is-focusable='true']"]=on(g,{inset:-1,borderColor:M,outlineColor:R}),c)},v&&{selectors:(u={},u[Mo]=d({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)},S&&U,D&&{opacity:.5}];return{root:[z.root,tt.fadeIn400,y,g.fonts.small,C&&z.isCheckVisible,on(g,{borderColor:H,outlineColor:R}),{borderBottom:"1px solid ".concat(N),background:W.defaultBackground,color:W.defaultMetaText,display:"inline-flex",minWidth:"100%",minHeight:Bb.rowHeight,whiteSpace:"nowrap",padding:0,boxSizing:"border-box",verticalAlign:"top",textAlign:"left",selectors:(p={},p[".".concat(z.listCellFirstChild," &:before")]={display:"none"},p["&:hover"]={background:W.defaultHoverBackground,color:W.defaultHoverMetaText,selectors:(h={},h[".".concat(z.isRowHeader)]={color:W.defaultHoverHeaderText},h[".".concat(z.cell," > .").concat(nl.root)]={color:O},h)},p["&:hover .".concat(z.check)]={opacity:1},p[".".concat(Jo," &:focus .").concat(z.check,", :host(.").concat(Jo,") &:focus .").concat(z.check)]={opacity:1},p[".ms-GroupSpacer"]={flexShrink:0,flexGrow:0},p)},v&&V,!b&&K,S&&G,x],cellUnpadded:{paddingRight:"".concat(w.cellRightPadding,"px")},cellPadded:{paddingRight:"".concat(w.cellExtraRightPadding+w.cellRightPadding,"px"),selectors:(m={},m["&.".concat(z.cellCheck)]={paddingRight:0},m)},cell:j,cellAnimation:I&&Ge.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:$e.semibold,selectors:(f={},f[Mo]={color:"HighlightText"},f)}],isMultiline:[j,{whiteSpace:"normal",wordBreak:"break-word",textOverflow:"clip"}],check:[z.check]}},Fb=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?g.createElement("span",{className:"ms-GroupSpacer",style:{display:"inline-block",width:a},role:i}):null},Lb={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"},Hb=42,Ob=function(e){var t=e.theme,o=e.cellStyleProps,n=void 0===o?Mb:o,r=t.semanticColors;return[Ro(Lb,t).cell,on(t),{color:r.bodyText,position:"relative",display:"inline-block",boxSizing:"border-box",padding:"0 ".concat(n.cellRightPadding,"px 0 ").concat(n.cellLeftPadding,"px"),lineHeight:"inherit",margin:"0",height:Hb,verticalAlign:"top",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"}]},zb=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,p=e.cellStyleProps,h=void 0===p?Mb:p,m=i.semanticColors,f=i.palette,g=i.fonts,v=Ro(Lb,i),b={iconForegroundColor:m.bodySubtext,headerForegroundColor:m.bodyText,headerBackgroundColor:m.bodyBackground,resizerColor:f.neutralTertiaryAlt},y={opacity:1,transition:"opacity 0.3s linear"},C=Ob(e);return{root:[v.root,g.small,{display:"inline-block",background:b.headerBackgroundColor,position:"relative",minWidth:"100%",verticalAlign:"top",height:Hb,lineHeight:Hb,whiteSpace:"nowrap",boxSizing:"content-box",paddingBottom:"1px",paddingTop:"16px",borderBottom:"1px solid ".concat(m.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:Hb},{selectors:(o={},o[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={opacity:1},o)}],cellWrapperPadded:{paddingRight:h.cellExtraRightPadding+h.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:f.neutralSecondary,selectors:{":hover":{backgroundColor:f.neutralLighter},":active":{backgroundColor:f.neutralLight}}}],cellIsActionable:{selectors:{":hover":{color:m.bodyText,background:m.listHeaderBackgroundHovered},":active":{background:m.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:lr(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[Mo]=d({background:"transparent"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},accessibleLabel:ho,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(f.themePrimary),background:f.white}],dropHintCaretStyle:[v.dropHintCaretStyle,{display:"none",position:"absolute",top:-28,left:-6.5,fontSize:g.medium.fontSize,color:f.themePrimary,overflow:"visible",zIndex:10}],dropHintLineStyle:[v.dropHintLineStyle,{display:"none",position:"absolute",bottom:0,top:0,overflow:"hidden",height:42,width:1,background:f.themePrimary,zIndex:10}],dropHintStyle:{display:"inline-block",position:"absolute"}}},Wb={root:"ms-DetailsRow-check",isDisabled:"ms-DetailsRow-check--isDisabled",isHeader:"ms-DetailsRow-check--isHeader"},Vb=48,Kb=function(e){var t=e.theme,o=e.className,n=e.isHeader,r=e.selected,i=e.anySelected,a=e.canSelect,s=e.compact,l=e.isVisible,c=Ro(Wb,t),u=Nb.rowHeight,d=Nb.compactRowHeight,p=n?Hb:s?d:u,h=l||r||i;return{root:[c.root,o],check:[!a&&c.isDisabled,n&&c.isHeader,on(t),t.fonts.small,Qm.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:Vb,padding:0,margin:0}],isDisabled:[]}};!function(e){e[e.disabled=0]="disabled",e[e.clickable=1]="clickable",e[e.hasDropdown=2]="hasDropdown"}(xb||(xb={})),function(e){e[e.unconstrained=0]="unconstrained",e[e.horizontalConstrained=1]="horizontalConstrained"}(kb||(kb={})),function(e){e[e.outside=0]="outside",e[e.surface=1]="surface",e[e.header=2]="header"}(wb||(wb={})),function(e){e[e.fixedColumns=0]="fixedColumns",e[e.justified=1]="justified"}(Ib||(Ib={})),function(e){e[e.onHover=0]="onHover",e[e.always=1]="always",e[e.hidden=2]="hidden"}(Db||(Db={})),function(e){e[e.hidden=0]="hidden",e[e.visible=1]="visible"}(Eb||(Eb={}));var Gb=gr(),Ub=function(e){return function(t){return t?t.column.isIconOnly?g.createElement("span",{className:e.accessibleLabel},t.column.name):g.createElement(g.Fragment,null,t.column.name):null}},jb=function(e){function t(t){var o=e.call(this,t)||this;return o._root=g.createRef(),o._tooltipRef=g.createRef(),o._onRenderFilterIcon=function(e){return function(e){var t=e.columnProps,o=p(e,["columnProps"]),n=(null==t?void 0:t.useFastIcons)?Ci:ki;return g.createElement(n,d({},o))}},o._onRenderColumnHeaderTooltip=function(e){return g.createElement("span",{className:e.hostClassName},e.children)},o._onColumnClick=function(e){var t=o.props,n=t.onColumnClick,r=t.column;r.columnActionsMode!==xb.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()},Ji(o),o._async=new na(o),o._events=new dl(o),o}return u(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?Mb:a,l=e.useFastIcons,c=void 0===l||l,u=this.props.onRenderColumnHeaderTooltip,p=void 0===u?this._onRenderColumnHeaderTooltip:u;this._classNames=Gb(r,{theme:i,headerClassName:t.headerClassName,iconClassName:t.iconClassName,isActionable:t.columnActionsMode!==xb.disabled,isEmpty:!t.name,isIconVisible:t.isSorted||t.isGrouped||t.isFiltered,isPadded:t.isPadded,isIconOnly:t.isIconOnly,cellStyleProps:s,transitionDurationDrag:200,transitionDurationDrop:1500});var h=this._classNames,m=c?Ci:ki,f=t.onRenderFilterIcon?kl(t.onRenderFilterIcon,this._onRenderFilterIcon(this._classNames)):this._onRenderFilterIcon(this._classNames),v=t.onRenderHeader?kl(t.onRenderHeader,Ub(this._classNames)):Ub(this._classNames),b=t.columnActionsMode!==xb.disabled&&(void 0!==t.onColumnClick||void 0!==this.props.onColumnClick),y=this.props.onRenderColumnHeaderTooltip?!t.ariaLabel:this._hasAccessibleDescription(),C={"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":y?"".concat(o,"-").concat(t.key,"-tooltip"):void 0};return g.createElement(g.Fragment,null,g.createElement("div",d({key:t.key,ref:this._root,role:"columnheader"},!b&&C,{"aria-sort":t.isSorted?t.isSortedDescending?"descending":"ascending":"none","data-is-focusable":b||t.columnActionsMode===xb.disabled?void 0:"true",className:h.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&&g.createElement(m,{iconName:"GripperBarVertical",className:h.gripperBarVerticalStyle}),p({hostClassName:h.cellTooltip,id:"".concat(o,"-").concat(t.key,"-tooltip"),setAriaDescribedBy:!1,column:t,componentRef:this._tooltipRef,content:t.columnActionsMode!==xb.disabled?t.ariaLabel:"",children:g.createElement("span",d({id:"".concat(o,"-").concat(t.key),className:h.cellTitle,"data-is-focusable":b&&t.columnActionsMode!==xb.disabled?"true":void 0,role:b?"button":void 0},b&&C,{onContextMenu:this._onColumnContextMenu,onClick:this._onColumnClick,onKeyDown:this._onColumnKeyDown,"aria-haspopup":t.columnActionsMode===xb.hasDropdown?"menu":void 0,"aria-expanded":t.columnActionsMode===xb.hasDropdown?!!t.isMenuOpen:void 0}),g.createElement("span",{id:"".concat(o,"-").concat(t.key,"-name"),className:h.cellName},(t.iconName||t.iconClassName)&&g.createElement(m,{className:h.iconClassName,iconName:t.iconName}),v(this.props)),t.isFiltered&&g.createElement(m,{className:h.nearIcon,iconName:"Filter"}),(t.isSorted||t.showSortIconWhenUnsorted)&&g.createElement(m,{className:h.sortIcon,iconName:t.isSorted?t.isSortedDescending?"SortDown":"SortUp":"Sort"}),t.isGrouped&&g.createElement(m,{className:h.nearIcon,iconName:"GroupedDescending"}),t.columnActionsMode===xb.hasDropdown&&!t.isIconOnly&&f({"aria-hidden":!0,columnProps:this.props,className:h.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?g.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}(g.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"},Yb=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,p=void 0===u?Mb:u,h=e.transitionDurationDrag,m=e.transitionDurationDrop,f=o.semanticColors,g=o.palette,v=o.fonts,b=Ro(qb,o),y={iconForegroundColor:f.bodySubtext,headerForegroundColor:f.bodyText,headerBackgroundColor:f.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:[Ob(e),v.small,i&&[b.isActionable,{selectors:{":hover":{color:f.bodyText,background:f.listHeaderBackgroundHovered},":active":{background:f.listHeaderBackgroundPressed}}}],a&&[b.isEmpty,{textOverflow:"clip"}],s&&b.isIconVisible,l&&{paddingRight:p.cellExtraRightPadding+p.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,on(o),d({display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"stretch",boxSizing:"border-box",overflow:"hidden",padding:"0 ".concat(p.cellRightPadding,"px 0 ").concat(p.cellLeftPadding,"px")},c?{alignContent:"flex-end",maxHeight:"100%",flexWrap:"wrap-reverse"}:{})],cellName:[b.cellName,{flex:"0 1 auto",overflow:"hidden",textOverflow:"ellipsis",fontWeight:$e.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:ho,borderWhileDragging:_,noBorderWhileDragging:[S,{transition:"outline ".concat(h,"ms ease")}],borderAfterDropping:_,noBorderAfterDropping:[S,{transition:"outline ".concat(m,"ms ease")}]}},Zb=rr(jb,Yb,void 0,{scope:"DetailsColumn"}),Xb={label:kr,audio:wr,video:Ir,ol:Dr,li:Er,a:Tr,button:Pr,input:Rr,textarea:Mr,select:Nr,option:Br,table:Ar,tr:Fr,th:Lr,td:Hr,colGroup:Or,col:zr,form:Wr,iframe:Vr,img:Kr};function Qb(e,t,o){return jr(t,e&&Xb[e]||xr,o)}var Jb,$b,ey="change";!function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.multiple=2]="multiple"}(Jb||(Jb={})),function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}($b||($b={}));var ty=gr(),oy=g.memo((function(e){return g.createElement(Jm,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})}));function ny(e){return g.createElement(Jm,{checked:e.checked})}function ry(e){return g.createElement(oy,{theme:e.theme,checked:e.checked})}var iy,ay=rr((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,h=void 0!==u&&u,m=e.className,f=(e.checkClassName,e.styles),v=e.theme,b=e.compact,y=e.onRenderDetailsCheckbox,C=e.useFastIcons,_=void 0===C||C,S=p(e,["isVisible","canSelect","anySelected","selected","selectionMode","isHeader","className","checkClassName","styles","theme","compact","onRenderDetailsCheckbox","useFastIcons"]),x=_?ry:ny,k=y?kl(y,x):x,w=ty(f,{theme:v,canSelect:r,selected:l,anySelected:a,className:m,isHeader:h,isVisible:o,compact:b}),I={checked:l,theme:v},D=Qb("div",S,["aria-label","aria-labelledby","aria-describedby"]),E=c===Jb.single?"radio":"checkbox";return r?g.createElement("div",d({},S,{role:E,className:pi(w.root,w.check),"aria-checked":l,"data-selection-toggle":!0,"data-automationid":"DetailsRowCheck",tabIndex:-1}),k(I)):g.createElement("div",d({},D,{className:pi(w.root,w.check)}))}),Kb,void 0,{scope:"DetailsRowCheck"},!0),sy=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 dl(this);var r=ct();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;S<x.length;S++){var k=x[S],w={callback:k.callback.bind(null,y),eventName:k.eventName};v.push(w),this._events.on(e,w.eventName,w.callback)}h&&(a=function(e){e.isHandled||(e.isHandled=!0,n._dragEnterCounts[g]--,0===n._dragEnterCounts[g]&&C(!1,e))},s=function(e){e.preventDefault(),e.isHandled||(e.isHandled=!0,n._dragEnterCounts[g]++,1===n._dragEnterCounts[g]&&C(!0,e))},l=function(e){n._dragEnterCounts[g]=0,C(!1,e)},c=function(e){n._dragEnterCounts[g]=0,C(!1,e),o.onDrop&&o.onDrop(o.context.data,e)},u=function(e){e.preventDefault(),o.onDragOver&&o.onDragOver(o.context.data,e)},this._dragEnterCounts[g]=0,t.on(e,"dragenter",s),t.on(e,"dragleave",a),t.on(e,"dragend",l),t.on(e,"drop",c),t.on(e,"dragover",u)),p&&(d=this._onMouseDown.bind(this,_),l=this._onDragEnd.bind(this,_),i=function(t){var r=o;r&&r.onDragStart&&r.onDragStart(r.context.data,r.context.index,n._selection.getSelection(),t),n._isDragging=!0,t.dataTransfer&&t.dataTransfer.setData("id",e.id)},t.on(e,"dragstart",i),t.on(e,"mousedown",d),t.on(e,"dragend",l)),m={target:_,dispose:function(){if(n._activeTargets[g]===m&&delete n._activeTargets[g],e){for(var o=0,r=v;o<r.length;o++){var f=r[o];n._events.off(e,f.eventName,f.callback)}h&&(t.off(e,"dragenter",s),t.off(e,"dragleave",a),t.off(e,"dragend",l),t.off(e,"dragover",u),t.off(e,"drop",c)),p&&(t.off(e,"dragstart",i),t.off(e,"mousedown",d),t.off(e,"dragend",l))}}},this._activeTargets[g]=m}return{key:g,dispose:function(){m&&m.dispose()}}},e.prototype.unsubscribe=function(e,t){var o=this._activeTargets[t];o&&o.dispose()},e.prototype._onDragEnd=function(e,t){var o=e.options;o.onDragEnd&&o.onDragEnd(o.context.data,t)},e.prototype._onMouseUp=function(e){if(this._isDragging=!1,this._dragData){for(var t=0,o=Object.keys(this._activeTargets);t<o.length;t++){var n=o[t],r=this._activeTargets[n];r.target.root&&(this._events.off(r.target.root,"mousemove"),this._events.off(r.target.root,"mouseleave"))}this._dragData.dropTarget&&(dl.raise(this._dragData.dropTarget.root,"dragleave"),dl.raise(this._dragData.dropTarget.root,"drop"))}this._dragData=null},e.prototype._onDocumentMouseUp=function(e){var t=ct();t&&e.target===t.documentElement&&this._onMouseUp(e)},e.prototype._onMouseMove=function(e,t){var o=t.buttons,n=void 0===o?1:o;if(this._dragData&&1!==n)this._onMouseUp(t);else{var r=e.root,i=e.key;this._isDragging&&this._isDroppable(e)&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key!==i&&!this._isChild(r,this._dragData.dropTarget.root)&&this._dragEnterCounts[this._dragData.dropTarget.key]>0&&(dl.raise(this._dragData.dropTarget.root,"dragleave"),dl.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&&(dl.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<n.length;o++){var r=n[o],i=this._activeTargets[r];i.target.root&&(this._events.on(i.target.root,"mousemove",this._onMouseMove.bind(this,i.target)),this._events.on(i.target.root,"mouseleave",this._onMouseLeave.bind(this,i.target)))}}else this._dragData=null},e.prototype._isChild=function(e,t){for(;t&&t.parentElement;){if(t.parentElement===e)return!0;t=t.parentElement}return!1},e.prototype._isDraggable=function(e){var t=e.options;return!(!t.canDrag||!t.canDrag(t.context.data))},e.prototype._isDroppable=function(e){var t=e.options,o=this._dragData&&this._dragData.dragTarget?this._dragData.dragTarget.options.context:void 0;return!(!t.canDrop||!t.canDrop(t.context,o))},e}();!function(e){e[e.none=0]="none",e[e.hidden=1]="hidden",e[e.visible=2]="visible"}(iy||(iy={}));var ly=gr(),cy=[],uy=function(e){function t(t){var o=e.call(this,t)||this;return o._rootElement=g.createRef(),o._rootComponent=g.createRef(),o._draggedColumnIndex=-1,o._dropHintDetails={},o._updateDroppingState=function(e,t){o._draggedColumnIndex>=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?cy:t,r=o._getColumnReorderProps(),i=0,a=0,s=r.frozenColumnCountFromStart||0,l=r.frozenColumnCountFromEnd||0,c=s;c<n.length-l+1;c++)if(o._rootElement.current){var u=o._rootElement.current.querySelectorAll("#columnDropHint_"+c)[0];if(u)if(c===s)i=u.offsetLeft,a=u.offsetLeft,e=u;else{var d=(u.offsetLeft+i)/2;o._dropHintDetails[c-1]={originX:i,startX:a,endX:d,dropHintElementRef:e},a=d,e=u,i=u.offsetLeft,c===n.length-l&&(o._dropHintDetails[c]={originX:i,startX:a,endX:u.offsetLeft,dropHintElementRef:e})}}},o._computeDropHintToBeShown=function(e){var t=lr(o.props.theme);if(o._rootElement.current){var n=e-o._rootElement.current.getBoundingClientRect().left,r=o._currentDropHintIndex;if(o._isValidCurrentDropHintIndex()&&dy(t,n,o._dropHintDetails[r].startX,o._dropHintDetails[r].endX))return;var i=o.props.columns,a=void 0===i?cy:i,s=o._getColumnReorderProps(),l=s.frozenColumnCountFromStart||0,c=s.frozenColumnCountFromEnd||0,u=l,d=a.length-c,p=-1;if(py(t,n,o._dropHintDetails[u].endX)?p=u:hy(t,n,o._dropHintDetails[d].startX)?p=d:o._isValidCurrentDropHintIndex()&&(o._dropHintDetails[r+1]&&dy(t,n,o._dropHintDetails[r+1].startX,o._dropHintDetails[r+1].endX)?p=r+1:o._dropHintDetails[r-1]&&dy(t,n,o._dropHintDetails[r-1].startX,o._dropHintDetails[r-1].endX)&&(p=r-1)),-1===p)for(var h=l,m=d;h<m;){var f=Math.ceil((m+h)/2);if(dy(t,n,o._dropHintDetails[f].startX,o._dropHintDetails[f].endX)){p=f;break}py(t,n,o._dropHintDetails[f].originX)?m=f:hy(t,n,o._dropHintDetails[f].originX)&&(h=f)}p===o._draggedColumnIndex||p===o._draggedColumnIndex+1?o._isValidCurrentDropHintIndex()&&o._resetDropHints():r!==p&&p>=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?cy:r,a=i[n],s=o.state.columnResizeDetails,l=o._classNames;return a.isResizable?g.createElement("div",{key:"".concat(a.key,"_sizer"),"aria-hidden":!0,role:"button","data-is-focusable":!1,onClick:my,"data-sizer-index":n,onBlur:o._onSizerBlur,className:pi(l.cellSizer,n<i.length-1?l.cellSizerStart:l.cellSizerEnd,(t={},t[l.cellIsResizing]=s&&s.columnIndex===n,t)),onDoubleClick:o._onSizerDoubleClick.bind(o,n)}):null},o._onRenderColumnHeaderTooltip=function(e){return g.createElement("span",{className:e.hostClassName},e.children)},o._onSelectAllClicked=function(){var e=o.props.selection;e&&e.toggleAllSelected()},o._onRootMouseDown=function(e){var t=e.target.getAttribute("data-sizer-index"),n=Number(t),r=o.props.columns,i=void 0===r?cy:r;null!==t&&0===e.button&&(o.setState({columnResizeDetails:{columnIndex:n,columnMinWidth:i[n].calculatedWidth,originX:e.clientX}}),e.preventDefault(),e.stopPropagation())},o._onRootMouseMove=function(e){var t=o.state,n=t.columnResizeDetails,r=t.isSizing;n&&!r&&e.clientX!==n.originX&&o.setState({isSizing:!0})},o._onRootKeyDown=function(e){var t=o.state,n=t.columnResizeDetails,r=t.isSizing,i=o.props,a=i.columns,s=void 0===a?cy:a,l=i.onColumnResized,c=e.target.getAttribute("data-sizer-index");if(c&&!r){var u=Number(c);if(n){var p=void 0;e.which===ar.enter?(o.setState({columnResizeDetails:void 0}),e.preventDefault(),e.stopPropagation()):e.which===ar.left?p=lr(o.props.theme)?1:-1:e.which===ar.right&&(p=lr(o.props.theme)?-1:1),p&&(e.shiftKey||(p*=10),o.setState({columnResizeDetails:d(d({},n),{columnMinWidth:n.columnMinWidth+p})}),l&&l(s[u],n.columnMinWidth+p,u),e.preventDefault(),e.stopPropagation())}else e.which===ar.enter&&(o.setState({columnResizeDetails:{columnIndex:u,columnMinWidth:s[u].calculatedWidth}}),e.preventDefault(),e.stopPropagation())}},o._onSizerMouseMove=function(e){var t=e.buttons,n=o.props,r=n.onColumnIsSizingChanged,i=n.onColumnResized,a=n.columns,s=void 0===a?cy:a,l=o.state.columnResizeDetails;if(void 0===t||1===t){if(e.clientX!==l.originX&&r&&r(s[l.columnIndex],!0),i){var c=e.clientX-l.originX;lr(o.props.theme)&&(c=-c),i(s[l.columnIndex],l.columnMinWidth+c,l.columnIndex)}}else o._onSizerMouseUp(e)},o._onSizerBlur=function(e){o.state.columnResizeDetails&&o.setState({columnResizeDetails:void 0,isSizing:!1})},o._onSizerMouseUp=function(e){var t=o.props,n=t.columns,r=void 0===n?cy:n,i=t.onColumnIsSizingChanged,a=o.state.columnResizeDetails;o.setState({columnResizeDetails:void 0,isSizing:!1}),i&&i(r[a.columnIndex],!1)},o._onToggleCollapseAll=function(){var e=o.props.onToggleCollapseAll,t=!o.state.isAllCollapsed;o.setState({isAllCollapsed:t}),e&&e(t)},Ji(o),o._events=new dl(o),o.state={columnResizeDetails:void 0,isAllCollapsed:o.props.isAllCollapsed,isAllSelected:!!o.props.selection&&o.props.selection.isAllSelected()},o._onDropIndexInfo={sourceIndex:-1,targetIndex:-1},o._id=as("header"),o._currentDropHintIndex=-1,o._dragDropHelper=new sy({selection:{getSelection:function(){}},minimumPixelsForDrag:o.props.minimumPixelsForDrag}),o}return u(t,e),t.prototype.componentDidMount=function(){var e=this.props.selection;this._events.on(e,ey,this._onSelectionChanged),this._rootElement.current&&(this._events.on(this._rootElement.current,"mousedown",this._onRootMouseDown),this._events.on(this._rootElement.current,"keydown",this._onRootKeyDown),this._getColumnReorderProps()&&(this._subscriptionObject=this._dragDropHelper.subscribe(this._rootElement.current,this._events,this._getHeaderDragDropOptions())))},t.prototype.componentDidUpdate=function(e){if(this._getColumnReorderProps()?!this._subscriptionObject&&this._rootElement.current&&(this._subscriptionObject=this._dragDropHelper.subscribe(this._rootElement.current,this._events,this._getHeaderDragDropOptions())):this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this.props!==e&&this._onDropIndexInfo.sourceIndex>=0&&this._onDropIndexInfo.targetIndex>=0){var t=e.columns,o=void 0===t?cy:t,n=this.props.columns,r=void 0===n?cy: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?cy: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,v=t.theme,b=t.onRenderDetailsCheckbox,y=t.groupNestingDepth,C=t.useFastIcons,_=t.checkboxVisibility,S=t.className,x=this.state,k=x.isAllSelected,w=x.columnResizeDetails,I=x.isSizing,D=x.isAllCollapsed,E=s!==iy.none,T=s===iy.hidden,P=_===Db.always,R=this._getColumnReorderProps(),M=R&&R.frozenColumnCountFromStart?R.frozenColumnCountFromStart:0,N=R&&R.frozenColumnCountFromEnd?R.frozenColumnCountFromEnd:0;this._classNames=ly(m,{theme:v,isAllSelected:k,isSelectAllHidden:s===iy.hidden,isResizingColumn:!!w&&I,isSizing:I,isAllCollapsed:D,isCheckboxHidden:T,className:S});var B=this._classNames,A=C?Ci:ki,F=y>0,L=F&&this.props.collapseAllVisibility===Eb.visible,H=this._computeColumnIndexOffset(E),O=lr(v);return g.createElement(Hs,{role:"row","aria-label":r,className:B.root,componentRef:this._rootComponent,elementRef:this._rootElement,onMouseMove:this._onRootMouseMove,"data-automationid":"DetailsHeader",direction:da.horizontal},E?[g.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:g.createElement(ay,{id:"".concat(this._id,"-check"),"aria-label":f===Jb.multiple?a:l,"data-is-focusable":!T||void 0,isHeader:!0,selected:k,anySelected:!1,canSelect:!T,className:B.check,onRenderDetailsCheckbox:b,useFastIcons:C,isVisible:P})},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:a&&!T?g.createElement("label",{key:"__checkboxLabel",id:"".concat(this._id,"-checkTooltip"),className:B.accessibleLabel,"aria-hidden":!0},a):l&&T?g.createElement("label",{key:"__checkboxLabel",id:"".concat(this._id,"-checkTooltip"),className:B.accessibleLabel,"aria-hidden":!0},l):null]:null,L?g.createElement("div",{className:B.cellIsGroupExpander,onClick:this._onToggleCollapseAll,"data-is-focusable":!0,"aria-label":i,"aria-expanded":!D,role:"columnheader"},g.createElement(A,{className:B.collapseButton,iconName:O?"ChevronLeftMed":"ChevronRightMed"}),g.createElement("span",{className:B.accessibleLabel},i)):F?g.createElement("div",{className:B.cellIsGroupExpander,"data-is-focusable":!1,role:"columnheader"}):null,g.createElement(Fb,{indentWidth:c,role:"gridcell",count:y-1}),n.map((function(t,o){var r=!!R&&o>=M&&o<n.length-N;return[R&&(r||o===n.length-N)&&e._renderDropHint(o),g.createElement(Zb,{column:t,styles:t.styles,key:t.key,columnIndex:H+o,parentId:e._id,isDraggable:r,updateDragInfo:e._updateDragInfo,dragDropHelper:e._dragDropHelper,onColumnClick:u,onColumnContextMenu:d,onRenderColumnHeaderTooltip:e.props.onRenderColumnHeaderTooltip,isDropped:e._onDropIndexInfo.targetIndex===o,cellStyleProps:e.props.cellStyleProps,useFastIcons:C}),e._renderColumnDivider(o)]})),R&&0===N&&this._renderDropHint(n.length),I&&g.createElement(ku,null,g.createElement("div",{className:B.sizingOverlay,onMouseMove:this._onSizerMouseMove,onMouseUp:this._onSizerMouseUp})))},t.prototype.focus=function(){var e;return!!(null===(e=this._rootComponent.current)||void 0===e?void 0:e.focus())},t.prototype._getColumnReorderProps=function(){var e=this.props,t=e.columnReorderOptions;return e.columnReorderProps||t&&d(d({},t),{onColumnDragEnd:void 0})},t.prototype._getHeaderDragDropOptions=function(){return{selectionIndex:1,context:{data:this,index:0},canDrag:function(){return!1},canDrop:function(){return!0},onDragStart:function(){},updateDropState:this._updateDroppingState,onDrop:this._onDrop,onDragEnd:function(){},onDragOver:this._onDragOver}},t.prototype._isValidCurrentDropHintIndex=function(){return this._currentDropHintIndex>=0},t.prototype._isCheckboxColumnHidden=function(){var e=this.props,t=e.selectionMode,o=e.checkboxVisibility;return t===Jb.none||o===Db.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.clientX<t.right&&e.clientY>t.top&&e.clientY<t.bottom)return wb.header}},t.prototype._renderColumnDivider=function(e){var t=this.props.columns,o=(void 0===t?cy:t)[e],n=o.onRenderDivider;return n?n({column:o,columnIndex:e},this._renderColumnSizer):this._renderColumnSizer({column:o,columnIndex:e})},t.prototype._renderDropHint=function(e){var t=this._classNames,o=this.props.useFastIcons?Ci:ki;return g.createElement("div",{key:"dropHintKey",className:t.dropHintStyle,id:"columnDropHint_".concat(e),"aria-hidden":!0},g.createElement("div",{role:"presentation",key:"dropHintCircleKey",className:t.dropHintCaretStyle,"data-is-focusable":!1,"data-sizer-index":e,"aria-hidden":!0},g.createElement(o,{iconName:"CircleShapeSolid"})),g.createElement("div",{key:"dropHintLineKey","aria-hidden":!0,"data-is-focusable":!1,"data-sizer-index":e,className:t.dropHintLineStyle}))},t.prototype._onSizerDoubleClick=function(e,t){var o=this.props,n=o.onColumnAutoResized,r=o.columns;n&&n((void 0===r?cy:r)[e],e)},t.prototype._onSelectionChanged=function(){var e=!!this.props.selection&&this.props.selection.isAllSelected();this.state.isAllSelected!==e&&this.setState({isAllSelected:e})},t.defaultProps={selectAllVisibility:iy.visible,collapseAllVisibility:Eb.visible,useFastIcons:!0},t}(g.Component);function dy(e,t,o,n){return e?t<=o&&t>=n:t>=o&&t<=n}function py(e,t,o){return e?t>=o:t<=o}function hy(e,t,o){return e?t<=o:t>=o}function my(e){e.stopPropagation()}var fy=rr(uy,zb,void 0,{scope:"DetailsHeader"}),gy=function(e){var t=e.columns,o=e.rowClassNames,n=e.cellStyleProps,r=void 0===n?Mb: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=g.useRef(),f=m.current||(m.current={}),v=g.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 g.createElement("div",{key:u,id:t.isRowHeader?h:void 0,role:t.isRowHeader?"rowheader":"gridcell",className:pi(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 g.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||vy,h=v;e.onRenderField&&(h=kl(e.onRenderField,h)),u&&(h=kl(u,h));var m=f[e.key],g=p&&n?n(i,a,e):void 0,b=!1;return void 0!==g&&void 0!==m&&g!==m&&(b=!0),f[e.key]=g,h({item:i,itemIndex:a,isSelected:s,column:e,cellValueKey:g,className:b?o.cellAnimation:void 0,onRender:r})})))};function vy(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 by=gr(),yy=[],Cy=function(e){function t(t){var o=e.call(this,t)||this;return o._root=g.createRef(),o._cellMeasurer=g.createRef(),o._focusZone=g.createRef(),o._onSelectionChanged=function(){var e=_y(o.props);il(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})},Ji(o),o._events=new dl(o),o.state={selectionState:_y(t),columnMeasureInfo:void 0,isDropping:!1},o._droppingClassNames="",o}return u(t,e),t.getDerivedStateFromProps=function(e,t){return d(d({},t),{selectionState:_y(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,ey,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=_y(e);return this.state.selectionState.isSelected!==o.isSelected||!il(this.props,e)}return!0},t.prototype.render=function(){var e,t=this.props,o=t.className,n=t.columns,r=void 0===n?yy:n,i=t.dragDropEvents,a=t.item,s=t.itemIndex,l=t.id,c=t.flatIndexOffset,u=void 0===c?2:c,p=t.onRenderCheck,h=void 0===p?this._onRenderCheck:p,m=t.onRenderDetailsCheckbox,f=t.onRenderItemColumn,v=t.onRenderField,b=t.getCellValueKey,y=t.selectionMode,C=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=y===Jb.multiple,re=y!==Jb.none&&C!==Db.hidden,ie=y===Jb.none?void 0:Y,ae=O?s-O.startIndex+1:void 0,se=O?O.count:void 0,le=z?z.direction:da.horizontal;this._classNames=d(d({},this._classNames),by(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};il(this._rowClassNames||{},ce)||(this._rowClassNames=ce);var ue=D?Pl(D,gy):gy,de=g.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:f,onRenderField:v,getCellValueKey:b,enableUpdateAnimations:P,cellStyleProps:H}),pe=this.props.role?this.props.role:"row";this._ariaRowDescriptionId=as("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 g.createElement(Hs,d({"data-is-focusable":!0},jr(this.props,Ur),"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?g.createElement("span",{key:"description",role:"presentation",hidden:!0,id:this._ariaRowDescriptionId},ee):null,re&&g.createElement("div",{role:"gridcell","data-selection-toggle":!0,className:this._classNames.checkCell},h({id:l?"".concat(l,"-checkbox"):void 0,selected:Y,selectionMode:y,anySelected:X,"aria-label":w,"aria-labelledby":l?me:void 0,canSelect:oe,compact:R,className:this._classNames.check,theme:M,isVisible:C===Db.always,onRenderDetailsCheckbox:m,useFastIcons:L})),g.createElement(Fb,{indentWidth:T,role:"gridcell",count:0===A?-1:A}),a&&de,G&&g.createElement("span",{role:"presentation",className:pi(this._classNames.cellMeasurer,this._classNames.cell),ref:this._cellMeasurer},g.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:f,getCellValueKey:b})))},t.prototype.measureCell=function(e,t){var o=this.props.columns,n=d({},(void 0===o?yy: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 g.createElement(ay,d({},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}(g.Component);function _y(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 Sy=rr(Cy,Ab,void 0,{scope:"DetailsRow"}),xy="data-selection-index",ky="data-selection-toggle",wy="data-selection-invoke",Iy="data-selection-all-toggle",Dy=function(e){function t(t){var o=e.call(this,t)||this;o._root=g.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=pt(o._root.current),r=null==n?void 0:n.document;if((null==r?void 0:r.activeElement)===t||Ma(null==r?void 0:r.activeElement,t)){if(Ma(t,o._root.current))for(;t!==o._root.current;){if(o._hasAttribute(t,wy)){o.ignoreNextFocus();break}t=Ta(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!==Jb.none){var a=o._hasAttribute(t,ky),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,Iy);){if(r){if(o._hasAttribute(n,ky))break;if(o._hasAttribute(n,wy))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=Ta(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,Iy)){a||o._onToggleAllClick(e);break}if(i){var s=o._getItemIndex(i),l=o._getItemSpan(i);if(o._hasAttribute(r,ky)){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,wy)){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=Ta(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,ky)&&!o._hasAttribute(t,wy);){if(t===r){o._onInvokeClick(e,i);break}t=Ta(t)}t=Ta(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===ar.a&&(o._isCtrlPressed||o._isMetaPressed),l=e.which===ar.escape;if(!o._isInputElement(t)){var c=o._getSelectionMode();if(s&&c===Jb.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,ky);){if(o._shouldAutoSelect(t)){n||void 0!==p||o._onInvokeMouseDown(e,d,p);break}if(!(e.which!==ar.enter&&e.which!==ar.space||"BUTTON"!==t.tagName&&"A"!==t.tagName&&"INPUT"!==t.tagName&&"SUMMARY"!==t.tagName))return!1;if(t===u){if(e.which===ar.enter)return void(void 0===p&&(o._onInvokeClick(e,d),e.preventDefault()));if(e.which===ar.space)return n||o._onToggleClick(e,d,p),void e.preventDefault();break}t=Ta(t)}}},o._events=new dl(o),o._async=new na(o),Ji(o);var n=o.props.selection,r=n.isModal&&n.isModal();return o.state={isModal:r},o}return u(t,e),t.getDerivedStateFromProps=function(e,t){var o=e.selection.isModal&&e.selection.isModal();return d(d({},t),{isModal:o})},t.prototype.componentDidMount=function(){var e=pt(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 g.createElement("div",{className:pi("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,g.createElement(Zs,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()===Jb.none)return!0;for(;e!==this._root.current;){if(this._hasAttribute(e,"data-selection-disabled"))return!0;e=Ta(e)}return!1},t.prototype._onToggleAllClick=function(e){var t=this.props.selection;this._getSelectionMode()===Jb.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===Jb.multiple)void 0!==o?n.toggleRangeSelected(t,o):n.toggleIndexSelected(t);else{if(r!==Jb.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===Jb.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===Jb.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=pt(this._root.current),o=null==t?void 0:t.document,n=vs(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===ar.tab},t.prototype._findItemRoot=function(e){for(var t=this.props.selection;e!==this._root.current;){var o=e.getAttribute(xy),n=Number(o);if(null!==o&&n>=0&&n<t.getItems().length)break;e=Ta(e)}if(e!==this._root.current)return e},t.prototype._getItemIndex=function(e){var t,o=parseInt(null!==(t=e.getAttribute(xy))&&void 0!==t?t:"",10);return isNaN(o)?-1:o},t.prototype._getItemSpan=function(e){var t,o=parseInt(null!==(t=e.getAttribute("data-selection-span"))&&void 0!==t?t:"",10);return isNaN(o)?void 0:o},t.prototype._shouldAutoSelect=function(e){return this._hasAttribute(e,"data-selection-select")},t.prototype._hasAttribute=function(e,t){for(var o=!1;!o&&e!==this._root.current;){var n=e.getAttribute(t);if("false"===n){o=!1;break}o="true"===n,e=Ta(e)}return o},t.prototype._isInputElement=function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"true"===e.getAttribute("contenteditable")||""===e.getAttribute("contenteditable")},t.prototype._isNonHandledClick=function(e){var t=ct();if(t&&e)for(;e&&e!==t.documentElement;){if(ja(e)||e.hasAttribute("data-selection-index"))return!1;e=Ta(e)}return!0},t.prototype._handleNextFocus=function(e){var t=this;this._shouldHandleFocusTimeoutId&&(this._async.clearTimeout(this._shouldHandleFocusTimeoutId),this._shouldHandleFocusTimeoutId=void 0),this._shouldHandleFocus=e,e&&this._async.setTimeout((function(){t._shouldHandleFocus=!1}),100)},t.prototype._setIsTouch=function(e){var t=this;this._isTouchTimeoutId&&(this._async.clearTimeout(this._isTouchTimeoutId),this._isTouchTimeoutId=void 0),this._isTouch=!0,e&&this._async.setTimeout((function(){t._isTouch=!1}),300)},t.prototype._getSelectionMode=function(){var e=this.props.selection,t=this.props.selectionMode;return void 0===t?e?e.mode:Jb.none:t},t.defaultProps={isSelectedOnFocus:!0,toggleWithoutModifierPressed:!1,selectionMode:Jb.multiple,selectionClearedOnEscapePress:!0},t}(g.Component),Ey=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=e[0]||{},n=o.onSelectionChanged,r=o.onItemsChanged,i=o.getKey,a=o.canSelectItem,s=void 0===a?function(){return!0}:a,l=o.items,c=o.selectionMode,u=void 0===c?Jb.multiple:c;this.mode=u,this._getKey=i||Ty,this._changeEventSuppressionCount=0,this._exemptedCount=0,this._anchoredIndex=0,this._unselectableCount=0,this._onSelectionChanged=n,this._onItemsChanged=r,this._canSelectItem=s,this._keyToIndexMap={},this._isModal=!1,this.setItems(l||[],!0),this.count=this.getSelectedCount()}return e.prototype.canSelectItem=function(e,t){return!("number"==typeof t&&t<0)&&this._canSelectItem(e,t)},e.prototype.getKey=function(e,t){var o=this._getKey(e,t);return"number"==typeof o||o?"".concat(o):""},e.prototype.setChangeEvents=function(e,t){this._changeEventSuppressionCount+=e?-1:1,0===this._changeEventSuppressionCount&&this._hasChanged&&(this._hasChanged=!1,t||this._change())},e.prototype.isModal=function(){return this._isModal},e.prototype.setModal=function(e){this._isModal!==e&&(this.setChangeEvents(!1),this._isModal=e,e||this.setAllSelected(!1),this._change(),this.setChangeEvents(!0))},e.prototype.setItems=function(e,t){void 0===t&&(t=!0);var o={},n={},r=!1;this.setChangeEvents(!1),this._unselectableCount=0;for(var i=!1,a=0;a<e.length;a++)(u=e[a])&&(g=this.getKey(u,a))&&(i||g in this._keyToIndexMap&&this._keyToIndexMap[g]===a||(i=!0),o[g]=a),n[a]=u&&!this.canSelectItem(u),n[a]&&this._unselectableCount++;(t||0===e.length)&&this._setAllSelected(!1,!0);var s={},l=0;for(var c in this._exemptedIndices)if(this._exemptedIndices.hasOwnProperty(c)){var u,d=Number(c),p=(u=this._items[d])?this.getKey(u,Number(d)):void 0,h=p?o[p]:d;void 0===h?r=!0:(s[h]=!0,l++,r=r||h!==d)}if(this._items&&0===this._exemptedCount&&e.length!==this._items.length&&this._isAllSelected&&(r=!0),!i)for(var m=0,f=Object.keys(this._keyToIndexMap);m<f.length;m++){var g;if(!((g=f[m])in o)){i=!0;break}}this._exemptedIndices=s,this._exemptedCount=l,this._keyToIndexMap=o,this._unselectableIndices=n,this._items=e,this._selectedItems=null,r&&this._updateCount(),i&&(dl.raise(this,"items-change"),this._onItemsChanged&&this._onItemsChanged()),r&&this._change(),this.setChangeEvents(!0)},e.prototype.getItems=function(){return this._items},e.prototype.getSelection=function(){if(!this._selectedItems){this._selectedItems=[];var e=this._items;if(e)for(var t=0;t<e.length;t++)this.isIndexSelected(t)&&this._selectedItems.push(e[t])}return this._selectedItems},e.prototype.getSelectedCount=function(){return this._isAllSelected?this._items.length-this._exemptedCount-this._unselectableCount:this._exemptedCount},e.prototype.getSelectedIndices=function(){if(!this._selectedIndices){this._selectedIndices=[];var e=this._items;if(e)for(var t=0;t<e.length;t++)this.isIndexSelected(t)&&this._selectedIndices.push(t)}return this._selectedIndices},e.prototype.getItemIndex=function(e){var t=this._keyToIndexMap[e];return null!=t?t:-1},e.prototype.isRangeSelected=function(e,t){if(0===t)return!1;for(var o=e+t,n=e;n<o;n++)if(!this.isIndexSelected(n))return!1;return!0},e.prototype.isAllSelected=function(){var e=this._items.length-this._unselectableCount;return this.mode===Jb.single&&(e=Math.min(e,1)),this.count>0&&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===Jb.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!==Jb.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===Jb.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!==Jb.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!==Jb.none)if(this.mode!==Jb.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!==Jb.none)if(this.mode!==Jb.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!==Jb.none){var o=this.isRangeSelected(e,t),n=e+t;if(!(this.mode===Jb.single&&t>1)){this.setChangeEvents(!1);for(var r=e;r<n;r++)this.setIndexSelected(r,!o,!1);this.setChangeEvents(!0)}}},e.prototype._updateCount=function(e){void 0===e&&(e=!1);var t=this.getSelectedCount();t!==this.count&&(this.count=t,this._change()),this.count||e||this.setModal(!1)},e.prototype._setAllSelected=function(e,t){if(void 0===t&&(t=!1),!e||this.mode===Jb.multiple){var o=this._items?this._items.length-this._unselectableCount:0;this.setChangeEvents(!1),o>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(t)),this.setChangeEvents(!0)}},e.prototype._change=function(){0===this._changeEventSuppressionCount?(this._selectedItems=null,this._selectedIndices=void 0,dl.raise(this,ey),this._onSelectionChanged&&this._onSelectionChanged()):this._hasChanged=!0},e}();function Ty(e,t){var o=(e||{}).key;return void 0===o?"".concat(t):o}var Py,Ry,My={root:"ms-GroupedList",compact:"ms-GroupedList--Compact",group:"ms-GroupedList-group",link:"ms-Link",listCell:"ms-List-cell"},Ny=function(e){var t,o,n=e.theme,r=e.className,i=e.compact,a=n.palette,s=Ro(My,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(Ke.durationValue2," ").concat("cubic-bezier(0.445, 0.050, 0.550, 0.950)")}],groupIsDropping:{backgroundColor:a.neutralLight}}},By={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"},Ay="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"}(Py||(Py={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(Ry||(Ry={}));var Fy=gr(),Ly=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(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,p=jr(this.props,Ur,["size"]),h=o;void 0===h&&void 0!==t&&(h=t===Ry.large?Py.large:Py.medium);var m=Fy(i,{theme:s,size:h,className:l,labelPosition:c});return g.createElement("div",d({},p,{className:m.root}),g.createElement("div",{className:m.circle}),a&&g.createElement("div",{className:m.label},a),u&&g.createElement("div",{role:"status","aria-live":r},g.createElement(pa,null,g.createElement("div",{className:m.screenReaderText},u))))},t.defaultProps={size:Py.medium,ariaLive:"polite",labelPosition:"bottom"},t}(g.Component),Hy={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},Oy=Do((function(){return re({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})})),zy=rr(Ly,(function(e){var t,o=e.theme,n=e.size,r=e.className,i=e.labelPosition,a=o.palette,s=Ro(Hy,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:Oy(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[Mo]=d({borderTopColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},n===Py.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],n===Py.small&&["ms-Spinner--small",{width:16,height:16}],n===Py.medium&&["ms-Spinner--medium",{width:20,height:20}],n===Py.large&&["ms-Spinner--large",{width:28,height:28}]],label:[s.label,o.fonts.small,{color:a.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===i&&{margin:"0 0 8px"},"right"===i&&{margin:"0 0 0 8px"},"left"===i&&{margin:"0 8px 0 0"}],screenReaderText:ho}}),void 0,{scope:"Spinner"}),Wy=gr(),Vy=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===ur(ar.right,o.props.theme);(!o.state.isCollapsed&&e.which===ur(ar.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?kl(e.onRenderName,o._onRenderName):o._onRenderName;return g.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?g.createElement(g.Fragment,null,g.createElement("span",null,t.name),g.createElement("span",{className:o._classNames.headerCount},"(",t.count,t.hasMoreData&&"+",")")):null},o._id=as("GroupHeader"),o.state={isCollapsed:o.props.group&&o.props.group.isCollapsed,isLoadingVisible:!1},o}return u(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 d(d({},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,p=e.indentWidth,h=e.onRenderGroupHeaderCheckbox,m=e.isCollapsedGroupSelectVisible,f=void 0===m||m,v=e.expandButtonProps,b=e.expandButtonIcon,y=e.selectAllButtonProps,C=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?kl(this.props.onRenderTitle,this._onRenderTitle):this._onRenderTitle,P=E?this._fastDefaultCheckboxRender:this._defaultCheckboxRender,R=h?kl(h,P):P,M=this.state,N=M.isCollapsed,B=M.isLoadingVisible,A=i===Jb.multiple,F=A&&(f||!(t&&t.isCollapsed)),L=u||l,H=lr(C);return this._classNames=Wy(_,{theme:C,className:S,selected:L,isCollapsed:N,compact:x}),t?g.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},g.createElement("div",{className:this._classNames.groupHeaderContainer,role:"presentation"},F?g.createElement("div",{role:"gridcell"},g.createElement("button",d({"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},y),R({checked:L,theme:C},R))):i!==Jb.none&&g.createElement(Fb,{indentWidth:Vb,count:1}),g.createElement(Fb,{indentWidth:p,count:n}),g.createElement("div",{className:this._classNames.dropIcon,role:"presentation"},g.createElement(ki,{iconName:"Tag"})),g.createElement("div",{role:"gridcell"},g.createElement("button",d({"data-is-focusable":!1,"data-selection-disabled":!0,type:"button",className:this._classNames.expand,onClick:this._onToggleClick,"aria-expanded":!this.state.isCollapsed},v),g.createElement(ki,{className:this._classNames.expandIsCollapsed,iconName:b||(H?"ChevronLeftMed":"ChevronRightMed")}))),T(this.props),B&&g.createElement(zy,{label:a}))):null},t.prototype._defaultCheckboxRender=function(e){return g.createElement(Jm,{checked:e.checked})},t.prototype._fastDefaultCheckboxRender=function(e){return g.createElement(Ky,{theme:e.theme,checked:e.checked})},t.defaultProps={expandButtonProps:{"aria-label":"expand collapse group"}},t}(g.Component),Ky=g.memo((function(e){return g.createElement(Jm,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})})),Gy=rr(Vy,(function(e){var t,o,n,r,i,a=e.theme,s=e.className,l=e.selected,c=e.isCollapsed,u=e.compact,d=Mb.cellLeftPadding,p=u?40:48,h=a.semanticColors,m=a.palette,f=a.fonts,g=Ro(By,a),v=[on(a),{cursor:"default",background:"none",backgroundColor:"transparent",border:"none",padding:0}];return{root:[g.root,on(a),a.fonts.medium,{borderBottom:"1px solid ".concat(h.listBackground),cursor:"default",userSelect:"none",selectors:(t={":hover":{background:h.listItemBackgroundHovered,color:h.actionLinkHovered}},t["&:hover .".concat(g.check)]={opacity:1},t[".".concat(Jo," &:focus .").concat(g.check,", :host(.").concat(Jo,") &:focus .").concat(g.check)]={opacity:1},t[":global(.".concat(g.group,".").concat(g.isDropping,")")]={selectors:(o={},o["& > .".concat(g.root," .").concat(g.dropIcon)]={transition:"transform ".concat(Ke.durationValue4," ").concat("cubic-bezier(0.075, 0.820, 0.165, 1.000)"," ")+"opacity ".concat(Ke.durationValue1," ").concat(Ay),transitionDelay:Ke.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:Vb,height:p,selectors:(r={},r[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={opacity:1},r)}],expand:[g.expand,v,{display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",fontSize:f.small.fontSize,width:36,height:p,color:l?m.neutralPrimary:m.neutralSecondary,selectors:{":hover":{backgroundColor:l?m.neutralQuaternary:m.neutralLight},":active":{backgroundColor:l?m.neutralTertiaryAlt:m.neutralQuaternaryAlt}}}],expandIsCollapsed:[c?[g.isCollapsed,{transform:"rotate(0deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}]:{transform:lr(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?$e.regular:$e.semibold,cursor:"pointer",outline:0,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"}],dropIcon:[g.dropIcon,{position:"absolute",left:-26,fontSize:et.large,color:m.neutralSecondary,transition:"transform ".concat(Ke.durationValue2," ").concat("cubic-bezier(0.600, -0.280, 0.735, 0.045)",", ")+"opacity ".concat(Ke.durationValue4," ").concat(Ay),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"}),Uy={root:"ms-GroupShowAll",link:"ms-Link"},jy=gr(),qy=rr((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=jy(i,{theme:a}),c=g.useCallback((function(e){s(t),e.stopPropagation(),e.preventDefault()}),[s,t]);return t?g.createElement("div",{className:l.root},g.createElement(Fb,{count:o}),g.createElement(rl,{onClick:c},r)):null}),(function(e){var t,o=e.theme,n=o.fonts,r=Ro(Uy,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"}),Yy={root:"ms-groupFooter"},Zy=gr(),Xy=rr((function(e){var t=e.group,o=e.groupLevel,n=e.footerText,r=e.indentWidth,i=e.styles,a=e.theme,s=Zy(i,{theme:a});return t&&n?g.createElement("div",{className:s.root},g.createElement(Fb,{indentWidth:r,count:o}),n):null}),(function(e){var t=e.theme,o=e.className,n=Ro(Yy,t);return{root:[t.fonts.medium,n.root,{position:"relative",padding:"5px 38px"},o]}}),void 0,{scope:"GroupFooter"}),Qy=function(e){function t(o){var n=e.call(this,o)||this;n._root=g.createRef(),n._list=g.createRef(),n._subGroupRefs={},n._droppingClassName="",n._onRenderGroupHeader=function(e){return g.createElement(Gy,d({},e))},n._onRenderGroupShowAll=function(e){return g.createElement(qy,d({},e))},n._onRenderGroupFooter=function(e){return g.createElement(Xy,d({},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,v=r.onRenderCell,b=r.selection,y=r.selectionMode,C=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?g.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:v,selection:b,selectionMode:y,showAllProps:h,viewport:C,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 Ji(n),n._id=as("GroupedListSection"),n.state={isDropping:!1,isSelected:!(!r||!i)&&r.isRangeSelected(i.startIndex,i.count)},n._events=new dl(n),n}return u(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,ey,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,p=e.onRenderGroupShowAll,h=void 0===p?this._onRenderGroupShowAll:p,m=e.onRenderGroupFooter,f=void 0===m?this._onRenderGroupFooter:m,v=e.onShouldVirtualize,b=e.groupedListClassNames,y=e.groups,C=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:y,compact:C},T={groupedListId:this._id,ariaLevel:(null==o?void 0:o.level)?o.level+1:1,ariaSetSize:y?y.length:void 0,ariaPosInSet:void 0!==n?n+1:void 0},P=d(d(d({},r),E),T),R=d(d({},i),E),M=d(d({},a),E),N=!!this.props.dragDropHelper&&this._getGroupDragDropOptions().canDrag(o)&&!!this.props.dragDropEvents.canDragGroups;return g.createElement("div",d({ref:this._root},N&&{draggable:!0},{className:pi(b&&b.group,this._getDroppingClassName()),role:"presentation"}),u(P,this._onRenderGroupHeader),o&&o.isCollapsed?null:I?g.createElement(nb,{role:"presentation",ref:this._list,items:o?o.children:[],onRenderCell:this._renderSubGroup,getItemCountForPage:this._returnOne,onShouldVirtualize:v,version:D,id:this._id}):this._onRenderGroup(k),o&&o.isCollapsed?null:w&&h(R,this._onRenderGroupShowAll),f(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;o<t;o++){var n;(n=this._list.current.pageRefs["subGroup_"+String(o)])&&n.forceListUpdate()}}else(n=this._subGroupRefs["subGroup_"+String(0)])&&n.forceListUpdate()},t.prototype._onSelectionChange=function(){var e=this.props,t=e.group,o=e.selection;if(o&&t){var n=o.isRangeSelected(t.startIndex,t.count);n!==this.state.isSelected&&this.setState({isSelected:n})}},t.prototype._onRenderGroupCell=function(e,t,o){return function(n,r){return e(t,n,r,o)}},t.prototype._onRenderGroup=function(e){var t=this.props,o=t.group,n=t.items,r=t.onRenderCell,i=t.listProps,a=t.groupNestingDepth,s=t.onShouldVirtualize,l=t.groupProps,c=o&&!o.isShowingAll?o.count:n.length,u=o?o.startIndex:0;return g.createElement(nb,d({role:l&&l.role?l.role:"rowgroup","aria-label":null==o?void 0:o.name,items:n,onRenderCell:this._onRenderGroupCell(r,a,o),ref:this._list,renderCount:Math.min(c,e),startIndex:u,onShouldVirtualize:s,id:this._id},i))},t.prototype._returnOne=function(){return 1},t.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(e.level)+String(t))},t.prototype._getDroppingClassName=function(){var e=this.state.isDropping,t=this.props,o=t.group,n=t.groupedListClassNames;return pi((e=!(!o||!e))&&this._droppingClassName,e&&"is-dropping",e&&n&&n.groupIsDropping)},t}(g.Component),Jy=gr(),$y=Nb.rowHeight,eC=Nb.compactRowHeight,tC=function(e){function t(t){var o=e.call(this,t)||this;o._list=g.createRef(),o._renderGroup=function(e,t){var n=o.props,r=n.dragDropEvents,i=n.dragDropHelper,a=n.eventsToRegister,s=n.groupProps,l=n.items,c=n.listProps,u=n.onRenderCell,p=n.selectionMode,h=n.selection,m=n.viewport,f=n.onShouldVirtualize,v=n.groups,b=n.compact,y={onToggleSelectGroup:o._onToggleSelectGroup,onToggleCollapse:o._onToggleCollapse,onToggleSummarize:o._onToggleSummarize},C=d(d({},s.headerProps),y),_=d(d({},s.showAllProps),y),S=d(d({},s.footerProps),y),x=o._getGroupNestingDepth();if(!s.showEmptyGroups&&e&&0===e.count)return null;var k=d(d({},c||{}),{version:o.state.version});return g.createElement(Qy,{key:o._getGroupKey(e,t),dragDropEvents:r,dragDropHelper:i,eventsToRegister:a,footerProps:S,getGroupItemLimit:s&&s.getGroupItemLimit,group:e,groupIndex:t,groupNestingDepth:x,groupProps:s,headerProps:C,listProps:k,items:l,onRenderCell:u,onRenderGroupHeader:s.onRenderHeader,onRenderGroupShowAll:s.onRenderShowAll,onRenderGroupFooter:s.onRenderFooter,selectionMode:p,selection:h,showAllProps:_,viewport:m,onShouldVirtualize:f,groupedListClassNames:o._classNames,groups:v,compact:b})},o._getDefaultGroupItemLimit=function(e){return e.children&&e.children.length>0?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?eC:$y;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===Jb.multiple&&n.toggleRangeSelected(e.startIndex,e.count)},o._isInnerZoneKeystroke=function(e){return e.which===ur(ar.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}},Ji(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 u(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=d(d({},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=d(d({},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,p=e.rootListProps,h=void 0===p?{}:p,m=this.state,f=m.groups,v=m.version;this._classNames=Jy(s,{theme:r,className:t,compact:l});var b=u.shouldEnterInnerZone,y=void 0===b?this._isInnerZoneKeystroke:b;return g.createElement(Hs,d({direction:da.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},u,{shouldEnterInnerZone:y,className:pi(this._classNames.root,u.className)}),g.createElement(Zs,null),f?g.createElement(nb,d({ref:this._list,role:a,items:f,onRenderCell:this._renderGroup,getItemCountForPage:this._returnOne,getPageHeight:this._getPageHeight,getPageSpecification:this._getPageSpecification,usePageCache:o,onShouldVirtualize:n,version:v},h)):this._renderGroup(void 0,0))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this._forceListUpdates()},t.prototype.toggleCollapseAll=function(e){var t=this.state.groups,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;o<e.length;o++)e[o].isCollapsed=t},t.prototype._returnOne=function(){return 1},t.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(t))},t.prototype._getGroupNestingDepth=function(){for(var e=0,t=this.state.groups;t&&t.length>0;)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:Jb.multiple,isHeaderVisible:!0,groupProps:{},compact:!1},t}(g.Component),oC=rr(tC,Ny,void 0,{scope:"GroupedList"});function nC(e,t){var o,n=(null!=t?t:!e||e&&e.hasOwnProperty("devicePixelRatio"))?pt():pt(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 rC=500,iC=3;function aC(e){return function(t){function o(e){var o=t.call(this,e)||this;return o._root=g.createRef(),o._registerResizeObserver=function(){var e=pt(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=pt(n),i=nC(vs(n),r),a=nC(n,r);((a&&a.width)!==t.width||(i&&i.height)!==t.height)&&o._resizeAttempts<iC&&a&&i?(o._resizeAttempts++,o.setState({viewport:{width:a.width,height:i.height}},(function(){o._updateViewport(e)}))):(o._resizeAttempts=0,e&&o._composedComponentInstance&&o._composedComponentInstance.forceUpdate())},o._async=new na(o),o._events=new dl(o),o._resizeAttempts=0,o.state={viewport:{width:0,height:0}},o}return u(o,t),o.prototype.componentDidMount=function(){var e=this,t=this.props,o=t.delayFirstMeasure,n=t.disableResizeObserver,r=t.skipViewportMeasures,i=pt(this._root.current);this._onAsyncResize=this._async.debounce(this._onAsyncResize,rC,{leading:!1}),r||(!n&&this._isResizeObserverAvailable()?this._registerResizeObserver():this._events.on(i,"resize",this._onAsyncResize),o?this._async.setTimeout((function(){e._updateViewport()}),rC):this._updateViewport())},o.prototype.componentDidUpdate=function(e){var t=e.skipViewportMeasures,o=this.props,n=o.disableResizeObserver,r=o.skipViewportMeasures,i=pt(this._root.current);r!==t&&(r?(this._unregisterResizeObserver(),this._events.off(i,"resize",this._onAsyncResize)):(!n&&this._isResizeObserverAvailable()?this._viewportResizeObserver||this._registerResizeObserver():this._events.on(i,"resize",this._onAsyncResize),this._updateViewport()))},o.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._unregisterResizeObserver()},o.prototype.render=function(){var t=this.state.viewport,o=t.width>0&&t.height>0?t:void 0;return g.createElement("div",{className:"ms-Viewport",ref:this._root,style:{minWidth:1,minHeight:1}},g.createElement(e,d({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=pt(this._root.current);return e&&e.ResizeObserver},o}(Cd)}var sC=function(e){var t=0;if(e)for(var o=m([],e,!0),n=void 0;o&&o.length>0;)++t,(n=o.pop())&&n.children&&o.push.apply(o,n.children);return t},lC=gr(),cC=100,uC={tabIndex:0},dC={},pC=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,p=e.groupProps,h=e.indentWidth,m=e.items,f=e.isPlaceholderData,v=e.isHeaderVisible,b=e.layoutMode,y=e.onItemInvoked,C=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?Mb: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=as("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 g.useMemo((function(){var t={};if(e)for(var o=1,n=1,r=0,i=e;r<i.length;r++){var a=i[r];t[a.key]={numOfGroupHeadersBeforeItem:n,totalRowCount:o},n++,o+=a.count+1}return t}),[e])}(u),Fe=g.useMemo((function(){return d({renderedWindowsAhead:Y?0:2,renderedWindowsBehind:Y?0:2,getKey:M,version:X},N)}),[Y,M,X,N]),Le=iy.none;if(k===Jb.single&&(Le=iy.hidden),k===Jb.multiple){var He=p&&p.headerProps&&p.headerProps.isCollapsedGroupSelectVisible;void 0===He&&(He=!0),Le=He||!u||Z?iy.visible:iy.hidden}a===Db.hidden&&(Le=iy.none);var Oe=g.useCallback((function(e){return g.createElement(fy,d({},e))}),[]),ze=g.useCallback((function(){return null}),[]),We=e.onRenderDetailsHeader,Ve=g.useMemo((function(){return We?kl(We,Oe):Oe}),[We,Oe]),Ke=e.onRenderDetailsFooter,Ge=g.useMemo((function(){return Ke?kl(Ke,ze):ze}),[Ke,ze]),Ue=g.useMemo((function(){return{columns:j,groupNestingDepth:Be,selection:t,selectionMode:k,viewport:F,checkboxVisibility:a,indentWidth:h,cellStyleProps:V}}),[j,Be,t,k,F,a,h,V]),je=ee&&ee.onDragEnd,qe=g.useCallback((function(e,t){var o=e.dropLocation,n=wb.outside;if(je){if(o&&o!==wb.header)n=o;else if(Q.current){var r=Q.current.getBoundingClientRect();t.clientX>r.left&&t.clientX<r.right&&t.clientY>r.top&&t.clientY<r.bottom&&(n=wb.surface)}je(n)}}),[je,Q]),Ye=g.useMemo((function(){if(ee)return d(d({},ee),{onColumnDragEnd:qe})}),[ee,qe]),Ze=(v?1:0)+(e.onRenderDetailsFooter?1:0)+sC(u)+(m?m.length:0),Xe=(Le!==iy.none?1:0)+(j?j.length:0)+(u?1:0),Qe=g.useMemo((function(){return lC(O,{theme:z,compact:s,isFixed:b===Ib.fixedColumns,isHorizontalConstrained:l===kb.horizontalConstrained,className:i})}),[O,z,s,b,l,i]),Je=p&&p.onRenderFooter,$e=g.useMemo((function(){return Je?function(e,o){return Je(d(d({},e),{columns:j,groupNestingDepth:Be,indentWidth:h,selection:t,selectionMode:k,viewport:F,checkboxVisibility:a,cellStyleProps:V}),o)}:void 0}),[Je,j,Be,h,t,k,F,a,V]),et=p&&p.onRenderHeader,tt=g.useMemo((function(){return et?function(e,o){var n,r,i=e.groupIndex,s=void 0!==i?null===(r=null===(n=e.groups)||void 0===n?void 0:n[i])||void 0===r?void 0:r.key:void 0,l=void 0!==s&&Ae[s]?Ae[s].totalRowCount:0;return et(d(d({},e),{columns:j,groupNestingDepth:Be,indentWidth:h,selection:t,selectionMode:a!==Db.hidden?k:Jb.none,viewport:F,checkboxVisibility:a,cellStyleProps:V,ariaColSpan:j.length,ariaLevel:void 0,ariaPosInSet:void 0,ariaSetSize:void 0,ariaRowCount:void 0,ariaRowIndex:void 0!==i?l+(v?1:0):void 0}),o)}:function(e,t){var o,n,r=e.groupIndex,i=void 0!==r?null===(n=null===(o=e.groups)||void 0===o?void 0:o[r])||void 0===n?void 0:n.key:void 0,a=void 0!==i&&Ae[i]?Ae[i].totalRowCount:0;return t(d(d({},e),{ariaColSpan:j.length,ariaLevel:void 0,ariaPosInSet:void 0,ariaSetSize:void 0,ariaRowCount:void 0,ariaRowIndex:void 0!==r?a+(v?1:0):void 0}))}}),[et,j,Be,h,v,t,k,F,a,V,Ae]),ot=g.useMemo((function(){var e;return d(d({},p),{role:Me===Re?"rowgroup":"presentation",onRenderFooter:$e,onRenderHeader:tt,headerProps:d(d({},null==p?void 0:p.headerProps),{selectAllButtonProps:d({"aria-label":xe},null===(e=null==p?void 0:p.headerProps)||void 0===e?void 0:e.selectAllButtonProps)})})}),[p,$e,tt,xe,Me]),nt=Ic((function(){return Do((function(e){var t=0;return e.forEach((function(e){return t+=e.calculatedWidth||e.minWidth})),t}))})),rt=p&&p.collapseAllVisibility,it=g.useMemo((function(){return nt(j)}),[j,nt]),at=g.useCallback((function(o,n,r,i){var l=e.onRenderRow?kl(e.onRenderRow,Ee):Ee,u=i?i.key:void 0,d=u&&Ae[u]?Ae[u].numOfGroupHeadersBeforeItem:0,p=Me===Re?void 0:"presentation",m=r>0?dC:uC,f={item:n,itemIndex:r,flatIndexOffset:(v?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:h,cellStyleProps:V,onRenderDetailsCheckbox:K,enableUpdateAnimations:Ie,rowWidth:it,useFastIcons:G,role:p,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,v,Se,ke,we,h,V,K,Ie,G,Ee,ge,e.onRenderRow,it,Me,Ae]),st=g.useCallback((function(e){return function(t,o){return at(e,t,o)}}),[at]),lt=g.useCallback((function(e){return e.which===ur(ar.right,z)}),[z]),ct=d(d({},Pe),{componentRef:Pe&&Pe.componentRef?Pe.componentRef:$,className:Pe&&Pe.className?pi(Qe.focusZone,Pe.className):Qe.focusZone,direction:Pe?Pe.direction:da.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==p?void 0:p.groupedListAs)?Pl(p.groupedListAs,oC):oC,dt=u?g.createElement(ut,{focusZoneProps:ct,componentRef:te,groups:u,groupProps:ot,items:m,onRenderCell:at,role:"presentation",selection:t,selectionMode:a!==Db.hidden?k:Jb.none,dragDropEvents:c,dragDropHelper:U,eventsToRegister:T,listProps:Fe,onGroupExpandStateChanged:ne,usePageCache:B,onShouldVirtualize:A,getGroupHeight:H,compact:s}):g.createElement(Hs,d({},ct),g.createElement(nb,d({ref:J,role:"presentation",items:m,onRenderCell:st(0),usePageCache:B,onShouldVirtualize:A},Fe))),pt=g.useCallback((function(e){e.which===ar.down&&$.current&&$.current.focus()&&(ce&&0===t.getSelectedIndices().length&&t.setIndexSelected(0,!0,!1),e.preventDefault(),e.stopPropagation())}),[t,$,ce]),ht=g.useCallback((function(e){e.which!==ar.up||e.altKey||oe.current&&oe.current.focus()&&(e.preventDefault(),e.stopPropagation())}),[oe]);return g.createElement("div",d({ref:Q,className:Qe.root,"data-automationid":"DetailsList","data-is-scrollable":"false"},R?{role:"application"}:{}),g.createElement(Zs,null),g.createElement("div",{role:Me,"aria-label":E||D,"aria-rowcount":f?0:Ze,"aria-colcount":Xe,"aria-busy":f},g.createElement("div",{onKeyDown:pt,role:"presentation",className:Qe.headerWrapper},v&&Ve({componentRef:oe,selectionMode:k,layoutMode:b,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:p&&p.collapseAllVisibility,viewport:F,columnReorderProps:Ye,minimumPixelsForDrag:L,cellStyleProps:V,checkboxVisibility:a,indentWidth:h,onRenderDetailsCheckbox:K,rowWidth:nt(j),useFastIcons:G},Ve)),g.createElement("div",{onKeyDown:ht,role:"presentation",className:Qe.contentWrapper},se?dt:g.createElement(Dy,d({ref:Te,selection:t,selectionPreservedOnEmptyClick:w,selectionMode:k,isSelectedOnFocus:ce,selectionClearedOnEscapePress:ce,toggleWithoutModifierPressed:!ce,onItemInvoked:y,onItemContextMenu:C,enterModalOnTouch:De},I||{}),dt)),Ge(d({},Ue))))},hC=function(e){function t(t){var o=e.call(this,t)||this;return o._root=g.createRef(),o._header=g.createRef(),o._groupedList=g.createRef(),o._list=g.createRef(),o._focusZone=g.createRef(),o._selectionZone=g.createRef(),o._onRenderRow=function(e,t){return g.createElement(Sy,d({},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,p=n.compact,h=n.dragDropEvents,m=(o.props.groupProps||{}).isAllGroupsCollapsed,f=void 0===m?void 0:m,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=d(d({},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===p||(y=!0),C=d(d({},C),o._adjustColumns(e,C,!0)),e.selectionMode!==l&&(y=!0),void 0===f&&e.groupProps&&void 0!==e.groupProps.isAllGroupsCollapsed&&(C=d(d({},C),{isCollapsed:e.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:!e.groupProps.isAllGroupsCollapsed})),e.dragDropEvents!==h&&(o._dragDropHelper&&o._dragDropHelper.dispose(),o._dragDropHelper=e.dragDropEvents?new sy({selection:o._selection,minimumPixelsForDrag:e.minimumPixelsForDrag}):void 0,y=!0),y&&(C=d(d({},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||cC,t);o.props.onColumnResize&&o.props.onColumnResize(e,r,n),o._rememberCalculatedWidth(e,r),o.setState(d(d({},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})},Ji(o),o._async=new na(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 Ey({onSelectionChanged:void 0,getKey:t.getKey,selectionMode:t.selectionMode}),o.props.disableSelectionZone||o._selection.setItems(t.items,!1),o._dragDropHelper=t.dragDropEvents?new sy({selection:o._selection,minimumPixelsForDrag:t.minimumPixelsForDrag}):void 0,o._initialFocusedIndex=t.initialFocusedIndex,o}return u(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===Jb.none||l===Db.hidden,m=(l!==Db.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&&g<a.length-b)if(c.onColumnDrop){var y={draggedIndex:f,targetIndex:g};c.onColumnDrop(y)}else c.handleColumnReorder&&c.handleColumnReorder(f,g)}},t.prototype.componentWillUnmount=function(){this._dragDropHelper&&this._dragDropHelper.dispose(),this._async.dispose()},t.prototype.componentDidUpdate=function(e,t){this._notifyColumnsResized();var o=Rc(this.context);if(void 0!==this._initialFocusedIndex&&(a=this.props.items[this._initialFocusedIndex])){var n=this._getItemKey(a,this._initialFocusedIndex);(r=this._activeRows[n])&&this._setFocusToRowIfPending(r)}if(this.props.items!==e.items&&this.props.items.length>0&&-1!==this.state.focusedItemIndex&&!Ma(this._root.current,null==o?void 0:o.activeElement,!1)){var r,i=this.state.focusedItemIndex<this.props.items.length?this.state.focusedItemIndex:this.props.items.length-1,a=this.props.items[i];n=this._getItemKey(a,this.state.focusedItemIndex),(r=this._activeRows[n])?this._setFocusToRow(r):this._initialFocusedIndex=i}this.props.onDidUpdate&&this.props.onDidUpdate(this)},t.prototype.render=function(){return g.createElement(pC,d({},this.props,this.state,{selection:this._selection,dragDropHelper:this._dragDropHelper,rootRef:this._root,listRef:this._list,groupedListRef:this._groupedList,focusZoneRef:this._focusZone,headerRef:this._header,selectionZoneRef:this._selectionZone,onGroupExpandStateChanged:this._onGroupExpandStateChanged,onColumnIsSizingChanged:this._onColumnIsSizingChanged,onRowDidMount:this._onRowDidMount,onRowWillUnmount:this._onRowWillUnmount,onColumnResized:this._onColumnResized,onColumnAutoResized:this._onColumnAutoResized,onToggleCollapse:this._onToggleCollapse,onActiveRowChanged:this._onActiveRowChanged,onBlur:this._onBlur,onRenderDefaultRow:this._onRenderRow}))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this._forceListUpdates()},t.prototype._getGroupNestingDepth=function(){for(var e=0,t=this.props.groups;t&&t.length>0;)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 d(d({},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||mC(a,!0),s===Ib.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),p=0;e.forEach((function(e){c||!e.flexGrow?u-=e.maxWidth||e.minWidth||cC:(u-=e.minWidth||cC,p+=e.flexGrow),u-=fC(e,o,!0)}));var h=a!==Jb.none&&s!==Db.hidden?Vb:0,m=36*this._getGroupNestingDepth(),f=(u-=h+m)/p;return c||e.forEach((function(e){var t=d(d({},e),n._columnOverrides[e.key]);if(t.flexGrow&&t.maxWidth){var o=t.flexGrow*f+t.minWidth,r=o-t.maxWidth;r>0&&(u+=r,p-=r/(o-t.minWidth)*t.flexGrow)}})),f=u>0?u/p:0,e.map((function(e){var o=d(d({},e),n._columnOverrides[e.key]);return!c&&o.flexGrow&&u<=0&&0===t||o.calculatedWidth||(!c&&o.flexGrow?(o.calculatedWidth=o.minWidth+o.flexGrow*f,o.calculatedWidth=Math.min(o.calculatedWidth,o.maxWidth||Number.MAX_VALUE)):o.calculatedWidth=o.maxWidth||o.minWidth||cC),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!==Jb.none&&a!==Db.hidden?Vb:0,c=36*this._getGroupNestingDepth(),u=0,p=0,h=t-(l+c),m=e.map((function(e,t){var r=d(d({},e),{calculatedWidth:e.minWidth||cC}),i=d(d({},r),n._columnOverrides[e.key]);return r.isCollapsible||r.isCollapsable||(p+=fC(r,o)),u+=fC(i,o),i}));if(s)return m;for(var f=m.length-1;f>=0&&u>h;){var g=(C=m[f]).minWidth||cC,v=u-h;if(C.calculatedWidth-g>=v||!C.isCollapsible&&!C.isCollapsable){var b=C.calculatedWidth;p<h&&(C.calculatedWidth=Math.max(C.calculatedWidth-v,g)),u-=b-C.calculatedWidth}else u-=fC(C,o),m.splice(f,1);f--}for(var y=0;y<m.length&&u<h;y++){var C=m[y],_=y===m.length-1,S=this._columnOverrides[C.key];if(!S||!S.calculatedWidth||_){var x=h-u,k=void 0;if(_)k=x;else{var w=C.maxWidth;g=C.minWidth||w||cC,k=w?Math.min(x,w-g):x}C.calculatedWidth=C.calculatedWidth+k,u+=k}}return m},t.prototype._rememberCalculatedWidth=function(e,t){var o=this._getColumnOverride(e.key);o.calculatedWidth=t,o.currentWidth=t},t.prototype._getColumnOverride=function(e){return this._columnOverrides[e]=this._columnOverrides[e]||{}},t.prototype._getItemKey=function(e,t){var o=this.props.getKey,n=void 0;return e&&(n=e.key),o&&(n=o(e,t)),n||(n=t),n},t.defaultProps={layoutMode:Ib.justified,selectionMode:Jb.multiple,constrainMode:kb.horizontalConstrained,checkboxVisibility:Db.onHover,isHeaderVisible:!0,compact:!1,useFastIcons:!0},t.contextType=ra,h([aC],t)}(g.Component);function mC(e,t,o,n,r,i,a,s){var l=[];if(e&&e.length){var c=e[0];for(var u in c)c.hasOwnProperty(u)&&l.push({key:u,name:u,fieldName:u,minWidth:cC,maxWidth:300,isCollapsible:!!l.length,isMultiline:void 0!==a&&a,isSorted:n===u,isSortedDescending:!!r,isRowHeader:!1,columnActionsMode:null!=s?s:xb.clickable,isResizable:t,onColumnClick:o,isGrouped:i===u})}return l}function fC(e,t,o){var n=t.cellStyleProps,r=void 0===n?Mb:n;return(o?0:e.calculatedWidth)+r.cellLeftPadding+r.cellRightPadding+(e.isPadded?r.cellExtraRightPadding:0)}var gC,vC={root:"ms-DetailsList",compact:"ms-DetailsList--Compact",contentWrapper:"ms-DetailsList-contentWrapper",headerWrapper:"ms-DetailsList-headerWrapper",isFixed:"is-fixed",isHorizontalConstrained:"is-horizontalConstrained",listCell:"ms-List-cell"},bC=function(e){var t,o,n=e.theme,r=e.className,i=e.isHorizontalConstrained,a=e.compact,s=e.isFixed,l=n.semanticColors,c=Ro(vC,n);return{root:[c.root,n.fonts.small,{position:"relative",color:l.listText,selectors:(t={},t["& .".concat(c.listCell)]={minHeight:38,wordBreak:"break-word"},t)},s&&c.isFixed,a&&[c.compact,{selectors:(o={},o[".".concat(c.listCell)]={minHeight:32},o)}],i&&[c.isHorizontalConstrained,{overflowX:"auto",overflowY:"visible",WebkitOverflowScrolling:"touch"}],r],focusZone:[{display:"inline-block",minWidth:"100%",minHeight:1}],headerWrapper:c.headerWrapper,contentWrapper:c.contentWrapper}},yC=rr(hC,bC,void 0,{scope:"DetailsList"});!function(e){e[e.normal=0]="normal",e[e.largeHeader=1]="largeHeader",e[e.close=2]="close"}(gC||(gC={}));var CC=Ke.durationValue2,_C={root:"ms-Modal",main:"ms-Dialog-main",scrollableContent:"ms-Modal-scrollableContent",isOpen:"is-open",layer:"ms-Modal-Layer"},SC=gr(),xC=function(e){function t(t){var o=e.call(this,t)||this;Ji(o);var n=o.props.allowTouchBodyScroll,r=void 0!==n&&n;return o._allowTouchBodyScroll=r,o}return u(t,e),t.prototype.componentDidMount=function(){!this._allowTouchBodyScroll&&ms()},t.prototype.componentWillUnmount=function(){!this._allowTouchBodyScroll&&fs()},t.prototype.render=function(){var e=this.props,t=e.isDarkThemed,o=e.className,n=e.theme,r=e.styles,i=jr(this.props,Ur),a=SC(r,{theme:n,className:o,isDark:t});return g.createElement("div",d({},i,{className:a.root}))},t}(g.Component),kC={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},wC=rr(xC,(function(e){var t,o=e.className,n=e.theme,r=e.isNone,i=e.isDark,a=n.palette,s=Ro(kC,n);return{root:[s.root,n.fonts.medium,{backgroundColor:a.whiteTranslucent40,top:0,right:0,bottom:0,left:0,position:"absolute",selectors:(t={},t[Mo]={border:"1px solid WindowText",opacity:0},t)},r&&{visibility:"hidden"},i&&[s.rootDark,{backgroundColor:a.blackTranslucent40}],o]}}),void 0,{scope:"Overlay"}),IC=Do((function(e,t){return{root:te(e,t&&{touchAction:"none",selectors:{"& *":{userSelect:"none"}}})}})),DC={start:"touchstart",move:"touchmove",stop:"touchend"},EC={start:"mousedown",move:"mousemove",stop:"mouseup"},TC=function(e){function t(t){var o=e.call(this,t)||this;return o._currentEventType=EC,o._events=[],o._onMouseDown=function(e){var t=g.Children.only(o.props.children).props.onMouseDown;return t&&t(e),o._currentEventType=EC,o._onDragStart(e)},o._onMouseUp=function(e){var t=g.Children.only(o.props.children).props.onMouseUp;return t&&t(e),o._currentEventType=EC,o._onDragStop(e)},o._onTouchStart=function(e){var t=g.Children.only(o.props.children).props.onTouchStart;return t&&t(e),o._currentEventType=DC,o._onDragStart(e)},o._onTouchEnd=function(e){var t=g.Children.only(o.props.children).props.onTouchEnd;t&&t(e),o._currentEventType=DC,o._onDragStop(e)},o._onDragStart=function(e){if("number"==typeof e.button&&0!==e.button)return!1;if(!(o.props.handleSelector&&!o._matchesSelector(e.target,o.props.handleSelector)||o.props.preventDragSelector&&o._matchesSelector(e.target,o.props.preventDragSelector))){o._touchId=o._getTouchId(e);var t=o._getControlPosition(e);if(void 0!==t){var n=o._createDragDataFromPosition(t);o.props.onStart&&o.props.onStart(e,n),o.setState({isDragging:!0,lastPosition:t});var r=Rc(o.context);o._events=[Al(r.body,o._currentEventType.move,o._onDrag,!0),Al(r.body,o._currentEventType.stop,o._onDragStop,!0)]}}},o._onDrag=function(e){"touchmove"===e.type&&e.preventDefault();var t=o._getControlPosition(e);if(t){var n=o._createUpdatedDragData(o._createDragDataFromPosition(t)),r=n.position;o.props.onDragChange&&o.props.onDragChange(e,n),o.setState({position:r,lastPosition:t})}},o._onDragStop=function(e){if(o.state.isDragging){var t=o._getControlPosition(e);if(t){var n=o._createDragDataFromPosition(t);o.setState({isDragging:!1,lastPosition:void 0}),o.props.onStop&&o.props.onStop(e,n),o.props.position&&o.setState({position:o.props.position}),o._events.forEach((function(e){return e()}))}}},o.state={isDragging:!1,position:o.props.position||{x:0,y:0},lastPosition:void 0},o}return u(t,e),t.prototype.componentDidUpdate=function(e){!this.props.position||e.position&&this.props.position===e.position||this.setState({position:this.props.position})},t.prototype.componentWillUnmount=function(){this._events.forEach((function(e){return e()}))},t.prototype.render=function(){var e=g.Children.only(this.props.children),t=e.props,o=this.props.position,n=this.state,r=n.position,i=n.isDragging,a=r.x,s=r.y;return o&&!i&&(a=o.x,s=o.y),g.cloneElement(e,{style:d(d({},t.style),{transform:"translate(".concat(a,"px, ").concat(s,"px)")}),className:IC(t.className,this.state.isDragging).root,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onTouchStart:this._onTouchStart,onTouchEnd:this._onTouchEnd})},t.prototype._getControlPosition=function(e){var t=this._getActiveTouch(e);if(void 0===this._touchId||t){var o=t||e;return{x:o.clientX,y:o.clientY}}},t.prototype._getActiveTouch=function(e){return e.targetTouches&&this._findTouchInTouchList(e.targetTouches)||e.changedTouches&&this._findTouchInTouchList(e.changedTouches)},t.prototype._getTouchId=function(e){var t=e.targetTouches&&e.targetTouches[0]||e.changedTouches&&e.changedTouches[0];if(t)return t.identifier},t.prototype._matchesSelector=function(e,t){var o;if(!e||e===(null===(o=Rc(this.context))||void 0===o?void 0:o.body))return!1;var n=e.matches||e.webkitMatchesSelector||e.msMatchesSelector;return!!n&&(n.call(e,t)||this._matchesSelector(e.parentElement,t))},t.prototype._findTouchInTouchList=function(e){if(void 0!==this._touchId)for(var t=0;t<e.length;t++)if(e[t].identifier===this._touchId)return e[t]},t.prototype._createDragDataFromPosition=function(e){var t=this.state.lastPosition;return void 0===t?{delta:{x:0,y:0},lastPosition:e,position:e}:{delta:{x:e.x-t.x,y:e.y-t.y},lastPosition:t,position:e}},t.prototype._createUpdatedDragData=function(e){var t=this.state.position;return{position:{x:t.x+e.delta.x,y:t.y+e.delta.y},delta:e.delta,lastPosition:t}},t.contextType=ra,t}(g.Component);function PC(e){var t=g.useState(e),o=t[0],n=t[1];return[o,{setTrue:Ic((function(){return function(){n(!0)}})),setFalse:Ic((function(){return function(){n(!1)}})),toggle:Ic((function(){return function(){n((function(e){return!e}))}}))}]}var RC={x:0,y:0},MC={isOpen:!1,isDarkOverlay:!0,className:"",containerClassName:"",enableAriaHiddenSiblings:!0},NC=gr(),BC=g.forwardRef((function(e,t){var o,n,r,i,a,s=yr(MC,e),l=s.allowTouchBodyScroll,c=s.className,u=s.children,p=s.containerClassName,h=s.scrollableContentClassName,m=s.elementToFocusOnDismiss,f=s.firstFocusableSelector,v=s.focusTrapZoneProps,b=s.forceFocusInsideTrap,y=s.disableRestoreFocus,C=void 0===y?s.ignoreExternalFocusing:y,_=s.isBlocking,S=s.isAlert,x=s.isClickableOutsideFocusTrap,k=s.isDarkOverlay,w=s.onDismiss,I=s.layerProps,D=s.overlay,E=s.isOpen,T=s.titleAriaId,P=s.styles,R=s.subtitleAriaId,M=s.theme,N=s.topOffsetFixed,B=s.responsiveMode,A=s.onLayerDidMount,F=s.isModeless,L=s.dragOptions,H=s.onDismissed,O=s.enableAriaHiddenSiblings,z=s.popupProps,W=g.useRef(null),V=g.useRef(null),K=ri(V,null==v?void 0:v.componentRef),G=g.useRef(null),U=ri(W,t),j=Rd(U),q=fd("ModalFocusTrapZone",null==v?void 0:v.id),Y=ia(),Z=zf(),X=Z.setTimeout,Q=Z.clearTimeout,J=g.useState(E),$=J[0],ee=J[1],te=g.useState(E),oe=te[0],ne=te[1],re=g.useState(RC),ie=re[0],ae=re[1],se=g.useState(),le=se[0],ce=se[1],ue=PC(!1),de=ue[0],pe=ue[1],he=pe.toggle,me=pe.setFalse,fe=Ic((function(){return{onModalCloseTimer:0,allowTouchBodyScroll:l,scrollableContent:null,lastSetCoordinates:RC,events:new dl({})}})),ge=(L||{}).keepInBounds,ve=null!=S?S:_&&!F,be=void 0===I?"":I.className,ye=NC(P,{theme:M,className:c,containerClassName:p,scrollableContentClassName:h,isOpen:E,isVisible:oe,hasBeenOpened:fe.hasBeenOpened,modalRectangleTop:le,topOffsetFixed:N,isModeless:F,layerClassName:be,windowInnerHeight:null==Y?void 0:Y.innerHeight,isDefaultDragHandle:L&&!L.dragHandleSelector}),Ce=d(d({eventBubblingEnabled:!1},I),{onLayerDidMount:I&&I.onLayerDidMount?I.onLayerDidMount:A,insertFirst:(null==I?void 0:I.insertFirst)||F,className:ye.layer}),_e=g.useCallback((function(e){e?fe.allowTouchBodyScroll?ps(e,fe.events):ds(e,fe.events):fe.events.off(fe.scrollableContent),fe.scrollableContent=e}),[fe]),Se=function(){var e=G.current,t=null==e?void 0:e.getBoundingClientRect();t&&(N&&ce(t.top),ge&&(fe.minPosition={x:-t.left,y:-t.top},fe.maxPosition={x:t.left,y:t.top}))},xe=g.useCallback((function(e,t){var o=fe.minPosition,n=fe.maxPosition;return ge&&o&&n&&(t=Math.max(o[e],t),t=Math.min(n[e],t)),t}),[ge,fe]),ke=function(){var e;fe.lastSetCoordinates=RC,me(),fe.isInKeyboardMoveMode=!1,ee(!1),ae(RC),null===(e=fe.disposeOnKeyUp)||void 0===e||e.call(fe),null==H||H()},we=g.useCallback((function(){me(),fe.isInKeyboardMoveMode=!1}),[fe,me]),Ie=g.useCallback((function(e,t){ae((function(e){return{x:xe("x",e.x+t.delta.x),y:xe("y",e.y+t.delta.y)}}))}),[xe]),De=g.useCallback((function(){V.current&&V.current.focus()}),[]);g.useEffect((function(){var e;Q(fe.onModalCloseTimer),E&&(requestAnimationFrame((function(){return X(Se,0)})),ee(!0),L&&(e=function(e){e.altKey&&e.ctrlKey&&e.keyCode===ar.space&&Ma(fe.scrollableContent,e.target)&&(he(),e.preventDefault(),e.stopPropagation())},fe.disposeOnKeyUp||(fe.events.on(Y,"keyup",e,!0),fe.disposeOnKeyUp=function(){fe.events.off(Y,"keyup",e,!0),fe.disposeOnKeyUp=void 0})),fe.hasBeenOpened=!0,ne(!0)),!E&&$&&(fe.onModalCloseTimer=X(ke,1e3*parseFloat(CC)),ne(!1))}),[$,E]),Um((function(){fe.events.dispose(),fe.onModalCloseTimer&&(Q(fe.onModalCloseTimer),fe.onModalCloseTimer=0)})),function(e,t){g.useImperativeHandle(e.componentRef,(function(){return{focus:function(){t.current&&t.current.focus()}}}),[t])}(s,V);var Ee=g.createElement(qm,d({},v,{id:q,ref:G,componentRef:K,className:pi(ye.main,null==v?void 0:v.className),elementToFocusOnDismiss:null!==(o=null==v?void 0:v.elementToFocusOnDismiss)&&void 0!==o?o:m,isClickableOutsideFocusTrap:null!==(n=null==v?void 0:v.isClickableOutsideFocusTrap)&&void 0!==n?n:F||x||!_,disableRestoreFocus:null!==(r=null==v?void 0:v.disableRestoreFocus)&&void 0!==r?r:C,forceFocusInsideTrap:(null!==(i=null==v?void 0:v.forceFocusInsideTrap)&&void 0!==i?i:b)&&!F,firstFocusableSelector:(null==v?void 0:v.firstFocusableSelector)||f,focusPreviouslyFocusedInnerElement:null===(a=null==v?void 0:v.focusPreviouslyFocusedInnerElement)||void 0===a||a,onBlur:fe.isInKeyboardMoveMode?function(e){var t,o;null===(t=null==v?void 0:v.onBlur)||void 0===t||t.call(v,e),fe.lastSetCoordinates=RC,fe.isInKeyboardMoveMode=!1,null===(o=fe.disposeOnKeyDown)||void 0===o||o.call(fe)}:void 0}),L&&fe.isInKeyboardMoveMode&&g.createElement("div",{className:ye.keyboardMoveIconContainer},L.keyboardMoveIconProps?g.createElement(ki,d({},L.keyboardMoveIconProps)):g.createElement(ki,{iconName:"move",className:ye.keyboardMoveIcon})),g.createElement("div",{ref:_e,className:ye.scrollableContent,"data-is-scrollable":!0},L&&de&&g.createElement(L.menu,{items:[{key:"move",text:L.moveMenuItemText,onClick:function(){var e=function(e){if(e.altKey&&e.ctrlKey&&e.keyCode===ar.space)return e.preventDefault(),void e.stopPropagation();var t=e.altKey||e.keyCode===ar.escape;if(de&&t&&me(),!fe.isInKeyboardMoveMode||e.keyCode!==ar.escape&&e.keyCode!==ar.enter||(fe.isInKeyboardMoveMode=!1,e.preventDefault(),e.stopPropagation()),fe.isInKeyboardMoveMode){var o=!0,n=function(e){var t=10;return e.shiftKey?e.ctrlKey||(t=50):e.ctrlKey&&(t=1),t}(e);switch(e.keyCode){case ar.escape:ae(fe.lastSetCoordinates);case ar.enter:fe.lastSetCoordinates=RC;break;case ar.up:ae((function(e){return{x:e.x,y:xe("y",e.y-n)}}));break;case ar.down:ae((function(e){return{x:e.x,y:xe("y",e.y+n)}}));break;case ar.left:ae((function(e){return{x:xe("x",e.x-n),y:e.y}}));break;case ar.right:ae((function(e){return{x:xe("x",e.x+n),y:e.y}}));break;default:o=!1}o&&(e.preventDefault(),e.stopPropagation())}};fe.lastSetCoordinates=ie,me(),fe.isInKeyboardMoveMode=!0,fe.events.on(Y,"keydown",e,!0),fe.disposeOnKeyDown=function(){fe.events.off(Y,"keydown",e,!0),fe.disposeOnKeyDown=void 0}}},{key:"close",text:L.closeMenuItemText,onClick:ke}],onDismiss:me,alignTargetEdge:!0,coverTarget:!0,directionalHint:Sl.topLeftEdge,directionalHintFixed:!0,shouldFocusOnMount:!0,target:fe.scrollableContent}),u));return $&&j>=(B||yd.small)&&g.createElement(ku,d({ref:U},Ce),g.createElement(wc,d({role:ve?"alertdialog":"dialog",ariaLabelledBy:T,ariaDescribedBy:R,onDismiss:w,shouldRestoreFocus:!C,enableAriaHiddenSiblings:O,"aria-modal":!F},z),g.createElement("div",{className:ye.root,role:F?void 0:"document"},!F&&g.createElement(wC,d({"aria-hidden":!0,isDarkThemed:k,onClick:_?void 0:w,allowTouchBodyScroll:l},D)),L?g.createElement(TC,{handleSelector:L.dragHandleSelector||"#".concat(q),preventDragSelector:"button",onStart:we,onDragChange:Ie,onStop:De,position:ie},Ee):Ee)))||null}));BC.displayName="Modal";var AC=rr(BC,(function(e){var t,o=e.className,n=e.containerClassName,r=e.scrollableContentClassName,i=e.isOpen,a=e.isVisible,s=e.hasBeenOpened,l=e.modalRectangleTop,c=e.theme,u=e.topOffsetFixed,d=e.isModeless,p=e.layerClassName,h=e.isDefaultDragHandle,m=e.windowInnerHeight,f=c.palette,g=c.effects,v=c.fonts,b=Ro(_C,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(CC)},u&&"number"==typeof l&&s&&{alignItems:"flex-start"},i&&b.isOpen,a&&{opacity:1},a&&!d&&{pointerEvents:"auto"},o],main:[b.main,{boxShadow:g.elevation64,borderRadius:g.roundedCorner2,backgroundColor:f.white,boxSizing:"border-box",position:"relative",textAlign:"left",outline:"3px solid transparent",maxHeight:"calc(100% - 32px)",maxWidth:"calc(100% - 32px)",minHeight:"176px",minWidth:"288px",overflowY:"auto",zIndex:d?Qo.Layer:void 0},d&&{pointerEvents:"auto"},u&&"number"==typeof l&&s&&{top:l},h&&{cursor:"move"},n],scrollableContent:[b.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:(t={},t["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:m},t)},r],layer:d&&[p,b.layer,{pointerEvents:"none"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:v.xLargePlus.fontSize,width:"24px"}}}),void 0,{scope:"Modal",fields:["theme","styles","enableAriaHiddenSiblings"]});AC.displayName="Modal";var FC=gr(),LC=function(e){function t(t){var o=e.call(this,t)||this;return Ji(o),o}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.className,o=e.styles,n=e.theme;return this._classNames=FC(o,{theme:n,className:t}),g.createElement("div",{className:this._classNames.actions},g.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))},t.prototype._renderChildrenAsActions=function(){var e=this;return g.Children.map(this.props.children,(function(t){return t?g.createElement("span",{className:e._classNames.action},t):null}))},t}(g.Component),HC={actions:"ms-Dialog-actions",action:"ms-Dialog-action",actionsRight:"ms-Dialog-actionsRight"},OC=rr(LC,(function(e){var t=e.className,o=e.theme,n=Ro(HC,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"});OC.displayName="DialogFooter";var zC=gr(),WC=g.createElement(OC,null).type,VC=function(e){function t(t){var o=e.call(this,t)||this;return Ji(o),o}return u(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,p=t.title,h=t.type,m=t.styles,f=t.theme,v=t.draggableHeaderClassName,b=zC(m,{theme:f,className:n,isLargeHeader:h===gC.largeHeader,isClose:h===gC.close,draggableHeaderClassName:v}),y=this._groupChildren();return s&&(e=g.createElement("p",{className:b.subText,id:a},s)),g.createElement("div",{className:b.content},g.createElement("div",{className:b.header},g.createElement("div",d({id:u,role:"heading","aria-level":1},c,{className:pi(b.title,c.className)}),p),g.createElement("div",{className:b.topButton},this.props.topButtonsProps.map((function(e,t){return g.createElement(fp,d({key:e.uniqueId||t},e))})),(h===gC.close||o&&h!==gC.largeHeader)&&g.createElement(fp,{className:b.button,iconProps:{iconName:"Cancel"},ariaLabel:r,onClick:i}))),g.createElement("div",{className:b.inner},g.createElement("div",{className:b.innerContent},e,y.contents),y.footers))},t.prototype._groupChildren=function(){var e={footers:[],contents:[]};return g.Children.map(this.props.children,(function(t){"object"==typeof t&&null!==t&&t.type===WC?e.footers.push(t):e.contents.push(t)})),e},t.defaultProps={showCloseButton:!1,className:"",topButtonsProps:[],closeButtonAriaLabel:"Close"},h([Ed],t)}(g.Component),KC={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"},GC=rr(VC,(function(e){var t,o,n,r=e.className,i=e.theme,a=e.isLargeHeader,s=e.isClose,l=e.hidden,c=e.isMultiline,u=e.draggableHeaderClassName,d=i.palette,p=i.fonts,h=i.effects,m=i.semanticColors,f=Ro(KC,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:$e.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:et.medium}}}],inner:[f.inner,{padding:"0 24px 24px",selectors:(t={},t["@media (min-width: ".concat(Fo,"px) and (max-width: ").concat(Vo,"px)")]={padding:"0 16px 16px"},t)}],innerContent:[f.content,{position:"relative",width:"100%"}],title:[f.title,p.xLarge,{color:m.bodyText,margin:"0",minHeight:p.xLarge.fontSize,padding:"16px 46px 20px 24px",lineHeight:"normal",selectors:(o={},o["@media (min-width: ".concat(Fo,"px) and (max-width: ").concat(Vo,"px)")]={padding:"16px 46px 16px 16px"},o)},a&&{color:m.menuHeader},c&&{fontSize:p.xxLarge.fontSize}],topButton:[{display:"flex",flexDirection:"row",flexWrap:"nowrap",position:"absolute",top:"0",right:"0",padding:"15px 15px 0 0",selectors:(n={"> *":{flex:"0 0 auto"},".ms-Dialog-button":{color:m.buttonText},".ms-Dialog-button:hover":{color:m.buttonTextHovered,borderRadius:h.roundedCorner2}},n["@media (min-width: ".concat(Fo,"px) and (max-width: ").concat(Vo,"px)")]={padding:"15px 8px 0 0"},n)}]}}),void 0,{scope:"DialogContent"});GC.displayName="DialogContent";var UC,jC=gr(),qC={isDarkOverlay:!1,isBlocking:!1,className:"",containerClassName:"",topOffsetFixed:!1,enableAriaHiddenSiblings:!0},YC={type:gC.normal,className:"",topButtonsProps:[]},ZC=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=as("Dialog"),o._defaultTitleTextId=o._id+"-title",o._defaultSubTextId=o._id+"-subText",o}return u(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,p=i.forceFocusInsideTrap,h=i.styles,m=i.hidden,f=i.disableRestoreFocus,v=void 0===f?i.ignoreExternalFocusing:f,b=i.isBlocking,y=i.isClickableOutsideFocusTrap,C=i.isDarkOverlay,_=i.isOpen,S=void 0===_?!m:_,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=d({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=d({},B.dragOptions)).dragHandleSelector=".".concat(n));var F=d(d(d(d({},qC),{elementToFocusOnDismiss:c,firstFocusableSelector:u,forceFocusInsideTrap:p,disableRestoreFocus:v,isClickableOutsideFocusTrap:y,responsiveMode:I,className:a,containerClassName:s,isBlocking:b,isDarkOverlay:C,onDismissed:k}),B),{dragOptions:r,layerProps:A,isOpen:S}),L=d(d(d({className:l,subText:D,title:T,topButtonsProps:P,type:R},YC),i.dialogContentProps),{draggableHeaderClassName:n,titleProps:d({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=jC(h,{theme:E,className:F.className,containerClassName:F.containerClassName,hidden:m,dialogDefaultMinWidth:M,dialogDefaultMaxWidth:N});return g.createElement(AC,d({},F,{className:H.root,containerClassName:H.main,onDismiss:x||F.onDismiss,subtitleAriaId:this._getSubTextId(),titleAriaId:this._getTitleTextId()}),g.createElement(GC,d({subTextId:this._defaultSubTextId,showCloseButton:F.isBlocking,onDismiss:x},L),i.children))},t.defaultProps={hidden:!0},h([Ed],t)}(g.Component),XC={root:"ms-Dialog"},QC=rr(ZC,(function(e){var t,o=e.className,n=e.containerClassName,r=e.dialogDefaultMinWidth,i=void 0===r?"288px":r,a=e.dialogDefaultMaxWidth,s=void 0===a?"340px":a,l=e.hidden,c=e.theme;return{root:[Ro(XC,c).root,c.fonts.medium,o],main:[{width:i,outline:"3px solid transparent",selectors:(t={},t["@media (min-width: ".concat(Lo,"px)")]={width:"auto",maxWidth:s,minWidth:i},t)},!l&&{display:"flex"},n]}}),void 0,{scope:"Dialog"});QC.displayName="Dialog",function(e){e[e.normal=0]="normal",e[e.compact=1]="compact"}(UC||(UC={}));var JC,$C=gr(),e_=g.createContext({}),t_=function(e){function t(t){var o=e.call(this,t)||this;return o._rootElement=g.createRef(),o._onClick=function(e){o._onAction(e)},o._onKeyDown=function(e){e.which!==ar.enter&&e.which!==ar.space||o._onAction(e)},o._onAction=function(e){var t=o.props,n=t.onClick,r=t.onClickHref,i=t.onClickTarget,a=Mc(o.context);n?n(e):!n&&r&&(i?a.open(r,i,"noreferrer noopener nofollow"):a.location.href=r,e.preventDefault(),e.stopPropagation())},Ji(o),o}return u(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=jr(this.props,Ur,["className","onClick","type","role"]),p=!(!o&&!n);this._classNames=$C(s,{theme:l,className:c,actionable:p,compact:i===UC.compact}),i===UC.compact&&a&&(e={borderBottomColor:a});var h={role:this.props.role||(p?o?"button":"link":void 0),tabIndex:p?0:void 0};return g.createElement("div",d({ref:this._rootElement,role:"group",className:this._classNames.root,onKeyDown:p?this._onKeyDown:void 0,onClick:p?this._onClick:void 0,style:e},u),g.createElement(e_.Provider,{value:h},r))},t.prototype.focus=function(){this._rootElement.current&&this._rootElement.current.focus()},t.defaultProps={type:UC.normal},t.contextType=ra,t}(g.Component),o_={root:"ms-DocumentCardPreview",icon:"ms-DocumentCardPreview-icon",iconContainer:"ms-DocumentCardPreview-iconContainer"},n_={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"},r_={root:"ms-DocumentCardTitle"},i_={root:"ms-DocumentCardLocation"},a_={root:"ms-DocumentCard",rootActionable:"ms-DocumentCard--actionable",rootCompact:"ms-DocumentCard--compact"},s_=rr(t_,(function(e){var t,o,n=e.className,r=e.theme,i=e.actionable,a=e.compact,s=r.palette,l=r.fonts,c=r.effects,u=Ro(a_,r);return{root:[u.root,{WebkitFontSmoothing:"antialiased",backgroundColor:s.white,border:"1px solid ".concat(s.neutralLight),maxWidth:"320px",minWidth:"206px",userSelect:"none",position:"relative",selectors:(t={":focus":{outline:"0px solid"}},t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]=an(s.neutralSecondary,c.roundedCorner2),t[".".concat(i_.root," + .").concat(r_.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(o_.root)]={borderRight:"1px solid ".concat(s.neutralLight),borderBottom:0,maxHeight:"106px",maxWidth:"144px"},o[".".concat(o_.icon)]={maxHeight:"32px",maxWidth:"32px"},o[".".concat(n_.root)]={paddingBottom:"12px"},o[".".concat(r_.root)]={paddingBottom:"12px 16px 8px 16px",fontSize:l.mediumPlus.fontSize,lineHeight:"16px"},o)}],n]}}),void 0,{scope:"DocumentCard"}),l_=gr(),c_=function(e){function t(t){var o=e.call(this,t)||this;return Ji(o),o}return u(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=l_(r,{theme:i,className:a}),g.createElement("div",{className:this._classNames.root},o&&o.map((function(t,o){return g.createElement("div",{className:e._classNames.action,key:o},g.createElement(fp,d({},t)))})),n>0&&g.createElement("div",{className:this._classNames.views},g.createElement(ki,{iconName:"View",className:this._classNames.viewsIcon}),n))},t}(g.Component),u_={root:"ms-DocumentCardActions",action:"ms-DocumentCardActions-action",views:"ms-DocumentCardActions-views"},d_=rr(c_,(function(e){var t=e.className,o=e.theme,n=o.palette,r=o.fonts,i=Ro(u_,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"}),p_=gr(),h_=function(e){function t(t){var o=e.call(this,t)||this;return Ji(o),o}return u(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=p_(n,{theme:r,className:i,multiplePeople:o.length>1}),o&&0!==o.length?g.createElement("div",{className:this._classNames.root},this._renderAvatars(o),g.createElement("div",{className:this._classNames.details},g.createElement("span",{className:this._classNames.name},this._getNameString(o)),g.createElement("span",{className:this._classNames.activity},t))):null},t.prototype._renderAvatars=function(e){return g.createElement("div",{className:this._classNames.avatars},e.length>1?this._renderAvatar(e[1]):null,this._renderAvatar(e[0]))},t.prototype._renderAvatar=function(e){return g.createElement("div",{className:this._classNames.avatar},g.createElement(qi,{imageInitials:e.initials,text:e.name,imageUrl:e.profileImageSrc,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,role:"presentation",size:hi.size32}))},t.prototype._getNameString=function(e){var t=e[0].name;return e.length>=2&&(t+=" +"+(e.length-1)),t},t}(g.Component),m_=rr(h_,(function(e){var t=e.theme,o=e.className,n=e.multiplePeople,r=t.palette,i=t.fonts,a=Ro(n_,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:$e.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"}),f_=gr(),g_=function(e){function t(t){var o=e.call(this,t)||this;return Ji(o),o}return u(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=f_(o,{theme:n,className:r}),g.createElement("div",{className:this._classNames.root},t)},t}(g.Component),v_={root:"ms-DocumentCardDetails"},b_=rr(g_,(function(e){var t=e.className,o=e.theme;return{root:[Ro(v_,o).root,{display:"flex",flexDirection:"column",flex:1,justifyContent:"space-between",overflow:"hidden"},t]}}),void 0,{scope:"DocumentCardDetails"}),y_=gr(),C_=function(e){function t(t){var o=e.call(this,t)||this;return o._onImageLoad=function(){o.setState({imageHasLoaded:!0})},Ji(o),o.state={imageHasLoaded:!1},o}return u(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=y_(t,this.props),g.createElement("div",{className:this._classNames.root},i&&g.createElement(ci,{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 g.createElement("div",{className:this._classNames.centeredIconWrapper},g.createElement(ki,d({className:this._classNames.centeredIcon},e)))},t.prototype._renderCornerIcon=function(){var e=this.props.iconProps;return g.createElement(ki,d({className:this._classNames.cornerIcon},e))},t}(g.Component),__="42px",S_="32px",x_=rr(C_,(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:__,width:__,fontSize:__}],centeredIconWrapper:[{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",position:"absolute",top:0,left:0}],cornerIcon:[{left:"10px",bottom:"10px",height:S_,width:S_,fontSize:S_,position:"absolute",overflow:"visible"}]}}),void 0,{scope:"DocumentCardImage"}),k_=gr(),w_=function(e){function t(t){var o=e.call(this,t)||this;return Ji(o),o}return u(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=k_(i,{theme:a,className:s}),g.createElement("a",{className:this._classNames.root,href:o,onClick:r,"aria-label":n},t)},t}(g.Component),I_=rr(w_,(function(e){var t=e.theme,o=e.className,n=t.palette,r=t.fonts;return{root:[Ro(i_,t).root,r.small,{color:n.themePrimary,display:"block",fontWeight:$e.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"}),D_=gr(),E_=function(e){function t(t){var o=e.call(this,t)||this;return Ji(o),o}return u(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=D_(o,{theme:n,className:r}),g.createElement("div",{className:this._classNames.root},g.createElement(ki,{iconName:t}))},t}(g.Component),T_={root:"ms-DocumentCardLogo"},P_=rr(E_,(function(e){var t=e.theme,o=e.className,n=t.palette,r=t.fonts;return{root:[Ro(T_,t).root,{fontSize:r.xxLargePlus.fontSize,color:n.themePrimary,display:"block",padding:"16px 16px 0 16px"},o]}}),void 0,{scope:"DocumentCardLogo"}),R_=gr(),M_=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 g.createElement("li",{key:t},g.createElement(ci,{className:o._classNames.fileListIcon,src:e.iconSrc,role:"presentation",alt:"",width:"16px",height:"16px"}),g.createElement(rl,d({className:o._classNames.fileListLink,href:e.url},e.linkProps),e.name))}));return g.createElement("div",null,g.createElement("ul",{className:o._classNames.fileList},l),s&&g.createElement("span",{className:o._classNames.fileListOverflowText},s))},Ji(o),o}return u(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=R_(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})),g.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 g.createElement("div",{className:pi(this._classNames.previewIcon,i),style:{width:t,height:o}},g.createElement(ki,d({},r)));var a,s=g.createElement(ci,{width:t,height:o,imageFit:n,src:e.previewImageSrc,role:"presentation",alt:""});return e.iconSrc&&(a=g.createElement(ci,{className:this._classNames.icon,src:e.iconSrc,role:"presentation",alt:""})),g.createElement("div",null,s,a)},t}(g.Component),N_=rr(M_,(function(e){var t,o,n=e.theme,r=e.className,i=e.isFileList,a=n.palette,s=n.fonts,l=Ro(o_,n);return{root:[l.root,s.small,{backgroundColor:i?a.white:a.neutralLighterAlt,borderBottom:"1px solid ".concat(a.neutralLight),overflow:"hidden",position:"relative"},r],previewIcon:[l.iconContainer,{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}],icon:[l.icon,{left:"10px",bottom:"10px",position:"absolute"}],fileList:{padding:"16px 16px 0 16px",listStyleType:"none",margin:0,selectors:{li:{height:"16px",lineHeight:"16px",display:"flex",flexWrap:"nowrap",alignItems:"center",marginBottom:"8px",overflow:"hidden"}}},fileListIcon:{display:"inline-block",flexShrink:0,marginRight:"8px"},fileListLink:[on(n,{highContrastStyle:{border:"1px solid WindowText",outline:"none"}}),{boxSizing:"border-box",color:a.neutralDark,flexGrow:1,overflow:"hidden",display:"inline-block",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",selectors:(t={":hover":{color:a.themePrimary}},t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={selectors:(o={},o[Mo]={outline:"none"},o)},t)}],fileListOverflowText:{padding:"0px 16px 8px 16px",display:"block"}}}),void 0,{scope:"DocumentCardPreview"}),B_=gr(),A_=function(e){function t(t){var o=e.call(this,t)||this;return Ji(o),o}return u(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=B_(n,{theme:r,className:i}),g.createElement("div",{className:this._classNames.root},t&&g.createElement(ki,d({},a)),o)},t}(g.Component),F_={root:"ms-DocumentCardStatus"},L_=rr(A_,(function(e){var t=e.className,o=e.theme,n=o.palette,r=o.fonts;return{root:[Ro(F_,o).root,r.medium,{margin:"8px 16px",color:n.neutralPrimary,backgroundColor:n.neutralLighter,height:"32px"},t]}}),void 0,{scope:"DocumentCardStatus"}),H_=gr(),O_=function(e){function t(t){var o=e.call(this,t)||this;return o._titleElement=g.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)})}},Ji(o),o._async=new na(o),o._events=new dl(o),o._clientWidth=void 0,o.state={truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0},o}return u(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=Mc(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=Mc(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=H_(i,{theme:a,className:s,showAsSecondaryTitle:r}),n&&c&&u?g.createElement(e_.Consumer,null,(function(t){var n=t.role,r=t.tabIndex;return g.createElement("div",{className:e._classNames.root,ref:e._titleElement,title:o,tabIndex:r,role:n},c,"…",u)})):g.createElement(e_.Consumer,null,(function(t){var n=t.role,r=t.tabIndex;return g.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=ra,t}(g.Component),z_=rr(O_,(function(e){var t,o=e.theme,n=e.className,r=e.showAsSecondaryTitle,i=o.palette,a=o.fonts,s=o.effects;return{root:[Ro(r_,o).root,r?a.medium:a.large,{padding:"8px 16px",display:"block",overflow:"hidden",position:"relative",wordWrap:"break-word",height:r?"45px":"38px",lineHeight:r?"18px":"21px",color:r?i.neutralSecondary:i.neutralPrimary,selectors:(t={":focus":{outline:"0px solid"}},t[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]=an(i.neutralSecondary,s.roundedCorner2),t)},n]}}),void 0,{scope:"DocumentCardTitle"}),W_=function(e){var t;return function(o){t||(t=new Set,Qi(e,{componentWillUnmount:function(){t.forEach((function(e){return cancelAnimationFrame(e)}))}}));var n=requestAnimationFrame((function(){t.delete(n),o()}));t.add(n)}},V_=function(){function e(){this._size=0}return e.prototype.updateOptions=function(e){for(var t=[],o=[],n=0,r=0;r<e.length;r++){var i=e[r],a=i.itemType,s=i.hidden;a===Sv.Divider||a===Sv.Header?(t.push(r),o.push(r)):s?o.push(r):n++}this._size=n,this._displayOnlyOptionsCache=t,this._notSelectableOptionsCache=o,this._cachedOptions=m([],e,!0)},Object.defineProperty(e.prototype,"optionSetSize",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cachedOptions",{get:function(){return this._cachedOptions},enumerable:!1,configurable:!0}),e.prototype.positionInSet=function(e){if(void 0!==e){for(var t=0;e>this._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"}(JC||(JC={}));var K_,G_=gr();!function(e){e[e.closed=0]="closed",e[e.animatingOpen=1]="animatingOpen",e[e.open=2]="open",e[e.animatingClosed=3]="animatingClosed"}(K_||(K_={}));var U_,j_,q_,Y_,Z_,X_=function(e){function t(t){var o=e.call(this,t)||this;o._panel=g.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?ps(e,o._events):ds(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 g.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 g.createElement(g.Fragment,null,!o._hasCustomNavigation&&a(o.props,o._onRenderHeader,o._headerTextId),g.createElement(fp,{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?g.createElement("div",{className:o._classNames.header},g.createElement("div",d({id:n,role:"heading","aria-level":1},a,{className:pi(o._classNames.headerText,a.className)}),r)):null},o._onRenderBody=function(e){return g.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?g.createElement("div",{className:o._classNames.footer},g.createElement("div",{className:o._classNames.footerInner},n())):null},o._animateTo=function(e){e===K_.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===K_.open&&o.props.onOpened&&o.props.onOpened(),e===K_.closed&&o.props.onDismissed&&o.props.onDismissed()};var n=o.props.allowTouchBodyScroll,r=void 0!==n&&n;return o._allowTouchBodyScroll=r,Ji(o),o.state={isFooterSticky:!1,visibility:K_.closed,id:as("Panel")},o}return u(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?null:!e.isOpen||t.visibility!==K_.closed&&t.visibility!==K_.animatingClosed?e.isOpen||t.visibility!==K_.open&&t.visibility!==K_.animatingOpen?null:{visibility:K_.animatingClosed}:{visibility:K_.animatingOpen}},t.prototype.componentDidMount=function(){this._async=new na(this),this._events=new dl(this);var e=Mc(this.context),t=Rc(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:K_.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===K_.animatingOpen?this._animateTo(K_.open):this.state.visibility===K_.animatingClosed&&this._animateTo(K_.closed));var r=Rc(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,p=e.ignoreExternalFocusing,h=e.isBlocking,m=e.isFooterAtBottom,f=e.isLightDismiss,v=e.isHiddenOnDismiss,b=e.layerProps,y=e.overlayProps,C=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=_===JC.smallFixedNear||_===JC.customNear,z=lr(x)?O:!O,W=_===JC.custom||_===JC.customNear?{width:k}:{},V=jr(this.props,Ur),K=this.isActive,G=L===K_.animatingClosed||L===K_.animatingOpen;if(this._headerTextId=l&&H+"-headerText",!K&&!G&&!v)return null;this._classNames=G_(S,{theme:x,className:o,focusTrapZoneClassName:i?i.className:void 0,hasCloseButton:s,headerClassName:u,isAnimating:G,isFooterSticky:F,isFooterAtBottom:m,isOnRightSide:z,isOpen:K,isHiddenOnDismiss:v,type:_,hasCustomNavigation:this._hasCustomNavigation});var U,j=this._classNames,q=this._allowTouchBodyScroll;return h&&K&&(U=g.createElement(wC,d({className:j.overlay,isDarkThemed:!1,onClick:f?I:void 0,allowTouchBodyScroll:q},y))),g.createElement(ku,d({},b),g.createElement(wc,d({role:"dialog","aria-modal":h?"true":void 0,ariaLabelledBy:this._headerTextId?this._headerTextId:void 0,onDismiss:this.dismiss,className:j.hiddenPanel,enableAriaHiddenSiblings:!!K},C),g.createElement("div",d({"aria-hidden":!K&&G},V,{ref:this._panel,className:j.root}),U,g.createElement(qm,d({ignoreExternalFocusing:p,forceFocusInsideTrap:!(!h||v&&!K)&&a,firstFocusableSelector:r,isClickableOutsideFocusTrap:!0},i,{className:j.main,style:W,elementToFocusOnDismiss:n}),g.createElement("div",{className:j.contentInner},g.createElement("div",{ref:this._allowScrollOnPanel,className:j.scrollableContent,"data-is-scrollable":!0},g.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:K_.animatingOpen}))},t.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:K_.animatingClosed})},Object.defineProperty(t.prototype,"isActive",{get:function(){return this.state.visibility===K_.open||this.state.visibility===K_.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:t<o})}},t.prototype._dismissOnOuterClick=function(e){var t=this._panel.current;this.isActive&&t&&!e.defaultPrevented&&(Ma(t,e.target)||(this.props.onOuterClick?this.props.onOuterClick(e):this.dismiss(e)))},t.defaultProps={isHiddenOnDismiss:!1,isOpen:void 0,isBlocking:!0,hasCloseButton:!0,type:JC.smallFixedFar},t.contextType=ra,t}(g.Component),Q_={root:"ms-Panel",main:"ms-Panel-main",commands:"ms-Panel-commands",contentInner:"ms-Panel-contentInner",scrollableContent:"ms-Panel-scrollableContent",navigation:"ms-Panel-navigation",closeButton:"ms-Panel-closeButton ms-PanelAction-close",header:"ms-Panel-header",headerText:"ms-Panel-headerText",content:"ms-Panel-content",footer:"ms-Panel-footer",footerInner:"ms-Panel-footerInner",isOpen:"is-open",hasCloseButton:"ms-Panel--hasCloseButton",smallFluid:"ms-Panel--smFluid",smallFixedNear:"ms-Panel--smLeft",smallFixedFar:"ms-Panel--sm",medium:"ms-Panel--md",large:"ms-Panel--lg",largeFixed:"ms-Panel--fixed",extraLarge:"ms-Panel--xl",custom:"ms-Panel--custom",customNear:"ms-Panel--customLeft"},J_="auto",$_=((U_={})["@media (min-width: ".concat(Lo,"px)")]={width:340},U_),eS=((j_={})["@media (min-width: ".concat(Ho,"px)")]={width:592},j_["@media (min-width: ".concat(Oo,"px)")]={width:644},j_),tS=((q_={})["@media (min-width: ".concat(qo,"px)")]={left:48,width:"auto"},q_["@media (min-width: ".concat(zo,"px)")]={left:428},q_),oS=((Y_={})["@media (min-width: ".concat(zo,"px)")]={left:J_,width:940},Y_),nS=((Z_={})["@media (min-width: ".concat(zo,"px)")]={left:176},Z_),rS=function(e){var t;switch(e){case JC.smallFixedFar:t=d({},$_);break;case JC.medium:t=d(d({},$_),eS);break;case JC.large:t=d(d(d({},$_),eS),tS);break;case JC.largeFixed:t=d(d(d(d({},$_),eS),tS),oS);break;case JC.extraLarge:t=d(d(d(d({},$_),eS),tS),nS)}return t},iS={paddingLeft:"24px",paddingRight:"24px"},aS=rr(X_,(function(e){var t,o,n,r,i=e.className,a=e.focusTrapZoneClassName,s=e.hasCloseButton,l=e.headerClassName,c=e.isAnimating,u=e.isFooterSticky,p=e.isFooterAtBottom,h=e.isOnRightSide,m=e.isOpen,f=e.isHiddenOnDismiss,g=e.hasCustomNavigation,v=e.theme,b=e.type,y=void 0===b?JC.smallFixedFar:b,C=v.effects,_=v.fonts,S=v.semanticColors,x=Ro(Q_,v),k=y===JC.custom||y===JC.customNear;return{root:[x.root,v.fonts.medium,m&&x.isOpen,s&&x.hasCloseButton,{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0},k&&h&&x.custom,k&&!h&&x.customNear,i],overlay:[{pointerEvents:"auto",cursor:"pointer"},m&&c&&tt.fadeIn100,!m&&c&&tt.fadeOut100],hiddenPanel:[!m&&!c&&f&&{visibility:"hidden"}],main:[x.main,{backgroundColor:S.bodyBackground,boxShadow:C.elevation64,pointerEvents:"auto",position:"absolute",display:"flex",flexDirection:"column",overflowX:"hidden",overflowY:"auto",WebkitOverflowScrolling:"touch",bottom:0,top:0,left:J_,right:0,width:"100%",selectors:d((t={},t[Mo]={borderLeft:"3px solid ".concat(S.variantBorder),borderRight:"3px solid ".concat(S.variantBorder)},t),rS(y))},y===JC.smallFluid&&{left:0},y===JC.smallFixedNear&&{left:0,right:J_,width:272},y===JC.customNear&&{right:"auto",left:0},k&&{maxWidth:"100vw"},m&&c&&!h&&tt.slideRightIn40,m&&c&&h&&tt.slideLeftIn40,!m&&c&&!h&&tt.slideLeftOut40,!m&&c&&h&&tt.slideRightOut40,a],commands:[x.commands,{backgroundColor:S.bodyBackground,paddingTop:18,selectors:(o={},o["@media (min-height: ".concat(Lo,"px)")]={position:"sticky",top:0,zIndex:1},o)},g&&{paddingTop:"inherit"}],navigation:[x.navigation,{display:"flex",justifyContent:"flex-end"},g&&{height:"44px"}],contentInner:[x.contentInner,{display:"flex",flexDirection:"column",flexGrow:1,overflowY:"hidden"}],header:[x.header,iS,{alignSelf:"flex-start"},s&&!g&&{flexGrow:1},g&&{flexShrink:0}],headerText:[x.headerText,_.xLarge,{color:S.bodyText,lineHeight:"27px",overflowWrap:"break-word",wordWrap:"break-word",wordBreak:"break-word",hyphens:"auto"},l],scrollableContent:[x.scrollableContent,{overflowY:"auto"},p&&{flexGrow:1,display:"inherit",flexDirection:"inherit"}],content:[x.content,iS,{paddingBottom:20},p&&{selectors:(n={},n["@media (min-height: ".concat(Lo,"px)")]={flexGrow:1},n)}],footer:[x.footer,{flexShrink:0,borderTop:"1px solid transparent",transition:"opacity ".concat(Ke.durationValue3," ").concat(Ke.easeFunction2),selectors:(r={},r["@media (min-height: ".concat(Lo,"px)")]={position:"sticky",bottom:0},r)},u&&{backgroundColor:S.bodyBackground,borderTopColor:S.variantBorder}],footerInner:[x.footerInner,iS,{paddingBottom:16,paddingTop:16}],subComponentStyles:{closeButton:{root:[x.closeButton,{marginRight:14,color:v.palette.neutralSecondary,fontSize:et.large},g&&{marginRight:0,height:"auto",width:"44px"}],rootHovered:{color:v.palette.neutralPrimary}}}}}),void 0,{scope:"Panel"}),sS=gr(),lS={options:[]},cS=g.forwardRef((function(e,t){var o=yr(lS,e),n=g.useRef(null),r=ri(t,n),i=Rd(n,o.responsiveMode),a=function(e){var t,o=e.defaultSelectedKeys,n=e.selectedKeys,r=e.defaultSelectedKey,i=e.selectedKey,a=e.options,s=e.multiSelect,l=ed(a),c=g.useState([]),u=c[0],d=c[1],p=a!==l,h=ed(t=s?p&&void 0!==o?o:n:p&&void 0!==r?r:i);return g.useEffect((function(){var e=function(e){return va(a,(function(t){return null!=e?t.key===e:!!t.selected||!!t.isSelected}))};void 0===t&&l||t===h&&!p||d(function(){if(void 0===t)return s?a.map((function(e,t){return e.selected?t:-1})).filter((function(e){return-1!==e})):-1!==(i=e(null))?[i]:[];if(!Array.isArray(t))return-1!==(i=e(t))?[i]:[];for(var o=[],n=0,r=t;n<r.length;n++){var i,l=r[n];-1!==(i=e(l))&&o.push(i)}return o}())}),[p,s,l,h,a,t]),[u,d]}(o),s=a[0],l=a[1];return g.createElement(fS,d({},o,{responsiveMode:i,hoisted:{rootRef:r,selectedIndices:s,setSelectedIndices:l}}))}));cS.displayName="DropdownBase";var uS,dS,pS,hS,mS,fS=function(e){function t(t){var o=e.call(this,t)||this;o._host=g.createRef(),o._focusZone=g.createRef(),o._dropDown=g.createRef(),o._scrollIdleDelay=250,o._sizePosCache=new V_,o._requestAnimationFrame=W_(o),o.dismissMenu=function(){o.state.isOpen&&o.setState({isOpen:!1})},o._onChange=function(e,t,n,r,i){var a=o.props,s=a.onChange,l=a.onChanged;if(s||l){var c=i?d(d({},t[n]),{selected:!r}):t[n];s&&s(d(d({},e),{target:o._dropDown.current}),c,n),l&&l(c,n)}},o._getPlaceholder=function(){return o.props.placeholder||o.props.placeHolder},o._getTitle=function(e,t){var n=o.props.multiSelectDelimiter,r=void 0===n?", ":n;return e.map((function(e){return e.text})).join(r)},o._onRenderTitle=function(e){return g.createElement(g.Fragment,null,o._getTitle(e))},o._onRenderPlaceholder=function(e){return o._getPlaceholder()?g.createElement(g.Fragment,null,o._getPlaceholder()):null},o._onRenderContainer=function(e){var t=e.calloutProps,n=e.panelProps,r=o.props,i=r.responsiveMode,a=r.dropdownWidth,s=i<=yd.medium,l={firstFocusableTarget:"#".concat(o._listId,"1")},c=o._classNames.subComponentStyles?o._classNames.subComponentStyles.panel:void 0,u=void 0,p=void 0;return"auto"===a?p=o._dropDown.current?o._dropDown.current.clientWidth:0:u=a||(o._dropDown.current?o._dropDown.current.clientWidth:0),s?g.createElement(aS,d({closeButtonAriaLabel:"Close",focusTrapZoneProps:l,hasCloseButton:!0,isOpen:!0,isLightDismiss:!0,onDismiss:o._onDismiss,styles:c},n),o._renderFocusableList(e)):g.createElement(wu,d({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:Sl.bottomLeftEdge,calloutWidth:u,calloutMinWidth:p},t,{className:o._classNames.callout,target:o._dropDown.current,onDismiss:o._onDismiss,onScroll:o._onScroll,onPositioned:o._onPositioned}),o._renderFocusableList(e))},o._onRenderCaretDown=function(e){return g.createElement(ki,{className:o._classNames.caretDown,iconName:"ChevronDown","aria-hidden":!0})},o._onRenderList=function(e){var t=e.onRenderItem,n=void 0===t?o._onRenderItem:t,r={items:[]},i=[],a=function(){var e=r.id?[g.createElement("div",{role:"group",key:r.id,"aria-labelledby":r.id},r.items)]:r.items;i=m(m([],i,!0),e,!0),r={items:[]}};return e.options.forEach((function(e,t){!function(e,t){switch(e.itemType){case Sv.Header:r.items.length>0&&a();var i=o._id+e.key;r.items.push(n(d(d({id:i},e),{index:t}),o._onRenderItem)),r.id=i;break;case Sv.Divider:t>0&&r.items.push(n(d(d({},e),{index:t}),o._onRenderItem)),r.items.length>0&&a();break;default:r.items.push(n(d(d({},e),{index:t}),o._onRenderItem))}}(e,t)})),r.items.length>0&&a(),g.createElement(g.Fragment,null,i)},o._onRenderItem=function(e){switch(e.itemType){case Sv.Divider:return o._renderSeparator(e);case Sv.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,p=o._listId+e.index,h=null!==(t=e.id)&&void 0!==t?t:p+"-label",m=o._classNames.subComponentStyles?o._classNames.subComponentStyles.multiSelectItem:void 0;return o.props.multiSelect?g.createElement(af,{id:p,key:e.key,disabled:e.disabled,onChange:o._onItemClick(e),inputProps:d({"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,d(d({},e),{id:h})),className:pi(c,"is-multi-select"),checked:l,styles:m,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:h}):g.createElement(sh,{id:p,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 g.createElement("span",{className:o._classNames.dropdownOptionText},e.text)},o._onRenderMultiselectOption=function(e){return g.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=ct().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=Mc(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 ar.enter:o.setState({isOpen:!i});break;case ar.escape:if(!i)return;o.setState({isOpen:!1});break;case ar.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 ar.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 ar.home:o.props.multiSelect||(t=o._moveIndex(e,1,0,n));break;case ar.end:o.props.multiSelect||(t=o._moveIndex(e,-1,o.props.options.length-1,n));break;case ar.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===ar.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 ar.up:i?o.setState({isOpen:!1}):o._host.current&&(r=Ha(o._host.current,o._host.current.lastChild,!0));break;case ar.home:case ar.end:case ar.pageUp:case ar.pageDown:break;case ar.down:!i&&o._host.current&&(r=La(o._host.current,o._host.current.firstChild,!0));break;case ar.escape:o.setState({isOpen:!1});break;case ar.tab:o.setState({isOpen:!1});var a=ct();a&&(e.shiftKey?null===(t=Va(a.body,o._dropDown.current,!1,!1,!0,!0))||void 0===t||t.focus():null===(n=Ka(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?g.createElement(cf,{className:o._classNames.label,id:o._labelId,required:n,styles:i,disabled:r},t):null},Ji(o),t.multiSelect,t.selectedKey,t.selectedKeys,t.defaultSelectedKey,t.defaultSelectedKeys;var n=t.options;return o._id=t.id||as("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 u(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props;return Bv(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,p=t.calloutProps,h=t.onRenderTitle,m=void 0===h?this._getTitle:h,f=t.onRenderContainer,v=void 0===f?this._onRenderContainer:f,b=t.onRenderCaretDown,y=void 0===b?this._onRenderCaretDown:b,C=t.onRenderLabel,_=void 0===C?this._onRenderLabel:C,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=Bv(r,k),R=jr(t,Ur),M=this._isDisabled(),N=e+"-errorMessage";this._classNames=sS(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:p?p.className:void 0,calloutRenderEdge:D});var B=!!s&&s.length>0;return g.createElement("div",{className:this._classNames.root,ref:this.props.hoisted.rootRef,"aria-owns":I?this._listId:void 0},_(this.props,this._onRenderLabel),g.createElement("div",d({"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?bl(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}),g.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?m(P,this._onRenderTitle):T(t,this._onRenderPlaceholder)),g.createElement("span",{className:this._classNames.caretDownWrapper},y(t,this._onRenderCaretDown))),I&&v(d(d({},t),{onDismiss:this._onDismiss,onRenderItem:x}),this._onRenderContainer),B&&g.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<n.length;o++){var r=n[o];t.push(r)}return t},t.prototype._moveIndex=function(e,t,o,n){var r=this.props.options;if(n===o||0===r.length)return n;o>=r.length?o=0:o<0&&(o=r.length-1);for(var i=0;r[o].itemType===Sv.Header||r[o].itemType===Sv.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 g.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},g.createElement(Hs,{ref:this._focusZone,direction:da.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?g.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 g.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=Rc(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===ar.alt||"Meta"===e.key},t.prototype._shouldHandleKeyUp=function(e){var t=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!t&&!(wl()||El())},t.prototype._shouldOpenOnFocus=function(){var e=this.state.hasFocus,t=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&!0===t&&!e},t.defaultProps={options:[]},t.contextType=ra,t}(g.Component),gS={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"},vS=((uS={})["".concat(Mo,", ").concat(No.replace("@media ",""))]=d({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),uS),bS={selectors:d((dS={},dS[Mo]=(pS={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},pS[".".concat(Jo," &:focus:after")]={borderColor:"HighlightText"},pS),dS[".ms-Checkbox-checkbox"]=(hS={},hS[Mo]={borderColor:"HighlightText"},hS),dS),vS)},yS={selectors:(mS={},mS[Mo]={borderColor:"Highlight"},mS)},CS=Yo(0,Lo),_S=rr(cS,(function(e){var t,o,n,r,i,a,s,l,c,u,p,h,f=e.theme,g=e.hasError,v=e.hasLabel,b=e.className,y=e.isOpen,C=e.disabled,_=e.required,S=e.isRenderingPlaceholder,x=e.panelClassName,k=e.calloutClassName,w=e.calloutRenderEdge;if(!f)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var I=Ro(gS,f),D=f.palette,E=f.semanticColors,T=f.effects,P=f.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,d(d({},P.medium),{fontWeight:$e.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[Mo]=d({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},bS],"&.is-multi-select:hover":[{backgroundColor:e?F:"transparent"},bS],"&:active:hover":[{color:E.menuItemTextHovered,backgroundColor:e?E.menuItemBackgroundHovered:E.menuItemBackgroundPressed},bS]},t[".".concat(Jo," &:focus:after, :host(.").concat(Jo,") &:focus:after")]=(o={left:0,top:0,bottom:0,right:0},o[Mo]={inset:"2px"},o),t[Mo]={border:"none"},t)}},H=m(m([],B,!0),[{backgroundColor:F,color:E.menuItemTextHovered},L(!0),bS],!1),O=m(m([],B,!0),[{color:E.disabledText,cursor:"default",selectors:(o={},o[Mo]={color:"GrayText",border:"none"},o)}],!1),z=w===Il.bottom?"".concat(T.roundedCorner2," ").concat(T.roundedCorner2," 0 0"):"0 0 ".concat(T.roundedCorner2," ").concat(T.roundedCorner2),W=w===Il.bottom?"0 0 ".concat(T.roundedCorner2," ").concat(T.roundedCorner2):"".concat(T.roundedCorner2," ").concat(T.roundedCorner2," 0 0");return{root:[I.root,b],label:I.label,dropdown:[I.dropdown,dn,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},yS],n["&:focus ."+I.title]=[!C&&R,{selectors:(r={},r[Mo]={color:"Highlight"},r)}],n["&:focus:after"]=[{pointerEvents:"none",content:"''",position:"absolute",boxSizing:"border-box",top:"0px",left:"0px",width:"100%",height:"100%",border:C?"none":"2px solid ".concat(D.themePrimary),borderRadius:"2px",selectors:(i={},i[Mo]={color:"Highlight"},i)}],n["&:active ."+I.title]=[!C&&R,{borderColor:D.themePrimary},yS],n["&:hover ."+I.caretDown]=!C&&M,n["&:focus ."+I.caretDown]=[!C&&M,{selectors:(a={},a[Mo]={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",_&&!v&&{selectors:(s={":before":{content:"'*'",color:E.errorText,position:"absolute",top:-5,right:-10}},s[Mo]={selectors:{":after":{right:-14}}},s)}],title:[I.title,dn,{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}],g&&[I.titleHasError,N],C&&{backgroundColor:E.disabledBackground,border:"none",color:E.disabledText,cursor:"default",selectors:(l={},l[Mo]=d({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[Mo]=d({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),c)}],errorMessage:d(d({color:E.errorText},f.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:m(m([],B,!0),[L()],!1),dropdownItemSelected:H,dropdownItemDisabled:O,dropdownItemSelectedAndDisabled:[H,O,{backgroundColor:"transparent"}],dropdownItemHidden:m(m([],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:m(m([],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:(p={},p[".".concat(Jo," &:focus + label::before, :host(.").concat(Jo,") &:focus + label::before")]={outlineOffset:"0px"},p)}},panel:{root:[x],main:{selectors:(h={},h[CS]={width:272},h)},contentInner:{padding:"0 0 20px"}}}}}),void 0,{scope:"Dropdown"});_S.displayName="Dropdown",Kt([{rawString:".resultContent_4cc31f3f{display:table-row}.resultContent_4cc31f3f .resultItem_4cc31f3f{display:table-cell;vertical-align:bottom}.peoplePickerPersona_4cc31f3f{width:180px}.peoplePickerPersona_4cc31f3f .ms-Persona-details{width:100%}.peoplePicker_4cc31f3f .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_4cc31f3f{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}"}]),Kt([{rawString:".pickerText_9f838726{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid "},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";min-width:180px;padding:1px;min-height:32px}.pickerText_9f838726:hover{border-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.pickerInput_9f838726{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;margin:1px}.pickerInput_9f838726::-ms-clear{display:none}"}]);var SS,xS="pickerText_9f838726",kS="pickerInput_9f838726",wS=o,IS=function(e){function t(t){var o=e.call(this,t)||this;return o.floatingPicker=g.createRef(),o.selectedItemsList=g.createRef(),o.root=g.createRef(),o.input=g.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===ar.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()},Ji(o),o.selection=new Ey({onSelectionChanged:function(){return o.onSelectionChange()}}),o.state={queryString:""},o}return u(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 g.createElement("div",{ref:this.root,className:pi("ms-BasePicker ms-BaseExtendedPicker",t||""),onKeyDown:this.onBackspace,onCopy:this.onCopy},g.createElement(Hs,d({direction:da.bidirectional},r),g.createElement(Dy,{selection:this.selection,selectionMode:Jb.multiple},g.createElement("div",{className:pi("ms-BasePicker-text",wS.pickerText),role:"list"},this.props.headerComponent,this.renderSelectedItemsList(),this.canAddItems()&&g.createElement(ca,d({},o,{className:pi("ms-BasePicker-input",wS.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.length<e},t.prototype.renderFloatingPicker=function(){var e=this.props.onRenderFloatingPicker;return g.createElement(e,d({componentRef:this.floatingPicker,onChange:this._onSuggestionSelected,onSuggestionsHidden:this._onSuggestionsShownOrHidden,onSuggestionsShown:this._onSuggestionsShownOrHidden,inputElement:this.input.current?this.input.current.inputElement:void 0,selectedItems:this.items,suggestionItems:this.props.suggestionItems?this.props.suggestionItems:void 0},this.floatingPickerProps))},t.prototype.renderSelectedItemsList=function(){var e=this.props.onRenderSelectedItems;return g.createElement(e,d({componentRef:this.selectedItemsList,selection:this.selection,selectedItems:this.props.selectedItems?this.props.selectedItems:void 0,onItemsDeleted:this.props.selectedItems?this.props.onItemsRemoved:void 0},this.selectedItemsListProps))},t.prototype._addProcessedItem=function(e){this.props.onItemAdded&&this.props.onItemAdded(e),this.selectedItemsList.current&&this.selectedItemsList.current.addItems([e]),this.input.current&&this.input.current.clear(),this.floatingPicker.current&&this.floatingPicker.current.hidePicker(),this.focus()},t}(g.Component),DS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t}(IS),ES=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t}(DS);!function(e){e[e.none=0]="none",e[e.descriptive=1]="descriptive",e[e.more=2]="more",e[e.downArrow=3]="downArrow"}(SS||(SS={}));var TS=Do((function(e,t,o){var n=pp(e),r=Nn(n,o);return d(d({},r),{root:[n.root,t,e.fonts.medium,o&&o.root]})})),PS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.className,o=e.styles,n=p(e,["className","styles"]),r=TS(this.props.theme,t,o);return g.createElement(op,d({},n,{variantClassName:"ms-Button--facepile",styles:r,onRenderDescription:vl}))},h([lp("FacepileButton",["theme","styles"],!0)],t)}(g.Component),RS=gr(),MS={size:hi.size48,presence:mi.none,imageAlt:"",showOverflowTooltip:!0},NS=g.forwardRef((function(e,t){var o=yr(MS,e),n=ri(t,g.useRef(null)),r=function(){return o.text||o.primaryText||""},i=function(e,t,n){var r=t&&t(o,n);return r?g.createElement("div",{dir:"auto",className:e},r):void 0},a=function(e,t){return void 0===t&&(t=!0),e?t?function(){return g.createElement(Fp,{content:e,overflowMode:kp.Parent,directionalHint:Sl.topLeftEdge},e)}:function(){return g.createElement(g.Fragment,null,e)}:void 0},s=a(r(),o.showOverflowTooltip),l=a(o.secondaryText,o.showOverflowTooltip),c=a(o.tertiaryText,o.showOverflowTooltip),u=a(o.optionalText,o.showOverflowTooltip),p=o.hidePersonaDetails,h=o.onRenderOptionalText,m=void 0===h?u:h,f=o.onRenderPrimaryText,v=void 0===f?s:f,b=o.onRenderSecondaryText,y=void 0===b?l:b,C=o.onRenderTertiaryText,_=void 0===C?c:C,S=o.onRenderPersonaCoin,x=void 0===S?function(e){return g.createElement(qi,d({},e))}:S,k=o.size,w=o.allowPhoneInitials,I=o.className,D=o.coinProps,E=o.showUnknownPersonaCoin,T=o.coinSize,P=o.styles,R=o.imageAlt,M=o.imageInitials,N=o.imageShouldFadeIn,B=o.imageShouldStartVisible,A=o.imageUrl,F=o.initialsColor,L=o.initialsTextColor,H=o.isOutOfOffice,O=o.onPhotoLoadingStateChange,z=o.onRenderCoin,W=o.onRenderInitials,V=o.presence,K=o.presenceTitle,G=o.presenceColors,U=o.showInitialsUntilImageLoads,j=o.showSecondaryText,q=o.theme,Y=d({allowPhoneInitials:w,showUnknownPersonaCoin:E,coinSize:T,imageAlt:R,imageInitials:M,imageShouldFadeIn:N,imageShouldStartVisible:B,imageUrl:A,initialsColor:F,initialsTextColor:L,onPhotoLoadingStateChange:O,onRenderCoin:z,onRenderInitials:W,presence:V,presenceTitle:K,showInitialsUntilImageLoads:U,size:k,text:r(),isOutOfOffice:H,presenceColors:G},D),Z=RS(P,{theme:q,className:I,showSecondaryText:j,presence:V,size:k}),X=jr(o,Ur),Q=g.createElement("div",{className:Z.details},i(Z.primaryText,v,s),i(Z.secondaryText,y,l),i(Z.tertiaryText,_,c),i(Z.optionalText,m,u),o.children);return g.createElement("div",d({},X,{ref:n,className:Z.root,style:T?{height:T,minWidth:T}:void 0}),x(Y,x),(!p||k===hi.size8||k===hi.size10||k===hi.tiny)&&Q)}));NS.displayName="PersonaBase";var BS={root:"ms-Persona",size8:"ms-Persona--size8",size10:"ms-Persona--size10",size16:"ms-Persona--size16",size24:"ms-Persona--size24",size28:"ms-Persona--size28",size32:"ms-Persona--size32",size40:"ms-Persona--size40",size48:"ms-Persona--size48",size56:"ms-Persona--size56",size72:"ms-Persona--size72",size100:"ms-Persona--size100",size120:"ms-Persona--size120",available:"ms-Persona--online",away:"ms-Persona--away",blocked:"ms-Persona--blocked",busy:"ms-Persona--busy",doNotDisturb:"ms-Persona--donotdisturb",offline:"ms-Persona--offline",details:"ms-Persona-details",primaryText:"ms-Persona-primaryText",secondaryText:"ms-Persona-secondaryText",tertiaryText:"ms-Persona-tertiaryText",optionalText:"ms-Persona-optionalText",textContent:"ms-Persona-textContent"},AS=rr(NS,(function(e){var t=e.className,o=e.showSecondaryText,n=e.theme,r=n.semanticColors,i=n.fonts,a=Ro(BS,n),s=wi(e.size),l=Di(e.presence),c="16px",u={color:r.bodySubtext,fontWeight:$e.regular,fontSize:i.small.fontSize};return{root:[a.root,n.fonts.medium,dn,{color:r.bodyText,position:"relative",height:vi.size48,minWidth:vi.size48,display:"flex",alignItems:"center",selectors:{".contextualHost":{display:"none"}}},s.isSize8&&[a.size8,{height:vi.size8,minWidth:vi.size8}],s.isSize10&&[a.size10,{height:vi.size10,minWidth:vi.size10}],s.isSize16&&[a.size16,{height:vi.size16,minWidth:vi.size16}],s.isSize24&&[a.size24,{height:vi.size24,minWidth:vi.size24}],s.isSize24&&o&&{height:"36px"},s.isSize28&&[a.size28,{height:vi.size28,minWidth:vi.size28}],s.isSize28&&o&&{height:"32px"},s.isSize32&&[a.size32,{height:vi.size32,minWidth:vi.size32}],s.isSize40&&[a.size40,{height:vi.size40,minWidth:vi.size40}],s.isSize48&&a.size48,s.isSize56&&[a.size56,{height:vi.size56,minWidth:vi.size56}],s.isSize72&&[a.size72,{height:vi.size72,minWidth:vi.size72}],s.isSize100&&[a.size100,{height:vi.size100,minWidth:vi.size100}],s.isSize120&&[a.size120,{height:vi.size120,minWidth:vi.size120}],l.isAvailable&&a.available,l.isAway&&a.away,l.isBlocked&&a.blocked,l.isBusy&&a.busy,l.isDoNotDisturb&&a.doNotDisturb,l.isOffline&&a.offline,t],details:[a.details,{padding:"0 24px 0 16px",minWidth:0,width:"100%",textAlign:"left",display:"flex",flexDirection:"column",justifyContent:"space-around"},(s.isSize8||s.isSize10)&&{paddingLeft:17},(s.isSize24||s.isSize28||s.isSize32)&&{padding:"0 8px"},(s.isSize40||s.isSize48)&&{padding:"0 12px"}],primaryText:[a.primaryText,pn,{color:r.bodyText,fontWeight:$e.regular,fontSize:i.medium.fontSize,selectors:{":hover":{color:r.inputTextHovered}}},o&&{height:c,lineHeight:c,overflowX:"hidden"},(s.isSize8||s.isSize10)&&{fontSize:i.small.fontSize,lineHeight:vi.size8},s.isSize16&&{lineHeight:vi.size28},(s.isSize24||s.isSize28||s.isSize32||s.isSize40||s.isSize48)&&o&&{height:18},(s.isSize56||s.isSize72||s.isSize100||s.isSize120)&&{fontSize:i.xLarge.fontSize},(s.isSize56||s.isSize72||s.isSize100||s.isSize120)&&o&&{height:22}],secondaryText:[a.secondaryText,pn,u,(s.isSize8||s.isSize10||s.isSize16||s.isSize24||s.isSize28||s.isSize32)&&{display:"none"},o&&{display:"block",height:c,lineHeight:c,overflowX:"hidden"},s.isSize24&&o&&{height:18},(s.isSize56||s.isSize72||s.isSize100||s.isSize120)&&{fontSize:i.medium.fontSize},(s.isSize56||s.isSize72||s.isSize100||s.isSize120)&&o&&{height:18}],tertiaryText:[a.tertiaryText,pn,u,{display:"none",fontSize:i.medium.fontSize},(s.isSize72||s.isSize100||s.isSize120)&&{display:"block"}],optionalText:[a.optionalText,pn,u,{display:"none",fontSize:i.medium.fontSize},(s.isSize100||s.isSize120)&&{display:"block"}],textContent:[a.textContent,pn]}}),void 0,{scope:"Persona"}),FS=gr(),LS=function(e){function t(t){var o=e.call(this,t)||this;return o._classNames=FS(o.props.styles,{theme:o.props.theme,className:o.props.className}),o._getPersonaControl=function(e){var t=o.props,n=t.getPersonaProps,r=t.personaSize;return g.createElement(AS,d({imageInitials:e.imageInitials,imageUrl:e.imageUrl,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,text:e.personaName,size:r},n?n(e):null,{styles:{details:{flex:"1 0 auto"}}}))},o._getPersonaCoinControl=function(e){var t=o.props,n=t.getPersonaProps,r=t.personaSize;return g.createElement(qi,d({imageInitials:e.imageInitials,imageUrl:e.imageUrl,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,text:e.personaName,size:r},n?n(e):null))},Ji(o),o._ariaDescriptionId=as(),o}return u(t,e),t.prototype.render=function(){var e=this.props.overflowButtonProps,t=this.props,o=t.chevronButtonProps,n=t.maxDisplayablePersonas,r=t.personas,i=t.overflowPersonas,a=t.showAddButton,s=t.ariaLabel,l=t.showTooltip,c=void 0===l||l,u=this._classNames,d="number"==typeof n?Math.min(r.length,n):r.length;o&&!e&&(e=o);var p=i&&i.length>0,h=p?r:r.slice(0,d),m=(p?i:r.slice(d))||[];return g.createElement("div",{className:u.root},this.onRenderAriaDescription(),g.createElement("div",{className:u.itemContainer},a?this._getAddNewElement():null,g.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&&g.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 g.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 g.createElement(PS,d({},jr(t,Pr),this._getElementProps(t,o,n),{keytipProps:r,onClick:this._onPersonaClick.bind(this,t)}),e)},t.prototype._getElementWithoutOnClickEvent=function(e,t,o,n){return g.createElement("div",d({},jr(t,Pr),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 SS.descriptive:return this._getDescriptiveOverflowElement(e);case SS.downArrow:return this._getIconElement("ChevronDown");case SS.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=d({title:o},this.props.overflowButtonProps),r=Math.max(e.length,0),i=this._classNames;return g.createElement(PS,d({},n,{ariaDescription:n.title,className:i.descriptiveOverflowButton}),g.createElement(qi,{size:t,onRenderInitials:this._renderInitialsNotPictured(r),initialsColor:fi.transparent}))},t.prototype._getIconElement=function(e){var t=this.props,o=t.overflowButtonProps,n=t.personaSize,r=this._classNames;return g.createElement(PS,d({},o,{className:r.overflowButton}),g.createElement(qi,{size:n,onRenderInitials:this._renderInitials(e,!0),initialsColor:fi.transparent}))},t.prototype._getAddNewElement=function(){var e=this.props,t=e.addButtonProps,o=e.personaSize,n=this._classNames;return g.createElement(PS,d({},t,{className:n.addButton}),g.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 g.createElement(ki,{iconName:e,className:t?o.overflowInitialsIcon:""})}},t.prototype._renderInitialsNotPictured=function(e){var t=this._classNames;return function(){return g.createElement("span",{className:t.overflowInitialsIcon},e<100?"+"+e:"99+")}},t.defaultProps={maxDisplayablePersonas:5,personas:[],overflowPersonas:[],personaSize:hi.size32},t}(g.Component),HS={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"},OS=rr(LS,(function(e){var t,o=e.className,n=e.theme,r=e.spacingAroundItemButton,i=void 0===r?2:r,a=n.palette,s=n.fonts,l=Ro(HS,n),c={textAlign:"center",padding:0,borderRadius:"50%",verticalAlign:"top",display:"inline",backgroundColor:"transparent",border:"none",selectors:{"&::-moz-focus-inner":{padding:0,border:0}}};return{root:[l.root,n.fonts.medium,{width:"auto"},o],addButton:[l.addButton,on(n,{inset:-1}),c,{fontSize:s.medium.fontSize,color:a.white,backgroundColor:a.themePrimary,marginRight:2*i+"px",selectors:{"&:hover":{backgroundColor:a.themeDark},"&:focus":{backgroundColor:a.themeDark},"&:active":{backgroundColor:a.themeDarker},"&:disabled":{backgroundColor:a.neutralTertiaryAlt}}}],descriptiveOverflowButton:[l.descriptiveOverflowButton,on(n,{inset:-1}),c,{fontSize:s.small.fontSize,color:a.neutralSecondary,backgroundColor:a.neutralLighter,marginLeft:"".concat(2*i,"px")}],itemButton:[l.itemButton,c],itemContainer:[l.itemContainer,{display:"flex"}],members:[l.members,{display:"flex",overflow:"hidden",listStyleType:"none",padding:0,margin:"-".concat(i,"px")}],member:[l.member,{display:"inline-flex",flex:"0 0 auto",margin:"".concat(i,"px")}],overflowButton:[l.overflowButton,on(n,{inset:-1}),c,{fontSize:s.medium.fontSize,color:a.neutralSecondary,backgroundColor:a.neutralLighter,marginLeft:"".concat(2*i,"px")}],overflowInitialsIcon:[{color:a.neutralPrimary,selectors:(t={},t[Mo]={color:"WindowText"},t)}],screenReaderOnly:ho}}),void 0,{scope:"Facepile"});Kt([{rawString:".callout_ad5629e1 .ms-Suggestions-itemButton{padding:0;border:none}.callout_ad5629e1 .ms-Suggestions{min-width:300px}"}]);var zS="callout_ad5629e1";Kt([{rawString:".root_8c91000a{min-width:260px}.suggestionsItem_8c91000a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;position:relative;overflow:hidden}.suggestionsItem_8c91000a:hover{background:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:"}.suggestionsItem_8c91000a:hover .closeButton_8c91000a{display:block}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a:hover{background:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a{background:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a .closeButton_8c91000a:hover{background:"},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a .itemButton_8c91000a{color:HighlightText}}.suggestionsItem_8c91000a .closeButton_8c91000a{display:none;color:"},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:"}.suggestionsItem_8c91000a .closeButton_8c91000a:hover{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.actionButton_8c91000a{background-color:transparent;border:0;cursor:pointer;margin:0;position:relative;border-top:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";height:40px;width:100%;font-size:12px}[dir=ltr] .actionButton_8c91000a{padding-left:8px}[dir=rtl] .actionButton_8c91000a{padding-right:8px}html[dir=ltr] .actionButton_8c91000a{text-align:left}html[dir=rtl] .actionButton_8c91000a{text-align:right}.actionButton_8c91000a:hover{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";cursor:pointer}.actionButton_8c91000a:active,.actionButton_8c91000a:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_8c91000a .ms-Button-icon{font-size:16px;width:25px}.actionButton_8c91000a .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_8c91000a .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_8c91000a{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.suggestionsTitle_8c91000a{padding:0 12px;color:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:";font-size:12px;line-height:40px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsContainer_8c91000a{overflow-y:auto;overflow-x:hidden;max-height:300px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsNone_8c91000a{text-align:center;color:#797775;font-size:12px;line-height:30px}.suggestionsSpinner_8c91000a{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_8c91000a{padding-left:14px}html[dir=rtl] .suggestionsSpinner_8c91000a{padding-right:14px}html[dir=ltr] .suggestionsSpinner_8c91000a{text-align:left}html[dir=rtl] .suggestionsSpinner_8c91000a{text-align:right}.suggestionsSpinner_8c91000a .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_8c91000a .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_8c91000a .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_8c91000a.itemButton_8c91000a{width:100%;padding:0;min-width:0;height:100%}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.itemButton_8c91000a.itemButton_8c91000a{color:WindowText}}.itemButton_8c91000a.itemButton_8c91000a:hover{color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.closeButton_8c91000a.closeButton_8c91000a{padding:0 4px;height:auto;width:32px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.closeButton_8c91000a.closeButton_8c91000a{color:WindowText}}.closeButton_8c91000a.closeButton_8c91000a:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.suggestionsAvailable_8c91000a{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var WS="root_8c91000a",VS="suggestionsItem_8c91000a",KS="closeButton_8c91000a",GS="suggestionsItemIsSuggested_8c91000a",US="itemButton_8c91000a",jS="actionButton_8c91000a",qS="buttonSelected_8c91000a",YS="suggestionsTitle_8c91000a",ZS="suggestionsContainer_8c91000a",XS="suggestionsNone_8c91000a",QS="suggestionsSpinner_8c91000a",JS="suggestionsAvailable_8c91000a",$S=r,ex=gr(),tx=function(e){function t(t){var o=e.call(this,t)||this;return Ji(o),o}return u(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?ex(u,{theme:d,className:i,suggested:o.selected||l}):{root:pi("ms-Suggestions-item",$S.suggestionsItem,(e={},e["is-suggested "+$S.suggestionsItemIsSuggested]=o.selected||l,e),i),itemButton:pi("ms-Suggestions-itemButton",$S.itemButton),closeButton:pi("ms-Suggestions-closeButton",$S.closeButton)};return g.createElement("div",{className:h.root,role:"presentation"},g.createElement(sh,{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?g.createElement(fp,{iconProps:null!=p?p:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},title:c,ariaLabel:c,onClick:s,className:h.closeButton}):null)},t}(g.Component);Kt([{rawString:".suggestionsContainer_44c59fda{overflow-y:auto;overflow-x:hidden;max-height:300px}.suggestionsContainer_44c59fda .ms-Suggestion-item:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.suggestionsContainer_44c59fda .is-suggested{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.suggestionsContainer_44c59fda .is-suggested:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}"}]);var ox="suggestionsContainer_44c59fda",nx=i,rx=function(e){function t(t){var o=e.call(this,t)||this;return o._selectedElement=g.createRef(),o.SuggestionsItemOfProperType=tx,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()}},Ji(o),o.currentIndex=-1,o}return u(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.currentIndex<e.length-1)return this.setSelectedSuggestion(this.currentIndex+1),!0;if(this.props.shouldLoopSelection&&this.currentIndex===e.length-1)return this.setSelectedSuggestion(0),!0}return!1},t.prototype.previousSuggestion=function(){var e=this.props.suggestions;if(e&&e.length>0){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<this.props.suggestions.length},t.prototype.removeSuggestion=function(e){this.props.suggestions.splice(e,1)},t.prototype.deselectAllSuggestions=function(){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)),g.createElement("div",{className:pi("ms-Suggestions-container",nx.suggestionsContainer),id:"suggestion-list",role:"listbox","aria-label":a},l.map((function(t,r){return g.createElement("div",{ref:t.selected||r===e.currentIndex?e._selectedElement:void 0,key:t.item.key?t.item.key:r,id:"sug-"+r},g.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}(g.Component);Kt([{rawString:".root_ade399af{min-width:260px}.actionButton_ade399af{background:0 0;background-color:transparent;border:0;cursor:pointer;margin:0;padding:0;position:relative;width:100%;font-size:12px}html[dir=ltr] .actionButton_ade399af{text-align:left}html[dir=rtl] .actionButton_ade399af{text-align:right}.actionButton_ade399af:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.actionButton_ade399af:active,.actionButton_ade399af:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_ade399af .ms-Button-icon{font-size:16px;width:25px}.actionButton_ade399af .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_ade399af .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_ade399af{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.buttonSelected_ade399af:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.buttonSelected_ade399af:hover{background-color:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.buttonSelected_ade399af{background-color:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsTitle_ade399af{font-size:12px}.suggestionsSpinner_ade399af{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_ade399af{padding-left:14px}html[dir=rtl] .suggestionsSpinner_ade399af{padding-right:14px}html[dir=ltr] .suggestionsSpinner_ade399af{text-align:left}html[dir=rtl] .suggestionsSpinner_ade399af{text-align:right}.suggestionsSpinner_ade399af .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_ade399af .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_ade399af .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_ade399af{height:100%;width:100%;padding:7px 12px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.itemButton_ade399af{color:WindowText}}.screenReaderOnly_ade399af{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var ix,ax="root_ade399af",sx="actionButton_ade399af",lx="buttonSelected_ade399af",cx="suggestionsTitle_ade399af",ux="suggestionsSpinner_ade399af",dx="itemButton_ade399af",px="screenReaderOnly_ade399af",hx=a;!function(e){e[e.header=0]="header",e[e.suggestion=1]="suggestion",e[e.footer=2]="footer"}(ix||(ix={}));var mx=function(e){function t(t){var o=e.call(this,t)||this;return Ji(o),o}return u(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?g.createElement("div",{id:i,onClick:n,className:pi("ms-Suggestions-sectionButton",a,hx.actionButton,(e={},e["is-selected "+hx.buttonSelected]=r,e))},o()):g.createElement("div",{id:i,className:pi("ms-Suggestions-section",a,hx.suggestionsTitle)},o())},t}(g.Component),fx=function(e){function t(t){var o=e.call(this,t)||this;return o._selectedElement=g.createRef(),o._suggestions=g.createRef(),o.SuggestionsOfProperType=rx,Ji(o),o.state={selectedHeaderIndex:-1,selectedFooterIndex:-1,suggestions:t.suggestions},o}return u(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=te(ho),a=this.state.suggestions&&this.state.suggestions.length>0&&r;return g.createElement("div",{className:pi("ms-Suggestions",t||"",hx.root)},o&&this.renderHeaderItems(),this._renderSuggestions(),n&&this.renderFooterItems(),a?g.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&&i<o.length){var s=o[i];s.onExecute&&s.onExecute()}else if(null===(e=this._suggestions.current)||void 0===e?void 0:e.hasSuggestionSelected())this.props.completeSuggestion();else if(n&&-1!==a&&a<n.length){var l=n[a];l.onExecute&&l.onExecute()}},t.prototype.removeSuggestion=function(e){var t,o;null===(t=this._suggestions.current)||void 0===t||t.removeSuggestion(e||(null===(o=this._suggestions.current)||void 0===o?void 0:o.currentIndex))},t.prototype.handleKeyDown=function(e){var t,o,n,r,i=this.state,a=i.selectedHeaderIndex,s=i.selectedFooterIndex,l=!1;return e===ar.down?-1!==a||(null===(t=this._suggestions.current)||void 0===t?void 0:t.hasSuggestionSelected())||-1!==s?-1!==a?(this.selectNextItem(ix.header),l=!0):(null===(o=this._suggestions.current)||void 0===o?void 0:o.hasSuggestionSelected())?(this.selectNextItem(ix.suggestion),l=!0):-1!==s&&(this.selectNextItem(ix.footer),l=!0):this.selectFirstItem():e===ar.up?-1!==a||(null===(n=this._suggestions.current)||void 0===n?void 0:n.hasSuggestionSelected())||-1!==s?-1!==a?(this.selectPreviousItem(ix.header),l=!0):(null===(r=this._suggestions.current)||void 0===r?void 0:r.hasSuggestionSelected())?(this.selectPreviousItem(ix.suggestion),l=!0):-1!==s&&(this.selectPreviousItem(ix.footer),l=!0):this.selectLastItem():e!==ar.enter&&e!==ar.tab||this.hasSelection()&&(this.executeSelectedAction(),l=!0),l},t.prototype.scrollSelected=function(){this._selectedElement.current&&this._selectedElement.current.scrollIntoView(!1)},t.prototype.renderHeaderItems=function(){var e=this,t=this.props,o=t.headerItemsProps,n=t.suggestionsHeaderContainerAriaLabel,r=this.state.selectedHeaderIndex;return o?g.createElement("div",{className:pi("ms-Suggestions-headerContainer",hx.suggestionsContainer),id:"suggestionHeader-list",role:"list","aria-label":n},o.map((function(t,o){var n=-1!==r&&r===o;return t.shouldShow()?g.createElement("div",{ref:n?e._selectedElement:void 0,id:"sug-header"+o,key:"sug-header"+o,role:"listitem","aria-label":t.ariaLabel},g.createElement(mx,{id:"sug-header-item"+o,isSelected:n,renderItem:t.renderItem,onExecute:t.onExecute,className:t.className})):null}))):null},t.prototype.renderFooterItems=function(){var e=this,t=this.props,o=t.footerItemsProps,n=t.suggestionsFooterContainerAriaLabel,r=this.state.selectedFooterIndex;return o?g.createElement("div",{className:pi("ms-Suggestions-footerContainer",hx.suggestionsContainer),id:"suggestionFooter-list",role:"list","aria-label":n},o.map((function(t,o){var n=-1!==r&&r===o;return t.shouldShow()?g.createElement("div",{ref:n?e._selectedElement:void 0,id:"sug-footer"+o,key:"sug-footer"+o,role:"listitem","aria-label":t.ariaLabel},g.createElement(mx,{id:"sug-footer-item"+o,isSelected:n,renderItem:t.renderItem,onExecute:t.onExecute,className:t.className})):null}))):null},t.prototype._renderSuggestions=function(){var e=this.SuggestionsOfProperType;return g.createElement(e,d({ref:this._suggestions},this.props,{suggestions:this.state.suggestions}))},t.prototype.selectNextItem=function(e,t){if(e!==t){var o=void 0!==t?t:e;this._selectNextItemOfItemType(e,o===e?this._getCurrentIndexForType(e):void 0)||this.selectNextItem(this._getNextItemSectionType(e),o)}else this._selectNextItemOfItemType(e)},t.prototype.selectPreviousItem=function(e,t){if(e!==t){var o=void 0!==t?t:e;this._selectPreviousItemOfItemType(e,o===e?this._getCurrentIndexForType(e):void 0)||this.selectPreviousItem(this._getPreviousItemSectionType(e),o)}else this._selectPreviousItemOfItemType(e)},t.prototype.resetSelectedItem=function(){var e;this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),null===(e=this._suggestions.current)||void 0===e||e.deselectAllSuggestions(),(void 0===this.props.shouldSelectFirstItem||this.props.shouldSelectFirstItem())&&this.selectFirstItem()},t.prototype.selectFirstItem=function(){this._selectNextItemOfItemType(ix.header)||this._selectNextItemOfItemType(ix.suggestion)||this._selectNextItemOfItemType(ix.footer)},t.prototype.selectLastItem=function(){this._selectPreviousItemOfItemType(ix.footer)||this._selectPreviousItemOfItemType(ix.suggestion)||this._selectPreviousItemOfItemType(ix.header)},t.prototype._selectNextItemOfItemType=function(e,t){var o,n;if(void 0===t&&(t=-1),e===ix.suggestion){if(this.state.suggestions.length>t+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===ix.header,i=r?this.props.headerItemsProps:this.props.footerItemsProps;if(i&&i.length>t+1)for(var a=t+1;a<i.length;a++){var s=i[a];if(s.onExecute&&s.shouldShow())return this.setState({selectedHeaderIndex:r?a:-1}),this.setState({selectedFooterIndex:r?-1:a}),null===(n=this._suggestions.current)||void 0===n||n.deselectAllSuggestions(),!0}}return!1},t.prototype._selectPreviousItemOfItemType=function(e,t){var o,n;if(e===ix.suggestion){if((r=void 0!==t?t:this.state.suggestions.length)>0)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===ix.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 ix.header:return this.state.selectedHeaderIndex;case ix.suggestion:return this._suggestions.current.currentIndex;case ix.footer:return this.state.selectedFooterIndex}},t.prototype._getNextItemSectionType=function(e){switch(e){case ix.header:return ix.suggestion;case ix.suggestion:return ix.footer;case ix.footer:return ix.header}},t.prototype._getPreviousItemSectionType=function(e){switch(e){case ix.header:return ix.footer;case ix.suggestion:return ix.header;case ix.footer:return ix.suggestion}},t}(g.Component),gx=n,vx=function(e){function t(t){var o=e.call(this,t)||this;return o.root=g.createRef(),o.suggestionsControl=g.createRef(),o.SuggestionsControlOfProperType=fx,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 ar.escape:o.hidePicker(),e.preventDefault(),e.stopPropagation();break;case ar.tab:case ar.enter:!e.shiftKey&&!e.ctrlKey&&o.suggestionsControl.current&&o.suggestionsControl.current.handleKeyDown(t)?(e.preventDefault(),e.stopPropagation()):o._onValidateInput();break;case ar.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 ar.up:case ar.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 na(o),Ji(o),o.suggestionStore=t.suggestionsStore,o.state={queryString:"",didBind:!1},o}return u(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 g.createElement("div",{ref:this.root,className:pi("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?g.createElement(wu,d({className:gx.callout,isBeakVisible:!1,gapSpace:5,target:this.props.inputElement,onDismiss:this.hidePicker,directionalHint:Sl.bottomLeftEdge,directionalHintForRTL:Sl.bottomRightEdge,calloutWidth:this.props.calloutWidth?this.props.calloutWidth:0},this.props.pickerCalloutProps),g.createElement(e,d({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}(g.Component);Kt([{rawString:".resultContent_f73be5be{display:table-row}.resultContent_f73be5be .resultItem_f73be5be{display:table-cell;vertical-align:bottom}.peoplePickerPersona_f73be5be{width:180px}.peoplePickerPersona_f73be5be .ms-Persona-details{width:100%}.peoplePicker_f73be5be .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_f73be5be{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:7px 12px}"}]);var bx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t}(vx),yx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.defaultProps={onRenderSuggestionsItem:function(e,t){return o=d({},e),d({},t),g.createElement("div",{className:pi("ms-PeoplePicker-personaContent","peoplePickerPersonaContent_f73be5be")},g.createElement(AS,d({presence:void 0!==o.presence?o.presence:mi.none,size:hi.size40,className:pi("ms-PeoplePicker-Persona","peoplePickerPersona_f73be5be"),showSecondaryText:!0},o)));var o},createGenericItem:Cx},t}(bx);function Cx(e,t){var o={key:e,primaryText:e,imageInitials:"!",isValid:t};return t||(o.imageInitials=oi(e,lr())),o}var _x=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}(),Sx=function(e){return!(!e||!e.some((function(e){return e.children?Sx(e.children):!e.isCollapsed})))},xx=function(e,t){if(void 0!==e)for(var o=0;o<e.length;o++)e[o].isCollapsed=t},kx=function(e){return e.which===ur(ar.right)},wx=gr(),Ix=function(e,t){var o,n;switch(e.type){case"item":return null!==(n=null===(o=e.item)||void 0===o?void 0:o.key)&&void 0!==n?n:null;case"header":return e.group.key;case"footer":return"".concat(e.group.key,"-footer");case"showAll":return"".concat(e.group.key,"-showAll")}return null},Dx=function(e){return g.createElement(Gy,d({},e))},Ex=function(e){return g.createElement(qy,d({},e))},Tx=function(e){return e.group&&e.footerText?g.createElement(Xy,d({},e)):null},Px=function(e){var t=e.selection,o=e.selectionMode,n=void 0===o?Jb.multiple:o,r=e.groupProps,i=void 0===r?{}:r,a=e.compact,s=void 0!==a&&a,l=e.items,c=void 0===l?[]:l,u=e.groups,p=e.onGroupExpandStateChanged,h=e.listProps,m=e.className,f=e.usePageCache,v=e.onShouldVirtualize,b=e.theme,y=e.role,C=void 0===y?"treegrid":y,_=e.styles,S=e.focusZoneProps,x=void 0===S?{}:S,k=e.rootListProps,w=void 0===k?{}:k,I=e.onRenderCell,D=e.viewport,E=e.groupedListRef,T=e.groupExpandedVersion,P=e.version,R=i.onRenderHeader,M=void 0===R?Dx:R,N=i.onRenderFooter,B=void 0===N?Tx:N,A=i.onRenderShowAll,F=void 0===A?Ex:A,L=wx(_,{theme:b,className:m,compact:s}),H=g.useRef(),O=g.useRef([]),z=g.useRef(Sx(u)),W=g.useRef(null),V=g.useState({}),K=V[0],G=V[1],U=g.useState({}),j=U[0],q=U[1],Y=x.shouldEnterInnerZone,Z=void 0===Y?kx:Y,X=g.useMemo((function(){return function(e,t,o,n){if(!e)return t;o.length<1&&(o=new Array(t.length));for(var r=0,i=[],a=e.length-1;a>=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:as("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:as("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);u<h;)o[r]={group:l,item:t[u],itemIndex:u,type:"item"},u++,r++;!l.children&&!l.isCollapsed&&!l.isShowingAll&&(l.count>d||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=g.useCallback((function(e){var t=X[e];return{key:"header"===t.type?t.group.key:void 0}}),[X]);g.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]),g.useEffect((function(){return(null==i?void 0:i.isAllGroupsCollapsed)&&xx(u,i.isAllGroupsCollapsed),H.current=new dl(void 0),function(){var e;null===(e=H.current)||void 0===e||e.dispose(),H.current=void 0}}),[]),g.useEffect((function(){G({})}),[P]),g.useEffect((function(){var e=Sx(u);e!==z.current&&(z.current=e,null==p||p(e))}),[u,j,p,T]);var J=g.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===Jb.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 g.createElement(Hs,d({direction:da.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},x,{shouldEnterInnerZone:Z,className:pi(L.root,x.className)}),g.createElement(nb,d({ref:W,role:C,items:X,onRenderCellConditional:function(e,o){var n;if("header"===e.type)return function(e,o){var n,r=e.group;n="treegrid"===C?{ariaLevel:r.level?r.level+1:1,ariaSetSize:u?u.length:void 0,ariaPosInSet:e.groupIndex}:{ariaRowIndex:o};var a=d(d(d(d({},i.headerProps),te(e.group,o)),{key:r.key,groupedListId:e.groupId}),n);return g.createElement(Rx,{render:M,defaultRender:Dx,item:e,selection:t,eventGroup:H.current,props:a})}(e,o);if("showAll"===e.type)return function(e,t){var o=e.group,n=d(d(d({},i.showAllProps),te(o,t)),{key:o.key?"".concat(o.key,"-show-all"):void 0});return F(n,Ex)}(e,o);if("footer"===e.type)return function(e,t){var o=e.group,n=d(d(d({},i.footerProps),te(o,t)),{key:o.key?"".concat(o.key,"-footer"):void 0});return B(n,Tx)}(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:f,onShouldVirtualize:v,getPageSpecification:Q,version:K,getKey:Ix},h,w)))},Rx=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=g.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 g.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,ey,r),function(){null==n||n.off(o,ey,r)}}}),[e,t,o,n]),i}(s.startIndex,s.count,r,i);return t(d(d({},a),{isSelected:l,selected:l}),o)},Mx=function(e){function t(t){var o=e.call(this,t)||this;o._groupedList=g.createRef(),Ji(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 u(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=d(d({},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 g.createElement(Px,d({},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),xx(o,e),this.setState({groupExpandedVersion:{}}),this.forceUpdate())},t.prototype._forceListUpdate=function(){this.setState({version:{}})},t.displayName="GroupedListV2",t}(g.Component),Nx=rr(Mx,Ny,void 0,{scope:"GroupedListV2"});Nx.displayName="GroupedListV2_unstable";var Bx,Ax={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"}(Bx||(Bx={}));var Fx,Lx,Hx=function(e){var t=e.gapSpace,o=void 0===t?0:t,n=e.directionalHint,r=void 0===n?Sl.bottomLeftEdge:n,i=e.directionalHintFixed,a=e.targetElement,s=e.firstFocus,l=e.trapFocus,c=e.onLeave,u=e.className,p=e.finalHeight,h=e.content,m=e.calloutProps,f=d(d(d({},jr(e,Ur)),{className:u,target:a,isBeakVisible:!1,directionalHint:r,directionalHintFixed:i,finalHeight:p,minPagePadding:24,onDismiss:c,gapSpace:o}),m);return g.createElement(g.Fragment,null,l?g.createElement(Ym,d({},f,{focusTrapProps:{forceFocusInsideTrap:!1,isClickableOutsideFocusTrap:!0,disableFirstFocus:!s}}),h):g.createElement(wu,d({},f),h))},Ox=gr(),zx=function(e){function t(t){var o=e.call(this,t)||this;return o._expandedElem=g.createRef(),o._onKeyDown=function(e){e.which===ar.escape&&o.props.onLeave&&o.props.onLeave(e)},o._onRenderCompactCard=function(){return g.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})})),g.createElement("div",{className:o._classNames.expandedCard,ref:o._expandedElem},g.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 na(o),Ji(o),o.state={firstFrameRendered:!1,needsScroll:!1},o}return u(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=Ox(t,{theme:r,compactCardHeight:o,className:a,expandedCardHeight:n,needsScroll:l,expandedCardFirstFrameRendered:i===Bx.expanded&&c});var p=g.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this._onRenderCompactCard(),this._onRenderExpandedCard());return g.createElement(Hx,d({},this.props,{content:p,finalHeight:u,className:this._classNames.root}))},t.defaultProps={compactCardHeight:156,expandedCardHeight:384,directionalHintFixed:!0},t}(g.Component),Wx=rr(zx,(function(e){var t,o=e.theme,n=e.needsScroll,r=e.expandedCardFirstFrameRendered,i=e.compactCardHeight,a=e.expandedCardHeight,s=e.className,l=o.palette,c=Ro(Ax,o);return{root:[c.root,{width:320,pointerEvents:"none",selectors:(t={},t[Mo]={border:"1px solid WindowText"},t)},s],compactCard:[c.compactCard,{pointerEvents:"auto",position:"relative",height:i}],expandedCard:[c.expandedCard,{height:1,overflowY:"hidden",pointerEvents:"auto",transition:"height 0.467s cubic-bezier(0.5, 0, 0, 1)",selectors:{":before":{content:'""',position:"relative",display:"block",top:0,left:24,width:272,height:1,backgroundColor:l.neutralLighter}}},r&&{height:a}],expandedCardScroll:[c.expandedCardScroll,n&&{height:"100%",boxSizing:"border-box",overflowY:"auto"}]}}),void 0,{scope:"ExpandingCard"}),Vx={host:"ms-HoverCard-host"};!function(e){e[e.hover=0]="hover",e[e.hotKey=1]="hotKey"}(Fx||(Fx={})),function(e){e.plain="PlainCard",e.expanding="ExpandingCard"}(Lx||(Lx={}));var Kx={root:"ms-PlainCard-root"},Gx=gr(),Ux=function(e){function t(t){var o=e.call(this,t)||this;return o._onKeyDown=function(e){e.which===ar.escape&&o.props.onLeave&&o.props.onLeave(e)},Ji(o),o}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme,n=e.className;this._classNames=Gx(t,{theme:o,className:n});var r=g.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this.props.onRenderPlainCard(this.props.renderData));return g.createElement(Hx,d({},this.props,{content:r,className:this._classNames.root}))},t}(g.Component),jx=rr(Ux,(function(e){var t,o=e.theme,n=e.className;return{root:[Ro(Kx,o).root,{pointerEvents:"auto",selectors:(t={},t[Mo]={border:"1px solid WindowText"},t)},n]}}),void 0,{scope:"PlainCard"}),qx=gr(),Yx=function(e){function t(t){var o=e.call(this,t)||this;return o._hoverCard=g.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:Bx.compact,openMode:"keydown"===e.type?Fx.hotKey:Fx.hover}}))}),o.props.cardOpenDelay)},o._cardDismiss=function(e,t){if(e){if(!(t instanceof MouseEvent))return;if("keydown"===t.type&&t.which!==ar.escape)return;o.props.sticky||o._currentMouseTarget!==t.currentTarget&&t.which!==ar.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:Bx.compact,openMode:Fx.hover})},o._instantOpenAsExpanded=function(e){o._async.clearTimeout(o._dismissTimerId),o.setState((function(e){return e.isHoverCardVisible?e:{isHoverCardVisible:!0,mode:Bx.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)))},Ji(o),o._async=new na(o),o._events=new dl(o),o._nativeDismissEvent=o._cardDismiss.bind(o,!0),o._childDismissEvent=o._cardDismiss.bind(o,!1),o.state={isHoverCardVisible:!1,mode:Bx.compact,openMode:Fx.hover},o}return u(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:Bx.expanded},(function(){o.props.onCardExpand&&o.props.onCardExpand()}))}),this.props.expandedCardOpenDelay),this.props.onCardVisible&&this.props.onCardVisible()):(this.setState({mode:Bx.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,p=e.trapFocus,h=e.setInitialFocus,m=this.state,f=m.isHoverCardVisible,v=m.mode,b=m.openMode,y=n||as("hoverCard");this._classNames=qx(a,{theme:s,className:l});var C=d(d({},jr(this.props,Ur)),{id:y,trapFocus:!!p,firstFocus:h||b===Fx.hotKey,targetElement:this._getTargetElement(this.props.target),onEnter:this._cardOpen,onLeave:this._childDismissEvent}),_=d(d(d({},t),C),{mode:v}),S=d(d({},u),C);return g.createElement("div",{className:this._classNames.host,ref:this._hoverCard,"aria-describedby":i&&f?y:void 0,"data-is-focusable":!this.props.target},o,f&&(c===Lx.expanding?g.createElement(Wx,d({},_)):g.createElement(jx,d({},S))))},t.prototype._getTargetElement=function(e){switch(typeof e){case"string":return ct().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:ar.c,type:Lx.expanding},t}(g.Component),Zx=rr(Yx,(function(e){var t=e.className,o=e.theme;return{host:[Ro(Vx,o).host,t]}}),void 0,{scope:"HoverCard"});function Xx(e,t){void 0===e&&(e=""),xn({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 Qx(e,t){void 0===e&&(e=""),xn({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 Jx(e,t){void 0===e&&(e=""),xn({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 $x(e,t){void 0===e&&(e=""),xn({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 ek(e,t){void 0===e&&(e=""),xn({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 tk(e,t){void 0===e&&(e=""),xn({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 ok(e,t){void 0===e&&(e=""),xn({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 nk(e,t){void 0===e&&(e=""),xn({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 rk(e,t){void 0===e&&(e=""),xn({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 ik(e,t){void 0===e&&(e=""),xn({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 ak(e,t){void 0===e&&(e=""),xn({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 sk(e,t){void 0===e&&(e=""),xn({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 lk(e,t){void 0===e&&(e=""),xn({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 ck(e,t){void 0===e&&(e=""),xn({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 uk(e,t){void 0===e&&(e=""),xn({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 dk(e,t){void 0===e&&(e=""),xn({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 pk(e,t){void 0===e&&(e=""),xn({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 hk(e,t){void 0===e&&(e=""),xn({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 mk(e,t){void 0===e&&(e=""),xn({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 fk=function(){wn("trash","delete"),wn("onedrive","onedrivelogo"),wn("alertsolid12","eventdatemissed12"),wn("sixpointstar","6pointstar"),wn("twelvepointstar","12pointstar"),wn("toggleon","toggleleft"),wn("toggleoff","toggleright")};On("@fluentui/font-icons-mdl2","8.5.56");var gk="".concat("https://res.cdn.office.net/files/fabric-cdn-prod_20241029.001","/assets/icons/"),vk=pt();function bk(e,t){var o,n;void 0===e&&(e=(null===(o=null==vk?void 0:vk.FabricConfig)||void 0===o?void 0:o.iconBaseUrl)||(null===(n=null==vk?void 0:vk.FabricConfig)||void 0===n?void 0:n.fontBaseUrl)||gk),[Xx,Qx,Jx,$x,ek,tk,ok,nk,rk,ik,ak,sk,lk,ck,uk,dk,pk,hk,mk].forEach((function(o){return o(e,t)})),fk()}function yk(e){var t=ct(),o=t.querySelectorAll(e);return Array.from(o).find((function(e){var o;return Ua(e,null!==(o=t.defaultView)&&void 0!==o?o:void 0)}))}var Ck=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(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=gr()(o,{theme:n,disabled:r,visible:i});return g.createElement("div",{className:a.container},g.createElement("span",{className:a.root},t))},t}(g.Component),_k=function(e){return{container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]}},Sk=function(e){return function(t){return An({container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]},{root:[{marginLeft:e.left||e.x,marginTop:e.top||e.y}]})}},xk=rr(Ck,(function(e){var t,o=e.theme,n=e.disabled,r=e.visible;return{container:[{backgroundColor:o.palette.neutralDark},n&&{opacity:.5,selectors:(t={},t[Mo]={color:"GrayText",opacity:1},t)},!r&&{visibility:"hidden"}],root:[o.fonts.medium,{textAlign:"center",paddingLeft:"3px",paddingRight:"3px",backgroundColor:o.palette.neutralDark,color:o.palette.neutralLight,minWidth:"11px",lineHeight:"17px",height:"17px",display:"inline-block"},n&&{color:o.palette.neutralTertiaryAlt}]}}),void 0,{scope:"KeytipContent"}),kk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(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=yk(e=rd(r?nd(o,r):o));return a?(e=a,n&&(i=d({coverTarget:!0,directionalHint:Sl.topLeftEdge},i)),i&&void 0!==i.directionalHint||(i=d(d({},i),{directionalHint:Sl.bottomCenter})),g.createElement(wu,d({},i,{isBeakVisible:!1,doNotLayer:!0,minPagePadding:0,styles:n?Sk(n):_k,preventDismissOnScroll:!0,target:e}),g.createElement(xk,d({},this.props)))):g.createElement(g.Fragment,null)},t}(g.Component),wk=function(e){return{root:[{zIndex:Qo.KeytipLayer}]}},Ik=function(){function e(){this.nodeMap={},this.root={id:Ju,children:[],parent:"",keySequences:[]},this.nodeMap[this.root.id]=this.root}return e.prototype.addNode=function(e,t,o){var n=this._getFullSequence(e),r=od(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=od(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=od(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:ct(),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=rd(l?nd(s,l):s),u=r.querySelectorAll(c);if(i.length<u.length)return a;var d=Array.from(u).findIndex((function(e){var t;return Ua(e,null!==(t=r.defaultView)&&void 0!==t?t:void 0)}));return-1!==d?i[d]:i.find((function(e){return e.hasOverflowSubMenu}))||a}},e.prototype.getPartiallyMatchedNodes=function(e,t){var o=this;return this.getNodes(t.children).filter((function(t){return 0===o._getNodeSequence(t).indexOf(e)&&!t.disabled}))},e.prototype.getChildren=function(e){var t=this;if(!e&&!(e=this.currentKeytip))return[];var o=e.children;return Object.keys(this.nodeMap).reduce((function(e,n){return o.indexOf(t.nodeMap[n].id)>=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 ba(cl(this.nodeMap),(function(t){return t.id===e}))},e.prototype.isCurrentKeytipParent=function(e){if(this.currentKeytip){var t=m([],e.keySequences,!0);e.overflowSetSequence&&(t=nd(t,e.overflowSetSequence)),t.pop();var o=0===t.length?this.root.id:od(t),n=!1;return this.currentKeytip.overflowSetSequence&&(n=od(this.currentKeytip.keySequences)===o),n||this.currentKeytip.id===o}return!1},e.prototype._getParentID=function(e){return 0===e.length?this.root.id:od(e)},e.prototype._getFullSequence=function(e){var t=m([],e.keySequences,!0);return e.overflowSetSequence&&(t=nd(t,e.overflowSetSequence)),t},e.prototype._getNodeSequence=function(e){var t=m([],e.keySequences,!0);return e.overflowSetSequence&&(t=nd(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 Dk(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;r<o.length;r++)if(o[r]!==n[r])return!1}return!0}function Ek(e,t){return!!ba(e,(function(e){return Dk(e,t)}))}var Tk={key:wl()?"Control":"Meta",modifierKeys:[ar.alt]},Pk=Tk,Rk={key:"Escape"},Mk=gr(),Nk=function(e){function t(t,o){var n=e.call(this,t,o)||this;n._keytipManager=td.getInstance(),n._delayedKeytipQueue=[],n._keyHandled=!1,n._isKeytipInstanceTargetVisible=function(e,t){var o,r=Rc(n.context),i=Mc(n.context),a=rd(e),s=null!==(o=null==r?void 0:r.querySelectorAll(a))&&void 0!==o?o:[];return s.length>1&&t<=s.length?Ua(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(od(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(od(o.keySequences))),n._persistedKeytipChecks(o)},n._persistedKeytipChecks=function(e){if(n._newCurrentKeytipSequences&&wa(e.keySequences,n._newCurrentKeytipSequences)&&n._triggerKeytipImmediately(e),n._isCurrentKeytipAnAlias(e)){var t=e.keySequences;e.overflowSetSequence&&(t=nd(t,e.overflowSetSequence)),n._keytipTree.currentKeytip=n._keytipTree.getNode(od(t))}},n._onKeytipRemoved=function(e){var t=e.keytip,o=e.uniqueID;n._removeKeytipFromQueue(od(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&&bn("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]}))},Ji(n),n._events=new dl(n),n._async=new na(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,Iu.KEYTIP_ADDED,n._onKeytipAdded),n._events.on(n._keytipManager,Iu.KEYTIP_UPDATED,n._onKeytipUpdated),n._events.on(n._keytipManager,Iu.KEYTIP_REMOVED,n._onKeytipRemoved),n._events.on(n._keytipManager,Iu.PERSISTED_KEYTIP_ADDED,n._onPersistedKeytipAdded),n._events.on(n._keytipManager,Iu.PERSISTED_KEYTIP_REMOVED,n._onPersistedKeytipRemoved),n._events.on(n._keytipManager,Iu.PERSISTED_KEYTIP_EXECUTE,n._onPersistedKeytipExecute),n}return u(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=Mk(n,{}),g.createElement(ku,{styles:wk},g.createElement("span",{id:Ju,className:this._classNames.innerContent},"".concat(o).concat($u)),i&&i.map((function(t,o){return g.createElement("span",{key:o,id:od(t.keySequences),className:e._classNames.innerContent},t.keySequences.join($u))})),a&&a.map((function(e){return g.createElement(kk,d({key:od(e.keySequences)},e))})))},t.prototype.componentDidMount=function(){var e=Mc(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,Iu.ENTER_KEYTIP_MODE,this._enterKeytipMode),this._events.on(this._keytipManager,Iu.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;Ek(this.props.keytipExitSequences,e)&&o?(this._keyHandled=!0,this._exitKeytipMode(t)):Ek(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())):Ek(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<o.length;t++){var n=o[t],r=od(n.keySequences);n.overflowSetSequence&&(r=od(nd(n.keySequences,n.overflowSetSequence))),e.indexOf(r)>=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 Ik;for(var e=0,t=Object.keys(this._keytipManager.keytips);e<t.length;e++){var o=t[e],n=this._keytipManager.keytips[o];this._keytipTree.addNode(n.keytip,n.uniqueID)}for(var r=0,i=Object.keys(this._keytipManager.persistedKeytips);r<i.length;r++)o=i[r],n=this._keytipManager.persistedKeytips[o],this._keytipTree.addNode(n.keytip,n.uniqueID)},t.prototype._exitKeytipMode=function(e){this._keytipTree.currentKeytip=void 0,this._currentSequence="",this.showKeytips([]),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedKeytipQueue=[],this._setInKeytipMode(!1),this.props.onExitKeytipMode&&this.props.onExitKeytipMode(e)},t.prototype._setKeytips=function(e){void 0===e&&(e=this._keytipManager.getKeytips()),this.setState({keytips:e,visibleKeytips:this._getVisibleKeytips(e)})},t.prototype._persistedKeytipExecute=function(e,t){this._newCurrentKeytipSequences=t;var o=this._keytipTree.getNode(od(e));o&&o.onExecute&&o.onExecute(this._getKtpExecuteTarget(o),this._getKtpTarget(o))},t.prototype._getVisibleKeytips=function(e){var t=this,o={};return e.filter((function(e){var n=od(e.keySequences);return e.overflowSetSequence&&(n=od(nd(e.keySequences,e.overflowSetSequence))),o[n]=o[n]?o[n]+1:1,e.visible&&t._isKeytipInstanceTargetVisible(e.keySequences,o[n])}))},t.prototype._getModifierKey=function(e,t){var o=[];return t.altKey&&"Alt"!==e&&o.push(ar.alt),t.ctrlKey&&"Control"!==e&&o.push(ar.ctrl),t.shiftKey&&"Shift"!==e&&o.push(ar.shift),t.metaKey&&"Meta"!==e&&o.push(ar.leftWindow),o.length?o:void 0},t.prototype._triggerKeytipImmediately=function(e){var t=m([],e.keySequences,!0);if(e.overflowSetSequence&&(t=nd(t,e.overflowSetSequence)),this._keytipTree.currentKeytip=this._keytipTree.getNode(od(t)),this._keytipTree.currentKeytip){var o=this._keytipTree.getChildren();o.length&&this.showKeytips(o),this._keytipTree.currentKeytip.onExecute&&this._keytipTree.currentKeytip.onExecute(this._getKtpExecuteTarget(this._keytipTree.currentKeytip),this._getKtpTarget(this._keytipTree.currentKeytip))}this._newCurrentKeytipSequences=void 0},t.prototype._addKeytipToQueue=function(e){var t=this;this._delayedKeytipQueue.push(e),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._removeKeytipFromQueue=function(e){var t=this,o=this._delayedKeytipQueue.indexOf(e);o>=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 ct().querySelector(id(e.id))},t.prototype._getKtpTarget=function(e){return ct().querySelector(rd(e.keySequences))},t.prototype._isCurrentKeytipAnAlias=function(e){var t=this._keytipTree.currentKeytip;return!(!t||!t.overflowSetSequence&&!t.persisted||!wa(e.keySequences,t.keySequences))},t.defaultProps={keytipStartSequences:[Tk],keytipExitSequences:[Pk],keytipReturnSequences:[Rk],content:""},t.contextType=ra,t}(g.Component),Bk=rr(Nk,(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 Ak(e){for(var t={},o=0,n=e.keytips;o<n.length;o++)Fk(t,[],n[o]);return t}function Fk(e,t,o){var n=o.sequence?o.sequence:o.content.toLocaleLowerCase(),r=t.concat(n),i=d(d({},o.optionalProps),{keySequences:r,content:o.content});if(e[o.id]=i,o.children)for(var a=0,s=o.children;a<s.length;a++)Fk(e,r,s[a])}function Lk(e){var t=sd(e),o=t.keytipId,n=t.ariaDescribedBy;return g.useCallback((function(e){if(e){var t=Ok(e,Zu)||e,r=Ok(e,Xu)||t,i=Ok(e,Qu)||r;Hk(t,Zu,o),Hk(r,Xu,o),Hk(i,"aria-describedby",n,!0)}}),[o,n])}function Hk(e,t,o,n){if(void 0===n&&(n=!1),e&&o){var r=o;if(n){var i=e.getAttribute(t);i&&-1===i.indexOf(o)&&(r="".concat(i," ").concat(o))}e.setAttribute(t,r)}}function Ok(e,t){return e.querySelector("[".concat(t,"]"))}var zk=function(e){var t=e.className,o=g.useState((function(){return as()}))[0],n=e.id,r=void 0===n?o:n,i=g.useRef({hostId:r,rootRef:g.useRef(null),notifyLayersChanged:function(){}});return g.useImperativeHandle(e.componentRef,(function(){return i.current})),g.useEffect((function(){du(r,i.current),fu(r)}),[]),Um((function(){pu(r,i.current),fu(r)})),g.createElement("div",d({},e,{className:pi("ms-LayerHost",t),ref:i.current.rootRef}))},Wk=100,Vk=function(){function e(e,t){var o=null!=t?t:pt(e);this._events=new dl(this),this._scrollableParent=vs(e),this._incrementScroll=this._incrementScroll.bind(this),this._scrollRect=nC(this._scrollableParent,o),this._scrollableParent===o&&(this._scrollableParent=o.document.body),this._scrollableParent&&(this._events.on(o,"mousemove",this._onMouseMove,!0),this._events.on(o,"touchmove",this._onTouchMove,!0))}return e.prototype.dispose=function(){this._events.dispose(),this._stopScroll()},e.prototype._onMouseMove=function(e){this._computeScrollVelocity(e)},e.prototype._onTouchMove=function(e){e.touches.length>0&&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-Wk,c=s+this._scrollRect.width-Wk;o<a+Wk||o>l?(r=o,n=a,i=l,this._isVerticalScroll=!0):(r=t,n=s,i=c,this._isVerticalScroll=!1),this._scrollVelocity=r<n+Wk?Math.max(-15,(Wk-(r-n))/Wk*-15):r>i?Math.min(15,(r-i)/Wk*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 Kk(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 Gk(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:l<c)?n.width/o.width:n.height/o.height;var u=Math.min(s,t);return{width:o.width*u,height:o.height*u}}function Uk(e){var t=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return t?t[1]?-t[1].length:t[2]?t[2].length:0:0}function jk(e,t,o){void 0===o&&(o=10);var n=Math.pow(o,t);return Math.round(e*n)/n}var qk,Yk,Zk=gr(),Xk=function(e){function t(t){var o=e.call(this,t)||this;return o._root=g.createRef(),o._onMouseDown=function(e){var t=o.props,n=t.isEnabled,r=t.onShouldStartSelection;if(!o._isMouseEventOnScrollbar(e)&&!o._isInSelectionToggle(e)&&!o._isTouch&&n&&!o._isDragStartInSelection(e)&&(!r||r(e))&&o._scrollableSurface&&0===e.button&&o._root.current){var i=Mc(o.context);o._selectedIndicies={},o._preservedIndicies=void 0,o._events.on(i,"mousemove",o._onAsyncMouseMove,!0),o._events.on(o._scrollableParent,"scroll",o._onAsyncMouseMove),o._events.on(i,"click",o._onMouseUp,!0),o._autoScroll=new Vk(o._root.current,i),o._scrollTop=o._scrollableSurface.scrollTop,o._scrollLeft=o._scrollableSurface.scrollLeft,o._rootRect=o._root.current.getBoundingClientRect(),o._onMouseMove(e)}},o._onTouchStart=function(e){o._isTouch=!0,o._async.setTimeout((function(){o._isTouch=!1}),0)},o._onPointerDown=function(e){"touch"===e.pointerType&&(o._isTouch=!0,o._async.setTimeout((function(){o._isTouch=!1}),0))},Ji(o),o._async=new na(o),o._events=new dl(o),o.state={dragRect:void 0},o}return u(t,e),t.prototype.componentDidMount=function(){var e=Mc(this.context),t=Rc(this.context);this._scrollableParent=vs(this._root.current),this._scrollableSurface=this._scrollableParent===e?null==t?void 0:t.body:this._scrollableParent;var o=this.props.isDraggingConstrainedToRoot?this._root.current:this._scrollableSurface;this._events.on(o,"mousedown",this._onMouseDown),this._events.on(o,"touchstart",this._onTouchStart,!0),this._events.on(o,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._autoScroll&&this._autoScroll.dispose(),delete this._scrollableParent,delete this._scrollableSurface,this._events.dispose(),this._async.dispose()},t.prototype.render=function(){var e=this.props,t=e.rootProps,o=e.children,n=e.theme,r=e.className,i=e.styles,a=this.state.dragRect,s=Zk(i,{theme:n,className:r});return g.createElement("div",d({},t,{className:s.root,ref:this._root}),o,a&&g.createElement("div",{className:s.dragMask}),a&&g.createElement("div",{className:s.box,style:a},g.createElement("div",{className:s.boxFill})))},t.prototype._isMouseEventOnScrollbar=function(e){var t=e.target,o=t.offsetWidth-t.clientWidth,n=t.offsetHeight-t.clientHeight;if(o||n){var r=t.getBoundingClientRect();if(lr(this.props.theme)){if(e.clientX<r.left+o)return!0}else if(e.clientX>r.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||Kk(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=Mc(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.top<t.top&&e.bottom>t.top&&!!t.left&&e.left<t.left&&e.right>t.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;n<o.length;n++){var r=o[n],i=Number(r.getAttribute("data-selection-index"));if(t.isIndexSelected(i)){var a=r.getBoundingClientRect();if(this._isPointInRectangle(a,{left:e.clientX,top:e.clientY}))return!0}}return!1},t.prototype._isInSelectionToggle=function(e){for(var t=e.target;t&&t!==this._root.current;){if("true"===t.getAttribute("data-selection-toggle"))return!0;t=t.parentElement}return!1},t.prototype._evaluateSelection=function(e,t){if(e&&this._root.current){var o=this.props.selection,n=this._root.current.querySelectorAll("[data-selection-index]");this._itemRectCache||(this._itemRectCache={});for(var r=0;r<n.length;r++){var i=n[r],a=i.getAttribute("data-selection-index"),s=this._itemRectCache[a];s||(s={left:(s=i.getBoundingClientRect()).left-t.left,top:s.top-t.top,width:s.width,height:s.height,right:s.left-t.left+s.width,bottom:s.top-t.top+s.height}).width>0&&s.height>0&&(this._itemRectCache[a]=s),s.top<e.top+e.height&&s.bottom>e.top&&s.left<e.left+e.width&&s.right>e.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;c<u.length;c++)a=u[c],this._allSelectedIndices[a]=!0;var d=!1;for(var a in this._allSelectedIndices)if(this._allSelectedIndices[a]!==l[a]){d=!0;break}if(!d)for(var a in l)if(this._allSelectedIndices[a]!==l[a]){d=!0;break}if(d){o.setChangeEvents(!1),o.setAllSelected(!1);for(var p=0,h=Object.keys(this._allSelectedIndices);p<h.length;p++)a=h[p],o.setIndexSelected(Number(a),!0,!1);o.setChangeEvents(!0)}}},t.defaultProps={rootTagName:"div",rootProps:{},isEnabled:!0},t.contextType=ra,t}(g.Component),Qk=rr(Xk,(function(e){var t,o,n,r=e.theme,i=e.className,a=r.palette;return{root:[i,{position:"relative",cursor:"default"}],dragMask:[{position:"absolute",background:"rgba(255, 0, 0, 0)",left:0,top:0,right:0,bottom:0,selectors:(t={},t[Mo]={background:"none",backgroundColor:"transparent"},t)}],box:[{position:"absolute",boxSizing:"border-box",border:"1px solid ".concat(a.themePrimary),pointerEvents:"none",zIndex:10,selectors:(o={},o[Mo]={borderColor:"Highlight"},o)}],boxFill:[{position:"absolute",boxSizing:"border-box",backgroundColor:a.themePrimary,opacity:.1,left:0,top:0,right:0,bottom:0,selectors:(n={},n[Mo]={background:"none",backgroundColor:"transparent"},n)}]}}),void 0,{scope:"MarqueeSelection"});!function(e){e[e.info=0]="info",e[e.error=1]="error",e[e.blocked=2]="blocked",e[e.severeWarning=3]="severeWarning",e[e.success=4]="success",e[e.warning=5]="warning"}(qk||(qk={}));var Jk,$k,ew,tw,ow=((Yk={})[qk.info]="Info",Yk[qk.warning]="Info",Yk[qk.error]="ErrorBadge",Yk[qk.blocked]="Blocked2",Yk[qk.severeWarning]="Warning",Yk[qk.success]="Completed",Yk),nw=gr(),rw=function(e){switch(e){case qk.blocked:case qk.error:case qk.severeWarning:return"assertive"}return"polite"},iw=function(e){switch(e){case qk.blocked:case qk.error:case qk.severeWarning:return"alert"}return"status"},aw=g.forwardRef((function(e,t){var o=PC(!1),n=o[0],r=o[1].toggle,i=fd("MessageBar"),a=e.actions,s=e.className,l=e.children,c=e.overflowButtonAriaLabel,u=e.dismissIconProps,p=e.styles,h=e.theme,m=e.messageBarType,f=void 0===m?qk.info:m,v=e.onDismiss,b=void 0===v?void 0:v,y=e.isMultiline,C=void 0===y||y,_=e.truncated,S=e.dismissButtonAriaLabel,x=e.messageBarIconProps,k=e.role,w=e.delayedRender,I=void 0===w||w,D=e.expandButtonProps,E=e.onExpandButtonToggled,T=void 0===E?void 0:E,P=e.showExpandButton,R=g.useCallback((function(){r(),T&&T(!n)}),[n,T,r]),M=jr(e,xr,["className","role"]),N=nw(p,{theme:h,messageBarType:f||qk.info,onDismiss:void 0!==b,actions:void 0!==a,truncated:_,isMultiline:C,expandSingleLine:n,className:s}),B={iconName:n?"DoubleChevronUp":"DoubleChevronDown"},A=a||b?{"aria-describedby":i,role:"region"}:{},F=a?g.createElement("div",{className:N.actions},a):null,L=b?g.createElement(fp,{disabled:!1,className:N.dismissal,onClick:b,iconProps:u||{iconName:"Clear"},title:S,ariaLabel:S}):null;return g.createElement("div",d({ref:t,className:N.root},A),g.createElement("div",{className:N.content},g.createElement("div",{className:N.iconContainer,"aria-hidden":!0},x?g.createElement(ki,d({},x,{className:pi(N.icon,x.className)})):g.createElement(ki,{iconName:ow[f],className:N.icon})),g.createElement("div",{className:N.text,id:i,role:k||iw(f),"aria-live":rw(f)},g.createElement("span",d({className:N.innerText},M),I?g.createElement(pa,null,g.createElement("span",null,l)):g.createElement("span",null,l))),(P||!C&&!F&&_)&&g.createElement("div",{className:N.expandSingleLine},g.createElement(fp,d({disabled:!1,className:N.expand,onClick:R,iconProps:B,ariaLabel:c,"aria-expanded":n},D))),!C&&F,!C&&L&&g.createElement("div",{className:N.dismissSingleLine},L),C&&L),C&&F)}));aw.displayName="MessageBar";var sw,lw={root:"ms-MessageBar",error:"ms-MessageBar--error",blocked:"ms-MessageBar--blocked",severeWarning:"ms-MessageBar--severeWarning",success:"ms-MessageBar--success",warning:"ms-MessageBar--warning",multiline:"ms-MessageBar-multiline",singleline:"ms-MessageBar-singleline",dismissalSingleLine:"ms-MessageBar-dismissalSingleLine",expandingSingleLine:"ms-MessageBar-expandingSingleLine",content:"ms-MessageBar-content",iconContainer:"ms-MessageBar-icon",text:"ms-MessageBar-text",innerText:"ms-MessageBar-innerText",dismissSingleLine:"ms-MessageBar-dismissSingleLine",expandSingleLine:"ms-MessageBar-expandSingleLine",dismissal:"ms-MessageBar-dismissal",expand:"ms-MessageBar-expand",actions:"ms-MessageBar-actions",actionsSingleline:"ms-MessageBar-actionsSingleLine"},cw=((Jk={})[qk.error]="errorBackground",Jk[qk.blocked]="errorBackground",Jk[qk.success]="successBackground",Jk[qk.warning]="warningBackground",Jk[qk.severeWarning]="severeWarningBackground",Jk[qk.info]="infoBackground",Jk),uw=(($k={})[qk.error]="errorIcon",$k[qk.blocked]="errorIcon",$k[qk.success]="successIcon",$k[qk.warning]="warningIcon",$k[qk.severeWarning]="severeWarningIcon",$k[qk.info]="infoIcon",$k),dw=((ew={})[qk.error]="#ff0000",ew[qk.blocked]="#ff0000",ew[qk.success]="#bad80a",ew[qk.warning]="#fff100",ew[qk.severeWarning]="#ff0000",ew[qk.info]="WindowText",ew),pw=((tw={})[qk.error]="#e81123",tw[qk.blocked]="#e81123",tw[qk.success]="#107c10",tw[qk.warning]="#966400",tw[qk.severeWarning]="#d83b01",tw[qk.info]="WindowText",tw),hw=rr(aw,(function(e){var t,o,n,r,i,a,s,l,c,u,p,h=e.theme,m=e.className,f=e.onDismiss,g=e.truncated,v=e.isMultiline,b=e.expandSingleLine,y=e.messageBarType,C=void 0===y?qk.info:y,_=h.semanticColors,S=h.fonts,x=Yo(0,Vo),k=Ro(lw,h),w={fontSize:et.xSmall,height:10,lineHeight:"10px",color:_.messageText,selectors:(t={},t[Mo]=d(d({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"WindowText"}),t)},I=[on(h,{inset:1,highContrastStyle:{outlineOffset:"-6px",outline:"1px solid Highlight"},borderColor:"transparent"}),{flexShrink:0,width:32,height:32,padding:"8px 12px",selectors:{"& .ms-Button-icon":w,":hover":{backgroundColor:"transparent"},":active":{backgroundColor:"transparent"}}}];return{root:[k.root,S.medium,C===qk.error&&k.error,C===qk.blocked&&k.blocked,C===qk.severeWarning&&k.severeWarning,C===qk.success&&k.success,C===qk.warning&&k.warning,v?k.multiline:k.singleline,!v&&f&&k.dismissalSingleLine,!v&&g&&k.expandingSingleLine,{background:_[cw[C]],boxSizing:"border-box",color:_.messageText,minHeight:32,width:"100%",display:"flex",wordBreak:"break-word",selectors:(o={".ms-Link":{color:_.messageLink,selectors:{":hover":{color:_.messageLinkHovered}}}},o[Mo]=d(d({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{background:"transparent",border:"1px solid ".concat(dw[C]),color:"WindowText"}),o[No]={border:"1px solid ".concat(pw[C])},o)},v&&{flexDirection:"column"},m],content:[k.content,(n={display:"flex",width:"100%",lineHeight:"normal"},n[x]={display:"grid",gridTemplateColumns:"auto 1fr auto",gridTemplateRows:"1fr auto",gridTemplateAreas:'\n "icon text close"\n "action action action"\n '},n)],iconContainer:[k.iconContainer,(r={fontSize:et.medium,minWidth:16,minHeight:16,display:"flex",flexShrink:0,margin:"8px 0 8px 12px"},r[x]={gridArea:"icon"},r)],icon:{color:_[uw[C]],selectors:(i={},i[Mo]=d(d({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"WindowText"}),i)},text:[k.text,d(d({minWidth:0,display:"flex",flexGrow:1,margin:8},S.small),(a={},a[x]={gridArea:"text"},a.selectors=(s={},s[Mo]=d({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s),a)),!f&&{marginRight:12}],innerText:[k.innerText,{lineHeight:16,selectors:{"& span a:last-child":{paddingLeft:4}}},g&&{overflow:"visible",whiteSpace:"pre-wrap"},!v&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},!v&&!g&&{selectors:(l={},l[x]={overflow:"visible",whiteSpace:"pre-wrap"},l)},b&&{overflow:"visible",whiteSpace:"pre-wrap"}],dismissSingleLine:[k.dismissSingleLine,(c={},c[x]={gridArea:"close"},c)],expandSingleLine:k.expandSingleLine,dismissal:[k.dismissal,I],expand:[k.expand,I],actions:[v?k.actions:k.actionsSingleline,(u={display:"flex",flexGrow:0,flexShrink:0,flexBasis:"auto",flexDirection:"row-reverse",alignItems:"center",margin:"0 12px 0 8px",forcedColorAdjust:"auto",MsHighContrastAdjust:"auto"},u[x]={gridArea:"action",marginRight:8,marginBottom:8},u.selectors={"& button:nth-child(n+2)":(p={marginLeft:8},p[x]={marginBottom:0},p)},u),v&&{marginBottom:8},f&&!v&&{marginRight:0}]}}),void 0,{scope:"MessageBar"}),mw={root:"ms-Nav",linkText:"ms-Nav-linkText",compositeLink:"ms-Nav-compositeLink",link:"ms-Nav-link",chevronButton:"ms-Nav-chevronButton",chevronIcon:"ms-Nav-chevron",navItem:"ms-Nav-navItem",navItems:"ms-Nav-navItems",group:"ms-Nav-group",groupContent:"ms-Nav-groupContent"},fw={textContainer:{overflow:"hidden"},label:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"}};function gw(e){return!!e&&!/^[a-z0-9+-.]+:\/\//i.test(e)}var vw,bw=gr(),yw=function(e){function t(t){var o=e.call(this,t)||this;return o._focusZone=g.createRef(),o._onRenderLink=function(e){var t=o.props,n=t.styles,r=t.groups,i=t.theme,a=bw(n,{theme:i,groups:r});return g.createElement("div",{className:a.linkText},e.name)},o._renderGroup=function(e,t){var n=o.props,r=n.styles,i=n.groups,a=n.theme,s=n.onRenderGroupHeader,l=void 0===s?o._renderGroupHeader:s,c=o._isGroupExpanded(e),u=bw(r,{theme:a,isGroup:!0,isExpanded:c,groups:i}),p=d(d({},e),{isExpanded:c,onHeaderClick:function(t,n){o._onGroupHeaderClicked(e,t)}});return g.createElement("div",{key:t,className:u.group},p.name?l(p,o._renderGroupHeader):null,g.createElement("div",{className:u.groupContent},o._renderLinks(p.links,0)))},o._renderGroupHeader=function(e){var t,n=o.props,r=n.styles,i=n.groups,a=n.theme,s=n.expandButtonAriaLabel,l=e.isExpanded,c=bw(r,{theme:a,isGroup:!0,isExpanded:l,groups:i}),u=null!==(t=e.collapseAriaLabel)&&void 0!==t?t:e.expandAriaLabel,d=(l?u:e.expandAriaLabel)||s,p=e.onHeaderClick,h=p?function(e){p(e,l)}:void 0;return g.createElement("button",{className:c.chevronButton,onClick:h,"aria-label":d,"aria-expanded":l},g.createElement(ki,{className:c.chevronIcon,iconName:"ChevronDown"}),e.name)},Ji(o),o.state={isGroupCollapsed:{},isLinkExpandStateChanged:!1,selectedKey:t.initialSelectedKey||t.selectedKey},o}return u(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.groups,n=e.className,r=e.isOnTop,i=e.role,a=void 0===i?"navigation":i,s=e.theme;if(!o)return null;var l=o.map(this._renderGroup),c=bw(t,{theme:s,className:n,isOnTop:r,groups:o});return g.createElement(Hs,d({direction:da.vertical,componentRef:this._focusZone},this.props.focusZoneProps),g.createElement("nav",{role:a,className:c.root,"aria-label":this.props.ariaLabel},l))},Object.defineProperty(t.prototype,"selectedKey",{get:function(){return this.state.selectedKey},enumerable:!1,configurable:!0}),t.prototype.focus=function(e){return void 0===e&&(e=!1),!(!this._focusZone||!this._focusZone.current)&&this._focusZone.current.focus(e)},t.prototype._renderNavLink=function(e,t,o){var n=this.props,r=n.styles,i=n.groups,a=n.theme,s=e.icon||e.iconProps,l=this._isLinkSelected(e),c=e.ariaCurrent,u=void 0===c?"page":c,d=bw(r,{theme:a,isSelected:l,isDisabled:e.disabled,isButtonEntry:e.onClick&&!e.forceAnchor,leftPadding:14*o+3+(s?0:24),groups:i}),p=e.url&&e.target&&!gw(e.url)?"noopener noreferrer":void 0,h=this.props.linkAs?Pl(this.props.linkAs,Xp):Xp,m=this.props.onRenderLink?kl(this.props.onRenderLink,this._onRenderLink):this._onRenderLink;return g.createElement(h,{className:d.link,styles:fw,href:e.url||(e.forceAnchor?"#":void 0),iconProps:e.iconProps||{iconName:e.icon},onClick:e.onClick?this._onNavButtonLinkClicked.bind(this,e):this._onNavAnchorLinkClicked.bind(this,e),title:void 0!==e.title?e.title:e.name,target:e.target,rel:p,disabled:e.disabled,"aria-current":l?u:void 0,"aria-label":e.ariaLabel?e.ariaLabel:void 0,link:e},m(e))},t.prototype._renderCompositeLink=function(e,t,o){var n,r=d({},jr(e,Ur,["onClick"])),i=this.props,a=i.expandButtonAriaLabel,s=i.styles,l=i.groups,c=i.theme,u=bw(s,{theme:c,isExpanded:!!e.isExpanded,isSelected:this._isLinkSelected(e),isLink:!0,isDisabled:e.disabled,position:14*o+1,groups:l}),p="";if(e.links&&e.links.length>0)if(e.collapseAriaLabel||e.expandAriaLabel){var h=null!==(n=e.collapseAriaLabel)&&void 0!==n?n:e.expandAriaLabel;p=e.isExpanded?h:e.expandAriaLabel}else p=a?"".concat(e.name," ").concat(a):e.name;return g.createElement("div",d({},r,{key:e.key||t,className:u.compositeLink}),e.links&&e.links.length>0?g.createElement("button",{className:u.chevronButton,onClick:this._onLinkExpandClicked.bind(this,e),"aria-label":p,"aria-expanded":e.isExpanded?"true":"false"},g.createElement(ki,{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=bw(r,{theme:a,groups:i});return g.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=bw(i,{theme:s,groups:a});return g.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===pt()||!e.url)return!1;var t=Rc(this.context);(sw=sw||t.createElement("a")).href=e.url||"";var o=sw.href;return location.href===o||location.protocol+"//"+location.host+location.pathname===o||!!location.hash&&(location.hash===e.url||(sw.href=location.hash.substring(1),sw.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=d(d({},this.state.isGroupCollapsed),((t={})[e.name]=this._isGroupExpanded(e),t));this.setState({isGroupCollapsed:o})}},t.defaultProps={groups:null},t.contextType=ra,t}(g.Component),Cw=rr(yw,(function(e){var t,o=e.className,n=e.theme,r=e.isOnTop,i=e.isExpanded,a=e.isGroup,s=e.isLink,l=e.isSelected,c=e.isDisabled,u=e.isButtonEntry,d=e.navHeight,p=void 0===d?44:d,h=e.position,m=e.leftPadding,f=void 0===m?20:m,g=e.leftPaddingExpanded,v=void 0===g?28:g,b=e.rightPadding,y=void 0===b?20:b,C=n.palette,_=n.semanticColors,S=n.fonts,x=Ro(mw,n);return{root:[x.root,o,S.medium,{overflowY:"auto",userSelect:"none",WebkitOverflowScrolling:"touch"},r&&[{position:"absolute"},tt.slideRightIn40]],linkText:[x.linkText,{margin:"0 4px",overflow:"hidden",verticalAlign:"middle",textAlign:"left",textOverflow:"ellipsis"}],compositeLink:[x.compositeLink,{display:"block",position:"relative",color:_.bodyText},i&&"is-expanded",l&&"is-selected",c&&"is-disabled",c&&{color:_.disabledText}],link:[x.link,on(n),{display:"block",position:"relative",height:p,width:"100%",lineHeight:"".concat(p,"px"),textDecoration:"none",cursor:"pointer",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",paddingLeft:f,paddingRight:y,color:_.bodyText,selectors:(t={},t[Mo]={border:0,selectors:{":focus":{border:"1px solid WindowText"}}},t)},!c&&{selectors:{".ms-Nav-compositeLink:hover &":{backgroundColor:_.bodyBackgroundHovered}}},l&&{color:_.bodyTextChecked,fontWeight:$e.semibold,backgroundColor:_.bodyBackgroundChecked,selectors:{"&:after":{borderLeft:"2px solid ".concat(C.themePrimary),content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}},c&&{color:_.disabledText},u&&{color:C.themePrimary}],chevronButton:[x.chevronButton,on(n),S.small,{display:"block",textAlign:"left",lineHeight:"".concat(p,"px"),margin:"5px 0",padding:"0px, ".concat(y,"px, 0px, ").concat(v,"px"),border:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",cursor:"pointer",color:_.bodyText,backgroundColor:"transparent",selectors:{"&:visited":{color:_.bodyText}}},a&&{fontSize:S.large.fontSize,width:"100%",height:p,borderBottom:"1px solid ".concat(_.bodyDivider)},s&&{display:"block",width:v-2,height:p-2,position:"absolute",top:"1px",left:"".concat(h,"px"),zIndex:Qo.Nav,padding:0,margin:0}],chevronIcon:[x.chevronIcon,{position:"absolute",left:"8px",height:p,display:"inline-flex",alignItems:"center",lineHeight:"".concat(p,"px"),fontSize:S.small.fontSize,transition:"transform .1s linear"},i&&{transform:"rotate(-180deg)"},s&&{top:0}],navItem:[x.navItem,{padding:0}],navItems:[x.navItems,{listStyleType:"none",padding:0,margin:0}],group:[x.group,i&&"is-expanded"],groupContent:[x.groupContent,{display:"none",marginBottom:"40px"},tt.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"}(vw||(vw={}));var _w={root:"ms-Suggestions-item",itemButton:"ms-Suggestions-itemButton",closeButton:"ms-Suggestions-closeButton",isSuggested:"is-suggested"};function Sw(e){var t,o,n,r,i,a,s=e.className,l=e.theme,c=e.suggested,u=l.palette,p=l.semanticColors,h=Ro(_w,l);return{root:[h.root,{display:"flex",alignItems:"stretch",boxSizing:"border-box",width:"100%",position:"relative",selectors:{"&:hover":{background:p.menuItemBackgroundHovered},"&:hover .ms-Suggestions-closeButton":{display:"block"}}},c&&{selectors:(t={},t[".".concat(Jo," &, :host(.").concat(Jo,") &")]={selectors:(o={},o[".".concat(h.closeButton)]={display:"block",background:p.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:[h.itemButton,{justifyContent:"flex-start",width:"100%",padding:0,border:"none",height:"100%",minWidth:0,overflow:"hidden",selectors:(n={},n[Mo]={color:"WindowText",selectors:{":hover":d({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})}},n[":hover"]={color:p.menuItemTextHovered},n)},c&&[h.isSuggested,{background:p.menuItemBackgroundPressed,selectors:(r={":hover":{background:p.menuDivider}},r[Mo]=d({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)}]],closeButton:[h.closeButton,{display:"none",color:u.neutralSecondary,padding:"0 4px",height:"auto",width:32,selectors:(i={":hover, :active":{background:u.neutralTertiaryAlt,color:u.neutralDark}},i[Mo]={color:"WindowText"},i)},c&&(a={},a[".".concat(Jo," &, :host(.").concat(Jo,") &")]={selectors:{":hover, :active":{background:u.neutralTertiary}}},a.selectors={":hover, :active":{background:u.neutralTertiary,color:u.neutralPrimary}},a)]}}var xw=r,kw=gr(),ww=rr(tx,Sw,void 0,{scope:"SuggestionItem"}),Iw=function(e){function t(t){var o=e.call(this,t)||this;return o._forceResolveButton=g.createRef(),o._searchForMoreButton=g.createRef(),o._selectedElement=g.createRef(),o._scrollContainer=g.createRef(),o.tryHandleKeyDown=function(e,t){var n=!1,r=null,i=o.state.selectedActionType,a=o.props.suggestions.length;if(e===ar.down)switch(i){case vw.forceResolve:a>0?(o._refocusOnSuggestions(e),r=vw.none):r=o._searchForMoreButton.current?vw.searchMore:vw.forceResolve;break;case vw.searchMore:o._forceResolveButton.current?r=vw.forceResolve:a>0?(o._refocusOnSuggestions(e),r=vw.none):r=vw.searchMore;break;case vw.none:-1===t&&o._forceResolveButton.current&&(r=vw.forceResolve)}else if(e===ar.up)switch(i){case vw.forceResolve:o._searchForMoreButton.current?r=vw.searchMore:a>0&&(o._refocusOnSuggestions(e),r=vw.none);break;case vw.searchMore:a>0?(o._refocusOnSuggestions(e),r=vw.none):o._forceResolveButton.current&&(r=vw.forceResolve);break;case vw.none:-1===t&&o._searchForMoreButton.current&&(r=vw.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:vw.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()}},Ji(o),o.state={selectedActionType:vw.none},o}return u(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,p=n.suggestions,h=n.isLoading,m=n.isSearching,f=n.loadingText,v=n.onRenderNoResultFound,b=n.searchingText,y=n.isMostRecentlyUsedVisible,C=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?kw(E,{theme:D,className:l,suggestionsClassName:I,forceResolveButtonSelected:this.state.selectedActionType===vw.forceResolve,searchForMoreButtonSelected:this.state.selectedActionType===vw.searchMore}):{root:pi("ms-Suggestions",l,xw.root),title:pi("ms-Suggestions-title",xw.suggestionsTitle),searchForMoreButton:pi("ms-SearchMore-button",xw.actionButton,(e={},e["is-selected "+xw.buttonSelected]=this.state.selectedActionType===vw.searchMore,e)),forceResolveButton:pi("ms-forceResolve-button",xw.actionButton,(t={},t["is-selected "+xw.buttonSelected]=this.state.selectedActionType===vw.forceResolve,t)),suggestionsAvailable:pi("ms-Suggestions-suggestionsAvailable",xw.suggestionsAvailable),suggestionsContainer:pi("ms-Suggestions-container",xw.suggestionsContainer,I),noSuggestions:pi("ms-Suggestions-none",xw.suggestionsNone)};var R=this._classNames.subComponentStyles?this._classNames.subComponentStyles.spinner:void 0,M=E?{styles:R}:{className:pi("ms-Suggestions-spinner",xw.suggestionsSpinner)},N=w;y&&i&&(N=i);var B=void 0;k&&(B=p.length>=C?_:S);var A,F=!(p&&p.length||h),L=this.state.selectedActionType===vw.forceResolve?"sug-selectedAction":void 0,H=this.state.selectedActionType===vw.searchMore?"sug-selectedAction":void 0;return g.createElement("div",{className:this._classNames.root,"aria-label":P||N,id:T,role:"listbox"},g.createElement(fa,{message:this._getAlertText(),"aria-live":"polite"}),N?g.createElement("div",{className:this._classNames.title},N):null,r&&this._shouldShowForceResolve()&&g.createElement(sh,{componentRef:this._forceResolveButton,className:this._classNames.forceResolveButton,id:L,onClick:this._forceResolve,"data-automationid":"sug-forceResolve"},r),h&&g.createElement(zy,d({},M,{ariaLabel:f,label:f})),F?(A=function(){return g.createElement("div",{className:o._classNames.noSuggestions},u)},g.createElement("div",{id:"sug-noResultsFound",role:"option"},v?v(void 0,A):A())):this._renderSuggestions(),s&&c&&g.createElement(sh,{componentRef:this._searchForMoreButton,className:this._classNames.searchForMoreButton,iconProps:a||{iconName:"Search"},id:H,onClick:this._getMoreResults,"data-automationid":"sug-searchForMore",role:"option"},s),m?g.createElement(zy,d({},M,{ariaLabel:b,label:b})):null,!B||c||y||m?null:g.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!==vw.none},t.prototype.executeSelectedAction=function(){switch(this.state.selectedActionType){case vw.forceResolve:this._forceResolve();break;case vw.searchMore:this._getMoreResults()}},t.prototype.focusAboveSuggestions=function(){this._forceResolveButton.current?this.setState({selectedActionType:vw.forceResolve}):this._searchForMoreButton.current&&this.setState({selectedActionType:vw.searchMore})},t.prototype.focusBelowSuggestions=function(){this._searchForMoreButton.current?this.setState({selectedActionType:vw.searchMore}):this._forceResolveButton.current&&this.setState({selectedActionType:vw.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?this._scrollContainer.current.scrollTo(0,o):a&&this._scrollContainer.current.scrollTo(0,o-r+t)}},t.prototype._renderSuggestions=function(){var e=this,t=this.props,o=t.onRenderSuggestion,n=t.removeSuggestionAriaLabel,r=t.suggestionsItemClassName,i=t.resultsMaximumNumber,a=t.showRemoveButtons,s=t.removeButtonIconProps,l=this.props.suggestions,c=ww,u=-1;return l.some((function(e,t){return!!e.selected&&(u=t,!0)})),i&&(l=u>=i?l.slice(u-i+1,u+1):l.slice(0,i)),0===l.length?null:g.createElement("div",{className:this._classNames.suggestionsContainer,ref:this._scrollContainer,role:"presentation"},l.map((function(t,i){return g.createElement("div",{ref:t.selected?e._selectedElement:void 0,key:t.item.key?t.item.key:i,role:"presentation"},g.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}(g.Component),Dw={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 Ew(e){var t,o=e.className,n=e.suggestionsClassName,r=e.theme,i=e.forceResolveButtonSelected,a=e.searchForMoreButtonSelected,s=r.palette,l=r.semanticColors,c=r.fonts,u=Ro(Dw,r),p={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"}}},h={backgroundColor:s.themeLight,selectors:(t={},t[Mo]=d({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,p,i&&[u.isSelected,h]],searchForMoreButton:[u.searchForMoreButton,p,a&&[u.isSelected,h]],noSuggestions:[u.noSuggestions,{textAlign:"center",color:s.neutralSecondary,fontSize:c.small.fontSize,lineHeight:30}],suggestionsAvailable:[u.suggestionsAvailable,ho],subComponentStyles:{spinner:{root:[u.spinner,{margin:"5px 0",paddingLeft:14,textAlign:"left",whiteSpace:"nowrap",lineHeight:20,fontSize:c.small.fontSize}],circle:{display:"inline-block",verticalAlign:"middle"},label:{display:"inline-block",verticalAlign:"middle",margin:"0 10px 0 16px"}}}}}var Tw,Pw=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.currentIndex<this.suggestions.length-1)return this.setSelectedSuggestion(this.currentIndex+1),!0;if(this.currentIndex===this.suggestions.length-1)return this.setSelectedSuggestion(0),!0}return!1},e.prototype.previousSuggestion=function(){if(this.suggestions&&this.suggestions.length){if(this.currentIndex>0)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"}(Tw||(Tw={})),Kt([{rawString:".picker_94f06b16{position:relative}.pickerText_94f06b16{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid "},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";min-width:180px;min-height:30px}.pickerText_94f06b16:hover{border-color:"},{theme:"inputBorderHovered",defaultValue:"#323130"},{rawString:"}.pickerText_94f06b16.inputFocused_94f06b16{position:relative;border-color:"},{theme:"inputFocusBorderAlt",defaultValue:"#0078d4"},{rawString:'}.pickerText_94f06b16.inputFocused_94f06b16:after{pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;right:-1px;border:2px solid '},{theme:"inputFocusBorderAlt",defaultValue:"#0078d4"},{rawString:'}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.pickerText_94f06b16.inputDisabled_94f06b16{position:relative;border-color:GrayText}.pickerText_94f06b16.inputDisabled_94f06b16:after{pointer-events:none;content:"";position:absolute;left:0;top:0;bottom:0;right:0;background-color:Window}}.pickerInput_94f06b16{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;-ms-flex-item-align:end;align-self:flex-end}.pickerItems_94f06b16{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%}.screenReaderOnly_94f06b16{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}'}]);var Rw="picker_94f06b16",Mw="pickerText_94f06b16",Nw="inputFocused_94f06b16",Bw="inputDisabled_94f06b16",Aw="pickerInput_94f06b16",Fw="pickerItems_94f06b16",Lw="screenReaderOnly_94f06b16",Hw=s,Ow=gr(),zw=function(e){function t(t){var o=e.call(this,t)||this;o.root=g.createRef(),o.input=g.createRef(),o.suggestionElement=g.createRef(),o.SuggestionOfProperType=Iw,o._styledSuggestions=rr(o.SuggestionOfProperType,Ew,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===ar.up?o.suggestionStore.setSelectedSuggestion(o.suggestionStore.suggestions.length-1):e===ar.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=Rc(o.context).activeElement),t&&!Ma(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 ar.escape:o.state.suggestionsVisible&&(o.setState({suggestionsVisible:!1}),e.preventDefault(),e.stopPropagation());break;case ar.tab:case ar.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 ar.backspace:o.props.disabled||o.onBackspace(e),e.stopPropagation();break;case ar.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 ar.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 ar.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 ar.up:case ar.down:return!0}return e.which===ar.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)!==Tw.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()}},Ji(o);var n=t.selectedItems||t.defaultSelectedItems||[];return o._id=as(),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 Pw,o.selection=new Ey({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 u(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 na(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.length<t.items.length?(this.selection.setIndexSelected(n,!1,!0),this.resetFocus(n)):this.state.items.length>t.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,p=r.theme,h=r.styles,m=!!this.state.suggestionsVisible,f=m?this._ariaMap.suggestionList:void 0,v=h?Ow(h,{theme:p,className:i,isFocused:o,disabled:s,inputClassName:a&&a.className}):{root:pi("ms-BasePicker",i||""),text:pi("ms-BasePicker-text",Hw.pickerText,this.state.isFocused&&Hw.inputFocused),itemsWrapper:Hw.pickerItems,input:pi("ms-BasePicker-input",Hw.pickerInput,a&&a.className),screenReaderText:Hw.screenReaderOnly},b=this.props["aria-label"]||(null==a?void 0:a["aria-label"]);return g.createElement("div",{ref:this.root,className:v.root,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onWrapperClick},this.renderCustomAlert(v.screenReaderText),g.createElement("span",{id:"".concat(this._ariaMap.selectedItems,"-label"),hidden:!0},l||b),g.createElement(Dy,{selection:this.selection,selectionMode:Jb.multiple},g.createElement("div",{className:v.text,"aria-owns":f},n.length>0&&g.createElement("span",{id:this._ariaMap.selectedItems,className:v.itemsWrapper,role:u,"aria-labelledby":"".concat(this._ariaMap.selectedItems,"-label")},this.renderItems()),this.canAddItems()&&g.createElement(ca,d({spellCheck:!1},a,{className:v.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":m?this.getActiveDescendant():void 0,"aria-controls":f,"aria-describedby":n.length>0?this._ariaMap.selectedItems:void 0,"aria-expanded":m,"aria-haspopup":"listbox","aria-label":b,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<t},t.prototype.renderSuggestions=function(){var e=this,t=this._styledSuggestions;return this.state.suggestionsVisible&&this.input?g.createElement(wu,d({isBeakVisible:!1,gapSpace:5,target:this.input.current?this.input.current.inputElement:void 0,onDismiss:this.dismissSuggestions,directionalHint:Sl.bottomLeftEdge,directionalHintForRTL:Sl.bottomRightEdge,preventDismissOnEvent:function(t){return e._preventDismissOnScrollOrResize(t)}},this.props.pickerCalloutProps),g.createElement(t,d({onRenderSuggestion:this.props.onRenderSuggestionsItem,onSuggestionClick:this.onSuggestionClick,onSuggestionRemove:this.onSuggestionRemove,suggestions:this.suggestionStore.getSuggestions(),componentRef:this.suggestionElement,onGetMoreResults:this.onGetMoreResults,moreSuggestionsAvailable:this.state.moreSuggestionsAvailable,isLoading:this.state.suggestionsLoading,isExtendedLoading:this.state.suggestionsExtendedLoading,isSearching:this.state.isSearching,isMostRecentlyUsedVisible:this.state.isMostRecentlyUsedVisible,isResultsFooterVisible:this.state.isResultsFooterVisible,refocusSuggestions:this.refocusSuggestions,removeSuggestionAriaLabel:this.props.removeButtonAriaLabel,suggestionsListId:this._ariaMap.suggestionList,createGenericItem:this._completeGenericSuggestion},this.props.pickerSuggestionsProps))):null},t.prototype.renderItems=function(){var e=this,t=this.props,o=t.disabled,n=t.removeButtonAriaLabel,r=t.removeButtonIconProps,i=this.props.onRenderItem,a=this.state,s=a.items,l=a.selectedIndices;return s.map((function(t,a){return i({item:t,index:a,key:t.key?t.key:a,selected:-1!==l.indexOf(a),onRemoveItem:function(){return e.removeItem(t)},disabled:o,onItemChange:e.onItemChange,removeButtonAriaLabel:n,removeButtonIconProps:r})}))},t.prototype.resetFocus=function(e){var t=this.state.items;if(t.length){e=null!=e?e:t.length-1;var o=this.root.current&&this.root.current.querySelectorAll("[data-selection-index] > 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=Rc(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=Hw.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 g.createElement("div",{id:this._ariaMap.selectedSuggestionAlert,className:e},"".concat(n," "))}},t.prototype.renderCustomAlert=function(e){void 0===e&&(e=Hw.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,""))),g.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=Rc(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=ra,t}(g.Component),Ww=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(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,p=n.styles,h=!!this.state.suggestionsVisible,m=h?this._ariaMap.suggestionList:void 0,f=p?Ow(p,{theme:u,className:r,isFocused:o,inputClassName:i&&i.className}):{root:pi("ms-BasePicker",Hw.picker,r||""),text:pi("ms-BasePicker-text",Hw.pickerText,this.state.isFocused&&Hw.inputFocused,a&&Hw.inputDisabled),itemsWrapper:Hw.pickerItems,input:pi("ms-BasePicker-input",Hw.pickerInput,i&&i.className),screenReaderText:Hw.screenReaderOnly},v=this.props["aria-label"]||(null==i?void 0:i["aria-label"]);return g.createElement("div",{ref:this.root,onBlur:this.onBlur,onFocus:this.onFocus},g.createElement("div",{className:f.root,onKeyDown:this.onKeyDown},this.renderCustomAlert(f.screenReaderText),g.createElement("span",{id:"".concat(this._ariaMap.selectedItems,"-label"),hidden:!0},s||v),g.createElement("div",{className:f.text,"aria-owns":m},g.createElement(ca,d({},i,{className:f.input,componentRef:this.input,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onClick:this.onClick,onInputValueChange:this.onInputChange,suggestedDisplayValue:t,"aria-activedescendant":h?this.getActiveDescendant():void 0,"aria-controls":m,"aria-expanded":h,"aria-haspopup":"listbox","aria-label":v,"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(),g.createElement(Dy,{selection:this.selection,selectionMode:Jb.single},g.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}(zw),Vw={root:"ms-PickerPersona-container",itemContent:"ms-PickerItem-content",removeButton:"ms-PickerItem-removeButton",isSelected:"is-selected",isInvalid:"is-invalid"},Kw=24,Gw=15;function Uw(e){var t,o,n,r,i,a,s,l,c=e.className,u=e.theme,p=e.selected,h=e.invalid,m=e.disabled,f=u.palette,g=u.semanticColors,v=u.fonts,b=Ro(Vw,u),y=[p&&!h&&!m&&{color:"inherit",selectors:(t={":hover":{color:"inherit"}},t[Mo]={color:"HighlightText"},t)},(h&&!p||h&&p&&m)&&{color:"inherit",borderBottom:"2px dotted currentColor",selectors:(o={},o[".".concat(b.root,":hover &")]={color:"inherit"},o)},h&&p&&!m&&{color:"inherit",borderBottom:"2px dotted currentColor",selectors:{":hover":{color:"inherit"}}},m&&{selectors:(n={},n[Mo]={color:"GrayText"},n)}],C=[p&&!h&&!m&&{color:"inherit",selectors:(r={":hover":{color:"inherit"}},r[Mo]={color:"HighlightText"},r)}],_=[h&&{fontSize:v.xLarge.fontSize}];return{root:[b.root,on(u,{inset:-2}),{borderRadius:Gw,display:"inline-flex",alignItems:"center",background:f.neutralLighter,margin:"1px 2px",cursor:"default",userSelect:"none",maxWidth:300,verticalAlign:"middle",minWidth:0,selectors:(i={":hover":{background:p||m?"":f.neutralLight}},i[Mo]=[{border:"1px solid WindowText"},m&&{borderColor:"GrayText"}],i)},p&&!m&&[b.isSelected,{selectors:(a={":focus-within":{background:f.themePrimary,color:f.white}},a[Mo]=d({borderColor:"HighLight",background:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)}],h&&[b.isInvalid],h&&p&&!m&&{":focus-within":{background:f.redDark,color:f.white}},(h&&!p||h&&p&&m)&&{color:f.redDark},c],itemContent:[b.itemContent,{flex:"0 1 auto",minWidth:0,maxWidth:"100%",overflow:"hidden"}],removeButton:[b.removeButton,{borderRadius:Gw,color:f.neutralPrimary,flex:"0 0 auto",width:Kw,height:Kw,selectors:{":hover":{background:f.neutralTertiaryAlt,color:f.neutralDark}}},p&&[on(u,{inset:2,borderColor:"transparent",highContrastStyle:{inset:2,left:1,top:1,bottom:1,right:1,outlineColor:"ButtonText"},outlineColor:f.white,borderRadius:Gw}),{selectors:(s={":hover":{color:f.white,background:f.themeDark},":active":{color:f.white,background:f.themeDarker},":focus":{color:f.white}},s[Mo]={color:"HighlightText"},s)},h&&{selectors:{":hover":{color:f.white,background:f.red},":active":{color:f.white,background:f.redDark}}}],m&&{selectors:(l={},l[".".concat($d.msButtonIcon)]={color:g.buttonText},l)}],subComponentStyles:{persona:{root:{color:"inherit"},primaryText:y,secondaryText:C},personaCoin:{initials:_}}}}var jw=gr(),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,p=g.createRef(),h=as(),m=jw(a,{theme:s,className:l,selected:r,disabled:c,invalid:t.ValidationState===Tw.warning}),f=m.subComponentStyles?m.subComponentStyles.persona:void 0,v=m.subComponentStyles?m.subComponentStyles.personaCoin:void 0;return g.createElement("div",{"data-selection-index":n,className:m.root,role:"listitem",key:n,onClick:function(){var e;null===(e=p.current)||void 0===e||e.focus()}},g.createElement("div",{className:m.itemContent,id:"selectedItemPersona-"+h},g.createElement(AS,d({size:hi.size24,styles:f,coinProps:{styles:v}},t))),g.createElement(fp,{componentRef:p,id:h,onClick:o,disabled:c,iconProps:null!=u?u:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},className:m.removeButton,ariaLabel:i,"aria-labelledby":"".concat(h," selectedItemPersona-").concat(h)}))},Yw=rr(qw,Uw,void 0,{scope:"PeoplePickerItem"}),Zw={root:"ms-PeoplePicker-personaContent",personaWrapper:"ms-PeoplePicker-Persona"};function Xw(e){var t,o,n,r=e.className,i=e.theme,a=Ro(Zw,i),s={selectors:(t={},t[".".concat(_w.isSuggested," &")]={selectors:(o={},o[Mo]={color:"HighlightText"},o)},t[".".concat(a.root,":hover &")]={selectors:(n={},n[Mo]={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 Qw=gr(),Jw=function(e){var t=e.personaProps,o=e.suggestionsProps,n=e.compact,r=e.styles,i=e.theme,a=e.className,s=Qw(r,{theme:i,className:o&&o.suggestionsItemClassName||a}),l=s.subComponentStyles&&s.subComponentStyles.persona?s.subComponentStyles.persona:void 0;return g.createElement("div",{className:s.root},g.createElement(AS,d({size:hi.size24,styles:l,className:s.personaWrapper,showSecondaryText:!n,showOverflowTooltip:!1},t)))},$w=rr(Jw,Xw,void 0,{scope:"PeoplePickerItemSuggestion"}),eI={root:"ms-BasePicker",text:"ms-BasePicker-text",itemsWrapper:"ms-BasePicker-itemsWrapper",input:"ms-BasePicker-input"};function tI(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=Ro(eI,i),g=[d.medium,{color:c.inputPlaceholderText,opacity:1,selectors:(t={},t[Mo]={color:"GrayText"},t)}],v={color:c.disabledText,selectors:(o={},o[Mo]={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&&an(m,u.roundedCorner2),l&&{borderColor:b,selectors:(n={":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:b}},n[Mo]={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"}}},vn(g),l&&vn(v),s],screenReaderText:ho}}var oI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t}(zw),nI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t}(Ww),rI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.defaultProps={onRenderItem:function(e){return g.createElement(Yw,d({},e))},onRenderSuggestionsItem:function(e,t){return g.createElement($w,{personaProps:e,suggestionsProps:t})},createGenericItem:sI},t}(oI),iI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.defaultProps={onRenderItem:function(e){return g.createElement(Yw,d({},e))},onRenderSuggestionsItem:function(e,t){return g.createElement($w,{personaProps:e,suggestionsProps:t,compact:!0})},createGenericItem:sI},t}(oI),aI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.defaultProps={onRenderItem:function(e){return g.createElement(Yw,d({},e))},onRenderSuggestionsItem:function(e,t){return g.createElement($w,{personaProps:e,suggestionsProps:t})},createGenericItem:sI},t}(nI);function sI(e,t){var o={key:e,primaryText:e,imageInitials:"!",ValidationState:t};return t!==Tw.warning&&(o.imageInitials=oi(e,lr())),o}var lI=rr(rI,tI,void 0,{scope:"NormalPeoplePicker"}),cI=rr(iI,tI,void 0,{scope:"CompactPeoplePicker"}),uI=rr(aI,tI,void 0,{scope:"ListPeoplePickerBase"}),dI={root:"ms-TagItem",text:"ms-TagItem-text",close:"ms-TagItem-close",isSelected:"is-selected"},pI=26;function hI(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=Ro(dI,s);return{root:[m.root,p.medium,on(s),{boxSizing:"content-box",flexShrink:"1",margin:2,height:pI,lineHeight:pI,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[Mo]={border:"1px solid ".concat(l?"WindowFrame":"WindowText")},t)},c&&{selectors:(o={},o[Mo]={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[Mo]={color:"GrayText"},n)}],close:[m.close,on(s,{borderColor:"transparent",inset:1,outlineColor:u.white}),{color:u.neutralSecondary,width:30,height:"100%",flex:"0 0 auto",borderRadius:lr(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($d.msButtonIcon)]={color:u.neutralSecondary},i)}]}}var mI=gr(),fI=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,p=e.title,h=void 0===p?"string"==typeof e.children?e.children:e.item.name:p,m=e.removeButtonIconProps,f=g.createRef(),v=mI(o,{theme:t,className:s,selected:n,disabled:r}),b=fd(),y=i?{"aria-disabled":r,tabindex:0}:{disabled:r};return g.createElement("div",{"data-selection-index":l,className:v.root,role:"listitem",key:l,onClick:function(){var e;null===(e=f.current)||void 0===e||e.focus()}},g.createElement("span",{className:v.text,title:h,id:"".concat(b,"-text")},a),g.createElement(fp,d({componentRef:f,id:b,onClick:c},y,{iconProps:null!=m?m:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},className:v.close,"aria-labelledby":"".concat(b,"-removeLabel ").concat(b,"-text")})),g.createElement("span",{id:"".concat(b,"-removeLabel"),hidden:!0},u))},gI=rr(fI,hI,void 0,{scope:"TagItem"}),vI={suggestionTextOverflow:"ms-TagItem-TextOverflow"};function bI(e){var t=e.className,o=e.theme;return{suggestionTextOverflow:[Ro(vI,o).suggestionTextOverflow,{overflow:"hidden",textOverflow:"ellipsis",maxWidth:"60vw",padding:"6px 12px 7px",whiteSpace:"nowrap"},t]}}var yI=gr(),CI=function(e){var t=e.styles,o=e.theme,n=e.children,r=yI(t,{theme:o});return g.createElement("div",{className:r.suggestionTextOverflow}," ",n," ")},_I=rr(CI,bI,void 0,{scope:"TagItemSuggestion"}),SI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.defaultProps={onRenderItem:function(e){return g.createElement(gI,d({},e),e.item.name)},onRenderSuggestionsItem:function(e){return g.createElement(_I,null,e.name)}},t}(zw),xI=rr(SI,tI,void 0,{scope:"TagPicker"});function kI(e,t){void 0===t&&(t=null);var o,n=g.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 wI=function(e){function t(t){var o=e.call(this,t)||this;return Ji(o),o}return u(t,e),t.prototype.render=function(){return g.createElement("div",d({},jr(this.props,Ur)),this.props.children)},t}(g.Component),II=gr(),DI=function(e,t){var o={links:[],keyToIndexMapping:{},keyToTabIdMapping:{}};return g.Children.forEach(g.Children.toArray(e.children),(function(n,r){if(EI(n)){var i=n.props,a=i.linkText,s=p(i,["linkText"]),l=n.props.itemKey||r.toString();o.links.push(d(d({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&&bn("The children of a Pivot component must be of type PivotItem to be rendered.")})),o},EI=function(e){var t;return g.isValidElement(e)&&(null===(t=e.type)||void 0===t?void 0:t.name)===wI.name},TI=g.forwardRef((function(e,t){var o,n=g.useRef(null),r=g.useRef(null),i=fd("Pivot"),a=Am(e.selectedKey,e.defaultSelectedKey),s=a[0],l=a[1],c=e.componentRef,u=e.theme,p=e.linkSize,h=e.linkFormat,m=e.overflowBehavior,f=e.overflowAriaLabel,v=e.focusZoneProps,b=e.overflowButtonAs,y={"aria-label":e["aria-label"],"aria-labelledby":e["aria-labelledby"]},C=jr(e,Ur,["aria-label","aria-labelledby"]),_=DI(e,i);g.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 g.createElement("span",{className:o.linkContent},void 0!==n&&g.createElement("span",{className:o.icon},g.createElement(ki,{iconName:n})),void 0!==r&&g.createElement("span",{className:o.text}," ",e.headerText),void 0!==t&&g.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 p=t.headerText||"";p+=t.itemCount?" ("+t.itemCount+")":"",p+=t.itemIcon?" xx":"";var h=t.role&&"tab"!==t.role?{role:t.role}:{role:"tab","aria-selected":u};return g.createElement(sh,d({},s,h,{id:c,key:a,className:pi(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":p}),i)},k=function(e,t){t.preventDefault(),I(e,t)},w=function(e,t){t.which===ar.enter&&(t.preventDefault(),I(e))},I=function(t,o){var n;if(l(t),_=DI(e,i),e.onLinkClick&&_.keyToIndexMapping[t]>=0){var a=_.keyToIndexMapping[t],s=g.Children.toArray(e.children)[a];EI(s)&&e.onLinkClick(s,o)}null===(n=r.current)||void 0===n||n.dismissMenu()};o=II(e.styles,{theme:u,linkSize:p,linkFormat:h});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=g.useMemo((function(){return{items:[],alignTargetEdge:!0,directionalHint:Sl.bottomRightEdge}}),[]),M=function(e){var t=e.onOverflowItemsChanged,o=e.rtl,n=e.pinnedIndex,r=g.useRef(),i=g.useRef(),a=kI((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=pt(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=kI((function(e){return a(e.parentElement),function(){return a(null)}}));return ni((function(){var e=a.current,l=s.current;if(e&&l){for(var c=[],u=0;u<e.children.length;u++){var d=e.children[u];d instanceof HTMLElement&&d!==l&&c.push(d)}var p=[],h=0;r.current=function(){var e=i.current;if(void 0!==e){for(var t=c.length-1;t>=0;t--){if(void 0===p[t]){var r=o?e-c[t].offsetLeft:c[t].offsetLeft+c[t].offsetWidth;t+1<c.length&&t+1===n&&(h=p[t+1]-r),t===c.length-2&&(h+=l.offsetWidth),p[t]=r+h}if(e>p[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=pt(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:lr(u),pinnedIndex:T}).menuButtonRef,N=b||sh;return g.createElement("div",d({ref:t},C),g.createElement(Hs,d({componentRef:n,role:"tablist"},y,{direction:da.horizontal},v,{className:pi(o.root,null==v?void 0:v.className)}),P,"menu"===m&&g.createElement(N,{className:pi(o.link,o.overflowMenuButton),elementRef:M,componentRef:r,menuProps:R,menuIconProps:{iconName:"More",style:{color:"inherit"}},ariaLabel:f,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 g.createElement("div",{role:"tabpanel",hidden:!n,key:t,"aria-hidden":!n,"aria-labelledby":i,className:o.itemContainer},g.Children.toArray(e.children)[r])}(t.itemKey,E===t.itemKey)})))}));TI.displayName="Pivot";var PI,RI,MI={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"},NI=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,p="large"===a,h="tabs"===s;return[u.medium,{color:c.actionLink,padding:"0 8px",position:"relative",backgroundColor:"transparent",border:0,borderRadius:0,selectors:{":hover":{backgroundColor:c.buttonBackgroundHovered,color:c.buttonTextHovered,cursor:"pointer"},":active":{backgroundColor:c.buttonBackgroundPressed,color:c.buttonTextHovered},":focus":{outline:"none"}}},!o&&[{display:"inline-block",lineHeight:44,height:44,marginRight:8,textAlign:"center",selectors:(n={},n[".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={outline:"1px solid ".concat(c.focusBorder)},n[".".concat(Jo," &:focus:after, :host(.").concat(Jo,") &:focus:after")]={content:"attr(data-content)",position:"relative",border:0},n[":before"]={backgroundColor:"transparent",bottom:0,content:'""',height:2,left:8,position:"absolute",right:8,transition:"left ".concat(Ke.durationValue2," ").concat(Ke.easeFunction2,",\n right ").concat(Ke.durationValue2," ").concat(Ke.easeFunction2)},n[":after"]={color:"transparent",content:"attr(data-content)",display:"block",fontWeight:$e.bold,height:1,overflow:"hidden",visibility:"hidden"},n)},p&&{fontSize:u.large.fontSize},h&&[{marginRight:0,height:44,lineHeight:44,backgroundColor:c.buttonBackground,padding:"0 10px",verticalAlign:"top",selectors:(r={":focus":{outlineOffset:"-2px"}},r[".".concat(Jo," &:focus::before, :host(.").concat(Jo,") &:focus::before")]={height:"auto",background:"transparent",transition:"none"},r["&:hover, &:focus"]={color:c.buttonTextCheckedHovered},r["&:active, &:hover"]={color:c.primaryButtonText,backgroundColor:c.primaryButtonBackground},r["&.".concat(t.linkIsSelected)]={backgroundColor:c.primaryButtonBackground,color:c.primaryButtonText,fontWeight:$e.regular,selectors:(i={":before":{backgroundColor:"transparent",transition:"none",position:"absolute",top:0,left:0,right:0,bottom:0,content:'""',height:0},":hover":{backgroundColor:c.primaryButtonBackgroundHovered,color:c.primaryButtonText},":active":{backgroundColor:c.primaryButtonBackgroundPressed,color:c.primaryButtonText}},i[Mo]=d({fontWeight:$e.semibold,color:"HighlightText",background:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)},r[".".concat(Jo," &.").concat(t.linkIsSelected,":focus, :host(.").concat(Jo,") &.").concat(t.linkIsSelected,":focus")]={outlineColor:c.primaryButtonText},r)}]]]},BI=rr(TI,(function(e){var t,o,n,r,i=e.className,a=e.linkSize,s=e.linkFormat,l=e.theme,c=l.semanticColors,u=l.fonts,d=Ro(MI,l),p="large"===a,h="tabs"===s;return{root:[d.root,u.medium,dn,{position:"relative",color:c.link,whiteSpace:"nowrap"},p&&d.rootIsLarge,h&&d.rootIsTabs,i],itemContainer:{selectors:{"&[hidden]":{display:"none"}}},link:m(m([d.link],NI(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:m(m([d.linkInMenu],NI(e,d,!0),!0),[{justifyContent:"start",height:36,lineHeight:36,width:"100%"}],!1),linkIsSelected:[d.link,d.linkIsSelected,{fontWeight:$e.semibold,selectors:(n={":before":{backgroundColor:c.inputBackgroundChecked,selectors:(r={},r[Mo]={backgroundColor:"Highlight"},r)},":hover::before":{left:0,right:0}},n[Mo]={color:"Highlight"},n)}],linkContent:[d.linkContent,{flex:"0 1 100%",selectors:{"& > * ":{marginLeft:4},"& > *:first-child":{marginLeft:0}}}],text:[d.text,{display:"inline-block",verticalAlign:"top"}],count:[d.count,{display:"inline-block",verticalAlign:"top"}],icon:d.icon}}),void 0,{scope:"Pivot"});!function(e){e.links="links",e.tabs="tabs"}(PI||(PI={})),function(e){e.normal="normal",e.large="large"}(RI||(RI={}));var AI,FI=gr(),LI=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=FI(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,v=void 0!==p?100:void 0,b=void 0!==p?Math.floor(p):void 0;return g.createElement("div",{className:h.itemProgress},g.createElement("div",{className:h.progressTrack}),g.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":v,"aria-valuenow":b,"aria-valuetext":r}))};var n=as("progress-indicator");return o._labelId=n+"-label",o._descriptionId=n+"-description",o}return u(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,p="number"==typeof this.props.percentComplete?Math.min(100,Math.max(0,100*this.props.percentComplete)):void 0,h=FI(a,{theme:s,className:o,barHeight:t,indeterminate:void 0===p});return g.createElement("div",{className:h.root},r?g.createElement("div",{id:this._labelId,className:h.itemName},r):null,l?null:u(d(d({},this.props),{percentComplete:p}),this._onRenderProgress),i?g.createElement("div",{id:this._descriptionId,className:h.itemDescription},i):null)},t.defaultProps={label:"",description:"",width:180},t}(g.Component),HI={root:"ms-ProgressIndicator",itemName:"ms-ProgressIndicator-itemName",itemDescription:"ms-ProgressIndicator-itemDescription",itemProgress:"ms-ProgressIndicator-itemProgress",progressTrack:"ms-ProgressIndicator-progressTrack",progressBar:"ms-ProgressIndicator-progressBar"},OI=Do((function(){return re({"0%":{left:"-30%"},"100%":{left:"100%"}})})),zI=Do((function(){return re({"100%":{right:"-30%"},"0%":{right:"100%"}})})),WI=rr(LI,(function(e){var t,o,n,r=lr(e.theme),i=e.className,a=e.indeterminate,s=e.theme,l=e.barHeight,c=void 0===l?2:l,u=s.palette,p=s.semanticColors,h=s.fonts,m=Ro(HI,s),f=u.neutralLight;return{root:[m.root,h.medium,i],itemName:[m.itemName,pn,{color:p.bodyText,paddingTop:4,lineHeight:20}],itemDescription:[m.itemDescription,{color:p.bodySubtext,fontSize:h.small.fontSize,lineHeight:18}],itemProgress:[m.itemProgress,{position:"relative",overflow:"hidden",height:c,padding:"".concat(8,"px 0")}],progressTrack:[m.progressTrack,{position:"absolute",width:"100%",height:c,backgroundColor:f,selectors:(t={},t[Mo]={borderBottom:"1px solid WindowText"},t)}],progressBar:[{backgroundColor:u.themePrimary,height:c,position:"absolute",transition:"width .3s ease",width:0,selectors:(o={},o[Mo]=d({backgroundColor:"highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},a?{position:"absolute",minWidth:"33%",background:"linear-gradient(to right, ".concat(f," 0%, ")+"".concat(u.themePrimary," 50%, ").concat(f," 100%)"),animation:"".concat(r?zI():OI()," 3s infinite"),selectors:(n={},n[Mo]={background:"highlight"},n)}:{transition:"width .15s linear"},m.progressBar]}}),void 0,{scope:"ProgressIndicator"}),VI={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 KI(e,t){var o;return{color:e,selectors:(o={},o[Mo]={color:t},o)}}!function(e){e[e.Small=0]="Small",e[e.Large=1]="Large"}(AI||(AI={}));var GI=gr(),UI=function(e){return g.createElement("div",{className:e.classNames.ratingStar},g.createElement(ki,{className:e.classNames.ratingStarBack,iconName:0===e.fillPercentage||100===e.fillPercentage?e.icon:e.unselectedIcon}),!e.disabled&&g.createElement(ki,{className:e.classNames.ratingStarFront,iconName:e.icon,style:{width:e.fillPercentage+"%"}}))},jI=function(e,t){return"".concat(e,"-star-").concat(t-1)},qI=g.forwardRef((function(e,t){var o=fd("Rating"),n=fd("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,p=e.max,h=void 0===p?5:p,m=e.readOnly,f=e.size,v=e.theme,b=e.icon,y=void 0===b?"FavoriteStarFill":b,C=e.unselectedIcon,_=void 0===C?"FavoriteStar":C,S=e.onRenderStar,x=Math.max(u,0),k=Am(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,h);!function(e,t){g.useImperativeHandle(e,(function(){return{rating:t}}),[t])}(e.componentRef,D);var E=g.useRef(null),T=ri(E,t);Ys(E);for(var P=jr(e,Ur),R=GI(l,{disabled:a,readOnly:m,theme:v}),M=null==s?void 0:s(D,h),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(g.createElement("button",d({className:pi(R.ratingButton,f===AI.Large?R.ratingStarIsLarge:R.ratingStarIsSmall),id:jI(o,e),key:e},e===Math.ceil(D)&&{"data-is-current":!0},{onKeyDown:function(t){var o=t.which,n=e;switch(o){case ar.right:case ar.down:n=Math.min(h,n+1);break;case ar.left:case ar.up:n=Math.max(1,n-1);break;case ar.home:case ar.pageUp:n=1;break;case ar.end:case ar.pageDown:n=h}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&&!m),role:"radio","aria-hidden":m?"true":void 0,type:"button","aria-checked":e===Math.ceil(D)}),g.createElement("span",{id:"".concat(n,"-").concat(e),className:R.labelText},qh(i||"",e,h)),(t={fillPercentage:s,disabled:a,classNames:R,icon:s>0?y:_,starNum:e,unselectedIcon:_},(r=S)?r(t):g.createElement(UI,d({},t)))))},F=1;F<=h;F++)A(F);var L=f===AI.Large?R.rootIsLarge:R.rootIsSmall;return g.createElement("div",d({ref:T,className:pi("ms-Rating-star",R.root,L),"aria-label":m?void 0:N,id:o,role:m?void 0:"radiogroup"},P),g.createElement(Hs,d({direction:da.bidirectional,className:pi(R.ratingFocusZone,L),defaultActiveElement:"#"+jI(o,Math.ceil(D))},m&&{allowFocusRoot:!0,disabled:!0,role:"textbox","aria-label":M,"aria-readonly":!0,"data-is-focusable":!0,tabIndex:0}),B))}));qI.displayName="RatingBase";var YI=rr(qI,(function(e){var t=e.disabled,o=e.readOnly,n=e.theme,r=n.semanticColors,i=n.palette,a=Ro(VI,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":KI(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&&KI(d,"GrayText")],ratingStarFront:[a.ratingStarFront,{position:"absolute",height:"100 %",left:"0",top:"0",textAlign:"center",verticalAlign:"middle",overflow:"hidden"},KI(u,"Highlight")],ratingButton:[on(n),a.ratingButton,{backgroundColor:"transparent",padding:"".concat(8,"px ").concat(2,"px"),boxSizing:"content-box",margin:"0px",border:"none",cursor:"pointer",selectors:{"&:disabled":{cursor:"default"},"&[disabled]":{cursor:"default"}}},!t&&!o&&{selectors:{"&:hover ~ .ms-Rating-button":{selectors:{".ms-RatingStar-back":KI(s,"WindowText"),".ms-RatingStar-front":KI(s,"WindowText")}},"&:hover":{selectors:{".ms-RatingStar-back":{color:l},".ms-RatingStar-front":{color:c}}}}},t&&{cursor:"default"}],ratingStarIsSmall:[a.ratingStarIsSmall,{fontSize:"16px",lineHeight:"16px",height:"16px"}],ratingStarIsLarge:[a.ratingStartIsLarge,{fontSize:"20px",lineHeight:"20px",height:"20px"}],labelText:[a.labelText,ho],ratingFocusZone:[on(n),a.ratingFocusZone,{display:"inline-block"}]}}),void 0,{scope:"Rating"}),ZI={root:"ms-ScrollablePane",contentContainer:"ms-ScrollablePane--contentContainer"},XI={auto:"auto",always:"always"},QI=g.createContext({scrollablePane:void 0,window:void 0}),JI=gr(),$I=function(e){function t(t){var o=e.call(this,t)||this;return o._root=g.createRef(),o._stickyAboveRef=g.createRef(),o._stickyBelowRef=g.createRef(),o._contentContainer=g.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:Mc(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<l.length;s++){var c=l[s];if((c.state.distanceFromTop||0)>=(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 d(d({height:e},lr(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,Ji(o),o.state={stickyTopHeight:0,stickyBottomHeight:0,scrollbarWidth:0,scrollbarHeight:0},o}return u(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=Mc(this.context),o=this.props.initialScrollPosition;this._async=new na(this),this._notifyThrottled=this._async.throttle(this.notifySubscribers,50),this._events=new dl(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=JI(i,{theme:r,className:t,scrollbarVisibility:this.props.scrollbarVisibility}),p=o?{role:"group",tabIndex:0,"aria-label":n,onScroll:a}:{onScroll:a};return g.createElement("div",d({},jr(d({},this.props),Ur,["onScroll"]),{ref:this._root,className:u.root}),g.createElement("div",{ref:this._stickyAboveRef,className:u.stickyAbove,style:this._getStickyContainerStyle(l,!0)}),g.createElement("div",d({ref:this._contentContainer},p,{className:u.contentContainer,"data-is-scrollable":!0}),g.createElement(QI.Provider,{value:this._getScrollablePaneContext()},this.props.children)),g.createElement("div",{className:u.stickyBelow,style:this._getStickyContainerStyle(c,!1)},g.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=ra,t}(g.Component),eD=rr($I,(function(e){var t,o,n=e.className,r=e.theme,i=Ro(ZI,r),a={position:"absolute",pointerEvents:"none"},s={position:"absolute",top:0,right:0,bottom:0,left:0,WebkitOverflowScrolling:"touch"};return{root:[i.root,r.fonts.medium,s,n],contentContainer:[i.contentContainer,{overflowY:"always"===e.scrollbarVisibility?"scroll":"auto"},s],stickyAbove:[{top:0,zIndex:1,selectors:(t={},t[Mo]={borderBottom:"1px solid WindowText"},t)},a],stickyBelow:[{bottom:0,selectors:(o={},o[Mo]={borderTop:"1px solid WindowText"},o)},a],stickyBelowItems:[{bottom:0},a,{width:"100%"}]}}),void 0,{scope:"ScrollablePane"}),tD="SearchBox",oD={root:{height:"auto"},icon:{fontSize:"12px"}},nD={iconName:"Clear"},rD={ariaLabel:"Clear text"},iD=gr(),aD=g.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,p=void 0===u?c:u,h=e.theme,m=e.clearButtonProps,f=void 0===m?rD:m,v=e.disableAnimation,b=void 0!==v&&v,y=e.showIcon,C=void 0!==y&&y,_=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=g.useState(!1),R=P[0],M=P[1],N=g.useRef(),B=Am(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=g.useRef(null),O=g.useRef(null),z=ri(H,t),W=fd(tD,e.id),V=f.onClick,K=iD(l,{theme:h,className:n,underlined:s,hasFocus:R,disabled:a,hasInput:L.length>0,disableAnimation:b,showIcon:C}),G=jr(e,Rr,["className","placeholder","onFocus","onBlur","value","role"]),U=g.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=g.useCallback((function(e){null==V||V(e),e.defaultPrevented||U(e)}),[V,U]),q=g.useCallback((function(e){M(!1),null==S||S(e)}),[S]),Y=function(e){F(e.target.value,e)};return function(e,t,o){g.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),g.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)}},g.createElement("div",{className:K.iconContainer,onClick:function(){O.current&&(O.current.focus(),O.current.selectionStart=O.current.selectionEnd=0)},"aria-hidden":!0},g.createElement(ki,d({iconName:"Search"},I,{className:K.icon}))),g.createElement("input",d({},G,{id:W,className:K.field,placeholder:p,onChange:Y,onInput:Y,onBlur:q,onKeyDown:function(e){switch(e.which){case ar.escape:null==x||x(e),L&&!e.defaultPrevented&&U(e);break;case ar.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&&g.createElement("div",{className:K.clearButton},g.createElement(fp,d({onBlur:q,styles:oD,iconProps:nD},f,{onClick:j}))))}));aD.displayName=tD;var sD={root:"ms-SearchBox",iconContainer:"ms-SearchBox-iconContainer",icon:"ms-SearchBox-icon",clearButton:"ms-SearchBox-clearButton",field:"ms-SearchBox-field"},lD=rr(aD,(function(e){var t,o,n,r,i,a=e.theme,s=e.underlined,l=e.disabled,c=e.hasFocus,u=e.className,d=e.hasInput,p=e.disableAnimation,h=e.showIcon,m=a.palette,f=a.fonts,g=a.semanticColors,v=a.effects,b=Ro(sD,a),y={color:g.inputPlaceholderText,opacity:1},C=m.neutralSecondary,_=m.neutralPrimary,S=m.neutralLighter,x=m.neutralLighter,k=m.neutralLighter;return{root:[b.root,f.medium,dn,{color:g.inputText,backgroundColor:g.inputBackground,display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"stretch",padding:"1px 0 1px 4px",borderRadius:v.roundedCorner2,border:"1px solid ".concat(g.inputBorder),height:32,selectors:(t={},t[Mo]={borderColor:"WindowText"},t[":hover"]={borderColor:g.inputBorderHovered,selectors:(o={},o[Mo]={borderColor:"Highlight"},o)},t[":hover .".concat(b.iconContainer)]={color:g.inputIconHovered},t)},!c&&d&&{selectors:(n={},n[":hover .".concat(b.iconContainer)]={width:4},n[":hover .".concat(b.icon)]={opacity:0,pointerEvents:"none"},n)},c&&["is-active",{position:"relative"},an(g.inputFocusBorderAlt,s?0:v.roundedCorner2,s?"borderBottom":"border")],h&&[{selectors:(r={},r[":hover .".concat(b.iconContainer)]={width:32},r[":hover .".concat(b.icon)]={opacity:1},r)}],l&&["is-disabled",{borderColor:S,backgroundColor:k,pointerEvents:"none",cursor:"default",selectors:(i={},i[Mo]={borderColor:"GrayText"},i)}],s&&["is-underlined",{borderWidth:"0 0 1px 0",borderRadius:0,padding:"1px 0 1px 8px"}],s&&l&&{backgroundColor:"transparent"},d&&"can-clear",u],iconContainer:[b.iconContainer,{display:"flex",flexDirection:"column",justifyContent:"center",flexShrink:0,fontSize:16,width:32,textAlign:"center",color:g.inputIcon,cursor:"text"},c&&{width:4},l&&{color:g.inputIconDisabled},!p&&{transition:"width ".concat(Ke.durationValue1)},h&&c&&{width:32}],icon:[b.icon,{opacity:1},c&&{opacity:0,pointerEvents:"none"},!p&&{transition:"opacity ".concat(Ke.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:lr(a)?"1px 0 0 1px":"0 1px 1px 0"},".ms-Button-icon":{color:C}}}],field:[b.field,dn,vn(y),{backgroundColor:"transparent",border:"none",outline:"none",fontWeight:"inherit",fontFamily:"inherit",fontSize:"inherit",color:g.inputText,flex:"1 1 0px",minWidth:"0px",overflow:"hidden",textOverflow:"ellipsis",paddingBottom:.5,selectors:{"::-ms-clear":{display:"none"}}},l&&{color:g.disabledText}]}}),void 0,{scope:"SearchBox"}),cD=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)}},Ji(o);var n=t.selectedItems||t.defaultSelectedItems||[];return o.state={items:n},o._defaultSelection=new Ey({onSelectionChanged:o.onSelectionChanged}),o}return u(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=Rc(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=ra,t}(g.Component);Kt([{rawString:".personaContainer_6625fd9a{border-radius:15px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:"},{theme:"themeLighterAlt",defaultValue:"#eff6fc"},{rawString:';margin:4px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;position:relative}.personaContainer_6625fd9a::-moz-focus-inner{border:0}.personaContainer_6625fd9a{outline:transparent}.personaContainer_6625fd9a{position:relative}.ms-Fabric--isFocusVisible .personaContainer_6625fd9a:focus:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;pointer-events:none;border:1px solid '},{theme:"focusBorder",defaultValue:"#605e5c"},{rawString:";border-radius:0}.personaContainer_6625fd9a .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}.personaContainer_6625fd9a .ms-Persona-primaryText.hover_6625fd9a{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a .actionButton_6625fd9a:hover{background:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.personaContainer_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:HighlightText}}.personaContainer_6625fd9a:hover{background:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.personaContainer_6625fd9a:hover .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a:hover .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a{background:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .ms-Persona-primaryText{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon:hover{background:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a{border-color:Highlight;background:Highlight;-ms-high-contrast-adjust:none}}.personaContainer_6625fd9a.validationError_6625fd9a .ms-Persona-primaryText{color:"},{theme:"red",defaultValue:"#e81123"},{rawString:"}.personaContainer_6625fd9a.validationError_6625fd9a .ms-Persona-initials{font-size:20px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a{border:1px solid WindowText}}.personaContainer_6625fd9a .itemContent_6625fd9a{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;min-width:0;max-width:100%}.personaContainer_6625fd9a .removeButton_6625fd9a{border-radius:15px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33px;height:33px;-ms-flex-preferred-size:32px;flex-basis:32px}.personaContainer_6625fd9a .expandButton_6625fd9a{border-radius:15px 0 0 15px;height:33px;width:44px;padding-right:16px;position:inherit;display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-17px}.personaContainer_6625fd9a .personaWrapper_6625fd9a{position:relative;display:inherit}.personaContainer_6625fd9a .personaWrapper_6625fd9a .ms-Persona-details{padding:0 8px}.personaContainer_6625fd9a .personaDetails_6625fd9a{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.itemContainer_6625fd9a{display:inline-block;vertical-align:top}"}]);var uD="personaContainer_6625fd9a",dD="hover_6625fd9a",pD="actionButton_6625fd9a",hD="personaContainerIsSelected_6625fd9a",mD="validationError_6625fd9a",fD="itemContent_6625fd9a",gD="removeButton_6625fd9a",vD="expandButton_6625fd9a",bD="personaWrapper_6625fd9a",yD="personaDetails_6625fd9a",CD="itemContainer_6625fd9a",_D=l,SD=function(e){function t(t){var o=e.call(this,t)||this;return o.persona=g.createRef(),Ji(o),o.state={contextualMenuVisible:!1},o}return u(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=as();return g.createElement("div",{ref:this.persona,className:pi("ms-PickerPersona-container",_D.personaContainer,(e={},e["is-selected "+_D.personaContainerIsSelected]=l,e),(t={},t["is-invalid "+_D.validationError]=!n.isValid,t)),"data-is-focusable":!0,"data-is-sub-focuszone":!0,"data-selection-index":s,role:"listitem","aria-labelledby":"selectedItemPersona-"+c},g.createElement("div",{hidden:!n.canExpand||void 0===r},g.createElement(fp,{onClick:this._onClickIconButton(r),iconProps:{iconName:"Add",style:{fontSize:"14px"}},className:pi("ms-PickerItem-removeButton",_D.expandButton,_D.actionButton),ariaLabel:a})),g.createElement("div",{className:pi(_D.personaWrapper)},g.createElement("div",{className:pi("ms-PickerItem-content",_D.itemContent),id:"selectedItemPersona-"+c},g.createElement(AS,d({},n,{onRenderCoin:this.props.renderPersonaCoin,onRenderPrimaryText:this.props.renderPrimaryText,size:hi.size32}))),g.createElement(fp,{onClick:this._onClickIconButton(i),iconProps:{iconName:"Cancel",style:{fontSize:"14px"}},className:pi("ms-PickerItem-removeButton",_D.removeButton,_D.actionButton),ariaLabel:a})))},t.prototype._onClickIconButton=function(e){return function(t){t.stopPropagation(),t.preventDefault(),e&&e()}},t}(g.Component),xD=function(e){function t(t){var o=e.call(this,t)||this;return o.itemElement=g.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})},Ji(o),o.state={contextualMenuVisible:!1},o}return u(t,e),t.prototype.render=function(){return g.createElement("div",{ref:this.itemElement,onContextMenu:this._onClick},this.props.renderedItem,this.state.contextualMenuVisible?g.createElement(Jd,{items:this.props.menuItems,shouldFocusOnMount:!0,target:this.itemElement.current,onDismiss:this._onCloseContextualMenu,directionalHint:Sl.bottomLeftEdge}):null)},t}(g.Component),kD={root:"ms-EditingItem",input:"ms-EditingItem-input"},wD=function(e){var t=io();if(!t)throw new Error("theme is undefined or null in Editing item getStyles function.");var o=t.semanticColors,n=Ro(kD,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"}}}]}},ID=function(e){function t(t){var o=e.call(this,t)||this;return o._editingFloatingPicker=g.createRef(),o._renderEditingSuggestions=function(){var e=o.props.onRenderFloatingPicker,t=o.props.floatingPickerProps;return e&&t?g.createElement(e,d({componentRef:o._editingFloatingPicker,onChange:o._onSuggestionSelected,inputElement:o._editingInput,selectedItems:[]},t)):g.createElement(g.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)},Ji(o),o.state={contextualMenuVisible:!1},o}return u(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=as(),t=jr(this.props,Rr),o=gr()(wD);return g.createElement("div",{"aria-labelledby":"editingItemPersona-"+e,className:o.root},g.createElement("input",d({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!==ar.backspace&&e.which!==ar.del||e.stopPropagation()},t}(g.Component),DD=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t}(cD),ED=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 u(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 g.createElement(ID,d({},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?g.createElement(xD,{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 g.createElement(SD,d({},e))}},t}(DD),TD=gr(),PD=g.forwardRef((function(e,t){var o=e.styles,n=e.theme,r=e.className,i=e.vertical,a=e.alignContent,s=e.children,l=TD(o,{theme:n,className:r,alignContent:a,vertical:i});return g.createElement("div",{className:l.root,ref:t},g.createElement("div",{className:l.content,role:"separator","aria-orientation":i?"vertical":"horizontal"},s))})),RD=rr(PD,(function(e){var t,o,n=e.theme,r=e.alignContent,i=e.vertical,a=e.className,s="start"===r,l="center"===r,c="end"===r;return{root:[n.fonts.medium,{position:"relative"},r&&{textAlign:r},!r&&{textAlign:"center"},i&&(l||!r)&&{verticalAlign:"middle"},i&&s&&{verticalAlign:"top"},i&&c&&{verticalAlign:"bottom"},i&&{padding:"0 4px",height:"inherit",display:"table-cell",zIndex:1,selectors:{":after":(t={backgroundColor:n.palette.neutralLighter,width:"1px",content:'""',position:"absolute",top:"0",bottom:"0",left:"50%",right:"0",zIndex:-1},t[Mo]={backgroundColor:"WindowText"},t)}},!i&&{padding:"4px 0",selectors:{":before":(o={backgroundColor:n.palette.neutralLighter,height:"1px",content:'""',display:"block",position:"absolute",top:"50%",bottom:"0",left:"0",right:"0"},o[Mo]={backgroundColor:"WindowText"},o)}},a],content:[{position:"relative",display:"inline-block",padding:"0 12px",color:n.semanticColors.bodyText,background:n.semanticColors.bodyBackground},i&&{padding:"12px 0"}]}}),void 0,{scope:"Separator"});RD.displayName="Separator";var MD,ND,BD={root:"ms-Shimmer-container",shimmerWrapper:"ms-Shimmer-shimmerWrapper",shimmerGradient:"ms-Shimmer-shimmerGradient",dataWrapper:"ms-Shimmer-dataWrapper"},AD="100%",FD=Do((function(){return re({"0%":{transform:"translateX(-".concat(AD,")")},"100%":{transform:"translateX(".concat(AD,")")}})})),LD=Do((function(){return re({"100%":{transform:"translateX(-".concat(AD,")")},"0%":{transform:"translateX(".concat(AD,")")}})}));!function(e){e[e.line=1]="line",e[e.circle=2]="circle",e[e.gap=3]="gap"}(MD||(MD={})),function(e){e[e.line=16]="line",e[e.gap=16]="gap",e[e.circle=24]="circle"}(ND||(ND={}));var HD=gr(),OD=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=HD(o,{theme:a,height:t,borderStyle:i});return g.createElement("div",{style:{width:r,minWidth:"number"==typeof r?"".concat(r,"px"):"auto"},className:s.root},g.createElement("svg",{width:"2",height:"2",className:s.topLeftCorner},g.createElement("path",{d:"M0 2 A 2 2, 0, 0, 1, 2 0 L 0 0 Z"})),g.createElement("svg",{width:"2",height:"2",className:s.topRightCorner},g.createElement("path",{d:"M0 0 A 2 2, 0, 0, 1, 2 2 L 2 0 Z"})),g.createElement("svg",{width:"2",height:"2",className:s.bottomRightCorner},g.createElement("path",{d:"M2 0 A 2 2, 0, 0, 1, 0 2 L 2 2 Z"})),g.createElement("svg",{width:"2",height:"2",className:s.bottomLeftCorner},g.createElement("path",{d:"M2 2 A 2 2, 0, 0, 1, 0 0 L 0 2 Z"})))},zD={root:"ms-ShimmerLine-root",topLeftCorner:"ms-ShimmerLine-topLeftCorner",topRightCorner:"ms-ShimmerLine-topRightCorner",bottomLeftCorner:"ms-ShimmerLine-bottomLeftCorner",bottomRightCorner:"ms-ShimmerLine-bottomRightCorner"},WD=rr(OD,(function(e){var t,o=e.height,n=e.borderStyle,r=e.theme,i=r.semanticColors,a=Ro(zD,r),s=n||{},l={position:"absolute",fill:i.bodyBackground};return{root:[a.root,r.fonts.medium,{height:"".concat(o,"px"),boxSizing:"content-box",position:"relative",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,borderWidth:0,selectors:(t={},t[Mo]={borderColor:"Window",selectors:{"> *":{fill:"Window"}}},t)},s],topLeftCorner:[a.topLeftCorner,{top:"0",left:"0"},l],topRightCorner:[a.topRightCorner,{top:"0",right:"0"},l],bottomRightCorner:[a.bottomRightCorner,{bottom:"0",right:"0"},l],bottomLeftCorner:[a.bottomLeftCorner,{bottom:"0",left:"0"},l]}}),void 0,{scope:"ShimmerLine"}),VD=gr(),KD=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=VD(o,{theme:a,height:t,borderStyle:i});return g.createElement("div",{style:{width:r,minWidth:"number"==typeof r?"".concat(r,"px"):"auto"},className:s.root})},GD={root:"ms-ShimmerGap-root"},UD=rr(KD,(function(e){var t,o=e.height,n=e.borderStyle,r=e.theme,i=r.semanticColors,a=n||{};return{root:[Ro(GD,r).root,r.fonts.medium,{backgroundColor:i.bodyBackground,height:"".concat(o,"px"),boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,selectors:(t={},t[Mo]={backgroundColor:"Window",borderColor:"Window"},t)},a]}}),void 0,{scope:"ShimmerGap"}),jD={root:"ms-ShimmerCircle-root",svg:"ms-ShimmerCircle-svg"},qD=gr(),YD=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 g.createElement("div",{className:i.root},g.createElement("svg",{viewBox:"0 0 10 10",width:t,height:t,className:i.svg},g.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"})))},ZD=rr(YD,(function(e){var t,o,n=e.height,r=e.borderStyle,i=e.theme,a=i.semanticColors,s=Ro(jD,i),l=r||{};return{root:[s.root,i.fonts.medium,{width:"".concat(n,"px"),height:"".concat(n,"px"),minWidth:"".concat(n,"px"),boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:a.bodyBackground,selectors:(t={},t[Mo]={borderColor:"Window"},t)},l],svg:[s.svg,{display:"block",fill:a.bodyBackground,selectors:(o={},o[Mo]={fill:"Window"},o)}]}}),void 0,{scope:"ShimmerCircle"}),XD=gr(),QD=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 MD.circle:e.height||(e.height=ND.circle);break;case MD.line:e.height||(e.height=ND.line);break;case MD.gap:e.height||(e.height=ND.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,h=XD(t,{theme:c,flexWrap:l});return g.createElement("div",{style:{width:n},className:h.root},function(e,t,o){var n=e?e.map((function(e,n){var r=e.type,i=p(e,["type"]),a=i.verticalAlign,s=i.height,l=JD(a,r,s,t,o);switch(e.type){case MD.circle:return g.createElement(ZD,d({key:n},i,{styles:l}));case MD.gap:return g.createElement(UD,d({key:n},i,{styles:l}));case MD.line:return g.createElement(WD,d({key:n},i,{styles:l}))}})):g.createElement(WD,{height:ND.line});return n}(r,u,a))},JD=Do((function(e,t,o,n,r){var i,a=r&&o?r-o:0;if(e&&"center"!==e?e&&"top"===e?i={borderBottomWidth:"".concat(a,"px"),borderTopWidth:"0px"}:e&&"bottom"===e&&(i={borderBottomWidth:"0px",borderTopWidth:"".concat(a,"px")}):i={borderBottomWidth:"".concat(a?Math.floor(a/2):0,"px"),borderTopWidth:"".concat(a?Math.ceil(a/2):0,"px")},n)switch(t){case MD.circle:return{root:d(d({},i),{borderColor:n}),svg:{fill:n}};case MD.gap:return{root:d(d({},i),{borderColor:n,backgroundColor:n})};case MD.line:return{root:d(d({},i),{borderColor:n}),topLeftCorner:{fill:n},topRightCorner:{fill:n},bottomLeftCorner:{fill:n},bottomRightCorner:{fill:n}}}return{root:i}})),$D={root:"ms-ShimmerElementsGroup-root"},eE=rr(QD,(function(e){var t=e.flexWrap,o=e.theme;return{root:[Ro($D,o).root,o.fonts.medium,{display:"flex",alignItems:"center",flexWrap:t?"wrap":"nowrap",position:"relative"}]}}),void 0,{scope:"ShimmerElementsGroup"}),tE=gr(),oE=g.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,p=e.isDataLoaded,h=void 0!==p&&p,m=e.improveCSSPerformance,f=jr(e,Ur),v=tE(o,{theme:l,isDataLoaded:h,className:a,transitionAnimationInterval:200,shimmerColor:u&&u.shimmer,shimmerWaveColor:u&&u.shimmerWave,improveCSSPerformance:m||!s}),b=Ic({lastTimeoutId:0}),y=zf(),C=y.setTimeout,_=y.clearTimeout,S=g.useState(h),x=S[0],k=S[1],w={width:i||"100%"};return g.useEffect((function(){if(h!==x){if(h)return b.lastTimeoutId=C((function(){k(!0)}),200),function(){return _(b.lastTimeoutId)};k(!1)}}),[h]),g.createElement("div",d({},f,{className:v.root,ref:t}),!x&&g.createElement("div",{style:w,className:v.shimmerWrapper},g.createElement("div",{className:v.shimmerGradient}),s||g.createElement(eE,{shimmerElements:n,backgroundColor:u&&u.background})),r&&g.createElement("div",{className:v.dataWrapper},r),c&&!h&&g.createElement("div",{role:"status","aria-live":"polite"},g.createElement(pa,null,g.createElement("div",{className:v.screenReaderText},c))))}));oE.displayName="Shimmer";var nE=rr(oE,(function(e){var t,o=e.isDataLoaded,n=e.className,r=e.theme,i=e.transitionAnimationInterval,a=e.shimmerColor,s=e.shimmerWaveColor,l=e.improveCSSPerformance,c=r.semanticColors,u=Ro(BD,r),p=lr(r);return{root:[u.root,r.fonts.medium,{position:"relative",height:"auto"},n],shimmerWrapper:[u.shimmerWrapper,{position:"relative",overflow:"hidden",transform:"translateZ(0)",backgroundColor:a||c.disabledBackground,transition:"opacity ".concat(i,"ms"),selectors:(t={},t[Mo]=d({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(AD,")"),animationDuration:"2s",animationTimingFunction:"ease-in-out",animationDirection:"normal",animationIterationCount:"infinite",animationName:p?LD():FD()}],dataWrapper:[u.dataWrapper,{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",opacity:"0",background:"none",backgroundColor:"transparent",border:"none",transition:"opacity ".concat(i,"ms")},o&&{opacity:"1",position:"static"}],screenReaderText:ho}}),void 0,{scope:"Shimmer"}),rE=gr(),iE=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 g.createElement(nE,{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?Mb:i,s=Nb.rowHeight,l=Nb.compactRowHeight,c=o?l:s+1,u=[];return n!==Jb.none&&r!==Db.hidden&&u.push(g.createElement(eE,{key:"checkboxGap",shimmerElements:[{type:MD.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:MD.gap,width:a.cellLeftPadding,height:c}),e.isIconOnly?(o.push({type:MD.line,width:e.calculatedWidth,height:e.calculatedWidth}),o.push({type:MD.gap,width:a.cellRightPadding,height:c})):(o.push({type:MD.line,width:.95*e.calculatedWidth,height:7}),o.push({type:MD.gap,width:a.cellRightPadding+(e.calculatedWidth-.95*e.calculatedWidth)+(e.isPadded?a.cellExtraRightPadding:0),height:c})),u.push(g.createElement(eE,{key:t,width:"".concat(n,"px"),shimmerElements:o}))})),u.push(g.createElement(eE,{key:"endGap",width:"100%",shimmerElements:[{type:MD.gap,width:"100%",height:c}]})),g.createElement("div",{style:{display:"flex"}},u)},o._shimmerItems=t.shimmerLines?new Array(t.shimmerLines):new Array(10),o}return u(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=p(e,["detailsListStyles","enableShimmer","items","listProps","onRenderCustomPlaceholder","removeFadingOverlay","shimmerLines","styles","theme","ariaLabelForGrid","ariaLabelForShimmer"]),h=r&&r.className;this._classNames=rE(a,{theme:s});var m=d(d({},r),{className:o&&!i?pi(this._classNames.root,h):h});return g.createElement(yC,d({},u,{styles:t,items:o?this._shimmerItems:n,isPlaceholderData:o,ariaLabelForGrid:o&&c||l,onRenderMissingItem:this._onRenderShimmerPlaceholder,listProps:m}))},t}(g.Component),aE=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%)")}}}}},sE=rr(iE,aE,void 0,{scope:"ShimmeredDetailsList"}),lE=gr(),cE=function(e){return function(t){var o;return(o={})[e]="".concat(t,"%"),o}},uE=function(e,t,o){return o===t?0:(e-t)/(o-t)*100},dE=g.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,p=void 0===u?0:u,h=e.showValue,m=void 0===h||h,f=e.buttonProps,v=void 0===f?{}:f,b=e.vertical,y=void 0!==b&&b,C=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=g.useRef([]),M=zf(),N=M.setTimeout,B=M.clearTimeout,A=g.useRef(null),F=Pc(),L=Am(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=Am(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(p,Math.min(c,H||0)),G=Math.max(p,Math.min(K,W||0)),U=Ic({onKeyDownTimer:-1,isAdjustingLowerValue:!1,latestValue:K,latestLowerValue:G});U.latestValue=K,U.latestLowerValue=G;var j=fd("Slider",e.id||(null==v?void 0:v.id)),q=lE(S,{className:r,disabled:a,vertical:y,showTransitions:!C&&!U.isBetweenSteps,showValue:m,ranged:E,theme:x}),Y=(c-p)/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(p,t)),o=void 0!==o?Math.min(c,Math.max(p,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=(lr(e.theme)?n.right-a:a-n.left)/r}return o},te=function(e,t){var o=ee(e),r=p+n*o,i=p+n*Math.round(o);J(e,i,r),t||(e.preventDefault(),e.stopPropagation())},oe=function(e){if(E){var t=ee(e),o=p+n*t;U.isAdjustingLowerValue=o<=U.latestLowerValue||o-U.latestLowerValue<=U.latestValue-o}"mousedown"===e.type?R.current.push(Al(F,"mousemove",te,!0),Al(F,"mouseup",ne,!0)):"touchstart"===e.type&&R.current.push(Al(F,"touchmove",te,!0),Al(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=g.useCallback((function(){R.current.forEach((function(e){return e()})),R.current=[]}),[]);g.useEffect((function(){return re}),[re]);var ie=g.useRef(null),ae=g.useRef(null),se=g.useRef(null);!function(e,t,o,n){g.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=cE(y?"bottom":lr(e.theme)?"right":"left"),ce=cE(y?"height":"width"),ue=k?0:p,de=uE(K,p,c),pe=uE(G,p,c),he=uE(ue,p,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=m?{className:q.valueLabel,children:_?_(K):K,disabled:a,htmlFor:a?j:void 0}:void 0,Ce=E&&m?{className:q.valueLabel,children:_?_(G):G,disabled:a}:void 0,_e=k?{className:q.zeroTick,style:le(he)}:void 0,Se={className:pi(q.lineContainer,q.activeSection),style:ce(me)},xe={className:pi(q.lineContainer,q.inactiveSection),style:ce(fe)},ke={className:pi(q.lineContainer,q.inactiveSection),style:ce(ge)},we=d({"aria-disabled":a,role:"slider",tabIndex:a?void 0:0},{"data-is-focusable":!a}),Ie=d(d(d({id:j,className:pi(q.slideBox,v.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 ur(ar.left,e.theme):case ar.down:r=-n,Z(),X(t);break;case ur(ar.right,e.theme):case ar.up:r=n,Z(),X(t);break;case ar.home:o=p,Z(),X(t);break;case ar.end:o=c,Z(),X(t);break;default:return}J(t,o+r),t.preventDefault(),t.stopPropagation()}}),v&&jr(v,Ur,["id","className"])),!E&&d(d({},we),{"aria-valuemin":p,"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=d({ref:ae,className:q.thumb,style:le(de)},E&&d(d(d({},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?d(d(d({ref:ie,className:q.thumb,style:le(pe)},we),De),{id:"min-".concat(j),"aria-valuemin":p,"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 g.createElement("div",d({},o.root),o&&g.createElement(cf,d({},o.label)),g.createElement("div",d({},o.container),e.ranged&&(e.vertical?o.valueLabel&&g.createElement(cf,d({},o.valueLabel)):o.lowerValueLabel&&g.createElement(cf,d({},o.lowerValueLabel))),g.createElement("div",d({},o.sliderBox),g.createElement("div",d({},o.sliderLine),e.ranged&&g.createElement("span",d({},o.lowerValueThumb)),g.createElement("span",d({},o.thumb)),o.zeroTick&&g.createElement("span",d({},o.zeroTick)),g.createElement("span",d({},o.bottomInactiveTrack)),g.createElement("span",d({},o.activeTrack)),g.createElement("span",d({},o.topInactiveTrack)))),e.ranged&&e.vertical?o.lowerValueLabel&&g.createElement(cf,d({},o.lowerValueLabel)):o.valueLabel&&g.createElement(cf,d({},o.valueLabel))),g.createElement(Zs,null))}));dE.displayName="SliderBase";var pE,hE={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"},mE=rr(dE,(function(e){var t,o,n,r,i,a,s,l,c,u,d,p,h,f=e.className,g=e.titleLabelClassName,v=e.theme,b=e.vertical,y=e.disabled,C=e.showTransitions,_=e.showValue,S=e.ranged,x=v.semanticColors,k=v.palette,w=Ro(hE,v),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[Mo]={backgroundColor:"Highlight"},t)},L=!y&&{backgroundColor:E,selectors:(o={},o[Mo]={borderColor:"Highlight"},o)},H=!y&&{backgroundColor:D,selectors:(n={},n[Mo]={backgroundColor:"Highlight"},n)},O=!y&&{border:"2px solid ".concat(I),selectors:(r={},r[Mo]={borderColor:"Highlight"},r)},z=!e.disabled&&{backgroundColor:x.inputPlaceholderBackgroundChecked,selectors:(i={},i[Mo]={backgroundColor:"Highlight"},i)};return{root:m(m(m(m(m([w.root,v.fonts.medium,{userSelect:"none"},b&&{marginRight:8}],[y?void 0:w.enabled],!1),[y?w.disabled:void 0],!1),[b?void 0:w.row],!1),[b?w.column:void 0],!1),[f],!1),titleLabel:[{padding:0},g],container:[w.container,{display:"flex",flexWrap:"nowrap",alignItems:"center"},b&&{flexDirection:"column",height:"100%",textAlign:"center",margin:"8px 0"}],slideBox:m(m([w.slideBox,!S&&on(v),{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[Mo]={forcedColorAdjust:"none"},a)},b?{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&&on(v,{inset:-4}),{borderWidth:2,borderStyle:"solid",borderColor:B,borderRadius:10,boxSizing:"border-box",background:N,display:"block",width:16,height:16,position:"absolute"},b?{left:-6,margin:"0 auto",transform:"translateY(8px)"}:{top:-6,transform:lr(v)?"translateX(50%)":"translateX(-50%)"},C&&{transition:"left ".concat(Ke.durationValue3," ").concat(Ke.easeFunction1)},y&&{borderColor:A,selectors:(s={},s[Mo]={borderColor:"GrayText"},s)}],line:[w.line,{display:"flex",position:"relative"},b?{height:"100%",width:4,margin:"0 auto",flexDirection:"column-reverse"}:{width:"100%"}],lineContainer:[{borderRadius:4,boxSizing:"border-box"},b?{width:4,height:"100%"}:{height:4,width:"100%"}],activeSection:[w.activeSection,{background:T,selectors:(l={},l[Mo]={backgroundColor:"WindowText"},l)},C&&{transition:"width ".concat(Ke.durationValue3," ").concat(Ke.easeFunction1)},y&&{background:R,selectors:(c={},c[Mo]={backgroundColor:"GrayText",borderColor:"GrayText"},c)}],inactiveSection:[w.inactiveSection,{background:P,selectors:(u={},u[Mo]={border:"1px solid WindowText"},u)},C&&{transition:"width ".concat(Ke.durationValue3," ").concat(Ke.easeFunction1)},y&&{background:M,selectors:(d={},d[Mo]={borderColor:"GrayText"},d)}],zeroTick:[w.zeroTick,{position:"absolute",background:x.disabledBorder,selectors:(p={},p[Mo]={backgroundColor:"WindowText"},p)},e.disabled&&{background:x.disabledBackground,selectors:(h={},h[Mo]={backgroundColor:"GrayText"},h)},e.vertical?{width:"16px",height:"1px",transform:lr(v)?"translateX(6px)":"translateX(-6px)"}:{width:"1px",height:"16px",transform:"translateY(-6px)"}],valueLabel:[w.valueLabel,{flexShrink:1,width:30,lineHeight:"1"},b?{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"}(pE||(pE={}));var fE=Do((function(e){var t,o=e.semanticColors,n=o.disabledText,r=o.disabledBackground;return{backgroundColor:r,pointerEvents:"none",cursor:"default",color:n,selectors:(t={":after":{borderColor:r}},t[Mo]={color:"GrayText"},t)}})),gE=Do((function(e,t,o){var n,r,i,a=e.palette,s=e.semanticColors,l=e.effects,c=a.neutralSecondary,u=s.buttonText,d=s.buttonText,p=s.buttonBackgroundHovered,h=s.buttonBackgroundPressed;return Nn({root:{outline:"none",display:"block",height:"50%",width:23,padding:0,backgroundColor:"transparent",textAlign:"center",cursor:"default",color:c,selectors:{"&.ms-DownButton":{borderRadius:"0 0 ".concat(l.roundedCorner2," 0")},"&.ms-UpButton":{borderRadius:"0 ".concat(l.roundedCorner2," 0 0")}}},rootHovered:{backgroundColor:p,color:u},rootChecked:{backgroundColor:h,color:d,selectors:(n={},n[Mo]={backgroundColor:"Highlight",color:"HighlightText"},n)},rootPressed:{backgroundColor:h,color:d,selectors:(r={},r[Mo]={backgroundColor:"Highlight",color:"HighlightText"},r)},rootDisabled:{opacity:.5,selectors:(i={},i[Mo]={color:"GrayText",opacity:1},i)},icon:{fontSize:8,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}},{},o)})),vE=gr(),bE={disabled:!1,label:"",step:1,labelPosition:Dl.start,incrementButtonIcon:{iconName:"ChevronUpSmall"},decrementButtonIcon:{iconName:"ChevronDownSmall"}},yE=function(){},CE=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},_E=g.forwardRef((function(e,t){var o=yr(bE,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,p=o.labelPosition,h=o.iconProps,m=o.incrementButtonIcon,f=o.incrementButtonAriaLabel,v=o.decrementButtonIcon,b=o.decrementButtonAriaLabel,y=o.ariaLabel,C=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=g.useRef(null),L=fd("input"),H=fd("Label"),O=g.useState(!1),z=O[0],W=O[1],V=g.useState(pE.notSpinning),K=V[0],G=V[1],U=Sc(),j=g.useMemo((function(){return null!=u?u:Math.max(Uk(s),0)}),[u,s]),q=Am(c,null!=l?l:String(i||0),B),Y=q[0],Z=q[1],X=g.useState(),Q=X[0],J=X[1],$=g.useRef({stepTimeoutHandle:-1,latestValue:void 0,latestIntermediateValue:void 0}).current;$.latestValue=Y,$.latestIntermediateValue=Q;var ee=ed(c);g.useEffect((function(){c!==ee&&void 0!==Q&&J(void 0)}),[c,ee,Q]);var te=vE(A,{theme:x,disabled:n,isFocused:z,keyboardSpinDirection:K,labelPosition:p,className:E}),oe=jr(o,Ur,["onBlur","onFocus","className","onChange"]),ne=g.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(CE(Number(t),{min:i,max:a}))),void 0!==o&&o!==$.latestValue&&Z(o,e)}J(void 0)}),[$,a,i,N,Z]),re=g.useCallback((function(){$.stepTimeoutHandle>=0&&(U.clearTimeout($.stepTimeoutHandle),$.stepTimeoutHandle=-1),($.spinningByMouse||K!==pE.notSpinning)&&($.spinningByMouse=!1,G(pE.notSpinning))}),[$,K,U]),ie=g.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=g.useCallback((function(e){if(R)return R(e);var t=CE(Number(e)+Number(s),{max:a});return t=jk(t,j),String(t)}),[j,a,R,s]),se=g.useCallback((function(e){if(P)return P(e);var t=CE(Number(e)-Number(s),{min:i});return t=jk(t,j),String(t)}),[j,i,P,s]),le=g.useCallback((function(e){(n||e.which===ar.up||e.which===ar.down)&&re()}),[n,re]),ce=g.useCallback((function(e){ie(ae,e)}),[ae,ie]),ue=g.useCallback((function(e){ie(se,e)}),[se,ie]);!function(e,t,o){g.useImperativeHandle(e.componentRef,(function(){return{get value(){return o},focus:function(){t.current&&t.current.focus()}}}),[t,o])}(o,F,Y),SE(o);var de=!!Y&&!isNaN(Number(Y)),pe=(h||r)&&g.createElement("div",{className:te.labelWrapper},h&&g.createElement(ki,d({},h,{className:te.icon,"aria-hidden":"true"})),r&&g.createElement(cf,{id:H,htmlFor:L,className:te.label,disabled:n},r));return g.createElement("div",{className:te.root,ref:t},p!==Dl.bottom&&pe,g.createElement("div",d({},oe,{className:te.spinButtonWrapper,"aria-label":y&&y,"aria-posinset":k,"aria-setsize":w,"data-ktp-target":!0}),g.createElement("input",d({value:null!=Q?Q:Y,id:L,onChange:yE,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":C,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!==pE.notSpinning)&&re(),F.current.select(),W(!0),null===(t=o.onFocus)||void 0===t||t.call(o,e))},onKeyDown:function(e){if(e.which!==ar.up&&e.which!==ar.down&&e.which!==ar.enter||(e.preventDefault(),e.stopPropagation()),n)re();else{var t=pE.notSpinning;switch(e.which){case ar.up:t=pE.up,ie(ae,e);break;case ar.down:t=pE.down,ie(se,e);break;case ar.enter:ne(e);break;case ar.escape:J(void 0)}K!==t&&G(t)}},onKeyUp:le,disabled:n,"aria-disabled":n,"data-lpignore":!0,"data-ktp-execute-target":!0},T)),g.createElement("span",{className:te.arrowButtonsContainer},g.createElement(fp,d({styles:gE(x,!0,_),className:"ms-UpButton",checked:K===pE.up,disabled:n,iconProps:m,onMouseDown:ce,onMouseLeave:re,onMouseUp:re,tabIndex:-1,ariaLabel:f,"data-is-focusable":!1},M)),g.createElement(fp,d({styles:gE(x,!1,S),className:"ms-DownButton",checked:K===pE.down,disabled:n,iconProps:v,onMouseDown:ue,onMouseLeave:re,onMouseUp:re,tabIndex:-1,ariaLabel:b,"data-is-focusable":!1},M)))),p===Dl.bottom&&pe)}));_E.displayName="SpinButton";var SE=function(e){},xE=rr(_E,(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,p=i.semanticColors,h=i.effects,m=i.fonts,f=p.inputBorder,g=p.inputBackground,v=p.inputBorderHovered,b=p.inputFocusBorderAlt,y=p.inputText,C=u.white,_=p.inputBackgroundChecked,S=p.disabledText;return{root:[m.medium,{outline:"none",width:"100%",minWidth:86},a],labelWrapper:[{display:"inline-flex",alignItems:"center"},s===Dl.start&&{height:32,float:"left",marginRight:10},s===Dl.end&&{height:32,float:"right",marginLeft:10},s===Dl.top&&{marginBottom:-1}],icon:[{padding:"0 5px",fontSize:et.large},l&&{color:S}],label:{pointerEvents:"none",lineHeight:et.large},spinButtonWrapper:[d(d({display:"flex",position:"relative",boxSizing:"border-box",height:32,minWidth:86},an(f,h.roundedCorner2,"border",0)),{":after":(t={borderWidth:"1px"},t[Mo]={borderColor:"GrayText"},t)}),(s===Dl.top||s===Dl.bottom)&&{width:"100%"},!l&&[{":hover:after":(o={borderColor:v},o[Mo]={borderColor:"Highlight"},o)},c&&{":hover:after, :after":(n={borderColor:b,borderWidth:"2px"},n[Mo]={borderColor:"Highlight"},n)}],l&&fE(i)],input:["ms-spinButton-input",{boxSizing:"border-box",boxShadow:"none",borderStyle:"none",flex:1,margin:0,fontSize:m.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(h.roundedCorner2," 0 0 ").concat(h.roundedCorner2)},!l&&{selectors:{"::selection":{backgroundColor:_,color:C,selectors:(r={},r[Mo]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},r)}}},l&&fE(i)],arrowButtonsContainer:[{display:"block",height:"100%",cursor:"default"},l&&fE(i)]}}),void 0,{scope:"SpinButton"}),kE=d;function wE(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];var r=e;return r.isSlot?0===(o=g.Children.toArray(o)).length?r(t):r(d(d({},t),{children:o})):g.createElement.apply(g,m([e,t],o,!1))}function IE(e,t){void 0===t&&(t={});var o=t.defaultProp,n=void 0===o?"children":o;return function(t,o,r,i,a){if(g.isValidElement(o))return o;var s=function(e,t){var o,n;return"string"==typeof t||"number"==typeof t||"boolean"==typeof t?((o={})[e]=t,n=o):n=t,n}(n,o),l=function(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];for(var r={},i=[],a=0,s=o;a<s.length;a++){var l=s[a];i.push(l&&l.className),kE(r,l)}return r.className=oe([e,i],{rtl:lr(t)}),r}(i,a,t,s);if(r){if(r.component){var c=r.component;return g.createElement(c,d({},l))}if(r.render)return r.render(l,e)}return g.createElement(e,d({},l))}}var DE=Do((function(e){return IE(e)}));function EE(e,t){var o={},n=e,r=function(e){if(t.hasOwnProperty(e)){var r=function(o){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];if(r.length>0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return function(e,t,o,n,r,i){return void 0!==e.create?e.create(t,o,n,r):DE(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 TE(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=g.useContext(tr),i=t.fields,At.getSettings(i||["theme","styles","tokens"],n,r.customizations)),s=t.state;s&&(o=d(d({},o),s(o)));var l=o.theme||a.theme,c=PE(o,l,t.tokens,a.tokens,o.tokens),u=function(e,t,o){for(var n=[],r=3;r<arguments.length;r++)n[r-3]=arguments[r];return Nn.apply(void 0,n.map((function(n){return"function"==typeof n?n(e,t,o):n})))}(o,l,c,t.styles,a.styles,o.styles),p=d(d({},o),{styles:u,tokens:c,_defaultStyles:u,theme:l});return e(p)};return r.displayName=t.displayName||e.name,n&&(r.create=IE(r,{defaultProp:n})),kE(r,t.statics),r}function PE(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];for(var r={},i=0,a=o;i<a.length;i++){var s=a[i];s&&(s="function"==typeof s?s(e,t):s,Array.isArray(s)&&(s=PE.apply(void 0,m([e,t],s,!1))),kE(r,s))}return r}var RE={root:"ms-StackItem"},ME={start:"flex-start",end:"flex-end"},NE=function(e,t){return t.spacing.hasOwnProperty(e)?t.spacing[e]:e},BE=function(e){var t=parseFloat(e),o=isNaN(t)?0:t,n=isNaN(t)?"":t.toString();return{value:o,unit:e.substring(n.toString().length)||"px"}},AE=function(e,t){if(void 0===e||"number"==typeof e||""===e)return e;var o=e.split(" ");return o.length<2?NE(e,t):o.reduce((function(e,o){return NE(e,t)+" "+NE(o,t)}))},FE={start:"flex-start",end:"flex-end"},LE={root:"ms-Stack",inner:"ms-Stack-inner",child:"ms-Stack-child"},HE=TE((function(e){var t=e.children,o=jr(e,xr);return null==t?null:wE(EE(e,{root:"div"}).root,d({},o),t)}),{displayName:"StackItem",styles:function(e,t,o){var n=e.grow,r=e.shrink,i=e.disableShrink,a=e.align,s=e.verticalFill,l=e.order,c=e.className,u=e.basis,d=void 0===u?"auto":u,p=Ro(RE,t);return{root:[t.fonts.medium,p.root,{flexBasis:d,margin:o.margin,padding:o.padding,height:s?"100%":"auto",width:"auto"},n&&{flexGrow:!0===n?1:n},(i||!n&&!r)&&{flexShrink:0},r&&!i&&{flexShrink:1},a&&{alignSelf:ME[a]||a},l&&{order:l},c]}}});function OE(e,t){var o=t.disableShrink,n=t.enableScopedSelectors,r=t.doNotRenderFalsyValues,i=g.Children.toArray(e);return g.Children.map(i,(function(e){if(!e)return r?null:e;if(!g.isValidElement(e))return e;if(e.type===g.Fragment)return e.props.children?OE(e.props.children,{disableShrink:o,enableScopedSelectors:n,doNotRenderFalsyValues:r}):null;var t,i=e,a={};(t=e)&&"object"==typeof t&&t.type&&t.type.displayName===HE.displayName&&(a={shrink:!o});var s=i.props.className;return g.cloneElement(i,d(d(d(d({},a),i.props),s&&{className:s}),n&&{className:pi(LE.child,s)}))}))}var zE,WE=TE((function(e){var t=e.as,o=void 0===t?"div":t,n=e.disableShrink,r=void 0!==n&&n,i=e.doNotRenderFalsyValues,a=void 0!==i&&i,s=e.enableScopedSelectors,l=void 0!==s&&s,c=e.wrap,u=p(e,["as","disableShrink","doNotRenderFalsyValues","enableScopedSelectors","wrap"]),h=OE(e.children,{disableShrink:r,enableScopedSelectors:l,doNotRenderFalsyValues:a}),m=jr(u,xr),f=EE(e,{root:o,inner:"div"});return wE(f.root,d({},m),c?wE(f.inner,null,h):h)}),{displayName:"Stack",styles:function(e,t,o){var n,r,i,a,s,l,c,u,p,h,m,f,g,v=e.className,b=e.disableShrink,y=e.enableScopedSelectors,C=e.grow,_=e.horizontal,S=e.horizontalAlign,x=e.reversed,k=e.verticalAlign,w=e.verticalFill,I=e.wrap,D=Ro(LE,t),E=o&&o.childrenGap?o.childrenGap:e.gap,T=o&&o.maxHeight?o.maxHeight:e.maxHeight,P=o&&o.maxWidth?o.maxWidth:e.maxWidth,R=o&&o.padding?o.padding:e.padding,M=function(e,t){if(void 0===e||""===e)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if("number"==typeof e)return{rowGap:{value:e,unit:"px"},columnGap:{value:e,unit:"px"}};var o=e.split(" ");if(o.length>2)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(2===o.length)return{rowGap:BE(NE(o[0],t)),columnGap:BE(NE(o[1],t))};var n=BE(NE(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?"."+LE.child:"*"),O=((n={})["".concat(H,":not(.").concat(RE.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"]=FE[S]||S,r),k&&(i={},i[_?"alignItems":"justifyContent"]=FE[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:AE(R,t),width:0===B.value?"100%":"calc(100% + ".concat(B.value).concat(B.unit,")"),maxWidth:"100vw"},a[H]=d({margin:"".concat(.5*N.value).concat(N.unit," ").concat(.5*B.value).concat(B.unit)},L),a),b&&O,S&&(s={},s[_?"justifyContent":"alignItems"]=FE[S]||S,s),k&&(l={},l[_?"alignItems":"justifyContent"]=FE[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,(p={display:"flex",flexDirection:_?x?"row-reverse":"row":x?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:w?"100%":"auto",maxWidth:P,maxHeight:T,padding:AE(R,t),boxSizing:"border-box"},p[H]=L,p),b&&O,C&&{flexGrow:!0===C?1:C},S&&(h={},h[_?"justifyContent":"alignItems"]=FE[S]||S,h),k&&(m={},m[_?"alignItems":"justifyContent"]=FE[k]||k,m),_&&B.value>0&&(f={},f["".concat(H,x?":not(:last-child)":":not(:first-child)")]={marginLeft:"".concat(B.value).concat(B.unit)},f),!_&&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:HE}});!function(e){e[e.Both=0]="Both",e[e.Header=1]="Header",e[e.Footer=2]="Footer"}(zE||(zE={}));var VE=function(e){function t(t){var o,n=e.call(this,t)||this;return n._root=g.createRef(),n._stickyContentTop=g.createRef(),n._stickyContentBottom=g.createRef(),n._nonStickyContent=g.createRef(),n._placeHolder=g.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},Ji(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 u(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===zE.Both||this.props.stickyPosition===zE.Header},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canStickyBottom",{get:function(){return this.props.stickyPosition===zE.Both||this.props.stickyPosition===zE.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||KE(this._nonStickyContent,this._stickyContentTop)||KE(this._nonStickyContent,this._stickyContentBottom)||KE(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?g.createElement("div",{ref:this._root},this.canStickyTop&&g.createElement("div",{ref:this._stickyContentTop,style:{pointerEvents:t?"auto":"none"}},g.createElement("div",{style:this._getStickyPlaceholderHeight(t)})),this.canStickyBottom&&g.createElement("div",{ref:this._stickyContentBottom,style:{pointerEvents:o?"auto":"none"}},g.createElement("div",{style:this._getStickyPlaceholderHeight(o)})),g.createElement("div",{style:this._getNonStickyPlaceholderHeightAndWidth(),ref:this._placeHolder},(t||o)&&g.createElement("span",{style:ho},i),g.createElement("div",{ref:this._nonStickyContent,className:t||o?r:void 0,style:this._getContentStyles(t||o)},i))):g.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:zE.Both,isScrollSynced:!0},t.contextType=QI,t}(g.Component);function KE(e,t){return e&&t&&e.current&&t.current&&e.current.offsetHeight!==t.current.offsetHeight}var GE=gr(),UE=Do((function(e,t,o,n,r,i,a,s,l){var c=Zp(e);return An({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]})})),jE=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,p=e.styles,h=e.circle,m=void 0===h||h,f=e.color,v=e.onClick,b=e.onHover,y=e.onFocus,C=e.onMouseEnter,_=e.onMouseMove,S=e.onMouseLeave,x=e.onWheel,k=e.onKeyDown,w=e.height,I=e.width,D=e.borderWidth,E=GE(p,{theme:e.theme,disabled:u,selected:l,circle:m,isWhite:(t=f,o=zg(t),"ffffff"===(null==o?void 0:o.hex)),height:w,width:I,borderWidth:D}),T=function(e){var t,o=E.svg;return g.createElement("svg",{className:o,role:"img","aria-label":e.label,viewBox:"0 0 20 20",fill:null===(t=zg(e.color))||void 0===t?void 0:t.str},m?g.createElement("circle",{cx:"50%",cy:"50%",r:"50%"}):g.createElement("rect",{width:"100%",height:"100%"}))},P=a?{role:"radio","aria-checked":l,selected:void 0}:{role:"gridcell",selected:l};return g.createElement(bh,d({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:v,onHover:b,onFocus:y,label:n.label,className:E.colorCell,getClassNames:UE,index:n.index,onMouseEnter:C,onMouseMove:_,onMouseLeave:S,onWheel:x,onKeyDown:k}))},qE={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"},YE=rr(jE,(function(e){var t,o,n,r,i,a,s=e.theme,l=e.disabled,c=e.selected,u=e.circle,d=e.isWhite,p=e.height,h=void 0===p?20:p,m=e.width,f=void 0===m?20:m,g=e.borderWidth,v=s.semanticColors,b=s.palette,y=b.neutralLighter,C=b.neutralLight,_=b.neutralSecondary,S=b.neutralTertiary,x=g||(f<24?2:4);return{colorCell:[on(s,{inset:-1,position:"relative",highContrastStyle: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(Jo," &:focus::after, :host(.").concat(Jo,") &:focus::after")]={outlineOffset:"".concat(x-1,"px")},t)},u&&{borderRadius:"50%",selectors:(o={},o[".".concat(Jo," &:focus::after, :host(.").concat(Jo,") &:focus::after")]={outline:"none",borderColor:v.focusBorder,borderRadius:"50%",left:-x,right:-x,top:-x,bottom:-x,selectors:(n={},n[Mo]={outline:"1px solid ButtonText"},n)},o)},c&&{padding:2,border:"".concat(x,"px solid ").concat(C),selectors:(r={},r["&:hover::before"]={content:'""',height:h,width:f,position:"absolute",top:-x,left:-x,borderRadius:u?"50%":"default",boxShadow:"inset 0 0 0 1px ".concat(_)},r)},!c&&{selectors:(i={},i["&:hover, &:active, &:focus"]={backgroundColor:v.bodyBackground,padding:2,border:"".concat(x,"px solid ").concat(y)},i["&:focus"]={borderColor:v.bodyBackground,padding:0,selectors:{":hover":{borderColor:s.palette.neutralLight,padding:2}}},i)},l&&{color:v.disabledBodyText,pointerEvents:"none",opacity:.3},d&&!c&&{backgroundColor:S,padding:1,selectors:(a={},a[Mo]={outline:"1px solid ButtonText"},a)}],svg:[{width:"100%",height:"100%"},u&&{borderRadius:"50%"}]}}),void 0,{scope:"ColorPickerGridCell"},!0),ZE=gr(),XE=g.forwardRef((function(e,t){var o=fd("swatchColorPicker"),n=e.id||o,r=Tc(),i=Ic({isNavigationIdle:!0,cellFocused:!1,navigationIdleTimeoutId:void 0,navigationIdleDelay:250}),a=zf(),s=a.setTimeout,l=a.clearTimeout,c=e.colorCells,u=e.cellShape,p=void 0===u?"circle":u,h=e.columnCount,m=e.shouldFocusCircularNavigate,f=void 0===m||m,v=e.className,b=e.disabled,y=void 0!==b&&b,C=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=g.useMemo((function(){return c.map((function(e,t){return d(d({},e),{index:t})}))}),[c]),L=g.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=Am(e.selectedId,k,L),O=H[0],z=H[1],W=ZE(_,{theme:e.theme,className:v,cellMargin:x}),V={root:W.root,tableCell:W.tableCell,focusedContainer:W.focusedContainer},K=c.length<=h,G=g.useCallback((function(e){P&&(i.cellFocused=!1,P(void 0,void 0,e))}),[i,P]),U=g.useCallback((function(e){return w?(i.isNavigationIdle&&!y&&e.currentTarget.focus(),!0):!i.isNavigationIdle||!!y}),[w,i,y]),j=g.useCallback((function(e){if(!w)return!i.isNavigationIdle||!!y;var t=e.currentTarget;return!i.isNavigationIdle||r&&t===r.activeElement||t.focus(),!0}),[w,i,y,r]),q=g.useCallback((function(e){var t,o=I;if(w&&o&&i.isNavigationIdle&&!y)for(var n=null!==(t=null==r?void 0:r.querySelectorAll(o))&&void 0!==t?t:[],a=0;a<n.length;a+=1)if(n[a].contains(e.currentTarget)){if(n[a].setActive)try{n[a].setActive()}catch(e){}else n[a].focus();break}}),[y,w,i,I,r]),Y=g.useCallback((function(e,t){T&&(e?T(e.id,e.color,t):T(void 0,void 0,t))}),[T]),Z=g.useCallback((function(e,t){if(P)return e?(i.cellFocused=!0,P(e.id,e.color,t)):(i.cellFocused=!1,P(void 0,void 0,t))}),[i,P]),X=g.useCallback((function(e,t){y||e.disabled||e.id!==O&&(P&&i.cellFocused&&(i.cellFocused=!1,P(void 0,void 0,t)),z(e.id,t))}),[y,i,P,O,z]),Q=g.useCallback((function(){i.isNavigationIdle||void 0===i.navigationIdleTimeoutId?i.isNavigationIdle=!1:(l(i.navigationIdleTimeoutId),i.navigationIdleTimeoutId=void 0),i.navigationIdleTimeoutId=s((function(){i.isNavigationIdle=!0}),i.navigationIdleDelay)}),[l,i,s]),J=g.useCallback((function(e){e.which!==ar.up&&e.which!==ar.down&&e.which!==ar.left&&e.which!==ar.right||Q()}),[Q]),$=function(e){return g.createElement(YE,{item:e,idPrefix:n,color:e.color,styles:R,disabled:y||e.disabled,onClick:X,onHover:Y,onFocus:Z,selected:O===e.id,circle:"circle"===p,label:e.label,onMouseEnter:U,onMouseMove:j,onMouseLeave:q,onWheel:Q,onKeyDown:J,onRenderColorCellContent:A,height:M,width:N,borderWidth:B,isRadio:K})};return c.length<1||h<1?null:g.createElement(ph,d({},e,{ref:t,id:n,items:F,columnCount:h,isSemanticRadio:K,onRenderItem:function(t,o){var n=e.onRenderColorCell;return(void 0===n?$:n)(t,$)},shouldFocusCircularNavigate:f,doNotContainWithinFocusZone:C,onBlur:G,theme:e.theme,styles:V}))}));XE.displayName="SwatchColorPicker";var QE={focusedContainer:"ms-swatchColorPickerBodyContainer"},JE=rr(XE,(function(e){var t=e.className,o=e.theme;return{root:{margin:"8px 0",borderCollapse:"collapse"},tableCell:{padding:e.cellMargin/2},focusedContainer:[Ro(QE,o).focusedContainer,{clear:"both",display:"block",minWidth:"180px"},t]}}),void 0,{scope:"SwatchColorPicker"}),$E=gr(),eT=g.forwardRef((function(e,t){var o,n,r,i,a,s,l,c=g.useRef(null),u=aa(),p=ri(c,t),h=fd("teaching-bubble-content-"),m=fd("teaching-bubble-title-"),f=null!==(o=e.ariaDescribedBy)&&void 0!==o?o:h,v=null!==(n=e.ariaLabelledBy)&&void 0!==n?n:m,b=e.illustrationImage,y=e.primaryButtonProps,C=e.secondaryButtonProps,_=e.headline,S=e.hasCondensedHeadline,x=e.hasCloseButton,k=void 0===x?e.hasCloseIcon:x,w=e.onDismiss,I=e.closeButtonAriaLabel,D=e.hasSmallHeadline,E=e.isWide,T=e.styles,P=e.theme,R=e.footerContent,M=e.focusTrapZoneProps,N=$E(T,{theme:P,hasCondensedHeadline:S,hasSmallHeadline:D,hasCloseButton:k,hasHeadline:!!_,isWide:E,primaryButtonClassName:y?y.className:void 0,secondaryButtonClassName:C?C.className:void 0});if(xc(u,"keydown",g.useCallback((function(e){w&&e.which===ar.escape&&w(e)}),[w])),b&&b.src&&(r=g.createElement("div",{className:N.imageContent},g.createElement(ci,d({},b)))),_){var B="string"==typeof _?"p":"div";i=g.createElement("div",{className:N.header},g.createElement(B,{role:"heading","aria-level":3,className:N.headline,id:v},_))}if(e.children){var A="string"==typeof e.children?"p":"div";a=g.createElement("div",{className:N.body},g.createElement(A,{className:N.subText,id:f},e.children))}return(y||C||R)&&(s=g.createElement(WE,{className:N.footer,horizontal:!0,horizontalAlign:R?"space-between":"end"},g.createElement(WE.Item,{align:"center"},g.createElement("span",null,R)),g.createElement(WE.Item,null,y&&g.createElement(nh,d({},y,{className:N.primaryButton})),C&&g.createElement(eh,d({},C,{className:N.secondaryButton}))))),k&&(l=g.createElement(fp,{className:N.closeButton,iconProps:{iconName:"Cancel"},ariaLabel:I,onClick:w})),function(e,t){g.useImperativeHandle(e,(function(){return{focus:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.focus()}}}),[t])}(e.componentRef,c),g.createElement("div",{className:N.content,ref:p,role:"dialog",tabIndex:-1,"aria-labelledby":v,"aria-describedby":f,"data-is-focusable":!0},r,g.createElement(qm,d({isClickableOutsideFocusTrap:!0},M),g.createElement("div",{className:N.bodyContent},i,a,s,l)))})),tT={root:"ms-TeachingBubble",body:"ms-TeachingBubble-body",bodyContent:"ms-TeachingBubble-bodycontent",closeButton:"ms-TeachingBubble-closebutton",content:"ms-TeachingBubble-content",footer:"ms-TeachingBubble-footer",header:"ms-TeachingBubble-header",headerIsCondensed:"ms-TeachingBubble-header--condensed",headerIsSmall:"ms-TeachingBubble-header--small",headerIsLarge:"ms-TeachingBubble-header--large",headline:"ms-TeachingBubble-headline",image:"ms-TeachingBubble-image",primaryButton:"ms-TeachingBubble-primaryButton",secondaryButton:"ms-TeachingBubble-secondaryButton",subText:"ms-TeachingBubble-subText",button:"ms-Button",buttonLabel:"ms-Button-label"},oT=Do((function(){return re({"0%":{opacity:0,animationTimingFunction:Ke.easeFunction1,transform:"scale3d(.90,.90,.90)"},"100%":{opacity:1,transform:"scale3d(1,1,1)"}})})),nT=function(e,t){var o=t||{},n=o.calloutWidth,r=o.calloutMaxWidth;return[{display:"block",maxWidth:364,border:0,outline:"transparent",width:n||"calc(100% + 1px)",animationName:"".concat(oT()),animationDuration:"300ms",animationTimingFunction:"linear",animationFillMode:"both"},e&&{maxWidth:r||456}]},rT=function(e,t,o){return t?[e.headerIsCondensed,{marginBottom:14}]:[o&&e.headerIsSmall,!o&&e.headerIsLarge,{selectors:{":not(:last-child)":{marginBottom:14}}}]},iT=function(e){var t,o,n,r=e.hasCondensedHeadline,i=e.hasSmallHeadline,a=e.hasCloseButton,s=e.hasHeadline,l=e.isWide,c=e.primaryButtonClassName,u=e.secondaryButtonClassName,d=e.theme,p=e.calloutProps,h=void 0===p?{className:void 0,theme:d}:p,f=!r&&!i,g=d.palette,v=d.semanticColors,b=d.fonts,y=Ro(tT,d),C=on(d,{outlineColor:"transparent",borderColor:"transparent"});return{root:[y.root,b.medium,h.className],body:[y.body,a&&!s&&{marginRight:24},{selectors:{":not(:last-child)":{marginBottom:20}}}],bodyContent:[y.bodyContent,{padding:"20px 24px 20px 24px"}],closeButton:[y.closeButton,{position:"absolute",right:0,top:0,margin:"15px 15px 0 0",borderRadius:0,color:g.white,fontSize:b.small.fontSize,selectors:{":hover":{background:g.themeDarkAlt,color:g.white},":active":{background:g.themeDark,color:g.white},":focus":{border:"1px solid ".concat(v.variantBorder)}}}],content:m(m([y.content],nT(l),!0),[l&&{display:"flex"}],!1),footer:[y.footer,{display:"flex",flex:"auto",alignItems:"center",color:g.white,selectors:(t={},t[".".concat(y.button,":not(:first-child)")]={marginLeft:10},t)}],header:m(m([y.header],rT(y,r,i),!0),[a&&{marginRight:24},(r||i)&&[b.medium,{fontWeight:$e.semibold}]],!1),headline:[y.headline,{margin:0,color:g.white,fontWeight:$e.semibold,overflowWrap:"break-word"},f&&[{fontSize:b.xLarge.fontSize}]],imageContent:[y.header,y.image,l&&{display:"flex",alignItems:"center",maxWidth:154}],primaryButton:[y.primaryButton,c,C,{backgroundColor:g.white,borderColor:g.white,color:g.themePrimary,whiteSpace:"nowrap",selectors:(o={},o[".".concat(y.buttonLabel)]=b.medium,o[":hover"]={backgroundColor:g.themeLighter,borderColor:g.themeLighter,color:g.themeDark},o[":focus"]={backgroundColor:g.themeLighter,border:"1px solid ".concat(g.black),color:g.themeDark,outline:"1px solid ".concat(g.white),outlineOffset:"-2px"},o[":active"]={backgroundColor:g.white,borderColor:g.white,color:g.themePrimary},o)}],secondaryButton:[y.secondaryButton,u,C,{backgroundColor:g.themePrimary,borderColor:g.white,whiteSpace:"nowrap",selectors:(n={},n[".".concat(y.buttonLabel)]=[b.medium,{color:g.white}],n[":hover"]={backgroundColor:g.themeDarkAlt,borderColor:g.white},n[":focus"]={backgroundColor:g.themeDark,border:"1px solid ".concat(g.black),outline:"1px solid ".concat(g.white),outlineOffset:"-2px"},n[":active"]={backgroundColor:g.themePrimary,borderColor:g.white},n)}],subText:[y.subText,{margin:0,fontSize:b.medium.fontSize,color:g.white,fontWeight:$e.regular}],subComponentStyles:{callout:{root:m(m([],nT(l,h),!0),[b.medium],!1),beak:[{background:g.themePrimary}],calloutMain:[{background:g.themePrimary}]}}}},aT=rr(eT,iT,void 0,{scope:"TeachingBubbleContent"}),sT={beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1,directionalHint:Sl.rightCenter},lT=gr(),cT=g.forwardRef((function(e,t){var o=g.useRef(null),n=ri(o,t),r=e.calloutProps,i=e.targetElement,a=e.onDismiss,s=e.hasCloseButton,l=void 0===s?e.hasCloseIcon:s,c=e.isWide,u=e.styles,p=e.theme,h=e.target,m=g.useMemo((function(){return d(d(d({},sT),r),{theme:p})}),[r,p]),f=lT(u,{theme:p,isWide:c,calloutProps:m,hasCloseButton:l}),v=f.subComponentStyles?f.subComponentStyles.callout:void 0;return function(e,t){g.useImperativeHandle(e,(function(){return{focus:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.focus()}}}),[t])}(e.componentRef,o),g.createElement(wu,d({target:h||i,onDismiss:a},m,{className:f.root,styles:v,hideOverflow:!0}),g.createElement("div",{ref:n},g.createElement(aT,d({},e))))}));cT.displayName="TeachingBubble";var uT=rr(cT,iT,void 0,{scope:"TeachingBubble"}),dT=function(e){if(null==e.children)return null;e.block,e.className;var t=e.as,o=void 0===t?"span":t,n=(e.variant,e.nowrap,p(e,["block","className","as","variant","nowrap"]));return wE(EE(e,{root:o}).root,d({},jr(n,xr)))},pT=function(e,t){var o=e.as,n=e.className,r=e.block,i=e.nowrap,a=e.variant,s=t.fonts,l=t.semanticColors,c=s[a||"medium"];return{root:[c,{color:c.color||l.bodyText,display:r?"td"===o?"table-cell":"block":"inline",mozOsxFontSmoothing:c.MozOsxFontSmoothing,webkitFontSmoothing:c.WebkitFontSmoothing},i&&{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},n]}},hT=TE(dT,{displayName:"Text",styles:pT}),mT={9:/[0-9]/,a:/[a-zA-Z]/,"*":/[a-zA-Z0-9]/};function fT(e,t){if(void 0===t&&(t=mT),!e)return[];for(var o=[],n=0,r=0;r+n<e.length;r++){var i=e.charAt(r+n);if("\\"===i)n++;else{var a=t[i];a&&o.push({displayIndex:r,format:a})}}return o}function gT(e,t,o){var n=e;if(!n)return"";n=n.replace(/\\/g,"");var r=0;t.length>0&&(r=t[0].displayIndex-1);for(var i=0,a=t;i<a.length;i++){var s=a[i],l=" ";s.value?(l=s.value,s.displayIndex>r&&(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 vT(e,t){for(var o=0;o<e.length;o++)if(e[o].displayIndex>=t)return e[o].displayIndex;return e[e.length-1].displayIndex}function bT(e,t,o){for(var n=0;n<e.length;n++)if(e[n].displayIndex>=t){if(e[n].displayIndex>=t+o)break;e[n].value=void 0}return e}function yT(e,t,o){for(var n=0,r=0,i=!1,a=0;a<e.length&&n<o.length;a++)if(e[a].displayIndex>=t)for(i=!0,r=e[a].displayIndex;n<o.length;){if(e[a].format.test(o.charAt(n))){e[a].value=o.charAt(n++),a+1<e.length?r=e[a+1].displayIndex:r++;break}n++}return i?r:t}var CT,_T,ST,xT="_",kT=g.forwardRef((function(e,t){var o=g.useRef(null),n=e.componentRef,r=e.onFocus,i=e.onBlur,a=e.onMouseDown,s=e.onMouseUp,l=e.onChange,c=e.onPaste,u=e.onKeyDown,p=e.mask,h=e.maskChar,m=void 0===h?xT:h,f=e.maskFormat,v=void 0===f?mT:f,b=e.value,y=Ic((function(){return{maskCharData:fT(p,v),isFocused:!1,moveCursorOnMouseUp:!1,changeSelectionData:null}})),C=g.useState(),_=C[0],S=C[1],x=g.useState((function(){return gT(p,y.maskCharData,m)})),k=x[0],w=x[1],I=g.useCallback((function(e){for(var t=0,o=0;t<e.length&&o<y.maskCharData.length;){var n=e[t];y.maskCharData[o].format.test(n)&&(y.maskCharData[o].value=n,o++),t++}}),[y]),D=g.useCallback((function(e){null==r||r(e),y.isFocused=!0;for(var t=0;t<y.maskCharData.length;t++)if(!y.maskCharData[t].value){S(y.maskCharData[t].displayIndex);break}}),[y,r]),E=g.useCallback((function(e){null==i||i(e),y.isFocused=!1,y.moveCursorOnMouseUp=!0}),[y,i]),T=g.useCallback((function(e){null==a||a(e),y.isFocused||(y.moveCursorOnMouseUp=!0)}),[y,a]),P=g.useCallback((function(e){if(null==s||s(e),y.moveCursorOnMouseUp){y.moveCursorOnMouseUp=!1;for(var t=0;t<y.maskCharData.length;t++)if(!y.maskCharData[t].value){S(y.maskCharData[t].displayIndex);break}}}),[y,s]),R=g.useCallback((function(e,t){if(null===y.changeSelectionData&&o.current&&(y.changeSelectionData={changeType:"default",selectionStart:null!==o.current.selectionStart?o.current.selectionStart:-1,selectionEnd:null!==o.current.selectionEnd?o.current.selectionEnd:-1}),y.changeSelectionData){var n=0,r=y.changeSelectionData,i=r.changeType,a=r.selectionStart,s=r.selectionEnd;if("textPasted"===i){var c=s-a,u=t.length+c-k.length,d=a,h=t.substr(d,u);c&&(y.maskCharData=bT(y.maskCharData,a,c)),n=yT(y.maskCharData,d,h)}else if("delete"===i||"backspace"===i){var f="delete"===i;(u=s-a)?(y.maskCharData=bT(y.maskCharData,a,u),n=vT(y.maskCharData,a)):f?(y.maskCharData=function(e,t){for(var o=0;o<e.length;o++)if(e[o].displayIndex>=t){e[o].value=void 0;break}return e}(y.maskCharData,a),n=vT(y.maskCharData,a)):(y.maskCharData=function(e,t){for(var o=e.length-1;o>=0;o--)if(e[o].displayIndex<t){e[o].value=void 0;break}return e}(y.maskCharData,a),n=function(e,t){for(var o=e.length-1;o>=0;o--)if(e[o].displayIndex<t)return e[o].displayIndex;return e[0].displayIndex}(y.maskCharData,a))}else if(t.length>k.length){d=s-(u=t.length-k.length);var g=t.substr(d,u);n=yT(y.maskCharData,d,g)}else if(t.length<=k.length){u=1;var v=k.length+u-t.length;d=s-u,g=t.substr(d,u),y.maskCharData=bT(y.maskCharData,d,v),n=yT(y.maskCharData,d,g)}y.changeSelectionData=null;var b=gT(p,y.maskCharData,m);w(b),S(n),null==l||l(e,b)}}),[k.length,y,p,m,l]),M=g.useCallback((function(e){if(null==u||u(e),y.changeSelectionData=null,o.current&&o.current.value){var t=e.keyCode,n=e.ctrlKey,r=e.metaKey;if(n||r)return;if(t===ar.backspace||t===ar.del){var i=e.target.selectionStart,a=e.target.selectionEnd;if(!(t===ar.backspace&&a&&a>0||t===ar.del&&null!==i&&i<o.current.value.length))return;y.changeSelectionData={changeType:t===ar.backspace?"backspace":"delete",selectionStart:null!==i?i:-1,selectionEnd:null!==a?a:-1}}}}),[y,u]),N=g.useCallback((function(e){null==c||c(e);var t=e.target.selectionStart,o=e.target.selectionEnd;y.changeSelectionData={changeType:"textPasted",selectionStart:null!==t?t:-1,selectionEnd:null!==o?o:-1}}),[y,c]);return g.useEffect((function(){y.maskCharData=fT(p,v),void 0!==b&&I(b),w(gT(p,y.maskCharData,m))}),[p,b]),ni((function(){void 0!==_&&o.current&&o.current.setSelectionRange(_,_)}),[_]),g.useEffect((function(){y.isFocused&&void 0!==_&&o.current&&o.current.setSelectionRange(_,_)})),function(e,t,o){g.useImperativeHandle(e,(function(){return{get value(){for(var e="",o=0;o<t.maskCharData.length;o++){if(!t.maskCharData[o].value)return;e+=t.maskCharData[o].value}return e},get selectionStart(){return o.current&&null!==o.current.selectionStart?o.current.selectionStart:-1},get selectionEnd(){return o.current&&o.current.selectionEnd?o.current.selectionEnd:-1},focus:function(){o.current&&o.current.focus()},blur:function(){o.current&&o.current.blur()},select:function(){o.current&&o.current.select()},setSelectionStart:function(e){o.current&&o.current.setSelectionStart(e)},setSelectionEnd:function(e){o.current&&o.current.setSelectionEnd(e)},setSelectionRange:function(e,t){o.current&&o.current.setSelectionRange(e,t)}}}),[t,o])}(n,y,o),g.createElement(iv,d({},e,{elementRef:t,onFocus:D,onBlur:E,onMouseDown:T,onMouseUp:P,onChange:R,onKeyDown:M,onPaste:N,value:k||"",componentRef:o}))}));function wT(){var e={};function t(t,o,n,r){void 0===r&&(r=!1);var i=e[CT[o]],a={name:t,inherits:i,asShade:n,isCustomized:!1,isBackgroundShade:r,dependentRules:[]};e[t]=a,i.dependentRules.push(a)}return ll(CT,(function(t){e[t]={name:t,isCustomized:!0,dependentRules:[]},ll(hg,(function(o,n){if(o!==hg[hg.Unshaded]){var r=e[t],i={name:t+o,inherits:e[t],asShade:n,isCustomized:!1,isBackgroundShade:t===CT[CT.backgroundColor],dependentRules:[]};e[t+o]=i,r.dependentRules.push(i)}}))})),e[CT[CT.primaryColor]].color=zg("#0078d4"),e[CT[CT.backgroundColor]].color=zg("#ffffff"),e[CT[CT.foregroundColor]].color=zg("#323130"),t(_T[_T.themePrimary],CT.primaryColor,hg.Unshaded),t(_T[_T.themeLighterAlt],CT.primaryColor,hg.Shade1),t(_T[_T.themeLighter],CT.primaryColor,hg.Shade2),t(_T[_T.themeLight],CT.primaryColor,hg.Shade3),t(_T[_T.themeTertiary],CT.primaryColor,hg.Shade4),t(_T[_T.themeSecondary],CT.primaryColor,hg.Shade5),t(_T[_T.themeDarkAlt],CT.primaryColor,hg.Shade6),t(_T[_T.themeDark],CT.primaryColor,hg.Shade7),t(_T[_T.themeDarker],CT.primaryColor,hg.Shade8),t(_T[_T.neutralLighterAlt],CT.backgroundColor,hg.Shade1,!0),t(_T[_T.neutralLighter],CT.backgroundColor,hg.Shade2,!0),t(_T[_T.neutralLight],CT.backgroundColor,hg.Shade3,!0),t(_T[_T.neutralQuaternaryAlt],CT.backgroundColor,hg.Shade4,!0),t(_T[_T.neutralQuaternary],CT.backgroundColor,hg.Shade5,!0),t(_T[_T.neutralTertiaryAlt],CT.backgroundColor,hg.Shade6,!0),t(_T[_T.neutralTertiary],CT.foregroundColor,hg.Shade3),t(_T[_T.neutralSecondary],CT.foregroundColor,hg.Shade4),t(_T[_T.neutralSecondaryAlt],CT.foregroundColor,hg.Shade4),t(_T[_T.neutralPrimaryAlt],CT.foregroundColor,hg.Shade5),t(_T[_T.neutralPrimary],CT.foregroundColor,hg.Unshaded),t(_T[_T.neutralDark],CT.foregroundColor,hg.Shade7),t(_T[_T.black],CT.foregroundColor,hg.Shade8),t(_T[_T.white],CT.backgroundColor,hg.Unshaded,!0),e[_T[_T.neutralLighterAlt]].color=zg("#faf9f8"),e[_T[_T.neutralLighter]].color=zg("#f3f2f1"),e[_T[_T.neutralLight]].color=zg("#edebe9"),e[_T[_T.neutralQuaternaryAlt]].color=zg("#e1dfdd"),e[_T[_T.neutralDark]].color=zg("#201f1e"),e[_T[_T.neutralTertiaryAlt]].color=zg("#c8c6c4"),e[_T[_T.black]].color=zg("#000000"),e[_T[_T.neutralDark]].color=zg("#201f1e"),e[_T[_T.neutralPrimaryAlt]].color=zg("#3b3a39"),e[_T[_T.neutralSecondary]].color=zg("#605e5c"),e[_T[_T.neutralSecondaryAlt]].color=zg("#8a8886"),e[_T[_T.neutralTertiary]].color=zg("#a19f9d"),e[_T[_T.white]].color=zg("#ffffff"),e[_T[_T.themeDarker]].color=zg("#004578"),e[_T[_T.themeDark]].color=zg("#005a9e"),e[_T[_T.themeDarkAlt]].color=zg("#106ebe"),e[_T[_T.themeSecondary]].color=zg("#2b88d8"),e[_T[_T.themeTertiary]].color=zg("#71afe5"),e[_T[_T.themeLight]].color=zg("#c7e0f4"),e[_T[_T.themeLighter]].color=zg("#deecf9"),e[_T[_T.themeLighterAlt]].color=zg("#eff6fc"),e[_T[_T.neutralLighterAlt]].isCustomized=!0,e[_T[_T.neutralLighter]].isCustomized=!0,e[_T[_T.neutralLight]].isCustomized=!0,e[_T[_T.neutralQuaternaryAlt]].isCustomized=!0,e[_T[_T.neutralDark]].isCustomized=!0,e[_T[_T.neutralTertiaryAlt]].isCustomized=!0,e[_T[_T.black]].isCustomized=!0,e[_T[_T.neutralDark]].isCustomized=!0,e[_T[_T.neutralPrimaryAlt]].isCustomized=!0,e[_T[_T.neutralSecondary]].isCustomized=!0,e[_T[_T.neutralSecondaryAlt]].isCustomized=!0,e[_T[_T.neutralTertiary]].isCustomized=!0,e[_T[_T.white]].isCustomized=!0,e[_T[_T.themeDarker]].isCustomized=!0,e[_T[_T.themeDark]].isCustomized=!0,e[_T[_T.themeDarkAlt]].isCustomized=!0,e[_T[_T.themePrimary]].isCustomized=!0,e[_T[_T.themeSecondary]].isCustomized=!0,e[_T[_T.themeTertiary]].isCustomized=!0,e[_T[_T.themeLight]].isCustomized=!0,e[_T[_T.themeLighter]].isCustomized=!0,e[_T[_T.themeLighterAlt]].isCustomized=!0,e}kT.displayName="MaskedTextField",function(e){e[e.primaryColor=0]="primaryColor",e[e.backgroundColor=1]="backgroundColor",e[e.foregroundColor=2]="foregroundColor"}(CT||(CT={})),function(e){e[e.themePrimary=0]="themePrimary",e[e.themeLighterAlt=1]="themeLighterAlt",e[e.themeLighter=2]="themeLighter",e[e.themeLight=3]="themeLight",e[e.themeTertiary=4]="themeTertiary",e[e.themeSecondary=5]="themeSecondary",e[e.themeDarkAlt=6]="themeDarkAlt",e[e.themeDark=7]="themeDark",e[e.themeDarker=8]="themeDarker",e[e.neutralLighterAlt=9]="neutralLighterAlt",e[e.neutralLighter=10]="neutralLighter",e[e.neutralLight=11]="neutralLight",e[e.neutralQuaternaryAlt=12]="neutralQuaternaryAlt",e[e.neutralQuaternary=13]="neutralQuaternary",e[e.neutralTertiaryAlt=14]="neutralTertiaryAlt",e[e.neutralTertiary=15]="neutralTertiary",e[e.neutralSecondaryAlt=16]="neutralSecondaryAlt",e[e.neutralSecondary=17]="neutralSecondary",e[e.neutralPrimaryAlt=18]="neutralPrimaryAlt",e[e.neutralPrimary=19]="neutralPrimary",e[e.neutralDark=20]="neutralDark",e[e.black=21]="black",e[e.white=22]="white"}(_T||(_T={})),function(e){e[e.bodyBackground=0]="bodyBackground",e[e.bodyText=1]="bodyText",e[e.disabledBackground=2]="disabledBackground",e[e.disabledText=3]="disabledText"}(ST||(ST={}));var IT=function(){function e(){}return e.setSlot=function(t,o,n,r,i){if(void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i=!0),t.color||!t.value)if(i){var a=void 0;if("string"==typeof o){if(!(a=zg(o)))throw new Error("color is invalid in setSlot(): "+o)}else a=o;e._setSlot(t,a,n,r,i)}else t.color&&e._setSlot(t,t.color,n,r,i)},e.insureSlots=function(t,o){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];if(!r.inherits&&!r.value){if(!r.color)throw new Error("A color slot rule that does not inherit must provide its own color.");e._setSlot(r,r.color,o,!1,!1)}}},e.getThemeAsJson=function(e){var t={};for(var o in e)if(e.hasOwnProperty(o)){var n=e[o];t[n.name]=n.color?n.color.str:n.value||""}return t},e.getThemeAsCode=function(t){return e._makeRemainingCode("loadTheme({\n palette: {\n",t)},e.getThemeAsCodeWithCreateTheme=function(t){return e._makeRemainingCode("const myTheme = createTheme({\n palette: {\n",t)},e.getThemeAsSass=function(e){var t="";for(var o in e)if(e.hasOwnProperty(o)){var n=e[o],r=n.name.charAt(0).toLowerCase()+n.name.slice(1);t+=qh('${0}Color: "[theme: {1}, default: {2}]";\n',r,r,n.color?n.color.str:n.value||"")}return t},e.getThemeForPowerShell=function(e){var t="";for(var o in e)if(e.hasOwnProperty(o)){var n=e[o];if(n.value)continue;var r=n.name.charAt(0).toLowerCase()+n.name.slice(1),i=n.color?"#"+n.color.hex:n.value||"";n.color&&n.color.a&&100!==n.color.a&&(i+=String(n.color.a.toString(16))),t+=qh('"{0}" = "{1}";\n',r,i)}return"@{\n"+t+"}"},e._setSlot=function(t,o,n,r,i){if(void 0===i&&(i=!0),(t.color||!t.value)&&(i||!t.color||!t.isCustomized||!t.inherits)){!i&&t.isCustomized||r||!t.inherits||!kg(t.asShade)?(t.color=o,t.isCustomized=!0):(t.isBackgroundShade?t.color=Tg(o,t.asShade,n):t.color=Eg(o,t.asShade,n),t.isCustomized=!1);for(var a=0,s=t.dependentRules;a<s.length;a++){var l=s[a];e._setSlot(l,t.color,n,!1,i)}}},e._makeRemainingCode=function(e,t){for(var o in t)if(t.hasOwnProperty(o)){var n=t[o];e+=qh(" {0}: '{1}',\n",n.name.charAt(0).toLowerCase()+n.name.slice(1),n.color?"#"+n.color.hex:n.value||"")}return e+" }});"},e}(),DT=function(e,t,o){var n,r=Sh.TimeFormatRegex.exec(o)||[],i=r[1],a=r[2],s=r[3],l=r[4],c=+i,u=+a,d=s?+s:0;e&&l&&("pm"===l.toLowerCase()&&c!==Sh.OffsetTo24HourFormat?c+=Sh.OffsetTo24HourFormat:"am"===l.toLowerCase()&&c===Sh.OffsetTo24HourFormat&&(c-=Sh.OffsetTo24HourFormat)),n=t.getHours()>c||t.getHours()===c&&t.getMinutes()>u?Sh.HoursInOneDay-t.getHours()+c:Math.abs(t.getHours()-c);var p=Sh.MillisecondsIn1Sec*Sh.MinutesInOneHour*n*Sh.SecondsInOneMinute+d*Sh.MillisecondsIn1Sec,h=new Date(t.getTime()+p);return h.setMinutes(u),h.setSeconds(d),h},ET=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},TT=/^((1[0-2]|0?[1-9]):([0-5][0-9]):([0-5][0-9])\s([AaPp][Mm]))$/,PT=/^((1[0-2]|0?[1-9]):[0-5][0-9]\s([AaPp][Mm]))$/,RT=/^([0-1]?[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$/,MT=/^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$/,NT=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,h=e.strings,m=void 0===h?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):h,f=e.defaultValue,v=e.value,b=e.dateAnchor,y=e.onChange,C=e.onFormatDate,_=e.onValidateUserInput,S=e.onValidationResult,x=p(e,["label","increments","showSeconds","allowFreeform","useHour12","timeRange","strings","defaultValue","value","dateAnchor","onChange","onFormatDate","onValidateUserInput","onValidationResult"]),k=g.useState(""),w=k[0],I=k[1],D=g.useState(),E=D[0],T=D[1],P=g.useState(""),R=P[0],M=P[1],N=Ic(new Date),B=Am(v,f),A=B[0],F=B[1],L=FT(n,u),H=b||v||f||N,O=g.useMemo((function(){return BT(H,"start",n,u)}),[H,n,u]),z=g.useMemo((function(){return BT(H,"end",n,u)}),[H,n,u]),W=g.useMemo((function(){for(var e=Array(L),t=0;t<L;t++)e[t]=0;return e.map((function(e,t){var o,r,a=(o=n*t,(r=new Date(O.getTime())).setTime(r.getTime()+o*Sh.MinutesInOneHour*Sh.MillisecondsIn1Sec),r);a.setSeconds(0);var s=ET(a,i,c);return{key:s,text:C?C(a):s,data:a}}))}),[O,n,L,i,C,c]);g.useEffect((function(){if(A&&!isNaN(A.valueOf())){var e=ET(A,i,c),t=W.find((function(t){return t.key===e}));T(null==t?void 0:t.key),I(t?t.text:e)}else T(null),I("")}),[A,W,C,i,c]);var V=g.useCallback((function(e,t,o,n){var r,a="";if(n&&s&&!t&&(C?_&&(a=_(n)):a=function(e){var t="";if((c?i?TT:PT:i?RT:MT).test(e)){if(u&&m.timeOutOfBoundsErrorMessage){var o=DT(c,O,e);(o<O||o>z)&&(t=qh(m.timeOutOfBoundsErrorMessage,O.toString(),z.toString()))}}else t=m.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=DT(c,O,l)),F(d),r=d}null==y||y(e,r),M(a)}),[u,O,z,s,C,_,i,c,m.invalidInputErrorMessage,m.timeOutOfBoundsErrorMessage,F,S,y,R]);return g.createElement(Hv,d({},x,{allowFreeform:s,selectedKey:E,label:t,errorMessage:R,options:W,onChange:V,text:w,onKeyPress:function(e){var t=e.charCode;C||t>=ar.zero&&t<=ar.colon||t===ar.space||t===ar.a||t===ar.m||t===ar.p||e.preventDefault()},useComboBoxAsMenuWidth:!0}))};NT.displayName="TimePicker";var BT=function(e,t,o,n){var r=new Date(e.getTime());if(n){var i=AT(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(Sh.MinutesInOneHour%t)o.setMinutes(0);else{for(var r=Sh.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)},AT=function(e){return{start:Math.min(Math.max(e.start,0),23),end:Math.min(Math.max(e.end,0),23)}},FT=function(e,t){var o=function(e){var t=Sh.HoursInOneDay;if(e){var o=AT(e);o.start>o.end?t=Sh.HoursInOneDay-e.start-e.end:e.end>e.start&&(t=e.end-e.start)}return t}(t);return Math.floor(Sh.MinutesInOneHour*o/e)},LT=gr(),HT="Toggle",OT=g.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,p=e.label,h=e.offAriaLabel,m=e.offText,f=e.onAriaLabel,v=e.onChange,b=e.onChanged,y=e.onClick,C=e.onText,_=e.role,S=e.styles,x=e.theme,k=Am(i,l,g.useCallback((function(e,t){null==v||v(e,t),null==b||b(t)}),[v,b])),w=k[0],I=k[1],D=LT(S,{theme:x,className:a,disabled:c,checked:w,inlineLabel:u,onOffMissing:!C&&!m}),E=w?f:h,T=fd(HT,e.id),P="".concat(T,"-label"),R="".concat(T,"-stateText"),M=w?C:m,N=jr(e,Rr,["defaultChecked"]),B=void 0;r||E||(p&&(B=P),M&&!B&&(B=R));var A=g.useRef(null);Ys(A),zT(e,w,A);var F={root:{className:D.root,hidden:N.hidden},label:{children:p,className:D.label,htmlFor:T,id:P},container:{className:D.container},pill:d(d({},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),y&&y(e))},ref:A,role:_||"switch",type:"button"}),thumb:{className:D.thumb},stateText:{children:M,className:D.text,htmlFor:T,id:R}};return g.createElement(n,d({ref:t},F.root),p&&g.createElement(cf,d({},F.label)),g.createElement("div",d({},F.container),g.createElement("button",d({},F.pill),g.createElement("span",d({},F.thumb))),(w&&C||m)&&g.createElement(cf,d({},F.stateText))))}));OT.displayName=HT+"Base";var zT=function(e,t,o){g.useImperativeHandle(e.componentRef,(function(){return{get checked(){return!!t},focus:function(){o.current&&o.current.focus()}}}),[t,o])},WT=rr(OT,(function(e){var t,o,n,r,i,a,s,l=e.theme,c=e.className,u=e.disabled,p=e.checked,h=e.inlineLabel,m=e.onOffMissing,f=l.semanticColors,g=l.palette,v=f.bodyBackground,b=f.inputBackgroundChecked,y=f.inputBackgroundCheckedHovered,C=g.neutralDark,_=f.disabledBodySubtext,S=f.smallInputBorder,x=f.inputForegroundChecked,k=f.disabledBodySubtext,w=f.disabledBackground,I=f.smallInputBorder,D=f.inputBorderHovered,E=f.disabledBodySubtext,T=f.disabledText;return{root:["ms-Toggle",p&&"is-checked",!u&&"is-enabled",u&&"is-disabled",l.fonts.medium,{marginBottom:"8px"},h&&{display:"flex",alignItems:"center"},c],label:["ms-Toggle-label",{display:"inline-block"},u&&{color:T,selectors:(t={},t[Mo]={color:"GrayText"},t)},h&&!m&&{marginRight:16},m&&h&&{order:1,marginLeft:16},h&&{wordBreak:"break-word"}],container:["ms-Toggle-innerContainer",{display:"flex",position:"relative"}],pill:["ms-Toggle-background",on(l,{inset:-3}),{fontSize:"20px",boxSizing:"border-box",width:40,height:20,borderRadius:10,transition:"all 0.1s ease",border:"1px solid ".concat(I),background:v,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 3px",overflow:"visible"},!u&&[!p&&{selectors:{":hover":[{borderColor:D}],":hover .ms-Toggle-thumb":[{backgroundColor:C,selectors:(o={},o[Mo]={borderColor:"Highlight"},o)}]}},p&&[{background:b,borderColor:"transparent",justifyContent:"flex-end"},{selectors:(n={":hover":[{backgroundColor:y,borderColor:"transparent",selectors:(r={},r[Mo]={backgroundColor:"Highlight"},r)}]},n[Mo]=d({backgroundColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)}]],u&&[{cursor:"default"},!p&&[{borderColor:E}],p&&[{backgroundColor:_,borderColor:"transparent",justifyContent:"flex-end"}]],!u&&{selectors:{"&:hover":{selectors:(i={},i[Mo]={borderColor:"Highlight"},i)}}}],thumb:["ms-Toggle-thumb",{display:"block",width:12,height:12,borderRadius:"50%",transition:"all 0.1s ease",backgroundColor:S,borderColor:"transparent",borderWidth:6,borderStyle:"solid",boxSizing:"border-box"},!u&&p&&[{backgroundColor:x,selectors:(a={},a[Mo]={backgroundColor:"Window",borderColor:"Window"},a)}],u&&[!p&&[{backgroundColor:k}],p&&[{backgroundColor:w}]]],text:["ms-Toggle-stateText",{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none",fontWeight:$e.regular}}},u&&{selectors:{"&&":{color:T,selectors:(s={},s[Mo]={color:"GrayText"},s)}}}]}}),void 0,{scope:"Toggle"}),VT=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()},KT=function(){function e(){}return e.measure=function(t,o){e._timeoutId&&e.setPeriodicReset();var n=VT();o();var r=VT(),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}(),GT="undefined"!=typeof WeakMap?new WeakMap:void 0;function UT(e){var t=function(t){function o(){var o=null!==t&&t.apply(this,arguments)||this;return o.state={Component:GT?GT.get(e.load):void 0},o}return u(o,t),o.prototype.render=function(){var e=this.props,t=e.forwardedRef,o=e.asyncPlaceholder,n=p(e,["forwardedRef","asyncPlaceholder"]),r=this.state.Component;return r?g.createElement(r,d(d({},n),{ref:t})):o?g.createElement(o,null):null},o.prototype.componentDidMount=function(){var t=this;this.state.Component||e.load().then((function(o){o&&(GT&&GT.set(e.load,o),t.setState({Component:o},e.onLoad))})).catch(e.onError)},o}(g.Component);return g.forwardRef((function(e,o){return g.createElement(t,d({},e,{forwardedRef:o}))}))}function jT(e){throw new Error("Unexpected object: "+e)}var qT="";function YT(e){return qT+e}function ZT(e){qT=e}function XT(e){var t,o=e||pt();o&&!0!==(null===(t=o.FabricConfig)||void 0===t?void 0:t.disableFocusRects)&&(o.__hasInitializeFocusRects__||(o.__hasInitializeFocusRects__=!0,o.addEventListener("mousedown",QT,!0),o.addEventListener("pointerdown",JT,!0),o.addEventListener("keydown",$T,!0)))}function QT(e){tn(!1,e.target)}function JT(e){"mouse"!==e.pointerType&&tn(!1,e.target)}function $T(e){zs(e.which)&&tn(!0,e.target)}var eP="undefined"!=typeof document&&Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,tP=!1;if(eP)try{document.adoptedStyleSheets.push(),tP=!0}catch(e){tP=!1}var oP,nP=tP,rP={};try{rP=window||{}}catch(F){}var iP=function(e){function t(o,n){var r=e.call(this,o,n)||this;return r._onAddSheetCallbacks=[],r._sheetCounter=0,r._adoptableSheets=new Map,rP[b]=t,r}return u(t,e),t.getInstance=function(e){var o=e||y,n=o.stylesheetKey||v,r=o.inShadow,i=o.window||("undefined"!=typeof window?window:void 0),a=i||rP,s=i?i.document:"undefined"!=typeof document?document:void 0,l=(oP=a[E])&&!oP.getAdoptedSheets;if(!oP||l||oP._lastStyleElement&&oP._lastStyleElement.ownerDocument!==s){var c=(null==a?void 0:a.FabricConfig)||{},u={window:i,inShadow:r,stylesheetKey:n};c.mergeStyles=c.mergeStyles||{},c.mergeStyles=d(d({},u),c.mergeStyles);var p=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:v});for(var a=0;a<i.length;a++){var s=i[a];s.setAttribute("data-merge-styles-global","true");for(var l=(null===(r=s.sheet)||void 0===r?void 0:r.cssRules)||[],c=0;c<l.length;c++){var u=l[c];e.insertRule(u.cssText)}}}}}(p=new t(c.mergeStyles,JSON.parse(oP.serialize())),r,i,s):p=new t(c.mergeStyles,c.serializedStylesheet),oP=p,a[E]=oP}else oP.setConfig({window:i,inShadow:r,stylesheetKey:n});return i&&oP._getAdoptableStyleSheet(n),oP},t.prototype.getAdoptedSheets=function(){return this._adoptableSheets},t.prototype.onAddSheet=function(e){var t=this;return this._onAddSheetCallbacks.push(e),function(){t._onAddSheetCallbacks=t._onAddSheetCallbacks.filter((function(t){return t!==e}))}},t.prototype.insertRule=function(t,o){var n=this._config,r=n.injectionMode,i=n.stylesheetKey,a=void 0===i?v:i,s=r!==D.none,l=a===v||!!this._adoptableSheets.has(a),c=void 0;s&&l&&(c=this._getAdoptableStyleSheet(a)),c&&this._insertRuleIntoSheet(c,t),e.prototype.insertRule.call(this,t,o,a)},t.prototype._getCacheKey=function(t){var o=this._config,n=o.inShadow,r=void 0!==n&&n,i=o.stylesheetKey;return r?"__".concat(void 0===i?v:i,"__").concat(t):e.prototype._getCacheKey.call(this,t)},t.prototype._createStyleElement=function(){var t=e.prototype._createStyleElement.call(this);return this._config.stylesheetKey===v&&t.setAttribute("data-merge-styles-global","true"),t},t.prototype._makeCSSStyleSheet=function(){var e=this._config.window||window,t=void 0;return(t=eP?new e.CSSStyleSheet:this._createStyleElement().sheet)&&(t.bucketName="merge-styles",t.metadata={stylesheetKey:this._config.stylesheetKey||v,sortOrder:this._sheetCounter++}),t},t.prototype._addAdoptableStyleSheet=function(e,t,o){var n=this;if(void 0===o&&(o=!0),!this._adoptableSheets.has(e)){this._adoptableSheets.set(e,t);var r=this._config.window;o&&r&&r.queueMicrotask((function(){n._onAddSheetCallbacks.forEach((function(o){return o({key:e,sheet:t})}))}))}},t.prototype._getAdoptableStyleSheet=function(e){var t=this._adoptableSheets.get(e);return t||(t=this._makeCSSStyleSheet(),this._addAdoptableStyleSheet(e,t)),t},t}(M),aP=function(){return g.useContext($n).stylesheets},sP=function(e){var t=rp(),o=aP(),n=ia();return lP(e,t,o,n)},lP=function(e,t,o,n){var r=g.useRef({});if(g.useEffect((function(){if(t){var e=r.current;return r.current={},function(){Object.keys(e).forEach((function(t){e[t]()}))}}}),[n,e,t]),!t)return!1;if(t.shadowRoot&&!t.stylesheets.has(e)){var i=o.get(e);i&&(null==n?void 0:n.document)&&cP(t,n.document,e,i,r.current)}return!0},cP=function(e,t,o,n,r){var i,a,s,l,c,u=e.shadowRoot;if(e.stylesheets.set(o,n),eP){for(var d=u.adoptedStyleSheets,p=d.length,h=0===p;p>=0&&!h;){var f=d[--p],g=null!==(a=null===(i=f.metadata)||void 0===i?void 0:i.sortOrder)&&void 0!==a?a:0,v=null!==(l=null===(s=n.metadata)||void 0===s?void 0:s.sortOrder)&&void 0!==l?l:0;"merge-styles"===f.bucketName&&g<v&&(h=!0)}nP?u.adoptedStyleSheets.splice(p+1,0,n):u.adoptedStyleSheets=m(m(m([],u.adoptedStyleSheets.slice(0,p+1),!0),[n],!1),u.adoptedStyleSheets.slice(p+1),!0)}else{var b=t.createElement("style");b.setAttribute("data-merge-styles-stylesheet-key",o);var y=u.querySelectorAll("[data-merge-styles-stylesheet-key]");if(y.length>0?u.insertBefore(b,y[y.length-1].nextSibling):u.insertBefore(b,u.firstChild),b.sheet&&(function(e,t){for(var o=0;o<e.cssRules.length;o++)t.insertRule(e.cssRules[o].cssText,o)}(n,b.sheet),!r[o])){var _=M.getInstance(C(o,!0,null!==(c=t.defaultView)&&void 0!==c?c:void 0));r[o]=_.onInsertRule((function(t){var n=t.key,r=t.rule;n===o&&e&&r&&function(e,t,o){var n=e.shadowRoot.querySelector('[data-merge-styles-stylesheet-key="'.concat(t,'"]'));(null==n?void 0:n.sheet)&&n.sheet.insertRule(o)}(e,n,r)}))}}},uP=function(e,t,o){return void 0===t&&(t=!1),g.useMemo((function(){return C(e,t,o)}),[e,t,o])},dP=function(e){void 0===e&&(e="__global__");var t=er(),o=t.useAdoptedStylesheetEx,n=t.useShadowConfig,r=t.useMergeStylesShadowRootContext,i=t.useMergeStylesRootStylesheets,a=(0,t.useWindow)()||pt(),s=r(),l=!!s,c=i(),u=n(e,l,a);return o(e,s,c,a),u},pP=g.createContext(Jn()),hP=function(e){var t=e.stylesheets,o=e.window,n=e.useAdoptedStylesheet,r=e.useAdoptedStylesheetEx,i=e.useShadowConfig,a=e.useMergeStylesShadowRootContext,s=e.useHasMergeStylesShadowRootContext,l=e.useMergeStylesRootStylesheets,c=e.useWindow,u=e.useStyled,h=p(e,["stylesheets","window","useAdoptedStylesheet","useAdoptedStylesheetEx","useShadowConfig","useMergeStylesShadowRootContext","useHasMergeStylesShadowRootContext","useMergeStylesRootStylesheets","useWindow","useStyled"]),m=null!=o?o:pt(),f=g.useState((function(){return t||new Map})),b=f[0],y=f[1],_=g.useCallback((function(e){var t=e.key,o=e.sheet;y((function(e){var n=new Map(e);return n.set(t,o),n}))}),[]);g.useEffect((function(){y(t||new Map)}),[t]),g.useEffect((function(){if(m){var e=iP.getInstance(C(v,!1,m)).onAddSheet(_);return function(){e()}}}),[m,_]),g.useEffect((function(){if(m){var e=!1,t=new Map(b);iP.getInstance(C(v,!1,m)).getAdoptedSheets().forEach((function(o,n){t.set(n,o),e=!0})),e&&y(t)}}),[]);var S=g.useMemo((function(){return{stylesheets:b,useAdoptedStylesheet:n||sP,useAdoptedStylesheetEx:r||lP,useShadowConfig:i||uP,useMergeStylesShadowRootContext:a||rp,useHasMergeStylesShadowRootContext:s||np,useMergeStylesRootStylesheets:l||aP,useWindow:c||ia,useStyled:u||dP}}),[b,n,r,i,a,s,l,c,u]);return g.createElement($n.Provider,{value:S},g.createElement(pP.Provider,d({value:S},h)))};function mP(e,t){var o=function(e,t){var o;return"function"==typeof Event?o=new Event(e):(o=t.createEvent("Event")).initEvent(e,!0,!0),o}("MouseEvents",null!=t?t:ct());o.initEvent("click",!0,!0),e.dispatchEvent(o)}var fP=function(e){var t;return function(o,n){t||(t=new Set,Qi(e,{componentWillUnmount:function(){t.forEach((function(e){return clearTimeout(e)}))}}));var r=setTimeout((function(){t.delete(r),o()}),n);t.add(r)}};function gP(e){throw new Error("setSSR has been deprecated and is not used in any utilities anymore. Use canUseDOM from @fluentui/utilities instead.")}var vP=d(d({},_h),{prevWeekAriaLabel:"Previous week",nextWeekAriaLabel:"Next week",prevMonthAriaLabel:"Go to previous month",nextMonthAriaLabel:"Go to next month",prevYearAriaLabel:"Go to previous year",nextYearAriaLabel:"Go to next year",closeButtonAriaLabel:"Close date picker"}),bP={leftNavigation:"ChevronLeft",rightNavigation:"ChevronRight"},yP=gr(),CP=function(e){function t(t){var o=e.call(this,t)||this;o._dayGrid=g.createRef(),o._onSelectDate=function(e){var t=o.props.onSelectDate;o.setState({selectedDate:e}),o._focusOnUpdate=!0,t&&t(e)},o._onNavigateDate=function(e,t){var n=o.props.onNavigateDate;o.setState({navigatedDate:e}),o._focusOnUpdate=t,n&&n(e)},o._renderPreviousWeekNavigationButton=function(e){var t,n=o.props,r=n.minDate,i=n.firstDayOfWeek,a=n.navigationIcons,s=o.state.navigatedDate,l=lr()?a.rightNavigation:a.leftNavigation,c=!r||Nh(r,Hh(s,i))<0;return g.createElement("button",{className:pi(e.navigationIconButton,(t={},t[e.disabledStyle]=!c,t)),disabled:!c,"aria-disabled":!c,onClick:c?o._onSelectPrevDateRange:void 0,onKeyDown:c?o._onButtonKeyDown(o._onSelectPrevDateRange):void 0,title:o._createPreviousWeekAriaLabel(),type:"button"},g.createElement(ki,{iconName:l}))},o._renderNextWeekNavigationButton=function(e){var t,n=o.props,r=n.maxDate,i=n.firstDayOfWeek,a=n.navigationIcons,s=o.state.navigatedDate,l=lr()?a.leftNavigation:a.rightNavigation,c=!r||Nh(xh(Hh(s,i),7),r)<0;return g.createElement("button",{className:pi(e.navigationIconButton,(t={},t[e.disabledStyle]=!c,t)),disabled:!c,"aria-disabled":!c,onClick:c?o._onSelectNextDateRange:void 0,onKeyDown:c?o._onButtonKeyDown(o._onSelectNextDateRange):void 0,title:o._createNextWeekAriaLabel(),type:"button"},g.createElement(ki,{iconName:l}))},o._onSelectPrevDateRange=function(){o.props.showFullMonth?o._navigateDate(wh(o.state.navigatedDate,-1)):o._navigateDate(xh(o.state.navigatedDate,-7))},o._onSelectNextDateRange=function(){o.props.showFullMonth?o._navigateDate(wh(o.state.navigatedDate,1)):o._navigateDate(xh(o.state.navigatedDate,7))},o._navigateDate=function(e){o.setState({navigatedDate:e}),o.props.onNavigateDate&&o.props.onNavigateDate(e)},o._onWrapperKeyDown=function(e){switch(e.which){case ar.enter:case ar.backspace:e.preventDefault()}},o._onButtonKeyDown=function(e){return function(t){t.which===ar.enter&&e()}},o._onTouchStart=function(e){var t=e.touches[0];t&&(o._initialTouchX=t.clientX)},o._onTouchMove=function(e){var t=lr(),n=e.touches[0];n&&void 0!==o._initialTouchX&&n.clientX!==o._initialTouchX&&((n.clientX-o._initialTouchX)*(t?-1:1)<0?o._onSelectNextDateRange():o._onSelectPrevDateRange(),o._initialTouchX=void 0)},o._createPreviousWeekAriaLabel=function(){var e=o.props,t=e.strings,n=e.showFullMonth,r=e.firstDayOfWeek,i=o.state.navigatedDate,a=void 0;if(n&&t.prevMonthAriaLabel)a=t.prevMonthAriaLabel+" "+t.months[wh(i,-1).getMonth()];else if(!n&&t.prevWeekAriaLabel){var s=Hh(xh(i,-7),r),l=xh(s,6);a=t.prevWeekAriaLabel+" "+o._formatDateRange(s,l)}return a},o._createNextWeekAriaLabel=function(){var e=o.props,t=e.strings,n=e.showFullMonth,r=e.firstDayOfWeek,i=o.state.navigatedDate,a=void 0;if(n&&t.nextMonthAriaLabel)a=t.nextMonthAriaLabel+" "+t.months[wh(i,1).getMonth()];else if(!n&&t.nextWeekAriaLabel){var s=Hh(xh(i,7),r),l=xh(s,6);a=t.nextWeekAriaLabel+" "+o._formatDateRange(s,l)}return a},o._formatDateRange=function(e,t){var n=o.props,r=n.dateTimeFormatter,i=n.strings;return"".concat(null==r?void 0:r.formatMonthDayYear(e,i)," - ").concat(null==r?void 0:r.formatMonthDayYear(t,i))},Ji(o);var n=t.initialDate&&!isNaN(t.initialDate.getTime())?t.initialDate:t.today||new Date;return o.state={selectedDate:n,navigatedDate:n,previousShowFullMonth:!!t.showFullMonth,animationDirection:t.animationDirection},o._focusOnUpdate=!1,o}return u(t,e),t.getDerivedStateFromProps=function(e,t){var o=e.initialDate&&!isNaN(e.initialDate.getTime())?e.initialDate:e.today||new Date,n=!!e.showFullMonth,r=n!==t.previousShowFullMonth?hh.Vertical:hh.Horizontal;return Mh(o,t.selectedDate)?{selectedDate:o,navigatedDate:t.navigatedDate,previousShowFullMonth:n,animationDirection:r}:{selectedDate:o,navigatedDate:o,previousShowFullMonth:n,animationDirection:r}},t.prototype.focus=function(){this._dayGrid&&this._dayGrid.current&&this._dayGrid.current.focus()},t.prototype.render=function(){var e=this.props,t=e.strings,o=e.dateTimeFormatter,n=e.firstDayOfWeek,r=e.minDate,i=e.maxDate,a=e.restrictedDates,s=e.today,l=e.styles,c=e.theme,u=e.className,h=e.showFullMonth,m=e.weeksToShow,f=p(e,["strings","dateTimeFormatter","firstDayOfWeek","minDate","maxDate","restrictedDates","today","styles","theme","className","showFullMonth","weeksToShow"]),v=yP(l,{theme:c,className:u});return g.createElement("div",{className:v.root,onKeyDown:this._onWrapperKeyDown,onTouchStart:this._onTouchStart,onTouchMove:this._onTouchMove,"aria-expanded":h},this._renderPreviousWeekNavigationButton(v),g.createElement(sm,d({styles:l,componentRef:this._dayGrid,strings:t,selectedDate:this.state.selectedDate,navigatedDate:this.state.navigatedDate,firstDayOfWeek:n,firstWeekOfYear:gh.FirstDay,dateRangeType:vh.Day,weeksToShow:h?m:1,dateTimeFormatter:o,minDate:r,maxDate:i,restrictedDates:a,onSelectDate:this._onSelectDate,onNavigateDate:this._onNavigateDate,today:s,lightenDaysOutsideNavigatedMonth:h,animationDirection:this.state.animationDirection},f)),this._renderNextWeekNavigationButton(v))},t.prototype.componentDidUpdate=function(){this._focusOnUpdate&&(this.focus(),this._focusOnUpdate=!1)},t.defaultProps={onSelectDate:void 0,initialDate:void 0,today:new Date,firstDayOfWeek:mh.Sunday,strings:vP,navigationIcons:bP,dateTimeFormatter:Ch,animationDirection:hh.Horizontal},t}(g.Component),_P={root:"ms-WeeklyDayPicker-root"},SP=rr(CP,(function(e){var t,o=e.className,n=e.theme,r=n.palette,i=Ro(_P,n);return{root:[i.root,dn,{width:220,padding:12,boxSizing:"content-box",display:"flex",alignItems:"center",flexDirection:"row"},o],dayButton:{borderRadius:"100%"},dayIsToday:{},dayCell:{borderRadius:"100%!important"},daySelected:{},navigationIconButton:[on(n,{inset:0}),{width:12,minWidth:12,height:0,overflow:"hidden",padding:0,margin:0,border:"none",display:"flex",alignItems:"center",backgroundColor:r.neutralLighter,fontSize:Je.small,fontFamily:"inherit",selectors:(t={},t[".".concat(i.root,":hover &, .").concat(Jo," .").concat(i.root,":focus &, :host(.").concat(Jo,") .").concat(i.root,":focus &, ")+".".concat(Jo," &:focus, :host(.").concat(Jo,") &:focus")]={height:53,minHeight:12,overflow:"initial"},t[".".concat(Jo," .").concat(i.root,":focus-within &, :host(.").concat(Jo,") .").concat(i.root,":focus-within &")]={height:53,minHeight:12,overflow:"initial"},t["&:hover"]={cursor:"pointer",backgroundColor:r.neutralLight},t["&:active"]={backgroundColor:r.neutralTertiary},t)}],disabledStyle:{selectors:{"&, &:disabled, & button":{color:r.neutralTertiaryAlt,pointerEvents:"none"}}}}}),void 0,{scope:"WeeklyDayPicker"}),xP=g.createContext(void 0),kP=function(){var e=g.useContext(xP),t=or(["theme"]).theme;return e||t||eo({})},wP=0,IP={reset:function(){M.getInstance().onReset((function(){return wP++}))},getId:function(){return wP},renderStyles:function(e,t){return Fn(Array.isArray(e)?e:[e],t)},renderFontFace:function(e,t){return ot(e)},renderKeyframes:function(e){return re(e)}},DP=function(e,t){var o,n,r,i=t[0],a=t[1],s=t[2];return null===(r=null===(n=null===(o=e.get(i))||void 0===o?void 0:o.get(a))||void 0===n?void 0:n.get(s))||void 0===r?void 0:r.classMap},EP=function(e,t,o){var n,r,i=t[0],a=t[1],s=t[2],l=null!==(n=e.get(i))&&void 0!==n?n:new Map;e.set(i,l);var c=null!==(r=l.get(a))&&void 0!==r?r:new Map;l.set(a,c),c.set(s,{classMap:o,refCount:0})};function TP(e){var t=new Map,o=new Set,n=function(e){var r=e.currentTarget,i=r.__id__;t.delete(i),r.removeEventListener("unload",n),o.delete(i)};return function(r){void 0===r&&(r={});var i,a=r.theme,s=ia();s&&(s.__id__=s.__id__||as(),i=s.__id__,o.has(i)||(o.add(i),s.addEventListener("unload",n)));var l=kP();a=a||l;var c=IP.getId(),u=[i,c,a],d=DP(t,u);if(g.useEffect((function(){return function(e,t){var o,n,r=t[0],i=t[1],a=t[2],s=null===(n=null===(o=e.get(r))||void 0===o?void 0:o.get(i))||void 0===n?void 0:n.get(a);s&&s.refCount++}(t,[i,c,a]),function(){return function(e,t){var o,n,r,i,a,s,l,c,u=t[0],d=t[1],p=t[2],h=null===(n=null===(o=e.get(u))||void 0===o?void 0:o.get(d))||void 0===n?void 0:n.get(p);h&&(h.refCount--,0===h.refCount&&(null===(i=null===(r=e.get(u))||void 0===r?void 0:r.get(d))||void 0===i||i.delete(p),0===(null===(s=null===(a=e.get(u))||void 0===a?void 0:a.get(d))||void 0===s?void 0:s.size)&&(null===(l=e.get(u))||void 0===l||l.delete(d),0===(null===(c=e.get(u))||void 0===c?void 0:c.size)&&e.delete(u))))}(t,[i,c,a])}}),[i,c,a]),!d){var p=function(e){return"function"==typeof e}(e)?e(a):e;d=IP.renderStyles(p,{targetWindow:s,rtl:!!a.rtl}),EP(t,u,d)}return d}}var PP=TP((function(e){var t=e.semanticColors,o=e.fonts;return{body:[{color:t.bodyText,background:t.bodyBackground,fontFamily:o.medium.fontFamily,fontWeight:o.medium.fontWeight,fontSize:o.medium.fontSize,MozOsxFontSmoothing:o.medium.MozOsxFontSmoothing,WebkitFontSmoothing:o.medium.WebkitFontSmoothing}]}}));var RP,MP,NP,BP=function(e){var t=e.customizerContext,o=e.ref,n=e.theme,r=e.as||"div",i="string"==typeof e.as?Qb(e.as,e):e.as===g.Fragment?{children:e.children}:ul(e,["as"]);return g.createElement(xP.Provider,{value:n},g.createElement(tr.Provider,{value:t},g.createElement(qc,{providerRef:o},g.createElement(r,d({},i)))))},AP=new Map,FP=g.forwardRef((function(e,t){var o=function(e,t){var o,n,r,i,a=yr(t,e);return n=(o=a).theme,r=kP(),i=o.theme=g.useMemo((function(){var e=Jt(r,n);return e.id=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var o=[],n=0,r=e;n<r.length;n++){var i=r[n];if(i){var a=i.id||AP.get(i);a||(a=as(""),AP.set(i,a)),o.push(a)}}return o.join("-")}(r,n),e}),[r,n]),o.customizerContext=g.useMemo((function(){return{customizations:{inCustomizerContext:!0,settings:{theme:i},scopedSettings:i.components||{}}}}),[i]),o.theme.rtl!==r.rtl&&(o.dir=o.theme.rtl?"rtl":"ltr"),{state:a,render:BP}}(e,{ref:ri(t,g.useRef(null)),as:"div",applyTo:"element"}),n=o.render,r=o.state;return function(e){var t=PP(e),o=e.className,n=e.applyTo;!function(e,t){var o,n="body"===e.applyTo,r=null===(o=aa())||void 0===o?void 0:o.body;g.useEffect((function(){if(n&&r){for(var e=0,o=t;e<o.length;e++){var i=o[e];i&&r.classList.add(i)}return function(){if(n&&r)for(var e=0,o=t;e<o.length;e++){var i=o[e];i&&r.classList.remove(i)}}}}),[n,r,t])}(e,[t.root,t.body]),e.className=pi(o,t.root,"element"===n&&t.body)}(r),n(r)}));FP.displayName="ThemeProvider",function(e){e.shade30="#004578",e.shade20="#005a9e",e.shade10="#106ebe",e.primary="#0078d4",e.tint10="#2b88d8",e.tint20="#c7e0f4",e.tint30="#deecf9",e.tint40="#eff6fc"}(RP||(RP={})),function(e){e.black="#000000",e.gray220="#11100f",e.gray210="#161514",e.gray200="#1b1a19",e.gray190="#201f1e",e.gray180="#252423",e.gray170="#292827",e.gray160="#323130",e.gray150="#3b3a39",e.gray140="#484644",e.gray130="#605e5c",e.gray120="#797775",e.gray110="#8a8886",e.gray100="#979593",e.gray90="#a19f9d",e.gray80="#b3b0ad",e.gray70="#bebbb8",e.gray60="#c8c6c4",e.gray50="#d2d0ce",e.gray40="#e1dfdd",e.gray30="#edebe9",e.gray20="#f3f2f1",e.gray10="#faf9f8",e.white="#ffffff"}(MP||(MP={})),function(e){e.pinkRed10="#750b1c",e.red20="#a4262c",e.red10="#d13438",e.redOrange20="#603d30",e.redOrange10="#da3b01",e.orange30="#8e562e",e.orange20="#ca5010",e.orange10="#ffaa44",e.yellow10="#fce100",e.orangeYellow20="#986f0b",e.orangeYellow10="#c19c00",e.yellowGreen10="#8cbd18",e.green20="#0b6a0b",e.green10="#498205",e.greenCyan10="#00ad56",e.cyan40="#005e50",e.cyan30="#005b70",e.cyan20="#038387",e.cyan10="#00b7c3",e.cyanBlue20="#004e8c",e.cyanBlue10="#0078d4",e.blue10="#4f6bed",e.blueMagenta40="#373277",e.blueMagenta30="#5c2e91",e.blueMagenta20="#8764b8",e.blueMagenta10="#8378de",e.magenta20="#881798",e.magenta10="#c239b3",e.magentaPink20="#9b0062",e.magentaPink10="#e3008c",e.gray40="#393939",e.gray30="#7a7574",e.gray20="#69797e",e.gray10="#a0aeb2"}(NP||(NP={}));var LP,HP,OP,zP=eo({}),WP=re({from:{opacity:0},to:{opacity:1}}),VP=re({from:{opacity:1},to:{opacity:0}}),KP=re({from:{transform:"scale3d(1.15, 1.15, 1)"},to:{transform:"scale3d(1, 1, 1)"}}),GP=re({from:{transform:"scale3d(1, 1, 1)"},to:{transform:"scale3d(0.9, 0.9, 1)"}}),UP=re({from:{transform:"translate3d(0, 0, 0)"},to:{transform:"translate3d(-48px, 0, 0)"}}),jP=re({from:{transform:"translate3d(0, 0, 0)"},to:{transform:"translate3d(48px, 0, 0)"}}),qP=re({from:{transform:"translate3d(48px, 0, 0)"},to:{transform:"translate3d(0, 0, 0)"}}),YP=re({from:{transform:"translate3d(-48px, 0, 0)"},to:{transform:"translate3d(0, 0, 0)"}}),ZP=re({from:{transform:"translate3d(0, 0, 0)"},to:{transform:"translate3d(0, -48px, 0)"}}),XP=re({from:{transform:"translate3d(0, 0, 0)"},to:{transform:"translate3d(0, 48px, 0)"}}),QP=re({from:{transform:"translate3d(0, 48px, 0)"},to:{transform:"translate3d(0, 0, 0)"}}),JP=re({from:{transform:"translate3d(0, -48px, 0)"},to:{transform:"translate3d(0, 0, 0)"}});function $P(e,t,o){return"".concat(e," ").concat(t," ").concat(o)}!function(e){e.duration1="100ms",e.duration2="200ms",e.duration3="300ms",e.duration4="400ms"}(LP||(LP={})),function(e){e.accelerate="cubic-bezier(0.9, 0.1, 1, 0.2)",e.decelerate="cubic-bezier(0.1, 0.9, 0.2, 1)",e.linear="cubic-bezier(0, 0, 1, 1)",e.standard="cubic-bezier(0.8, 0, 0.2, 1)"}(HP||(HP={})),function(e){e.fadeIn=$P(WP,LP.duration1,HP.linear),e.fadeOut=$P(VP,LP.duration1,HP.linear),e.scaleDownIn=$P(KP,LP.duration3,HP.decelerate),e.scaleDownOut=$P(GP,LP.duration3,HP.decelerate),e.slideLeftOut=$P(UP,LP.duration1,HP.accelerate),e.slideRightOut=$P(jP,LP.duration1,HP.accelerate),e.slideLeftIn=$P(qP,LP.duration1,HP.decelerate),e.slideRightIn=$P(YP,LP.duration1,HP.decelerate),e.slideUpOut=$P(ZP,LP.duration1,HP.accelerate),e.slideDownOut=$P(XP,LP.duration1,HP.accelerate),e.slideUpIn=$P(QP,LP.duration1,HP.decelerate),e.slideDownIn=$P(JP,LP.duration1,HP.decelerate)}(OP||(OP={})),On("@fluentui/react","8.121.13"),bk(),FluentUIReact=t}();